Sample Ratio Mismatch (SRM) Detection & Root-Cause Diagnostics serves as the primary health-check guardrail in online experimentation platforms; SRM occurs when the observed sample counts between control and treatment (
OT,OC) deviate with extreme statistical significance from design traffic ratios (expected
ET,EC, e.g. 50/50); Detection uses Pearson's Chi-Square Goodness-of-Fit test:
χ2=∑Ei(Oi−Ei)2 (
df=1); if
χ2>3.84 (
p<0.001),
the entire experiment is fundamentally invalid and must be terminated immediately; SRM signals critical underlying engineering defects (e.g. redirect tracking loss, client-side crash drops, bot traffic skew, or performance latency timeouts dropping slow connections).