How Many Tests Does Your AI Pilot Need?

A zero-failure calculator, worked examples and a practical evaluation plan for testing one AI workflow before expanding it.

By dotSuper Research DeskPublished Nov 8, 2026Updated Nov 8, 20267 min read
Applied systemsNIST statistical method, transparent calculations and dotSuper planning guidanceUpdated Nov 8, 2026

/ THE SHORT ANSWER

A decision tool, before a deployment decision

Zero failures. How much evidence?

Explore one narrow failure criterion. This calculator uses an exact, one-sided binomial confidence bound.

Local calculation
Use this only for a fixed evaluation plan.

Trials must be independent, identically distributed and representative of the work you want to assess. A clean test set cannot establish that every AI risk is controlled.

Choose before you test.

01 / Interpret a result

What did your test establish?

1 to 1,000,000 completed trials.
Use your pre-agreed failure definition.
95% one-sided upper bound2.9513%

Zero failures in 100 trials gives this upper bound for the defined failure probability, under the stated assumptions.

02 / Plan the next evaluation

How many trials would you need?

Greater than or equal to 0.0001%, below 100%.
Minimum fixed sample, if every trial passes299

Independent trials with zero failures would give a 95% one-sided upper bound of at most 1%. A failure means this plan has not met that zero-failure criterion.

More trials, a tighter bound

The evidence narrows gradually.

95% confidence · zero failures
Upper failure probability versus number of independent trialsAn exact one-sided confidence curve conditional on zero failures. More trials reduce the upper bound. The table below gives selected values.0.0%6.5%12.9%19.4%25.9%10133255378500Upper failure probabilityIndependent trials (linear scale)
This is a mathematical planning curve, not measured AI performance. The marker appears only for a valid zero-failure result.
View the curve data and calculation
Exact one-sided upper bounds, conditional on zero failures in every listed sample.
TrialsUpper bound (95%)Rule of three (approx.)
1025.8866%Use the exact bound
309.5034%10%
1002.9513%3%
2990.9969%1.0033%
5000.5974%0.6%

Upper bound = 1 − (1 − confidence)1 / trials. Required trials = ceil[ln(1 − confidence) / ln(1 − target)].

Interpret carefully. Confidence describes the repeated-sampling procedure, not a probability assigned to this fixed unknown failure rate. These bounds do not correct biased samples, correlated trials or changes after evaluation. Planning aid only, no certification.

See the method. Keep the context.

The visual companion

At 95 percent one-sided confidence, zero failures in 100 independent tests gives a 2.95 percent upper failure-rate bound; 299 tests gives a bound below 1 percent.
Zero observed failures still leaves uncertainty. Open full size

Credit: Original dotSuper decision diagram

Reuse: Share with attribution and a link to this guide. Keep the assumptions and limitations with the diagram.

Read the diagram: Zero observed failures still leaves uncertainty.

The one-sided exact binomial upper bound is 1 minus 0.05 raised to the power 1 divided by the number of tests. At 95 percent confidence, 30 tests with zero failures gives a 9.50 percent upper bound, 100 gives 2.95 percent, and 299 gives 0.997 percent.

This applies only to a fixed test plan with independent, identically distributed binary outcomes and zero observed failures. It does not establish safety or representativeness, and 299 is not a universal AI pilot sample size.

Exact zero-failure bounds at 95% one-sided confidence
Independent testsObserved failuresUpper failure-rate bound
3009.503%
10002.951%
29900.997%
Thumbnail credit and reuse

Credit: Original dotSuper decision diagram

Reuse: Share with attribution and a link to this guide. Keep the assumptions and limitations with the diagram.

Key takeaways
  • 01Define one trial and one failure criterion before collecting the evaluation results.
  • 02Zero observed failures does not establish a zero failure probability.
  • 03At 95% one-sided confidence, 100 clean trials give a 2.95% upper bound; 299 give a bound below 1%.
  • 04Correlated cases, sample bias and changes after testing can invalidate the interpretation.
  • 05Keep human review, operational monitoring and a separate high-consequence risk assessment.

/ dotSuper point of view

dotSuper analysis: the useful question is which failure you need to detect, in which workflow, before making which business decision. A larger convenience sample cannot repair the wrong test design.
01Orient

Define a failure before counting the tests

For invoice extraction, one trial could be one previously unseen invoice processed by a frozen system.

Write the pass condition first.

For example, the supplier, invoice number and total must match the verified document, or the system must correctly request review.

That is an illustrative evaluation rule, not a universal business threshold.

Decide which errors are tolerable, which require review and which prohibit expansion.

  • Record the model, prompt, tools, retrieval data and review policy being tested.
  • Separate the cases used for development from the cases used for evaluation.
  • Set the sample size, confidence level and acceptance rule before inspecting results.
02Signal

A clean sample still leaves uncertainty

This calculator specializes that method to zero failures and a one-sided upper bound.

For n trials and confidence C, the calculation is 1 − (1 − C)^(1/n).

With 100 clean trials at 95% confidence, the bound is 2.9513%.

The confidence level describes repeated-sampling coverage under the model assumptions.

It is not a 95% probability that this fixed unknown failure rate lies below the reported number.

