Replay the archived judge verdicts offline through code rules and a classifier trained on the archive
CI / tests (pull_request) Failing after 5m8s

This commit is contained in:
2026-11-17 09:37:40 +01:00
parent 641645c081
commit 155a65117c
7 changed files with 352 additions and 5 deletions
+14
View File
@@ -624,6 +624,20 @@ On 2026-11-12, `bin/judge-replay claude-opus-5-5` replayed 60 verdicts, 15 of ea
Valid while the archived verdicts show what a judge should return, and until the rungs the replays tested change: the project's rung, those below it and each rung above it that a review climbs to. Replay then.
## routing: the judge's model keeps the verdict kind, since no code rule and no classifier trained on the archive decided a kind of the worker's final message with no missed interrupt
2026-11-17, claude. Serves goals 1.2 and 1.4, and applies the principle that a cost cut waits for a measurement that shows quality holds.
On 2026-11-17, `bin/judge-replay claude-opus-5-5 --offline` replayed all 1,104 archived verdicts of the Opus 5.5 projects (660 finished, 333 interrupt, 33 quoted answer, 78 unfinished) through three deciders that read only the worker's final message and sent nothing to an outside service. Each decides a kind or leaves the verdict to the judge's model. A missed interrupt is an archived interrupt decided as another kind, which lets the worker settle a decision that is lilleman's.
- **A "?" rule** (interrupt where the message holds one, finished where it holds none) decided every verdict and missed 197 interrupts.
- **A decision table** (the rows `DECISION_TABLE` in `bin/judge_replay/offline.py` holds, read from the archive's interrupts, so its run is partly in-sample) decided 974 and missed 55. Most of its misses are a worker reporting a merged chunk while the release is ready to cut, or asking for an answer in words no row names. Both depend on state the message doesn't hold, such as the plan's items.
- **A logistic-regression classifier over the message's words**, trained on the archive, bounded where the training folds held no miss, decided 93 on held-out folds and missed 2 interrupts. On the latest fifth, learning from the rest, it decided 25 and missed 1.
No method meets the bar of no missed interrupt, so no item is filed for a verdict kind and the judge's model keeps the verdict kind, the escalation it quotes and whether a release is ready to cut.
Valid while the archived verdicts hold interrupts that read like a finished chunk. Replay with `judge-replay <model> --offline` when the archive has doubled, or when a decider reads more than the final message.
## routing: one ladder of (model, effort) rungs, ordered by the Artificial Analysis Intelligence Index, shipped as `bin/model_routing/routing-ladder.json`, which a project may replace with a file of that name in its config's folder; a task's L picks its worker's rung and its E + I its reviewers', by fixed steps counted from the cheapest rung of the project's model
2026-10-14, lilleman. Serves goal 1.4, and goal 1.3: one shipped ladder and one set of steps for every project, read by loop-claude and by the worker through `bin/subagent-rung`; a project runs on other rungs only through a ladder file of its own (2026-11-15 note). The judge's rung is set by `routing: on a model judge-replay covered`. `bin/model_routing/routing-ladder.json` holds the rungs and `ladder.py` beside it the steps.
+16
View File
@@ -2525,3 +2525,19 @@ Read most (opens and searches):
- `bin/loop_claude/cycle/run.py` 4
- `bin/loop_claude/loop/close.py` 3
- `bin/model_routing/test_review_choice.py` 3
## Reading cost, chunk cfb3b6b8c710, finished 2026-11-17T08:13:19Z
182657 new input tokens before the first commit.
Read most (opens and searches):
- `docs/decisions.md` 13
- `README.md` 5
- `skills/larv-review/SKILL.md` 4
- `CLAUDE.md` 3
- `CHANGELOG.md` 1
- `bin/loop_claude/cycle/prompts.py` 1
- `bin/todo-item` 1
- `rules/decisions.md` 1
- `todo.md` 1