Accepted answer
Worth being precise here: batch testing establishes what can be claimed about the lot as a whole, and the sample size determines how much you can actually claim.
Acceptance Sampling by Attributes defines the number of samples you need from a lot to claim a specified quality level at a specified risk — it is in ANSI standard Z1.4.
For a quantitative result like content, the acceptable range determines how many vials you need to test to establish the lot complies.
Lyophilised peptide homogeneity studies show that vial-to-vial variation is usually small but occasionally large, depending on the distribution in the freeze-dryer.
The practical summary: a lot number without a sampling statement is a lot number without meaning.