← Questions
Design an online experiment
0
I was asked this
No reports yet. Sign in to say where you were asked it.
An AI/ML design interview question asked in Waymo's data fluency round, last asked Feb 2026. It tests a/b testing, experimentation and metrics.
Design an online experiment (an A/B test) to decide whether a change to a production ML system, such as a new ranking model, should launch. Take it from the question you want answered through to the launch decision.
Requirements
- Functional: a clear hypothesis; a primary metric and guardrail metrics; a randomization unit and assignment mechanism; sample size and duration; an analysis plan; a launch rule decided before the test starts.
- Non-functional: valid causal conclusions despite interference, seasonality and novelty effects; limited risk to users while the test runs; results others can reproduce.
Clarifying questions
- What is the change, and what user or business outcome should it move?
- What is the unit: user, session, request, or a region or market?
- Can treated and control units affect each other (shared marketplace, social features)?
- How much traffic, and what is the smallest effect worth detecting?
- Which metrics must not get worse?
What a strong answer covers
- A hypothesis and a primary metric tied to it, plus guardrails (latency, errors, revenue, safety) and diagnostic metrics.
- The randomization unit chosen to avoid contamination; deterministic hashing for assignment; an A/A test or sample-ratio check to catch assignment bugs.
- A power calculation from the baseline variance and minimum detectable effect; duration covering full weekly cycles.
- Analysis: the right test for the metric, confidence intervals, variance reduction (CUPED), and the multiple-comparison problem when many metrics are read; no peeking without a sequential method.
- Interference and its fixes (cluster or switchback designs), novelty and learning effects, seasonality.
- A pre-registered decision rule, staged ramp-up, and a holdback to measure the long-term effect.
Follow-ups
- The primary metric improves but a guardrail gets slightly worse.
- Treatment and control share a supply pool (drivers, vehicles), so they interfere.
- The effect is large in week one and fades by week three.
- You can't randomize at all. What do you do instead?
Where it's asked
- Waymo · Data fluency · Last asked Feb 202645 min · No coding: reason about metrics and experiment design for a driving or simulation scenario
What it tests
a/b testing · experimentation · metrics
No official answer yet. Draw yours on the right; publish it and it shows under Community.
Nothing published yet. Publish your canvas and it shows here for others to open and remix.
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing
