Skip to content
BIASED

Evaluating agents

Trials, pass@k and pass^k, task variance, the METR horizon, and cost.

From training numbers to measurement

Training agents with reinforcement learning quoted pass rates with scaffold, budget and date — and warned that different setups are not a ranking. An agent adds three complications beyond NLP’s single-output evals: the unit is a trajectory in an environment; two runs of the same agent on the same task can disagree; each run costs minutes and dollars.

A trial in an environment

A trial resets the environment, runs the agent loop until stop or budget, grades the final state, and records success plus cost. A task has success probability pip_i, not a label. Tasks differ widely; nn and NN stay small because trials are expensive.

Key idea. A score estimates a probability over a population of tasks and over trial randomness, under a particular grader and budget. It is a measurement only with the resampled unit (tasks), the kk it refers to, the grader, and the cost of a trial.

pass@k and pass^k

pass@k=1N∑i(1−(1−pi)k)\mathrm{pass@}k=\frac1N\sum_i\big(1-(1-p_i)^k\big) — capability with kk tries and a selector. Unbiased estimator from cc successes in n≥kn\ge k trials:

pass@k^=1−(n−ck)(nk).\widehat{\mathrm{pass@}k}=1-\frac{\binom{n-c}{k}}{\binom{n}{k}}.

The plug-in 1−(1−c/n)k1-(1-c/n)^k underestimates for k≥2k\ge2 (Jensen). Example: n=10n=10, c=3c=3, k=2k=2 → pass@2^=1−21/45=0.533\widehat{\mathrm{pass@}2}=1-21/45=0.533 vs plug-in 0.510.51.

passk=1N∑ipik\mathrm{pass}^k=\frac1N\sum_i p_i^k — reliability (all kk succeed); estimator (ck)/(nk)\binom{c}{k}/\binom{n}{k}. τ-bench: GPT-4o retail pass1=61.2%\mathrm{pass}^1=61.2\%, pass8<25%\mathrm{pass}^8<25\%. Spread of pip_i matters: same mean 0.60.6 gives pass8≈0.017\mathrm{pass}^8\approx0.017 if identical vs ≈0.186\approx0.186 with realistic Beta spread.

How many tasks

Var⁡(R^)=1N(Var⁡(p)+E[p(1−p)]n).\operatorname{Var}(\hat R)=\frac1N\Big(\operatorname{Var}(p)+\frac{\mathbb E[p(1-p)]}{n}\Big).

More trials shrink only the second term. Bootstrap must resample tasks, not pooled trials (coverage 95%95\% vs 55%55\% in the note’s simulation). Paired comparison: resample shared tasks.

Benchmarks and the time horizon

Kinds: repositories (SWE-bench), terminals, MLE-bench, τ-bench, WebArena, OSWorld, GAIA, AgentDojo. Public sets contaminate and saturate — SWE-bench Verified was retired from OpenAI reporting (Feb 2026) after flawed tests and leakage. Null agents should score zero.

METR time horizon: P(success∣t)=σ(β(log⁡2h−log⁡2t))P(\text{success}\mid t)=\sigma\big(\beta(\log_2 h-\log_2 t)\big); hh is the 50% horizon. Frontier hh roughly doubled every ~7 months (2019–early 2025), with wide bars, domain dependence, and suite saturation by 2026. Toy fit: h≈67.4h\approx67.4 min, h80≈12.6h_{80}\approx12.6 min.

Cost and graders

Accuracy alone rewards spending. With perfect verifier retries, E[attempts]=∑j=0k−1E[(1−p)j]\mathbb E[\text{attempts}]=\sum_{j=0}^{k-1}\mathbb E[(1-p)^j]. A cheap model with retries can Pareto-dominate an expensive one-shot. Graders: execution, state checks, model judges, people — audit with null agents and reviews of successes/failures.

Toward security

Honest benchmarks assume honest environments. Next: agent security and prompt injection — text written to make the agent do something else.

Check your understanding

The same questions as in Pulse. Answers are shared between modes.

Full notes

Answers are saved on the server and tied to this browser until you sign in.