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
Statistics & Math
Data Scientist
Apple
November 29, 2026
Data Scientist
Technical Screen
Statistics & Math
Medium

0

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
Poisson rate comparison
hypothesis testing
rate ratio confidence interval
overdispersion
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
  • 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 Questions
Sample 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 λA,λB\lambda_A, \lambda_B and exposures nA,nBn_A, n_B, then conditional on the total T=xA+xBT = x_A + x_B, xB∼Binomial(T,π)x_B \sim \text{Binomial}(T, \pi) with $\pi = \frac{n_B\lambda_B}{n_A...


Submit Your Answer
Markdown supported