You evaluate an LLM system by running it against a fixed set of real examples, grading the results the same way every time, and watching a few live measures after release. That's the whole method. Public benchmarks can't do this for you, because they measure a model on someone else's tasks, while your system is a model plus your prompts, your documents, your tools and your users. This guide shows how to build an evaluation that fits a business system and doesn't need a research team. We rewrote it in November 2026.

Why "it looked good in the demo" isn't evidence

Language models are variable. The same prompt can produce a different answer tomorrow, and a change that fixes one case can quietly break three others. A demo shows a handful of cases someone chose. An evaluation shows what happens across the range of real inputs, including the awkward ones. It's the difference between trying a recipe once and running a kitchen. Skipping this step is one of the main reasons systems stall after the pilot, as we describe in why AI pilots fail to reach production.

Step 1: define "good" before you test

Write success criteria that a colleague could check without asking you what you meant. Vague goals such as "helpful answers" can't be tested. Useful criteria look like this:

Notice that the list covers more than accuracy. Tone, refusals, privacy and speed are all part of quality, and each needs its own check.

Step 2: build the test set from real work

The test set, often called a golden set, is a collection of real inputs paired with the outcome you expect. Take the inputs from the actual process: last month's emails, real invoices, questions people asked the help desk. Remove or mask personal data first. Then make sure the hard cases are in there. Anthropic's guidance on building evaluations lists the edge cases worth including: irrelevant or missing input, overly long input, poor or harmful input, and ambiguous cases where even people would disagree.

The same guidance makes a point that surprises teams used to careful manual review: more questions with slightly rougher automatic grading are worth more than a few questions graded by hand to a high standard. Volume finds the problems. Start with 50 to 100 examples, keep the set under version control, and add a new example every time the live system gets something wrong. After six months, that file is one of the most valuable things in the project.

Step 3: choose the right grader for each check

There are three ways to grade an output, and a good evaluation uses all of them for different criteria.

GraderGood forLimits
CodeExact values, valid formats, required fields, forbidden contentCan't judge wording or reasoning
A second model with a rubricTone, relevance, completeness, whether an answer is supported by its sourcesHas its own biases and must be checked against people
Human reviewSetting the standard, hard cases, sampling the other two gradersSlow and inconsistent at volume

Use code wherever the criterion allows it, because it is fast, free and never changes its mind. Structure the task so it can be graded that way: ask for a category from a fixed list, or a JSON object with named fields, and most of the grading becomes a comparison.

Using a model as a judge

For criteria that need judgement, a second model can grade the first. The best-known study of this approach found that strong LLM judges matched human preferences with over 80% agreement, the same level of agreement found between humans, and it also documented the weaknesses: position bias, verbosity bias, self-enhancement bias and limited reasoning ability (Zheng et al., 2023). In practice that means four habits:

Extra checks for systems that answer from documents

If the system retrieves passages and answers from them, a wrong answer has two possible causes: the right passage was never found, or it was found and the model ignored or distorted it. Test them separately. The Ragas framework describes the same split, measuring whether retrieval finds relevant, focused passages, whether the model uses them faithfully, and the quality of the answer itself, without needing human-written reference answers for every question (Es et al., 2023).

Our guide to production RAG covers what to change when one of these fails.

Don't over-read small differences

A score on a test set is an estimate, and estimates have error bars. If version A gets 86 of 100 right and version B gets 88, you haven't learned that B is better. Anthropic's article on a statistical approach to model evaluations recommends reporting a confidence interval with every score and comparing two versions question by question on the same set, which removes the noise that comes from some questions simply being harder. For a business system the practical rule is simpler: only act on gaps that are clearly larger than the run-to-run variation you see when you test the same version twice.

Step 4: run it on every change

An evaluation earns its keep as a regression test. Rerun the set whenever you change a prompt, switch or upgrade the model, alter retrieval or add a tool. Model upgrades deserve particular attention: a newer model is usually better on average and still worse on a few of your cases. Automating the run takes little work, and because nobody is waiting for the result, it can go through a batch API at a lower rate, as explained in our guide to cutting LLM costs.

Step 5: measure the live system

A test set shows whether the system can do the job. Live measures show whether it is doing it. Track a short list:

Review a sample of real conversations every week, especially the ones marked wrong, and move each new failure into the test set. Those business measures are also what you'll need to calculate the return on the automation.

Test for misuse, not only for mistakes

Quality includes what the system refuses to do. Add test cases that try to extract personal data, override the instructions or push the system outside its scope, and treat any success as a failed test. Our guide to secure AI systems lists the attacks to cover. For a wider view of the risks to assess, NIST's Generative AI Profile (NIST AI 600-1, July 2024) is a companion to its AI Risk Management Framework and a useful checklist to borrow from.

Mistakes we see most often

A first evaluation in a week

  1. Write three to five success criteria in plain sentences.
  2. Collect 50 real inputs and record the expected outcome for each.
  3. Add ten edge cases: out of scope, incomplete, hostile, ambiguous.
  4. Automate the checks that code can do.
  5. Write a rubric for the rest and check a judge model against your own grading.
  6. Run the set, read every failure, and fix the most common cause first.
  7. Rerun on every change from then on.

Evaluation is unglamorous work, and it's what lets you change a system with confidence. At Neurova AI a test set built from the client's own examples is part of the build, and every change is checked against it. It's how we approach AI development, and it's the first thing we'd look at if you asked us to review a system that isn't performing.

Frequently asked questions

How do you evaluate an LLM application? Write down what a good result looks like, collect a test set of real examples with the expected outcome, and run the system against it. Grade with code where the answer can be checked exactly, with a second model and a written rubric where it needs judgement, and with human review on a sample. Rerun the set on every change and track live measures such as acceptance rate after release.

What is a golden set in LLM evaluation? A golden set is a fixed collection of real inputs, each paired with the correct or expected output, that you use to test the system the same way every time. It should include ordinary cases, difficult edge cases and inputs the system should refuse or hand to a person. It works like a regression test suite for an AI system.

Can one LLM grade another LLM's output? Yes, with care. Research on LLM judges found that strong models can agree with human preferences more than 80% of the time, about the level at which humans agree with each other. The same research documents position, verbosity and self-enhancement biases. Use a clear rubric, a different model from the one being tested, and check the judge against human-graded examples.

How many test examples do I need? Start with 50 to 100 real examples and grow from there. More examples with automatic grading tell you more than a handful graded carefully by hand. With a set that size, a difference of two or three answers between versions is within the noise, so treat only clear gaps as real, or add examples until the gap is convincing.

Written by Andreas Chitos, founder of Neurova AI. He builds AI systems and medical software from Eindhoven, the Netherlands. Get in touch.