Specifically, if a lot has visibly segregated — some vials showing different appearance — then sampling the top and bottom of the shipment is worth doing.
If the entire lot failed qualification, a retest on a different vial is sometimes done, but reporting a retest result under the same lot number is misleading.
In practice, the sample size determination requires choosing a confidence level and an acceptable error rate, and the smaller the error rate you want, the larger your sample must be.
Sampling plans for pharmaceutical manufacturing are defined in ISO 2859 and ANSI Z1.4, and they are based on statistical sampling theory.
The practical summary: a lot number without a sampling statement is a lot number without meaning.
edited 13 May 2026 by anders_vestby — added a caveat about sampling