Topic 2 of 5 · 4 min read
Counting automation errors honestly
Goal: Estimate an automation's error rate from a labelled sample and compare it with the manual baseline.
An automation's error rate is the share of its outputs that are wrong in a way that matters, counted on a labelled sample and compared with the error rate of doing the task by hand. Two numbers, one comparison. Without the second number, the first means nothing.
Check yourself · 1 of 3
Which sample gives the most trustworthy error rate for an automation that handles 2,000 emails a month?
Why it matters
An automation that is fast and sometimes wrong can cost more than it saves. A wrong invoice total, an invented citation or a misrouted complaint creates work later. Models also sound confident when wrong, so reading a few outputs and thinking "looks fine" is not a measurement. And people make mistakes too: if your manual process has a 5% error rate, an automation at 3% is an improvement, not a failure.
How to measure it
- Define an error before you look. Write it down: "wrong amount", "missing required field", "invented fact", "tone breaks the style guide". Decide what is not an error, such as a wording preference.
- Give errors a severity. A typo is minor. A wrong price is major. A message that offends a customer or leaks private data is critical. Count each level separately.
- Sample, do not cherry-pick. Take outputs at random, not the first ten and not the ones people complained about. Fifty is a sensible start for a rough picture; more narrows the uncertainty.
- Label with the answer key. For each sampled output, check it against the source or a trusted reviewer. Better still, have a second person label a subset and see whether you agree.
- Compute the rate. Errors divided by sample size, per severity. With 4 errors in 50 outputs the rate is 8%, but the true rate could plausibly sit well above or below that, so give it as a rough range.
- Measure the manual baseline the same way. Sample 50 past human outputs and label them with the same definition.
Before and after
Before: "We read twenty outputs and found no problems, so it is accurate."
After: "Out of 50 random outputs, 3 had a minor error and 2 had a major error (wrong amount). Out of 50 manual outputs, 1 minor and 2 major. Major error rate is similar; minor errors are slightly higher with the automation."
What goes wrong
- Checking only the easy cases. Errors cluster in unusual inputs, so a random sample must include them.
- Treating an unseen error as no error. If nobody checks the output against the source, nobody finds the invented fact.
- A moving definition. Changing what counts as an error after seeing results makes the numbers look better without any change in quality.
Examples
Automated invoice coding
An accounts team uses an AI tool to assign cost codes. They sample 50 coded invoices and an independent reviewer checks each against the supplier's description. Result: 6 wrong codes (12%), of which 2 would change a budget report. Last quarter's 50 manual invoices had 4 wrong codes (8%), 1 report-changing. The automation is faster but slightly less accurate, so they add a human check for invoices over a set amount.
The definition card
Write three lines before sampling. Error: output contradicts the source document. Not an error: wording differs but meaning matches. Critical: leaks personal data or promises something we cannot do. Every labeller uses the same card.
Key points
- Define what counts as an error, and its severity, before looking at any outputs.
- Take a random sample rather than the first few outputs or the ones people complained about.
- Measure the manual process with the same definition so the comparison is fair.
- A small sample gives a rough rate, so report a range, not a single exact figure.
- Count severities separately: one critical error outweighs many typos.
Common mistakes
- Reading a handful of outputs and concluding the tool is accurate.
- Comparing the automation with perfection instead of with the manual error rate.
- Changing the definition of an error after seeing the results.
- Reporting one overall rate that hides rare but serious errors.
Check yourself · 2 of 3
A tool makes 4 errors in a random sample of 50 outputs. Doing the same task by hand gave 5 errors in 50. What is the fair conclusion?
Check yourself · 3 of 3
Your tool drafts customer replies. Reviewers find a missing greeting in 6 of 50 and a wrong refund amount in 1 of 50. How should you report the errors?
Practice items, not counted towards your mastery.
Start here
- Estimating AI productivity gains (Anthropic) (opens in a new tab)ArticleFree
Shows how a lab turns task-level time estimates into a productivity figure, and where those estimates are shaky.
- Early-2025 AI and experienced developer productivity (METR) (opens in a new tab)PaperFree
A randomised trial where developers took 19% longer with AI tools while believing it helped: why you time the work.
- Generative AI at Work (Brynjolfsson, Li and Raymond) (opens in a new tab)PaperFree
A field study of 5,179 support agents measuring output per hour, customer sentiment and who gained most.
More for this topic
- Develop test cases (Claude docs) (opens in a new tab)DocsFree
Practical advice on writing measurable success criteria and test cases before judging an AI workflow.