Accepted answer
Sampling plans exist precisely because testing everything is expensive, and they define the statistical relationship between sample size and lot-wide inference.
Stratified sampling — testing one vial from the top, one from the middle, and one from the bottom of a shipment — is cheap insurance against segregation.
More usefully, 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.
Sampling plans for pharmaceutical manufacturing are defined in ISO 2859 and ANSI Z1.4, and they are based on statistical sampling theory.
I would treat a "complies with" statement without sampling details as a claim rather than as evidence.
The practical summary: a lot number without a sampling statement is a lot number without meaning.
edited 31 Jan 2025 by Dr_Priya_Raghunathan — removed a claim I could not source