Average the offline classifier over five shuffles, count a pass only on both tests, and fix the import order

This commit is contained in:
2026-11-18 11:31:43 +01:00
parent 02288f955b
commit 76b6e029b9
5 changed files with 65 additions and 28 deletions
+2 -2
View File
@@ -658,9 +658,9 @@ On 2026-11-17, `bin/judge-replay claude-opus-5-5 --offline` replayed all 1,104 a
- **A "?" rule** (interrupt where the message holds a "?", finished where it holds none) decided every verdict and missed 197 interrupts.
- **A decision table**, the rows of `DECISION_TABLE` in `bin/judge_replay/offline.py`. Its rows were read from this archive's interrupts, so its run isn't a held-out test. It decided 974 and missed 55. Most of its misses are a worker reporting a merged chunk while a release is ready to cut, which depends on the plan; the rest ask for an answer in words no row names.
- **A classifier**, a logistic regression over the message's words, trained on the archive. It decides finished only where its chance of an interrupt is below that of every interrupt among its training folds when held out, and interrupt only where it is above that of every other kind. On held-out folds it decided 93 and missed 2 interrupts. On the latest fifth, learning from the rest, it decided 25 and missed 1.
- **A classifier**, a logistic regression over the message's words, trained on the archive. It decides finished only where its chance of an interrupt is below that of every interrupt among its training folds when held out, and interrupt only where it is above that of every other kind. It averages five regressions that differ only in the order they shuffle the samples, since a single shuffle moved its missed interrupts between 0 and 2 on the same archive. On held-out folds it decided 103 (92 finished, 11 interrupt) and missed none. On the latest fifth, learning from the rest, it decided 29, all as finished, and missed 1 interrupt.
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. It also keeps the escalation it quotes and whether a release is ready to cut, which this replay didn't test.
No method meets the bar of no missed interrupt on every test: the classifier met it on held-out folds and missed one interrupt on the latest fifth, the newest verdicts. So no item is filed for a verdict kind, and the judge's model keeps the verdict kind. A classifier's pass counts only where it holds on both tests, since one test alone moved with the shuffle order and with a single added verdict. It also keeps the escalation it quotes and whether a release is ready to cut, which this replay didn't test.
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.