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.
Engineering capacity is tight and you believe a few high-impact tests deserve it over the many smaller requests. How would you persuade product and engineering leaders? Explain how you would estimate expected value and time-to-result, and how you would present the trade-offs and your uncertainty.
Sample Answer
The idea in plain words
Leaders will give scarce engineering capacity to a few large tests only if they can see, in their own terms, that the large tests return more per engineer-week and learn faster. The case rests on two numbers for each option: expected value (the chance the test wins times the gain if it wins, summed over the plausible outcomes, in the units of the goal metric) and time-to-result (build time plus the time traffic needs to supply the required sample). Small tests look cheap on engineering time, but a small effect needs a much larger sample to detect, so they are often expensive in traffic and slow to read. That is the point that usually changes minds.
Method
- Put both options on the same budget of engineer-weeks and the same goal metric.
- Estimate expected value from base rates: base rates (the historical share of tests of this kind that won, from the experiment log) and the lift of past winners, shrunk toward zero, which means scaled down by a haircut. Reported winners overstate the true lift because a test that wins is partly one that got lucky noise, and those are the ones that get reported and shipped. Size the haircut from the log: where past winners were measured again later (a holdout or a repeat test), divide the later lift by the originally reported lift and apply that ratio. If the log has no re-measurements, start with an explicit assumption such as halving, say so, and show the answer with and without it. Give a range, not a point.
- Estimate time-to-result: build weeks plus run time. Run time comes from the sample size needed: users per arm
for a baseline rate p1 and target rate p2 (two-sided 5% level, 80% power: the chance of detecting the lift if it is real). The constants come from the normal (bell-curve) table: 1.96 is the cut-off that leaves 2.5% in each tail, which is a two-sided 5% significance level, and 0.84 is the cut-off for 80% power. The square (1.96+0.84)2 is 7.84 with these rounded values and 7.85 with the unrounded ones (1.960 and 0.8416); the examples below use 7.85. Then weeks = 2n divided by eligible users per week (two arms).
4. Show the uncertainty and the flip point: the assumption that would reverse the recommendation.
5. Propose a reversible commitment and a review date.
Worked example (all inputs are assumptions)
Assumptions: 6 engineer-weeks are available. Option A: six small tests of 1 engineer-week each (for example copy and layout tweaks). Option B: one large test of 6 engineer-weeks (for example a redesigned onboarding flow). Goal metric: a conversion rate with baseline 10%; 100,000 eligible users per week; win rates and lifts from the experiment log, assumed: small tests win 10% of the time (plausible 5 to 15%) with a 1.5% relative lift when they win (1 to 2%); the large test wins 30% of the time (15 to 40%) with a 6% relative lift (3 to 8%). Relative lift means a fraction of the current rate: 1.5% of 10% is 0.15 points. The inputs would be defended in the room with the counts behind them, not just the percentages: if the log holds 200 small tests of which 20 won, the win rate is 10%, and with that few tests a 95% interval for it (the Wilson interval for a proportion) runs from about 6.6% to 14.9%, in line with the 5 to 15% assumed here. The lifts are the haircut values from step 2 (for example, small winners reported at 3% and measured later at about half of that give 1.5%).
Expected value (total relative lift on the goal metric, central case). Summing six small tests' lifts assumes their wins would stack: they touch different parts of the product or different users and do not cancel or overlap. The chance-of-no-win figure assumes the six tests succeed or fail independently of each other.
- A: 6×0.10×1.5%=0.9%. Range: low 6×0.05×1%=0.3%, high 6×0.15×2%=1.8%.
- B: 0.30×6%=1.8%. Range: low 0.15×3%=0.45%, high 0.40×8%=3.2%.
- Chance of no win at all: A 0.96=0.53; B 1−0.30=0.70.
Sample size and time-to-result:
- Small test, 10.0% to 10.15%: bracket 0.10×0.90+0.1015×0.8985=0.09+0.0912=0.1812; denominator 0.00152=0.00000225; n≈7.85×0.1812/0.00000225≈632,000 per arm. Weeks: 2×632,000/100,000≈12.6, so 13 weeks each, even with all six running at once on the same users.
- Large test, 10.0% to 10.6%: bracket 0.09+0.106×0.894=0.09+0.094764=0.184764; denominator 0.0062=0.000036; n≈7.85×0.184764/0.000036≈40,300 per arm. Weeks: 2×40,300/100,000=0.8, so the 2-week minimum applies (to cover two weekly cycles).
- Time to first answer: B is built in 6 weeks and read in 2, so 8 weeks. A: engineers build one test a week, the first reads at week 1+13=14 and the last at 6+13=19.
- If the small tests are cut to a 2-week run to look faster, each has 100,000 users per arm. The standard error of the difference is 0.1×0.9/100,000+0.1015×0.8985/100,000=0.00135, so a true 0.15-point lift sits at 0.0015/0.00135=1.11 standard errors and is detected only about 20% of the time. Under that shortcut the useful expected value of A falls to about 6×0.10×0.20×1.5%=0.18%.
| A: six small tests | B: one large test | |
|---|---|---|
| Engineer-weeks | 6 | 6 |
| Expected lift, central (range) | 0.9% (0.3 to 1.8%) | 1.8% (0.45 to 3.2%) |
| Chance nothing wins | 53% | 70% |
| Time to first answer | week 14 (13-week reads) | week 8 |
The recommendation and the flip point
Give the large test the capacity, with a small lane kept for cheap changes that need almost no engineering. It returns about twice the expected lift (central case), reads in 8 weeks instead of 14 to 19, and does not depend on tests that traffic cannot power. B beats A's central 0.9% unless its chance of winning falls below 0.9%/6%=15% at a 6% lift, which is the bottom edge of the assumed range, so the ranges overlap and the recommendation is a judgment, not a certainty.
Honest uncertainty to present: B is more likely to win nothing (70% versus 53%); the ranges for A and B overlap; the win rates and lifts are estimates from past tests and may not transfer to this surface. De-risk B before spending all 6 weeks: one engineer-week on a prototype or a fake door (a button or page for a feature that does not yet exist, used to count interest) to check that users engage, and stop if they do not.
How to persuade, by audience
- Product leaders: one table with expected lift on their goal metric, the range and the date of the answer. Lead with time-to-result and the traffic argument, which they usually have not seen.
- Engineering leaders: fewer context switches, a predictable plan and no pile of 1-week requests; keep a time-boxed small-test lane so small requests are not simply refused.
- Everyone: make the commitment reversible. Propose a one-quarter split (for example 70% large, 30% small), agree in advance what you will review (realised lift, time to decision, win rate by size) and when. If the large tests miss the pre-agreed marks, revert.
Common mistakes
- Comparing the options on engineering weeks alone and ignoring traffic and time.
- Presenting a single expected-value number with no range.
- Shortening the small tests to make them look fast, which makes them unable to see the effect they are meant to find.
- Treating a larger expected value as a promise: the large test is more likely to deliver nothing at all.
Tell me about a time you deliberately chose speed over thoroughness to run an experiment. What did you compromise on, how did you contain the risk to users and the product, what did it reveal, and what did you do differently afterwards?
Sample Answer
What the interviewer is looking for
The question tests judgment about a trade-off: moving fast on an experiment is sometimes the right call, but only if you know exactly what you gave up, limit the damage if you are wrong, and learn from it. A weak answer says "we skipped the process and it worked out". A strong answer names the corners that were cut, shows that the risky ones were protected, reports what the quick test could and could not tell you, and states a concrete change in practice. Use your own real story; the skeleton below shows where each part goes.
Story skeleton (STAR: Situation, Task, Action, Result)
Situation. A reason that made speed worth more than rigor: "A partner's contract decision was due in two weeks, and we needed to know whether customers would use a bulk-upload feature before committing engineers to it." Say what the deadline or window was.
Task. The question to answer and the decision it would feed. For example: whether to fund a three-month build.
Action. Cover the four things the question asks.
- What you compromised on. Be specific about the corners: a smaller sample, a shorter run, one metric instead of several, no breakdown by segment, a rough version instead of the finished feature (for example, a fake door, a button for a feature that does not exist yet, where a click is recorded and the user is told it is coming), or a manual process behind the scenes. State what you could no longer conclude: for instance, "we could measure interest but not retention".
- How you contained the risk to users and the product. Pick the protections that really applied:
- limited exposure, such as 5% of eligible users;
- a guardrail metric (one that must not get worse, such as completion of the existing workflow) with an automatic stop;
- easy reversal, so turning it off took minutes;
- honest messaging, where users are told what they clicked, and no money or data taken for something that does not exist;
- exclusion of sensitive areas (billing, legal, safety).
- A fast decision rule written beforehand. For example, "if at least 4% of exposed users click, we proceed to a prototype; below 2%, we stop; between those, we run a longer test." The numbers are assumptions you justify from past behavior.
- A readout that respects the limits.
Worked example of the readout with assumed numbers
Assume the fake door was shown to 2,000 eligible users over one week, and 120 clicked. The click rate is 120 / 2,000 = 6.0%. A 95% confidence interval for that rate (a range of plausible values, here a Wilson interval, a standard interval for a proportion) runs from about 5.0% to 7.1%.
To check it by hand, use the simpler normal-approximation interval: the rate plus or minus 1.96 times the square root of rate x (1 - rate) / n. Here that square root is sqrt(0.06 x 0.94 / 2,000) = sqrt(0.0000282) = 0.00531, times 1.96 is 0.0104, so the interval is 6.0% plus or minus 1.04 points, which is 4.96% to 7.04%. The Wilson interval, which behaves better when the rate is small or the sample modest, is
1+z2/np^+z2/2n±1+z2/nznp^(1−p^)+4n2z2with p^=0.06 the observed click rate, n=2,000 and z=1.96. It moves the centre slightly (to 6.08%) and gives 5.04% to 7.13%; the two methods agree to within a tenth of a point here. Against the pre-set rule (proceed at 4% or higher), the whole interval is above the line, so the decision is clear for the question asked: interest is real enough to justify a prototype.
What the test did not show, and the story should say so: clicks measure curiosity, not repeated use or willingness to pay. Whether the 6% would turn into regular use is not answerable from a one-week fake door. A decision to build the full three-month feature would still need a follow-up (a prototype with a small group, then a measure of repeat use). The speed was chosen for a decision that fits what the fast test can tell you, which is "is this worth a prototype", not "is this worth the full build".
Result and what you did differently
Report what the test revealed, including surprises: perhaps the click rate was concentrated in one customer type, or many clickers abandoned the follow-up question, which showed that the feature description set the wrong expectation. Then give a specific change in how you work. Good examples:
- you now write the decision rule and the stop condition into every quick test before launch;
- you added a standard guardrail metric to the quick-test template;
- you pair a fake door with a short follow-up question to tell curiosity from need;
- you decide in advance which questions a fast test may answer and which need more rigor.
One complete example (assumed numbers; replace with your own). After the click, each of the 120 clickers saw a one-question follow-up, "How often would you use this?", and 78 answered. Of those 78, 21 (27%) said weekly or more and 57 said occasionally. So the 6.0% click rate overstated need: weekly users are at least 21 of the 2,000 exposed, about 1%, and that is a floor because the 42 who did not answer may include weekly users. Against the rule, the click rate said "proceed to a prototype" and the follow-up said "prototype for the heavy-use group, not the full build". We built a two-week prototype for those customers and kept the three-month build on hold until their repeat use was measured. What changed afterwards: a follow-up question is now part of every fake door template, and the decision rule is written as two lines, one for clicks and one for stated use.
If the shortcut cost you something, say so. For instance, if the segment breakdown you skipped later turned out to matter, acknowledge it and explain how you would plan it now.
What separates a strong answer
- The compromise is named, specific and matched to the decision.
- The protections were in place before launch, not added after a problem.
- The conclusions stay within what the quick test supports.
- The lesson is a change in practice, not a general statement that you learned something.
Common mistakes
Describing speed as skipping all process; claiming the quick test proved more than it could; no stated stop condition; a story with no cost, so the trade-off never appears; and a lesson that is vague, such as "communicate more".
Your team is picking a scoring model to rank experiment ideas and is debating a simple impact, confidence and ease score against one that also accounts for how many users each idea reaches. How do the two differ, which would you choose for a growth team, and where does each one mislead? Score two ideas for a mobile app to show it.
Sample Answer
The idea in plain words
Both models turn a pile of experiment ideas into one number per idea so you can sort them. ICE multiplies three ratings: Impact (how much the idea moves the target metric if it works), Confidence (how sure you are it will) and Ease (how cheap and quick it is to build). RICE adds a fourth input, Reach (how many users the idea touches in a period), and replaces the Ease rating with Effort measured in person-months, which it divides by. A person-month is one person's work for one month: 1.5 person-months is, for example, one engineer for about six weeks or two engineers for about three. Unlike an Ease rating of 6, which is a feeling, an Effort figure can be added up across a plan and checked against the capacity the team really has. The one-line difference: ICE scores how good an idea is for one user and how easy it is, while RICE scores how much total benefit it delivers per unit of effort.
For a growth team I would choose RICE, because growth ideas sit at different places in the funnel (the steps users pass through toward a goal, such as install, sign up, buy) and touch very different numbers of users, and ICE cannot see that. The commitment comes with a condition: if every idea you are comparing hits the same page and the same audience, Reach is a constant and ICE ranks the same way with less work.
How the two models work
| ICE | RICE | |
|---|---|---|
| Inputs | Impact, Confidence, Ease, each rated 1 to 10 | Reach (users per month, a count), Impact (a small fixed scale, commonly 0.25 minimal, 0.5 low, 1 medium, 2 high, 3 massive), Confidence (a percentage), Effort (person-months) |
| Formula | Impact x Confidence x Ease (some teams average the three instead) | Reach x Impact x Confidence / Effort |
| Result means | A unitless number | Impact-weighted users per person-month |
| Strength | Fast; works when you have no data | Reach comes from analytics, so one of four inputs is a measurement; effort is in real units |
| Weakness | No reach; Ease is a feeling; 1 to 10 scales invite inflation | Needs more inputs; precise-looking output from guessed inputs |
Scoring two ideas for a mobile app
All inputs are assumptions for illustration.
- Idea A: a primer screen before the notification permission prompt, shown to every new install. Reach is 60,000 new installs per month. Effort 1.5 person-months.
- Idea B: a loyalty badge on the profile screen, seen by returning users who open their profile. Reach is 5,000 users per month. Effort 1 person-month.
ICE ratings: A has Impact 6, Confidence 5, Ease 6, so 6×5×6=180. B has Impact 8, Confidence 6, Ease 8, so 8×6×8=384. ICE ranks B first, because the team rates the badge more impactful per user and easier, and nothing in the model says that only 5,000 people ever see it.
RICE: A has Reach 60,000, Impact 1 (medium), Confidence 50%, Effort 1.5. Score =60,000×1×0.5/1.5=20,000. B has Reach 5,000, Impact 2 (high), Confidence 60%, Effort 1. Score =5,000×2×0.6/1=6,000. RICE ranks A first, 20,000 to 6,000, a factor of about 3.3.
The ranking flipped because of the one input ICE lacks. How sturdy is the RICE result? Even if the team were fully sure of B (Confidence 100%), its score would be 5,000×2×1.0/1=10,000, still half of A's. For B to match A at its stated confidence, it would need a reach of 20,000/(2×0.6)≈16,700 users per month, more than three times the assumed 5,000.
Where each one misleads
ICE
- Ignores reach, so a big per-user effect on a handful of users can beat a modest effect on most users (as above).
- Multiplying 1 to 10 ratings treats an ordinal scale (the numbers only give an order, so 8 is more than 6 by an unknown amount) as if it were a ratio scale (zero means none and equal steps mean equal amounts, as with users or person-months): a 6 is not "twice" a 3, yet the product treats it that way. Small rating changes swing the product a lot.
- Ease is a feeling, usually rated by the proposer; Confidence tends to inflate on one's own ideas.
RICE
- Favours broad, shallow ideas: large Reach times a small Impact can outscore a deep fix for a narrow segment that is strategically vital.
- Looks more rigorous than it is. Reach is measured, but Impact and Confidence are still guesses, so the product carries false precision (a result stated more exactly than its guessed inputs can support). Two scores 20,000 and 18,000 are a tie in practice.
- Effort counts build time only. It ignores how long the test must run to be readable, which for a low-traffic surface can be the real cost.
- Neither model captures dependencies (one test enabling another), learning value, or risk.
What I would do on a growth team
Use RICE for the ranking, with three guardrails: tie each point of the Impact scale to an expected relative lift (the change as a share of the current value: a conversion rate moving from 4.0% to 4.2% is a 5% relative lift) on the one funnel metric that matters for that step, for example 0.5 for under 2%, 1 for 2 to 5%, 2 for 5 to 10% and 3 for above 10% (illustrative bands that each team sets for itself), set Confidence from an evidence ladder that rates how strong the support is, weakest first (opinion, analogy to a similar product, user research, an earlier test), for example 20%, 40%, 60% and 80% on those four rungs, rather than from the proposer, and treat scores within about 20% of each other as a tie to be settled by learning value and risk. Use ICE only for a quick first pass over a long list when the ideas share a surface.
Common mistakes
- Treating the score as an answer instead of a way to start the argument.
- Comparing scores produced by different people using different mental scales.
- Mixing reach periods (one idea per month, another per quarter).
- Adding the ratings instead of multiplying (or the reverse) and then comparing against scores built the other way.
A growth team wants to rank experiment ideas by expected value instead of gut feel. How would you estimate the expected value of one experiment from its baseline metric, plausible uplift, chance of success and cost to run? Rank three made-up experiments with numbers.
Sample Answer
The idea in plain words
An experiment is a bet. You pay a cost to run it, and with some chance it reveals a change worth a lot of money. Expected value (EV) is the average payoff of a bet if you could repeat it many times: you multiply each possible payoff by its chance and add them up. For an experiment there are only two outcomes that matter, so the formula is short: the chance it works times the money it earns if it works, minus what it costs to try.
The baseline metric and the plausible uplift supply the "money if it works". The chance of success and the cost supply the rest. Ranking by EV replaces "which idea do I like most" with "which bet pays the most for what it costs".
The method, in the order you would do it
- Pick one money-denominated outcome for every idea. Here it is revenue earned over the months the gain lasts (12 in the example). Convert each idea's metric into it (an activation rate into revenue through the value of an activated user). Without a common unit the ideas cannot be compared.
- Estimate the gain if it works. Let N be eligible users per month, c the baseline conversion rate (the metric today), u the expected relative lift if the idea works (a 5% relative lift on a 4% rate takes it to 4.2%, which is 0.2 percentage points, the plain difference between two rates), v the revenue per conversion (use contribution margin, revenue minus the variable costs of that sale such as payment fees and support, when those are material), and H the months the gain lasts before the surface is changed again:
- Estimate the chance it works, p. Define "works" as "the true lift is at least the size you would ship". Anchor it on evidence, not enthusiasm: a past test of the same mechanism, user research, or the team's own win rate for this kind of idea (the team's own history of wins and losses is the best anchor you can have).
- Estimate the cost, K. Engineering weeks times a loaded weekly cost (what one engineer-week really costs the company: salary plus benefits, equipment and overhead, not salary alone), plus any other cost of running (design, analyst time). Count the opportunity cost too: the value of the best alternative you give up by using the test's traffic and slot. In the example below, if only one slot is free and the alternative is onboarding_tweak (EV 88,800 USD), taking the slot for checkout_simplify (EV 40,800 USD) gives up 88,800 USD of expected value to earn 40,800 USD, a net shortfall of 88,800−40,800=48,000 USD. The ranking below handles this by ordering ideas rather than subtracting it from each EV.
- Compute EV and rank.
- Rank by EV and by EV per engineering week. EV picks the biggest bets. EV per week picks the best use of a scarce team. They can disagree, and the disagreement is the point.
Worked example (inputs are assumptions, not real figures)
Plausible ranges for the assumptions: p between 0.1 and 0.5 for a single idea, u between 2% and 15% relative, H between 6 and 18 months, a loaded engineering week between 4,000 and 10,000 USD. Here a week costs 6,000 USD.
| Idea | Eligible users per month | Baseline rate | USD per conversion | Relative lift if it works | Chance it works | Months of benefit | Eng weeks |
|---|---|---|---|---|---|---|---|
| checkout_simplify | 300,000 | 4.0% | 30 | 5% | 0.30 | 12 | 4 |
| onboarding_tweak | 100,000 | 35% | 12 | 8% | 0.25 | 12 | 2 |
| pricing_page | 200,000 | 1.5% | 100 | 10% | 0.40 | 12 | 10 |
By hand for checkout_simplify: extra conversions per month are 300,000×0.04×0.05=600. Revenue per month is 600×30=18,000. Over 12 months G=216,000. The cost is 4×6,000=24,000. So EV=0.30×216,000−24,000=40,800.
The program below does the same for all three, adds the sensitivity, and checks the formula against an independent calculation.
import numpy as np
# Assumed inputs (plausible ranges in the prose); none is a real statistic.
# users: eligible users per month, base: baseline conversion rate,
# value: USD per conversion, lift: expected RELATIVE lift if it works,
# p: chance the change works (true lift at least the ship bar),
# months: months the gain lasts before the page is changed again,
# weeks: engineering weeks to build, cost per eng week USD.
WEEK_COST = 6000
ideas = {
"checkout_simplify": dict(users=300_000, base=0.040, value=30, lift=0.05, p=0.30, months=12, weeks=4),
"onboarding_tweak": dict(users=100_000, base=0.350, value=12, lift=0.08, p=0.25, months=12, weeks=2),
"pricing_page": dict(users=200_000, base=0.015, value=100, lift=0.10, p=0.40, months=12, weeks=10),
}
def gain_if_works(d):
extra_conv_per_month = d["users"] * d["base"] * d["lift"]
return extra_conv_per_month * d["value"] * d["months"]
def expected_value(d):
return d["p"] * gain_if_works(d) - d["weeks"] * WEEK_COST
rows = []
for name, d in ideas.items():
g = gain_if_works(d)
ev = expected_value(d)
rows.append((name, g, ev, ev / d["weeks"]))
print(f"{name}: gain_if_works={g:,.0f} cost={d['weeks']*WEEK_COST:,} EV={ev:,.0f} EV_per_eng_week={ev/d['weeks']:,.0f}")
print("rank by EV: ", [r[0] for r in sorted(rows, key=lambda r: -r[2])])
print("rank by EV/week: ", [r[0] for r in sorted(rows, key=lambda r: -r[3])])
# Sensitivity 1: halve the chance of success (or the lift) for every idea at once
for label, pf, lf in [("p x0.5", 0.5, 1.0), ("lift x0.5", 1.0, 0.5)]:
out = []
for name, d in ideas.items():
e = dict(d, p=d["p"] * pf, lift=d["lift"] * lf)
out.append((name, expected_value(e)))
print(label, [(n, round(v)) for n, v in sorted(out, key=lambda t: -t[1])])
# Sensitivity 2: halve the chance of success for one idea at a time (the other two keep their estimates)
for target in ideas:
out = []
for name, d in ideas.items():
e = dict(d, p=d["p"] * (0.5 if name == target else 1.0))
ev = expected_value(e)
out.append((name, round(ev), round(ev / d["weeks"])))
print(f"p x0.5 for {target} only, (name, EV, EV per week):")
print(" by EV: ", [o[0] for o in sorted(out, key=lambda o: -o[1])], [o[1] for o in sorted(out, key=lambda o: -o[1])])
print(" by EV/week:", [o[0] for o in sorted(out, key=lambda o: -o[2])], [o[2] for o in sorted(out, key=lambda o: -o[2])])
# Independent check: add up treated revenue minus control revenue month by month,
# then simulate "works / does not work" draws and average the net value
def gain_by_month_loop(d):
total = 0.0
for _ in range(d["months"]):
control = d["users"] * d["base"] * d["value"]
treated = d["users"] * d["base"] * (1 + d["lift"]) * d["value"]
total += treated - control
return total
rng = np.random.default_rng(7)
for name, d in ideas.items():
works = rng.random(400_000) < d["p"]
net = np.where(works, gain_by_month_loop(d), 0.0) - d["weeks"] * WEEK_COST
sim, exact = net.mean(), expected_value(d)
ok = abs(sim - exact) < 0.01 * gain_if_works(d)
print(f"check {name}: simulated={sim:,.0f} formula={exact:,.0f} within 1% of gain: {ok}")
assert ok
# From a measured result to a revenue forecast (checkout_simplify, assumed readout)
d = ideas["checkout_simplify"]
monthly_rev = d["users"] * d["base"] * d["value"]
retain = 0.7 # assumed share of the measured lift still present after the first months
print(f"baseline monthly revenue={monthly_rev:,.0f}")
for label, rel in [("low", 0.01), ("point", 0.06), ("high", 0.11)]:
print(f"measured relative lift {label} {rel:.0%}: +{monthly_rev*rel*retain:,.0f} per month, +{monthly_rev*rel*retain*12:,.0f} per year")
Output:
checkout_simplify: gain_if_works=216,000 cost=24,000 EV=40,800 EV_per_eng_week=10,200
onboarding_tweak: gain_if_works=403,200 cost=12,000 EV=88,800 EV_per_eng_week=44,400
pricing_page: gain_if_works=360,000 cost=60,000 EV=84,000 EV_per_eng_week=8,400
rank by EV: ['onboarding_tweak', 'pricing_page', 'checkout_simplify']
rank by EV/week: ['onboarding_tweak', 'checkout_simplify', 'pricing_page']
p x0.5 [('onboarding_tweak', 38400), ('pricing_page', 12000), ('checkout_simplify', 8400)]
lift x0.5 [('onboarding_tweak', 38400), ('pricing_page', 12000), ('checkout_simplify', 8400)]
p x0.5 for checkout_simplify only, (name, EV, EV per week):
by EV: ['onboarding_tweak', 'pricing_page', 'checkout_simplify'] [88800, 84000, 8400]
by EV/week: ['onboarding_tweak', 'pricing_page', 'checkout_simplify'] [44400, 8400, 2100]
p x0.5 for onboarding_tweak only, (name, EV, EV per week):
by EV: ['pricing_page', 'checkout_simplify', 'onboarding_tweak'] [84000, 40800, 38400]
by EV/week: ['onboarding_tweak', 'checkout_simplify', 'pricing_page'] [19200, 10200, 8400]
p x0.5 for pricing_page only, (name, EV, EV per week):
by EV: ['onboarding_tweak', 'checkout_simplify', 'pricing_page'] [88800, 40800, 12000]
by EV/week: ['onboarding_tweak', 'checkout_simplify', 'pricing_page'] [44400, 10200, 1200]
check checkout_simplify: simulated=40,881 formula=40,800 within 1% of gain: True
check onboarding_tweak: simulated=88,812 formula=88,800 within 1% of gain: True
check pricing_page: simulated=84,284 formula=84,000 within 1% of gain: True
baseline monthly revenue=360,000
measured relative lift low 1%: +2,520 per month, +30,240 per year
measured relative lift point 6%: +15,120 per month, +181,440 per year
measured relative lift high 11%: +27,720 per month, +332,640 per year
Reading the output:
- Ranking by EV: onboarding_tweak (88,800), pricing_page (84,000), checkout_simplify (40,800). All three are positive, so each is worth running in isolation.
- Ranking by EV per engineering week: onboarding_tweak (44,400), checkout_simplify (10,200), pricing_page (8,400). pricing_page has the second-highest EV but needs 10 weeks, so a team short of engineers would run checkout_simplify before it.
- Break-even chance is cost divided by the gain if it works: 24,000 / 216,000 is about 0.11 for checkout_simplify, 12,000 / 403,200 is about 0.03 for onboarding_tweak, 60,000 / 360,000 is about 0.17 for pricing_page. onboarding_tweak is worth trying even if it is very unlikely to work; pricing_page needs real conviction.
- Sensitivity. Two different tests. Halving p for every idea at once (or halving u, which scales every gain by the same factor) leaves the EV order unchanged and leaves pricing_page at 12,000 and checkout_simplify at 8,400, both still positive but close. That is a weak test: every gain shrinks by the same factor, so only the fixed costs can reorder the ideas. The sharper test cuts one idea's p while the other two keep theirs, which is what a single over-optimistic owner does. Halving checkout_simplify alone leaves the EV order unchanged. Halving pricing_page alone drops it from second to last by EV (12,000, still positive). Halving onboarding_tweak alone drops it from first to third by EV (38,400, behind pricing_page at 84,000 and checkout_simplify at 40,800), yet it stays first by EV per engineering week at 19,200 against 10,200 and 8,400. So the EV order is sensitive to any single idea's chance, and onboarding_tweak's lead is robust only on the per-week ranking. Check a ranking idea by idea, not only with one common cut, and act on the part that survives.
- The check. The formula p⋅G−K is a shortcut; the simulation plays the bet itself instead. It adds up treated minus control revenue month by month, then 400,000 times draws "works" with chance p (otherwise nothing is gained), subtracts the cost, and averages the results. If the formula had an algebra slip, the two would disagree. All three agree within 1% of the gain, and the small gaps are sampling noise that shrinks with more draws. A version that forgot H would count one month of gain: for checkout_simplify that is 18,000 instead of 216,000, an EV of 0.30×18,000−24,000=−18,600 against 40,800, far outside 1%, so the check would fail, which is the point of having it. It covers this two-outcome shape only; it would not catch a wrong input.
Turning a measured lift into a revenue forecast
After an experiment ships a winner, replace the guess with the readout. Suppose the checkout test measures a relative lift of 6% with a 95% confidence interval of 1% to 11% (assumed numbers). A 95% confidence interval is the range of lifts the data are consistent with; it is not a 95% chance that the true lift is inside it. Baseline revenue is 300,000×0.04×30=360,000 per month. Measured lifts usually fade somewhat after launch. Novelty wears off: users react to something new, and the reaction shrinks as it becomes familiar. And the winner of a noisy test tends to be overstated, the winner's curse: if many ideas with no real effect are tested, the few that show a big lift did so partly by luck, so a repeat measures less. Apply a retention factor for both, here an assumed 0.7. The forecast per month is baseline revenue times lift times retention, and the program prints 15,120 per month (181,440 per year) at 6%, with a range of 2,520 to 27,720 per month for the interval ends. Present the range, not just the point. The interval describes the uncertainty in the measured lift; the 0.7 is a judgment you should state and revisit once a holdout (a small group kept on the old experience) gives a long-run reading.
Feeding the roadmap
- Rank the backlog by EV per engineering week, then fill the quarter's capacity from the top. Ideas whose EV is negative do not enter, whatever their score on taste.
- When a test reads out, the measured lift becomes evidence for similar ideas: raise or lower p and u for the ideas that share its mechanism, and record the gap between predicted and measured lift for every shipped test so the team learns whether its p values run high.
- Keep a small slice of capacity for low-EV, high-uncertainty ideas. An EV ranking built from current beliefs never schedules the idea that would change those beliefs.
Judgment
Run onboarding_tweak first: it has the highest EV, the highest EV per week and the lowest break-even chance, and it stays first per week even with its own chance of success halved. Between the other two, choose by what is scarce. With engineering capacity the limit, run checkout_simplify next; with traffic and design time plentiful and the team willing to wait 10 weeks, pricing_page has the higher EV. What would flip the order: a lower p for pricing_page (below the 0.17 break-even its EV is negative), or a second-order effect such as a price change that affects the other two tests' baselines.
Common mistakes
- Using the gain on the whole user base instead of the eligible users who see the change.
- Treating p as 100% because the idea "obviously" works; every idea above the cost line then looks like a winner.
- Mixing absolute and relative lift: 5% relative on a 4% rate is 0.2 percentage points, not 5 points.
- Counting revenue instead of contribution margin when the cost side is a real cost (every sale carries fees, support or delivery costs that revenue ignores).
- Reading the EV as a prediction for one test. A test with p=0.25 fails three times out of four; the value is in the portfolio.
Running the code
Python 3.12 with numpy 2.1.3. Save the listing as ev_rank.py and run python ev_rank.py. It uses a fixed seed and prints the output shown.
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.
Unlock Full Question Bank
Get access to all 25 Experiment Prioritization & Roadmap interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.