Skip to content
be-human.ai
← Back to the journal

Testing & reliability

Golden Task Sets for AI Agents: Fifty Real Cases to Score Every Upgrade

How to build a golden test set for AI agents from real business tasks with expected outcomes, so each model upgrade is scored before it touches live work.

Be Human typographic cover with the title: Golden Task Sets for AI Agents: Fifty Real Cases to Score Every Upgrade
Conceptual illustration created with AI · Be Human

A golden test set is a fixed collection of real business tasks, each paired with an expected outcome and a pass rule, that you run against an AI agent before any change reaches live work. Build it from work your team already does, keep the cases stable across model upgrades, and score every candidate against the same set. A new version that cannot clear the set does not take over live work until a person has reviewed the failures.

Key takeaways

  • A golden set is built from real tasks in your own operation, not from generic benchmark questions.
  • Each case needs an observable expected outcome, a pass rule and a named person who settles unclear cases.
  • Freeze the set and add cases only through a logged review, so scores stay comparable across upgrades.
  • Run the candidate and the current production version on the same cases before any live traffic moves.
  • Include refusal, approval and escalation cases, not only the tasks the agent completes successfully.

Why a fixed set beats a fresh impression

A model upgrade usually arrives with a short demonstration. The new version handles two or three familiar requests well, the team feels reassured, and the change goes live. A few good runs cannot show what got worse. A quiet regression might appear only in refund requests with partial deliveries, in invoices that mix two currencies, or in tasks where the agent should stop and ask a person.

A golden set fixes that comparison. It is a fixed collection of real inputs with expected outcomes, so the same questions are put to every version. Fixity matters. If the cases change each time, you cannot tell whether the model improved or the test got easier. The set does not prove that an agent is good. It shows where a candidate differs from the version already doing the work, and it gives the owner a concrete reason to read those differences before anything changes in production.

How many cases make a useful set?

For one workflow, a set of around fifty cases is a practical target. The exact number matters less than coverage and upkeep. Twenty carefully chosen cases that a reviewer reads regularly are more useful than two hundred cases nobody has examined since the process changed.

Spread the cases across the kinds of work the agent will meet, because a set made only of routine tasks will pass a model that fails on anything unusual:

  • Routine completions, the common work that makes up most of the volume.
  • Edge cases, such as partial information, unusual formats or conflicting records.
  • Approval cases, where the correct result is to prepare an action and wait for a named person.
  • Refusal and escalation cases, where the agent must not act and must route the work to a human queue.
  • Tool failure cases, where a system returns an error, a timeout or an empty result.

Build the set in six steps

Build the first version in one focused session with the person who owns the process, not with the engineer who configured the agent alone. The owner knows what a good result looks like and which mistakes are expensive.

  • Choose one workflow with a named owner and a clear end state, such as drafting a supplier reply or matching a delivery note against an order.
  • Pull inputs from work the team already closed, anonymized where needed, and keep each input exactly as the agent would receive it, including messy formatting.
  • Write each expected outcome as something you can observe: the field that must be filled, the tool call that must or must not happen, the queue where the case must land.
  • Assign a pass rule to each case. Mark hard failures, such as an action taken without approval or a wrong recipient, separately from soft ones, such as tone or length.
  • Flag the cases where two competent people would disagree, and settle the rule now with the owner rather than in a later review meeting.
  • Record a baseline by running the current production version on the full set before testing any candidate.

Write expected outcomes a reviewer can check

Vague expectations produce vague scores. A rule such as 'the reply should be helpful' cannot be checked by a person or a script. A usable expectation names what must be true at the end of the run.

Illustrative scenario: a customer writes that a delivery arrived with a cracked item and asks for a replacement. The expected outcome is that the agent opens a replacement request only when the order record contains a damage report. If no report exists, the agent asks for a photo and routes the case to the support queue. The hard failure is any replacement created without a damage report, however polite the reply reads.

