Repository navigation
Make the head-to-head benchmark safe to pay for - #22
Merged
Merged
Conversation
A failed session no longer counts against its arm, a stopped run can resume, each arm must prove its rules loaded, each cell scores in its own process, and the sources are pinned before any spend. The judges are blind to every arm, compare.py applies an analysis plan fixed in the README, and the README's run command works.
A killed cell now fails whatever it wrote, each arm must load its own plugin, resume must match the planned cells, and a paid session is kept before scoring. Claims are per metric, gated size compares the share of finished cells first, and compare.py --strict refuses incomplete results.
Also make compare.py --strict refuse duplicate cells, which could hide a missing one.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Makes the head-to-head benchmark safe to pay for. These fixes follow #20, which merged before they were pushed. No rule text changes, and no paid session has run.
run.pynow records its sources insources.json, which replacesrivals.json.Evidence
After: with a fake CLI, an exception right after the first session kept both cells, and resume finished 2 of 2 with 0 new sessions.
abstain-fixedfailed every arm.After: a selftest failed before the fix and passes after it.
--strictrejected complete results merged from separate runs, because each run numbers its cells from zero.After: a selftest failed before the fix and passes after it; passing one run twice still fails.
run.py --selftestandcomplete.py --selftest-offlinepass at this head.node --test tests/*.test.jsgives 154 passed, 2 failed, 4 skipped; it was last run before the finalcompare.pycommit, which touches no JS.Merge danger
Door: two-way. Blast radius: benchmarks
Only
benchmarks/agenticchanges. Runs started under the old harness cannot resume under this one.Unverified
correctness.test.jscases (email bare unfenced code, csv timeout) fail locally, as they do onmain; cause not established.