Skip to content
LearningPathX
Learning PathsFree TestsExam InfoHow it worksNews
Sign inChoose a certification
  1. Home/
  2. Certifications/
  3. CCAR-F/
  4. CCAR-F Learning Path/
  5. Study FAQs/
  6. What feedback should I give Claude to correct an extraction without rewriting the source evidence?

Study FAQ

What feedback should I give Claude to correct an extraction without rewriting the source evidence?

Exam · CCAR-FKnowledge domain · Prompt Engineering & Structured OutputUpdated Dec 4, 2026
Also asked as 2
  • What should a targeted Claude extraction correction request contain?
  • How do I repair incorrectly assigned extraction fields while preserving a real source discrepancy?

Answer

Supply the relevant original source text and location, the failed candidate, field-specific validation errors, and the changes that are permitted. Ask Claude for another candidate under the same extraction contract, then validate it again. A correction should repair the extraction while preserving any genuine conflict in the source.

For a teaching invoice that states quantity 2, unit price USD 10.00 and total USD 25.00 with no adjustments, suppose quantity and unit price were exchanged. Tell the correction stage that quantity must be 2 and unit_price_cents must be 1000 according to the source. Preserve stated_total_cents=2500 and independently derive calculated_total_cents=2000 with conflict_detected=true. Replacing the stated total with 2000 would conceal the discrepancy by falsifying the evidence.

The arithmetic rule needs its premises. When tax, shipping or another adjustment is possible, validate the complete equation. Missing components can leave the comparison unassessable; uncertainty must not default to no conflict.

Classify the cause before another attempt. Repair an invalid schema or incompatible writer/grader contract first. A present-but-missed value can benefit from a relevant passage and precise feedback. A fact absent from the available source needs the approved missingness representation or authorized additional evidence. Repeating the same input cannot create that fact.

Bound attempts, time and cost, stating whether the initial attempt counts. Preserve failed outputs, validator results, the last usable partial data and unresolved errors. Stop on exhausted budget or unavailable evidence rather than accepting free-form fallback as validated data. Keep later human corrections linked to the original extraction and use adjudicated recurring errors to improve prompts or parsers, checking affected and held-out cases afterward.

Anthropic grounding and iterative refinement guidance · Evaluation and grader design

Full explanation

Implement validation, retry, and feedback loops for extraction quality

Learning material · CCAR-F

Read the full explanation →
← Back to CCAR-F FAQsView learning path →

Related questions

Why can Claude structured output fail validation, and how should I handle it? →When should I use JSON outputs or strict tool use in the Claude API? →How should I organize a Claude prompt that includes long source documents? →How do I write a production prompt contract for Claude? →What should each stage of a Claude prompt chain pass to the next stage? →How do I reconcile and retry Claude Message Batches safely? →
LearningPathX

A focused path to certification, one clear step at a time.

© 2026 LearningPathX. All rights reserved.

Product

CertificationsLearning PathsFree TestsHow it worksNews

Company

SubscriptionHelp centerContact usPrivacyTerms

Follow us

Your privacy choices

We use analytics cookies to understand how LearningPathX is used and improve your learning experience. Analytics will only start after you accept.