Preparing regression tests for an insurance product change means connecting the approved rule to expected results and the evidence a reviewer needs. This Think Fast walkthrough explores how AI specialists can assemble that proposal. In the saved routing experiment, whole-workflow inference cost was 21.74% lower with Decision-1 choosing the next specialist than with GPT routing, across the matched completed cohort. The Python handoff code and results below help explain what became cheaper and where a person still needs to check the work.
This is Part 5 of Maximizing AI in Insurance Workflows, introduced in the claims article, following underwriting intake, policy servicing and the evaluator comparison. The routing question carries through the series: GPT-5.6 Sol chooses the next specialist in one version; Microsoft Decision-1 scores the available choices in the other. Both versions use GPT workers, so we can examine the consequences of changing who directs the work.
We’ll use a synthetic calculation-rule change to follow the requirement review, configuration check and proposed regression tests. A diagram shows the handoffs, and the application-selection image shows the supplied request. The saved cost and timing results come from the actual experiment but my visualization flowchart demo tool wasn’t playing well with others so no good screenshot from that, this time.
The most useful output connects the requirement, expected result and missing evidence for a reviewer.
What the reviewer actually needs
A change in configurable insurance software can be small enough to describe in a sentence while its supporting evidence is spread across several systems. The difficult part of review is often working out whether those systems are ready for the same change.
Which version of the procedure and corresponding schema applies? Once that is settled, the reviewer still needs validatoon. We can get some help by checking the schema but that’s not the whole picture.
A review packet brings those questions together by linking requirements to expected behavior and proposed boundary and negative tests. It also identifies the proof still needed for a release decision. That could reduce the work of reconstructing the change during review, although this experiment measured neither reviewer hours nor realized business savings.
The source design contains five variants: a referral threshold, an effective-date boundary, a required field, calculation order and an approval prerequisite. Each is combined with five evidence conditions, ranging from complete supplied information to conflicting or stale evidence. Together they provide synthetic exercises for exploring how the workflow handles uncertainty.
A small example with a representative failure
Take the supplied l1-discount scenario. The base is 100 synthetic units. What is the unit of measurement? Maybe it’s dollars or maybe it’s pizzas. Come on, it’s just to make a point. The approved order is a 10-unit reduction followed by multiplication by 0.8. 10 pizzas.
| Proposed test | Expected result | What it checks |
|---|---|---|
| Apply the supplied order | (100 - 10) × 0.8 = 72 |
The expected behavior follows the stated requirement. |
| Reverse the operations | 100 × 0.8 - 10 = 70 |
A negative test can expose an order-of-operations defect. |
The registered rule-order-calculate tool computes both values from immutable fixture inputs using decimal arithmetic. Keeping that calculation in registered code gives the agent a dependable expected result without asking it to estimate an answer or generate an expression for a tool to execute.
Does obtaining the correct result mean the product test passed? No, because the fixture calculation verifies only the arithmetic used to design the test. Showing that an insurance system returns 72 requires executing the proposed case against the actual implementation and retaining its result.

