Skip to content
CCAR-F Prep

Task Statement 5.5·Domain 5 — 15% of exam

Human Review & Confidence Calibration

Design human review workflows and confidence calibration

Jump to practice →

Official Exam Guide Objectives

The objectives below are quoted from Anthropic's Claude Certified Architect – Foundations exam guide, v1.1. Read the exam guide summary for the full blueprint.

Task 5.5: Design human review workflows and confidence calibration.

Knowledge of

  • The risk that aggregate accuracy metrics (e.g., 97% overall) may mask poor performance on specific document types or fields
  • Stratified random sampling for measuring error rates in high-confidence extractions and detecting novel error patterns
  • Field-level confidence scores calibrated using labeled validation sets for routing review attention
  • The importance of validating accuracy by document type and field segment before automating high-confidence extractions

Skills in

  • Implementing stratified random sampling of high-confidence extractions for ongoing error rate measurement and novel pattern detection
  • Analyzing accuracy by document type and field to verify consistent performance across all segments before reducing human review
  • Having models output field-level confidence scores, then calibrating review thresholds using labeled validation sets
  • Routing extractions with low model confidence or ambiguous/contradictory source documents to human review, prioritizing limited reviewer capacity

What You Need to Know

Human review is what stands between an automated extraction system and its mistakes. The examinable question is not whether to use reviewers but how to spend a fixed amount of their attention for the most accuracy — which turns on calibrating confidence, distrusting aggregates, and sampling in strata.

The Aggregate Metrics Trap

This is the most dangerous misconception in production extraction systems. A system reports 97% overall accuracy. The team celebrates. Management approves full automation for all high-confidence extractions.

Underneath that number, the picture is not uniform. Dates come off standard invoices at 99.5%. Handwritten receipts run at 60%. Scanned PDFs with poor OCR manage 72%. International documents in unfamiliar formats reach 45%.

An average conceals its worst components by construction, and the segments hidden here are not the harmless ones — receipts handwritten by field staff, invoices from new international suppliers, scanned historical documents pulled for a compliance audit. The places the system is weakest are frequently the places an error costs most.

The rule, then: measure accuracy per document type and per field before anything is automated. An aggregate is never sufficient grounds for that decision on its own.

Document TypeShare of VolumeDate AccuracyAmount AccuracyName Accuracy
Standard invoices93%99.5%98.2%97.8%
Handwritten receipts2.5%60.1%55.3%71.2%
Scanned PDFs3.5%72.4%69.8%80.1%
International formats1%45.2%52.1%63.4%
Aggregate100%97.0%95.7%96.2%

Standard invoices carry the volume, so they carry the average — and three document types sit at accuracy nobody would sign off if they saw it, weighted into invisibility.

An average hides its worst components by construction A document extraction system reports 97.0% overall accuracy, and on the strength of that figure the team approves full automation. Underneath, standard invoices — which carry the bulk of the volume — score 99.5%, but handwritten receipts score 60.1%, scanned PDFs score 72.4%, and international formats score 45.2%. The high-volume, high-accuracy segment pulls the weighted average up and hides the three weak segments inside it. Measuring accuracy by document type and by field before automating anything is what surfaces them. 97.0% overall accuracy the team celebrates — full automation approved Standard invoices 99.5% Handwritten receipts 60.1% Scanned PDFs 72.4% International formats 45.2% built from the volume beneath it an average is never sufficient grounds — measure by document type and field first
1 / 6Swipe diagram ↔

An average hides its worst components by construction, step 1: 97.0% overall accuracy

The arithmetic behind the headline

The aggregate is a volume-weighted mean: each segment's accuracy multiplied by its share of the documents, then added up. For the date column above:

0.93 × 99.5  +  0.025 × 60.1  +  0.035 × 72.4  +  0.01 × 45.2  =  97.0

Nothing in that sum is wrong. The 97% is arithmetically true and operationally misleading, because it is a statement about the whole population made without looking at any one part of it. Two things follow that are worth being able to do in your head:

  • A small segment barely moves the headline. Handwritten receipts could fall from 60% to 0% and the date aggregate would drop by only 1.5 points (2.5% of 60).
  • A small segment can still own most of the errors. The three weak types are 7% of the documents and produce about 84% of the wrong dates: of every 100 documents, invoices contribute 0.47 wrong dates and the other three types contribute 2.51 between them.

When a stem gives volume shares and a healthy headline, remember the second point: the weak segment is a rounding error in the average, not in the error count.

Which Segments to Measure

"By document type and by field" is the minimum, and they are two different cuts of the same records. Each cut on its own is still an average. Accuracy by document type blends the fields inside each type; accuracy by field blends the types, so a date field at 99.5% on invoices and 45% on international formats reports as one middling figure that describes neither. The decision to automate rests on the combination: this field on this document type. Nor is the breakdown something to run only when the headline disappoints. A healthy aggregate is exactly when the hidden segments most need looking at.

