mirror of
https://github.com/Sea-Haven-Industries/procurement-ingest.git
synced 2026-10-07 16:08:54 +00:00
The parser test suite globbed for input .eml fixtures that the repo's `*.eml` ignore rule kept uncommitted, so every parametrized golden and fail-closed test collected zero cases and CI could not exercise the deterministic parser that handles 100% of WO email volume. Add a fixtures-only negation to .gitignore and commit the 55 scrubbed positive samples (50 update-plaintext, 5 assign-html) plus 14 ai-fallback and 3 adversarial fixtures. The ai-fallback set covers each fail-closed reason code (subject_no_match, single_space_work_order, malformed_site_code, label_bleed, creation_time_unparseable, wo_id_mismatch, missing_required_field) and the adversarial set proves the parser is total and confines prompt-injection payloads to comment_text without steering the structured fields. |
||
|---|---|---|
| .. | ||
| cancellation-t1.eml | ||
| empty-new-comment.eml | ||
| label-bleed-comment.eml | ||
| malformed-site-code.eml | ||
| missing-building-and-comment.eml | ||
| missing-id.eml | ||
| nondigit-id.eml | ||
| single-space-work-order.eml | ||
| t2-missing-address.eml | ||
| t2-unparseable-date.eml | ||
| t2-wo-id-mismatch.eml | ||
| unknown-subject.eml | ||
| unparseable-creation-time.eml | ||
| update-status-t1.eml | ||