All frameworks and cheat sheets

Process

How to build a golden set for AI evaluation in 7 steps

Process showing seven steps to build an AI evaluation golden set, from defining the unit and sampling production to double-labelling and a sealed holdout.
The user sessions in step 4 decide whether the set predicts satisfaction or nothing.

A seven-step method for building a golden evaluation set for an AI product: define the unit, oversample production traces, stratify, write acceptance criteria with real users, double-label and measure agreement, adjudicate, then freeze, version and seal a 20% holdout. It is for product and ML teams who need an eval set that catches real regressions. Koji runs the user sessions in step four as async AI-moderated interviews.

Where this appears

What's in this process

  1. Define the unit: One item is one input the system must handle, with its context.
  2. Pull 5x your target from production: Strip PII before it leaves the logging system, not after.
  3. Stratify and downsample: By segment, task type, input length and difficulty. Record the strata.
  4. Write criteria with users: Run structured interviews on a sample of items, then generalise the criteria to the rest.
  5. Double-label and measure agreement: Two people label the full set. Below 0.4 kappa, rewrite the criteria. Aim for 0.7 or above.
  6. Adjudicate disagreements: A third rater decides, and each call is a bug report against the criteria.
  7. Freeze, version and seal a holdout: Keep 20% sealed to catch the day the team starts optimising for the visible set.

Use this image

Free to use in your docs, decks and posts under CC BY 4.0, as long as you credit Koji with a link to this page. To embed it, paste this into your page:

html
<a href="https://www.koji.so/visuals/how-to-build-an-ai-eval-golden-set-seven-steps"><img src="https://www.koji.so/visuals/how-to-build-an-ai-eval-golden-set-seven-steps/how-to-build-an-ai-eval-golden-set-seven-steps.png" alt="Process showing seven steps to build an AI evaluation golden set, from defining the unit and sampling production to double-labelling and a sealed holdout." width="1080" height="1080" /></a>
<p>Source: <a href="https://www.koji.so/visuals/how-to-build-an-ai-eval-golden-set-seven-steps">How to build a golden set for AI evaluation in 7 steps</a>, Koji</p>