Segment axisWhy it matters
Document typeLayout and image quality drive accuracy more than anything else
FieldA field that is often absent from the source, or written in an ambiguous format, fails systematically whatever the document type
Source or supplierOne supplier's template can be an outlier inside an otherwise healthy type
Confidence bandThe precondition for routing: you need to know how accurate each band really is
VolumeTells you how much of the total error count a weak segment owns, as in the arithmetic above

Fields fail for reasons of their own. A tax identifier that most documents do not carry tempts the model to fabricate one (the case for nullable fields in Task 4.3). A due date written 03/04/2026 is 3 April or 4 March depending on the supplier (the case for format normalisation rules, also Task 4.3). A field that is usually absent also contributes few records, one more way a headline stays high while that field is bad.

Then take the automation decision per segment, not globally. The guide's wording is "verify consistent performance across all segments before reducing human review", and the practical consequence is partial automation: automate the segments that clear the bar, and keep failing document types, and failing fields across every document type, in review until they improve.

Stratified Random Sampling

Validating once is not enough; accuracy has to be watched. Stratified sampling means drawing a representative sample from each stratum — document type, confidence band, field type — and putting humans on it.

The part that matters, and that the exam tests, is that the high-confidence extractions must be sampled too. Low-confidence items already go to a reviewer, so nothing new is learned by checking them. High-confidence items are the ones running unattended, which makes them the only place a new error pattern can establish itself unobserved.

Stratified sampling serves two purposes:

  1. Ongoing accuracy measurement — check each segment is still performing at the rate it was validated at.
  2. Novel error pattern detection — surface failure modes that were not present when the validation set was assembled.

Without it the automated portion is unmonitored by definition. A new document format could introduce a systematic error and the first indication would be a downstream business process failing on data nobody checked.

The automated stream is the blind spot Extractions split into a low-confidence stream that already reaches a human reviewer, and a high-confidence stream that runs automated and unreviewed. Sampling only the low-confidence stream teaches nothing new, because a reviewer already sees every one of those items — and a novel error pattern that appears in the high-confidence stream grows there unflagged, because no sampling ever reaches it. Sampling every stratum, including the high-confidence automated one, catches that same pattern. The automated stream is the only place a new error pattern can establish itself unobserved, which is exactly why it has to be sampled too. Sample low-confidence only sample low confidence → reviewer high confidence → automated, unreviewed new pattern — unflagged ✕ grows unobserved — nothing samples it low-confidence items already reach a reviewer — nothing new is learned there Sample every stratum sample sample low confidence → reviewer high confidence → automated, sampled caught by sampling the automated stream is the blind spot — sample it too
1 / 6Swipe diagram ↔

The automated stream is the blind spot, step 1: Sample low-confidence only — nothing reaches the automated stream

Why stratified, and not a flat random draw

A flat (simple) random sample follows volume. Draw 200 items from a population in which handwritten forms are 2% of the documents and you expect about 4 of them (200 × 0.02), too few to measure the segment most likely to be failing. A draw that is merely proportional has the same weakness, and so does raising the overall sample rate: every stratum scales together and the rare one stays rare.

What does the work is a guaranteed minimum per stratum. Sample in proportion to volume if you like, but with a floor every stratum reaches; a fixed count per stratum is the same idea taken to its limit. For each stratum of the automated stream (document type × confidence band), with items its extractions, rate the sample rate and floor the minimum:

n = min(len(items), max(floor, math.ceil(len(items) * rate)))   # proportional, never below the floor
sample = rng.sample(items, n)                                    # random within the stratum

Random within the stratum, not aimed at known risks

Measuring the error rate needs enough items per stratum; detecting a novel pattern needs the draw inside each stratum to be random. A sample aimed at known-risky cases can only confirm known risks. A new failure (a supplier changes its template, a new document type enters the mix, the model version changes) is by definition covered by no existing check, so only an untargeted draw can land on it.

What happens to a finding

A recurring new error becomes a validation rule (Task 4.4), a few-shot example showing the new layout (Task 4.2) or a schema change (Task 4.3), and the labelled set and the calibration built from it are refreshed. Every sampled item a human checks is also a new label, which matters because the review queue only ever produces labels for low-confidence items.

Read a small sample as a pooled estimate, not one week at a time. Forty checked items can only read 100%, 97.5%, 95% and so on, so a single error swings one week's figure across a 98% bar. A cluster of errors from one supplier is different: that is a pattern. The worked example below shows both.

Field-Level Confidence Calibration

Confidence can be reported per field. An invoice extraction might come back as:

{
  "vendorName":  {"value": "Acme Corp",   "confidence": 0.98},
  "invoiceDate": {"value": "2024-03-15",  "confidence": 0.95},
  "totalAmount": {"value": "$1,247.83",   "confidence": 0.72},
  "lineItems":   {"value": [],            "confidence": 0.61}
}

The score is per field, not per document, for a practical reason: one document can carry a crisp invoice number and an illegible date. A single document-level score sends the whole document to a reviewer when one field needed a human, or sends none of it when one field did.

