procurement-ingest/lambdas/wo/email_processor/tests
Adam Moussa fcee3b9c78
Emit ParseMethod-only EMF set so fallback alarm can fire
The fallback-rate alarm queries the ParseOutcome series keyed on
ParseMethod alone, but the emitter published only the joint
(ParseMethod, TemplateId) dimension set. CloudWatch materializes
exactly the listed dimension sets and does not auto-aggregate, so the
alarm's series never received data: it evaluated a constant 0 and
could never page on template-drift coverage collapse.

Publish both ["ParseMethod"] and ["ParseMethod","TemplateId"] and
update the EMF regression test to assert both sets are present.
2026-07-15 20:30:53 -04:00
..
fixtures/expected Add offline WO parser test suite 2026-07-15 20:11:04 -04:00
_wo_parser_support.py Add offline WO parser test suite 2026-07-15 20:11:04 -04:00
conftest.py Add offline WO parser test suite 2026-07-15 20:11:04 -04:00
test_bedrock_fallback.py Emit ParseMethod-only EMF set so fallback alarm can fire 2026-07-15 20:30:53 -04:00
test_comment_id.py Add offline WO parser test suite 2026-07-15 20:11:04 -04:00
test_parser.py Add offline WO parser test suite 2026-07-15 20:11:04 -04:00
test_validation_gate.py Add offline WO parser test suite 2026-07-15 20:11:04 -04:00