Detecting a Shift in Reels Load Time Distribution Across App Versions
Last updated: November 29, 2026
Quick Overview
A new Instagram build might change Reels first-frame load time only for a slice of users, leaving the mean nearly flat. Use a two-sample Kolmogorov-Smirnov test to compare the full distributions and explain what it can and cannot tell you.
Meta
November 29, 20260
0
0 solved
A new Instagram build might change Reels first-frame load time only for a slice of users, leaving the mean nearly flat. Use a two-sample Kolmogorov-Smirnov test to compare the full distributions and explain what it can and cannot tell you.
Meta performance teams care about the shape of latency distributions, not only the mean. This screen question checks whether you know a distribution-level test, can compute the KS statistic, and understand its power profile.
What the Interviewer Expects
- Define the KS statistic as the max gap between empirical CDFs
- Describe the null distribution and large-sample p-value
- Explain why KS can catch a tail-only shift the t-test misses
- Note that KS is least sensitive in the tails
- Suggest quantile comparisons as a complement
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
- Why is KS less sensitive to differences in the extreme tail, and what would you use instead?
- Can you use KS when latencies are discretized to whole milliseconds?
- How would you handle many samples from the same user?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
- Samples (old build) and (new build), one load time per user to keep independence.
- : both come from the same continuous distribution....
Approach
Empirical CDFs , likewise. The statistic is Under , converges to the Kolmogorov distribution, so...