Golden Sets and AI Judges

A Trusted Answer Key, and a Fast Way to Grade Against It

An evaluation needs two things: a trusted set of examples and a way to score at scale. Experts build the first. Code and AI judges provide the second.

Ranjit Nethi

·

Golden Sets and AI Judges

The short version

  • A golden set is a collection of real cases with answers your experts agree are right.
  • Grade with code where the answer is exact. Use an AI judge where the answer needs judgment, such as tone or completeness.
  • An AI judge must be checked against human experts before you trust its scores.

The idea

A golden set is your answer key. Good ones share four traits. They come from real usage. They cover common cases and hard ones. Each case has an agreed correct answer or clear criteria. And they grow over time as new failures appear.

Scoring methods come in three kinds.

Code-based. Exact checks: the right number, valid format, required field present. They are cheap and fully reliable. Use them wherever possible.

Word-based. Measures of text overlap with a reference answer. They are fast and crude. They miss a correct answer that uses different words.

Model-based. An AI judge, also called an LLM-as-judge, is a model given the question, the answer and written criteria. It returns a grade. It handles quality aspects that code cannot, such as “is the answer supported by the source?”

An exam needs an answer key and a marker. For multiple choice, a machine marks it. For essays, you need a trained marker, and you check that marker’s grades against a senior examiner before you rely on them.

  1. Experts build the golden set
  2. Code checks what is exact
  3. AI judge grades what needs judgment
  4. People spot-check the judge

An AI judge is itself an AI system and can be wrong. Calibration means having experts grade a sample, comparing those grades with the judge’s, and refining the judge’s instructions until they agree at a high rate. Simple pass or fail criteria calibrate much better than scores from one to ten.

An example

A team evaluating a service assistant builds a golden set of 200 customer questions. Code checks whether cited order numbers exist and whether a required disclaimer is present. An AI judge grades two criteria as pass or fail: “the answer is supported by the retrieved policy” and “the answer addresses the question asked”. Two experts grade 60 cases by hand. The judge agrees with them on 80 percent at first. After three rounds of clearer criteria it agrees on 94 percent, and the team begins to rely on it for daily runs.

Common mistakes

  • A golden set invented by engineers, with no real user cases.
  • Vague criteria such as “is the answer good?”.
  • Trusting an AI judge that was never compared with human grades.
  • Letting the golden set go stale while the product changes.

What to do this week

  1. Start a golden set with 50 real cases and expert-approved answers.
  2. Write two pass or fail criteria that matter most to the business.
  3. Have an expert grade 30 cases and compare with the automated grades.

The terms, in plain language

TermWhat it means
Golden setTrusted test cases with agreed correct answers
AI judgeA model that grades another model’s output against criteria
CalibrationChecking and adjusting the judge against human experts
Pass or fail criterionA yes-or-no quality check

Section 8.2 of the AI Engineering Guide · Last reviewed November 2026

All parts of the guideChecklists and templates

About the author

Ranjit Nethi leads AI and data for commercial operations at a global industrial manufacturer. He writes about the operating model that turns AI pilots into results finance will sign. Kellogg Executive MBA; MS in Computer Science. This site is his own perspective and view, with no affiliation with any organization.