Where the outcome depends on judgment, such as the tone of a difficult message, an automated grader can help, but it needs its own checks. A grader can be consistent and still consistently wrong, so spot-check its verdicts against a person before relying on them. The guide to LLM judges for agent evals covers where they tend to mislead. Anthropic's engineering notes on evaluating agents also make the case for judging both the final state of a run and the path that produced it.

Score every upgrade against the current version

Run the same set on the candidate and compare the results with the baseline. Read three things in order.

First, hard failures. Any hard failure that appears in the candidate and not in the baseline stops the upgrade until the owner has read the transcript. An average score cannot offset an unapproved action, so do not let it try.

Second, regressions. Cases that passed before and fail now matter more than new passes, because they are the failures a user would notice as a broken promise.

Third, cost and speed. A model that passes every case but takes far longer per run or makes many more tool calls can break a workflow that has a deadline or a budget. Compare latency and tool calls per case alongside the pass results.

Set the acceptance threshold before the run, write it down, and get the owner's agreement. Agent outputs can vary from run to run, so repeat the cases where variation matters and record how many runs each result rests on. A single pass on a variable task proves less than it appears to.

Keep the set current without teaching to the test

A golden set goes stale. Processes change, product names change and new failure types appear. Retire a case when the work it represents no longer exists, and record the reason. Add cases from incidents: when a live run goes wrong, the input that caused it belongs in the set once the team has reviewed what happened. The guide to retiring stale eval cases covers how to do this without losing the history.

Teaching to the test is the other risk. If the team tunes prompts until every case passes, the set stops measuring anything useful. Keep a small holdout of cases that the team reads only at release time. The NIST AI Risk Management Framework treats measurement and ongoing monitoring as part of managing AI risk, which is why the set belongs in daily operations rather than in a one-time project.

Where Be Human's managed approach fits

Be Human's managed approach starts from the same questions: which one workflow matters, who owns it, and what observable result would show that it works. The first engagement defines the role, the memory and tools it needs, the approval boundaries and one success criterion, and that criterion becomes the first cases in the golden set. In managed operations, the set runs whenever a model, prompt, tool or permission changes, failures are reviewed with the owner, and each approved change is recorded before a candidate receives live work. The set is maintained as operating practice, not treated as a single test.

If you are not yet sure which workflow has enough repeatable real work to start with, take the free Be Human AI diagnostic to find the first task worth handing to an agent.

Frequently asked questions

Can public benchmarks replace a golden test set? Public benchmarks measure general capability on questions written for no particular business, so they say little about your approval rules, your systems or your records. They can help you shortlist models, but the decision to upgrade a live agent should rest on cases drawn from your own work. Use public results as a first filter and your golden set as the final gate.

Who should own the golden set? The process owner should own the expected outcomes and pass rules, because they know what a correct result looks like and who may approve an action. Engineering maintains the harness that runs the set and records results. Small teams often give both roles to one person, but the two decisions should still be written down separately, so a passing score is never mistaken for an agreed business judgment.

How often should the set run? Run it before every model, prompt, tool or permission change, and also on a regular schedule when nothing has changed, because a provider can update a model behind a name that stays the same. The right interval depends on how much harm a silent failure could cause. A workflow that moves money or contacts customers deserves more frequent runs and faster review than an internal summary task.

What if the candidate passes every case? Treat a clean pass as a reason to check coverage, not as permission to ship. Ask whether the set contains the cases where the agent failed before, whether approval and escalation cases are represented, and whether the inputs still match what the team receives today. A perfect score on an old set can hide a gap that opened with the last process change, so review the set itself before approving the candidate.

Your next step

See where an AI agent fits in your company first.

Take the free Be Human AI diagnostic. A few questions about your work show which task to hand to an agent first, what it needs to know and where a person approves.

Be Human editorial guidance. Examples are illustrative unless explicitly attributed. Sources provide background; implementation choices depend on your workflow.

Less busywork. More room for you.

Bring us the work you wish you had time for.

Book a call to try a personalized AI agent free for 7 days ↗Or take the free AI diagnostic →