← All writing

What is your eval suite actually measuring?

Feb 2026·5 min read

I've shipped features where the eval suite was green and the feature was still wrong. Not because the model failed, but because I never specified what right looked like before I started measuring for it.

Image of a TV in a living room with a 90s style TV with big white letters that read 'Do you know what your evals are measuring?'

Write the spec before you write the scorer

Before I write any scorers, I write a list. What do I want this feature to do? What do I never want it to do? Specific, observable, testable.

"The response should be helpful" doesn't make the list. "The response should not fabricate steps that don't exist in the system" does. "The output should acknowledge uncertainty rather than guessing" does. The level of specificity forces clarity about what success actually looks like, and surfaces disagreements between product and engineering early, before anyone has written a prompt. The failure mode of a vague criterion isn't that the scorer fails to run. It's that it runs confidently on the wrong thing.

This list becomes the rubric for the eval suite. Every scorer traces back to something on it. If a scorer doesn't, it probably doesn't need to exist.

Build your dataset from real data

The best eval inputs come from real usage. Not synthetic data generated by a model, not hand-crafted examples from your imagination. Actual inputs from actual users, or as close to that as you can get.

If you're already in production, mine your logs. Find the most common input patterns, the historically difficult cases, and the inputs that would be most damaging if they went wrong. Supplement with synthetic data to cover gaps, but don't build on it. What Has Been Lost with Synthetic Evaluation? found that models generate the inputs they'd find easy. The interesting evals are usually the ones a human thought of.

If you're pre-launch, start with synthetic data, then layer in whatever else you have: internal testing sessions, beta users, similar products' known failure modes.

Prefer building your dataset from patterns and representative shapes rather than raw, user-identifying queries. If you do pull top use cases from production, redact PII before anything enters your eval dataset.

Scorer strategy: deterministic first, LLM judges second

Your scorers fall into two buckets: deterministic code and LLM as judge. I always lean toward deterministic first. They are the unit tests of LLM development: instantaneous, free, and consistent.

I use code to verify the structural integrity of the response. Does the output adhere to the JSON schema or Pydantic model? If the spec calls for a list, does the markdown actually contain bullet points? If you require a summary under a certain length, check the character count. If it's checkable with a conditional or a validator, do it in code. It is the most reliable signal you will have.

For nuance and reasoning, you'll need an LLM as judge. To make these reliable, I require chain of thought: ask for the reasoning first and the verdict second. This reduces hallucinations and makes failures debuggable. I also follow the stronger judge rule, using a more capable frontier model as the grader to avoid the self-preference bias that occurs when models recognize and over-rate their own stylistic patterns.

To ensure consistency, use a low-precision scale like a 1-3 rubric with explicit descriptions for each level. The most important step here is calibrating the rubric with concrete examples. I include reference responses in the prompt to show the judge exactly what qualifies as a 1 versus a 3. A great way to test this is to ask the judge to generate its own example response for each score level; if its idea of a 2 doesn't match yours, the rubric needs work.

CI and scheduled pipelines

Evals should run on every commit that touches feature code, prompts, retrieval logic, or upstream configurations. They are your primary defense against regressions.

In a healthy workflow, these tests should be runnable locally so you can iterate quickly without waiting for a cloud build. Once you push, they should run through a PR pipeline for visibility, and most critically, they must run when the commit lands in main.

I also run evals on a scheduled pipeline to monitor scores over time. This catches "silent" regressions (upstream API changes, data drift, or tool failures) that occur even when you haven't touched a line of code. Sudden drops in these trends are often your first signal that the world outside your codebase has changed.

Evals tell you how the model behaves on your test cases. They don't tell you how it behaves on everything else. That's what production observability is for, and it's where the loop closes. More on that in Evals tell you what you designed for. Data tells you the rest..

Tooling

I use Braintrust for evals end to end: datasets, scorers, experiment tracking, logged traces, and scheduled pipeline runs. It's the best eval tooling I've worked with. If you're evaluating tooling options, it's the first one I'd try.

Evals are the difference between guessing that your model works and knowing exactly how it fails. Without them, you aren't engineering. You're just hoping the vibes hold up.

← All writingIs your eval ready to trust?Next read→