Skip to content

Record Eval task Difficulty from A/A Experiments - #1563

Merged
JacobStephens2 merged 2 commits into
issue-1477from
issue-1478
Oct 28, 2026
Merged

JacobStephens2 merged 2 commits into
issue-1477from
issue-1478

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

experiments <id> --record-difficulty
  require a completed Experiment with identical Arms
  pool both Arms' retained, non-void Trials per Eval task
  replace [difficulty] atomically under the suite lock
evals [list] [--json]
  show Difficulty, measured and discriminating (0.15–0.95; ≥6 Trials)

Each reading keeps passes, Trials, Experiment ID, commit, Harness, Model and Effort. Approval shares the suite lock and atomic manifest writer. The manual and hand-written site pages describe the workflow.

Closes #1478

Evidence

  • Before: cargo test --test experiments difficulty::completed_aa_records_pooled_difficulty_for_every_task_and_replaces_old_readings -- --exact --test-threads=2 failed because --record-difficulty was rejected with the experiments usage message.
    After: that test passes, along with six additional CLI tests covering all four setup mismatches, unfinished Experiments, Void retries, the fixed band, unmeasured Eval tasks, suite locking and latest rechecked Scores.
  • Test seams: the Experiment CLI through fake Harnesses, and the Eval inventory/approval CLI with real private manifests.
  • cargo clippy --all-targets -- -D warnings and cargo fmt --check pass.
  • CI's complete Rust suite, formatting and Clippy pass on the published head 94872e55; site, Console and release builds are green too. This exact-head CI result supplies full-suite coverage, per docs/testing.md.
  • Local RUST_TEST_THREADS=3 NEXTEST_TEST_THREADS=3 /usr/bin/time -p scripts/affected-tests issue-1477: all 51 site tests passed. Its fallback cargo test ran for 1060.04s, including 18.67s compilation: 1,556 unit tests passed (3 ignored), and the Experiment batch reached 114 passes and one existing one-second startup timeout. cargo test --test experiments model_graders::model_grader_timeout_keeps_trace_and_resume_reuses_trials -- --exact --test-threads=1 then passed in 8.91s, exercising the timeout, retained trace and resumed Trials. docs/testing.md documents these short-deadline failures under local load. The first site run's two navigation timeouts also passed directly on this branch and an untouched issue-1477 snapshot, then the complete site suite passed.
  • Independent review against issue-1477: Standards raised one P3 duplication finding, fixed by 94872e55 and confirmed on follow-up; Spec raised zero findings. Reports and summary.json are saved in .thirdshift-review-oZbctA/ for the Session trace.

Merge Danger

Door: two-way

Difficulty is optional; retained Experiments can restore an earlier reading by re-recording it.

Blast Radius: Evals

Private Eval manifests, inventory output, and approval's manifest publication.

Unaddressed findings

Standards

None. The sole finding was addressed with the shared format::write helper in 94872e55.

Spec

None.

Security

None found. One-session guidance review of 91491d8cc414a7de4c9d1e8639f778b45d984628...94872e55f9dfd7a45c40f95acf44960b660b37dd covered all 17 changed files and supporting Experiment storage, retained Scores/rechecks, suite/task validation, approval, proposal/import, and Trial/Grader isolation. Checked path traversal/symlinks, file races and atomic publication, authorization/state transitions, serialization/output injection, and private-data exposure against the documented Eval/Trial boundaries. No concrete security boundary violation was identified. This is a focused change review, not a full audit.

No source changes or new proof-of-concept tests were needed. Reused the successful CI results on the unchanged head 94872e55, as docs/testing.md permits; no additional local target tests were run.

Security review outcome

No unaddressed introduced findings.

Review coverage

Both axes read all 17 changed files, including the generated manual output, and re-read the three files changed by the review fix. Unread changed files: none. Generated-output exclusions: none.

Built with codex codex-cli 0.164.0 · gpt-6.1-sol · xhigh

@JacobStephens2
JacobStephens2 merged commit 87ef5c0 into issue-1477 Oct 28, 2026
18 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-1478 branch October 28, 2026 22:30
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.

1 participant