What's the difference between iterating on prompts by 'feel' (vibes-driven) versus by eval-driven discipline and why does it matter in production?
Vibes-driven iteration optimizes for whichever examples you happened to try; eval-driven iteration measures every change against a held-out golden set with concrete metrics, so silent regressions show up at PR time.
Imagine tweaking a recipe by tasting one spoonful and deciding it is better. You might be right about that spoonful and wrong about the whole pot. Now imagine running the recipe past ten taste-testers with a scoring sheet every time. You catch when the change you liked actually hurt the dish for others. Prompt iteration is the same. Tasting one example feels fast but lets the rest of the pot drift. Tasting against a held-out set of cases catches the drift before it ships.
Detailed answer & concept explanation~5 min readEverything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
3 min: implicit test set in vibes + golden-set anatomy + which metrics matter + regression-gate workflow + where eval fails.
Real products, models, and research that use this idea.
- Promptfoo runs assertion-based prompt evals against golden sets in CI, used by teams shipping Claude Opus 4.7 and GPT-5.5 prompts to staging.
- Braintrust pairs golden-set eval with prompt versioning, so teams can see exactly which prompt change moved which metric.
- OpenAI's evals framework and Anthropic's eval cookbook both ship reference loops for golden set based prompt iteration with assertion suites.
What an interviewer would ask next. Try answering before peeking at the approach.
QHow big should a golden set be, and how do you build it?
QWhat metrics should be in an eval suite for a RAG prompt?
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Tweaking a prompt against three examples, declaring it better because those three look better, and missing that the change quietly degraded twenty other cases the eval suite would have caught.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.