Repository navigation
fix(exp35): fix the 7 defects from the 2026-11-28 harness audit - #241
Conversation
A classifier call that failed three times closed its claim with no version, so the kind gate and the refusal report refused the whole run (audit defects 1 and 7). The closed row now carries the gate version and stays factual and unclassified (section 12). The refusal report reads only cited claim kinds, so an uncited segment with the same text no longer replaces a cited claim's kind.
…wers Audit defects 2, 5 and 6: - A question whose search worked but whose answer failed three times wrote no retrieval.jsonl row, so G1 failed and analyse35 refused to run. The search line now goes to answer.searches.jsonl before the error and the closed row takes it. A failed search still writes no row (section 15). - oracle35 now saves EMPTY_REPLY_ERROR as a final empty answer and keeps billed usage on a failed attempt, as answers35 does (section 12). - joinscores35 no longer flags an empty answer's Ragas NaN as not defined.
Audit defects 3 and 4: - reporttables35 now reads each interval in the four cases of Amendment A16, so 'a real difference that can be too small to matter' and 'the test cannot tell' are no longer one outcome. Closed interval, as before. - An H8b result with rows 16 and 17 holding with opposite signs collapsed to sign 0 and suppressed the registered claim. Each holding row is now judged against its own sign (section 7); same-sign results are unchanged. - preregistration section 10 point (5) now points to A16 cases 3 and 4 instead of the superseded wording. No hypothesis, threshold or pin moves.
|
No actionable comments were generated in the recent review. WalkthroughThis pull request updates Experiment 35 answer and classification records, factorial verdict calculations, score handling, and SESOI report readings. It adds regression tests for these changes and updates the executed-test baseline. ChangesAnswer completion and records
Claim classification and refusal reports
Factorial verdict signs
SESOI report readings
Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Bug fix Possibly related PRs
Merge Risk:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v3 #241 +/- ##
=======================================
Coverage 94.96% 94.96%
=======================================
Files 470 470
Lines 37761 37761
Branches 4857 4857
=======================================
Hits 35861 35861
Misses 1259 1259
Partials 641 641 |
Summary
This PR fixes the 7 defects from the 2026-11-28 independent audit of the Experiment 35 harness, before the protocol freeze. The audit found no sabotage or bias. Every fix stays inside
experiments/35-full-rag-benchmark-2026-11-01/. Nothing insrc/changes. No hypothesis, Holm family, seed, threshold, prompt hash or pin changes.version, sokindgate35andrefusalreport35reject the runclaimstage35._KindsLogwrites the gate version on a closed rowanalyse35refuses to runanswer.searches.jsonlbefore the error, and the closed row writes it toretrieval.jsonl. A failed search still writes nothingreporttables35merges A16 cases 3 and 4verdicts35._bothaddsrow_signs, and each row is judged against its own signoracle35resendsEMPTY_REPLY_ERRORand drops billed usageanswers35joinscores35flags an empty answer's Ragas NaN asnot_defined[]refusalreport35lets an uncited segment overwrite a cited claim's kindAlso: preregistration section 10 point (5) still said "cannot rule out a small effect", which A16 superseded. It now points to A16 cases 3 and 4. This is wording only (score 2 x 2 = 4).
Evidence
ddd3663afirst. A separate mutation pass then broke each of the 7 fixes in turn, and the new tests caught every break:factorial35.pyis 499 lines.ddd3663a, none removed._BASE_EXECUTEDis now 14,551../scripts/local_ci.shpassed with noSKIPPEDsteps:== local CI passed ==Notes for review
answer.searches.jsonl. It holds search lines only for questions whose answer failed. A side file is needed becauseOrderedRowscan close a question on--resumewithout searching again.Summary by CodeRabbit