Repository navigation
Spec: judge Experiments only on discriminating Eval tasks - #1574
Merged
Merged
Conversation
Record Eval task Difficulty from A/A Experiments
Judge only discriminating Eval tasks
Keep small discriminating Eval suites advisory
Refuse any changed retained Difficulty after the first Trial, refresh readings before Trials even when the judged list stays unchanged, and keep the CLI regressions. Consolidate deciding-suite fixture arguments and align the manual and site pages with the refusal.
JacobStephens2
marked this pull request as ready for review
October 29, 2026 03:56
Keep the expandable homepage workflows with the Difficulty and Advisory suite explanations, and retain both Advisory tests and main's longer Experiment timeout fixture.
JacobStephens2
marked this pull request as draft
October 29, 2026 12:52
JacobStephens2
marked this pull request as ready for review
October 29, 2026 13:13
Merged
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
Record Difficulty from completed A/A Experiments, fix the discriminating Eval tasks before the first Trial, and let only sufficiently large suites decide a release.
Difficulty records passes, Trials, Experiment, commit, Harness, Model and Effort. Recording refuses unfinished Experiments or differing Arm setups, excludes Void Trials and uses effective rechecked Scores. At least 6 Trials and a Difficulty of 0.15–0.95 inclusive select a discriminating task. Readings from other setups still qualify and are counted in the Verdict.
The Bar saves its list and
--min-discriminating-tasks(default 20) before the first Trial. Pre-Trial resumes refresh retained readings; after the first Trial, changed Difficulty or Bar settings are refused. Measurement Trials affect no interval, prediction or required recheck. Advisory suites retain their own Verdicts and intervals but cannot pass or block the overall Verdict.CLI text/JSON (result format 4), the Console, release summaries and documentation expose the same policy. The new statistical method is
paired-dirichlet-v4; older Experiments retain their stored Bar, method and Verdict. Host measurement and parking remain in the separate release step.Closes #1477
Evidence
thirdshift experiment/experimentsCLI, retained files and JSON; the existing Verdict interface; Console HTTP/browser output; and the release script. No new testing seam.After: the retained discriminating list selects judged tasks, unlisted tasks appear as measurement, and the minimum excludes Advisory suites from the overall Verdict. Existing CLI and Verdict regressions cover selection, padding, changed Difficulty, legacy behavior and all-advisory results.
RUST_TEST_THREADS=3 scripts/affected-tests mainpassed site tests (56 tests, 85.41s), the locked build (0.35s), and Console browser tests (113 tests, 80.88s). The Rust unit stage passed (1,568 passed, 3 ignored, 384.20s), followed by six passing integration targets.bug_origins: system Python 3.9 lackstomllib. The exact failure,cargo test --test bug_origins settlement::historical_review_and_reclosed_origin_regressions -- --exact --nocapture, passed with the installed Python 3.12 selected on PATH (1 test, 2.67s). No source change was needed. The initial Rust command took 789.96s including compilation; the affected-tests invocation took 956.89s overall.docs/testing.mddirects; the local affected-tests invocation itself did not finish successfully.main...HEADat24b45cbcea2fcebf46a9d411650f239fee5f4092. The review required no source changes, so no new commit was created or pushed.Unaddressed findings
Standards
src/evals/format.rs:49–54deliberately represents Difficulty's manifest fields separately from Arm setup. Difficulty omits absent Model/Effort (src/evals/format.rs:51–54, required bydocs/eval-tasks.md:90); Arm setup serializes those fields as null (src/evals/experiment.rs:133–134, documented bySetupindocs/experiment-results.md:233). Flattening the existing Setup would change Difficulty's JSON presence rules. Custom serialization to preserve both contracts adds more policy than the four-field copy and comparison remove. No Spec or Day shift decision is deferred.Spec
None. The reviewer raised no Spec findings.
Security
The previous Security review remains incomplete; this session reviewed Standards and Spec and does not replace its isolated validation requirement.
Security review outcome
Review coverage
Each independent reviewer read all 38 changed files, including generated
site/docs/index.html, plus supporting standards, domain definitions and ADRs. Unread changed files: none. Generated-output exclusions: none. Reports record 1 Standards finding (declined above) and 0 Spec findings. Final files-read lists and the count summary are in.thirdshift-review-hVqdQL/standards.md,spec.mdandsummary.jsonin the Session artifacts.Merge Danger
Door: two-way
Recording replaces each manifest's Difficulty atomically. Rolling back to a pre-Difficulty binary requires restoring manifests without the optional table because the old strict reader rejects unknown fields. Older Experiments keep their stored method and Bar.
Blast Radius: Experiments
New Experiments change which Eval tasks and suites decide a release. Small suites become advisory by default; an all-advisory release requires the existing inconclusive confirmation.
Tickets
Built with codex codex-cli 0.160.0 · gpt-6.1-sol · high