Skip to content

Interview question · Agent Evals & Observability

pass@k or pass^k: which one do you report for a customer-service agent, and why?

A customer never sees your best of five attempts. They see one run, then another next week. Report the number that describes that, and show it per task so the fix is obvious.

mediumEssentialNewUpdated Nov 2026

TL;DR: pass^k, alongside the single-run rate. Nothing picks the best attempt for a customer; each conversation is one run, and a customer who contacts support several times experiences the product only if those runs keep working. Estimate it per task from repeated runs, choose k from how often a customer actually comes back, and report the per-task spread, because "every task at 85%" and "most tasks at 100%, a few at 30%" need different fixes. pass@k belongs in the report only where something does pick among attempts, such as a human agent choosing between drafts.

How to approach it

Define both in one sentence each, then tie the choice to who experiences the runs. Make k concrete from product data, and show what the numbers would look like.

A strong answer

Why pass^k. pass@k is the chance at least one of k attempts succeeds; it is the right number when a verifier or a person picks the good attempt. A support customer gets one run per conversation and no one chooses for them. What matters to them is whether the agent works every time they use it, which is what pass^k measures. τ-bench (Yao et al., 2024) used it for exactly this kind of agent and found consistency far below single-run success.

Make k mean something. If a typical customer contacts support four times a quarter, pass^4 is the share of customers whose quarter has no failed conversation, assuming their tasks resemble the eval set.

from math import comb

def pass_hat_k(n, c, k):
    return comb(c, k) / comb(n, k)

# per-task results, 8 runs each: (task type, successes)
tasks = [("refund_status", 8), ("change_address", 8), ("cancel_order", 7),
         ("billing_dispute", 5), ("warranty_claim", 3)]
single = sum(c for _, c in tasks) / (8 * len(tasks))
hat4 = {name: round(pass_hat_k(8, c, 4), 2) for name, c in tasks}
print(round(single, 2), hat4["cancel_order"], hat4["warranty_claim"])  # => 0.78 0.5 0.0

The single-run rate is 78%. pass^4 shows the shape behind it: routine tasks are perfectly consistent, cancellation succeeds on four runs out of four only half the time, and warranty claims essentially never go four for four. The headline "78%" would have hidden that warranty claims are the problem.

What the report says.

MetricRole
pass^1 per task and overallThe familiar number, with intervals
pass^k per task, k from contact frequencyWhat customers experience
Distribution of per-task ratesWhether failures are spread or concentrated
pass@kOnly for flows where something picks among attempts

What interviewers probe next

"Isn't pass^k just p to the power k?" Only if runs are independent, and they are not: failures cluster on hard tasks. Estimating per task from repeated runs, then averaging, captures that; raising the overall rate to a power does not.

"How many runs per task?" At least k, and more for stable estimates: 8 to 10 runs per task is common for k up to 4 or 5. Fewer tasks with more runs beat many tasks run once for this metric.

"Where would pass@k be right in a support product?" Agent-assist, where a human agent sees three suggested replies and sends the best. There, at least one good suggestion is what matters.

What if?

What if · interview follow-ups

Hold your answer as the constraints change

You report pass^4 per task type for a support agent.

  1. Start here

    What if leadership asks for one number?

How it's scored

Weak: Reports pass@k because it is higher, or a single success rate.

Hire: Chooses pass^k because each customer interaction is one run, and runs tasks repeatedly.

Strong Hire: Picks k from contact frequency, estimates per task with the unbiased formula, reports the per-task spread to locate problems, explains why independence fails, and says where pass@k does apply.

Common mistakes

  • Raising the overall single-run rate to the power k.
  • Running each task once and calling it a reliability measurement.
  • A k chosen arbitrarily, with no link to how customers use the product.
  • Averaging away the task types that fail.
You just read a free answer. Every topic opens its first 5 answers to anyone. Sign in and the count per topic goes to 6, and the site remembers where you stopped in each one.Google sign-in · free · no payment details
HOW DID IT GO?
0
READING SIGNED OUT

Signing in raises your free answers from 5 to 6 per topic, adds an applied lesson in every topic and easy practice tests, and the site starts remembering you: mastery per topic, bookmarks, and a next-focus recommendation. Free, no card.

Sign in free
UP NEXT ON YOUR JOURNEY
DISCUSSION · 0

Nobody has commented. Post a correction or another way to answer.