Stay Left on the AI Fail Chain for a Faster, Cheaper and Better UX

Improvement across our jSwarm cycles of smoke tests, focused repairs and prompt review: failed build steps in our test runs went from more than one in three to about one in a hundred, at lower modeled cost and with a shorter measured typical wait.

Synopsis

“It has to be reliable, but it also has to be fast and cheap.”

A hard fail leaves a user without the requested model; a retry or escalation can rescue the work but adds another attempt. We count all three as failures in development and focus on getting the first attempt right. In bench smoke tests, structural failures fell from more than one in three to about one in a hundred; typical wait fell 12.9% (measured), and product runtime cost per build fell 26.8% (modeled). JarviSIM supplies the examples; jSwarm is the method.

Audience: AI Solution Product Managers · CIOs and CTOs · AI Developers

The business story

JarviSIM turns a user's intent and source material into a process model. When a build fails, the user may need to try again and wait again. We wanted to know whether that was becoming less likely, and whether the improvement came with a better wait and cost.

COST · PRODUCT RUNTIME

Before: $44,076 a month.

In this scenario, 10,000 users upload material and click “build”; a mid-tier model builds a BPMN process 20 times per user per month (modeled).

AFTER · $32,249 a month. That is 26.8% lower per build and $141,925 less a year (modeled).

SPEED

Before: 58.7 seconds.

That is the typical wait across the same actions in our test runs (measured).

AFTER · 51.2 seconds. The typical wait is 12.9% lower (measured). A document's first build roughly halved, from 116.0 to 55.6 seconds.

QUALITY · IN FOCUS

Before: more than one in three failed.

From a user experience perspective, it's annoying to wait for a retry, it takes even longer to wait for a separate model escalation, and the worst case is a dead-stop failure. In our test runs, about 37% of build steps had a dead-stop failure (measured).

AFTER · almost no failures, fewer retries and escalations. Failures dropped from 36.9% to 1.2%, retries fell from 11.3% to 3.4%, and escalations fell to almost none (measured).

Terms used in this article

TermWhat it means here
Build stepOne tested action that builds or changes a process model from a source.
Hard failA build does not deliver the requested result; failed structural checks are the test proxy used here.
Fail chainThe progression from a first attempt through recovery to a possible hard fail.
More terms
TermWhat it means here
Right first timeThe initial model attempt succeeds without a correction or escalation.
RetryAnother attempt; the measured retry counter also includes transport retries.
EscalationAn attempt using a stronger model when an eligible route is available. The test runs count it; its cost and wait impacts are modeled.
Primary waitTime from a user's action to the model and revision panel appearing, excluding background work.
jSwarm · JarviSIMjSwarm is the method: its cycles, practices, skills and scripts. JarviSIM is the product supplying the example.
Smoke testA repeatable check that exercises product paths and records whether their steps work.
IntentWhat the outcome should be, written and approved by a person.
Agent Acceptance Testing (AAT)A script drives a product walk; an agent judges each step against written intent.
User Acceptance Testing (UAT)A person walks the product, gives feedback and accepts or rejects the outcome.
/jSmokeThe jSwarm smoke cycle that exercises builds and identifies the first fault.
/jFixThe jSwarm repair cycle that takes a fault from diagnosis to a tested change.
/jDebug --promptThe jSwarm prompt check that examines the assembled request for conflicting instructions.
/jTestThe jSwarm testing procedure, including the human acceptance cycle.

Introduction

“It has to be reliable, but it also has to be fast and cheap.”

— Mike Idengren

This article uses real JarviSIM development examples to illustrate jSwarm principles, practices, skills and scripts. The results come from bench smoke tests of builds under development, not a customer deployment. At scale, small per-build costs add up, so reliability, wait and product runtime spend belong in the same discussion.

I · The fail chain II · Before III · How we improve IV · After I · The fail chain II · Before III · How we improve IV · After
Diagram — the story from left to right: I · The fail chain → II · Before → III · How we improve → IV · After.

What we mean by intent, and how it is bound to every test and fix, is in Article 02.

Part I

The fail chain

A user can start a build with their own intent, a document or a reference model.

A hard fail is never acceptable, so the product recovers in steps. The fail chain starts with the cheapest, fastest model, then a retry on the same model, then, when available, escalation to a stronger model; if recovery does not deliver the result, the build can fail. Extra model calls can add cost and, if they block the result, user wait. We count a hard fail, a retry and an escalation as failures in development, even when recovery succeeds. Fixing the first attempt can be painful during development, but at scale it avoids paying for corrections: quality, speed and cost belong together.

The fail chain An eligible model call can try up to three times. In the example, GPT Luna makes the first attempt and retries once if it misses. If needed and configured, GPT Terra makes the third attempt. A valid result at any attempt delivers the model to the user. If no attempt works, the build ends in a hard fail and the user gets no model. Only a first-attempt success counts as a pass in testing. The fail chain Up to three tries per model call · GPT Luna → GPT Terra example First attempt GPT Luna Cheapest, fastest model Second attempt GPT Luna Retry on the same model Third attempt GPT Terra Escalate to a stronger model Hard fail No model Never acceptable Miss → Miss → Miss → Success Success Success User gets the model User gets nothing Only a first-attempt success counts as a pass in testing. Every extra attempt adds cost and wait. The fail chain An eligible logical call can try up to three times. In the example, GPT Luna makes the first attempt and retries if it misses. If needed and configured, GPT Terra makes the third attempt. A valid result at any attempt can deliver the model. Only first-try success counts as a test pass. If no attempt works, a hard fail delivers no new model. Each extra call can add cost and, if it blocks the result, user wait. The fail chain Luna → Terra example First attempt GPT Luna Initial call Second attempt GPT Luna Same-model retry Third attempt GPT Terra Escalation Miss Miss Success User gets the model Miss Hard fail Only a first-try success counts as a test pass.
The safety net protects the user; the counters make the extra work visible to the team.
Earlier JarviSIM build showing a red Build failed message and empty model lanes
The worst failure mode. The build failed and the user has no requested model.