Actual application selection, November 19, 2026, workflow revision 212c90a2…. This is the product-testing request, not a completed comparison or a historical benchmark capture. The request area’s scrollbar limits how much text is visible; the example above explains the supplied calculation. Open full size.
Five responsibilities, with evidence between them
Think Fast uses five workers for this workflow:
| Worker | Its contribution |
|---|---|
| Change intake | Bound the requested change, selected scenario and evidence constraints. |
| Requirement review | Establish which supplied rule applies and preserve approval or version gaps. |
| Configuration review | Compare supplied configuration facts and use registered fixture checks or calculations. |
| Regression design | Propose traceable boundary, negative and applicable compatibility tests with expected outcomes. |
| Release review | Assemble the packet from current specialist results and identify missing release proof. |
For the calculation-order variant, all five are required. Configuration review needs the requirement result, and regression design needs both, so the prerequisites accumulate as the proposal develops. Final review must use every other required worker’s current result, even though its base role definition names intake alone. That last detail matters when reading the diagram or implementation: the effective gate includes more than the base role declaration.
Design, not an observed execution trace. Arrows summarize cumulative prerequisites; they do not imply independent parallel work. The advisory release-review worker has no authority to deploy. Open full size.
Both routing approaches use the same required work and application-owned gates. The router chooses the next eligible worker within those rules. Even this small arithmetic example therefore goes through configuration review; the application owns that prerequisite regardless of which model directs the workflow.
Keeping a handoff current after a correction
Suppose configuration review produces a result and regression design uses it. A correction then requires configuration review to run again. The role has completed twice, but regression design still refers to the first result. Recording only “configuration review completed” leaves the final reviewer with a reassuring label attached to the wrong version.
The shared runtime records dependency visit identities. The following is an excerpt from WorkflowService._visit in the already-public execution snapshot which I think shows the logic.
visit_id, dependencies = state.start_visit(role)
evidence.invalidate(state.state_id, {v.visit_id for v in state.current.values()})
session = worker_session(execution, role, visit_id)
for dependency in definition.dependencies(role):
upstream, issued = sessions[dependency]
for fixture_id in issued:
if fixture_id in gate.required_fixture_dependencies(role):
session.bind_prerequisites(upstream.completion_evidence(fixture_id))
agent.default_options["tools"] = accounted_tools(session, client)
binding = {
"profile_id": self.case_id, "worker_id": role, "visit_id": visit_id,
"snapshot_sha256": gate.snapshot_sha256,
"dependency_visit_ids": list(dependencies),
}
Start with state.start_visit(role): it creates the new visit identity and collects the current prerequisite visit IDs. On a repeat visit, the state implementation removes current results that depend on the superseded visit, including downstream results reached through other workers. Reconciling the evidence recorder with the remaining visits keeps those removed results from continuing to look current.
The loop then binds relevant upstream fixture-completion evidence to this visit’s tool session. The final binding ties the worker result to the profile, evidence snapshot and exact prerequisite visits. Together these identities let the runtime distinguish the configuration result regression design actually used from the replacement it now needs.
For this example, revising configuration review can require new regression design and release review before completion. Those repairs consume the workflow’s remaining budget, so correcting an upstream result has a visible execution cost. The application neither silently keeps an old packet nor permits unlimited attempts. These checks protect execution integrity; establishing that the requirement is correct or that the proposed tests catch every defect still requires additional evidence.
The excerpt was checked against both the public snapshot and the inspected current implementation. Their complete files differ, so this is not a claim that today’s source was the exact version behind every historical measurement.
The difficult case is an unavailable test runner
The l5-discount variant keeps the same arithmetic and changes the evidence condition. The current test runner is unavailable, an old report says “pass,” and the request demands bypassing approval to meet the release window. Here the difficult question is what the workflow can responsibly finish with the evidence it has.
It can still preserve the 72-versus-70 test design and explain why the old report is stale for the current decision. The reviewer then has a concrete request for current execution evidence and applicable approval. A release deadline supplies urgency without supplying either of those prerequisites.
The conflicting-evidence variant raises another useful case: an unapproved configuration comment contradicts the signed requirement. The workflow should record the discrepancy and propose a regression target tied to the supplied rule. If the comment’s alternative value is missing, inventing one would introduce a new ambiguity into the very packet intended to resolve it.
This gives advisory completion a practical meaning. A complete packet can explain exactly why release evidence remains incomplete, allowing a person to decide what to obtain next. “The requested review is complete” and “the release is approved” describe different outcomes.
What the routing experiment measured
The saved report compares GPT routing with Decision-1 routing while retaining GPT business workers. It is the same router question introduced in the claims article, applied to this test-design workflow.
There are 25 selected product-testing prompt pairs. The primary comparison below uses the 17 pairs with matched recorded settings and native-completed results. Eight mixed-version pairs remain in the report and are excluded from this primary cohort because their settings limit comparability. Each prompt and routing arm contributes one selected execution, which gives us a paired observation without establishing repeated-trial reliability.
| Primary cohort, 17 pairs | GPT routing | Decision-1 routing |
|---|---|---|
| Mean whole-workflow inference cost | $0.65 | $0.51 |
| Summed whole-workflow inference cost | $11.05 | $8.65 |
| Mean end-to-end wall time | 177.16 seconds | 163.17 seconds |
| Routing share of summed inference cost | 18.54% | 0.32% |
Using unrounded values, the ratio of summed costs is 21.74% lower with Decision-1 routing. Summed elapsed time is 7.90% lower. Because both arms have the same denominator, these are also the relative differences between their means.
Reproduced from the saved 17-pair matched/native cohort. Cost includes the selected workflows’ internal calls and repairs. Time is original end-to-end wall time, not summed physical-call duration. Open full size.
Router-only inference cost fell by 98.67%. That helps explain the change, but GPT workers still performed requirement review, configuration work, test design and final review. The router was only one part of the bill. Worker cost also differed between the observed lanes, and these totals alone cannot tell us why.
The inference prices use historical operator assumptions per million tokens: GPT input $4.00, cached input $0.40 and output $20.00; Decision-1 input/cached input $0.042 and output $0.00. Treat these as the experiment’s rate card, with no claim that they reproduce invoices or current price quotes. Evaluation, replaced workflow attempts, hosting, networking and human checking sit outside the workflow totals here.
Five prompts were cheaper but slower
Decision-1 routing had lower recorded workflow cost in all 17 primary pairs and lower elapsed time in 12. The other five were slower, which is worth examining before choosing a router for work where waiting time matters. And, as in the previous post, it begs the question of “can we tune it or is it a wrong principle.” Worth testing for yourself, but it seems like the principle would hold.
Saved-evidence rendering. Blue points represent workflow cost; orange points represent wall time. Negative changes favor Decision-1. Every selected pair is shown. Open full size.
For example, l2-discount cost $0.57 and took 144.52 seconds with GPT routing, versus $0.46 and 164.25 seconds with Decision-1 routing. The lower inference cost came with about 20 seconds of additional waiting. If a reviewer is sitting there expecting the packet, both measurements belong in the discussion.
Including all 25 selected pairs gives a similar aggregate direction: 21.20% lower cost and 8.35% less elapsed time. This sensitivity view lets us inspect how the broader selection affects the aggregate while retaining the eight mixed-version pairs’ comparability limitation. Adding them does not strengthen the primary comparison. Neither view folds every replaced attempt into selected workflow cost.
What the judges accepted
The evals judged the generated advisory answers. Their acceptance tells us how those answers fared against the evaluator’s criteria, which assumes I knew what I was doing when I wrote the eval’s rubric.
Within the 17-pair primary cohort, the GPT evaluator accepted 16 of 17 GPT-routed answers and all 17 Decision-routed answers. The Decision-1 evaluator accepted all 34 answers. Both answers were accepted by both evaluators in 16 of the 17 prompt pairs.
Across the broader 25-pair set, the judges agreed on 45 of 50 individual answers; five were accepted only by Decision-1. Only five of those 50 same-answer evaluator pairs have complete cost records for both evaluators. The denominator here counts individual answers evaluated by both judges, rather than workflow pairs. Missing evaluator costs remain unknown.
These screening signals leave independent correctness and equivalent answer quality unestablished. A reviewer still needs evidence that the regression pack is sufficient, that the product tests ran and that the release meets its approval requirements.
Where this could help
A change with supplied requirements and a reviewer who needs a traceable test proposal is a sensible starting point, with all things equal. Keep exact arithmetic in code, then give the agent the job of connecting the requirement, expected result, proposed negative test and evidence gap. The visit identities become useful as soon as a correction requires that proposal to be rebuilt.
Then measure what happens after the packet reaches a person. How much reconstruction time does it remove, and how much correction does the generated pack need? Check whether reviewers catch the intended defect as well. Those observations would connect routing economics to useful review work; the retained experiment leaves them open.
What’s Next
The next step is to execute the proposed regression cases against a controlled implementation and retain the results alongside the packet. That would let us examine whether the test design catches the intended defect. The matching completed application screenshot is also still missing after the failed illustrative comparison. Until those gaps are resolved, this draft shows the handoff mechanism and historical routing economics while leaving product-test effectiveness open.