Stage 4 for agents: claims
Source of truth: stages/04_claims.md. Schema: published_claims.md. Verdict logic: languages.md.
Goal
Every claim in the article and appendix, numeric or not, extracted, classified, and checked by code that quotes the sentence and recomputes it.
Do
- Extract every numeric token from the article and appendix, then sweep again for numbers written as words.
- Read for claims with no number: significance, direction, order, persistence, and counts in words.
- Classify each claim (
pipeline,descriptive,definitional,structural,transcribed), store the printed value as text with its precision, and setcomparisonandneeds_block. Writeground_truth/published_claims.csv. - Compare the
descriptiveanddefinitionalclassifications within each section, and make the same sentence construction get the same type. - Write
maintained/in_text_claims.Rwith one block per claim withneeds_block = TRUE. Each block quotes the sentence verbatim in a comment and recomputes the claim frommaintained/output/or the cleaned data. - Where a block declares
range,derived, orshape, make the block’s code test the condition. For a hedged number, make the block test the half-step bound inrules/rounding.md, since the check does not. - Run the file on its own, and check that the printed claim ids are exactly the
needs_blockids. - Reconcile with the ground truth: every claim in both must have the same printed value, precision, and type, and where both compute a value, they must agree.
Do not
- Read the ground truth from the claims script. The two checks must be independent.
- Refit models in the claims script.
- Declare a verdict a block has not tested.
- Treat an unhedged approximation as hedged.
- Invent a computation for a quantity nothing in the paper or deposit identifies.
Done when
Every claim is in published_claims.csv, every claim that needs a check has one, the printed count equals the declared count, the two instruments agree, and the summary line shows no failing verdicts.