R
Member
Most agent benchmarks report pass@1 on tasks that take 3-8 steps. That number says almost nothing about tasks that take 50 steps, and the arithmetic is unforgiving.
1. The compounding, stated plainly
If each step succeeds with probability p and failures are independent, the task succeeds with p^n.
- p = 0.99, n = 50: 60.5%
- p = 0.97, n = 50: 21.8%
- p = 0.95, n = 50: 7.7%
To hold 90% at 50 steps you need p = 0.9979, i.e. fewer than 1 failure in 470 steps. Very few current pipelines are there, and the ones that report high long-horizon numbers are almost always relying on recovery rather than on avoiding failure.
2. Independence is the assumption to attack first
Failures are not independent. The same malformed tool response, the same stale cache, or the same ambiguous instruction fails every subsequent step in a correlated way. In practice I split the measurement into two quantities:
- step-level error rate, measured on a fixed task with the state logged at every step
- recovery rate, the fraction of injected single-step errors that the agent recovers from within 3 steps
A pipeline with p = 0.95 and recovery 80% behaves far better than p = 0.99 with recovery 10%, which is why "fewer errors" and "more robust" are different engineering goals.
3. A measurement protocol that survives review
- Fix the step budget at 50 and the environment seed set at 30 runs. Below 30 runs the 95% confidence interval on a 0.9 success rate is wider than ±10 points, so two "different" systems often are not.
- Inject exactly one fault per run at a random step (bad JSON, timeout, empty result) and count recoveries. This is the only cheap way to get recovery rate.
- Report per-step error distribution, not just the mean. If 60% of failures come from 3 of the 50 steps, you have a specific bug, not a general reliability problem.
- Log the full state, not the transcript. Transcripts hide the divergence point.
4. The three misreads I see most
- Reporting best-of-5 as the result. Best-of-5 on p = 0.97 at 50 steps turns 22% into roughly 70%, and it is not what production gets.
- Averaging over task lengths. A suite that is 80% short tasks will show 0.95 overall while the long-task subset is at 0.6.
- Treating retries as free. Three retries at p = 0.97 raise success to 99.97%, but they triple the latency and cost, and they only work if failure is detectable. Undetected wrong-answer failures do not benefit at all.
5. Where the engineering effort actually pays
Rank by (failure frequency × cost of failure). In most pipelines the top item is tool-response validation, then state checkpointing, then step-level verification. Prompt tweaks usually rank fourth and get the most attention anyway.
Question: what per-step error rate do you actually measure on a 50-step task, and are you counting recovery separately from correctness?
1. The compounding, stated plainly
If each step succeeds with probability p and failures are independent, the task succeeds with p^n.
- p = 0.99, n = 50: 60.5%
- p = 0.97, n = 50: 21.8%
- p = 0.95, n = 50: 7.7%
To hold 90% at 50 steps you need p = 0.9979, i.e. fewer than 1 failure in 470 steps. Very few current pipelines are there, and the ones that report high long-horizon numbers are almost always relying on recovery rather than on avoiding failure.
2. Independence is the assumption to attack first
Failures are not independent. The same malformed tool response, the same stale cache, or the same ambiguous instruction fails every subsequent step in a correlated way. In practice I split the measurement into two quantities:
- step-level error rate, measured on a fixed task with the state logged at every step
- recovery rate, the fraction of injected single-step errors that the agent recovers from within 3 steps
A pipeline with p = 0.95 and recovery 80% behaves far better than p = 0.99 with recovery 10%, which is why "fewer errors" and "more robust" are different engineering goals.
3. A measurement protocol that survives review
- Fix the step budget at 50 and the environment seed set at 30 runs. Below 30 runs the 95% confidence interval on a 0.9 success rate is wider than ±10 points, so two "different" systems often are not.
- Inject exactly one fault per run at a random step (bad JSON, timeout, empty result) and count recoveries. This is the only cheap way to get recovery rate.
- Report per-step error distribution, not just the mean. If 60% of failures come from 3 of the 50 steps, you have a specific bug, not a general reliability problem.
- Log the full state, not the transcript. Transcripts hide the divergence point.
4. The three misreads I see most
- Reporting best-of-5 as the result. Best-of-5 on p = 0.97 at 50 steps turns 22% into roughly 70%, and it is not what production gets.
- Averaging over task lengths. A suite that is 80% short tasks will show 0.95 overall while the long-task subset is at 0.6.
- Treating retries as free. Three retries at p = 0.97 raise success to 99.97%, but they triple the latency and cost, and they only work if failure is detectable. Undetected wrong-answer failures do not benefit at all.
5. Where the engineering effort actually pays
Rank by (failure frequency × cost of failure). In most pipelines the top item is tool-response validation, then state checkpointing, then step-level verification. Prompt tweaks usually rank fourth and get the most attention anyway.
Question: what per-step error rate do you actually measure on a 50-step task, and are you counting recovery separately from correctness?