procurement-ingest/lambdas/po/email_processor/tests/fixtures/adversarial
Adam Moussa 59e57ac5a1
Pin line-item currency to USD in the PO gate
The non_usd rule only checked the Total-block top-level currency, so a
new_po whose line item read 'for 55,206.00 CAD' under a USD Total block
still template-parsed as ok -- a fail-open hole in the fail-closed
gate. Every line item's captured currency and its re-derived body token
must now byte-equal the proven-USD top-level currency; covered by a
line-level CAD adversarial fixture (the existing adv-non-usd only
exercised the Total-block variant) and a candidate-mutation unit test.
2026-07-16 16:02:46 -04:00
..
adv-bullet-supplier-mismatch.eml Add offline PO parser suite with scrubbed fixture corpus 2026-07-16 15:15:49 -04:00
adv-city-no-comma.eml Add offline PO parser suite with scrubbed fixture corpus 2026-07-16 15:15:49 -04:00
adv-dual-total-mismatch.eml Add offline PO parser suite with scrubbed fixture corpus 2026-07-16 15:15:49 -04:00
adv-dup-label-swap.eml Add offline PO parser suite with scrubbed fixture corpus 2026-07-16 15:15:49 -04:00
adv-duplicate-needby.eml Add offline PO parser suite with scrubbed fixture corpus 2026-07-16 15:15:49 -04:00
adv-line-non-usd.eml Pin line-item currency to USD in the PO gate 2026-07-16 16:02:46 -04:00
adv-missing-location-code.eml Add offline PO parser suite with scrubbed fixture corpus 2026-07-16 15:15:49 -04:00
adv-missing-status.eml Add offline PO parser suite with scrubbed fixture corpus 2026-07-16 15:15:49 -04:00
adv-non-usd.eml Add offline PO parser suite with scrubbed fixture corpus 2026-07-16 15:15:49 -04:00
adv-po-id-mismatch.eml Add offline PO parser suite with scrubbed fixture corpus 2026-07-16 15:15:49 -04:00
adv-prompt-injection.eml Add offline PO parser suite with scrubbed fixture corpus 2026-07-16 15:15:49 -04:00
adv-shipto-equals-supplier.eml Add offline PO parser suite with scrubbed fixture corpus 2026-07-16 15:15:49 -04:00
adv-single-supplier-label.eml Add offline PO parser suite with scrubbed fixture corpus 2026-07-16 15:15:49 -04:00
adv-status-pending.eml Add offline PO parser suite with scrubbed fixture corpus 2026-07-16 15:15:49 -04:00
adv-supplier-not-seahaven.eml Add offline PO parser suite with scrubbed fixture corpus 2026-07-16 15:15:49 -04:00
adv-truncated-line-amount.eml Add offline PO parser suite with scrubbed fixture corpus 2026-07-16 15:15:49 -04:00
adv-unlabeled-bullet.eml Add offline PO parser suite with scrubbed fixture corpus 2026-07-16 15:15:49 -04:00
adv-url-id-mismatch.eml Add offline PO parser suite with scrubbed fixture corpus 2026-07-16 15:15:49 -04:00