AI/ML Deep Dive: The Metrology of Reliability

Day 62 · 2026-10-14
For: experienced engineers outside AI · Level: Intermediate

A leaderboard "success rate of 65%" answers only one question: can it do it? Whether you can actually hand work to an agent depends on another: does it do it every time? This issue covers four measurement tools that separate "once" from "every time": pass^k, time horizons, hazard-rate models, and the uncertainty of tail extrapolation. Prerequisites: Day 15 Evaluation & Benchmarks, Day 56 Evaluation Reproducibility.

pass@k vs pass^k: "At Least Once" vs "Every Time"pass@k vs pass^k

Metric definitionTask heterogeneity
One-line analogy

pass@k is like reading from replicas: success if any one of k replicas responds. pass^k is like a serial call chain: all k calls must succeed for the chain to be available. Same component, two composition rules, wildly different availability.

The problem it solves + how it works

Code generation has long used pass@k (the Codex paper, Chen et al. 2021): sample k times on the same problem; it counts as solved if at least one sample passes the unit tests. That fits settings where tests let you pick the best output. But agent tasks such as customer service, placing orders or editing a database offer no chance to pick: each real user gets one shot. τ-bench (Yao et al. 2024) therefore proposed pass^k: run the same task k times independently, and it counts only if all succeed. The paper reports that even GPT-4o completes fewer than 50% of tasks, and pass^8 in the retail domain falls below 25%.

Both use unbiased estimators. With n runs per task and c successes:

  • pass@k = 1 − C(n−c, k) / C(n, k): the complement of drawing k runs from n with no success at all;
  • pass^k = C(c, k) / C(n, k): the probability that the k runs drawn all land among the successes.

The key intuition is task heterogeneity. If every task had success rate p, pass^k would be p^k and fall exponentially with k. In practice it is more common that "some tasks are always right, some are almost always wrong". pass^k is the average of each task's p_i^k, not the average p raised to the k — and the former decays far more slowly. So the shape of the pass^k curve is itself a diagnostic: a steep drop means failures are random and a fresh attempt may turn out differently; a curve that quickly flattens means failures concentrate on a fixed set of tasks, and no number of retries helps.

This also explains why retries sometimes work and sometimes don't. If attempts are independent, the chance of at least one success in k is 1 − (1 − p)^k, and retry gains accumulate fast; but that formula assumes failures are random. When failures concentrate on fixed tasks, retrying just hits the same blind spot again. Put differently, the gap between pass@k and pass^k tells you how much failure is "bad luck" and how much is "can't do it".

Code example
from math import comb

def pass_at_k(n, c, k): return 1 - comb(n - c, k) / comb(n, k)  # at least once
def pass_hat_k(n, c, k): return comb(c, k) / comb(n, k)        # every time

# 10 tasks, n=8 runs each: 6 always succeed, 4 succeed only 1 of 8 times
n, succ = 8, [8]*6 + [1]*4
for k in (1, 4, 8):
    at  = sum(pass_at_k(n, c, k) for c in succ) / len(succ)
    hat = sum(pass_hat_k(n, c, k) for c in succ) / len(succ)
    print(f"k={k}: pass@k={at:.2f}  pass^k={hat:.2f}")
# k=1: 0.65 / 0.65   k=4: 0.80 / 0.60   k=8: 1.00 / 0.60

p = sum(succ) / (n * len(succ))
print(f"If failures were fully random, the same 65% gives pass^8 = {p**8:.3f}")  # 0.032

Same 65% single-shot success rate: with concentrated failures pass^8 = 0.60; with random failures, only 0.03. A leaderboard that reports only pass@1 treats these two systems as identical.

Common misconception + practical scenario
Misconception: "High pass@k means just try a few more times." That holds only if attempts are independent and a reliable judge picks the correct one. Without a judge you don't know which of k outputs is right; and if failures concentrate on fixed tasks, they aren't independent at all.
📌 BigCat scenario: when evaluating an everyday AI workflow (say, a weekly auto-summary of investment notes), don't just ask "was this result good?" Run the same input 5 times and see whether every result is acceptable. Only a flow that is right 5 out of 5 deserves the word "automated".
Takeaway + reflection
💡 pass@k measures capability ceiling; pass^k measures how far it can be trusted. The gap between the two curves is the distance between "can do" and "can be relied on".
🤔 Human workers' pass^k is usually much higher than their pass@1 would suggest, because people notice their own mistakes. Should that "self-awareness" count as model capability, or as an external judge?
Engineering counterpart → super-individual D6 (Eval Engineering)

Time Horizon: Converting Reliability into "How Long a Job You Can Hand Off"Task-Completion Time Horizon

METRLogistic slope
One-line analogy

Like p50 and p99 in latency monitoring: the same service looks fast at the median and may be an order of magnitude slower at the tail. The 50% and 80% time horizons are the "median" and "tail" of reliability.

The problem it solves + how it works

Success rates across benchmarks aren't comparable: 60% on SWE-bench and 60% on τ-bench mean different difficulty. METR (Kwa et al. 2025, arXiv:2503.14499) introduced a common ruler: have human experts do the same tasks and record their time, then ask "on tasks how long does the model still succeed 50% of the time?" That length is the 50% time horizon; raise the bar to 80% and you get the 80% time horizon.

The method fits a logistic curve of success against the log of task length:

P(success | length t) = σ(α − β·ln t)

σ is the S-shaped function squashing any real number into 0–1; α sets where the curve crosses 50% (how strong the model is); β is the steepness — large β means success drops sharply around some length, small β means it decays slowly with length. Solving for the two horizons gives a neat result:

h50 / h80 = 41/β

(The 4 comes from the 80/20 odds.) That is, the ratio of 50% to 80% horizons depends only on the slope β, not on how strong the model is. At β = 1 the ratio is 4; at β = 0.7 it is about 7. In the early paper, Claude 3.7 Sonnet's two horizons were about 59 and 15 minutes, a ratio of about 4. Why the log of length? Because difficulty grows multiplicatively: going from 1 minute to 10 minutes spans the same "order of magnitude" as going from 1 hour to 10 hours. On this basis METR reports that the 50% horizon of frontier models has doubled roughly every 7 months since 2019. Later community estimates for newer models show the ratio has not narrowed as capability rose, and is larger for some models — the curve has flattened: long tasks occasionally succeed, but short tasks occasionally fail too.

success
100% ┤■■■■■■■□□
 80% ┤········■■□□□······ ← h80 (tail)
 50% ┤··················■■■□□····· ← h50 (median)
  0% ┼────────────────────────────▶ ln(human time)
the smaller β (flatter curve), the wider the horizontal gap between the two lines
Code example
import math

def horizon(alpha, beta, q):
    # solve σ(α − β·ln t) = q  →  ln t = (α − logit(q)) / β
    logit = math.log(q / (1 - q))
    return math.exp((alpha - logit) / beta)

for beta in (1.0, 0.7):
    alpha = beta * math.log(60)          # both curves have h50 = 60 minutes
    h50, h80 = horizon(alpha, beta, 0.5), horizon(alpha, beta, 0.8)
    print(f"β={beta}: h50={h50:.0f}min  h80={h80:.1f}min  ratio={h50/h80:.1f}x")
# β=1.0: h50=60min  h80=15.0min  ratio=4.0x
# β=0.7: h50=60min  h80=8.3min  ratio=7.2x
Common misconception + practical scenario
Misconception: "If the 50% horizon doubles, I can safely hand off jobs twice as long." The 50% horizon measures the capability frontier at coin-flip level; the range where you can let go is at 80% or higher, which may be only a fraction of it. Also, the two horizons come from the same fitted curve and are not independent measurements.
📌 BigCat scenario: when delegating to AI, estimate risk by "how long would this take a human": few-minute tasks can be handed off; tasks approaching half a day should be split into steps, each reviewed by you. The point of splitting is to pull each segment back into the high-reliability range.
Takeaway + reflection
💡 The time horizon translates reliability into "how long a job you can hand off"; the gap between 50% and 80% is set by the slope, and capability gains don't automatically shrink it.
🤔 Using human time as the difficulty ruler assumes "what's hard for humans is hard for models". For tasks that take humans seconds but models often fail (like counting letters), how does this ruler distort?
Engineering counterpart → super-individual D5 (Agent Design)

Hazard-Rate Models: Do Failures Happen at a Constant Pace?Hazard Rate & Weibull Survival

Survival analysisA retracted model
One-line analogy

