Which two steps must be completed BEFORE running the experiment with random assignment? (Select two.)
Each correct answer presents part of the solution.
Show answerHide answer
Correct answer: A, C Determine the minimum detectable effect size and the sample size needed for power. Define the hypothesis and the primary success metric for the comparison.
Explanation
ExplanationC. Define the hypothesis and primary success metric. Before random assignment, the experiment must pre-specify a clear hypothesis and a single primary metric. Anthropic's official prompt engineering documentation explicitly states that "defining the task and success criteria" is the first and most critical step, with success criteria needing to be specific and measurable to guide subsequent evaluation and optimization. If the metric is chosen after seeing the data, it constitutes post-hoc selection and renders the experiment invalid.
A. Determine the minimum detectable effect size and sample size. Sample size must be calculated before the experiment to ensure sufficient statistical power to distinguish genuine effects from noise. LLM outputs are stochastic, and small prompt differences are often subtle, making insufficient sample sizes likely to produce false conclusions. Experimentation methodology literature points out that running underpowered tests is one of the most common experimental design errors. The sample size formula requires pre-input of the minimum detectable effect size (MDE) and significance level.
Why the Other Options Are Incorrect
B. Decide to promote, reject, or iterate — This is a post-experiment decision that can only be made after analyzing the results, not a pre-experiment step.
D. Analyze results against predefined metrics — This is a post-data collection analysis activity that occurs after the experiment is completed.
E. Document recommendations, trade-offs, and alternatives — This is post-decision documentation work, belonging to the final stage of the experiment lifecycle.