Home › How it works › Step 5: Check and keep current
How it works · Step 5
How to tell whether the answers are right

The short answer
Test it on your own questions, against answers your experts agree on. Score four things separately: did it find the right passage, did it stick to it, was the answer right and complete, and did it say "I don't know" when it should.
Then test again whenever the documents, the settings or the AI model change. A score from last quarter, or from someone else's questions, tells you little about today.
Think of marking an exam with an answer key
The key is written by people who know the subject. The exam includes the tricky questions, not just the easy ones. The marker looks at the working, not only the final answer. And when the syllabus changes, the exam is set again.
You can't mark an answer without a key, and the key has to be yours.
One score hides where it fails, so keep four
"It's right 85% of the time" doesn't tell you what to fix. Score these separately, on every test question:
- Did it find the right passage?For each test question, note which document holds the answer. If that passage wasn't among what the search found, the AI never had a chance. Fix the search, not the AI.
- Did it stick to what it found?Every claim in the answer should be supported by the passages it was given. Engineers call this "faithfulness". An answer can be faithful to the wrong passage, which is why the first score matters.
- Is the answer right and complete?Marked against your expert's answer. A right answer that leaves out the exception that matters is not right.
- Did it say "I don't know" when it should?Include questions your documents don't answer. The right response is "I couldn't find that". A test that only rewards answers pushes the system toward guessing, as OpenAI's researchers argued in 2025.
When the score drops, the four together tell you whether to look at the search, the documents or the writing. Why AI that looks things up can still make things up explains each cause.
What goes into a good test
Start with real questions, from help desk tickets, emails and the people who'll use it. Fifty is a sensible start; that number is our rule of thumb, not a standard. Then make sure it includes:
- Questions your documents don't answer, to check it says so.
- Questions where an old version exists, to check it uses the current one.
- Questions that need two documents together, such as a policy and its exception.
- Questions asked the way people really ask, with loose wording, shorthand and typos.
- Questions the asker isn't allowed to see the answer to, to check it refuses. SecureLLM.ai covers who may see what.
Every wrong answer found after launch becomes a new test question. That way the test grows with the questions nobody predicted.
Can an AI do the marking?
Partly, and it's the only practical way to mark hundreds of questions after every change. Another AI model is given the question, the passages, the answer and your expert's answer, and marks it. The research is encouraging, with catches.
An AI marker can agree with experts about as often as experts agree with each other
The same study found the catches. AI markers tend to favor longer answers even when they're no better, can favor whichever answer they see first, and may favor answers written by their own model. A separate study of automatic checks found that checking "is each claim supported by the passages" agreed with human judges 95% of the time, but judging whether the search found focused, relevant passages agreed only 70% of the time (Es and others, Ragas, 2023).
Let an AI do the volume. Have an expert check a sample of its marks.
Test again whenever anything changes
The AI model your vendor uses can change underneath you. Researchers asked the same questions of GPT-4 in March and June 2023. On one task, telling prime numbers from others, its accuracy fell from 84% to 51% (Chen, Zaharia and Zou, 2023). Their conclusion: the "same" AI service "can change substantially in a relatively short amount of time".
Your side changes too: new documents, retired ones, a new way of cutting them into passages, new instructions. Run the whole test after each change, and on a schedule, and compare the four scores with last time.
Three ways to do the marking
Experts mark every answer
People who know the subject read each test answer against the key.
Best for: the first test before launch, and anything high-stakes.
Gives up: speed. Days of expert time each round, so it's rarely repeated as often as it should be.
An AI marks, experts check a sample
An AI model marks every answer; an expert re-marks a sample to make sure the AI marker agrees with them.
Best for: testing after every change, at a few hundred questions or more.
Gives up: some certainty. The marker has its own biases, and it costs a little per answer.
Simple automatic checks
Did the expected document come back? Does the answer cite something? Do the dates, prices and names match the key exactly?
Best for: a fast, cheap alarm that runs every night.
Gives up: judgment. It can't tell a well-worded wrong answer from a right one.
What goes wrong
- The vendor writes the test. Its questions suit its system. Bring your own, and keep some back that the vendor never sees.
- Only easy questions. The test passes and the help desk still gets the hard ones wrong.
- Trusting a public score. Leaderboards rank AI models on general tests. They say nothing about your documents or your search.
- Never checking the AI marker. If nobody compares its marks with an expert's, you're trusting one AI to vouch for another.
- Testing once, at launch. Documents change and models change. An old score feels reassuring and means little.
- One overall number. It goes down and nobody knows why. Keep the four.
Questions to ask your team or vendor
- Will you run our test questions, on our documents, before we sign, and show us every wrong answer?
- Do you report separately whether the search found the right passage and whether the answer stuck to it?
- How does it score on questions our documents don't answer?
- If an AI does the marking, how often does it agree with our experts, and who checked?
- When you change the AI model or the settings, do you rerun our test first, and will you tell us the result?
Other names you may hear
- Evaluation, evals
- Checking the answers against an agreed answer key, like marking a test.
- Test set, golden set, ground truth
- The questions and the expert answers you mark against.
- Retrieval recall, context relevance
- Whether the search found the passage that answers the question, and how much of what it found was useful.
- Faithfulness, groundedness
- Whether every claim in the answer is supported by the passages it was given.
- LLM-as-a-judge, AI grader
- Using an AI model (an LLM, large language model) to mark another AI's answers.
- Benchmark, leaderboard
- A public test that ranks AI models on general questions, not yours.
- Regression testing
- Rerunning the same test after a change to check nothing got worse.
- Ragas, and similar toolkits
- Software that runs checks like these automatically.