Skip to content

Confidence intervals for baseline–candidate metric differences #2530

Closed

Description

@linear-code

Goal

Provide uncertainty evidence for baseline-versus-candidate evaluation comparisons through confidence intervals for metric differences in gym eval compare.

This issue captures the work delivered by Martyna Patelka in #3399, merged on 29 September 2026.

Delivered scope

  • Compute per-repeat estimates for eligible benchmark-defined metrics, extending support beyond generic mean/* metrics.
  • Report per-run confidence intervals and two-sided 95% Welch confidence intervals for candidate-minus-baseline differences.
  • Include difference intervals in Markdown and JSON comparison reports.
  • Reconstruct repeat statistics from stored rollout summaries for legacy aggregate files when available.
  • Leave difference intervals unavailable when either run has fewer than two finite repeat-level observations, and warn about incomplete or unequal task coverage.
  • Provide supporting documentation and tests.

The delivered method compares independent repeat-level estimates. Paired task-level hypothesis testing and release-policy verdicts remain outside this scope.

Acceptance criteria

  • Eligible benchmark-defined metrics supply repeat-level estimates for uncertainty calculations.
  • Baseline-versus-candidate comparisons expose 95% confidence intervals for candidate-minus-baseline differences.
  • Difference intervals are included in Markdown and JSON reports.
  • Legacy aggregate files can recover repeat statistics from stored rollout summaries when available.
  • Insufficient repeat evidence leaves difference intervals unavailable.
  • Documentation and tests accompany the merged implementation.

Continuation / next-month POR

Within this issue, the original sign-test and automatic test-selection proposal is replaced by the merged confidence-interval implementation above.

PR #3055 — Statistical tests remains a draft on hold. #3855 is a separate extension awaiting review. Neither is counted as delivered here.

Additional statistical methods and decision interpretation remain in the existing continuation issues for next month's POR:

The confidence intervals provide the delivered evidence foundation for the Numerics workflow; additional validation and consumption requirements remain in those follow-ups.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions