Interactive and Long-Horizon Task Evaluation › Reliability over repeated trials

Michael BrenndoerferDecember 1, 20263 min read
Language AI HandbookAll chapters
Part 57 of 67Dynamic, Interactive, and Agentic Evaluation
Chapter 437Interactive and Long-Horizon Task Evaluation › Reliability over repeated trials
Reading section 8 of 12 · Reliability over repeated trials · 3 minSection 8 of 12 · 3 min

Section 8 of 12 · 3 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

τ-bench compares the final database state with an annotated goal state. Its authors define pass^k as the probability that all k i.i.d. trials succeed on a given task, averaged across tasks. A single trajectory is one sample from a stochastic process with two sources of randomness. Model decoding varies unless you fix it (recorded decoding settings and seed where supported). The environment may vary even if decoding does not, because tools fail, latencies vary, and concurrent users change shared state. This means an interactive evaluation must be designed for repetition, not one-shot access.

For comparisons across stochastic runs, choose enough repeated trials to estimate the intended difference with useful precision. Report the task set and trial counts. A single result cannot quantify trial-to-trial variation.

For a batch of k trials, pass@k asks whether any trial succeeded, while pass^k asks whether all succeeded. Under a fixed independent per-trial success probability, the first is nondecreasing in k and the second is nonincreasing. Keep k fixed across comparisons, and state the task mix and reset procedure.

Pass^k vs pass@k

pass@k = 1 − (1 − p)^k under i.i.d. success probability p; it answers "can the agent solve the task at all given a few tries." pass^k = p^k answers "will the agent solve it every time."

where:

  • p: the per-trial success probability of the agent on the task, assumed constant and independent across trials
  • k: the number of independent trials run per task
  • (1 − p)^k: the probability that all k trials fail, so 1 − (1 − p)^k is the probability at least one succeeds
  • p^k: the probability that all k trials succeed, the reliability floor

The first counts batches with any success. The second counts batches where every trial succeeds. Use the fixed trial budget and task mix when interpreting either metric.

The same-probability and independence assumptions matter. A discrepancy between an empirical batch rate and the formula can reflect dependence, task heterogeneity, changing conditions, or sampling error. Record the task, environment version, session reset, and model configuration so you can investigate the difference.

A subtlety specific to stateful evaluation: resetting the environment and agent session between trials removes two sources of state carryover. If two trials share a database or a filesystem, trial 2 begins where trial 1 ended, and pass@k no longer means what it appears to mean. Resetting the world is part of the harness, and forgetting it is one of the most common harness bugs. We return to harness reproducibility in the following chapter on evaluation harnesses.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy