comments: fix CMS-2025-0304 docket↔rule mapping (OPPS→PFS) #588

Closed
opened 2026-08-12 14:51:09 +00:00 by kert · 1 comment
Owner

Component 1. src/rex/comments/classify.py hard-codes docket CMS-2025-0304 as the CY2026 OPPS rule (CMS-1834-P); the docket is the PFS NPRM (CMS-1832-P) per the regulations.gov docket abstract. Fix the system prompt, add a DOCKET_RULES constant, and a regression test asserting agreement with bib reg-docket/cms-rule tag pairs.

Spec: docs/superpowers/specs/2026-08-12-cy2026-pfs-proposed-rule-design.md (P36)

Component 1. `src/rex/comments/classify.py` hard-codes docket CMS-2025-0304 as the CY2026 OPPS rule (CMS-1834-P); the docket is the PFS NPRM (CMS-1832-P) per the regulations.gov docket abstract. Fix the system prompt, add a DOCKET_RULES constant, and a regression test asserting agreement with bib reg-docket/cms-rule tag pairs. Spec: docs/superpowers/specs/2026-08-12-cy2026-pfs-proposed-rule-design.md (P36)
kert added this to the P36: CY2026 PFS Proposed Rule — capture, ingest, APM analysis milestone 2026-08-12 14:51:09 +00:00
kert added the dataquality labels 2026-08-12 14:51:09 +00:00
Author
Owner

Merged to main in 53b97b8 (branch p36-cy2026-rule, 17 commits). Fixed in 3341d9e. DOCKET_RULES maps CMS-2025-0304 → CMS-1832-P; _SYSTEM prompt corrected from OPPS/CMS-1834-P to PFS/CMS-1832-P (verified against the regulations.gov docket abstract); OPPS-specific $127.28/cm² figure dropped; regression tests added (tests/rex/comments/test_classify.py). Review clean.

Merged to main in 53b97b8 (branch p36-cy2026-rule, 17 commits). Fixed in 3341d9e. `DOCKET_RULES` maps CMS-2025-0304 → CMS-1832-P; `_SYSTEM` prompt corrected from OPPS/CMS-1834-P to PFS/CMS-1832-P (verified against the regulations.gov docket abstract); OPPS-specific $127.28/cm² figure dropped; regression tests added (tests/rex/comments/test_classify.py). Review clean.
kert closed this issue 2026-08-13 20:29:44 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: homelab/stack#588