Estimate Remaining Bugs From Two Independent Windows Test Teams
Last updated: November 29, 2026
Quick Overview
Two test teams independently bash the same Windows feature build. Team A files 60 distinct bugs, Team B files 40, and 20 bugs were found by both. Estimate the total number of bugs in the build, how many remain unfound, and give an uncertainty range.
Microsoft
November 29, 20260
0
0 solved
Two test teams independently bash the same Windows feature build. Team A files 60 distinct bugs, Team B files 40, and 20 bugs were found by both. Estimate the total number of bugs in the build, how many remain unfound, and give an uncertainty range.
A capture-recapture estimation question, in the style Microsoft data scientists use for ship-readiness decisions. The interviewer checks that the candidate derives the estimator from an independence argument, knows the small-sample corrected version, gives a variance, and is clear about when the assumptions break.
What the Interviewer Expects
- Recognize the capture-recapture (Lincoln-Petersen) setup
- Derive N from the overlap fraction under independence
- Use Chapman's correction for small counts
- Provide a variance and approximate confidence interval
- Discuss heterogeneous detectability and its bias direction
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- Some bugs are much easier to find than others. Which way does that bias the estimate?
- How would three teams or a log of who found what improve the estimate?
- The overlap is 0. What do you report?
- How would you turn this into a ship or no-ship rule?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
I would confirm that teams worked independently, that duplicates were reliably matched, and that every bug is assumed equally likely to be found by a given team. I would also ask whether severity matt...
Approach
If Team B's 40 bugs are a random sample of all bugs, the fraction of them already found by A should match A's coverage: . Solve for . Then compute a corrected estimate ...