This picture is the last link in the chain: every attempt missed and the user has nothing to show for the wait.

What to look for:

The build is marked failed.

The user is told to see the log for the cause.

The user has no model.

For an eligible model call, recovery allows one same-model correction and then at most one escalation to a stronger model when one is available; a build step can contain several calls.

What each extra attempt costs Modeled cumulative model-call cost for one call along the fail chain: $0.0019 after a GPT Luna first attempt, $0.0038 after a Luna retry, and $0.0229 after escalation to GPT Terra, about twelve times the first attempt. Measured median wait was 46.4 seconds when the first attempt passed and 90.0 seconds after a retry. One model call with the same tokens is modeled at $0.0019 on Luna, $0.0191 on Terra and $0.0381 on Sol. What each extra attempt costs Running total for one model call · modeled First attempt GPT Luna $0.0019 First attempt: $0.0019 cumulative model-call cost (modeled) The baseline Second attempt GPT Luna retry $0.0038 Second attempt: $0.0038 cumulative model-call cost (modeled) 2× the first attempt Third attempt GPT Terra escalation $0.0229 Third attempt: $0.0229 cumulative model-call cost (modeled) 12× the first attempt Hard fail No model All of the cost, nothing delivered. And the wait Measured, when the step passed 46.4 s First attempt passed 90.0 s After a retry Price of one model call, same tokens (modeled) Luna $0.0019 · Terra $0.0191 · Sol $0.0381 What each extra attempt costs Modeled cumulative model-call cost: $0.0019 first attempt on GPT Luna, $0.0038 after a Luna retry, $0.0229 after escalation to GPT Terra. Measured wait: 46.4 seconds when the first attempt passed, 90.0 seconds after a retry. One call: Luna $0.0019, Terra $0.0191, Sol $0.0381 (modeled). What each extra attempt costs Running total for one model call · modeled First attempt GPT Luna $0.0019 First attempt: $0.0019 (modeled) the baseline Second attempt GPT Luna retry $0.0038 Second attempt: $0.0038 (modeled) 2× the first attempt Third attempt GPT Terra escalation $0.0229 Third attempt: $0.0229 (modeled) 12× the first attempt And the wait Measured, when the step passed 46.4 s first attempt passed 90.0 s after a retry One model call, same tokens (modeled): Luna $0.0019 · Terra $0.0191 · Sol $0.0381
First attempt, retry, escalation: each extra call adds cost (modeled).

For one call with equal tokens, the cumulative cost is $0.0019 for a GPT Luna first attempt, $0.0038 after a Luna retry, and $0.0229 after escalation to GPT Terra (modeled). Luna costs less than Terra, and Terra less than Sol. Successful steps with no recorded recovery had a median wait of 46.4 seconds, compared with 90.0 seconds for steps with a retry (measured; different actions).

We also have fallback models from a different AI provider in case the primary provider fails. Fallback analysis is outside this case study.

Some causes were fixed before counting; with few recorded escalations, the impact is modeled.

The reward for avoiding escalation

The first and second attempts run on the cheapest model, so we pay for them at the cheap rate: $0.0019 each. The third attempt is the expensive one: escalating to GPT Terra adds $0.0191, five times the first two attempts combined, and about 53 seconds of wait. When a build succeeds by the second attempt we never pay that. At 200,000 builds a month, if 4.5% of builds stop before the third attempt instead of escalating, that avoids about $171 and 132 hours of combined wait a month; on the GPT Terra → GPT Sol tier pair, about $343 and 256 hours (modeled). The modeled scenario is not added to the separate build-cost saving below.

