fix(comments): CMS-2025-0304 is the PFS NPRM (CMS-1832-P), not OPPS (refs #588)

This commit is contained in:
kert
2026-08-12 10:57:27 -04:00
parent 4a9be6fbd6
commit 3341d9e5df
2 changed files with 23 additions and 3 deletions

View File

@@ -141,12 +141,18 @@ CLASSIFY_TOOL = LLMTool(
}, },
) )
# Docket ↔ CMS rule identity for the dockets this classifier targets.
# Verified against the regulations.gov docket abstract (2026-08-12):
# CMS-2025-0304 is the CY2026 *PFS* NPRM, not the OPPS rule — skin-substitute
# payment moved into the PFS rule in CY2026.
DOCKET_RULES: dict[str, str] = {"CMS-2025-0304": "CMS-1832-P"}
_SYSTEM = """\ _SYSTEM = """\
You classify public comments submitted on CMS's CY2026 OPPS proposed rule You classify public comments submitted on CMS's CY2026 PFS proposed rule
(CMS-1834-P, docket CMS-2025-0304), specifically regarding the proposal to (CMS-1832-P, docket CMS-2025-0304), specifically regarding the proposal to
reclassify skin substitutes (cellular and tissue-based products, CTPs) from reclassify skin substitutes (cellular and tissue-based products, CTPs) from
drugs/biologicals paid at ASP+6% to incident-to supplies paid a flat packaged drugs/biologicals paid at ASP+6% to incident-to supplies paid a flat packaged
rate (~$127.28/cm²), replacing Q-codes with C5271–C5278. rate, replacing Q-codes with C5271–C5278.
Position semantics: Position semantics:
- strongly_oppose: wants ASP+6% preserved; rejects reclassification outright - strongly_oppose: wants ASP+6% preserved; rejects reclassification outright

View File

@@ -150,3 +150,17 @@ class TestClassify:
provider = _FakeProvider([]) provider = _FakeProvider([])
with pytest.raises(ValueError, match="no classify_comment tool call"): with pytest.raises(ValueError, match="no classify_comment tool call"):
classify(provider, "text") classify(provider, "text")
def test_docket_rules_maps_cy2026_pfs():
from rex.comments.classify import DOCKET_RULES
assert DOCKET_RULES["CMS-2025-0304"] == "CMS-1832-P"
def test_system_prompt_names_the_pfs_rule():
from rex.comments.classify import _SYSTEM
assert "CMS-1832-P" in _SYSTEM
assert "CMS-1834-P" not in _SYSTEM
assert "PFS proposed rule" in _SYSTEM