Those numbers are not accuracy rates. A model reporting 0.95 might be right 88% of the time on one field type and 99% on another — the score orders the model's own certainty and says nothing about how often that certainty is warranted.

Calibration requires labelled validation sets (ground truth data). Run documents whose correct extraction you already know, compare reported confidence against what actually happened, and build the curve. What emerges is usable: at 0.90 on date fields the model is right 94% of the time; at 0.90 on amount fields, 82%. Same score, different meaning, which is exactly why an uncalibrated threshold cannot be applied across fields.

Calibrated thresholds then drive routing:

  • Above the calibrated threshold → run automatically, with stratified sampling watching it
  • Below it → send to a reviewer
  • Sitting near the line → send to a reviewer, and put it near the front of the queue
Same score, different meaning — calibrate it first A model reports confidence: 0.90 on an extraction. Checked against a labelled validation set, that reported score maps to 94% actual accuracy on date fields, close to what was reported, but only 82% actual accuracy on amount fields, a real gap from the reported number. The same confidence score means different things depending on the field it was reported for, which is why a raw score only becomes a usable routing signal once it has been calibrated against ground truth for each field type. confidence: 0.90 date fields 94% actual accuracy amount fields 82% actual accuracy same score, different meaning — an uncalibrated threshold cannot be applied across fields
1 / 6Swipe diagram ↔

Same score, different meaning — calibrate it first, step 1: confidence: 0.90

What the labelled validation set has to be

A labelled validation set is a collection of real documents paired with the correct value for every field, checked by a person. That correct value is the label, also called ground truth. Calibration can only come from labels, because counting how often the model was right requires knowing the right answer. Three properties decide whether the set is worth calibrating against:

  • Labelled by people who know the documents. Domain experts (the clerks who key these invoices today), not the engineers who built the extractor. Two people labelling independently, with a third settling disagreements, also shows which fields are ambiguous even to people.
  • Stratified. A set drawn in proportion to volume holds almost no handwritten forms, so it cannot measure them. Over-represent the rare and difficult types deliberately; the set's own unweighted accuracy will then look worse than production's, which is expected.
  • Held out. Never reuse validation documents as few-shot examples or tune the prompt against them. Accuracy measured on documents the prompt was shaped around is inflated.

How much evidence a band needs

The exam guide stops at "calibrating review thresholds using labeled validation sets". What follows goes one step beyond the guide; know it as reasoning, not as quoted exam fact.

A calibration table records, for each confidence band of one field on one document type, how many labelled records fell in the band and how many were right. A band with 4 records, all correct, reads 100% and proves nothing: the same evidence is compatible with a true accuracy near 60%. Two guards keep a threshold honest:

  • Judge a band by a cautious estimate, not by its raw percentage. Thirty correct out of thirty still leaves room for a true accuracy as low as about 92% (a one-sided 95% lower bound). To show at least 98% with no errors at all takes roughly 150 records in the band (the "rule of three": 3 ÷ 0.02 = 150; exact methods give between 133 and 149). A fixed minimum such as "at least 30 records" is far too weak for a high target.
  • Walk down from the top band and stop at the first failure. Calibration tables are not always tidy: a lower band can pass while a band above it fails, and choosing the lowest passing band would automate the failing one above it.

In outline, where lower_bound is the cautious estimate and right_and_total counts the labelled records in a band:

threshold = None                              # None means review everything
for lo, hi in BANDS:                          # highest band first
    k, n = right_and_total(records, lo, hi)   # labelled records in this band
    if n == 0 or lower_bound(k, n) < target:
        break                                 # first empty or failing band ends the walk
    threshold = lo

Run once per field and document type, this yields a table of thresholds in place of one global number. In the worked example below it gives 0.95 for total and no threshold at all for due_date.

When to recalibrate

A calibration table describes one model, one prompt and one mix of documents. Rebuild it when any of those changes:

TriggerWhy
The model version changesThe way confidence is reported may change with it
The prompt or schema changesSame reason
The document mix shifts (a new supplier, a new document type)The old labels no longer represent what is arriving
Sampling shows a drop or a novel patternSomething has already moved
A regular schedule, for example quarterlyCatches slow drift nobody noticed

A stale calibration table is worse than none, because people trust it. One workable arrangement keeps a frozen core of the labelled set, so model and prompt versions can be compared on the same documents, plus a rolling portion refreshed from recent corrections and samples.

Reviewer Capacity Prioritisation

Reviewer time is finite and expensive, and how it is allocated is examinable.

Route the highest-uncertainty items to reviewers first. This means:

  • Fields the model scored low
  • Anything pulled from a source that was ambiguous or contradicted itself
  • Document types whose measured accuracy has always been weak
  • Fields where more than one reading was available and the model said so

Do NOT spread reviewer capacity evenly across all extractions. Even distribution spends attention confirming work the model already does well, and the shortfall lands precisely where judgement was needed — so the same budget produces materially less accuracy.

Order the queue dynamically rather than fixing it in advance. As documents arrive, the pending queue re-sorts by uncertainty, so the next item a reviewer picks up is the most uncertain one outstanding rather than whichever happened to arrive first.

"Most uncertain" means lowest calibrated confidence, not lowest raw score. Raw scores are not comparable across segments: a raw 0.80 on an international document can be less reliable than a raw 0.70 on a standard invoice, and a queue sorted on the raw number serves them in the wrong order.

Spend reviewer time where it changes the outcome Five extractions carry mixed confidence scores. Distributing reviewer time evenly across all five gives the confident ones the same slice as the uncertain ones, so the genuinely uncertain extractions run out of budget still unreviewed — even distribution spends attention confirming work the model already does well. A priority queue instead routes reviewer time to the lowest-confidence items first, giving them a larger share while the confident ones need almost none, so the uncertain items get reviewed within the same total budget. The next item a reviewer picks up is always the most uncertain one still outstanding, not whichever arrived first. Even distribution 0.95 0.60 0.85 0.55 0.90 equal time, regardless of confidence ✕ still uncertain — ran out of budget even distribution spends attention confirming work the model already does well Priority queue by uncertainty 0.95 0.60 0.85 0.55 0.90 time flows to where it is needed ✓ the uncertain items get reviewed the next item served is always the most uncertain one outstanding
1 / 6Swipe diagram ↔

Spend reviewer time where it changes the outcome, step 1: Five extractions, mixed confidence, equal time each

Confidence is not the only thing that routes

The guide's skill names two triggers, not one: "low model confidence or ambiguous/contradictory source documents". A document that contradicts itself can be read confidently and wrongly, so the second trigger has to work independently of the score. In practice the router takes several inputs:

InputRouteWhere it comes from
Above the calibrated threshold, no flagsAutomatedThe per-field score, after calibration
Below the threshold on a required fieldHuman reviewSame
conflict_detected is trueHuman reviewThe Task 4.4 pattern: "adding conflict_detected booleans for inconsistent source data"
An "unclear" enum valueHuman reviewThe Task 4.3 pattern of adding enum values like "unclear" for ambiguous cases
A semantic validation failure that retry could not resolveHuman reviewTask 4.4: retries do not help when the information is absent from the source
The segment has no thresholdHuman reviewIt failed its accuracy bar, or it is a new document type with no labelled data yet
Picked by the stratified sampleHuman review, as an auditA check on the automated stream, not a doubt about the item

The order of the checks is the point: the flags are tested before the score is looked at, and a segment without a calibrated threshold never falls back to the raw score, which would trust exactly the thing that was never checked.

def route(field, thresholds):
    if field.get("conflict_detected") or field["value"] == "unclear":
        return "human_review"      # ambiguous or contradictory source: the score is irrelevant
    threshold = thresholds.get((field["doc_type"], field["name"]))
    if threshold is None or field["confidence"] < threshold:
        return "human_review"      # no calibrated threshold for this segment, or below it
    return "automated"             # and still eligible for the stratified sample

Do not confuse this with Task 5.2's multiple-match case. In a live support conversation, a lookup that returns several matching customers means asking the customer for another identifier, not handing off to a human. In a batch pipeline there is nobody to ask, so an input the system cannot resolve goes to a reviewer like any other ambiguous source.

A further consideration: how much a mistake costs

Uncertainty first is the rule this task statement gives you, and it is the right answer whenever the alternatives are even allocation, arrival order or random assignment. The guide's wording stops at confidence and ambiguity. A refinement that is not in the guide: two equally uncertain fields are not equally urgent.

priority = probability of error × cost of that error

A doubtful invoice number on a 2-dollar invoice matters less than a moderately doubtful total on a 40,000-dollar one. Where reviewer capacity is the binding constraint and the cost of an error is known, weighting by it puts the expensive mistakes in front of a person first. The probability is the calibrated one.

Validation Before Automation

The sequence matters:

  1. Measure accuracy by document type and field segment — not aggregate.
  2. Calibrate confidence scores using labelled validation sets.
  3. Set calibrated thresholds for automation versus human review.
  4. Implement stratified random sampling for ongoing verification of automated extractions.
  5. Only now scale back review, and only on the segments whose accuracy has held up under all of the above.

Jumping to step 5 on the strength of an aggregate is the trap this whole task statement circles. Each earlier step exists because a specific failure occurs without it — and each one is skippable, which is what makes the shortcut tempting.

Step 5 is not the end. Review corrections and sampled checks keep producing new labels, a drop or a new pattern sends you back to step 1 for the affected segment, and the thresholds are rebuilt from the larger labelled set. The sequence is a loop that happens to have a first pass.

Worked Example: One Pipeline From First Prompt to Steady State

This example uses its own numbers and its own document types, separate from the table at the top of the lesson, so that every figure can be followed through. It shows where labels come from, who makes them, when they are used and when they are replaced.

