# What Is a Golden Dataset for AI Evals?

Source: https://lowob.com/research/what-is-a-golden-dataset/
Publisher: lowob (https://lowob.com/)
Author: Chris Wells
Published: 2026-11-29
Function: Strategy
Research checked: 2026-11-28

> Summary: A golden dataset is the set of real inputs with known-good answers you test every AI change against. How to build, size, label and version one.

<section id="answer">

**A golden dataset is a fixed set of real inputs, each paired with a known-good answer or clear pass criteria, that you run against every change to your AI system.** It's how you tell whether a new model, prompt or tool actually made things better. Without one, every upgrade is a guess dressed up as a demo.

</section>

**IN SHORT:** Pull real cases from your support tickets, CRM and logs, have someone who knows the domain write down what good looks like, and store the result in version control. Start with 20 to 50 items, grow toward a few hundred, and run it every time something changes.

## Key facts

| | |
| --- | --- |
| What it is | Reviewed test inputs plus reference answers or pass/fail criteria |
| What "golden" means | Someone with domain knowledge confirmed the expected output |
| Starting size | 20 to 50 tasks drawn from real failures (Anthropic, January 2026) |
| Size for checks on bigger changes | 100 to 1,000 items (Langfuse and OpenRouter guides, 2026) |
| First review pass | At least 100 diverse traces, 30 or more annotated by you (Husain and Shankar) |
| Labels for an AI judge | 100 to 200 labeled examples per failure mode (Husain and Shankar) |
| Refresh cadence | Quarterly, or monthly for fast-changing products (OpenRouter, September 2026) |
| OpenAI Evals platform | Read-only October 31, 2026; scheduled shutdown November 30, 2026 |

## What is a golden dataset, exactly?

A golden dataset is your answer key. Each item has an input (a customer question, a contract, a sales call transcript), an expected output or a rubric, and some tags that say what kind of case it is. Langfuse's guide describes it as the fixed set of test cases you run before every meaningful change, and says what makes it "golden" is that someone with domain knowledge confirmed the expected outputs.

Three things it is not:

- **Not training data.** Training data teaches a model. A golden dataset tests it. If test items leak into fine-tuning data or into the examples in your prompt, scores rise without the system improving.
- **Not a public benchmark.** It measures general skill, not your product on your customers' questions.
- **Not a golden record.** A [golden record](https://lowob.com/research/what-is-a-golden-record/) is the single trusted version of a customer or account, merged from duplicates in your CRM. Similar word, different job.

If you already know this: the useful split is between items with a reference answer (checked by exact match, code or a model-graded comparison) and items checked only by reference-free criteria such as format, safety or tone. Both OpenRouter and Langfuse note that the second kind needs no expected output at all.

## Why do you need one?

Because every change to an AI system has side effects you can't see in a demo. Swap a model or edit a prompt, and something that worked last week quietly breaks. A golden dataset turns "it feels better" into a pass rate you can compare across versions.

Anthropic's engineering team makes the timing point bluntly: waiting too long makes evals harder, because you end up reverse-engineering what success meant from a system that's already live. Early changes tend to have large effects, so a small, real set catches them.

There's a second reason this matters now. OpenAI's docs say its Evals platform became read-only for existing users on October 31, 2026 and is scheduled to shut down on November 30, 2026. Teams that kept their test sets only inside that dashboard are moving them right now. A golden dataset you own, in plain files, survives any tool change. See our guide to [OpenAI Evals alternatives](https://lowob.com/research/openai-evals-alternatives/) for where to run it next.

## How do you build a golden dataset from tickets and CRM data?

You build it from what real users already sent you, not from examples you invent. Anthropic recommends starting with the manual checks you run before a release and the tasks users commonly attempt, then mining your bug tracker and support queue once you're live. OpenAI's best practices page gives the same advice in different words: log everything as you develop so you can mine the logs for good eval cases.

![How a golden dataset is built, from tickets and CRM data to a versioned test set](https://lowob.com/research/what-is-a-golden-dataset/lowob-golden-dataset-loop.svg)

The sequence, combining the Anthropic, OpenRouter and Husain and Shankar guidance:

1. **Pull real inputs.** OpenRouter suggests logging a week or two of traffic, sampling randomly first, then checking that rare but important intents show up. For a support assistant, pull closed tickets. For a sales assistant, pull CRM records: call notes, emails and the deal stage that followed. Keep metadata: intent, segment, date, and the model and prompt that answered.
2. **Scrub personal data.** Remove names, emails, account numbers and anything else personal before the data reaches your eval tools. OpenRouter also says to confirm your terms allow this use.
3. **Deduplicate and tag.** Fifty versions of "where's my refund" teach you one thing. Collapse near-duplicates, then tag each item by intent and difficulty. Weight the set toward failures you can't afford.
4. **Read before you label.** Husain and Shankar recommend reviewing at least 100 diverse traces and annotating at least 30 yourself, writing open notes on what went wrong, then grouping those notes into failure categories. Stop when new traces stop showing you new failure types.
5. **Write expected outputs or rubrics.** Langfuse notes that expected outputs often start as the model's production answer, corrected by a domain expert. For tickets, the answer the best agent actually sent is a strong starting point. For CRM cases, the expected output might be the right next step or the right field values, checked against what actually happened in the deal.
6. **Run once and fix the set.** Run your current system. OpenRouter says to sort each failure into a real failure, a rubric problem (fix the expected answer) or an ambiguous item (cut it). Expect to cut some.
7. **Commit it.** Store it as JSONL (one JSON object per line) in Git with the rubric and a baseline pass rate, and run it in CI so a drop past a set threshold fails the build.

Cover both sides. Anthropic's point is that one-sided sets produce one-sided systems: test cases where a behavior should happen and cases where it shouldn't, such as questions that need a search and questions that don't.

## How big should a golden dataset be?

Small enough to label well, big enough to cover your real failure types: start in the dozens, grow into the hundreds.

| Purpose | Size | Source |
| --- | --- | --- |
| Exploring one specific issue | About 10 items | Langfuse, OpenRouter |
| First repeatable suite | 20 to 50 tasks from real failures | Anthropic; Langfuse and OpenRouter FAQs |
| Error analysis review | At least 100 diverse traces | Husain and Shankar |
| Validating an AI judge | 100 to 200 labeled examples per failure mode | Husain and Shankar |
| Gate on every pull request | Tens to low hundreds | Langfuse, OpenRouter |
| Checks on larger changes, nightly or release | 100 to 1,000 items | Langfuse, OpenRouter |

The catch in the fine print: if you use an AI model as the grader, Husain and Shankar suggest splitting your labels into roughly 10 to 20 percent for training the judge prompt and 40 to 45 percent each for dev and final test, with 30 to 50 passes and 30 to 50 fails in each where you can.

## How should you label it?

Label with binary pass/fail criteria and a written rubric, and get the right person to do it. OpenRouter recommends binary met/unmet criteria scored one at a time, rather than a single 1 to 10 score. OpenAI's best practices add clear rubrics, examples of each score level for graders, and calibrating automated scoring against human labels.

Husain and Shankar recommend one person with domain expertise owning the open review, a "benevolent dictator" in their phrase. Then check the rubric, not the people: OpenRouter suggests two people label a subset independently and treat disagreement as a rubric problem.

A test for each item, from Anthropic: two domain experts working alone should reach the same pass/fail verdict. If they wouldn't, the item is ambiguous and will produce failures that aren't the system's fault. Anthropic also recommends a reference solution for each task, proof that the task can be passed and that the grader works.

Labeling checklist:

- [ ] Each item has an input, an expected output or rubric, tags, and a synthetic flag
- [ ] Rubric criteria are pass/fail and written down
- [ ] A domain expert confirmed every expected output
- [ ] A second person labeled at least a sample, and disagreements changed the rubric
- [ ] The set includes should-do and should-not-do cases
- [ ] No item appears in training data or prompt examples

## How do you version a golden dataset?

Version the dataset, the rubric and the baseline score together, so you can tell whether a score moved because the system changed or because the test did. OpenRouter recommends storing all three in Git, with rubric edits visible as diffs in pull requests. Langfuse's platform versions datasets automatically on every change and recommends pinning a version when you compare runs across days or weeks.

Two rules keep history readable. Archive items instead of deleting them, so old runs still make sense (Langfuse). Retire an item only when the behavior it tests no longer exists or its expected answer is now wrong (both Langfuse and OpenRouter). Review the full set about quarterly; OpenRouter says monthly if your product changes fast.

### What one golden item looks like

```json
{"id": "refund-0042", "input": "I was charged twice for my November invoice. Can you fix it?", "expected_output": "Confirms duplicate charge, issues refund for one charge, gives timeline", "rubric": ["Identifies duplicate charge", "Does not ask for card number", "States refund timeline from policy"], "tags": ["billing", "refund", "common"], "synthetic": false, "source": "ticket", "added": "2026-11-28", "dataset_version": "1.0"}
```

## Worked example: a support assistant (illustrative numbers)

These numbers are illustrative, not from a real company. A software company has an AI assistant drafting replies to support tickets and wants to swap to a cheaper model.

- **Pull:** 2,400 closed tickets from the last 30 days. Random sample of 300, plus 40 hand-picked from rare intents (cancellations, security questions).
- **Clean:** Scrub personal data. Deduplicate down to 140 distinct cases.
- **Review:** The head of support reads 100, notes failures, and finds five categories: wrong refund policy, missing escalation, invented features, tone on angry customers, and asking for data the assistant shouldn't request.
- **Label:** She writes pass/fail rubrics for 60 items, 12 per category, using the best human reply as the reference. A second agent labels 15; they disagree on four, so two rubric lines get rewritten.
- **Run:** The current model passes 51 of 60 (85%). Three of the nine failures turn out to be bad expected answers, so those get fixed. Version 1.0 goes into Git.
- **Decide:** The cheaper model scores 49 of 60 but fails 7 of 12 escalation cases. The decision is now specific: switch, but add an escalation rule first, and rerun.

## What we'd do

1. **This week, pull 200 real cases.** Export recent closed tickets or CRM activity for one workflow your AI touches. Scrub personal data before anyone opens it in a tool.
2. **Name one owner.** Pick the person who knows what a great answer looks like, not the person who knows the eval tool.
3. **Read 100 and write down what goes wrong.** Group the notes into five to eight failure types.
4. **Label 30 to 50 items** with pass/fail rubrics, weighted toward your worst failure types, with should-not-do cases included.
5. **Commit version 1.0 to Git** as JSONL with the rubric and today's pass rate. If any test sets still live in OpenAI's Evals dashboard, export them before the November 30, 2026 shutdown date.
6. **Run it on every change** and add every new production failure as a new item.

## Common questions

**What is a golden dataset?**
A fixed, reviewed set of real inputs paired with known-good answers or explicit pass criteria. You run your AI system against it before every meaningful change, so you can see whether the change made things better or worse.

**How many examples does a golden dataset need?**
Start with 20 to 50 reviewed items drawn from real failures. Grow toward 100 to 1,000 for checks on bigger changes, and keep a smaller subset of tens to low hundreds for quick checks on every pull request.

**Is a golden dataset the same as training data?**
No. Training data teaches a model; a golden dataset tests it. If your golden items leak into fine-tuning data or prompt examples, your scores go up without the system getting better, so keep the two apart.

**Who should label a golden dataset?**
Someone who knows the domain well enough to say what a correct answer is, such as a senior support agent for a support bot. One trusted owner should make final calls, with a second person labeling a sample to check the rubric.

**Can I use synthetic data in a golden dataset?**
Yes, to fill gaps where real traffic is thin, such as rare intents or attacks. Flag synthetic items, review them as strictly as real ones, and keep real production inputs as the core of the set.

**How often should a golden dataset be updated?**
Add new items whenever production shows you a new failure. Review the whole set about quarterly, or monthly if your product changes fast, and retire items only when the behavior no longer exists or the expected answer is now wrong.

**What's the difference between a golden dataset and a golden record?**
A golden dataset is a test set for AI systems. A golden record is the single trusted version of a customer or account in your data, merged from duplicates. Both are about trust, but they do different jobs.

**What happens to golden datasets stored in OpenAI's Evals platform?**
OpenAI says its Evals platform became read-only for existing users on October 31, 2026 and is scheduled to shut down on November 30, 2026. If your test sets live there, export them now and store them in your own repository.

## Next move

Pick one AI workflow, export 200 real cases from it this week, and get your best domain expert to label 30. Then read [what AI evals are](https://lowob.com/research/what-are-ai-evals/) to decide how to grade them, and our [OpenAI Evals alternatives](https://lowob.com/research/openai-evals-alternatives/) guide to pick where to run them.

## Sources

- [Anthropic Engineering: Demystifying evals for AI agents, Jan 9, 2026](https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents)
- [Hamel Husain and Shreya Shankar: How many examples do I need for an eval?](https://hamel.dev/blog/posts/evals-faq/how-many-examples-do-i-need-for-an-eval.html)
- [Hamel Husain and Shreya Shankar: Why is error analysis so important?](https://hamel.dev/blog/posts/evals-faq/why-is-error-analysis-so-important-in-llm-evals-and-how-is-it-performed.html)
- [Langfuse: Golden dataset evaluation (vendor guide)](https://langfuse.com/resources/engineering/golden-dataset-evaluation)
- [OpenRouter: Building a golden eval dataset from production traffic, Sep 30, 2026 (vendor guide)](https://openrouter.ai/blog/tutorials/building-a-golden-eval-dataset-from-production-traffic/)
- [OpenAI: Evaluation best practices](https://developers.openai.com/api/docs/guides/evaluation-best-practices)
- [OpenAI: Getting started with datasets (Evals platform deprecation notice)](https://developers.openai.com/api/docs/guides/evaluation-getting-started)

*Last checked November 28, 2026. Written by Chris Wells, **lowob**.*
