Task Statement 5.5·Domain 5 — 15% of exam
Human Review & Confidence Calibration
Design human review workflows and confidence calibration
Official Exam Guide Objectives
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 Type | Date Accuracy | Amount Accuracy | Name Accuracy |
|---|---|---|---|
| Standard invoices | 99.5% | 98.2% | 97.8% |
| Handwritten receipts | 60.1% | 55.3% | 71.2% |
| Scanned PDFs | 72.4% | 69.8% | 80.1% |
| International formats | 45.2% | 52.1% | 63.4% |
| Aggregate | 97.0% | 96.1% | 95.8% |
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.
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:
- Ongoing accuracy measurement — check each segment is still performing at the rate it was validated at.
- 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.
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}
}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
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.
Validation Before Automation
The sequence matters:
- Measure accuracy by document type and field segment — not aggregate.
- Calibrate confidence scores using labelled validation sets.
- Set calibrated thresholds for automation versus human review.
- Implement stratified random sampling for ongoing verification of automated extractions.
- 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.
Deep Dive
The LLM-as-judge scoring pattern: a template for field-level confidence
Anthropic's own evaluation of their multi-agent research system used "a single LLM call with a single prompt outputting scores 0.0-1.0 and pass-fail grade," which they found "was most consistent," and which "allowed us to scalably evaluate hundreds of outputs." This is a directly transferable pattern for field-level confidence in extraction systems: a bounded numeric score plus a discrete pass/fail-style grade, generated by one call rather than an elaborate multi-step judgement process, is what stays consistent enough to calibrate against ground truth at scale.
Sourceanthropic.com › multi-agent-research-systemfetched 2026-07-30
The evaluation rubric as a model for validation-set design
When Anthropic scored their research agent's outputs, the LLM judge evaluated against a specific rubric: "factual accuracy, citation accuracy, completeness, source quality, and tool efficiency." 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-07-30
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... even in a world of automated evaluations, manual testing remains essential." This is the direct 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-07-30
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
Explicit severity criteria repair trust after false positives
The related exam guide objective on precision (Task 4.1) records the consequence of skipping calibration: "the impact of false positive rates on developer trust: high false positive categories undermine confidence in accurate categories" — and its documented fix is not a blanket confidence threshold but "defining explicit severity criteria with concrete code examples for each severity level to achieve consistent classification." The lesson here applies the same 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
Quick Reference
| Fact | Value |
|---|---|
| Aggregate metrics trap | 97% overall can hide 40–60% error rates on specific document types |
| Validation sequence | Measure by type+field → calibrate confidence → set thresholds → stratified sampling → then reduce review |
| Stratified sampling must include | High-confidence (automated) extractions, not just low-confidence ones |
| Why sample high-confidence items | They're the blind spot — novel error patterns there go undetected without sampling |
| Calibration requires | Labelled validation sets (ground truth), mapping reported confidence to actual accuracy |
| LLM-as-judge scoring template | Single call, 0.0–1.0 score + pass/fail grade — most consistent at scale |
| Rubric dimensions (transferable to validation) | Factual accuracy, citation accuracy, completeness, source quality, tool efficiency |
| Human testing role | Catches edge cases automated evals/self-confidence miss — stays essential |
detected_pattern field | Tags what triggered a finding, enabling systematic dismissal-pattern analysis |
| Reviewer capacity rule | Route highest uncertainty first; never spread capacity evenly |
Exam Traps
Practice Scenario
A structured data extraction system achieves 97% overall accuracy across all document types. The team proposes automating all extractions where model confidence exceeds 95% to reduce human review costs. What is the critical risk in this approach?
Build Exercise
Build a Confidence-Calibrated Review Router
Difficulty: Advanced (3/4)
50 minutes
- Create a mock extraction system that outputs field-level confidence scores for different document types (invoices, receipts, scanned PDFs, international documents)
Why: Field-level confidence scores are the foundation of intelligent review routing. The exam tests that raw model confidence is not calibrated and must be validated against ground truth before use. Building the mock system gives you data to calibrate against.
You should see: An extraction function that returns each field with its value and a confidence score between 0.0 and 1.0. The system should process at least 4 document types with noticeably different confidence distributions per type.
- Implement accuracy tracking broken down by document type and field segment — not just aggregate metrics
Why: The aggregate metrics trap is the most dangerous misconception in production extraction systems. 97% overall accuracy can hide catastrophic failure rates on specific document types because standard invoices dominate the volume. The exam tests that you must validate by document type AND field segment before automating.
You should see: An accuracy table showing each document type and field combination separately. Standard invoices should show 95%+ accuracy while handwritten receipts and international documents show 40-70%. The aggregate should look excellent (90%+) despite the poor per-type numbers.
- Build a calibration module that takes a labelled validation set (ground truth) and produces calibrated confidence thresholds per field type per document type
Why: Raw model confidence scores are not calibrated. A model reporting 0.90 confidence might actually be correct 94% of the time on date fields but only 82% on amount fields. Calibration using labelled validation sets is required before confidence scores can drive automated routing decisions.
You should see: A calibration curve for each field type per document type, mapping reported confidence ranges to actual accuracy percentages. The curve should reveal that the same confidence score means different things for different field-document combinations.
- Implement stratified random sampling that selects high-confidence extractions for ongoing verification, sampling proportionally across all document types
Why: High-confidence extractions are automated and not reviewed. If the model develops a novel error pattern affecting high-confidence items, only stratified sampling will catch it. Sampling only low-confidence items leaves you blind to systematic errors in automated extractions.
You should see: A sampling function that selects a representative subset from each stratum (document type and confidence band), including samples from the high-confidence automated extractions. The sample should be proportional to the volume in each stratum.
- Build a review router that prioritises limited reviewer capacity on the highest-uncertainty items, dynamically reordering the review queue as new extractions arrive
Why: Human reviewers are expensive and limited. Spreading capacity evenly across all extractions wastes time on high-confidence items while leaving insufficient capacity for uncertain items that need human judgement. Dynamic priority ordering ensures the most uncertain items are always reviewed first.
You should see: A priority queue that orders items by uncertainty (lowest confidence first), dynamically reorders as new extractions arrive, and serves the next-highest-uncertainty item to each available reviewer. The queue should never serve items in chronological order.
Sources
- Claude Certified Architect Foundations Exam Guide — Domain 5, Task Statement 5.5 — Anthropic
- Agent SDK — Structured outputs — Anthropic
- Anthropic Human-in-the-Loop Patterns — Anthropic
- How we built our multi-agent research system — Anthropic
Appendix A — Build Exercise Step Hints
Progressive hints revealed by the "Stuck? Get a nudge" control on each step.
Step 1. Create a mock extraction system that outputs field-level confidence scores for different document types (invoices, receipts, scanned PDFs, international documents)
Why: Field-level confidence scores are the foundation of intelligent review routing. The exam tests that raw model confidence is not calibrated and must be validated against ground truth before use. Building the mock system gives you data to calibrate against.
You should see: An extraction function that returns each field with its value and a confidence score between 0.0 and 1.0. The system should process at least 4 document types with noticeably different confidence distributions per type.
Stuck? Get a nudge
Step 2. Implement accuracy tracking broken down by document type and field segment — not just aggregate metrics
Why: The aggregate metrics trap is the most dangerous misconception in production extraction systems. 97% overall accuracy can hide catastrophic failure rates on specific document types because standard invoices dominate the volume. The exam tests that you must validate by document type AND field segment before automating.
You should see: An accuracy table showing each document type and field combination separately. Standard invoices should show 95%+ accuracy while handwritten receipts and international documents show 40-70%. The aggregate should look excellent (90%+) despite the poor per-type numbers.
Stuck? Get a nudge
Step 3. Build a calibration module that takes a labelled validation set (ground truth) and produces calibrated confidence thresholds per field type per document type
Why: Raw model confidence scores are not calibrated. A model reporting 0.90 confidence might actually be correct 94% of the time on date fields but only 82% on amount fields. Calibration using labelled validation sets is required before confidence scores can drive automated routing decisions.
You should see: A calibration curve for each field type per document type, mapping reported confidence ranges to actual accuracy percentages. The curve should reveal that the same confidence score means different things for different field-document combinations.
Stuck? Get a nudge
Step 4. Implement stratified random sampling that selects high-confidence extractions for ongoing verification, sampling proportionally across all document types
Why: High-confidence extractions are automated and not reviewed. If the model develops a novel error pattern affecting high-confidence items, only stratified sampling will catch it. Sampling only low-confidence items leaves you blind to systematic errors in automated extractions.
You should see: A sampling function that selects a representative subset from each stratum (document type and confidence band), including samples from the high-confidence automated extractions. The sample should be proportional to the volume in each stratum.
Stuck? Get a nudge
Step 5. Build a review router that prioritises limited reviewer capacity on the highest-uncertainty items, dynamically reordering the review queue as new extractions arrive
Why: Human reviewers are expensive and limited. Spreading capacity evenly across all extractions wastes time on high-confidence items while leaving insufficient capacity for uncertain items that need human judgement. Dynamic priority ordering ensures the most uncertain items are always reviewed first.
You should see: A priority queue that orders items by uncertainty (lowest confidence first), dynamically reorders as new extractions arrive, and serves the next-highest-uncertainty item to each available reviewer. The queue should never serve items in chronological order.
Stuck? Get a nudge
Appendix B — Interactive Study Prompts
Two prompts to paste into Claude. B1 drills the judgement the exam actually measures; B3 reviews the code you wrote for the Build Exercise above. The exam simulator between them is the interactive quiz on this page.
B1. Concept Check — Discrimination Drill
You are examining me for the Claude Certified Architect – Foundations (CCAR-F) exam, Domain 5: Context Management & Reliability (15% of the exam), Task Statement 5.5: Human Review & Confidence Calibration. Use British English throughout.
What this exam actually measures. Not one item on the official exam asks what something is. Every item drops you into a production system that is already misbehaving, offers four defensible engineering responses, and asks which is best. The skill being tested is proportionality: fix the root cause with the cheapest instrument that gives the guarantee the situation demands. So do not quiz me on definitions. Make me choose between options that are both defensible, then attack whatever I chose.
How to run this session.
- One question at a time. Stop and wait. Never answer your own question, and never move on until I have committed.
- Never reveal which option is right before I commit to one.
- Do not praise me. A correct answer earns "Yes" and the next question. If I am right for the wrong reason, say so — that is the failure that costs marks on exam day.
- When I am wrong, quote the exact phrase in my answer that gave it away, correct it in one sentence, and move on. One correction at a time.
- If I write something fluent but empty, name it: "That is a restatement, not a reason."
- Set every scenario inside one of the exam's production contexts: Structured Data Extraction over batches of documents, the Customer Support Resolution Agent (Agent SDK, MCP tools
get_customer,lookup_order,process_refund,escalate_to_human, held to an 80%+ first-contact resolution target), the Multi-Agent Research System (a coordinator delegating to web-search, document-analysis, synthesis and report-generation subagents that produce cited reports), or Code Generation with Claude Code over an unfamiliar repository.
Session plan — about twelve questions.
Round 1 — Anchor (1 question). One concrete question to check I have actually read the material. If I cannot answer it, stop the session and tell me to read the lesson before continuing.
Round 2 — Discrimination (5 questions). Each one: describe a symptom in one of the contexts above, with a number or a log observation in it. Offer exactly two responses, both defensible. Ask me to pick one and justify it in a single sentence. Then argue the case for the option I rejected as strongly as you can, and ask whether I am holding or changing my answer. Only after I answer that, tell me which is right and why the other one is the more tempting trap.
Round 3 — Proportionality (2 questions). Both turn on the size of the instrument, which is where this domain is decided: measure it differently or build new machinery, automate it or spend scarce reviewer capacity on it. Ask the first where the cheap fix is genuinely enough — breaking the existing accuracy report down by document type and field, or asking the model to report confidence per field so routing has something to work with — and a retrained extraction model, a second verification model or a bespoke review platform would be over-engineering that does not answer the question being asked. Ask the second on a symptom that reads the same but where a segment shows an error rate high enough that automating it would put wrong amounts into a downstream financial process, so no measurement change is sufficient and human review on that segment is the only thing that gives the guarantee. Tell me which was which only after I have answered both. If I reach for the elaborate option both times, or the cheap one both times, that is the finding — say so.
Round 4 — Code review (3 questions). Present a colleague's confident proposal containing one of the trap errors listed below, written the way a teammate would write it in a pull request. Ask me what is wrong with it. Do not signal that anything is wrong.
Round 5 — Verdict. Rate me green, amber or red on each concept below. Name the single weakness most likely to cost me marks, and give me one specific next action: a section of this lesson to re-read, or a step of the Build Exercise to redo. If I am not ready for this task statement, say so plainly.
Concepts in scope
- The aggregate metrics trap — a headline figure in the high nineties can sit on top of segments in the forties and seventies, because the highest-volume document type carries the volume-weighted average and hides everything else.
- Segment-level validation — accuracy has to be read by document type and by field before any automation decision, because the same field behaves very differently depending on what it was extracted from.
- Confidence scores are uncalibrated as reported — the same reported number can stand for materially different real accuracy on different fields, so it only becomes a routing signal after it has been mapped against a labelled validation set.
- Stratified random sampling — sample every stratum including the high-confidence, automated ones, because those are the extractions nobody looks at and therefore the only place a novel error pattern can grow undetected.
- Reviewer capacity prioritisation — a limited review budget goes to the most uncertain items first and the ordering is dynamic, never spread evenly and never served in arrival order.
- The order of operations — measure by type and field, calibrate against ground truth, set the thresholds, put sampling in place, and only then reduce human review on the segments that have earned it.
Trap errors to plant in Round 4
- Automating every high-confidence extraction on the strength of the aggregate accuracy figure.
- Sampling only the low-confidence extractions, which were already going to a reviewer anyway.
- Routing on the raw reported confidence without first checking what that number means against ground truth.
- Spreading reviewer capacity evenly across all extractions, or serving the review queue in the order items arrived.
Stay inside the material above. If I raise something outside it, tell me it is out of scope for this task statement and return to the drill. Begin with Round 1.
B2. Exam Simulator
Exam simulator
Question 1 of 10
Scenario · Structured Data Extraction
Your extraction service reports 97% accuracy across all document types, and the team proposes automating every extraction above 0.95 model confidence to cut review cost. Standard invoices make up 80% of the volume; handwritten receipts and international formats make up the rest. What is the critical risk in this proposal?
B3. Build Coach — Code Review
The Build Exercise and its hint ladder are already on this page. This prompt is for the one thing the page cannot do: review the code you actually wrote.
You are a staff engineer reviewing my implementation of a build exercise for the Claude Certified Architect – Foundations exam, Domain 5, Task Statement 5.5: Human Review & Confidence Calibration. Use British English throughout.
I am building a confidence-calibrated review router: a mock extraction system that reports confidence per field across several document types, accuracy tracked by type and by field rather than rolled into one number, a calibration step that maps reported confidence onto measured accuracy using ground truth, stratified sampling that reaches into the automated high-confidence extractions, and a review queue ordered by calibrated uncertainty.
It has to satisfy all of the following:
- Extraction output carrying a value and a confidence score for each field, with visibly different distributions across at least four document types.
- An accuracy breakdown per document type and field where the headline number looks healthy and the worst segments plainly are not.
- A calibration mapping per field-and-type combination that shows the same reported score standing for different measured accuracy.
- Sampling that draws from every stratum, the high-confidence bands included, in proportion to volume with a floor so low-volume types are still represented.
- A queue that reorders as items arrive and always serves the least certain item next, never the oldest.
How to review.
- Ask me to paste my code. If I have not pasted any, ask for it and nothing else. Do not write the implementation for me, do not offer a reference solution, and do not fill in a step I have skipped.
- Work through the criteria above in order. For each one, quote the line of my code that satisfies it, or say plainly that nothing does.
- Then hunt for the failure modes below. Each is a real production bug, not a style preference.
- Rank everything you find: (1) would fail in production, (2) would lose marks on the exam, (3) style. Give me the first item under (1) and then stop — wait for my fix before giving me the next one.
- If my code satisfies everything, do not congratulate me. Change the requirements — a fifth document type arrives in volume with no ground truth behind it, and reviewer capacity is halved — and make me handle it.
- If I ask you to just write it for me, refuse once and give me the smallest nudge that would unblock me instead.
Failure modes to probe
- Calibration computed across all document types at once, which rebuilds the aggregate trap inside the very thing meant to defeat it.
- Sampling drawn only from what is already queued for review, so the automated extractions stay unmeasured indefinitely.
- The queue sorted once on insertion and never reordered as later, more uncertain items arrive.
- Prioritisation keyed on the raw score, so a high raw number on a weak segment outranks a lower one on a strong segment when it should not.
- One automation threshold applied to every field and document type, which is precisely what the calibration told you not to do.
Start by asking me for my code.