The reward for avoiding escalation Modeled, GPT Luna to GPT Terra example. The first attempt costs $0.0019 and is paid. The second attempt, a retry on the same model, adds $0.0019 and is paid. The third attempt, escalation to GPT Terra, would add $0.0191 and about 53 seconds of wait; it is not paid when the build succeeds by the second attempt. That is $0.0038 spent instead of $0.0229, about one sixth of the cost. At 200,000 builds a month, if 4.5 percent of builds stop before the third attempt instead of escalating, that avoids about $171 and 132 hours of user waiting a month. On GPT Terra to GPT Sol the same scenario avoids about $343 and 256 hours a month. The reward for avoiding escalation Pay for the first and second attempt, never the third · modeled, GPT Luna → GPT Terra example First attempt GPT Luna $0.0019 First attempt: $0.0019 per model call, paid (modeled) ✓ Paid Second attempt GPT Luna retry +$0.0019 Second attempt: +$0.0019 per model call, paid (modeled) ✓ Paid Third attempt GPT Terra escalation +$0.0191 Third attempt: $0.0191 per model call, avoided (modeled) ✕ Never paid The reward $0.0038 spent, instead of $0.0229 One sixth of the cost 53 s less waiting per model call At scale 200,000 builds a month; 4.5% of them stop before the third attempt instead of escalating $171 a month not spent 132 hours a month of user waiting avoided The reward for avoiding escalation Modeled, GPT Luna to GPT Terra example. The first attempt costs $0.0019 and is paid. The second attempt, a retry on the same model, adds $0.0019 and is paid. The third attempt, escalation to GPT Terra, would add $0.0191 and about 53 seconds of wait; it is not paid when the build succeeds by the second attempt. That is $0.0038 spent instead of $0.0229, about one sixth of the cost. At 200,000 builds a month, if 4.5 percent of builds stop before the third attempt instead of escalating, that avoids about $171 and 132 hours of user waiting a month. On GPT Terra to GPT Sol the same scenario avoids about $343 and 256 hours a month. The reward for avoiding escalation Pay for the first and second attempt, never the third First attempt GPT Luna $0.0019 First attempt: $0.0019 paid (modeled) ✓ Paid Second attempt GPT Luna retry +$0.0019 Second attempt: +$0.0019 paid (modeled) ✓ Paid Third attempt GPT Terra escalation +$0.0191 Third attempt: $0.0191 per model call, avoided (modeled) ✕ Not paid: we never get here The reward $0.0038 instead of $0.0229 One sixth of the cost · about 53 s less waiting At scale 200,000 builds a month, 4.5% avoided $171 a month not spent 132 hours of waiting avoided a month
Getting the first attempt right avoids the extra model calls (modeled).

At the same modeled volume, the overall build-cost comparison across selectable model tiers is:

ModelPer build before / todayMonthly before / todayYearly saving
GPT Luna$0.0222 / $0.0163$4,444 / $3,252$14,310
GPT Terra$0.2204 / $0.1612$44,076 / $32,249$141,925
GPT Sol$0.4408 / $0.3225$88,152 / $64,498$283,850

Modeled build costs; these savings mostly reflect assumed user resubmissions after failures, not measured escalation savings.

Part II · Before

High failures and a bad UX

Before: quality, speed and cost Before the improvements. Quality along the fail chain: 11.3 percent of counted steps needed a retry (11 of 97); 4 of 89 counted steps escalated; 36.9 percent of build steps failed the structural check (45 of 122). Speed: 58.7 seconds typical wait, measured. Cost: $0.2204 per build on GPT Terra, modeled. Scales match the after scorecard: quality 0 to 40 percent, speed 0 to 80 seconds, cost 0 to $0.25. Before Bench test runs before the improvements Quality How far down the fail chain a build step went · measured First attempt Cheapest, fastest model The goal: every build stops here Second attempt Retry 11.3% Second attempt: 11.3% (of 97 counted steps) of 97 counted steps Third attempt Escalation 4 of 89 Third attempt: 4 of 89 (counted steps) counted steps Failed Structural check 36.9% Failed: 36.9% (of 122 build steps) of 122 build steps Speed Typical wait for a build · measured Speed: 58.7 s 58.7 s Cost GPT Terra, per build · modeled Cost: $0.2204 $0.2204 Before: quality, speed and cost Before the improvements. Quality along the fail chain: 11.3 percent of counted steps needed a retry (11 of 97); 4 of 89 counted steps escalated; 36.9 percent of build steps failed the structural check (45 of 122). Speed: 58.7 seconds typical wait, measured. Cost: $0.2204 per build on GPT Terra, modeled. Scales match the after scorecard: quality 0 to 40 percent, speed 0 to 80 seconds, cost 0 to $0.25. Before Bench test runs before the improvements Quality Along the fail chain · measured First attempt Cheapest, fastest model The goal: every build stops here Second attempt Retry 11.3% Second attempt: 11.3% (of 97 counted steps) of 97 counted steps Third attempt Escalation 4 of 89 Third attempt: 4 of 89 (counted steps) counted steps Failed Structural check 36.9% Failed: 36.9% (of 122 build steps) of 122 build steps Speed Typical wait · measured Speed: 58.7 s 58.7 s Cost GPT Terra, per build · modeled Cost: $0.2204 $0.2204
Before: the fail chain's quality, measured wait and modeled cost.

In our test runs, 36.9% of 122 build steps failed their structural check in the first measured period (measured). The earlier failed-build picture shows the worst experience such a failure can represent.

Part III

From Before → After with JSWARM

An Agentic Harness Framework

Our objective was to drive down the failures, waiting and cost in the before picture. We use cycles to find the first fault, repair it and test the result, then repeat until the outcome is acceptable.

Find the first fault The outer smoke loop: land a build, run the testing cycle of script, AI agent and human checks, read the ledger, assess the evidence, and reach the owner's verdict. When the evidence shows a first fault, the nested repair cycle takes over: diagnose, prove the cause with a failing test, repair, check the prompt, review and land the fix. The loop then returns to the start with a changed build. Find the first fault /jSmoke: the outer loop Land build A changed product Testing cycle Cheapest first Read ledger What each step did Assess evidence Find the first fault Owner verdict Accept or continue /jFix: nested repair Diagnose Prove cause Failing test Repair Check prompt /jDebug --prompt Review Land fix First fault The build has changed: run the loop again Find the first fault The outer /jSmoke loop starts from the landed build. The Testing cycle starts with a script running smoke on all six sources; use the companion Testing cycle diagram for the checks by script, AI agent and human. Read the ledger and assess the evidence. When ready, the owner gives the verdict. The first fault instead starts a nested /jFix repair: diagnose, write a failing test that proves the cause, repair, check the changed prompt, review and land. The changed build returns to /jSmoke. Find the first fault /jSmoke: outer loop Land build Testing cycle Smoke all six sources Read ledger Assess evidence Owner verdict First fault /jFix: nested repair Diagnose Prove cause Failing test Repair Check prompt Review Land fix Return to /jSmoke
The testing cycle starts with smoke. The first fault sends the build to repair, then back to smoke.

Testing cycle (cheapest first)

Script → AI Agent → Human: each check adds a different kind of judgment.

Testing cycle (cheapest first) The testing cycle runs left to right from script to AI agent to human. A smoke test is a script that runs deterministic checks. An Agent Acceptance Test has an AI agent judge each step against written intent. A User Acceptance Test has a human walk the product and accept or reject the outcome. Cost and time per run rise from left to right, so the cheapest, fastest check runs first and most often. Testing cycle (cheapest first) Script → AI Agent → Human Script Smoke test Deterministic checks, in minutes AI Agent Agent Acceptance Test (AAT) An agent judges against intent Human User Acceptance Test (UAT) The owner accepts or rejects Cost and time per run rise from left to right Cheapest and fastest: run constantly Most expensive: run when it counts Cost and time per run Testing cycle (cheapest first) Script, AI Agent, Human, left to right in order of rising cost. A script runs the smoke test most often to check structural behavior. An AI agent runs the Agent Acceptance Test to judge the result against written intent. The human runs the User Acceptance Test to accept or reject the outcome. If a check finds a fault, repair it and start at smoke again. Testing cycle (cheapest first) Script Smoke test AI Agent Agent Acceptance test Human User Acceptance test Cost rises left to right Fault found? Repair, then restart at smoke.
Start with fast deterministic checks; move to agent judgment and then human acceptance as feedback is needed.

We iterate rapidly with the cheapest, fastest smoke tests first, fix defects, then use Agent Acceptance Testing (AAT) when model judgment is needed and User Acceptance Testing (UAT) for human feedback and acceptance. Each catches something different.

Three checks, three catches

CheckWho judgesWhat it caught
Smoke testAutomated scriptFour document-add steps escalated and still failed their structural checks (measured).
Agent walkAn agent against written intentCompliance did not preview its whole effect before consent, despite a green smoke check.
Owner reviewThe human ownerA polite refusal passed a machinery-focused check, but was not the requested outcome.

A script drives AAT and a model judges each step against written intent. In UAT the owner walks the product, gives feedback and accepts or rejects the outcome. /jTest carries the cycle; feedback returns to intent.

Find the first fault

/jSmoke exercises the build paths and reads the ledger. When it finds the first fault, /jFix takes that fault into a nested repair. Once the fix lands, the build has changed, so the outer loop starts again. The owner decides when the outcome is acceptable.

The ledger gives the team a starting point, not just a score. A failure on one source directs the next repair toward the first fault found on that path. The failing test makes the diagnosis actionable: it must demonstrate the cause before the repair can be checked against it. Once the repair is in the build, another smoke run shows what happens on the changed product. The owner's verdict remains part of the loop rather than an automatic consequence of a green counter.

Rule one: meaning to the model, mechanics to code

We ask the model for judgment, not for a mechanical fact code can derive. Identities, counts, ordering and wiring can be handled by code. That leaves the model to do the work that needs interpretation. Article 01 explains this split: model for judgment and planning, deterministic tools for execution.

In one JarviSIM example, identical commitments needed normalization. Previously the product sent them back to the model for a repair. We changed the code to normalize them directly instead. In our test runs, alongside this and other changes, the retry rate among steps where retries were counted fell from 11.3% to 4.6% in the next period (measured). This is an observed association, not a claim that this change alone produced the drop.

The practical difference is where the product spends its judgment. A model can help understand a user's meaning. It need not be asked to repeat a mechanical operation the product can perform consistently. That distinction also makes a retry more meaningful: it is no longer the first choice for a task code can resolve.

More: why the split matters

A process model contains both judgment and structure. The judgment is deciding what the user's words mean for the process. The structure includes the identities and connections that make the result usable. The two belong together in the result, but they do not have to be produced in the same way.

With identical commitments, the product already had the information needed to recognize and normalize them. Asking the model to repair them introduced another attempt where code could do the job. Moving that operation to code did not take the meaning away from the model; it stopped asking for a mechanical repair. The retry counter then shows what happened to retries across the test steps, rather than presenting that one change as a standalone experiment.

Rule two: fix the first call

A long document was failing because the first call's output limit was too small for the work requested. A bigger model or an extra attempt would not fix that mismatch. We sized the initial output budget to the document instead of simply adding retries.

In our test runs, alongside this and other changes, Document failures fell from 34.5% to 11.3% to 0.9% across successive periods (measured). Across all sources, we counted 4 escalations in 89 early covered steps and 0 in 385 latest covered steps (measured). The numbers show what happened alongside the work, not the isolated effect of this repair.

Retry and escalation remain the user's safety net. Counting recovery as a development failure gives the team a reason to investigate, while preserving another chance to deliver the outcome.

jDebug: A tool for getting it right the first time

