Answer stability round 1: 0 🔴, 1 🟡 (0 misread); name the search's lowest rung a candidate

This commit is contained in:
2026-11-12 01:55:46 +01:00
parent 4ab5b629ea
commit 79f6334c7f
9 changed files with 33 additions and 28 deletions
+13 -10
View File
@@ -11,15 +11,18 @@ with the task, premises and records each project holds now.
It first replays every verdict on the reference judge: the model at xhigh effort, the rung the
judge ran on before loop-claude routed it. A verdict the reference judge returns another kind on
may rest on records or judge rules that have changed since; either way no rung is held to it. It
then replays the rest on each rung above the model's cheapest that a chunk's E + I climbs a
review to, the reference judge's rung aside. Then it replays them on each candidate rung, highest
first: from the model's cheapest rung down to the lowest rung a worker routes to. It stops at the
first candidate that misses one. It prints each verdict the reference judge did not reproduce,
each verdict a rung missed, and the lowest candidate that, like each candidate above it, missed
none. A climbed rung that misses no interrupt is the evidence to let judge_rung in
bin/loop_claude/routing.py climb the judge onto it, which today keeps the judge to its model's rungs. A rung it names is the evidence to add the model to
JUDGE_REPLAYED in bin/loop_claude/routing.py, which routes that model's judge, and to record the
run in docs/decisions.md → `routing: on a model judge-replay covered`.
then replays the rest on each rung above the model's cheapest that a chunk's E + I raises a
review to, except the reference judge's rung. Then it replays them on each candidate rung,
highest first: from the model's cheapest rung down to the lowest rung a worker routes to. It stops
at the first candidate that misses one. It prints each verdict the reference judge did not
reproduce, each verdict a rung missed, and the lowest candidate that, like each candidate above
it, missed none.
Record each run in docs/decisions.md → `routing: on a model judge-replay covered`. Where the
model's cheapest rung misses no interrupt, the run is the evidence to add the model to
JUDGE_REPLAYED in bin/loop_claude/routing.py, which routes that model's judge. judge_rung there
keeps the judge to its own model's rungs; a rung above them that misses no interrupt is the
evidence to let the judge climb onto it.
Like the loop, it tries a judge three times running before it counts the reply as failed. A
verdict whose project or transcript cannot be read replays as failed too. Exit 1, saying why, on
@@ -77,7 +80,7 @@ def model_argument(argv: list[str]) -> Rung | None:
def climbs(project: Rung, reference: Rung) -> list[Rung]:
"""The rungs above the project's rung that an E + I climbs a review to, lowest first, the reference's aside: those the judge would climb to as a review does."""
"""The rungs above the project's rung that an E + I raises a review to, except the reference's, lowest first."""
return sorted({review_floor(project, score) for score in REVIEW_STEPS} - {project, reference}, key=position)