Skip to main content
The agent passed 67% of tasks. Run the same thing on sixteen different tasks and it passes 60%, or 75%. Neither run was wrong. Sixteen tasks is a small sample of all the asks your customers could send, and a small sample bounces. The interval is the honest way to say how much. If two numbers have overlapping intervals, they are not different, whatever the means say.

The mechanism

pass@1 is the share of tasks the agent gets right on one try. It is the headline. The brackets after it are a 95% confidence interval: the range the true rate very likely sits in, given how many tasks you ran. The library computes it by resampling the tasks many times with replacement and reading off where the middle 95% of the results land. That method is the bootstrap, and it is done over tasks, not over the four tries of a task, because four tries of the same ask are not four independent facts. Four tries per task give two more numbers for free. The bigger question is how many tasks you need. Fewer tasks, wider interval, and a wide interval swallows real gains. holdout_size answers it: to see a 10-point gain from a 60% base with four tries per task, you need about 89 tasks. Most evals people run are smaller than that, which is why most “it got better” claims are noise.

Run it

Read the line. On one try the agent does the job 67% of the time, and with sixteen tasks the true rate could be anywhere from 55% to 78%. All four tries pass on only 19% of tasks, so it is not reliable. At least one try passes on every task, so it already knows how. The headroom of 33 points is what a training run has to work with.

Where it comes from

  1. Chen, M. et al. Evaluating Large Language Models Trained on Code. arXiv:2107.03374, 2021. The pass@k estimator.
  2. Miller, E. Adding Error Bars to Evals. arXiv:2411.00640, 2024. Why an eval number needs an interval, and why it is over questions, not samples.
  3. Efron, B., Tibshirani, R. J. An Introduction to the Bootstrap. Chapman and Hall, 1993.
  4. Lambert, N. Reinforcement Learning from Human Feedback. arXiv:2504.12501, 2025. Chapter Evaluation.

Next

The test the model never sees is the only score that counts: which tasks you are allowed to measure on.
Last modified on September 19, 2026