Answer prose round 1: 0 🔴, 5 🟡; drop citations of items without an exemption, state the head and what the check reads truly, and keep one base rule in the decision

This commit is contained in:
2026-10-13 12:53:03 +02:00
parent 6de66ac958
commit 7b30085b8d
9 changed files with 27 additions and 29 deletions
+9 -11
View File
@@ -7,8 +7,8 @@ paired ruling, simulated readers, the seats, read the branch's head beside a bas
same or worse, overall and on each dimension. In a scoring run, four seats score the project from 1
to 10. Each seat names the places it found hard.
Run it inside a project checkout or one of its worktrees. Each command but record-ruling and places first
fetches origin, when the checkout has that remote, and takes origin's default branch, or else the
Run it inside a project checkout or one of its worktrees. Each command but record-ruling and places
first fetches origin, when the checkout has that remote, and takes origin's default branch, or else the
local main or master, as the default branch. When the fetch fails, round-count reads origin as
last fetched and says so on stderr; the other three exit 1. The history is
docs/comprehension-history.md in the checkout.
@@ -62,16 +62,14 @@ Otherwise the ruling is the overall vote that leads each other vote by two or mo
prints `Ruling:` and appends the ruling.
record-scoring takes the scores file of a run needs-scoring-run calls, whose first line names no
`, against`, and the same item IDs, and exits 1 when they call no run: like any entry, a scoring run
moves the paired ruling's base. It appends the seats' scores and their means, rounded half up to
two decimals, prints the means and, when a mean is under the floor of {floor}, a line opening
`Floor:` naming each one.
`, against`, and the same item IDs, and exits 1 when they call no run. It appends the seats' scores
and their means, rounded half up to two decimals, prints the means and, when a mean is under the
floor of {floor}, a line opening `Floor:` naming each one.
places prints the places seats found hard from the history's newest entry, by time, that is a
scoring run or holds scoring seats' places: in it and each later entry, every scoring seat's place,
and each ruled place that opens with a dimension, or Overall, its seat's vote counted as worse.
Each entry's places come under its heading, oldest first. With no such entry, it reads every
ruling.
places prints the places seats found hard since the newest scoring run: that run's places, and,
in each later ruling, each place opening with a dimension, or Overall, that its seat voted worse.
A ruling recorded with scoring seats' places counts as a scoring run. Each entry's places come
under its heading, oldest first. With no scoring run, it reads every ruling.
Each record is appended to the history, created when missing, under a heading of the current UTC
time and the seats file's first line. Each commit that line names must be in the checkout. It exits 1
+1 -1
View File
@@ -81,7 +81,7 @@ def show_places() -> Failure | None:
history = history_file()
if isinstance(history, Failure):
return history
print((latest_places(history[1]) or "Seats found no places hard since the newest scoring run.").rstrip("\n"))
print((latest_places(history[1]) or "Seats found no places hard.").rstrip("\n"))
return None
+1 -1
View File
@@ -329,7 +329,7 @@ class LarvReviewTool(unittest.TestCase):
self.assertEqual(entries(text)[0].scored_places, [Place("bin/a.py", "f")] * 4)
def test_prints_the_places_seats_found_hard_since_the_newest_scoring_run(self):
self.assertEqual(self.run_tool("places").stdout, "Seats found no places hard since the newest scoring run.\n")
self.assertEqual(self.run_tool("places").stdout, "Seats found no places hard.\n")
self.commit("Record a scoring run", {"docs/comprehension-history.md": appended("", SCORING + "\nJunior A, hardest first:\n\n- `bin/b.py:4` `h`: long\n")})
ran = self.run_tool("places")
self.assertEqual((ran.returncode, ran.stdout), (0, "## 2026-10-08T12:00:00Z, PR #1 at aaaaaaa\n\nJunior A, hardest first:\n\n- `bin/b.py:4` `h`: long\n"), ran.stderr)