Sub topic 17
Deciding to build, pivot or stop
This chapter assumes you have read the earlier chapters. You should know how to write pre-set success criteria, run a smoke test, and read a Wilson confidence interval. It also assumes you know what a preorder and a basic unit-economics check are. Here you combine those pieces into one decision.
Decide with rules written in advance
A demand test ends in one of three outcomes: build, pivot (change the offer or audience), or stop. The rule for each outcome must exist before the data arrives. If you set the thresholds after seeing the results, you will tend to explain a weak result as a good one.
The test plan from the success-criteria chapter already holds the rule:
hypothesis: "Freelance designers will pay $19/month for automated invoice reminders"
segment: "Freelance designers who invoice at least 5 clients per month"
test: "Fake-door pricing page with a 'Start paid trial' button"
metric: "Share of qualified visitors who click 'Start paid trial' and enter card details"
minimum_sample: 300 qualified visitors
build_if: "Lower bound of the 95% confidence interval is at least 2%"
stop_if: "Upper bound of the 95% confidence interval is below 1%"
otherwise: "Change the offer or the audience and rerun the test"Apply the rule to the interval
Compare the whole interval with the thresholds, not only the observed rate. The code below uses 18 conversions from 400 qualified visitors and returns one of three decisions.
import math
def wilson_interval(successes, trials, z=1.96):
"""95% Wilson score interval for a conversion rate."""
if trials <= 0:
raise ValueError("trials must be positive")
if not 0 <= successes <= trials:
raise ValueError("successes must be between 0 and trials")
p = successes / trials
denom = 1 + z**2 / trials
centre = (p + z**2 / (2 * trials)) / denom
margin = z * math.sqrt(p * (1 - p) / trials + z**2 / (4 * trials**2)) / denom
return centre - margin, centre + margin
def decide(successes, trials, build_floor=0.02, stop_ceiling=0.01):
low, high = wilson_interval(successes, trials)
if low >= build_floor:
return "build", low, high
if high < stop_ceiling:
return "stop", low, high
return "pivot or rerun", low, high
decision, low, high = decide(18, 400)
print(f"{decision}: interval {low:.1%} to {high:.1%}")The observed rate is 4.5%, and the interval is roughly 2.9% to 7.0%. The lower bound is above 2%, so the rule says build. If you had seen only 6 conversions from 400, the interval would reach above 1%, but its lower bound would sit below 2%. The rule would then say to change something and rerun.
Add the unit-economics check
Strong demand at a price that cannot cover your costs is not a reason to build. Before you commit, check that the price covers acquisition cost and delivery cost. If it does not, pivot on price, segment or cost, even when conversion looks good.
Pivot with one change at a time
A pivot is a changed hypothesis, not a vague restart. Change one thing, such as the segment, the offer or the price. Then write new thresholds and run a new test. If you change several things at once, you cannot tell which change moved the result.
Choose the evidence level to match the decision
Behavioral evidence, such as card details entered or a paid preorder, should carry more weight than stated interest. A build decision based only on survey answers is weaker than one backed by real payments.
Exercise
A test of 250 qualified visitors gives 2 conversions. Your plan says to build if the interval's lower bound is at least 2% and to stop if its upper bound is below 1%. Which decision does the rule give, and why can you not conclude that demand is absent?
Show answer
The observed rate is 0.8%, but the interval is wide, roughly 0.2% to 2.9%. The lower bound is below 2%, so you cannot build. The upper bound is above 1%, so you cannot stop either. The rule says to pivot or rerun, preferably with a larger sample or a changed offer. The data are consistent with both very weak and acceptable demand.