/jDebug --prompt checks the assembled request for conflicting instructions before a prompt or schema change is reviewed. A promptAudit applies that assessment across prompt families in risk order, helping the team fix the request before relying on another attempt.

After the highest-risk prompt fixes landed alongside other changes, the failure rate in our test runs went from 13.0% to 2.1% to 0% on successive days (measured). The six-smoke run passed first time with no repairs; the changes were not isolated.

Part IV · After

From Fail Chain to First Attempt

We improved the first request, moved mechanical fixes into code and repeated the smoke, repair and testing cycles. Fewer structural checks failed and fewer covered steps recorded retries or escalations, moving the product toward getting the first attempt right.

After: quality, speed and cost After the improvements. Quality along the fail chain: 3.4 percent of counted steps needed a retry (13 of 386), down from 11.3 percent; 0 of 385 counted steps escalated, down from 4 of 89; 1.2 percent of build steps failed the structural check (5 of 415), down from 36.9 percent. Speed: 51.2 seconds typical wait, measured, down from 58.7. Cost: $0.1612 per build on GPT Terra, modeled, down from $0.2204. Scales match the before scorecard: quality 0 to 40 percent, speed 0 to 80 seconds, cost 0 to $0.25. A dark tick marks each before value. After Latest bench test runs Quality How far down the fail chain a build step went · measured First attempt Cheapest, fastest model The goal: every build stops here Second attempt Retry 3.4% Second attempt: 3.4% (was 11.3%) was 11.3% Third attempt Escalation 0 of 385 Third attempt: 0 of 385 (was 4 of 89) was 4 of 89 Failed Structural check 1.2% Failed: 1.2% (was 36.9%) was 36.9% Speed Typical wait for a build · measured Speed: 51.2 s 51.2 s was 58.7 s Cost GPT Terra, per build · modeled Cost: $0.1612 $0.1612 was $0.2204 After: quality, speed and cost After the improvements. Quality along the fail chain: 3.4 percent of counted steps needed a retry (13 of 386), down from 11.3 percent; 0 of 385 counted steps escalated, down from 4 of 89; 1.2 percent of build steps failed the structural check (5 of 415), down from 36.9 percent. Speed: 51.2 seconds typical wait, measured, down from 58.7. Cost: $0.1612 per build on GPT Terra, modeled, down from $0.2204. Scales match the before scorecard: quality 0 to 40 percent, speed 0 to 80 seconds, cost 0 to $0.25. A dark tick marks each before value. After Latest bench test runs Quality Along the fail chain · measured First attempt Cheapest, fastest model The goal: every build stops here Second attempt Retry 3.4% Second attempt: 3.4% (was 11.3%) was 11.3% Third attempt Escalation 0 of 385 Third attempt: 0 of 385 (was 4 of 89) was 4 of 89 Failed Structural check 1.2% Failed: 1.2% (was 36.9%) was 36.9% Speed Typical wait · measured Speed: 51.2 s 51.2 s was 58.7 s Cost GPT Terra, per build · modeled Cost: $0.1612 $0.1612 was $0.2204
After: fewer failures and recovery attempts point toward getting more builds right on the first attempt (measured; cost modeled).

What a successful model build looks like

Completed process model with human and procurement AI agent lanes and an open purchase-order task
The model after Compliance and Human-AI. A completed build shows the process and its supporting details.

What to look for:

Agent Activity confirms completion and the revision panel shows the current model.

Human and procurement AI agent lanes contain the process; the open purchase-order task shows its risk and control.

The task card lists citations and sources, while the top panels show Compliance and Human-AI Balance.

In our test runs, structural failure rates moved down across cycles, though not every day. The retry and escalation panels show the same days where those counters were available; gaps mean not measured, not zero. Of the steps where we counted retries, the retry rate fell from 11.3% of 97 to 3.4% of 386; we recorded 4 escalations in 89 early covered steps and 0 in 385 latest covered steps (measured). Recovery counters cover smaller samples and started later than failure counts.

Failures fell; retries and escalations became rare Daily measured rates in our test runs over sixteen days, in three panels with their own scales. Steps with a retry: not counted on days 1 to 3, a one-step 100 percent point on day 5, then 16.1 percent on day 8 falling to 1.0 percent on day 16. Steps escalated to a stronger model: 7.4 percent on day 8, 5.9 percent on day 11, and zero on every counted day from day 12. Failed steps: 48.1 percent on day 1 falling to 1.0 percent on day 16. Blank days were not yet counted. Failures fell; retries and escalations became rare Daily rates in our test runs, all six build sources · measured Second attempt: retries Of steps with a retry count 0% 25% 50% 75% 100% day 1 4 8 12 16 Day 4: 0.0% (8 steps counted) Day 5: 100.0% (1 steps counted) Day 6: 0.0% (8 steps counted) Day 7: 25.0% (4 steps counted) Day 8: 16.1% (62 steps counted) Day 9: 8.3% (12 steps counted) Day 10: 0.0% (23 steps counted) Day 11: 6.2% (16 steps counted) Day 12: 3.4% (232 steps counted) Day 13: 9.1% (55 steps counted) Day 14: 5.3% (188 steps counted) Day 15: 2.0% (99 steps counted) Day 16: 1.0% (99 steps counted) 1% 16.1% Third attempt: escalations Of steps with an escalation count 0% 2% 4% 6% 8% day 1 4 8 12 16 Day 4: 0.0% (8 steps counted) Day 6: 0.0% (8 steps counted) Day 7: 0.0% (4 steps counted) Day 8: 7.4% (54 steps counted) Day 9: 0.0% (12 steps counted) Day 10: 0.0% (23 steps counted) Day 11: 5.9% (17 steps counted) Day 12: 0.0% (229 steps counted) Day 13: 0.0% (55 steps counted) Day 14: 0.0% (187 steps counted) Day 15: 0.0% (99 steps counted) Day 16: 0.0% (99 steps counted) 0% 7.4% Failed steps Of all judged build steps 0% 10% 20% 30% 40% 50% day 1 4 8 12 16 Day 1: 48.1% (27 steps counted) Day 2: 36.6% (41 steps counted) Day 3: 36.4% (22 steps counted) Day 4: 28.1% (32 steps counted) Day 5: 15.0% (20 steps counted) Day 6: 50.0% (8 steps counted) Day 7: 25.0% (4 steps counted) Day 8: 18.8% (138 steps counted) Day 9: 18.1% (72 steps counted) Day 10: 24.5% (102 steps counted) Day 11: 11.9% (134 steps counted) Day 12: 14.8% (264 steps counted) Day 13: 13.0% (131 steps counted) Day 14: 2.1% (191 steps counted) Day 15: 0.0% (125 steps counted) Day 16: 1.0% (99 steps counted) 1% 48.1% Fewer than 10 steps counted that day · Blank days: not yet counted · Scales differ by panel Hard failures fell; retries and escalations became less common Three aligned daily line charts over 16 days of test runs, all six build sources. The rates are lower in the latest period than in their comparable earlier periods; this is not a count comparison. A hollow dot means fewer than ten steps counted for that measure; gaps mean not yet counted. The panels have different vertical scales and denominators. Hard-failed steps (all judged build steps): day 1 48.1% (13 of 27); day 2 36.6% (15 of 41); day 3 36.4% (8 of 22); day 4 28.1% (9 of 32); day 5 15.0% (3 of 20); day 6 50.0% (4 of 8) small sample; day 7 25.0% (1 of 4) small sample; day 8 18.8% (26 of 138); day 9 18.1% (13 of 72); day 10 24.5% (25 of 102); day 11 11.9% (16 of 134); day 12 14.8% (39 of 264); day 13 13.0% (17 of 131); day 14 2.1% (4 of 191); day 15 0.0% (0 of 125); day 16 1.0% (1 of 99). Steps with a retry (only steps with a retry count): day 1 not yet counted; day 2 not yet counted; day 3 not yet counted; day 4 0.0% (0 of 8) small sample; day 5 100.0% (1 of 1) small sample; day 6 0.0% (0 of 8) small sample; day 7 25.0% (1 of 4) small sample; day 8 16.1% (10 of 62); day 9 8.3% (1 of 12); day 10 0.0% (0 of 23); day 11 6.2% (1 of 16); day 12 3.4% (8 of 232); day 13 9.1% (5 of 55); day 14 5.3% (10 of 188); day 15 2.0% (2 of 99); day 16 1.0% (1 of 99). Steps escalated to a stronger model (only steps with an escalation count): day 1 not yet counted; day 2 not yet counted; day 3 not yet counted; day 4 0.0% (0 of 8) small sample; day 5 not yet counted; day 6 0.0% (0 of 8) small sample; day 7 0.0% (0 of 4) small sample; day 8 7.4% (4 of 54); day 9 0.0% (0 of 12); day 10 0.0% (0 of 23); day 11 5.9% (1 of 17); day 12 0.0% (0 of 229); day 13 0.0% (0 of 55); day 14 0.0% (0 of 187); day 15 0.0% (0 of 99); day 16 0.0% (0 of 99). Hard failures fell; retries and escalations became less common Daily rates in our test runs, all six build sources Hard-failed steps Of all judged steps first measured period middle periods latest period 0% 10% 20% 30% 40% 50% day 1: 48.1% (13 of 27 steps) day 2: 36.6% (15 of 41 steps) day 3: 36.4% (8 of 22 steps) day 4: 28.1% (9 of 32 steps) day 5: 15.0% (3 of 20 steps) day 6: 50.0% (4 of 8 steps) day 7: 25.0% (1 of 4 steps) day 8: 18.8% (26 of 138 steps) day 9: 18.1% (13 of 72 steps) day 10: 24.5% (25 of 102 steps) day 11: 11.9% (16 of 134 steps) day 12: 14.8% (39 of 264 steps) day 13: 13.0% (17 of 131 steps) day 14: 2.1% (4 of 191 steps) day 15: 0.0% (0 of 125 steps) day 16: 1.0% (1 of 99 steps) 48% about 1% Steps with a retry Of steps with a retry count 0% 25% 50% 75% 100% Day 4: 0.0% (0 of 8 counted steps); small sample Day 5: 100.0% (1 of 1 counted steps); small sample Day 6: 0.0% (0 of 8 counted steps); small sample Day 7: 25.0% (1 of 4 counted steps); small sample Day 8: 16.1% (10 of 62 counted steps) Day 9: 8.3% (1 of 12 counted steps) Day 10: 0.0% (0 of 23 counted steps) Day 11: 6.2% (1 of 16 counted steps) Day 12: 3.4% (8 of 232 counted steps) Day 13: 9.1% (5 of 55 counted steps) Day 14: 5.3% (10 of 188 counted steps) Day 15: 2.0% (2 of 99 counted steps) Day 16: 1.0% (1 of 99 counted steps) Steps escalated to a stronger model Of steps with an escalation count 0% 2% 4% 6% 8% Day 4: 0.0% (0 of 8 counted steps); small sample Day 6: 0.0% (0 of 8 counted steps); small sample Day 7: 0.0% (0 of 4 counted steps); small sample Day 8: 7.4% (4 of 54 counted steps) Day 9: 0.0% (0 of 12 counted steps) Day 10: 0.0% (0 of 23 counted steps) Day 11: 5.9% (1 of 17 counted steps) Day 12: 0.0% (0 of 229 counted steps) Day 13: 0.0% (0 of 55 counted steps) Day 14: 0.0% (0 of 187 counted steps) Day 15: 0.0% (0 of 99 counted steps) Day 16: 0.0% (0 of 99 counted steps) day 1 4 8 12 day 16 Fewer than 10 steps counted for that point Blank days: not yet counted. Scales differ by panel.
Measured test-step rates, with each panel's own coverage; the measures can overlap.
More (raw data): daily fail chain