The situation. A finance team receives about 10,000 supplier invoices a month. Four fields are extracted from each (invoice_number, total, due_date, tax_id) and posted to the accounting system. Today four accounts-payable clerks key all 40,000 fields by hand.

Phase 1: build the extractor. The prompt and schema return every field with its own confidence, for example due_date "2026-03-04" at 0.91 and a null tax_id at 0.40. Nothing is automated yet. Nobody knows what 0.91 means; it is the model's opinion of itself.

Phase 2: create the labelled validation set. Two clerks independently record the correct value of every field on 1,500 historical invoices, and a senior clerk settles the disagreements. The pick is stratified: 700 scanned invoices, 375 native PDFs, 250 photographed documents and 175 handwritten forms. Photographed and handwritten documents are 28% of the set against 7% of real volume, on purpose, because otherwise those segments could not be measured. The set is held out: none of it is used as a few-shot example or for prompt tuning.

Phase 3: run the extractor on the labelled set and compare. Each of the 6,000 fields (1,500 documents × 4) becomes one record of field, reported confidence and whether it was correct. For example, the extractor read a due date printed 03/04/2026 as 4 March with confidence 0.91; the label says 3 April, because this supplier writes the day first. That record is "due_date, 0.91, wrong". Two tables come out of the records.

Table A answers "is this segment safe to automate?":

By document typeShare of real volumeCorrect / fieldsAccuracy
Scanned invoices62%2,775 / 2,80099.1%
Native PDFs31%1,476 / 1,50098.4%
Photographed5%710 / 1,00071.0%
Handwritten forms2%427 / 70061.0%
By fieldCorrect / fieldsAccuracy
invoice_number1,497 / 1,50099.8%
total1,491 / 1,50099.4%
due_date1,230 / 1,50082.0%
tax_id1,170 / 1,50078.0%

Both breakdowns count the same 5,388 correct fields out of 6,000, which is 89.8% on this deliberately hard set. Weighted by real volume the document types give 0.62 × 99.1 + 0.31 × 98.4 + 0.05 × 71.0 + 0.02 × 61.0 = 96.7%, the "97%" a dashboard would report. Handwritten forms are 2% of volume and about 24% of all errors.

Table B answers "what does a score really mean?" (top bands only; the lower bound is the cautious one-sided 95% estimate described earlier):

FieldReported confidenceCorrect / recordsAccuracyLower bound
invoice_number0.95–1.001,402 / 1,40499.9%99.6%
total0.90–0.95136 / 14097.1%93.8%
total0.95–1.001,288 / 1,29099.8%99.5%
due_date0.90–0.9571 / 8880.7%72.9%
due_date0.95–1.00183 / 20191.0%87.2%

The same reported 0.90–0.95 means about 97% on total and about 81% on due_date. This comparison is the calibration.

Phase 4: set the rules. The business requires automated fields to be at least 98% accurate, shown on the lower bound.

DecisionEvidence
Photographed and handwritten documents are always reviewed (71.0% and 61.0%)Table A
invoice_number is accepted automatically at confidence 0.95 or above (lower bound 99.6%)Table B
total is accepted automatically at 0.95 or above (99.5%); the 0.90–0.95 band reaches only 93.8%Table B
due_date is always reviewed: no band reaches 98% (the best is 87.2%)Table B
tax_id is always reviewed for nowTable A
Anything flagged as conflicting or "unclear" is reviewed whatever its scoreRouting rules

The result is a set of thresholds per field and per segment, not one global number.

Phase 5: go live with routing. A scanned invoice arrives with confidences invoice_number 0.99, total 0.97, due_date 0.93 and tax_id 0.88. The first two fields are accepted; the last two go to the queue because those fields are always reviewed. The clerk sees two fields, not four. The monthly workload becomes:

Routed to a clerk each monthFields
due_date, always reviewed10,000
tax_id, always reviewed10,000
invoice_number and total on the 700 photographed and handwritten invoices1,400
total below 0.95 on the 9,300 scanned and native invoices (about 10% of them)930
invoice_number below 0.95 on the same invoices (about 5%)465
Total22,795 of 40,000 (57%)

Workload falls by about 43%. A 97% headline never meant 97% less review, and most of what remains is the two fields that have not earned automation. A side effect is that every clerk correction is a new label.

Phase 6: keep watching. Accepted fields are never seen by a person, so their errors are invisible. Each week about 40 accepted extractions per stratum (document type × confidence band) are drawn at random and checked by a clerk who is not shown that they were accepted. Pooled over six weeks, scanned-invoice totals read 238 / 240 = 99.2%, consistent with the 98% bar (a true 98% would have produced about 5 errors in 240). In weeks 8 and 9, 3 of the 10 sampled totals from one supplier are wrong: the supplier changed its template, and no existing rule would have caught it. Review corrections could not have caught it either, because they only cover what was already uncertain.

