Experiment Prioritization & Roadmap Questions
Running experimentation as a program: building and ranking a test backlog, scoring and prioritizing ideas by expected impact, learning value, confidence and effort, sequencing a roadmap against limited traffic and engineering capacity, and sustaining experimentation velocity and iteration cadence. Covers program governance (a shared test registry, stop and ship rules, program health measures, reproducible results), allocating traffic across queued tests, pooling many small results, scaling and rolling out winning variants (staged ramps, regional transfer, rollout monitoring), and the learning loop that feeds the next round of tests. The scope is the operating rhythm of a testing program. Single-test design and statistical method, bandit and sequential designs, experiment platform engineering, non-randomized causal methods, and interpreting one finished result are covered elsewhere.
An A/B test came back statistically significant but the absolute lift is small, and engineering is ready to ship. How would you ramp it over about a month: how fast to increase exposure, what you would watch, when you would roll back, and how you would keep stakeholders informed?
Sample Answer
The idea in plain words
A result that is statistically significant but small is a reason to ship carefully, not a reason to hesitate or to rush. Significant means the data would be unlikely if the change did nothing; it does not mean the lift is large, and a small significant lift that was picked out by a test is more likely to be overstated than understated (the selected-winner effect: results get selected for attention precisely when luck pushed them up). A ramp (raising the share of users who get the change in steps) does two jobs: it limits harm if something breaks, and it measures things the test could not. The key fact for setting the pace is that early steps are too small to confirm a small lift. They can only catch big breakage, so the early steps are guardrail checks (watching measures that must not get worse, such as errors, speed and conversion) and the lift is confirmed late, against a holdback (a small group kept on the old experience).
Worked example: what each step can see
Assumptions for illustration: baseline conversion 4.0%, the test found +0.15 percentage points absolute (3.75% relative), 95% interval 0.03 to 0.27 points, and 1,000,000 eligible users per week (142,857 a day). The business impact is 1,000,000×0.0015=1,500 extra conversions a week, with the interval giving 1,000,000×0.0003=300 to 1,000,000×0.0027=2,700. I would plan with the lower half of that range, 300 to 1,500 conversions a week, because the selected-winner effect usually pushes the true value down; as a single planning figure I would use about 900 a week, the middle of that lower half.
For each step I compute the smallest detectable difference: the smallest real change in conversion that the users collected at that step would reveal reliably, meaning in 80 of 100 repeats (that is 80% power); anything smaller is lost in chance wobble. It equals 2.8×SE. The standard error (SE) of a difference is the typical size of the random wobble in (treatment conversion minus control conversion); it shrinks as the groups grow. For control and treatment groups of sizes nc and nt it is p(1−p)(1/nc+1/nt), which for two equal groups of size n simplifies to 2p(1−p)/n, with p(1−p)=0.04×0.96=0.0384. The multiplier is 2.8=1.96+0.84: a real difference must sit about 1.96 SEs from zero to be called significant, plus 0.84 SEs of margin so that luck does not push it back under that line more than 20 times in 100. Steps 1 to 3 compare equal-size groups; step 4 uses the unequal sizes shown.
| Step | Exposure and days | Users in treatment | SE | Smallest detectable difference |
|---|---|---|---|---|
| 1 | 5% for 2 days | 0.05×142,857×2=14,286 | 0.0023 | 0.65 points |
| 2 | 20% for 4 days | 0.20×142,857×4=114,286 | 0.00082 | 0.23 points |
| 3 | 50% for 7 days | 0.50×142,857×7=500,000 | 0.00039 | 0.11 points |
| 4 | 95% with a 5% holdback, 17 days | holdback 121,429 vs treatment 2,307,143 | 0.00058 | 0.16 points |
Row 4 by hand: SE=0.0384×(1/121,429+1/2,307,143)=0.0384×0.000008668=0.000000333=0.00058, and 2.8×0.00058=0.0016, i.e. 0.16 points.
The days add up to 2+4+7+17=30. Steps 1 and 2 can only see conversion falling by 0.65 and 0.23 points, which is 16% and 6% relative, so they are for crashes, error rates and latency. Step 3 can see a difference near the size of the test's lift. In step 4 the 95% interval half-width is 1.96×0.00058=0.11 points: even after 17 days the holdback yields an interval, not a verdict, and a longer or larger holdback narrows it. That is the honest limit of what a month of ramping can say about a 0.15-point lift.
The ramp I would run
- Steps and pace. 5%, 20%, 50%, then 95% with a 5% holdback, as above. Each step must run at least one full day cycle, and the 50% step a full week so weekday behaviour is covered. Promote a step only when the minimum duration is met, no guardrail is breached, and the exposure split matches the plan (a sample ratio mismatch check: a chi-square test, which asks whether observed user counts differ from the planned split by more than luck would explain; for example 50,900 against 49,100 users on a planned 50/50 split gives chi-square 32.4, far too large for chance, and a mismatch means the data cannot be trusted).
- What to watch. Hard guardrails on health: error rate, crash rate, latency at the 95th percentile (the value 95% of requests beat), compared between treatment and control hourly. Soft guardrails on business: conversion, revenue per user and refunds or support contacts, compared daily with the step's detectable difference in mind. Also watch novelty: a lift that shrinks day by day suggests a one-time curiosity effect.
- Rollback rules, fixed before step 1. Illustrative thresholds: roll back at once (set exposure to 0 with the feature flag, a switch in the code that turns the change on or off for a chosen share of users without a new release) if the error rate is more than 20% above control for two consecutive hourly checks, or if latency at the 95th percentile is more than 10% above control for two consecutive checks. Why such numbers: a threshold must sit above ordinary hour-to-hour noise, or healthy ramps trip it, and below the damage users would notice. Take the noise level from the metric's own history, for example how far the hourly error rate normally wanders between two groups given the identical experience (an A/A comparison), and set the line a clear margin above that. Two consecutive checks guard against a single noisy hour. The 20% and 10% here are placeholders to replace with your own measured noise. Pause at the current step and investigate if a soft guardrail falls below control by more than that step's detectable difference. These rules cover a conversion change on a web product with live health metrics. A real process must also handle revenue that arrives late, differences by app version or region, dependent services that need capacity, and a clear owner on call for the flag.
- Stakeholder updates. Share the ramp calendar and rollback rules before step 1, so nobody is surprised. During the first week send one status line per day (step, exposure, each guardrail green, amber or red). After that, a weekly note. At day 30, a closing note with the holdback estimate and the impact range. The PM owns the messages, the data scientist owns the validity of the numbers, and the engineer on call owns the flag.
What I would tell stakeholders
"This is a small win, probably smaller than the test suggested. We expect roughly 300 to 2,700 extra conversions a week, and we will plan on the low half. The first week of the ramp checks that nothing breaks; the lift itself is confirmed against a holdback by day 30, and it may come back as a wide interval." If the change is cheap to maintain and reversible, I ship. If it adds code or support cost comparable to its value at the low end, I would say so before the ramp.
Common mistakes
- Reading early ramp steps as confirming or refuting the lift, when they could not see it.
- Treating "statistically significant" as "large enough to matter" and skipping the business-impact range.
- Removing the holdback as soon as the rollout hits 100%, which removes the only long-run measurement.
- Setting rollback thresholds after seeing data, so the number is chosen to fit what happened.
- Ramping in steps shorter than a day cycle, which mixes time of day with the treatment.
A mid-size company runs experiments with no central coordination, so teams collide on traffic and nobody can find past results. Design the registry and governance model you would put in place: what is recorded for each test, who approves what, how conflicts are caught and how you would enforce it without slowing teams down.
Sample Answer
The idea in plain words
Two problems are described: tests collide (two experiments change the same users' experience, so neither result can be read cleanly) and knowledge is lost (nobody can find what was tried). Both have one root cause: no single place where experiments are declared. The fix is a registry (a searchable record of every experiment, filled in before launch) plus governance (who may approve what, and what rules apply) that is enforced by the tooling that actually switches experiments on, so that following the rules is the easy path. Rules that depend on people remembering to follow them are what a mid-size company ends up ignoring.
What is recorded for each test
Recorded before launch, locked at launch, completed at conclusion:
| Field | Why |
|---|---|
| Owner, team, dates | Accountability and contact |
| Hypothesis and rationale | The claim being tested and where it came from |
| Surface, audience and exposure percentage | Needed for collision detection |
| Randomization unit (user, account or session) | Determines who can overlap |
| Primary metric, guardrail metrics, secondary metrics | Fixed in advance so they cannot be chosen after seeing results |
| Minimum detectable effect and planned sample or duration | Shows the test is able to answer its question |
| Decision rule | What result means ship, hold or stop |
| Approval tier and approver | Audit trail |
| Result, interval, decision and link to analysis | The institutional memory |
| Rollout state and any long-term holdout | So winners are traceable after launch |
Terms in the table, in plain words:
- Randomization unit: the thing that is randomly assigned to control (the old experience) or treatment (the new one), usually a user, sometimes an account or a session. It decides who can overlap: a test that randomizes accounts and a test that randomizes individual users inside those accounts cannot be cleanly combined.
- Primary, guardrail and secondary metrics: the primary metric is the one number the decision rests on. A guardrail metric is a number that must not get worse (checkout completion, error rate) even if the primary improves. Secondary metrics are extra context.
- Minimum detectable effect (MDE): the smallest true change the test is sized to detect reliably. A test that cannot detect the change the team hopes for wastes traffic, so the registry records it.
A filled-in entry (all values are assumptions, shown so the table is concrete):
| Field | Entry |
|---|---|
| ID, owner, team | EXP-0142, Dana (pricing team) |
| Hypothesis and rationale | Showing the annual plan as a monthly-equivalent price raises the share of visitors who pick the annual plan, because the large up-front figure puts people off |
| Surface, audience, exposure | Pricing page; new visitors; 20% of the pricing-page layer's traffic enters the test, split 50/50 between control and treatment |
| Randomization unit | Visitor ID |
| Primary metric | Annual-plan selection rate (baseline 8%) |
| Guardrail metrics | Checkout completion; refund requests within 30 days |
| MDE and plan | 0.5 percentage points absolute (6.25% relative) at 80% power and a two-sided 5% level, which the standard two-proportion sample-size formula turns into about 47,500 visitors per arm (95,000 in all). At an assumed 31,000 visitors a week entering the test (about 155,000 new pricing-page visitors a week in the layer, 20% of them exposed), that is a little over three weeks |
| Decision rule | Ship if the 95% interval for the primary lift is above zero and no guardrail worsens by more than 0.5 points; otherwise hold |
| Approval | Tier 2 (a display change on a core page; the price itself does not change); data reviewer from central analytics |
| Ramp and stop rules | Two days at a quarter of the planned exposure, then full planned exposure; stop at once on a guardrail breach or a broken split |
Playbook and roles
A short playbook gives the same answers to the same questions every time: how ideas arrive (intake form), how they are ranked (one agreed score such as impact times confidence divided by effort, applied the same way across teams), the pre-registration template (the plan written down before launch: hypothesis, metrics, sample, analysis), the analysis standards (which test, which interval, how segments and multiple metrics are treated), and review roles. Keep roles few: the experiment owner (runs it), a data reviewer from a central analytics group (checks design and readout), and a small review board that meets weekly for the high-risk tier only.
Approval tiers
| Tier | Typical case | Approval |
|---|---|---|
| 1 | Reversible, small exposure, single surface | Owner self-approves in the registry; automatic checks only |
| 2 | Core flow, large exposure, or other teams' surfaces involved | Data reviewer signs off on design within about 2 working days |
| 3 | Pricing, legal or privacy implications, hard to reverse | Review board |
The exposure thresholds that separate tiers are assumptions to tune with your own traffic and risk appetite.
Catching conflicts
Conflicts are caught by a program, not by a meeting. When a registry entry is saved, the system checks three things: the same surface, an overlapping audience, and shared metrics. The traffic layer idea helps: tests in the same layer take mutually exclusive slices of traffic, and tests in different layers can overlap only if their owners attest (and a review confirms) that they do not interact.
Worked example with assumed numbers: layer "checkout page" holds 100% of traffic. Test A takes 50%, test B takes 30%: 50 + 30 = 80, which is at most 100, so they can run with exclusive slices. Test C asks for 40%: 80 + 40 = 120, which is more than 100, so the registry refuses it, or asks C to wait for A or B to finish, or to take the remaining 20% with a longer duration. The same logic flags dependent features: if test D changes a component that test A's variant also uses, the registry lists D as dependent on A, and D cannot be read until A is stable or D is run in a way that crosses the two arms deliberately.
A concrete case: test A changes the label on the checkout button to "Buy now" for its variant, and test D changes the colour of that same button. Two changes interact when the effect of one depends on whether the user also got the other (a bright colour may help the label "Buy now" but not the label "Continue"). If D is simply run on top of A, D's result is an average over whoever happened to be in A's variant, so it cannot be read cleanly. "Crossing the arms deliberately" means assigning D independently inside each of A's arms, so all four combinations (A control with D control, A control with D new, A variant with D control, A variant with D new) get a planned share of users. Then D's effect can be read separately inside each A arm, and the difference between those two readings is the interaction. It costs traffic (four groups instead of two), which is why the registry would rather make D wait.
Pre-registration, analysis review and preventing p-hacking
P-hacking means trying many analyses until one looks significant. Prevent it structurally:
- The primary metric, sample plan and analysis are locked at launch; later changes are recorded with a reason and are visible in the registry.
- Report all pre-registered metrics, not only the good ones. Secondary metrics and segment cuts are labelled exploratory and treated with care for multiple comparisons (every extra metric or segment tested is another chance for luck to produce a false signal): with one primary metric and four secondary metrics each tested at a 5% error rate, the chance of at least one false signal if nothing is real is 1 - 0.95^5 = 1 - 0.7738 = 0.2262, about 23% (assuming independence). A conservative correction such as the Bonferroni correction divides the threshold by the number of tests (0.05 / 5 = 0.01), so each test must clear a stricter bar.
- A data reviewer from a different team repeats the headline analysis for tier 2 and 3 tests; for tier 1, a random sample each quarter is audited.
- Holdouts: a small group is kept on the old experience after a winner is rolled out, so the claimed gain can be checked later.
Ramp and early-stopping criteria
Each plan states the ramp (the schedule for raising the share of users exposed, for example 5% for a technical check, then the planned split) and the stopping rules: guardrail breach stops the test at once; a broken traffic split stops it for repair; efficacy is judged at the planned end.
A broken split is called a sample ratio mismatch: the groups are not the planned sizes by more than chance would explain. It is detected with a chi-square test, which asks whether observed counts differ from the planned counts by more than luck would produce. For example, with 100,000 users planned 50/50 and 50,900 versus 49,100 observed, chi-square = 2 x 900^2 / 50,000 = 32.4, far beyond chance (p below 0.000001), so assignment is broken and the readout is not trusted.
If the team wants early stopping for efficacy, use a sequential test (a test built so that the running result may be checked repeatedly without inflating false positives, unlike applying an ordinary test every morning) and write it into the plan.
Enforcing without slowing teams down
- Make the registry the on-switch. The experimentation platform cannot start a test without a registry ID, so there is no separate compliance step.
- Automate the checks (collisions, missing fields, sample plan) so tier 1 approval takes minutes.
- Service levels for reviewers: a stated turnaround and a rule that silence after the deadline counts as approval for tier 2. The reason is to keep the review queue from becoming a bottleneck that teams route around. The risk is that approvals turn into rubber stamps, so limit the rule to tier 2, still require every automatic check to pass, record "approved by timeout" in the registry so its share can be tracked, and escalate to the reviewer's manager when timeouts become frequent.
- Make it useful, not just required: search across past tests and a template that pre-fills the plan saves teams time.
- Start light and tighten: migrate current tests first; require the full process for new tests; review exceptions in a monthly meeting.
What a mid-size company needs first
Not every control carries equal weight. In week one: the registry as the on-switch, the collision check and a locked primary metric. In the first quarter: the automatic split-balance check and the guardrail stop. Later, and only when teams ask to peek or to test many metrics: sequential tests and formal multiple-comparison corrections such as Bonferroni. Those are refinements, not a starting point.
Measuring adoption and health
Governance adoption measures: the percentage of live tests that have a complete registry entry (should be near 100% since the platform enforces it); the percentage with a pre-registered plan locked before launch; the median approval time per tier; collisions caught before launch versus found afterward; the percentage of shipped winners with a holdout; and how often past results are searched or cited. Read them together: high compliance with rising approval time means governance is slowing teams.
Common mistakes
A central board that approves everything; a registry that is optional; rules documented but not built into the platform; no way to see why a rule exists; ignoring dependent features until results contradict each other.
People talk about experimentation velocity as a goal. What does it actually mean, what would you measure to know a team has high velocity, and where does pushing for speed start to cost you decision quality? Give a short example.
Sample Answer
The idea in plain words
Experimentation velocity is the rate at which a team turns questions into decisions it trusts and acts on. It is not the number of tests launched. A team that launches 40 tests a quarter and cannot trust 15 of the results has low velocity in the sense that matters, because its decisions are slow to arrive or wrong when they do.
Speed starts to cost quality at the point where you shorten something that gives the result its meaning: the sample size, the run length, the checks or the pre-set decision rule. Speed from cheaper building, reusable templates and automated analysis does not shorten anything that gives the result its meaning, so it does not cost decision quality.
What to measure
Measure throughput, time and trust together, because any one alone can be gamed.
| Measure | Definition | What it tells you |
|---|---|---|
| Decisions per quarter | Tests that ended in a ship, hold or iterate decision | Throughput of usable answers |
| Cycle time | Median days from approved idea to decision | Where the process is slow (build, wait for sample, analysis, sign-off) |
| Acted-on rate | Share of decisions that led to a real change in product or plan | Whether results matter |
| Pre-set rule rate | Share of tests whose primary metric, sample size and decision rule were written before launch | Whether results can be believed |
| Failed validity checks | Share of tests failing a split-balance check (sample ratio mismatch: the arms received a different mix of users than planned) or an instrumentation check (are the events being logged correctly, once per user) | Whether the pipeline is healthy |
| Replication of wins | Share of shipped winners that hold up in a holdout (a group kept on the old experience, to check the win persists) or a re-run | Whether the false-positive rate is under control |
The first three describe speed; the last three describe whether the speed is real.
Worked example: halving the sample to double the tests
Assumptions: 100 ideas are tested per period; 10% of tested ideas truly improve the metric by the lift the test was designed to detect (plausible range 5 to 30%); tests are two-sided at the 5% level and a win is a result significantly above zero, so an idea with no effect is declared a win about 2.5% of the time (the upper half of the 5%; the lower half would be a significant drop, which is not a win); tests have 80% power (an 80% chance of detecting a true effect of the planned size).
Baseline, with full-size tests:
- True effects: 10 ideas. Detected: 10×0.80=8.
- No effect: 90 ideas. False wins: 90×0.025=2.25.
- Declared wins: 8+2.25=10.25, of which 2.25/10.25=22% are false.
Now cut each test's sample in half to run twice as many tests in the same time. Two terms are needed to see what that does. The standard error is the typical size of the random wobble in the measured lift, and it shrinks with the square root of the sample size. The test statistic is the measured lift divided by its standard error, so it is the lift in "standard-error units"; the test declares a win when this number is above 1.96. For a full-size test built for 80% power, the true effect sits 1.96+0.84=2.80 standard errors from zero: 1.96 is the distance to the win line, and 0.84 is the extra distance that puts 80% of the bell curve above that line.
Halving the sample multiplies the standard error by 2≈1.414, so the same true effect now sits 2.80/1.414=1.98 standard errors out. The test statistic is then a bell curve centred on 1.98, and power is the chance it lands above 1.96. Write Φ(z) for the chance that a standard bell-curve value (centre 0, spread 1) falls below z; a normal table or scipy.stats.norm.cdf gives it. By symmetry the chance of landing above 1.96 when centred on 1.98 is Φ(1.98−1.96)=Φ(0.02)≈0.51. (The other tail, a statistic below -1.96, would be a significant drop rather than a win, and for a true improvement its chance, about 0.004%, is ignored.) The chance that an idea with no effect is declared a win stays 2.5%.
- Tests: 200 ideas, 20 with a true effect: 20×0.51=10.2 detected.
- 180 with no effect: 180×0.025=4.5 false wins.
- Declared wins: 10.2+4.5=14.7, of which 4.5/14.7=31% are false.
Real wins rise from 8 to 10.2, which is more output, but false wins double from 2.25 to 4.5, and the share of declared wins that are false rises from 22% to 31%. Each false ship costs engineering time, adds complexity and can hide a harm. The trade is worth making only if the cost of a false ship is low relative to a real win, and a team that sees its shipped wins failing to replicate is already past that point. The same arithmetic shows the better route to speed: keep sample sizes, cut the build and analysis time per test.
Where speed starts to cost decision quality
- Stopping a test the first day it looks significant, instead of at the planned sample (this inflates false wins beyond the 2.5% above).
- Shortening below one full weekly cycle, so weekday and weekend users are not both seen.
- Adding metrics to find something to ship (each extra comparison is another chance for a false win).
- Skipping split-balance and instrumentation checks.
- Dropping guardrail metrics (metrics that must not get worse, such as errors or refunds).
Common mistakes
- Using tests launched per month as the velocity number.
- Treating a quicker decision as better when the checks were skipped.
- Penalising teams for null results, which pushes them to hunt for a win and to loosen the rules to find one.
Your team wants to go from about one test a month to three or four small tests a week. What is the lightest process that keeps the tests trustworthy: how a hypothesis gets written, who decides what goes live, how rollout and stop decisions work, and how results get recorded so the next test starts faster?
Sample Answer
The idea in plain words
Going from about 1 test a month to 3 or 4 a week means about 12 to 16 tests a month (taking a month as 4 weeks), so 12 to 16 times as many. You cannot do that by running the old heavy process that many times. The lightest process that stays trustworthy keeps a few non-negotiable checks, makes them cheap and automatic, and removes everything else. The non-negotiables are: a written hypothesis and decision rule before launch, a limited blast radius (how many users, and how much harm, a bad variant can reach), a stop rule that does not depend on anyone's mood, and a record that the next person can search.
The process, in the order a test moves through it
1. Hypothesis: one short template, filled in before launch. A hypothesis is a claim a test can prove wrong. Use five fields in a shared form:
- Change: "Shorten the signup form from 6 fields to 4."
- Expected effect and the one primary metric (the single measure that decides the test): "Signup completion rises."
- Decision rule, agreed in advance. The 95% interval is the range of true effects the data cannot rule out; if its lower end is above zero, the data show a real gain. Example rule: "Ship if the measured completion lift is at least 1 percentage point and the 95% interval for the lift lies entirely above zero, and the 95% interval for the guardrail change (refund rate) stays below a rise of 0.3 points." Checked on numbers: a lift of +1.4 points with interval +0.5 to +2.3, and a refund-rate change of +0.05 points with interval -0.1 to +0.2, passes both parts; a lift of +1.2 with interval -0.1 to +2.5 fails, because the data cannot rule out no gain; a refund-rate change of +0.1 points with interval -0.1 to +0.3 also fails, because its upper end reaches the 0.3 limit instead of staying below it.
- Guardrail metrics (measures that must not get worse, such as error rate or refund rate).
- Planned sample or duration, and the audience.
Writing the decision rule first is what stops a quick test from turning into arguing about whatever the numbers happen to show.
2. Who decides what goes live: by risk tier, not by committee.
| Tier | Example | Who approves | Turnaround |
|---|---|---|---|
| Low: reversible, small audience, no money or legal impact | copy, layout, ordering | the product owner of that surface | same day, self-serve |
| Medium: touches a core flow or more than 20% of traffic | checkout steps, onboarding | owner plus one data reviewer (checks the metric, the sample and overlap) | within 2 working days |
| High: pricing, legal or privacy, anything hard to reverse | price changes, data collection | a named senior reviewer | planned, a few days |
The percentages and turnarounds are assumptions to tune. Most tests land in the first tier, which is what keeps speed up.
3. Rollout and stop decisions. A ramp is a gradual increase of the share of users who see the variant. Ramp slowly: start at a small share such as 5% for a short check that the variant works technically and the guardrails are fine, then move to the planned split. Three stop rules written into the test plan:
- Safety stop: any guardrail crossing its pre-set threshold ends the test immediately; this is automatic and needs no meeting.
- Validity stop: the split between groups is not the planned one (a sample ratio mismatch: the observed counts differ from the planned split by more than chance explains) means the data cannot be trusted, so stop and fix. The check is a chi-square goodness-of-fit test, which measures how far observed counts are from expected counts and turns that distance into a probability. Worked example: a 50/50 test has 16,400 visitors, so 8,200 are expected in each group. Observed 8,230 and 8,170 gives a chi-square statistic of (302+302)/8,200=0.22 and a p-value of about 0.64, which is a normal split. Observed 8,500 and 7,900 gives (3002+3002)/8,200=21.95 and a p-value of about 0.000003, a failing split (an alarm level such as 0.001 is a common choice because the check runs on every test).
- Decision date: the test runs to its planned end. Do not stop early because it looks good; checking repeatedly and stopping at the first good-looking reading inflates false wins.
4. Recording results so the next test starts faster. One row per test in a shared log (a spreadsheet works at this scale): hypothesis, dates, audience, primary result with its interval, guardrails, decision, and a one-line "what we learned". Add a tag for the part of the product (the surface the test touches), so a new idea can be searched against old ones. Review the log briefly in a weekly 20-minute meeting where the decisions are read out, not debated.
The traffic limit decides how fast you can really go
Many teams find the real bottleneck is not process but traffic. Worked example with assumptions: a page gets 40,000 eligible visitors a week. The sample per group comes from the usual sample-size formula for two proportions (users per group n≈7.85×[p1(1−p1)+p2(1−p2)]/(p2−p1)2, for a two-sided 5% level and 80% power). With an assumed baseline signup completion of 5% and a target of 6% (the 1-point lift in the decision rule), the bracket is 0.05×0.95+0.06×0.94=0.1039 and n≈7.85×0.1039/0.0001=8,156, which this example rounds up to 8,200 visitors per group. With 2 groups that is 16,400 visitors per test.
- If only one test can run on that page at a time and each uses fresh visitors, capacity is 40,000 / 16,400 = 2.4 tests a week.
- The target of 3 to 4 tests a week would need 3 x 16,400 = 49,200 to 4 x 16,400 = 65,600 visitors a week, against the 40,000 available.
- Reaching it therefore needs more than one independent surface (a surface is a distinct page or flow with its own traffic; two surfaces at 2 tests each need 2 x 16,400 = 32,800 visitors per surface, within 40,000 each), tests that run on non-interacting parts of the product so the same visitor can be in both (an interaction is when one test's change alters how another test's change performs, which muddies both), or larger changes that need less data to read.
The assumption that two tests do not interact has to be checked, not hoped for: the registry (the shared log of every test) should record which surface each test touches so that overlaps are visible before launch.
Recommendation and what would change it
Start with the template, the three tiers, the three stop rules and the log. Add tooling only when a step becomes the bottleneck: for example, an automatic sample-ratio check once you run more than a handful of tests at once. If tests are mostly in the low tier, raise the cadence; if several high-tier tests arrive together, they will need their own slot.
Failure modes: the log goes unmaintained (make filling it a condition for launching); the data reviewer becomes the queue (train owners and review a sample, not everything); small tests with no power produce only "flat" results (power is the chance a test detects an effect that is really there; reject tests whose sample cannot detect the effect that would justify shipping); a pile of overlapping tests muddies results.
Common mistakes
Dropping the pre-agreed decision rule to save time; letting everyone approve everything; no stop rule for guardrails; treating "no significant difference" as "no effect" when the test was too small to tell.
PMs and analysts at your company keep disagreeing about when a test is done and whether to ship it, and decisions depend on who is in the room. What stop and ship rules would you put in place for the whole experimentation program, and how would you handle cases that the rules do not clearly settle?
Sample Answer
The idea in plain words
Decisions depend on who is in the room because the rules for "done" and "ship" exist only in people's heads. The fix is a short written policy with four layers. First, everything that can be fixed before data arrives is fixed in writing before launch. Second, stop rules say when a test is finished. Third, ship rules turn the usual outcomes into a lookup. Fourth, the leftover cases go to a named decision owner with a fixed way to decide and a record that is checked later. The rules do not remove judgment; they make it visible, consistent and reviewable.
Layer 1: fixed before launch
Every test carries a short plan, owned by the PM running it and reviewed by a data scientist or analyst:
- One primary metric (the single measure that decides ship or not), and a list of guardrail metrics (measures that must not get worse). The users in a test are split into arms, the groups that see different versions, such as control and variant. Lifts are quoted in percentage points (pp), the plain difference between two rates: going from 2.00% to 2.20% is +0.20 pp, which is a 10% relative lift.
- The minimum worthwhile effect (MWE): the smallest lift worth the build and upkeep cost. Assumption for illustration: 0.20 percentage points of conversion, which on 500,000 eligible users a month is 500,000×0.0020=1,000 extra conversions a month. How it is chosen: suppose each extra conversion earns 30 USD of margin and the change costs 120,000 USD a year to build and keep running. Break-even is then 120,000/12/30≈333 extra conversions a month, which is 333/500,000≈0.067 pp. Setting the MWE at about three times break-even, 0.20 pp, leaves room for estimation error. All of these figures are assumptions.
- The planned sample size and duration, rounded up to whole weeks so every weekday is covered, and a maximum duration after which the test stops regardless.
- The comparison to be made (one primary comparison; any segment cuts are listed in advance or labelled exploratory) and the false-positive rate (here 5%: how often a test of a change that does nothing still shows a statistically significant difference, counting a significant drop as well as a significant gain). A 95% two-sided interval is the range of lifts the data are consistent with, counting both gains and losses. It is not "a 95% chance the true lift is inside"; read it as the plausible range. When its lower end is above 0, a lift of zero is ruled out at the 5% level. The point estimate is the single best-guess lift, the middle of that range.
- The release calendar: when the test must end to make a release window.
Layer 2: stop rules
A test is done when the planned sample is reached and the minimum whole weeks have run, or when the maximum duration passes. Three events stop it early, and nothing else does:
- A hard guardrail breach (errors, crashes, latency, or a harm metric past its pre-set limit).
- A validity failure, such as a sample ratio mismatch (the observed split of users between arms differs from the planned split by more than chance allows, checked with a chi-square test: a routine check that compares the observed counts in each arm with the planned split and reports how surprising the gap is), a logging bug or a broken variant. For a planned 50/50 split, 50,900 against 49,100 users looks close but is a failure (the program below prints a p-value of about 1e-08), while 50,150 against 49,850 is ordinary chance.
- A pre-registered sequential design, if the team chooses to use one. Pre-registered means written down and dated before launch. A sequential design is a method with stopping boundaries: it sets the evidence needed at each planned look so that repeated looks do not inflate false positives, and it is optional, for teams that need early stops; the default here is a fixed sample.
The reason for the no-peeking rule is arithmetic. Each look at a change that does nothing has a 5% chance of looking significant, so a 95% chance of staying quiet. If the looks were independent, the chance of staying quiet on all five would be 0.955 and the chance of at least one false win would be 1−0.955=22.6%. They are not independent, since each look reuses the earlier data, so the real figure is lower. The program below measures it by simulation and prints both numbers, with the SRM check from above.
import numpy as np
from scipy import stats
# Part 1: how often a test with NO real effect looks "significant" at least once
# when we check it at k equally spaced looks and stop at the first |z| > 1.96.
rng = np.random.default_rng(31)
trials = 200_000
print("looks naive 1-0.95^k simulated")
for k in (1, 2, 5, 10):
steps = rng.standard_normal((trials, k)) # new data arriving between looks
z = np.cumsum(steps, axis=1) / np.sqrt(np.arange(1, k + 1)) # z statistic at each look
hit = (np.abs(z) > 1.96).any(axis=1).mean()
print(f"{k:>5} {1 - 0.95**k:>14.3f} {hit:>9.3f}")
# Part 2: sample ratio mismatch check, planned 50/50 split
observed = [50_900, 49_100]
chi2, p = stats.chisquare(observed, f_exp=[sum(observed) / 2] * 2)
print(f"SRM check: chi2={chi2:.1f}, p={p:.1e}")
chi2, p = stats.chisquare([50_150, 49_850], f_exp=[50_000, 50_000])
print(f"SRM check: chi2={chi2:.1f}, p={p:.2f}")
Output:
looks naive 1-0.95^k simulated
1 0.050 0.050
2 0.098 0.083
5 0.226 0.143
10 0.401 0.192
SRM check: chi2=32.4, p=1.3e-08
SRM check: chi2=0.9, p=0.34
Read the table: with one look the false-positive rate is the planned 5%. With five looks it is about 14% rather than 22.6%, and with ten looks about 19%. So repeated looks roughly triple the error rate at five looks, which is why stopping at the first good-looking number is not allowed, even though the naive formula overstates it.
Layer 3: ship rules
Read the primary metric's 95% interval against zero and the MWE, then the guardrails and validity.
| Case | Rule | Decision |
|---|---|---|
| Clear win | Interval's lower end is above 0, point estimate at or above the MWE, guardrails clean, test valid | Ship |
| Clear miss | Interval's upper end is below the MWE | Stop and shelve: a worthwhile effect is ruled out |
| Anything else | Neither row above applies: the interval reaches the MWE but also includes 0 (test C), or its lower end is above 0 while the estimate is below the MWE and the upper end reaches it (test E), so the data do not separate worthwhile from not | Gray case, Layer 4 |
| Guardrail breach or invalid test | Overrides everything above | Hold; fix and rerun |
Five tests, all in percentage points of lift with MWE 0.20:
| Test | Estimate and interval | Applying the rules |
|---|---|---|
| A | +0.40 [0.10, 0.70] | Lower end above 0, estimate 0.40 is above 0.20: ship |
| B | +0.05 [-0.08, 0.18] | Upper end 0.18 is below 0.20: shelve. This rules out an effect of 0.20 or more; it does not prove zero effect |
| C | +0.25 [-0.05, 0.55] | Interval includes both 0 and the MWE of 0.20: gray case |
| D | +0.30 [0.05, 0.55], latency guardrail breached | The guardrail overrides the win: hold, fix the latency, rerun |
| E | +0.12 [0.02, 0.22] | Lower end above 0, but estimate 0.12 is below 0.20 and the upper end reaches 0.22: gray case |
These rules are a small illustration. They cover one primary metric, absolute lifts in percentage points and a two-sided 95% interval. A real policy must also handle several metrics and the extra false positives they create, novelty effects that fade (a lift that comes from users trying something new and shrinks as it becomes familiar), differences between segments, tests running on the same users, and metrics that arrive late. Of these, several metrics is the one to add first, because it changes the false-positive rate of every test; the others can be added as the program matures.
Layer 4: cases the rules do not settle (C and E)
- One decision owner: the PM who ran the test decides. The data scientist writes one paragraph on what the data does and does not support, and has a veto on validity only (a broken test, not a disliked result), not on the business call.
- Tie-breakers, in order: reversibility (can we switch it off cheaply and return to the old behaviour?), upkeep cost against the MWE, and strategic constraints written in the plan.
- Default actions: a cheap, reversible change (test C or E) ships to 90% with a 10% holdback (a group deliberately kept on the old experience, so the true effect can still be measured) for four weeks, then is rechecked. The 90/10 split and the four weeks are illustrative: the holdback must be big enough to give an interval narrow enough to decide with, and the time long enough for early novelty effects to settle, so size both from your traffic; a costly or hard-to-reverse change goes back for a larger sample, since the interval says the effect could be zero.
- Escalation, narrow: only when the change is irreversible or past a stated cost, or when the PM and data scientist disagree. A monthly experimentation review decides, using the written one-pager.
- Record and revisit: every gray decision goes in the log with the reasoning and is revisited after 90 days against what happened.
Operational constraints sit in the plan. If the planned end date misses a release window, the choices are to extend the test past the window, or hold the ship to the next window. A test that has not reached its sample is never shipped by default because the calendar ran out.
Running the code
Needs numpy and scipy. Save the listing as peeking.py and run python peeking.py. It uses a fixed seed and prints the output shown.
How I would keep the policy honest
Version it, with one owner (the experimentation lead). Log every exception and count them each quarter: if more than a set share of decisions are exceptions or gray cases (a fifth is an illustrative line; set yours from your own history), the rules or the MWEs are wrong. Compare gray-case decisions with their 90-day outcomes to learn which tie-breakers work.
Common mistakes
- Writing the stopping rule after seeing the data.
- Stopping when a number first looks good, which inflates false positives.
- Reading a flat result with a wide interval as "no effect" instead of inconclusive.
- Making the rules so rigid that people route around them and the exceptions go unrecorded.
- Letting seniority, not the written plan, decide gray cases.
Unlock Full Question Bank
Get access to all 15 Experiment Prioritization & Roadmap interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.