At a glance

We want AI to give people room to think. The useful question is how much work remains when the answer arrives. This field guide follows an internal support assistant through retrieval, human review, correction and fallback, with a reproducible example that makes the hidden work visible.

  • Time the path to an accepted outcome; generation, verification, correction and fallback all belong in the comparison.
  • Test source sufficiency, citation support and consequence separately; one accuracy score cannot tell you what to repair.
  • Choose routing policies on development data, then evaluate a frozen policy on unseen cases and inspect the worst slices.

1. Define what “finished” means

A beautiful demonstration can make an ordinary afternoon feel different. Someone asks a difficult question; the answer appears, and you see time opening up. The evaluation should help that possibility survive contact with the work.

Our example is an internal support assistant that retrieves procedures and drafts a response. The support agent still decides what to send. Define success before selecting a model: the response identifies the applicable procedure and version, supports consequential claims with accessible source passages, and gives a usable next action—or correctly escalates when the evidence cannot support one.

Inputs: permitted historical tasks, a versioned document snapshot, expected answers and escalation rules, qualified reviewers, and today’s workflow. Compare against that workflow and a plausible simpler improvement, such as better search. Freeze the acceptance rubric. Record access violations and unsafe instructions separately from ordinary answer defects.

2. Build cases that teach you where to repair

For each task, store its ID, slice, user permissions, source snapshot, necessary facts, supporting passages, acceptable alternatives and reasons to abstain. Include routine work, missing answers, conflicting versions and access-restricted documents. A retrieved page can be relevant while missing the fact needed to answer; Google Research’s work on sufficient context examines this distinction.

Grade three layers. Retrieval: did the context contain the required evidence? Attribution: does each cited passage support its attached claim, and are consequential claims covered? Outcome: is the final action correct for this user and situation? Record unsupported claims individually. A valid URL is not evidence of entailment.

In one case, procedure v3 says “Export the configuration before resetting.” The draft cites that exact passage but recommends resetting immediately. Retrieval passes; the recommendation fails attribution and outcome. If v3 never reached the model, investigate retrieval or version selection first. If v3 reached it and the answer still omitted the prerequisite, investigate generation and review. The same wrong answer can demand different repairs.

Split by customer, document family or incident when related cases could leak across sets. Tune prompts, retrieval and thresholds on development cases; reserve unseen cases for the frozen system. This applies the development/test separation described by Google. Repeatedly fixing against the test set turns it into development data.

3. Keep the stopwatch running

FIG. 01 / Worked ledger · elapsed minutes

The work after generation changes the result.

↔ Scroll across diagrams and tables to inspect the detail.

Paired workflow totals: 86 baseline minutes and 70 assisted minutes Synthetic data, eight cases. Assisted total is four minutes setup, twenty-three review, fourteen correction, twenty-nine fallback. Exact per-case values follow in the table. 020406080100 Baseline86 Assisted 70Elapsed minutes to accepted outcomes · all 8 cases
Setup: 4 minReview: 23 minCorrection: 14 minFallback: 29 min
Every row is the same task in two workflows. A–D are routine; E–H are exceptions. Setup includes scoring and generation. All final results are accepted by construction.
Case / sliceBaselineSetupReviewCorrectFallbackAI totalDraft errorScore
A / Routine8.00.52.00.00.02.5None0.98
B / Routine10.00.53.01.00.04.5Minor0.91
C / Routine12.00.53.06.00.09.5Major0.88
D / Routine9.00.52.00.00.02.5None0.85
E / Exception15.00.54.00.015.019.5Major0.72
F / Exception7.00.52.00.00.02.5None0.82
G / Exception11.00.53.07.00.010.5Severe0.95
H / Exception14.00.54.00.014.018.5Major0.61

16 minutes saved overall; 4 minutes lost on exceptions. E and H need the full baseline after an unsuccessful review. G takes seven correction minutes to remove a severe draft error. A fast first answer would hide both costs.

Teaching example, not measured AI performance. Times are sequential elapsed stages with no overlap. Severity describes the potential consequence of a draft error before review; every error is caught in this fixture. Download the lab to reproduce the arithmetic.
Inspect nodeDefine acceptance

A support reply names the applicable procedure and version, cites a passage for consequential claims and gives a usable next action or a justified escalation.

Explore diagram16 nodes · 22 connectionsMermaid

Use the same tasks in both workflows, with independent operators or counterbalanced assignment so remembering an answer does not favour the second attempt. Match operator experience. Have a reviewer apply the acceptance rubric without knowing which system produced the result where feasible. Record disagreements and adjudicate them.

The figure uses eight paired observations. Its accounting is T_AI = setup + review + correction + fallback, and saving = T_baseline − T_AI. The stages do not overlap. If an attempt fails, its spent time stays in the ledger before fallback begins. If the final result remains unacceptable, mark failure and retain elapsed time; never count an early wrong answer as a fast success.

Here, 86 baseline minutes become 70 assisted minutes: 16 minutes saved, or 18.6%. Generation and setup consume only four minutes. The remaining 66 minutes explain what the demo left out. Measure elapsed time and active labour separately in a real pilot; overlapping model waits cannot simply be charged as staff labour.

4. Refuse to average away the decision