The familiar rule of three, 3/n, approximates the 95% bound.

Use the exact calculation here, especially for small samples.

Calculated examples at 95% one-sided confidence, each conditional on zero failures and the stated sampling assumptions.
Independent trialsExact upper failure-rate bound3/n approximation
309.5034%10.0000%
1002.9513%3.0000%
2990.9969%1.0033%
5000.5974%0.6000%
03Prove

Work backwards from a decision threshold

The illustrative target reflects its review process and error consequences.

At 95% one-sided confidence, the smallest fixed sample is 299 independent trials.

The acceptance criterion requires zero failures across that sample.

This is a conditional test plan, not a prediction that the system will pass.

One observed failure means this zero-failure acceptance criterion has not been met.

Do not keep adding cases until a preferred result appears.

Pre-agree any sequential design with suitable statistical support.

04Resolve

Make the sample resemble the actual work

Include the document types, languages and operating conditions that the deployment will encounter.

Ten near-identical documents from one supplier may carry less independent information than ten unrelated business cases.

Repeated outputs for one document are not automatically ten independent workflow trials.

A deliberately difficult challenge set is valuable, but its failure frequency need not estimate ordinary production frequency.

Keep its results separate from the representative evaluation sample.

NIST's AI Risk Management Framework treats risk management as a lifecycle activity with context-specific requirements.

Our implication is practical: evaluate the workflow in its intended setting, then monitor changes after release.

  • Check important customer, language, supplier and document groups separately.
  • Do not apply an aggregate bound to a subgroup with too few observations.
  • Keep rare, high-consequence cases in a separate risk and escalation review.
05Orient

Know when this calculator cannot answer

The tool therefore withholds its observed-result bound when you enter failures above zero.

The calculation also assumes independent, identically distributed Bernoulli trials and a fixed evaluation plan.

Selection bias, correlated cases, tuning on the evaluation set and changing operating conditions can break the interpretation.

Even a valid bound covers only the failure criterion being counted.

It cannot certify privacy, fairness, security, factual accuracy or overall AI safety.

For consequential applications, involve the appropriate statistical and domain expertise before choosing acceptance thresholds.

06Signal

Leave with a decision your team can review

Exporting a calculation alone does not establish how the sample was collected.

Record the workflow, failure definition, sampling method, fixed sample size, system version, review results and decision owner.

Document exclusions and unresolved edge cases beside the result.

If the criterion is met, decide whether the next step is a monitored rollout, another test or continued human review.

The appropriate action depends on the consequence of being wrong.

  • Use the pilot-design framework to define the experiment before running it.
  • Evaluate completion, human effort and cost alongside the chosen failure measure.
  • Re-evaluate when the workflow, system or input population changes materially.

What this page cannot conclude

  • 01This is a planning aid, not statistical advice, safety assurance or certification.
  • 02The exact zero-failure formula requires independent, identically distributed Bernoulli trials, a fixed plan and zero observed failures.
  • 03The formula does not correct selection bias, poor failure definitions, correlated samples or tuning on evaluation cases.
  • 04The bound applies only to the defined failure probability in the sampled population. It does not cover every AI risk or establish subgroup performance.
  • 05All examples are calculated illustrations, not measured dotSuper client outcomes.

Sources

  1. 01Confidence intervals: exact binomial methods and one-sided intervalsNIST/SEMATECH e-Handbook of Statistical Methods · accessed Nov 8, 2026
  2. 02AI Risk Management FrameworkNIST AI Resource Center · accessed Nov 8, 2026

Our editorial standard · Found an error? Send a correction with its source.

/ CITE OR SHARE THIS GUIDE

Make the evidence easy to verify.

When you reference this guide, link to its canonical URL. That gives readers one stable place for the evidence, limitations and future updates.

Suggested citation

dotSuper Research Desk. (November 8, 2026). How Many Tests Does Your AI Pilot Need?. dotSuper. https://dotsuper.net/feeds/applied-systems/ai-pilot-sample-size-calculator

Share on LinkedIn
Design before deployment

Build the evaluation around one real workflow

Use our pilot framework to define the decision, baseline, case set and review process before a result is counted.

Open the pilot-design framework
Turn a pilot into a clear decisionHow Many Tests Does Your AI Pilot Need?

/ APPLY THE THINKING

Define one useful evaluation with us.

Bring one workflow and the errors your team cannot accept. We will help scope the test, review process and next decision.

Question for the working sessionWhat can a clean AI pilot sample actually establish, and how many independent tests would a target bound require?

/ Topic-led working session · How Many Tests Does Your AI Pilot Need?

Turn this question\ninto a useful first move.

Bring how this question currently shows up in your business: “What can a clean AI pilot sample actually establish, and how many independent tests would a target bound require?” We’ll test the page’s evidence against your context and define the smallest useful next move.

Live availability from ceo@dotsuper.net Automatically converted · your local time
  1. 01Bring the contextWhere this issue shows up in the work.
  2. 02Test the relevanceUse the evidence against your reality.
  3. 03Choose the next moveOne accountable action, clearly owned.
Live availability
  1. Date
  2. Time
  3. Booked

Syncing live times