Answer prose round 1: 0 🔴, 9 🟡; reword the decision, the rule's help, run-heavy's help and the reviewer's step 4, and drop -h from the light flags

This commit is contained in:
2026-10-23 11:45:53 +02:00
parent 2d2371766d
commit 203049f4c3
12 changed files with 22 additions and 25 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
"""How much of the machine's memory is available, as /proc/meminfo's MemAvailable and MemTotal state it, and whether that leaves room for a worker: a quarter of it."""
"""How much of the machine's memory is available, as /proc/meminfo's MemAvailable and MemTotal state it, and whether at least ROOM_SHARE of it is available, which leaves room for a worker."""
import dataclasses
import pathlib
import re
MEMINFO = pathlib.Path("/proc/meminfo")
# A worker starts only while this share of the machine's memory is available; the human chose it, as no standard sets one.
# A worker starts only while at least this share of the machine's memory is available; the human chose it, as no standard sets one.
ROOM_SHARE = 0.25