How to use the QR Batch Failure Estimator
How this estimator works
You test a sample of codes from the batch and count how many fail to scan. The failure rate in your sample is the point estimate for the whole batch, and the Wilson interval shows how far the true batch rate could plausibly be from that estimate given the sample size. A small sample gives a wide interval; a large sample narrows it. The interval is about sampling uncertainty in your test, not a guarantee about any particular code.
Taking a sample you can trust
Test codes pulled from across the run, not just the top of the pile: early, middle, and late sheets, and from each printer or plate if several are involved. Scan each sampled code the way the audience will — at the real distance, in the real light, with an ordinary phone — and count a code as failed if it does not scan on the first reasonable attempt. A tidy sample tested under ideal conditions tells you less than a messy sample tested honestly.
What to do with the result
If the top of the interval is above the failure level your job can absorb, reprint or re-test before shipping. If the interval is too wide to decide, test more codes rather than guessing — doubling the sample narrows the interval noticeably. Keep the failed codes: checking what they have in common, such as one corner of the sheet or one ink, often finds the cause faster than statistics alone.
