Answer prose round 1: 1 🔴, 6 🟡; fix the help's fetch claim, the doubled-run scope, the decision title and the docstrings

This commit is contained in:
2026-10-17 21:28:53 +02:00
parent 2972f1c404
commit 410ae7695c
9 changed files with 51 additions and 25 deletions
+7 -8
View File
@@ -1,4 +1,4 @@
"""Hold larv-review's mechanical rules: the paired ruling's base and vote count, each pass's rounds, the scoring run's trigger, and the comprehension history's format, latest places and seat agreement.
"""Hold larv-review's mechanical rules: the paired ruling's base and vote count, each pass's rounds, the scoring run's trigger, and the comprehension history's format and latest places, and its count of how often seats agree.
usage: larv-review ruling-base | round-count | needs-scoring-run [<item ID>...] | record-ruling <votes file> | record-scoring <scores file> [<item ID>...] | places | agreement
@@ -7,7 +7,7 @@ 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
Run it inside a project checkout or one of its worktrees. Each command but record-ruling, places and agreement
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
@@ -71,12 +71,11 @@ in each later ruling, each place opening with a dimension, or Overall, that its
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.
agreement checks the assumption behind the paired ruling: that Mid A and the inherited architect
vote alike overall in a paired ruling more often than they move alike between two scoring runs on
one commit. A seat moves up, down or none from the first run to the second in its overall score. A
release's scoring run is done twice on its head, the second recorded as `<PR> rerun at <commit>`.
It prints both counts and opens `Unchecked:` until the history holds 10 such pairs of runs and one
ruling, then `Assumption holds:` or `Assumption fails:`. It exits 0 for each.
agreement pairs the first two scoring runs recorded on one commit. In each pair, a seat's overall
score goes up, goes down or stays the same. It checks the assumption behind the paired ruling: Mid A
and the inherited architect vote alike overall in a paired ruling more often than their scores go the
same way in a pair. It prints both counts. It opens `Unchecked:` until the history holds 10 such
pairs and one paired ruling, then `Assumption holds:` or `Assumption fails:`, and exits 0 each time.
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