Phase 7: fix, relabel, recalibrate. Add a validation rule or a few-shot example for the new template, add the new documents and the recent corrections to the labelled set, rebuild both tables with the current prompt, and adjust the thresholds. Suppose that after a fix the due_date band 0.95–1.00 reads 448 / 450 = 99.6% with a lower bound of 98.7%. It can now be accepted automatically on scanned and native invoices at 0.95 or above. If about 70% of those due dates score that high, 9,300 × 70% = 6,510 fewer fields reach a clerk and the monthly total falls from 22,795 to 16,285. tax_id needs the same evidence before it can follow, and the photographed and handwritten documents stay in review until those segments clear the bar.

Deep Dive

The LLM-as-judge scoring pattern: a template for field-level confidence

Anthropic's own evaluation of their multi-agent research system tried several judges and found that "a single LLM call with a single prompt outputting scores from 0.0-1.0 and a pass-fail grade" was "the most consistent and aligned with human judgements", and that using an LLM as a judge "allowed us to scalably evaluate hundreds of outputs." The post describes a judge scoring finished research outputs, not an extractor scoring its own fields, so applying it here is an analogy: a bounded numeric score plus a discrete pass/fail-style grade, generated by one call rather than an elaborate multi-step judgement process, is the shape that stays consistent enough to calibrate against ground truth at scale. Note the phrase "aligned with human judgements": the judge's scores were themselves checked against people, which is calibration under another name.

Sourceanthropic.com › multi-agent-research-systemfetched 2026-11-19

The evaluation rubric as a model for validation-set design

When Anthropic scored their research agent's outputs, the LLM judge evaluated against a rubric of five named criteria: "factual accuracy (do claims match sources?)", "citation accuracy (do the cited sources match the claims?)", "completeness (are all requested aspects covered?)", "source quality (did it use primary sources over lower-quality secondary sources?)" and "tool efficiency (did it use the right tools a reasonable number of times?)". This decomposition — multiple named dimensions rather than one opaque score — is the same principle behind validating extraction accuracy "by document type and field segment" instead of a single aggregate number. A validation set with only one axis of measurement hides exactly the kind of per-dimension failure this lesson's aggregate-metrics trap describes.

Sourceanthropic.com › multi-agent-research-systemfetched 2026-11-19

Human testing catches what automated evaluation misses

Even with the rubric-based LLM judge in place, Anthropic states plainly: "People testing agents find edge cases that evals miss", giving as examples "hallucinated answers on unusual queries, system failures, or subtle source selection biases", and concludes: "Even in a world of automated evaluations, manual testing remains essential." This is the closest published justification for stratified sampling of high-confidence extractions rather than relying purely on the model's own confidence signal — automated self-assessment (by the model, or even by an LLM judge) is not a substitute for human-verified ground truth on a genuine sample.

Sourceanthropic.com › multi-agent-research-systemfetched 2026-11-19

detected_pattern fields for systematic dismissal-pattern analysis

The exam guide's Task 4.4 (validation and retry loops) describes a companion technique worth knowing alongside calibration: "tracking which code constructs trigger findings (detected_pattern field) to enable systematic analysis of dismissal patterns." Applied to extraction review, this means tagging each low-confidence or human-corrected item with what specifically triggered the flag — not just that it was flagged — so that recurring failure causes (a particular field format, a particular document layout) surface as a pattern rather than a pile of individually-reviewed anomalies.

Sourceanthropic-partners.skilljar.com › partner-certificationsfetched 2026-07-30

Self-reported confidence alongside findings for calibrated routing

Task 4.6 (multi-instance and multi-pass review) names the specific skill this lesson's calibration pipeline depends on: "running verification passes where the model self-reports confidence alongside each finding to enable calibrated review routing." The word "calibrated" is load-bearing — the raw self-reported number only becomes useful for routing after it has been checked against a labelled validation set, exactly as this lesson describes. An uncalibrated confidence score is not a routing signal; it's an unverified guess.

Sourceanthropic-partners.skilljar.com › partner-certificationsfetched 2026-07-30

Category-level remedies repair trust after false positives

The related exam guide objective on precision (Task 4.1) records what one noisy category does to the rest: "the impact of false positive rates on developer trust: high false positive categories undermine confidence in accurate categories". Its remedies are aimed at the category, not at a global dial. The guide's skills are "writing specific review criteria that define which issues to report (bugs, security) versus skip (minor style, local patterns) rather than relying on confidence-based filtering", "temporarily disabling high false-positive categories to restore developer trust while improving prompts for those categories", and "defining explicit severity criteria with concrete code examples for each severity level to achieve consistent classification." The first of those is worth reading twice from this lesson's side: Task 4.1 prefers explicit criteria to confidence-based filtering for deciding what to report, while Task 5.5 uses calibrated confidence for deciding what a human reviews. The lesson here applies the same segment-first logic to document extraction: a single automation threshold cannot fix a trust problem that is actually concentrated in specific segments.

Sourceanthropic-partners.skilljar.com › partner-certificationsfetched 2026-07-30

Emitting per-field confidence through a strict schema

Field-level confidence is ordinary schema design: a number per extracted field, all required so that no field comes back without a score. One shape puts the scores in a confidence object beside the values:

