Development set
The cases you read, debug against and tune prompts on.
- Read every failure
- Edit prompts against it
- Grows with each bug found
A golden dataset is the answer key you test an AI system against: real inputs, the answers a careful expert would give, and a rule for deciding what counts as right.
Every score you report about an AI agent — accuracy, consistency, whether a change made things worse — is only as good as the cases behind it. This guide takes a golden dataset apart record by record, shows how it differs from ground truth and public benchmarks, works out how many cases you need, and lays out how to build one and keep it honest.
Updated · 5 sources
A golden dataset is a curated, versioned set of real inputs paired with verified expected outputs, used as the answer key when evaluating an AI model, agent or workflow. Each case says what the system receives, what a careful expert would answer, and how to judge a match. Because it is frozen per version, two runs scored on it can be compared fairly — which is what lets you say a change made things better or worse.
The match rule is the part most teams leave out. “Acme Corp.” and “ACME Corporation” are the same supplier; 18,240.50 and 18,240.5 are the same total. Without a rule per field, string equality marks right answers wrong and the score means nothing.
id: invoice-0142
input: invoice-0142.pdf
verified_by: two reviewers, agreed
tags: [scanned, multi-page, EUR]
expected:
supplier "Northwind Traders" fuzzy ≥ 0.85
invoice_date 2026-03-14 date
total 18240.50 numeric ±0.5% critical
currency "EUR" exact critical
po_number "PO-77310" exact
line_items 12 rows listRecord why each case exists. A case added to catch a past failure is worth more than a random one. Tag it with the failure, so a later reader knows what breaks if it is deleted.
Four terms overlap in everyday use. The differences matter when you decide who owns the set, how often it changes and whether a model may ever see it.
| Ground truth | Public benchmark | Training data | Golden dataset | |
|---|---|---|---|---|
| What it is | The true answer for one case | A shared test set for comparing models | Examples a model learns from | Your curated, frozen set of cases with verified answers |
| Whose task | Any | A general skill | The model’s | Your system, on your work |
| Changes | Never, for that case | Rarely, by its maintainers | Often | In numbered versions you control |
| Model may see it | — | May already sit in training data | Yes | Never — that would void the test |
| Answers the question | What is right here? | Which model is stronger in general? | What should the model learn? | Does our system do our job, and did a change help? |
The cases you read, debug against and tune prompts on.
Cases kept back, run only to confirm a change before release.
Start small and real. Anthropic’s guidance for agent evaluations is to begin with a few dozen tasks drawn from real failures rather than wait for hundreds — then grow the set as the system meets new work.
From production logs, the backlog of past cases and the failures people reported. Synthetic cases only fill named gaps.
Common formats in proportion, plus edge cases, cases that should be refused and adversarial ones.
Two domain experts answer each case on their own, with the source in front of them.
Where the two disagree, settle it or drop the case: an ambiguous case cannot be graded fairly.
Publish it as version 1, with a datasheet of what it covers and how it was made.
Document it like any other test asset. NIST’s AI Risk Management Framework (MEASURE 2.1) asks that test sets, metrics and the tools used in testing be documented. A short datasheet in the style Gebru et al. proposed — why the set exists, what it contains, how cases were collected and labelled, who maintains it — does the job.
Size decides how small a change you can see. By the standard formula for a proportion, a score from 50 cases can swing by ten points on noise alone, and telling two separate runs apart by two points takes thousands of cases each. Coverage decides whether the score means anything for real work.
The margins above are our own arithmetic, not a published table: the normal-approximation 95% interval for a proportion, 1.96 × √(p(1 − p) / n), with p = 0.8. For 50 cases that is 1.96 × √(0.16 / 50) ≈ 0.11, or ±11 points. Comparing two runs case by case on the same cases is tighter than comparing two separate scores, because both runs face the same questions and only the cases that flip carry information.
A golden dataset is never finished. The work changes, models change, and a set that every version passes stops telling you anything.
release the next version, and compare new runs only with runs on the same version
A capability set starts with a low pass rate to climb; a regression set should sit near 100%. Cases graduate from the first to the second.
When every version passes, the set still guards against regressions but no longer shows improvement. Add harder cases.
Prompts edited against the same cases for months fit those cases. Keep a held-out set and refresh it.
On Botminds a golden dataset is built like an asset: versioned, reviewed and shaped to the job — and any agent, workflow or mesh can be scored against one.
Documents with expected fields, packages with cross-document rules, questions with answers, and conversation scenarios.
Exact, fuzzy, numeric with a tolerance, date or list — a right answer written differently still scores right.
Fields that must never be wrong weigh double and get their own accuracy line.
Every edit is a new version; each case is verified before it becomes the answer key.
Golden datasets grow to thousands of cases.
Cases run side by side, each repeated to measure consistency.
Each run is compared case by case with a pinned baseline.
Set an agent’s evaluations to run on every publish; a worse change is flagged with the reason.
Add each failure found live to the dataset, so the answer key keeps pace with the work.
Read the full design in AI agent evaluation, and set one up in the Academy lesson crew and evaluations.
A golden dataset is a curated, versioned set of real inputs with verified expected outputs, used as the answer key to evaluate an AI model, agent or workflow. It is frozen per version so that two runs can be compared on exactly the same cases.
For an LLM application, each case pairs a prompt or document with the answer a careful expert would give and a rule for judging a match — exact, fuzzy, numeric, or a rubric graded by a person or an LLM judge for free text.
Ground truth is the true answer for one case. A golden dataset is a curated collection of such cases, chosen to test what matters, versioned, and documented — the full answer key rather than a single answer.
Start with 20 to 50 real cases to find what is broken. To detect a few points of change you need hundreds to thousands: at 80% accuracy the 95% margin of error is roughly ±11 points with 50 cases and ±2.5 with 1,000 (the standard binomial formula).
Collect real inputs from production and past failures, cover the common work in proportion plus edge and adversarial cases, have two experts answer each case independently, settle or drop disagreements, then freeze and version it with a short datasheet.
For retrieval-augmented generation, each case holds a question, the passages that should be retrieved and the expected answer, so retrieval and generation can be scored separately.
Partly. Generated cases are useful to fill named gaps — a rare format, a hostile input — but the core should be real work, and every case, generated or not, needs a verified answer.
Whenever production shows a new failure or format, and in numbered versions. Compare runs only within one version; when the set saturates, add harder cases.
Bring one process and its documents. We’ll show you the agents, the controls and the record, running on your data.