Your prompt change gained 3 points on the eval. How confident are you that it is real?
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
Not confident at all, on that evidence. Two things have to be ruled out first: sampling noise and format sensitivity.
Full worked answer
Not confident at all, on that evidence. Two things have to be ruled out first: sampling noise and format sensitivity.
Noise. One run per case is one sample from a distribution. On a 100-case eval, a 3-point move is a handful of cases flipping. Run n=5 per case, compute a confidence interval or a paired test on the per-case results, and a large fraction of "wins" evaporate. Paired matters: compare per-case outcomes between variants rather than comparing two aggregate numbers, which throws away most of your statistical power.
Format sensitivity is the subtler one. LLM outputs are sensitive to changes a human would call semantically irrelevant: separator characters, casing, whether you write Q:/A: or Question:/Answer:, field order, whitespace. Sclar et al.'s FormatSpread work showed accuracy can swing substantially across formats that are meaning-identical. So if your "improvement" also changed the formatting, you may have won a formatting lottery rather than found a better instruction. That win will not survive the next model version.
So I measure the spread, not just the mean. Define a perturbation set: paraphrase the instruction, permute few-shot order, swap separators, reorder equivalent fields. Run the eval across it and report mean and variance. A prompt with a high spread is brittle even when its best case looks great, and the mean over perturbations is a far better predictor of production behaviour than the single number you happened to measure.
Reducing brittleness means preferring structure over wording: constrained decoding rather than "please output JSON", native tool schemas rather than parsed prose, prefill where available. Fewer and more orthogonal instructions. Use the model's trained conventions rather than fighting them. Reasoning models are somewhat less format-sensitive, not immune.
And the connection worth drawing: sensitivity is a portability metric. If the prompt only works at that exact wording, you have overfitted to one checkpoint, and you will pay for it at the next model upgrade. For high-stakes prompts I track spread in CI alongside the score.
What a good answer covers
- Not confident at all, on that evidence
- Two things have to be ruled out first: sampling noise and format sensitivity
- One run per case is one sample from a distribution
- On a 100-case eval, a 3-point move is a handful of cases flipping
- Run n=5 per case, compute a confidence interval or a paired test on the per-case results, and a large…
Key terms: Noise · Reducing brittleness
In the glossary: Accuracy · Few-shot · Constrained decoding · Prefill · Reasoning model
Interviewer follow-ups to expect
How would you construct a perturbation set without accidentally changing the task?
Why is a paired test the right choice for comparing two prompt variants?
Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep