From d2a196eba542b59af33bf176cce7f8ef226ff61f Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sat, 17 Oct 2026 21:36:02 +0200 Subject: [PATCH] Format the help's pair minimum from MIN_PAIRS, as the architect's Locality place asks --- bin/larv_review/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/larv_review/main.py b/bin/larv_review/main.py index efcbc911..e0300743 100644 --- a/bin/larv_review/main.py +++ b/bin/larv_review/main.py @@ -78,7 +78,7 @@ under its heading, oldest first. With no scoring run, it reads every ruling. 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 +same way in a pair. It prints both counts. It opens `Unchecked:` until the history holds {pairs} 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 @@ -100,6 +100,7 @@ from failure import Failure from larv_review.scoring import FLOOR from larv_review.git import history_changes from larv_review.ruling_base import measured_commit +from larv_review.agreement import MIN_PAIRS from larv_review.plan import plan_reasons from larv_review.record import record_ruling, record_scoring, show_agreement, show_places @@ -108,7 +109,7 @@ USAGE = "usage: larv-review ruling-base | round-count | needs-scoring-run [ int: if argv in (["-h"], ["--help"]): - print(__doc__.strip().format(cap=CAP, floor=FLOOR)) + print(__doc__.strip().format(cap=CAP, floor=FLOOR, pairs=MIN_PAIRS)) return 0 command, *given = argv or [""] if command == "ruling-base" and not given: