An acceptance test for a generative AI feature
Hexwave Lab · Field noteDefine an unacceptable output in concrete terms and preserve it as a regression example.

A plausible draft can pass a superficial demonstration. Give the model an incomplete source and ask what the user needs to see before approving the result. A missing detail should remain explicit in the draft.
A worked scenario
An internal writing tool prepares a summary of policy changes for a customer support team.
| Review stage | Example |
|---|---|
| Source records | An approved policy revision and an old support article |
| Exception | The old article contains a conflicting exception |
| Acceptance condition | The reviewer can trace the draft to the governing revision |
Build an evaluation set people understand
Collect a mix of ordinary, borderline and invalid examples. For each one, record the expected disposition and a short explanation. Reviewers should be able to disagree with the label and leave a reason, especially when business policy is still evolving.
Keep a versioned sample outside daily tuning. Run the same examples after changing a prompt, model, workflow rule or source document. Investigate newly introduced errors separately from previously accepted limitations.
Treat the instruction as a versioned artifact
Keep the intended user task, allowed source material, requested output and failure behavior beside a prompt. Save representative examples and the version that produced each result. A small wording change can affect which cases ask for clarification.
Compare two versions on the same held-out inputs. Record where one improves the result and where it introduces a new error before selecting a default.
Handle language variation explicitly
An intake message may describe the same request using a different vocabulary, language or order of details. Define the structured fields the system is expected to infer and a way for the sender or reviewer to correct them.
Compare a complete request, a shorthand request and a request with conflicting details. Measure the quality of clarification as well as the rate of successful extraction.
Putting it into practice
Score source support and usability separately. A fluent draft that invents an approval date belongs in the correction set even if it reads well.
Explore Hexwave Lab’s approach to AI workflow automation.