Build an AI Evaluation Set Before Changing Models or Prompts

A new AI model can sound more capable in a demonstration while performing worse on the exceptions that matter to your business. The same problem occurs when a prompt is edited to fix one example and quietly breaks several others.

I would keep a small, controlled evaluation set before comparing alternatives. The purpose is not to prove that AI is universally accurate. It is to establish whether a particular workflow remains acceptable under defined conditions.

Define the task boundary first

Describe one task with a clear input and output: categorize a support request, extract specified fields, or draft an answer from an approved document. Avoid a broad instruction such as “help purchasing” that cannot be judged consistently.

Write down what the system is not authorized to do. A draft-generation test should not give the model permission to send messages. An extraction test should not imply permission to approve invoices. These boundaries belong in the evaluation criteria as well as the application design.

NIST’s AI Risk Management Framework includes resources for managing generative-AI risks. I would use that risk-based approach to choose cases that reflect consequences, not just examples that produce attractive answers.

Collect cases from the shape of the work

Build a representative set using authorized, minimized data or carefully constructed fictional examples. Include routine inputs, incomplete records, conflicting documents, unusual formatting and cases outside the allowed task. Label synthetic examples as synthetic in the test register.

Do not copy private customer conversations into an evaluation tool simply because they are convenient. Check permissions, retention and the provider’s data-handling terms. Preserve enough structure to test the behavior without exposing unnecessary personal information.

Keep a development set for editing prompts and a separate held-out set for comparison. If every test case is repeatedly used to tune the prompt, a good score may reflect familiarity with the examples rather than reliable generalization.

Write reference outcomes before scoring

For each case, record the expected answer or acceptable range, evidence source, critical errors and whether abstaining or escalating is required. Some tasks need exact values; others need a reviewer rubric for completeness and factual support.

An illustrative policy-answer case could require the assistant to identify an effective date and cite the approved source. A fluent answer from an expired policy should fail even if it sounds reasonable. A case with no approved source may require “I cannot establish that from the available material,” rather than a guess.

Use separate measures for correctness, unsupported claims, permission violations and useful completion. Combining everything into one average can hide a serious failure. Record latency and running cost separately from quality so a cheaper response does not silently compensate for an unacceptable action.

Make comparisons reproducible

Record model identifier, prompt version, retrieval settings, source-document version and test date. Run competing configurations against the same controlled cases. Where responses vary across runs, repeat enough cases to see that variability instead of selecting the best output.

Ask a qualified reviewer to judge ambiguous results against the written rubric. If reviewers disagree, improve the criterion before declaring one configuration the winner. A model grading its own output is not sufficient evidence for a consequential business decision.

This work fits within AI consulting and workflow integration. If the evaluation needs a maintained case store or review interface, custom application development can make the process repeatable rather than dependent on a shared chat transcript.

Use failure cases to control release

Set release conditions based on the task’s risk. A forbidden external action should not be averaged away by many easy successes. Review recurring failure types and decide whether to narrow the task, add a deterministic validation step, retain human approval or stop the deployment.

The AI pilot planning guide covers the wider pilot. This evaluation set is the specific regression tool that survives after the demonstration ends. For document workflows, also check knowledge-assistant document permissions.

Keep production monitoring separate: passing a fixed test set does not prove all future inputs are safe. Contact Us if you want to define a bounded test and acceptance process before changing a live workflow.