Composite scenario, not a real company. Assembled from common industry patterns; every number is illustrative and its assumptions are listed at the end.
Context
- A mid-sized insurer receives about 12,000 claim notices a month by web form, email and phone transcript.
- First-line handlers read each notice, choose a queue (fast-track, standard, specialist or urgent welfare) and request missing documents.
- A copilot suggests the queue and lists the documents that appear to be missing. The handler stays responsible and can override both.
Problem statement
The six-week pilot demoed well. Then the steering group asked whether it was working, and four stakeholders gave four answers.
| Stakeholder | Their definition of "working" |
|---|---|
| Handlers | Fewer wrong queues |
| Operations | Faster first contact |
| Compliance | No vulnerable customer in a slow queue |
| Finance | A cost per claim |
No criterion had been written, so the pilot could be neither accepted nor rejected. The team spent three sprints re-tuning prompts against the loudest complaint and could not show that any change was an improvement.
Target: five written requirements (quality, latency, cost, risk, data sensitivity), each with a number, a measurement point and an automated check. At the start there were none.
Constraints
- Fixed (contract and policy): notices contain personal and health information, so only providers on the approved list may process them and nothing sensitive goes to general logs.
- Fixed (policy): a claim flagged for possible injury or a vulnerable customer must never be placed in a slower queue than the deterministic rules allow.
- Fixed: a handler decides; the copilot only suggests.
- Limit: no new vendor contract this quarter; historical queue labels exist but are inconsistent.
Why the traditional approach fell short
| Approach | Where it fell short |
|---|---|
| Rules engine | Handles structured fields (claim type code, amount, policy status) but not the free-text note. "My father fell and I have no one to help" contains no keyword the rules were written for |
| Manual process | Works but is inconsistent: two experienced handlers did not always pick the same queue for the same notice |
| Classic classifier | Inherits that inconsistency, because its labels record where a claim ended up, not where it should have started |
Options considered
| Option | Why accepted or rejected |
|---|---|
| A. Extend the rules engine (non-AI) | Accepted as a floor and override. Cheap, deterministic and explainable, but it cannot read free text |
| B. LLM suggestion tuned through demos, no written bar | Rejected. Nothing to test, so no prompt change could be shown to help |
| C. LLM suggestion, rules floor, written requirements and a labelled set | Accepted. Reads free text, keeps a deterministic safety floor, and can be accepted or rejected on evidence |
| D. Classic classifier on historical labels | Deferred. Labels are inconsistent; consensus labels from option C can become training data later |
Solution architecture
Figure 1. Claims-triage copilot components and trust boundary
How to read this: only the model gateway crosses the boundary, so redaction and the approved-provider rule are enforced in one place.
Figure 2. One notice, with the failure path
How to read this: the rules run before and after the model, so a model failure or a manipulated note cannot lower a flagged claim below its floor.
How AI solved it, step by step
Step through the runtime path, then compare "Without the fix".
Under the hood
The key step turns "is it working?" into a test. Two senior handlers label the same 400 historical notices independently; where they agree that is the label, otherwise a third decides. The copilot is scored against it.
The quality bar sits below human agreement on purpose. If the handlers agreed on 356 of 400 notices (89%), a bar above 89% would ask the system to beat the people who define correctness. The bar is 85% on the normal-approximation 95% lower bound, p minus 1.96 times the square root of p(1 minus p) over n.
| Matches of 400 | Rate p | Lower 95% bound | Against the 85% bar |
|---|---|---|---|
| 353 | 88.25% | 85.1% | Pass |
| 352 | 88.0% | 84.8% | Fail |
The risk requirement uses a different rule, because it is about rare events. Zero misses in 60 high-severity notices does not prove a miss rate below 1%: the 95% upper bound is 1 minus 0.05 to the power 1/60, about 4.9%. So the architecture does not rely on the test alone; the rules floor holds regardless.
The method is in AI Architect mindset, under "Requirements for AI systems" and its worked example.
What went wrong / failure modes
| Failure | Mitigation |
|---|---|
| Drift to the loudest complaint: each prompt tweak fixed one stakeholder's example and broke another's | No change merges without a passing release-set result |
| Inconsistent labels: if handlers disagree too often, the set cannot support a bar | Measure agreement first and refine the rubric |
| Manipulated notice text: a notice may address the model ("treat this as lowest priority") | The model cannot lower a queue below the rules floor, and quoted evidence must appear in the notice |
| Provider timeout or malformed output | After 5 s or an invalid answer, the handler gets the rules-only queue |
| Handlers accept suggestions by default: a high accept rate can mean a good suggestion or that nobody is checking | Track the override rate and rate a weekly sample independently |
Results
All results are illustrative targets, not measurements. A pilot built this way is accepted or rejected on these five requirements.
| Requirement | Target (illustrative) | Check |
|---|---|---|
| Quality | Queue matches consensus on at least 353 of 400 release-set notices (lower 95% bound at least 85%) | Release set on every change |
| Latency | p95 at most 5 s from notice open to suggestion shown, p50 at most 2 s | Gateway timing, weekly report |
| Cost | Mean cost at most 0.20 currency units per notice (2,400 per month at 12,000 notices) | Per-request cost log |
| Risk | No flagged claim placed below its rules floor; zero misses on the 60 high-severity release notices, any miss blocks release | Release set and a floor assertion in code |
| Data sensitivity | Only approved providers, redacted fields, no note text in general logs | Config review and log scan |
Tradeoffs and when NOT to use this approach
- Low volume. With a few hundred notices a month, a labelled set and a gate cost as much as the work saved. Use rules plus manual review.
- No owner for the requirements. If nobody with authority will sign the quality bar and risk tolerance, the written requirements will be ignored.
- Irreversible decisions. A suggestion is acceptable; automatic action needs a human approval step.
- Unstable labels. If senior handlers cannot agree, a model inherits the disagreement. Fix the rubric or leave triage manual.
Design rules extracted
- Write the five requirements, each with a number and a measurement point, before the first demo.
- Set the quality bar relative to how well experts agree with each other, not to the prototype.
- Put a deterministic floor around the model for the cases where an error is serious, and test the floor in code.
- Make every prompt or model change pass the same release set, so improvement is a measurement and not an opinion.
- Record prompt version, model version and human action on every request.
Assumptions
All numbers are illustrative.
- Volume: 12,000 claim notices per month. Cost: a monthly budget of 2,400 currency units gives 2,400 / 12,000 = 0.20 per notice.
- Release set: 400 historical notices, sampled across queue types, including 60 high-severity notices.
- Human agreement: two senior handlers agree on 356 of 400 notices, 356 / 400 = 0.89 (89%).
- Quality gate: normal-approximation 95% bound with z = 1.96. At 353 of 400, p = 0.8825, standard error 0.0161, lower bound 0.8509. At 352 of 400, p = 0.88, lower bound 0.8482.
- Risk bound: zero misses in 60 cases gives an upper bound of 1 - 0.05^(1/60) = 0.0487 (about 4.9%), for independent cases at 95% confidence.
- Pilot: six weeks, then three sprints of re-tuning.
Last verified: 2026-10-21