Skip to content
DevLaunch home

Best practice · Agent orchestration

Build a Small AI Evaluation Set from Real Work

Create a repeatable set of normal, ambiguous, and unacceptable cases before changing an AI workflow’s instructions or tools.

By DevLaunchPublished

An AI workflow seems better after you improve its instructions. The next example reads more smoothly, and the team likes the tone. But did the workflow get better at the job, or did it just produce a nicer answer to one familiar question? A small evaluation set gives you something steadier than an impression.

Choose a narrow job to evaluate

Pick one task with a result people can judge: classifying an inquiry, extracting fields from a request, or drafting a reply from an approved policy. Do not try to evaluate your entire business assistant with a single score. Different tasks fail in different ways and need different checks.

Gather examples from actual work, with permission and appropriate handling of sensitive data. Where that is impractical, create labeled fictional cases based on the patterns you need to handle. Keep the distinction visible. Synthetic examples help test behavior, but they are not evidence of performance on your real workload.

Include uncomfortable examples

A useful starter set contains ordinary inputs, missing information, conflicting details, and requests the system should decline or route to a person. For a fictional appointment business, include a clear booking request, a message without a date, and a request for a service the business does not offer.

Write the expected behavior before running the model. Sometimes several answers are acceptable. The criterion may be that the draft asks for the missing date without inventing availability. Do not demand an exact sentence when the business requirement is a correct decision.

Score the parts that matter

Use separate checks for factual correctness, required fields, inappropriate promises, and the quality of the next action. A readable answer with a false claim should not receive an overall pass just because its tone is good. Mark critical failures distinctly so an average cannot hide them.

NIST's AI RMF Playbook includes evaluation and management as ongoing responsibilities. For a small team, that can translate into a named reviewer, written criteria, and a record of what changed. The scorecard should help you choose an action, not become a report nobody uses.

Compare versions on the same inputs

Save the instruction version, relevant tool settings, and results. Run both the current version and the proposed version against the same cases. Ask reviewers to judge the outputs without assuming that newer is better. Investigate disagreements rather than quietly adjusting the expected answer to match the model.

Keep some examples out of routine prompt editing. If you repeatedly tune against every example, the set becomes less useful as a check on unfamiliar work. Add new cases when real failures appear and retain earlier failures as regression checks.

Start small and repeat

Begin with a manageable set your team can review carefully, even ten varied cases. That number is a starting exercise, not a statistical guarantee. Expand it as the stakes and range of inputs grow. Before your next instruction change, write down what success means on those cases and compare the outputs side by side.

Sources & further reading

Keep building

View topic →