For example, we find 13 defects out of 1000 random samples tested. Now the issue is fixed. What is the minimum number of samples we need to test to confirm that the defect rate is reduced to 0.1% with 90% confidence? (We have no prior knowledge of this defect. We believe this issue happens randomly. We don't have a clear root cause and whether the issue is truly fixed. That's why we are relying on statistical observations to see whether the issue is fixed).
(I was pointed to the rule of 3 as a possible answer to this question. But, the rule of 3 seem to apply for when there are no defects and does not seem to use the information that we have a previous known failure rate.)