Handling a Sample Ratio Mismatch in a TikTok Notes Test

Last updated: November 29, 2026

Quick Overview

A 50/50 experiment on TikTok Notes (photo posts) ends with 5,120,000 users in control and 5,040,000 in treatment. Decide whether the results can be trusted.

TikTok
Analytics & Experimentation
Data Scientist
TikTok
November 29, 2026
Data Scientist
Phone Screen
Analytics & Experimentation
Easy

0

0

0 solved


A 50/50 experiment on TikTok Notes (photo posts) ends with 5,120,000 users in control and 5,040,000 in treatment. Decide whether the results can be trusted.

Sample ratio mismatch checks are a basic hygiene step in TikTok's experimentation platform. The interviewer checks that you can run the test quickly and know the common causes, especially ones linked to app crashes or exposure logging.

What the Interviewer Expects
  • Run a chi-square goodness of fit test on the counts
  • Conclude correctly given the p-value
  • List common causes of SRM
  • Explain why SRM invalidates the metric comparison
  • Describe how to debug by segment
Key Topics to Cover
sample ratio mismatch
chi-square test
experiment validity
exposure 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 appears only on Android?
  • Can you correct for SRM by reweighting?
  • Why does triggering on exposure often cause SRM?
  • At what point in the test should SRM be checked?
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 intended split (50/50), whether counts are users assigned or users exposed (triggered), and whether any filtering (bots, logged-out users) happened after assignment....

Approach

Under correct assignment, each user falls in treatment with probability 0.5. Use a chi-square test with expected counts equal to half the total....


Submit Your Answer
Markdown supported