An example of WeightedRandomSampler: what to expect?

15 samples might be too small to create “perfectly” balanced batches, as the sampling is still a random process.
Are you seeing any issues with the linked post from your comment?