{
  "confidence": {
    "type": "object",
    "description": "Per-field confidence from 0.0 to 1.0. Base each score on the evidence: printed explicitly and legibly (high), inferred from layout (medium), reconstructed from partial or ambiguous text (low).",
    "properties": {
      "invoice_number": {"type": "number"},
      "total": {"type": "number"},
      "due_date": {"type": "number"},
      "tax_id": {"type": "number"}
    },
    "required": ["invoice_number", "total", "due_date", "tax_id"],
    "additionalProperties": false
  }
}

Nesting a value and a confidence under each field, as earlier in this lesson, works equally well. Telling the model what a high, medium and low score should rest on is a prompt-design choice, not a documented requirement.

Three documented behaviours of structured outputs matter for a schema like this:

  • Objects must be closed. The supported features include "required and additionalProperties (must be set to false for objects)".
  • A range cannot be enforced by the schema. "Numerical constraints (such as minimum, maximum, multipleOf)" are on the not-supported list, and "If you use an unsupported feature, you'll receive a 400 error with details." Most SDK helpers instead strip such constraints, note them in the field's description and validate the response against your original schema. Either way, checking that each score lies between 0 and 1 is your code's job.
  • The same limits apply to both routes. "Both JSON outputs and strict tool use share these limitations." Strict tool use is strict: true on the tool definition; JSON outputs carry the schema in output_config.format with type: "json_schema". In the Agent SDK a schema is passed through the outputFormat option (TypeScript) or output_format (Python), and the validated data comes back in the result message's structured_output field.

The schema guarantees shape, not truth: the exam guide's Task 4.3 says strict schemas "eliminate syntax errors but do not prevent semantic errors". A confidence of 0.97 that satisfies the schema is still uncalibrated until it has been compared with labels.

Sourcesplatform.claude.com › structured-outputscode.claude.com › structured-outputsfetched 2026-11-19

Quick Reference

FactValue
Aggregate metrics trap97% overall can hide 40–60% error rates on specific document types
Validation sequenceMeasure by type+field → calibrate confidence → set thresholds → stratified sampling → then reduce review
Stratified sampling must includeHigh-confidence (automated) extractions, not just low-confidence ones
Why sample high-confidence itemsThey're the blind spot — novel error patterns there go undetected without sampling
Calibration requiresLabelled validation sets (ground truth), mapping reported confidence to actual accuracy
LLM-as-judge scoring templateSingle call, single prompt, 0.0–1.0 score + pass/fail grade — "the most consistent and aligned with human judgements"
Rubric dimensions (transferable to validation)Factual accuracy, citation accuracy, completeness, source quality, tool efficiency
Human testing roleCatches edge cases automated evals/self-confidence miss — stays essential
detected_pattern fieldTags what triggered a finding, enabling systematic dismissal-pattern analysis
Reviewer capacity ruleRoute highest uncertainty first; never spread capacity evenly
What the headline isA volume-weighted mean; 7% of documents can produce over 80% of the errors while moving it by a point or two
Automation decisionPer segment (document type, field, and their combination): automate what clears the bar, keep the rest in review
Field-level, not document-levelOne score per field, so only the doubtful field is routed
Labelled validation setBuilt by domain experts, stratified to over-represent rare types, held out from prompt tuning and few-shot examples
Routing triggersLow calibrated confidence or an ambiguous/contradictory source (conflict_detected, an "unclear" value, a validation failure retry could not fix)
Why a flat or proportional sample fails200 random items from a 2% segment gives about 4; guarantee a minimum per stratum instead
Random within each stratumA sample aimed at known risks cannot find a novel pattern
Recalibrate whenThe model, the prompt or schema, or the document mix changes; sampling shows drift; on a schedule
Confidence in a strict schemaadditionalProperties: false is required; minimum/maximum are not supported, so check the 0–1 range in code
Task 5.2 versus Task 5.5A raw self-reported score as a decision rule is the anti-pattern; a per-field score calibrated on labels is the design

Exam Traps

More wrong answers, and why each fails

