Short answer
Inspectors pull a statistically determined random sample size from total production cartons based on ISO 2859-1 tables. If the number of defective pieces found exceeds the defined AQL 2.5 threshold (e.g., max allowable defectives), the entire lot is rejected.
Tell us what you're looking for and we'll point you to the right market or supplier.