Like the bathtub curve in hardware reliability: new disks fail often early, and once past "infant mortality" they become stable. The question is whether agent failure looks more like "a fixed chance of slipping each minute" or "most likely to crash at the start".

The problem it solves + how it works

The time horizon is an empirical fit; it doesn't say why success falls with length. In 2025 Toby Ord proposed the simplest mechanistic hypothesis (arXiv:2505.05115): a constant hazard rate (the probability of failing in the next minute, given you've made it this far). With a fixed per-minute failure probability, a task is like n serial steps, success = p^n, an exponential decay — like radioactive decay, the 50% horizon is exactly the agent's "half-life". The appeal is that one parameter yields every horizon.

In early 2026, Gus Hamilton refit METR's data with the more general Weibull distribution from survival analysis:

S(t) = exp(−(t/λ)k)

S(t) is the probability of surviving to length t; λ is the time scale, tracking model strength; k is the shape parameter: k = 1 reduces to constant hazard, k < 1 means the hazard falls as the task proceeds, k > 1 means errors become more likely over time. Every model's k came out significantly below 1, clustering around 0.6, and k barely changed as models improved — progress showed up mainly in λ. Ord then publicly changed his view, conceding the constant-hazard assumption doesn't hold. Secondary summaries also report a lower k for the human baseline (about 0.37), which Hamilton reads as humans being better at self-correction: once past the start, they get steadier.

The consequence is asymmetric: compared with a constant-hazard model with the same 50% horizon, k < 1 means long tasks beyond the horizon go better than expected, while short tasks go worse — the risk concentrates at the start of a task (understanding the requirement, picking the wrong path).

k < 1 also has a purely statistical source worth being wary of: selection. Even if every task type has a constant hazard, mixing "easy" and "hard" tasks means the hard ones drop out early and the survivors are mostly easy ones, so the aggregate hazard appears to fall. Survival analysis calls this the heterogeneity (frailty) effect. So k below 1 may mean "the model gets steadier as it goes", or merely "task difficulty is uneven" — telling them apart requires observing when failures occur within a task, not just the final outcome.

Code example
import math

def survival(t, h50, k):
    lam = h50 / math.log(2) ** (1 / k)     # makes S(h50) exactly 50%
    return math.exp(-(t / lam) ** k)

for k in (1.0, 0.6):                     # constant vs decreasing hazard
    row = [f"{t}min:{survival(t, 60, k):.2f}" for t in (5, 15, 240, 600)]
    print(f"k={k}", "  ".join(row))
# k=1.0 5min:0.94  15min:0.84  240min:0.06  600min:0.00
# k=0.6 5min:0.86  15min:0.74  240min:0.20  600min:0.06

Both curves have a 60-minute 50% horizon. At k = 0.6, success on a 5-minute task drops from 94% to 86%, while a 10-hour task rises from nearly zero to 6%.

Common misconception + practical scenario
Misconception: "Weibull fits better, so it's the truth." A model with one more parameter always fits at least as well, as Ord himself stressed; what changed his mind was k being significantly below 1 across all models. It is a better description, not a proven mechanism.
📌 BigCat scenario: k < 1 suggests risk concentrates at the start. When collaborating with AI on a long task, front-load your attention: reviewing its restatement of the goal and its first-step plan pays off more than spot checks midway — the same logic as onboarding a new hire: watch closely for the first three days, then let go.
Takeaway + reflection
💡 Constant hazard gave an elegant "half-life", but data show agent risk falls as the task proceeds; the shape parameter k captures "how it fails" better than the horizon itself.
🤔 If k reflects self-correction, and k barely moves as models get stronger, then "stronger" and "better at self-correcting" may be two different kinds of progress. What training signal might change k directly?

Tail Extrapolation & Measurement Noise: 99% Can't Be MeasuredTail Extrapolation & Evaluation Noise

UncertaintyModel choice · Simulator confounding
One-line analogy

Like estimating p99.99 latency from a few hundred request samples: the data never reach that range, so the number mostly reflects the distribution you assumed, not the system; and if the load-testing tool itself jitters, the measured tail is mixed with the tool's noise.

The problem it solves + how it works