Define severity before inspection. In this example, minor means harmless wording repair; major means an unusable answer or wrong procedure; severe means a potentially dangerous instruction or disclosure. Track draft errors and errors escaping human review separately. A reviewer catching every error in our fixture is an assumption, not evidence that review will work in production.

The balanced sample saves five minutes per routine case but loses one per exception. If actual traffic is 80% routine, an assumed weighted saving is 0.8 × 5 + 0.2 × (−1) = 3.8 min/case. At a 50/50 mix it is two minutes. Estimate deployment weights independently and report each slice’s count; keep deliberately oversampled hazards visible outside that weighted average.

The lab’s paired bootstrap resamples whole cases and gives a 95% percentile interval of −1.00 to 4.62 minutes for the unweighted mean saving. Eight cases establish no real benefit. With real data, resample independent customer or incident groups when appropriate; uncertainty grows when cases share a cause.

5. Evaluate the policy, including its refusal path

FIG. 02 / Routing sensitivity · same eight cases

A stricter score can leave the worst error in.

↔ Scroll across diagrams and tables to inspect the detail.

Raising a routing threshold does not guarantee a better workflow Synthetic sweep of five thresholds. The fastest policy takes sixty-two minutes at seventy-five percent coverage, but still exposes one severe draft error to review. Square markers mean a severe draft remains; circles mean none in this fixture. All values are in the table below. 5060708090100 0%25%50%75%100% Baseline: 86 min t=0.00t=0.80t=0.90t=0.96t=1.00 Coverage · cases routed to an AI draft for human reviewTotal elapsed minutes · 8 cases

Severe draft remains   No severe draft in this fixture

Solid line: synthetic assisted workflow. Dashed line: baseline. Connectors only guide the eye; no unmeasured intermediate policies are implied.
Route when score ≥CoverageTotal minDraft errors / routedSevere drafts
0.00100.0%70.05 / 81
0.8075.0%62.03 / 61
0.9037.5%77.02 / 31
0.9612.5%84.00 / 10
1.000.0%90.00 / 00

Case G scores 0.95 and still contains a severe error. The score is a ranking signal, not a correctness probability. At t=1.00 all cases use the baseline, but scoring overhead adds four minutes. Turning the feature off would cost 86 minutes.

A retrospective sensitivity example, not a policy recommendation. Below threshold, each case pays 0.5 minutes setup plus its baseline; above threshold, it pays the full assisted ledger. All routed drafts still require human review. With no routed cases, error rate is undefined, not 0%.
Inspect nodeScore every case

Pay half a minute per task before routing. A score at or above the threshold opens the draft for review. A lower score sends the task to full baseline processing.

Explore diagram11 nodes · 14 connectionsMermaid

A routing threshold changes who receives a draft and who goes directly to the baseline. Our synthetic score is available before review; it is neither model confidence nor a probability. The table exposes the entire policy cost, including scoring on rejected cases.

At 0.80, six cases reach review and total time falls to 62 minutes. At 0.90, total time rises to 77 minutes and the severe draft remains. More selective is not automatically safer. The 0.96 policy happens to avoid every defective draft here, while routing only one case. That is far too little evidence to justify automated sending.

Use a sweep like this on development data to choose a policy under agreed constraints. Then lock it and evaluate on the held-out set. Treat access checks and action permissions as application controls, not score thresholds. OWASP’s excessive-agency guidance supports limiting tool permissions and requiring approval for consequential actions.

6. Reproduce it, then replace the cases

Download the Python evaluation lab. It uses only the standard library and embeds every row shown above. Save it locally and run:

python3 ai-evaluation-lab.py
python3 ai-evaluation-lab.py --threshold 0.8 --routine-share 0.8
python3 ai-evaluation-lab.py --csv > cases.csv

The first command reproduces 86 versus 70 minutes, the paired interval and all routing policies. The second reports 62 assisted minutes and 4.20 weighted minutes saved per case under the stated traffic assumption. CSV export gives you a starting schema; replace the embedded fixture with measured cases and retain your source and grading records alongside it.

Before a pilot, record the chosen scope, minimum useful time saving, severity limits, review owner, fallback capacity and stop condition. Convert active labour saved into money separately, then subtract model, integration and maintenance costs. A latency saving alone is not a return-on-investment calculation.

During the pilot, sample completed work to look for errors reviewers missed. Record document, prompt, retrieval and model versions with each result. If inputs or those versions change, rerun the affected evaluation and check the live slices. A result from yesterday’s corpus does not establish the behaviour of today’s system.

The result to take forward is specific: which people gain time, on which work, with which remaining failure modes. That gives the initial excitement somewhere to go—and gives the team an experiment it can honestly believe in.

Then decide how many real cases you need. Eight cases teach the arithmetic. They cannot support a rate. If a severe error occurs in 1 of 100 real cases, a set of 50 cases contains none of them about 61% of the time.

The rule of three gives the bound. After a number of cases with no severe error, the 95% upper limit for the error rate is about 3 divided by that number. Zero in 50 cases allows a rate of up to 6%. Zero in 300 cases allows up to 1%. Size the case set from the rate you must exclude, and state which rate the evidence can exclude.

ABOUT THEBSQ

thebsq builds and operates software and connected hardware. Our engineers use market evidence to set the brief and direct AI agents to test designs and trace faults in production.

Explore our work