Sub topic 7
Writing the Experiment Brief
Assume you know how to write a hypothesis, choose a primary metric, and select a randomization unit. This chapter turns those decisions into an experiment brief: a short agreement that product, engineering, and data can use before implementation begins.
Why the brief matters
An experiment brief prevents important decisions from being made implicitly during the launch. It records:
- What change you are testing and why.
- Who can enter the experiment.
- How users are assigned to variants.
- Which metric decides the outcome.
- Which guardrails can stop the experiment.
- How much data you need.
- Who owns each part of the work.
- What decision you will make for each possible result.
The brief is a contract for the experiment, not a project plan. It should be specific enough to implement and analyze, but short enough that every contributor can review it.
Required sections
| Section | Decision it records | Typical owner |
|---|---|---|
| Hypothesis and variants | What treatment is expected to change | Product |
| Eligibility and randomization | Who enters and how assignment works | Product and engineering |
| Metrics | What counts as success or harm | Product and data |
| Sample and timing | How much evidence is required | Data |
| Instrumentation | Which events and properties must be logged | Engineering and data |
| Decision rule | When to ship, iterate, or stop | Product |
Use precise names for metrics and events. For example, checkout_completion_rate is more useful than “conversion.” Define whether the denominator includes all eligible users, users who reached checkout, or users who received a variant.
Worked brief
The following example tests address autofill at checkout:
experiment: checkout_address_autofill
owner: product
engineering_contact: eng-checkout
data_contact: analytics-growth
hypothesis: >
If we autofill saved addresses at checkout, then more users will
complete purchase, because fewer form fields reduce friction.
randomization_unit: user_id
eligibility: logged-in web users with at least one saved address
variants:
control: 50
treatment: 50
primary_metric:
name: checkout_completion_rate
baseline: 0.10
minimum_detectable_effect_abs: 0.01
guardrail_metrics:
- payment_error_rate
- page_load_time_p95
planned_sample_per_variant: 14750
alpha: 0.05
power: 0.80
decision_rule: >
Ship if the primary metric's confidence interval is above zero
and no guardrail shows a meaningful regression.The baseline is the current metric value. The minimum detectable effect is the smallest absolute improvement the team considers worth detecting. Alpha sets the tolerated false-positive rate for the planned test. Power describes the probability of detecting the specified effect when it exists.
Make ownership and decisions explicit
Assign one accountable person for each unresolved decision. Product usually owns the customer problem and final decision. Engineering owns assignment, exposure, and event implementation. Data owns metric definitions, sample-size calculations, quality checks, and analysis. Shared ownership should not mean that nobody has the final call.
Write decision rules before launch. Include what happens when the result is inconclusive, when a guardrail worsens, or when the treatment wins the primary metric but increases operational cost.
Review the brief before implementation
Have each partner review the brief for a different failure mode:
- Product checks that the treatment addresses the intended user problem.
- Engineering checks that eligibility, assignment, and exposure can be implemented.
- Data checks that every metric has an observable numerator and denominator.
- The group checks that the sample target and runtime are realistic.
- The owner records approval and the planned launch date.
Exercise
The treatment raises checkout completion, but payment error rate also rises beyond the agreed threshold. What should the team do?
Show answer
Apply the pre-agreed guardrail rule. Stop, roll back, or investigate rather than shipping based only on the primary metric.