procurement-ingest/lambdas/wo/email_processor
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
..
tests Emit ParseMethod-only EMF set so fallback alarm can fire 2026-07-15 20:30:53 -04:00
__init__.py Merge workorder-ingest into unified procurement repo (#22) 2026-05-12 15:21:06 -04:00
handler.py Emit ParseMethod-only EMF set so fallback alarm can fire 2026-07-15 20:30:53 -04:00
requirements.txt Migrate WO processor to Bedrock and fix comment_id collision 2026-07-15 20:09:58 -04:00
template_parser.py Add deterministic template parser for WO emails 2026-07-15 20:09:29 -04:00