Skip to content

Spec: judge Experiments only on discriminating Eval tasks - #1574

Merged
JacobStephens2 merged 19 commits into
mainfrom
issue-1477
Oct 29, 2026
Merged

JacobStephens2 merged 19 commits into
mainfrom
issue-1477

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

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.

completed A/A Experiment
  -> --record-difficulty: pool retained non-void Scores from both Arms
  -> atomically replace each Eval task's Difficulty under the suite lock

Experiment starts
  -> fix recorded Difficulty, discriminating list and minimum in the Bar
  -> listed tasks: intervals, Verdict, predictions and required rechecks
  -> other approved tasks: measurement Trials, reported separately
  -> fewer than 20 listed tasks: Advisory suite (minimum is configurable)

overall Verdict = only suites that are not advisory
every suite advisory -> inconclusive -> existing release confirmation

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

  • Seams: the thirdshift experiment / experiments CLI, retained files and JSON; the existing Verdict interface; Console HTTP/browser output; and the release script. No new testing seam.
  • Before: all approved Eval tasks contributed to the Verdict, including tasks both Arms always failed; a small suite could pass or block a release.
    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 main passed 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.
  • The local full-suite command stopped at bug_origins: system Python 3.9 lacks tomllib. 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.
  • CI for the exact reviewed HEAD passed Linux Rust checks, the macOS gate, site tests and Console tests. With no source changes, remaining full-suite coverage is reused from that run as docs/testing.md directs; the local affected-tests invocation itself did not finish successfully.
  • Independent Standards and Spec review covered main...HEAD at 24b45cbcea2fcebf46a9d411650f239fee5f4092. The review required no source changes, so no new commit was created or pushed.

Unaddressed findings

Standards

  • S1 — [P3] Possible Data Clumps in setup identity: declined as an engineering judgement. src/evals/format.rs:49–54 deliberately represents Difficulty's manifest fields separately from Arm setup. Difficulty omits absent Model/Effort (src/evals/format.rs:51–54, required by docs/eval-tasks.md:90); Arm setup serializes those fields as null (src/evals/experiment.rs:133–134, documented by Setup in docs/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

  • Security review incomplete: Required offline validation is blocked by missing cached Linux Chromium revision 1248 and Rust 1.99.1.

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.md and summary.json in 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

@JacobStephens2
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
JacobStephens2 marked this pull request as draft October 29, 2026 12:52
@JacobStephens2
JacobStephens2 marked this pull request as ready for review October 29, 2026 13:13
@JacobStephens2
JacobStephens2 merged commit 44831b2 into main Oct 29, 2026
18 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-1477 branch October 29, 2026 13:48
@JacobStephens2 JacobStephens2 mentioned this pull request Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spec: judge Experiments only on discriminating Eval tasks

1 participant