A golden set is a collection of real inputs, each paired with a known good answer or a labelling rubric, used to evaluate a model-backed feature.
It should cover every category, include deliberately hard cases and be labelled before you look at model output. Keep part of it held out so tuning does not overfit.
Twenty cases are enough to start, and a hundred or two are enough to detect changes of a few points. The set is a living asset: it grows with every production failure and gets versioned like code.
Common mistake. Letting a model write all the cases and never reading them. The set then measures how well the model agrees with itself.
In practice. Sample real inputs, stratify by category, write the rubric first, label independently, split into dev and test, and tag cases so you can slice results.
An eval is a repeatable test for software that uses a model. It has a set of inputs, a way to run your feature on them and a grader that scores each output, and it returns a rate instead of a pass or fail. Run it on every change to a prompt, model or retrieval setting.
Error analysis is the habit of reading failed cases, sorting them into a few named groups and counting each group to decide what to fix next. It beats guessing and beats adding metrics. The biggest group usually is not the one you expected, so read real failures before you change anything.
LLM as judge means using a model to grade another model's output against a written rubric, typically with yes or no criteria. It scales evaluation of open-ended text, but a judge is just another prompt with its own biases. Check its agreement with human labels, for example with Cohen's kappa, before it gates anything.
Cite this page
Eldan Abdrashim. "Golden set." Eldan.ai, 23 November 2026. https://eldan.ai/glossary/golden-set.
The date you read it is added when you copy.
BibTeX
@online{abdrashim2026golden,
author = {Eldan Abdrashim},
title = {Golden set},
organization = {Eldan.ai},
date = {2026-11-23},
year = {2026},
month = nov,
url = {https://eldan.ai/glossary/golden-set},
langid = {english}
}