Skip to main content

Donation receipts: Codex review (2026-09-25)

Recorded by the orchestrator from Codex's final message (its sandbox is read-only). Verdict: FAIL.

The arithmetic matches in 40 of 41 cases. US-TC-20 is the mismatch: the formula allows FMV == P and gives a $0 deduction, while the test expects rejection. Most computed fixtures omit hard-gated required fields (signer, org and donor names, dates), so, read literally, they could not generate a document.

idsevlocationproblemfix
DR-001criticalUS-04 / US-14 / US-TC-20The FMV <= P constraint contradicts the note and test that reject FMV == PUse 0 <= FMV < P, and make FMV == P invalid
DR-002majorCA computed fixturesOmit the required signer (F-CA-18) and other gated fieldsAdd a shared valid fixture block and merge each case into it
DR-003majorUS computed fixturesOmit the org name, donor name, issue date, etc.Add a shared valid US fixture block, or label the cases formula-only
DR-004majortests vs rulesNo canonical input/output schema; field names are aliased (amount_of_gift vs amount_of_cash_gift, advantage vs amount_of_advantage, near_cash vs advantage_is_cash_or_near_cash, fmv vs good_faith_estimate…)Define a canonical schema and use it everywhere
DR-005majorF-US-02/03/05/15Empty satisfies mapping (org address, EIN, donor address, officer signature)Add product/layout rule ids
DR-006majorCA-03 / CA-16No batch-level assertion that serial numbers are unique; no duplicate testAdd the assertion and a rejection test
DR-007majorUS-14 / US-02goods_status is required only for gifts of $250 or more, although every statement prints a statusRequire it for every gift
DR-008majorF-CA-18 / templateSigner name and title have no field ids or validationDefine them and validate them
DR-009majorF-US-07/08/11/14Tax year, gift date, the goods description/GFE when provided, and the issue date can be blankAdd non-blank and type assertions
DR-010minorCA-09 testsNo non-cash advantage at exactly 10%Add G=500, A=50 (nominal) and A=50.01
DR-011minorCA-16 / US-14 tests$0 gifts are never testedAdd $0 cases
DR-012minorCA-TC-19The cents test can't tell exact arithmetic from roundedAdd a case where they differ, e.g. Opus M-2: G=333.35, A=33.34 → 300.01
DR-013minoropen Q8, Q12Per-gift CA de minimis and US $250 gross vs net are unresolvedResolve them (Opus M-1: Pub 526 says net)

The boundaries are consistent: exactly 80% is allowed; exactly $75 is nominal on the CA side with no US disclosure; exactly $250 needs a CWA; cumulative receipts are tested with 53 and 52 gifts.