4-codex-fy-pair
-
OK — The calculated statistics reproduce independently. I used Python decimal arithmetic, without executing
calculate.mjs, and found no mismatches across 222 numerical checks covering the headline, sensitivity comparisons, annual series, ranges, changes, ForeignAssistance.gov aggregates, OECD/SIPRI ratios and Treasury values. Key results:- Headline: $916,140m ÷ $30,014m = 30.52376, correctly rounded to 30.5 or 31; equivalent to 11.95790 days, correctly rounded to 12.
- Defense rose 4.9%; subfunction 151 fell 19.6%.
- OMB broad-aid/DoD comparison: 19.07371; ForeignAssistance.gov all-aid/DoD: 18.18610.
- OECD DAC net disbursements total $171.57085bn, correctly rounded to $172bn; defense divided by that total rounds to 5.3.
-
OK — OMB extraction is faithful. Independently reading the XLSX’s underlying XML, I matched all 121 extract values to their workbook rows and year columns. The workbook identifies 2026 onward as estimates; 2025 is an actual-year column. Codes and official row labels match. FY2025 reconciliation is exact: 051 + 053 + 054 = 050; 151 + 152 + 153 + 154 + 155 = 150. Subfunction 155 is −$14,936m, as reported.
-
MUST-FIX — Subfunction 152 is not synonymous with military aid. README’s sentence describing the entire $16bn as “Military aid run by the State Department” is wrong. The federal budget classifies the Economic Support Fund under 152, although it finances economic and development programs. Consequently, 151 is a defensible specified budget subfunction, but not a comprehensive measure of “economic foreign aid”; excluding 152 excludes economic assistance too. Correct this throughout README, NOTES, PROVENANCE and the descriptive strings in
statistics.json. Federal Budget Appendix, Economic Support Fund -
MUST-FIX — The title overgeneralizes the 31-to-1 result and omits the materially lower reverse-test result. “Foreign aid” in the title is broader than subfunction 151. The supplied alternatives reduce the ratio to 19.1 or 18.2. Under the repository’s fairness rules, this difference must be visible to readers. Name “development and humanitarian assistance” in the headline and show the broader-aid comparison, or headline the broader comparison. Prefer “31 times as much” to the ambiguous “31 times more.”
-
MUST-FIX — The sensitivity verdict contains a numerical overstatement. NOTES says the ratio widened “by between a third and a half” on every fair scope. Independently calculated increases are 30.51% for 050/151, 38.20% for 051/(151+152), 38.88% for ForeignAssistance.gov economic assistance/050, and 57.54% for all ForeignAssistance.gov assistance/051. The supported range is approximately 31–58%. README’s “by a third” is acceptable only as an approximation; “about 31%” is more precise.
-
SHOULD-FIX — The reverse test is useful, but not demonstrably exhaustive. Broadening aid and narrowing defense is the right challenge, and the highest-since-2018 result survives the supplied aid comparisons. However, “every fair scope” is stronger than the evidence. A more adverse comparison would also remove overlapping DoD assistance from the military numerator when counting it as aid. Subtracting the extract’s DoD-funded assistance gives approximately 18.16, versus 18.19 without subtraction, and still preserves the historical finding. This is illustrative: account-level reconciliation is needed because assistance valuations and budget outlays need not match. Function 150 already defeats the historical-high claim, but includes diplomacy and financial offsets, so is not a clean foreign-aid alternative. No verified cleaner alternative here overturns the historical result.
-
MUST-FIX — The military-assistance approximation demonstrably misclassifies humanitarian spending. The rule puts every DoD account into “military assistance,” including $98.782m of Overseas Humanitarian, Disaster, and Civic Aid in FY2025. DSCA describes this appropriation as funding humanitarian assistance to civilian populations. Thus the residual is not verified “economic assistance,” and the corresponding JSON definition “excluding military assistance” is too categorical. Label both series as account-based approximations and document misclassification; preferably use the source’s objective classification. DSCA humanitarian-assistance description
-
SHOULD-FIX — The completeness caution is reasonable, but its date and certainty need correction. The cited $32.5bn Devex figure was published 8 December 2025, not early 2026. Pew confirms $47.3bn using data updated 1 July 2026; the supplied extract totals $47.7522bn. This supports revisions and the cautious statement “not shown to be complete,” but does not establish that September’s snapshot remains incomplete or that every revision represents late reporting. Replace “OMB actuals are final” with “OMB reports actual outlays”: actuals can subsequently be revised. Devex, Pew
-
OK / SHOULD-FIX — Treasury agreement is verified; the full restatement narrative is not. The supplied JSON gives defense 45,169.891180m, approximately 0.00245% below OMB. Its prior-year international-affairs value is 71,992m is absent, and my online retrieval did not recover it. Preserve that response and cite the revision evidence. OMB’s $56,396m is close to, not identical to, the later Treasury value.
-
MUST-FIX — README’s chart text and reproducibility claim are inconsistent with the current data. Alt text still says $954bn, $29bn and 33:1, and the caption still attributes the comparison to SIPRI/OECD. These are valid rounded figures for the old pair, not the current headline. The chart builder still reads missing
S.oda_bnand hard-codes obsolete source descriptions. Therefore “re-running both reproduces them” is not supported by the current files. Update and verify the builder, charts, caption and alt text together. -
SHOULD-FIX — Two remaining interpretive claims overreach. NOTES says OECD “agrees with 151,” but similar totals across different periods and definitions do not establish equivalence. It also calls calendar 2025 “wholly after” the January aid freeze; January includes days before the freeze. README’s DAC comparison is arithmetically correct and specifies calendar 2025, but should explicitly juxtapose that with US fiscal 2025 or be removed.
-
OK / SHOULD-FIX — Preserved-file provenance checks pass, with limits. All five supplied byte-count/hash pairs match; OECD and SIPRI extract hashes match the referenced manifest. All 74 OECD extract rows match the preserved raw download. OECD’s release date and December 2026 final-data timetable are supported. OECD attribution terms and SIPRI’s commercial-use restrictions are broadly described correctly; SIPRI also expressly permits qualifying blog/chart use and sets a 10% reproduction threshold. The “not for publication” heading incorrectly includes OECD despite its use in README. The absent ForeignAssistance.gov raw file and removed SIPRI workbook prevent independent verification of their hashes, extraction fidelity and historical download metadata. Retrieval dates remain recorded assertions, not facts established by hashes. OECD release, OECD terms, SIPRI terms
Overall verdict: FAIL. The arithmetic passes; the aid definitions, sensitivity verdict and reader-facing chart/source consistency require correction.