When reliability really matters, we want the 99% or even 99.9% horizon — the range where something can run unattended. But benchmarks have a limited number of tasks, so the high-reliability range has almost no data points; it can only be reached by extrapolating the curve. Two sources of error stack up here:

  • Model-form error: METR's default log-logistic curve and a Weibull curve nearly coincide in the 20%–80% middle, and Hamilton notes they diverge markedly in the tails. The code below calibrates both to the same 50%/80% horizons; by 99% they already differ by about 2×, by 99.9% about 4× — and the data cannot say which is right. The reason is simple: to measure a 99% success rate directly you need hundreds of tasks near that length to get the error down, and the gap between 1 failure and 0 failures can swing the estimate a lot. METR's 2026 note on modelling assumptions also lists the Weibull alternative and its effect on horizon estimates.
  • Environment noise: pass^k assumes every failure is the agent's fault, but in τ-bench-style evals the "user" is itself played by an LLM. τ²-bench (Barres et al. 2025, arXiv:2506.07982) audited its user simulator and found error rates of about 40% and 47% in the retail and airline domains, of which about 12% and 13% were critical errors severe enough to fail the task; the more tightly constrained telecom domain had only 16% (6% critical). Those failures get charged to the agent, and in pass^k they are amplified to the k-th power.
Code example
import math
h50 = 60.0; r = 6.6                        # both models: h50=60min, h50/h80=6.6
inv_b = math.log(r) / math.log(4)          # 1/β for log-logistic
k = math.log(math.log(2) / -math.log(0.8)) / math.log(r)  # Weibull k (≈0.60)
for q in (0.8, 0.99, 0.999):
    ll = h50 / (q / (1 - q)) ** inv_b
    wb = h50 * (-math.log(q) / math.log(2)) ** (1 / k)
    print(f"{q:.1%}: log-logistic={ll:.4f}min Weibull={wb:.4f}min ratio={ll/wb:.1f}x")
# 80.0%: ratio=1.0x   99.0%: ratio=2.2x   99.9%: ratio=4.4x

p_agent, sim_crit = 0.90, 0.12             # agent itself 90%, simulator 12% critical errors
for n in (1, 4, 8):
    print(n, round(p_agent**n, 2), round((p_agent * (1 - sim_crit))**n, 2))
# 1 0.9 0.79   4 0.66 0.39   8 0.43 0.15  ← measured pass^8 is ~1/3 of the true value

The second part simplifies simulator errors as independent events, only to illustrate that "environment noise compounds in pass^k".

Common misconception + practical scenario
Misconception: "The report gives a point estimate of the 99% horizon, so I can plan with it." Tail numbers are mostly determined by the distributional assumption; the confidence interval is often more informative than the point estimate. Add measurement-environment noise, and a low pass^k may be substantially the fault of the judge and the sparring partner.
📌 BigCat scenario: when deciding whether an AI capability is "good enough" to take over something, ask three questions: Does the data cover the reliability range I care about? Would a different reasonable curve assumption flip the conclusion? How much of the failure comes from the eval environment itself? Only when all three have answers is the number credible.
Takeaway + reflection
💡 The high-reliability range can't be measured, only extrapolated, and the extrapolation method is itself the biggest uncertainty; eval-environment noise is then multiplied by pass^k.
🤔 If the 99% horizon can only ever be extrapolated, what evidence should a claim like "agents can now do X unattended" require to stand?
Engineering counterpart → super-individual D6 (Eval Engineering)

Crossovers

  • Investing · Volatility drag: Returns compound by multiplication, so +50% then −50% leaves you at 75%, and the arithmetic mean overstates the outcome; pass^k is a multiplicative chain too, and the average success rate misleads in the same way. Where it differs: the same convexity points the other way here. In investing, dispersion hurts compounding; uneven per-task success rates actually push pass^k above the "every task has the average p" case.
  • Ecology · Survivorship curve types: Raymond Pearl sorted species' survivorship curves into three types; Type III, oysters and fish fry, means mass early death and long lives for the survivors, exactly the shape of Weibull k<1. Where it differs: fry die from outside predators, while an agent's "infant mortality" usually comes from misreading the request.
  • Psychology · Noise audits: In Noise (2021), Kahneman and colleagues separate bias from noise by handing the same cases to judges repeatedly and measuring how far verdicts scatter; pass^k is a noise audit for a model. Where it differs: a noise audit needs no correct answer, only the spread between judgments, whereas pass^k requires a grader to call right and wrong.
  • Western philosophy · Hume's problem of induction: Inferring the unobserved from the observed rests on an assumption that nature is uniform, not on the data; extrapolating a 99% horizon likewise depends on which curve you choose. Where it differs: Hume held that no amount of observation proves an induction, while tail estimates really do tighten once enough tasks are collected in that range.

