I just went through a solid breakdown of how to set up LLM evals systematically, and honestly, this is the part of AI engineering too many teams try to hand-wave away.
Everyone wants the fun part: prompts, agents, demos, nice UI, maybe a benchmark screenshot for LinkedIn. Very few want to do the boring but essential work of figuring out whether the system is actually improving.
That’s usually where projects start drifting.
What landed for me is a simple loop:
analyze → measure → improve
Not “ship and vibe-check.” Not “buy an eval platform and hope the dashboard means something.” Not “swap models until the outputs feel better.”
Just a very grounded process: look at failures, turn them into tests or metrics, make a change, and see if the system got better.
The core point is that LLM systems are hard to evaluate for reasons we all know but still underestimate:
- they’re nondeterministic
- multiple outputs can be valid
- small wording changes can break behavior
- “technically correct” can still be a bad user experience
- failure modes are subtle and usually show up only after real usage
That’s why I liked the framing around the three levels of evals.
Level 1: unit tests
This is the obvious starting point, and a lot of teams still skip it.
If I have structured output, I should absolutely be asserting basics: does it parse, does the schema hold, is the value in the allowed set, is the confidence score in range, did the classifier return the expected category for a known case.
Not glamorous, but this catches a lot.
If a billing ticket gets classified as “general,” I don’t need a PhD-level eval framework first. I need a failing test in the repo.
Level 2: human evals + LLM-as-a-judge
This is where things get interesting.
The strongest point here was: don’t start with the judge model.
That matches my experience. A lot of teams rush into automated scoring with vague dimensions like “helpfulness” and “quality,” then act surprised when the scores don’t help them improve anything.
If humans haven’t looked at the outputs and agreed on what “good” actually means for the domain, the judge prompt is just theater.
The right order is much more boring and much more effective:
- collect real examples
- capture input/output pairs
- have humans review them
- define what good and bad look like
- then train or prompt an LLM judge to match that human judgment
- measure agreement
- iterate until the judge is actually useful
That agreement step matters a lot.
I’ve seen this mistake over and over: people treat LLM-as-a-judge like an oracle. It’s not. It’s another model with another prompt. If it doesn’t align with domain experts, you’re just automating noise.
The spreadsheet example is exactly the kind of thing I wish more teams would do before reaching for fancy tooling.
A simple sheet with:
- input
- system output
- model critique
- human critique
- pass/fail alignment
…is often more useful than an expensive eval dashboard in the first month of a project.
Because at that stage, the real bottleneck isn’t tooling. It’s understanding.
Level 3: A/B testing
This is where evals connect to actual product outcomes.
Not just “which prompt sounds nicer,” but whether version A or B improves task completion, user satisfaction, resolution time, retention, whatever actually matters for the system.
A lot of teams talk about this as if it’s trivial. It isn’t. Good A/B testing for LLM systems is operationally messy. But it’s still the right north star once the basics are in place.
A few ideas from this that I strongly agree with:
Generic metrics are often fake progress.
If someone shows me a dashboard with “helpfulness: 4.3” and “truthfulness: 4.6,” my first question is: according to whom, and what decision does that change?
If the metric doesn’t tie back to a concrete failure mode or product behavior, it’s probably decoration.
Binary evals are underrated.
Start with pass/fail. Good/bad. Accepted/rejected.
People want nuanced rubrics too early. In practice, simple labels are easier to define, easier to align on, and easier to improve against.
You have to look at the data. Constantly.
This one is non-negotiable.
If you’re building LLM systems and not spending real time in traces, logs, and raw examples, you’re operating blind. You cannot outsource first-principles understanding to a vendor dashboard.
This is one of the biggest differences between toy demos and production work.
Tool-first thinking is a trap.
New vector DB, new model, new eval vendor, new framework. Sure, sometimes the tool is the issue. Most of the time, the team just hasn’t defined the problem tightly enough.
I’m very biased here because I’ve sat through too many “AI strategy” conversations where people want to discuss platform choices before they can name the top 5 failure modes in their own app.
That’s backwards.
The most useful takeaway for me was this:
evaluation is not a reporting layer; it’s part of the development loop.
If I can’t confidently answer: “What got better?” “What broke?” “Which change caused it?” “Are we improving on real user cases?”
…then I’m not really engineering the system. I’m just iterating blindly.
The teams that get good at this usually do a few unsexy things well: they save raw events, write targeted tests, review outputs manually, align judges to humans, and track changes over time.
That’s not flashy. But it’s how you stop an LLM product from becoming a permanent demo.
If I were setting this up from scratch today, I’d keep it very simple:
- structured-output unit tests for known cases
- a growing dataset of real failures
- lightweight human review on sampled outputs
- an LLM judge only after I have human criteria
- A/B tests only when I’m clear on the business metric
That’s the work.
Not the deck. Not the benchmark screenshot. Not the “agentic” label.
Just disciplined iteration against reality.