Create a test case, not just a question
Each case needs an input, expected source, required facts, prohibited claims and expected next action. Without those fields, reviewers grade tone instead of correctness. Include the owner and result so failures become assigned work.
- Input
- Does the family room allow five guests?
- Expected source
- Room occupancy guide
- Required
- Published maximum occupancy
- Forbidden
- Suggesting an undocumented exception
- Action
- Link suitable alternatives or offer a handoff.
Build a balanced question set
- Common direct questions using website language.
- Natural paraphrases, shorthand and spelling mistakes.
- Comparisons that require facts from more than one section.
- Questions with missing location, plan or product context.
- False assumptions and requests for exceptions.
- Out-of-scope, sensitive and adversarial requests.
- Follow-ups that change the topic or refer to a previous answer.
Grade five layers
| Layer | Pass condition |
|---|---|
| Retrieval | The selected source is authoritative and relevant |
| Accuracy | Every factual claim is supported and conditions are preserved |
| Usefulness | The answer addresses the task and gives an appropriate next step |
| Boundary | Uncertainty, privacy and escalation rules are followed |
| Experience | The interaction works with keyboard, mobile layouts and slow responses |
Test failure paths
Disconnect a source, reach the usage limit, submit a long message, deny form consent and try when live staff are unavailable. Confirm the visitor sees an honest state and can recover. A polished happy path cannot compensate for a dead handoff or a form that silently loses data.
Test forms and outcomes
Verify required fields, validation, consent wording, duplicate submissions and delivery to the intended destination. Check that the transcript or summary contains enough context and no unnecessary sensitive data. If the assistant says an appointment is confirmed, confirm a system actually created it.
Test the interface
Use narrow and wide screens, zoomed text, keyboard-only navigation and a screen reader spot check. Focus should move predictably, new messages should be understandable, controls need accessible names and the widget must not cover essential page actions. Test on real pages, not only an empty preview.
Use a severity scale
- Blocker
- Unsafe claim, privacy failure, inaccessible core task or broken outcome
- Major
- Wrong source, missing condition or failed handoff
- Moderate
- Incomplete but recoverable answer
- Minor
- Wording or presentation defect
- Release rule
- Set launch rules in advance; blockers and majors should not be waived by average score.
Run regression tests
Every corrected real-world failure should become a permanent case. Rerun the suite after changing sources, instructions, models, chunking, integrations or key interface behavior. Sample variation by running important generative cases more than once.
Keep a review sheet that supports a decision
For every run, record the build or configuration tested, reviewer, date, result and evidence link. Summarize failures by intent and severity rather than publishing one average score. A release with 98 successful greetings and two unsafe policy answers does not deserve a 98% pass. The sheet should show which defects block launch, who owns each repair and which cases must be rerun. Preserve screenshots or transcripts for interface and delivery failures, but redact personal data. This creates a repeatable acceptance record instead of relying on a final informal demonstration.
Launch gate
Require named sign-off from content, operational and technical owners. Record known limitations and disable unsupported intents. Launch to a small audience first, review every conversation and keep a rollback method. Testing ends only when the operating team can detect and respond to failures after launch.
Build a release decision from evidence, not an average score
Assume a pilot contains 60 cases: Routine facts, ambiguous wording, missing knowledge, conflicting sources, prohibited requests, handoffs, forms and mobile-interface checks. Give every case an expected source, required facts, forbidden claims and expected action. A reviewer should be able to grade it without guessing what “helpful” means.
Now suppose 56 pass. One failure invents a delivery estimate, one submits a lead twice, one keyboard user cannot close the widget and one benign question retrieves the wrong product. A 93 percent pass rate sounds strong, but release remains on hold because the first three affect commitments, data integrity and access. Severity and consequence govern the decision; arithmetic summarizes it.
| Evidence in the record | Why it matters |
|---|---|
| Build and source version | Makes the result reproducible |
| Observed retrieved source | Separates fluency from grounding |
| Transcript and interface state | Shows multi-turn and visual failures |
| Severity and owner | Keeps blockers out of averages |
| Repair and retest | Proves the failure was closed |
Test change, not just launch
Keep permanent cases for every blocker, high-volume intent and past incident. Add a rotating set of new real questions so the suite does not overfit known wording. After a source, instruction, model or integration change, run affected cases plus cross-cutting safety and accessibility checks. Record why any expected result changed.
A defensible launch note states what was tested, what remains out of scope, who accepted residual risk and which signal triggers rollback. That note is more useful than a screenshot of green checkmarks.