Detect and Debug Sample Ratio Mismatch in a Chrome Experiment
Last updated: November 29, 2026
Quick Overview
A Chrome experiment configured for a 50/50 split shows 5,021,400 clients in treatment and 4,978,600 in control. Decide whether this is a problem, and if so how you would find the cause.
0
0
0 solved
A Chrome experiment configured for a 50/50 split shows 5,021,400 clients in treatment and 4,978,600 in control. Decide whether this is a problem, and if so how you would find the cause.
Chrome runs many client-side experiments where assignment and logging happen on the device, so sample ratio mismatch is a frequent and serious issue. Interviewers check a correct chi-square test and a disciplined debugging list.
What the Interviewer Expects
- Run a chi-square goodness-of-fit test with the numbers
- Explain why SRM invalidates the effect estimate
- List causes: assignment bugs, crashes, logging, filtering, bots
- Slice by dimensions to localize the mismatch
- State the decision: do not trust results until fixed
Key Topics to Cover
How to Approach This
- Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
- Run experiments long enough to account for novelty effects and weekly seasonality.
- Use funnel analysis to identify where users drop off for maximum optimization impact.
- Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
- Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
- What if SRM only appears on one Chrome version?
- Can you salvage an experiment with SRM?
- How would you build automatic SRM alerts across thousands of experiments?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Analytics QuestionsSample Answer
Clarify
Confirm the configured split (50/50), the counting unit (clients that reported at least once), and when counting starts (assignment vs first log)....
Approach
Test whether the observed split is consistent with 50/50; if not, treat all metrics as suspect and localize the cause....