AI Evals — Fundamentals
Vibes vs. evidence
One-line idea: "It felt better when I tried it" is an opinion about one sample; an eval is a repeatable measurement across many samples — and only one of those two actually tells you whether a change helped.
Everyday comparison: Tasting one spoonful of a soup and declaring the whole pot seasoned correctly is exactly how a kitchen ships an inconsistent dish — the spoonful you tasted isn't the spoonful the customer gets. An eval is tasting a measured sample from every batch, the same way, every time, so "better" means something a different person could check and get the same answer.
Memory line: A vibe is one data point with no record of what was tested. An eval is a record you can re-run and compare.
What a golden set actually needs to contain
A golden set is a fixed collection of inputs, run the same way every time a system changes, used to compare versions against each other. A useful one has three characteristics: it's representative of real usage (not just invented happy-path examples), it includes known-hard cases the system has struggled with before, and it's large enough to catch a regression affecting a meaningful slice of traffic without being so large that running it becomes impractical.
Scoring methods, compared
Exact match compares output directly against one expected string — fast and unambiguous, but only works where there genuinely is one correct answer (a classification label, a structured field extraction).
Rubric-based scoring defines a checklist of specific criteria ("does the response mention the refund policy," "is the tone professional") applied consistently by a human or a model grader — slower to set up, but works for open-ended output where exact match can't.
LLM-as-judge uses a separate model call to score another model's output against instructions or a rubric. It's the option that scales to the volume human review can't keep up with, and tends to track human opinion reasonably well once the judge has something specific to check against — but it carries forward whatever biases and blind spots that judge model has, and a mistaken verdict repeated consistently can pass as settled fact for a long stretch before anyone double-checks it by hand.
A fourth option sits between exact match and LLM-as-judge: regex / pattern matching (does the output contain a required phrase, match a required format) and semantic similarity (does the output's meaning land close to a reference answer, even with different wording). Both are checkable in code, no model call needed for scoring itself:
Common mistake + fix: Using exact match on a task where the correct answer can legitimately be phrased several ways ("yes, that's correct" vs. "correct"). Fix: exact match belongs on genuinely closed-form outputs (a label, a number, a structured field) — anything with legitimate phrasing variation needs semantic similarity, a rubric, or an LLM judge instead.
A minimal eval loop, concretely
Why human spot-checks still matter even with automated scoring
Automated scoring — exact match or LLM-as-judge — is what makes evaluation repeatable and fast enough to run on every change. It is not, by itself, proof that the scoring method itself is measuring the right thing. A periodic human review of a sample of outputs, especially ones the automated scorer rated highly, is how a systematically wrong judge or a poorly designed rubric actually gets caught, rather than quietly validating the same blind spot release after release.
Why "it felt better when I tried it" doesn't substitute for this
A handful of manual tries samples an arbitrary, usually small and unrepresentative slice of real usage, graded by one person's subjective impression in the moment — no fixed set, no consistent scoring, nothing to compare against next time. It can feel like real evidence precisely because trying something and seeing it work is a satisfying experience, which is exactly why it's easy to mistake for a rigorous check when it isn't one.
Try it: Pick a prompt or feature you've worked with recently. Write down five real inputs it needs to handle well, including at least one genuinely hard case. For each, write what scoring method (exact match, rubric, or LLM-as-judge) would actually tell you whether the output was good — not which one is easiest to set up.

