Test an AI Assistant on Two Cases That Differ by One Fact

By Abdallah Atef

An AI assistant recommends replacing a part under warranty. The policy it cites is real. The quoted rule is accurate. But the warranty expired before the claim was filed. The assistant answered the right policy question for the wrong case.

Before approving a workflow like this, ask the team to show you two near-identical cases. Change one fact that should change the decision. Then see whether the assistant changes its recommendation for the right reason. This is a test of whether it uses the evidence it cites, not just whether it finds the right document.

Begin with the fact that changes the decision

In an invented warranty workflow, the process owner defines the rule: a claim filed on or before the recorded expiry date can proceed to an eligibility review, assuming the other required facts are present. A claim filed after expiry goes to the exception queue. Neither route authorizes the assistant to issue a replacement.

Create two synthetic claims for the same product, with the same issue and the same expiry date. In the first, the filing date is one day before expiry. In the second, it is one day after. Expect the first to enter eligibility review and the second to enter the exception queue. Ask the assistant to identify the filing date it used and the applicable rule in each case. A correct route with the wrong rationale is not strong enough evidence for release.

Check when the decision should stay the same

Now change only the wording of the customer’s message. An impatient tone should not send an expired claim into the on-time review route. Then make a separate case with the filing date missing. The expected behaviour is to request the specific missing fact or route the case to a human, not to treat the claim as either on time or late.

These checks distinguish three abilities: changing a decision when the relevant evidence changes, keeping it stable when the change is irrelevant, and withholding the decision when the necessary evidence is missing. Score the route and the reason separately. A tidy explanation can hide a bad route, and a correct route can conceal a guess.

Make the test usable in a release review

Have the process owner write down the expected outcome before anyone runs the test. Record the starting facts, the one change, the required route, the evidence the assistant should use, and the consequence of a miss. Run each case in a fresh session under the same workflow and configuration. If the assistant can trigger an action, observe that boundary in a safe test environment without creating real claims or replacements.

Put the paired cases in the test plan alongside a separate set drawn from representative work. The paired cases show whether a particular business boundary holds; they do not estimate how often failures occur in production. Keep at least one fresh variation out of prompt tuning. If the same high-consequence failure appears again, keep that decision with a person until the control is fixed and retested.

Ask for the pair before you approve the pilot

The Adoption Roadmap in my VORTA material connects test cases and exit criteria to the decision to proceed. The NIST AI Risk Management Framework, particularly MEASURE 2.1 and 2.3, likewise emphasizes documenting tests and evaluating performance in conditions similar to deployment. The paired-case method above is a practical application, not a test prescribed by NIST.

At the next demonstration, ask: “Which single fact would change this result, and can you show me both outcomes?” If the assistant handles the tested pair as expected, use an independent review checklist to check whether a human can spot the failure when it happens.

If you’re defining the release criteria for an AI assistant, schedule a consultation to identify the decisions and exceptions worth testing first.

Abdallah Atef home

Copyright © 2025

abdallahatef.com All rights reserved.