Acceptance Testing a Policy AI Assistant When Revisions Conflict

A buyer's test protocol for an internal policy assistant that sees superseded, draft and approved revisions: a fictional travel booking example, per-case pass/fail evidence and a human-approved release gate.

Published by Mentrix Digital ·

Article cover: Acceptance Testing a Policy AI Assistant When Revisions Conflict

Key points

  • The assistant answers only from the revision that is approved and in effect on the relevant date. Status and effective-date metadata decide this, not the model's reading of the text.
  • When two approved documents contradict each other, the assistant does not pick one. It says it cannot confirm the rule and escalates both document IDs to the policy owner.
  • Acceptance is pass/fail per case with evidence. A single failed critical case blocks release, and averaged evaluator scores are supporting signals only.

What this protocol tests, and how it differs from building the assistant

An assistant can find several versions of a policy and cite the wrong one: an unapproved draft, a superseded revision or a note a supervisor once posted in chat. Because these answers cite a real document, they look trustworthy while being unusable.

This is a protocol for the buyer to accept work from whoever builds the assistant, not a guide to building it. The travel company and its booking policy are fictional, nothing here is legal advice or a client result, and passing these tests does not guarantee every live answer will be correct.

If you are still scoping access, sources and the portal itself, read custom websites with AI knowledge assistants →

Define the authoritative revision before testing

You cannot test against an unwritten rule. Have the policy owner define the metadata every document must carry: policy ID, revision, status (draft, approved, withdrawn), approver, effective date, end date and audience. Then agree one rule: answers come from the approved revision in effect on the relevant date, and chat messages or emails are never a source.

Take a fictional tour operator whose group-tour date change policy says the revision in effect on the day the customer requests the change applies. Its repository holds:

  • CHG-02: approved, effective 1 June 2026, superseded by CHG-03. Free change with 14 days' notice.
  • CHG-03: approved, effective 1 November 2026. Free change with 21 days' notice; shorter notice goes to operations for review.
  • CHG-04: approved, effective 1 January 2027. Free change with 30 days' notice.
  • CHG-05: draft, not approved. Proposes free changes for corporate accounts in all cases.
  • A sales-team chat message from a supervisor: “For now, allow free changes up to 10 days before departure.”
  • Supplier penalty table: approved, readable by finance only.
Human reviewer comparing conflicting policy binders
When two policy binders disagree, record which version is in force and from what date before any testing starts.

Worked test cases with expected results

Write the expected result before each run and pin the test environment's date so effective-date cases are repeatable. The cases below assume a test date of 21 November 2026. Each one checks the answer, the cited document and what must not appear.

  • A booking agent asks: “Customer is changing dates today, departure is in 18 days. Is it free?” Pass: answers from CHG-03 that the free window does not apply and the request goes to operations, citing CHG-03 and its effective date, without using the 10-day figure from chat.
  • “If the customer requests the change on 5 January 2027, how much notice is needed?” Pass: answers from CHG-04, states its effective date and notes CHG-03 applies before then.
  • “Corporate accounts can always change for free, right?” Pass: does not confirm the CHG-05 draft and answers from the revision in effect.
  • The tester adds a second approved document, CHG-03B, with the same effective date but a 25-day window. Pass: picks neither, says the rule cannot be confirmed and opens an escalation to the policy owner listing both IDs.
  • A booking agent asks about supplier penalties. Pass: no figure or paraphrase from the finance table leaks; the answer says it is outside the agent's access and points to finance. A finance user asking the same question gets a cited answer.
  • A question the policy does not cover, such as visa paperwork. Pass: says the approved sources do not cover it and points to the right channel, rather than answering from the model's general knowledge.
  • Access is revoked or a document is marked withdrawn. Pass: after the delay agreed in the scope, the document is no longer used, including from any cache.

Per-case evidence, and where evaluator scores fit

Record for every case: question, user role, test date, retrieved document IDs and revisions, full answer, citations, expected result, pass/fail, reviewer and notes. Log what was retrieved even when the answer is right. If a draft or out-of-scope document was retrieved and the model simply happened not to use it, the exposure is still there, and access cases should fail.

Microsoft Foundry offers RAG evaluators such as groundedness, relevance, retrieval and response completeness, which help spot trends across large question sets, and Microsoft's guidance on testing knowledge-grounded agents recommends varied scenarios, including questions the sources do not cover. But a high groundedness score only says the answer sticks to what was retrieved. If that was the superseded CHG-02, the answer is still wrong. Treat scores as supporting signals and base acceptance on human-reviewed pass/fail per case. Tool names and features change, so check current documentation.

Knowledge editor checking an answer against a source manual
Log per-case evidence by checking each answer against the cited manual page rather than relying on an aggregate tool score.

Release gate and human sign-off

Split cases into two groups. Critical cases, covering access, drafts, conflicting approved documents and effective dates, must all pass: one failure means no release, and no average can offset it. Answer-quality cases, such as completeness or brevity, get minimum thresholds agreed in the scope.

Release is signed off by the policy owner and the lead of the team that will use the assistant, on the per-case report, never by the build team alone. After launch, rerun the suite whenever a policy revision is published, the model changes or indexing changes, and sample live answers regularly. Track critical cases passed, answers citing a revision not in effect, escalations to the policy owner and time to close them.

For help building a policy assistant with an acceptance suite your own team can run, see Custom AI Solutions for Business →

Office manager approving a document at a desk
The approver signs off on release only when the agreed cases pass against criteria set in advance.

Want help applying this?

Tell us about your situation and we will suggest a scoped next step. We do not promise specific rankings, leads or revenue.

Discuss your project

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.