All posts
    Evaluation · 2026-11-24 · 8 min read

    How many tasks do you need for an LLM evaluation?

    Scope a model or provider evaluation around workload coverage, decision risk and uncertainty—not a universal sample count.

    The short answer

    There is no task count that makes every model comparison reliable. A pilot needs enough distinct, representative tasks to expose the failures that could change your decision, plus an uncertainty analysis appropriate to the claim you want to make. A small diagnostic set can reveal a broken workflow. It cannot establish a rare-failure guarantee.

    Start with the buying decision

    Write the decision before collecting examples: choose a provider, approve a model change, or decide whether a task can run without routine human review. Then specify acceptance criteria, critical failures, latency limits and the smallest improvement worth acting on. If two configurations are nearly tied, distinguishing them generally needs more evidence than detecting a large difference. If a single failure has serious consequences, an average pass rate is insufficient. Do not let a sample-size target silently become a promise of safety or an SLA.

    Count distinct tasks separately from repeat trials

    A task is a case with defined inputs and success criteria; a trial is one attempt at that task. Anthropic's agent-evaluation guidance makes this distinction and recommends repeated trials to understand output variability. Repeating ten invoices ten times tests variability on ten invoices. It does not give the coverage of one hundred independently sampled invoices. Report distinct task count, trials per task and the grouping unit separately. Keep near-duplicates and examples from the same underlying case together when splitting development and validation data.

    Build a coverage map before increasing volume

    Create rows for the workload categories that matter: task type, language, input length, ambiguity, tool dependency and expensive failure mode. Record the source and permission to use each case, expected production share if known, reviewer owner and acceptance evidence. Include ordinary traffic and deliberately selected difficult cases, but report them separately. A stress set enriched for failures is useful for discovery; its raw failure percentage is not an estimate of production incidence. If production proportions are unknown, publish slice results and say the overall weighting is unresolved. More easy examples cannot repair an untested critical category.

    What zero observed failures means

    Consider a hypothetical fixed validation sample of n independent, identically distributed binary outcomes, evaluated by a frozen configuration and a reliable grader. If it contains zero failures, an exact one-sided 95% binomial upper confidence bound on the failure probability is 1 − 0.05^(1/n). This follows by solving (1 − p)^n = 0.05. It is a statistical calculation, not a QVolt benchmark.

    Hypothetical examples, zero failures observed, one-sided 95% upper bound:

    • Hypothetical n = 30 tasks: upper bound about 9.50%.
    • Hypothetical n = 100 tasks: upper bound about 2.95%.
    • Hypothetical n = 300 tasks: upper bound about 0.994%.
    • To get this bound below 1% with zero failures requires at least 299 independent observations under those assumptions.

    Limits of the zero-failure bound

    NIST describes binomial confidence bounds, including exact methods when failures or samples are few. The zero-failure expression here is the one-sided special case, not NIST's displayed two-sided interval.

    These bounds do not account for a biased sample, correlated tasks, incorrect grading, unseen task categories or changing production conditions. They do not mean there is a 95% probability that this particular fixed unknown rate lies below the reported bound. The confidence level describes the long-run coverage of the method. Do not reuse this calculation after repeatedly checking results and stopping when they look favorable without a suitable sequential design.

    Compare candidates on the same cases

    Use paired tasks so differences are less obscured by changes in task mix. Freeze prompts, tool access, retry policy, timeout, concurrency and version identifiers. Track cases where only one candidate succeeds, not just each candidate's headline rate. When estimating uncertainty, respect task-family clustering and repeat trials; do not treat correlated attempts as independent new examples. Prespecify the comparison and stopping rule. Choose the final sample size with the effect worth detecting, expected discordance, acceptable decision error and available review effort in mind; the zero-failure calculation is not a general sample-size calculator for comparing providers.

    Spend the review budget where uncertainty matters

    Begin with a diagnostic pass to find rubric ambiguity and missing categories. Use those examples to improve the evaluation. Reserve separate validation cases before optimizing candidates or judges. After the protocol is frozen, run the held-out comparison. If the evidence is inconclusive, say so and expand the relevant slices rather than forcing a winner. Repeatedly tuning on the held-out set turns it into development data. Human reviewers should adjudicate disputed outcomes without seeing provider identity where practical.

    Keep economics tied to accepted outcomes

    For the same measured task cohort, divide total in-scope cost—including failed attempts, retries and declared tool or review costs—by the number of accepted tasks. State the cost boundary and avoid double-counting retries already included in invoices. If no task is accepted, cost per accepted task is undefined, not zero. Show acceptance and critical failures alongside completion latency and cost; a cheap average cannot compensate for a disqualifying error. Report latency under the concurrency and timeout policy tested, and state how failures and timeouts enter the latency summary.

    A scope checklist for your evaluation brief

    Before commissioning a pilot, agree:

    • The decision and minimum meaningful difference
    • Workload slices and sampling frame
    • Distinct cases and repeat trials
    • Acceptance rubric and vetoes
    • Review and adjudication owners
    • Frozen candidate and harness versions
    • Held-out split
    • Uncertainty method and stopping rule
    • Cost boundary
    • The changes that trigger a rerun

    Further reading

    Scope your evaluation

    Bring the decision and constraints to a service-led QVolt workload-evaluation pilot. Agree scope, secure data sharing and commercial terms before sharing customer examples. Do not paste confidential data into an inquiry form.