The failure rows below cover all judged steps; retry and escalation counts use separately covered steps, with dashes for unavailable measurements.

Test day in orderFailed / judged steps in our test runs (measured)Failure rate (measured)
113 / 2748.1%
215 / 4136.6%
38 / 2236.4%
49 / 3228.1%
53 / 2015.0%
64 / 850.0%
71 / 425.0%
826 / 13818.8%
913 / 7218.1%
1025 / 10224.5%
1116 / 13411.9%
1239 / 26414.8%
1317 / 13113.0%
144 / 1912.1%
150 / 1250.0%
161 / 991.0%
Test day in orderRetry-positive / measuredEscalation-positive / measured
1–3——
40 / 80 / 8
51 / 1—
60 / 80 / 8
71 / 40 / 4
810 / 624 / 54
91 / 120 / 12
100 / 230 / 23
111 / 161 / 17
128 / 2320 / 229
135 / 550 / 55
1410 / 1880 / 187
152 / 990 / 99
161 / 990 / 99

All counts measured in bench test runs.

A shorter typical wait, with different work by source

The wait clock starts when the user acts and ends when the model and revision panel appear. Across the same 14 actions, typical wait fell from 58.7 to 51.2 seconds, a 12.9% reduction (measured). The document first builds drove the gain: waits fell from 116.0 to 55.6 seconds on one action and from 107.2 to 51.7 seconds on another.

Typical waits fell 12.9%, with the biggest gain in document processing Measured like-for-like typical wait by source, before and latest, in seconds. All sources 58.7 to 51.2, 12.9 percent faster. Document 129.2 to 96.0, 25.7 percent faster. My Intent 28.4 to 29.7, Reference 36.8 to 37.1 and Chatbot 3.8 to 3.8, no clear change. Compliance 74.9 to 84.7 and Human-AI 66.1 to 75.2 are slower in the recent comparison, where each action now does more work. Typical waits fell 12.9%, with the biggest gain in document processing Like-for-like typical wait by source, in seconds · measured before latest 0 30 s 60 s 90 s 120 s All sources 12.9% faster All sources: 58.7 s before, 51.2 s latest 58.7 → 51.2 s Document 25.7% faster Document: 129.2 s before, 96 s latest 129.2 → 96.0 s My Intent no clear change My Intent: 28.4 s before, 29.7 s latest 28.4 → 29.7 s Reference no clear change Reference: 36.8 s before, 37.1 s latest 36.8 → 37.1 s Compliance * 13.1% slower † Compliance: 74.9 s before, 84.7 s latest 74.9 → 84.7 s Human-AI * 13.8% slower † Human-AI: 66.1 s before, 75.2 s latest 66.1 → 75.2 s Chatbot no clear change Chatbot: 3.8 s before, 3.8 s latest 3.8 → 3.8 s Same actions on both sides. * Compliance and Human-AI use the recent comparison. † Each action now does more work. Typical waits fell 12.9%, with the biggest gain in document processing Dot chart of like-for-like typical wait by source, before versus latest period, in seconds. All sources: 58.7 s to 51.2 s, 12.9% faster; Document: 129.2 s to 96.0 s, 25.7% faster; My Intent: 28.4 s to 29.7 s, no clear change; Reference: 36.8 s to 37.1 s, no clear change; Compliance: 74.9 s to 84.7 s, 13.1% slower †; Human-AI: 66.1 s to 75.2 s, 13.8% slower †; Chatbot: 3.8 s to 3.8 s, no clear change. Compliance and Human-AI use the recent comparison: the latest three days against the three before. Typical waits fell 12.9%, with the biggest gain in document processing Like-for-like typical wait by source, in seconds before latest period All sources · 12.9% faster 58.7 → 51.2 s Document · 25.7% faster 129.2 → 96.0 s My Intent · no clear change 28.4 → 29.7 s Reference · no clear change 36.8 → 37.1 s Compliance * · 13.1% slower † 74.9 → 84.7 s Human-AI * · 13.8% slower † 66.1 → 75.2 s Chatbot · no clear change 3.8 → 3.8 s 0 30 s 60 s 90 s 120 s Typical wait for the same actions on both sides. Before: each source's first comparable period; * Compliance and Human-AI use the recent comparison. After: latest period. † each action now does more work.
Document processing improved most; the recent Compliance and Human-AI waits rose alongside added work.
More (raw data): wait by source
SourceBefore, typical waitLatest, typical waitReading
Document129.2 s96.0 sFaster
My Intent28.4 s29.7 sNo clear change
Reference36.8 s37.1 sNo clear change
Compliance74.9 s84.7 sSlower, doing more work
Human-AI66.1 s75.2 sSlower, doing more work
Chatbot3.8 s3.8 sNo clear change

