Drop the comprehension panel as a merge gate, and feed the places its seats found hard to the architect, the stability reviewer and item filing #255

Merged
lilleman merged 13 commits from drop-comprehension-gate into main 2026-10-13 16:48:38 +02:00
3 changed files with 10 additions and 9 deletions
Showing only changes of commit 6de66ac958 - Show all commits
+8 -7
View File
@@ -62,15 +62,16 @@ 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: 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.
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.
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.
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 "No places that seats found hard since the newest scoring run.").rstrip("\n"))
print((latest_places(history[1]) or "Seats found no places hard since the newest scoring run.").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, "No places that seats found hard since the newest scoring run.\n")
self.assertEqual(self.run_tool("places").stdout, "Seats found no places hard since the newest scoring run.\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)