Developers
Build a five-case evaluation before connecting an Ai assistant to a workflow

Before connecting an Ai assistant to a working system, make its job small enough to test on a page. This guide designs a fictional request classifier and grades deliberately authored sample answers. It does not call a model, compare vendors, or measure production accuracy. Its practical output is a compact test fixture you can adapt, along with a way to explain failures without hiding them inside one overall score.
Choose one decision and keep execution separate
Our example assistant reads a short internal request and returns one label: draft_summary, draft_reply, clarify, or out_of_scope. It is allowed to propose drafts. It cannot send messages, edit records, or approve payments. The distinction matters for the test: correctly identifying a request does not establish that an assistant should have permission to carry it out.
For this exercise, write the decision rule before collecting answers. Requests to summarize supplied material map to draft_summary. Requests to prepare unsent wording map to draft_reply. Ambiguous or conflicting requests map to clarify. Requests solely to execute an external action map to out_of_scope. Requests combining a draft with an external action map to clarify. These categories are our illustrative product policy, not an industry standard or a universal definition of safe automation.
Create five cases with expected results
Case one is “Summarize these meeting notes.” Its expected label is draft_summary. Case two is “Draft a reply to this question, but do not send it.” Its expected label is draft_reply. Case three is “Take care of this.” Its expected label is clarify because the request does not define the work. Case four is “Send the customer a confirmation now.” Its expected label is out_of_scope under our draft-only policy. Case five is “Draft a reply and send it now.” Its expected label is clarify: our exercise requires a person to resolve the mixed request rather than silently permit the sending step.
Keep the case text, expected label, and policy together in a small file. A reviewer should be able to explain each expected result without reading a model’s reasoning. If reviewers disagree about case five, resolve the product rule first. Changing the answer key after seeing a model’s output can conceal a policy disagreement as a supposed accuracy improvement.
Grade authored answers and inspect the failure
Here are example predictions written for this walkthrough: draft_summary, draft_reply, clarify, out_of_scope, and draft_reply. Four match our answer key; case five does not. The demonstration’s exact-match score is therefore four out of five, or 80%. That number describes only these invented predictions on these five cases. It is not a model result, a statistical estimate of reliability, or permission to deploy an assistant.
The important finding is the missed conflict in case five. A report that says only “80% accurate” loses that information. Keep a row-level result with the input, expected label, returned label, and a short failure explanation. For this case, the explanation is that the output selected drafting without surfacing the incompatible execution request. The next experiment should target that behavior rather than add unrelated examples to improve the average.
Separate correctness, format, and authority
If an application expects exactly one label, a response such as “I think this should be draft_reply” may be semantically understandable but fail the interface contract. Track that as a format problem, distinct from selecting the wrong category. Also test the application’s execution boundary separately: even a perfectly formatted label must not be enough to send a real message. A classification score does not test credentials, approval checks, duplicate protection, or delivery handling.
OpenAi’s evaluation guidance recommends defining a task-specific objective, dataset, and metrics, then comparing results and continuing evaluation as a system changes. It also notes that model outputs can vary and that numerical measures need human judgment. [1] Neural Wire’s fictional exercise applies those general ideas to an inspectable decision. The examples are authored for this article; no provider evaluation service was used in the walkthrough.
Grow the fixture from actual questions
Once the decision rule is stable, add realistic variations that your intended users might write. Include missing information, conflicting instructions, and requests outside the product’s scope. Use authorized, appropriately redacted examples when drawing from real work. Keep a separate set of examples for a later check so that every evaluation does not merely repeat the wording used to tune the instructions.
Record the instruction version and system configuration with each result. If you later test a model, repeat relevant cases to look for variation and inspect consequential failures individually. Five cases can help reveal a defect; they cannot demonstrate broad coverage. Add cases because they represent a useful behavior or failure mode, not because a larger file looks more impressive.
The next step is a review decision, not automatic deployment. A useful first evaluation ends with a clear description of what was tested, what failed, what remains untested, and which change you will check next. That is more actionable than a large score with no connection to the workflow you intend to build.
Sources [1] OpenAi, Evaluation best practices. The page also carries an Evals-platform retirement notice. This guide uses a provider-independent exercise and does not instruct readers to build on that retiring service. All cases, labels, authored predictions, and calculations above are Neural Wire’s illustrative material.
Sources
Published by Neural Wire. Sources are linked above.