Wait figures measured in our test runs.

Each comparison uses the same actions and inputs; the Compliance and Human-AI rows use the recent comparison. Each action gets equal weight. The work itself also changed.

Two sources now take a few seconds longer while each action produces more. The added work helps explain the rise, and the owner decides whether it is worth the wait.

Compliance. A suggestion now attaches each control with the exact framework sections it cites and a reason it applies, so a reviewer can check it rather than just trust it. The screen above shows what that looks like. One action adds 3 controls instead of 1 (measured). Time per 1,000 tokens written stayed about the same: 12.1 seconds before and 11.8 after (estimated).

Human-AI. The review now reads a model nearly twice as large because it carries the compliance controls and citations. In one action the input grew from 45 to 100 KB; across the source, it wrote about 21% more guidance (measured). Time per 1,000 tokens written was 10.6 seconds before and 9.9 after (estimated).

Document. Recent builds also took a few seconds longer alongside added work: every stated step in a procedure becomes a task, and each task keeps its supporting passage from the document.

At our modeled volume: what the improvement saves

We assume 10,000 users each make 20 builds a month: 200,000 builds a month, or 2.4 million a year (modeled). The user has chosen GPT Terra. The measured starting point is the fully priced median build cost on GPT Luna, mixed equally across the sources; the Terra figures below are modeled from that base.

Product runtime comparisonBeforeTodayDifference
Per build$0.2204$0.161226.8% lower
200,000 builds per month$44,076$32,249$11,827 saved per month
2.4 million builds per year——$141,925 saved per year

All figures modeled.

Where the modeled per-build saving comes from Modeled GPT Terra cost per build fell from $0.2204 to $0.1612, a saving of $0.0591. Of that, $0.0451 (76 percent) comes from fewer assumed user rebuilds after a failure and $0.0140 (24 percent) from all other changes. Where the modeled per-build saving comes from GPT Terra, one build at a fixed source mix · modeled Before $0.2204 Still spent after the improvements: $0.1612 Fewer assumed user rebuilds after a failure: $0.0451, 76% of the saving All other changes: $0.0140, 24% of the saving Cost that remains Fewer assumed rebuilds $0.0451 · 76% of the saving All other changes $0.0140 · 24% After $0.1612 After: $0.1612 per build $0.0591 saved per build 26.8% lower Most of the modeled saving came from fewer repeat builds Most of the modeled saving came from fewer repeat builds. Equal-mix GPT Terra product runtime cost, modeled expected case: $0.2204 per build before, $0.1612 after. Total saving $0.0591 per build: $0.0451 (76%) from fewer assumed user rebuilds after a hard fail; $0.0140 (24%) from all other changes combined. This is an attribution within the model, not a measured causal share. All numbers are rounded from unrounded modeled values. Most of the modeled saving came from fewer repeat builds GPT Terra · expected cost at a fixed mix of builds Modeled saving per build $0.0591 $0.0451 per build, 76%: fewer assumed rebuilds after hard fails $0.0140 per build, 24%: all other changes combined Fewer assumed rebuilds after hard fails $0.0451 · 76% All other changes combined $0.0140 · 24% Modeled runtime cost per build Before $0.2204 Before: $0.2204 modeled cost per build After $0.1612 After: $0.1612 modeled cost per build $0 $0.05 $0.10 $0.15 $0.20 $0.25 The model assumes users ask again after a hard fail. Amounts are rounded from the unrounded model.
The modeled saving is mostly from fewer assumed rebuilds after a hard fail.

Of the modeled $0.0591 saving per build, about three quarters ($0.0451) comes from fewer hard fails under the assumption that a user builds again after a hard fail; $0.0140 is everything else. On that assumption the hard fail is the most expensive link in this modeled comparison, not a measured customer bill. The escalation impact is modeled separately in Part I; it is not added to this saving.

Human judgment is redirected, not replaced. The owner ruled what counts as a failure and decides whether added work is worth added wait.

The design lesson

When the model misses, fix the prompt before you buy a bigger model.

Count the failure, preserve the safety net and make the first call more capable of succeeding. Give judgment to the model and derivable mechanics to code. Then check the product with scripts, agent judgment and a human owner, each with a different job.

Region map

VisualRegionWhat to look for
Earlier failed build1 · 2 · 3Agent Activity, failure message and empty lanes.
Modeled escalation rewardWhole chartFirst attempt and third attempt; modeled extra recovery cost.
Successful build1 · 2 · 3Completion and revision, process and task, citations and sources.

For Claude Certified Architect–Professional readers

Anthropic's guidance on developing tests connects evaluation with the outcomes a system should achieve. We apply that idea to a real product: count structural failures, inspect the first fault, and complement repeatable smoke checks with judged walks and human acceptance.

Explore CCA-P concepts in practice →

Enlarged detail from the unchanged capture. Scroll inside the image when needed; on a keyboard, focus the image and use arrow keys. Escape or Close returns to the story.