Online Experiment Design SOP
Ensure controlled experiments are statistically powered, structurally valid (no SRM or peeking bias), and tied to pre-committed ship/iterate/kill decisions.
Preconditions
- A product change or hypothesis to evaluate via controlled rollout/A/B test (or existing experiment results to audit).
- Baseline metric estimates, traffic volume, or randomization unit details (flag missing values explicitly).
Workflow
-
Lock falsifiable hypothesis and randomization unit
- State: "If we [change], then [segment] will [behavior change], improving [OEC] because [mechanism]."
- Define the randomization unit (user, account/org, session, page) and verify no cross-unit spillover/interference.
-
Define Overall Evaluation Criterion (OEC) and Guardrails
- Select one primary OEC (or explicit composite) aligned with long-term value, not clickbait.
- Pair with mandatory guardrail metrics (latency, error rate, crashes, churn, revenue/unit economics) and data-quality metrics.
-
Run pre-launch power, MDE, and duration checks
- Sanity-check baseline rate, Minimum Detectable Effect (MDE), power (typically 80%), alpha (typically 0.05), and daily eligible traffic.
- Require a minimum full-cycle duration (typically ≥7–14 days to span weekday/weekend cycles) even if significance appears earlier; flag underpowered tests upfront instead of running futile A/B tests.
-
Enforce validity gates before reading outcomes
- Mandate a Sample Ratio Mismatch (SRM) check on observed vs. expected traffic split; if SRM fails (e.g., p < 0.001 or obvious 52/48 drift on a 50/50 split), halt interpretation and debug telemetry/routing before trusting any metric lift.
- Guard against peeking/optional stopping, multiple-testing inflation, novelty/primacy effects, and Twyman's Law ("too good to be true" lifts).
-
Pre-commit Ship / Iterate / Kill rules
- Specify exact quantitative thresholds before launch for shipping, iterating, or rolling back—including what happens on flat results.
Load On Demand
Read A/B Testing Pitfalls & Validity Checklist when computing sample/duration feasibility, diagnosing SRM, or auditing suspicious experiment lifts.
Verification Gate (Definition of Done)
- Falsifiable hypothesis, randomization unit, and spillover check are explicit.
- Primary OEC is paired with hard guardrail metrics.
- Sample size, MDE, and full-week cycle duration are verified feasible (or underpowered gap is explicitly flagged).
- SRM check, anti-peeking rule, and novelty/multiple-testing controls are specified.
- Pre-committed Ship / Iterate / Kill decision table is locked before launch.
Failure Modes to Avoid
- Stopping an experiment early as soon as
p < 0.05("peeking"), inflating false positives dramatically. - Interpreting treatment lifts when Sample Ratio Mismatch (SRM) indicates broken assignment or bot/redirect bias.
- Running a 50/50 A/B test on low traffic (e.g., few hundred users/day) expecting to detect a tiny 2% relative lift in days.
- Celebrating short-term click gains while degrading latency, errors, or long-term retention.