Testing Whether a New iOS Beta Build Raised the Crash Rate
Last updated: November 29, 2026
Quick Overview
Build A had 120 crashes in 400,000 app sessions and build B had 165 crashes in 420,000 sessions. Test whether B has a higher crash rate, give a confidence interval for the rate ratio, and explain what could make this test misleading.
Apple
November 29, 20260
0
0 solved
Build A had 120 crashes in 400,000 app sessions and build B had 165 crashes in 420,000 sessions. Test whether B has a higher crash rate, give a confidence interval for the rate ratio, and explain what could make this test misleading.
Apple ships iOS betas to developers and public testers and decides quickly whether a build regressed stability. The interviewer checks that you model counts as Poisson, pick an appropriate two-sample test, quantify the effect, and question the independence assumptions behind it.
What the Interviewer Expects
- Models crash counts as Poisson with exposure in sessions
- Uses the conditional binomial test (or a z-test on rates) correctly
- Computes the rate ratio with a log-scale confidence interval
- Discusses overdispersion from a few devices crashing many times
- Raises comparability issues: different devices, users and usage between builds
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
- How would you test this if 30% of B's crashes came from 50 devices?
- How many sessions would you need to detect a 10% increase with 80% power?
- Is a one-sided test justified here?
- How would you compare builds when the beta population changes every week?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Rates: A = 0.300 per 1,000 sessions, B = 0.393 per 1,000. Ask whether sessions are comparable (same device mix, same apps), and whether a crash count could include several crashes from one session or ...
Approach
If counts are Poisson with rates and exposures , then conditional on the total , with $\pi = \frac{n_B\lambda_B}{n_A...