glossary

Evals

Pass@k

Pass@k is the chance that at least one of k attempts at the same task succeeds, estimated from n attempts that contain c successes as the chance a random subset of k contains a success.

Abracadabra Team Glossary

How it works

Run the same task n times and count c successes. Pass@k is not the fraction c out of n. It is the chance that, if you drew a random subset of k of those attempts, at least one success would be in the subset. When k is one, that chance moves with how often a single draw works. When k is large, a rare success can make the figure look healthy because the subset is wide enough to catch it. The figure describes those n attempts only.

Use it when the product genuinely gets several tries, such as a coder who will accept any one query that runs. Do not use it to bless an agent a person will try once. A charity donor who asks for a total and receives a broken query does not draw eight times. Say n and c in words beside any pass@k, and do not borrow a number from a public benchmark. This case's attempts are not that benchmark.

A worked example

A March donations query for a charity

A hospice charity asks for a query that totals donations by fund for last March, and a checker runs each attempt against a known database. The agent is given eight independent attempts. In this example, 2 of 8 attempts pass the checker. With n attempts and c successes, pass@k is the chance a random subset of k contains a success. Here n is 8 and c is 2. A subset of one contains a success only when it is one of those two passing queries. A subset of all eight always contains a success, because both passing queries sit inside it. The description is about these eight attempts. It is not a score on a public benchmark, and it does not mean a donor who tries once will get a working query.

Illustrative example, not a production trace and not a measured result.

What goes wrong

  • A high pass at a large k is reported as if the agent were reliable, while a donor who gets one attempt still receives a failing query six times out of the eight tries in this example.
  • Attempts from different tasks are pooled into one n, so a success on an easy total inflates the figure for a harder split the checker barely saw.
  • The team quotes a benchmark's pass@k next to this charity case, the tasks are not the same, and the borrowed number says nothing about these eight queries.

How to measure it

Publish n, c, and the k that matches how many tries a real person gets. If the person gets one try, read the single-try chance, not a wide subset.

Keep attempts inside one task. A figure built by mixing an easy query with a hard one is not a property of either task, and it should not gate a release or be quoted as one figure for this charity task.

Further reading

How Abracadabra helps

A single lucky attempt can hide a task people have to repeat. Read sessions with repeated intents, and judge success on whether one try is enough for the job they came to do.

Abracadabra does not run the eval or the simulation. Search by meaning, and by tool event, for the sessions that stopped, and use that wording when you write the case. After a change, compare task success for that task and cohort with the previous period.

Request access to read this on your own agent.

See it in your own agent's conversations.

Each task, the step where it stops, and the conversations behind every count. Free during early access.