The tempting answerWhy it failsWhat to choose instead
One confidence score per document, or a pass/fail verdict per fieldThe first routes a whole document for one bad field and hides a bad field behind good ones; the second cannot be banded, so nothing can be calibrated from itA continuous score per field
Segment by document type only, or by field only, or only if the aggregate falls below targetEach single cut is still an average over the other axis, and a healthy aggregate is the one that hides the problemAlways measure field and document type together
Sample only the cases already known to be riskyCan only confirm known risks; a novel pattern is somewhere nobody was lookingRandom selection within every stratum
Calibrate once at launch and leave the table aloneThe model version, the prompt and the document mix all change, and a stale table is still trustedRecalibrate on those triggers and on a schedule
Check the score against anything other than labels: a second pass by the same model, or the field's average confidenceA second pass re-expresses the same belief, and distance from the average shows only that an item is unusualCompare with human-verified labels
Reuse the validation documents as few-shot examplesMeasured accuracy is inflated once the prompt has seen themKeep the validation set held out
Set a threshold from a band with a handful of recordsFour out of four, or even thirty out of thirty, cannot show that a high target has been metRequire enough records that the cautious estimate clears the target
Serve the queue in arrival order, fix its order per shift, or sort it on the raw scoreHard items wait behind easy ones; a mid-shift arrival waits behind a stale ordering; a raw 0.80 on a weak segment outranks a raw 0.70 on a strong oneOrder by calibrated uncertainty and re-sort as items arrive
Trust the raw score for a document type that has no labelled data yetNothing has measured what the score means thereFull review until the new type has labels and its own calibration
Build machinery first: retrain the extractor, add a second model to cross-check, commission a review platformOver-engineered for a question that a breakdown of the existing accuracy report, or stratified sampling, already answers; two models reading the same odd layout also tend to fail togetherMeasure first; build only if the measurement shows it is needed

How This Is Tested

This task statement belongs most naturally to the Structured Data Extraction scenario, a system that in the exam guide's words "extracts information from unstructured documents, validates the output using JavaScript Object Notation (JSON) schemas, and maintains high accuracy". The same reasoning can be dressed in the support-agent or research-system scenarios: tickets resolved autonomously above a confidence, or claims shipped without human verification, are the automated high-confidence stream under another name. The signal in the stem tells you which idea is being tested:

Signal in the stemThe answerThe wrong-answer pattern beside it
A healthy overall accuracy figure, and a proposal to automate everything above a confidence cut-offBreak accuracy down by document type and field first; automate only the segments that clear the barRaise the cut-off; wait and re-measure the overall rate; refuse to automate anything
Errors discovered downstream in items the model returned with high confidence, or "no complaints" offered as evidenceStratified random sampling of the automated high-confidence stream, for the error rate and for novel patternsMove the threshold; add a second model; a one-off review period at launch
The same score on two different fields or document types routed identically, or a plan to route on self-reported scores straight awayThresholds per field and per document type, calibrated on a labelled validation setUse the raw score; keep the single rule; blanket-review the weak type
A fixed number of reviewers working in arrival order while uncertain items waitSend low-confidence and ambiguous or contradictory items first, ordered by uncertainty and re-sorted as items arriveEven split; random assignment; one reviewer per document type
A confident extraction from a source that states two different valuesRoute on ambiguity or contradiction independently of the scoreRaise the threshold; extract twice and compare; recalibrate the field
A sample drawn in proportion to volume that never surfaced a problem in a tiny segmentA guaranteed minimum per stratumRaise the overall sample rate; send the whole segment to review; recalibrate

Three option types can be rejected on sight under this task statement: a single global threshold, a score used without calibration, and validation that stops at the aggregate.

Proportionality cuts both ways. When nobody has looked at the segments, the cheap response is enough: break the existing accuracy report down by document type and field, or have the model report confidence per field. When a segment has been measured and its error rate would put wrong amounts into a downstream financial process, no change to the measurement is sufficient, and human review of that segment is the only thing that gives the guarantee. Two stems can read alike and differ only in that detail.

What the official material shows

The guide's own preparation exercise for the extraction scenario ends with this step: "Implement a human review routing strategy: have the model output field-level confidence scores, route low-confidence extractions to human review, and analyze accuracy by document type and field to verify consistent performance." That is this lesson in one sentence.

Sample Question 3, on escalation calibration (the subject of Task 5.2), has a distractor that looks like this lesson's technique and is keyed wrong. Option B reads: "Have the agent self-report a confidence score (1-10) before each response and automatically route requests to humans when confidence falls below a threshold." The official explanation: "Option B fails because LLM self-reported confidence is poorly calibrated—the agent is already incorrectly confident on hard cases." Task 5.2 likewise lists "self-reported confidence scores" among the "unreliable proxies for actual case complexity". This does not contradict a task statement that asks you to have the model output confidence scores. The score in Option B is used raw, with no labelled data behind it, and the problem in that stem is an unclear decision boundary, which the keyed answer fixes with explicit criteria and few-shot examples. Here the score is emitted per field and mapped to measured accuracy on a labelled validation set before it routes anything. If an option uses confidence with no mention of validation against labels, treat it as the uncalibrated version.

Practice Scenario

Your extraction pipeline automates above calibrated per-field thresholds and samples 5% of the automated stream monthly, in proportion to document type. Standard invoices are 82% of volume; international formats are under 2%. Six months of sampling found nothing on international documents, yet a supplier audit has just surfaced a systematic date-format error running through them. What's the most effective first step?

Practice Questions

Exam simulator

Question 1 of 13

Scenario · Customer Support Resolution Agent

Your support agent's refund decisions agree with human agents 96% of the time across 5,000 audited cases, and management wants to remove human approval for all refunds. About 85% of cases are damaged-goods claims; the rest are international returns and warranty disputes, which involve more complex policy. What should you do before removing approval?

Sources