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.

Google
Analytics & Experimentation
Data Scientist
Google
November 29, 2026
Data Scientist
Technical Screen
Analytics & Experimentation
Medium

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
Sample ratio mismatch
Chi-square test
Experiment validity
Client-side logging
Data quality
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. 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 Questions
Sample 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....


Submit Your Answer
Markdown supported