A/B thesis batch v3: seeded blocks, resume, infrastructure rules, Jev stop and cap - #159
Merged
Merged
Conversation
…, Jev-error stop Model B is claude-bridge/claude-sonnet-5-5. Agent prices come from the providers' price pages: DeepSeek calls are priced by their own timestamp at the peak or off-peak rate (2026 Chinese public holidays from the State Council notice), and Sonnet 5.5 at Anthropic's list prices. A failed Jev judgment in a warden run stops the batch and the run is not counted. Pre-registration v3, the power table with wall-clock, and the smoke reports for both models.
…tries, Jev cap, no false stop on in-flight requests
…treak reruns on resume; unknown Jev cost; reports drop excluded blocks
DevMortimer
marked this pull request as ready for review
October 1, 2026 02:39
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.
Prepares the pre-registered A/B batch (registration v3). It does not launch it.
Pricing and models
claude-bridge/claude-sonnet-5-5everywhere ineval/and its docs. Model A staysdeepseek/deepseek-flash. Batch sizes are unchanged: A 20 x 143 x 3 = 8,580 runs, B 20 x 40 x 3 = 2,400 runs.Batch harness (
eval/batch.mjs,scripts/eval-ab.mjs)--resume DIRcontinues a stopped batch fromruns.json, which is written atomically after every run. It refuses--typesafe-cap.stopReasonerror, or pi exited before any assistant message). An error pi retried and got past is a valid run, counted per run asproviderErrorsRecovered.infraError, and its whole block leaves the metrics. More than 10% of a model's blocks excluded makes it inconclusive.wardenrun stops the batch (exit 3). A request in flight when pi exits is recorded asabandonedJevRequests. A run killed at the timeout with an unreadable Jev ledger has an unknown Jev cost: it leaves the dollar metric only, and the report counts it.--jev-usd-cap Nstops the batch at N Jev dollars (exit 3). It is cumulative across resumes, counts re-runs, and may overshoot by the runs in flight.buildReportandbuildWeakReportdrop excluded blocks themselves, so a report rebuilt fromruns.jsonmatches the batch's report.Docs
eval/preregistration.mdv3, with a registration-history line for these corrections (still before any batch run),eval/README.md, andCHANGELOG.mdunder Unreleased.Commit under test:
5ff3c778193584ce2404b1b43a31f5a40ef6563d(mainat 0.89.0). The launch checkgit diff 5ff3c778193584ce2404b1b43a31f5a40ef6563d HEAD -- srcprints nothing.mainis merged in and the version is 0.89.1.npm run check: 1,412 tests pass.