Skip to content

ADR-0012: Benchmark scores are normalised against a baseline and a reference, with bootstrap intervals

  • Status: Accepted
  • Date: 2026-12-02

Context

SPEC-020 gives every agent one combined score over a suite of different tasks. Raw task scores are not comparable: winning 60% of tic-tac-toe games as x against a random player is poor, while scoring 0.5 against a perfect player is the best possible. A plain average of raw scores would mostly measure which tasks happen to be easy. Each score also needs an honest range, because suites use few seeds (10 per task in agentplay-basics) and small samples vary a lot.

Decision

  • Normalise each task as (raw - baseline) / (reference - baseline). The baseline (usually a random player) scores 0 and the reference (usually perfect play, or a fixed number such as 1.0) scores 1. Values outside 0 to 1 are kept, so "worse than random" and "better than the reference" stay visible. The combined score is the weighted mean of normalised task scores.
  • Measure agent anchors once, at bench lock, by playing the baseline and reference agents on the task's own seeds, and store their raw scores in suite.lock. Every submission to that suite version is then normalised with exactly the same numbers, and scoring a submission never needs to replay the anchors. A task whose anchors score the same is refused, since it cannot tell agents apart.
  • Intervals come from a seeded bootstrap: 1000 resamples of each task's seeds, drawn in a fixed order from random.Random(seed) using only random(), so the result is the same on every Python version and platform. The combined interval uses the same resamples, so it reflects the uncertainty of every task together. The 2.5th and 97.5th percentiles give the 95% interval. The anchors are treated as fixed, so an interval shows only how much the tested agent's own results vary.
  • Verification recomputes from logs: a submission stores each log's and evaluation file's hash, its per-run values and the bootstrap seed. bench verify repeats the whole calculation and reports any difference.

Consequences

  • A score of 0.8 means the same in every task: 80% of the way from the baseline to the reference.
  • Changing an anchor, a seed or a world changes the numbers, so it needs a new suite version (BEN-003); the lock makes that impossible to miss.
  • Bootstrap intervals over 10 seeds are wide. Boards mark neighbours whose intervals overlap as "not clearly different" instead of hiding the uncertainty.
  • Anchors that are agents need to be runnable by the suite's author at lock time. The built-in suite uses only scripted agents and fixed numbers, so it locks and scores with no key.