Ten takeaways

  1. pass@k measures succeeding at least once in k attempts, which fits settings with unit tests to pick the best of several outputs.
  2. pass^k, introduced by τ-bench, requires all k runs of the same task to succeed and measures how far an agent can be trusted.
  3. pass^k averages each task's success rate raised to the k: concentrated failures flatten the curve and make retries useless, random failures make it plunge.
  4. At the same 65% single-try success rate, pass^8 is about 0.60 when failures are concentrated but only about 0.03 when they are random.
  5. METR's time horizon uses how long human experts take as the yardstick and asks at what task length a model still succeeds 50% or 80% of the time.
  6. The ratio of the 50% to the 80% time horizon depends only on the logistic slope β, so capability gains do not automatically shrink the gap.
  7. Toby Ord's constant-hazard model makes success decay exponentially with task length, turning the 50% horizon into an agent's "half-life".
  8. Weibull fits give agents a shape parameter k of about 0.6, meaning risk is front-loaded, and k barely moves as models get stronger.
  9. Mixing easy and hard tasks can also make the overall hazard appear to fall, so a Weibull k below 1 need not mean the agent grows steadier.
  10. The 99% horizon can only be extrapolated and hinges mostly on the chosen curve; user-simulator errors are further amplified to the k-th power in pass^k.

Further Resources

  • Yao, Shinn, Razavi, Narasimhan, τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains, arXiv:2406.12045 (2024) — origin of pass^k
  • Barres, Dong, Ray, Si, Narasimhan, τ²-Bench: Evaluating Conversational Agents in a Dual-Control Environment, arXiv:2506.07982 (2025) — user-simulator error analysis
  • Kwa et al. (METR), Measuring AI Ability to Complete Long Tasks, arXiv:2503.14499 (2025) — the 50%/80% time-horizon method
  • Toby Ord, Is there a half-life for the success rates of AI agents?, arXiv:2505.05115 (2025); and his 2026 post Hazard Rates for AI Agents Decline as a Task Goes On (tobyord.com) — the constant-hazard model and its revision
  • Chen et al., Evaluating Large Language Models Trained on Code, arXiv:2107.03374 (2021) — the unbiased pass@k estimator

Deeper Reflections

Do the pass^k decay curve and Weibull's k say the same thing?
Related but different. pass^k looks at consistency when the same task is rerun; a flattening curve means failures concentrate on fixed tasks — "between-task heterogeneity". Weibull's k looks at how risk changes within a single run over time — "within-run dynamics". A system can crash at the same spot every time (flat pass^k, small k), or crash at random (steep pass^k). Only together do they separate "it can't" from "it's unsteady".
Why can distributed systems stack redundancy from 99% to 99.999%, while agents struggle?
Redundancy stacks availability only if failures are independent: the chance two machines fail together is the product of their individual chances. Repeated agent attempts tend to fail in highly correlated ways — same model, same misunderstanding, same blind spot, exactly the "always wrong" tasks from card 1. For redundancy to work you need genuinely heterogeneous replicas (different models, prompts, methods) plus a reliable judge, which pushes the problem back to Day 61's "is there a hard judge?"
Humans have lower k and self-correct better — where does that ability come from?
One explanation is metacognition: people notice "something's off" midway and back up, so after surviving the start they get steadier. Hamilton borrows Peto's paradox (huge whales don't get more cancer despite having far more cells, because they evolved stronger error-correction) as an analogy. For models, a similar ability might come from better self-verification and backtracking; but if k barely moves across generations, scaling alone hasn't brought it automatically. There is also a parallel with Buddhist mindfulness and its awareness of arising thoughts: awareness itself is an error-correction loop.
Should reliability come from the model or from the system?
Distributed systems answer clearly: build reliable systems from unreliable components, via detection, retries, rollback and isolation — not by demanding that no disk ever fails. The metrology of agents is converging on the same conclusion: a single model's 99% horizon is short and poorly measured, so reliability more likely comes from external structure. The precondition is that faults be detectable: a broken disk reports an error, but a wrong agent often fluently delivers a wrong answer (Day 60). Detection thus becomes the bottleneck of the whole chain.