Acceptance sampling finds the smallest single sampling plan (n, c) satisfying both the producer's and the consumer's risk points, and draws its operating-characteristic curve.
A single sampling plan inspects n items from a lot and accepts if at most c are defective. The OC curve shows P(accept) as a function of the true lot defect rate: the plan is chosen so lots at AQL are accepted with probability ≥ 1 − α and lots at LTPD with probability ≤ β.
Runs on the four risk parameters alone — no data columns needed (binomial model, effectively infinite lots).
AQL, producer's risk α, LTPD, consumer's risk β.
n, acceptance number c, rejection number r, attained P(accept) at both risk points, OC curve.
The attained risks always meet or beat the targets (integer n, c overshoot slightly). Tighter risk points inflate n quickly — the OC curve shows what you actually bought.