An experiment plan should define a primary metric, its unit and denominator, guardrails for likely harms, minimum run or observation window, analysis method, and decision threshold before assignment begins. The model can draft the plan and identify missing fields, but a human owner approves it. An unplanned metric discovered after looking at many outcomes is exploratory, not the same evidence as a preregistered primary measure. Guardrails are part of the release decision even when the primary metric moves in the hoped-for direction.
Make this comfortable
Experiment prompts: freeze the primary metric and guardrails
Operational case
Aster's primary outcome is signup completion within 24 hours per assigned eligible user. Its support-ticket rate is a guardrail because a shorter form may omit needed guidance. The packet later shows 48% versus 52% completion and 2% versus 3% support tickets. Those numbers are descriptive until the approved analysis and data-quality checks run. Aster cannot rewrite the plan to ignore support tickets after seeing the increase.
Primary: 24h completion / assigned eligible users
Guardrail: support tickets / assigned eligible users
Analysis and decision threshold: locked before launch
Exploratory slices: labeled separately
Plan changes: versioned, not silently backdatedPerformance and review cost
Checking M planned metrics across N assigned users is O(MN) in a naive scan or O(N+M) with a prepared per-user fact table and indexed aggregates. Planning is cheap compared with arguing over a favorable post hoc metric. Keep the frozen plan and every later amendment visible in the review packet.
Common Mistakes
- Do not select a primary metric after seeing all outcomes.
- Do not omit a plausible harm measure from the decision.
- Do not confuse an exploratory slice with a planned confirmatory test.
Connected lessons
- Prompt engineering applications
- Prompt Engineering
- Analytics prompts: define the metric and event contract
- Study effects: calculate the measure outside the model
- Experiment prompts: fix hypothesis, unit, and exposure
- Experiment prompts: investigate assignment and exposure imbalance
- Experiment prompts: reconcile missing outcomes by assigned unit
- Experiment prompts: separate effect size from uncertainty
- Experiment prompts: investigate slices and guardrail movement
- Experiment prompts: gate rollout on a reproducible packet
- Project: review Aster's signup experiment
- Product experiment prompt decisions
prompt engineering
product experimentation
