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
Statistics & Math
Data Scientist
Microsoft
November 29, 2026
Data Scientist
Onsite
Statistics & Math
Hard

0

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
capture-recapture
estimation
confidence intervals
independence assumptions
software quality
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. 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 Questions
Sample 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 NN bugs, the fraction of them already found by A should match A's coverage: m/n2≈n1/Nm / n_2 \approx n_1 / N. Solve for NN. Then compute a corrected estimate ...


Submit Your Answer
Markdown supported