From 28fbae2d9e8450aef590aab618aec490d9084df7 Mon Sep 17 00:00:00 2001 From: David Trimmer Date: Thu, 19 Nov 2026 16:46:23 -0500 Subject: [PATCH 1/2] Add New Mexico's Puente Health premium assistance Puente Health pays state premium assistance on BeWell to lawfully present non-citizens who lost the federal premium tax credit under Public Law 119-21: those under 100% of the poverty line (Section 71302) in 2026, and those at or below 400% (Sections 71301 and 71302) in 2027. It pays the members' benchmark, increased by 10% below 200% of the poverty line, minus the Table 1 share of income, capped at the selected plan's premium. The take-up-gated amount joins the household health benefit lists. Co-Authored-By: Claude Opus 5.5 --- changelog.d/nm-puente-health.added.md | 1 + .../household/household_health_benefits.yaml | 1 + .../premium_assistance/puente/fpl_limit.yaml | 19 + .../premium_assistance/puente/in_effect.yaml | 25 + .../ineligible_immigration_statuses.yaml | 28 + policyengine_us/programs.yaml | 9 +- ...d_nm_puente_health_premium_assistance.yaml | 76 +++ .../puente/integration.yaml | 76 +++ .../nm_puente_health_benchmark_premium.yaml | 96 ++++ .../puente/nm_puente_health_eligible.yaml | 237 ++++++++ .../nm_puente_health_member_eligible.yaml | 505 ++++++++++++++++++ .../nm_puente_health_premium_assistance.yaml | 453 ++++++++++++++++ ...ned_nm_puente_health_premium_assistance.py | 28 + .../nm_puente_health_benchmark_premium.py | 40 ++ .../puente/nm_puente_health_eligible.py | 58 ++ .../nm_puente_health_member_eligible.py | 95 ++++ .../puente/nm_puente_health_plan_premium.py | 55 ++ .../nm_puente_health_premium_assistance.py | 71 +++ .../takes_up_nm_puente_health_if_eligible.py | 18 + .../household/healthcare_benefit_value.py | 1 + 20 files changed, 1888 insertions(+), 4 deletions(-) create mode 100644 changelog.d/nm-puente-health.added.md create mode 100644 policyengine_us/parameters/gov/states/nm/hca/premium_assistance/puente/fpl_limit.yaml create mode 100644 policyengine_us/parameters/gov/states/nm/hca/premium_assistance/puente/in_effect.yaml create mode 100644 policyengine_us/parameters/gov/states/nm/hca/premium_assistance/puente/ineligible_immigration_statuses.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/assigned_nm_puente_health_premium_assistance.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/integration.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_benchmark_premium.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_eligible.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_member_eligible.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_premium_assistance.yaml create mode 100644 policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/assigned_nm_puente_health_premium_assistance.py create mode 100644 policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_benchmark_premium.py create mode 100644 policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_eligible.py create mode 100644 policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_member_eligible.py create mode 100644 policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_plan_premium.py create mode 100644 policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_premium_assistance.py create mode 100644 policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/takes_up_nm_puente_health_if_eligible.py diff --git a/changelog.d/nm-puente-health.added.md b/changelog.d/nm-puente-health.added.md new file mode 100644 index 00000000000..484341c5f00 --- /dev/null +++ b/changelog.d/nm-puente-health.added.md @@ -0,0 +1 @@ +Add New Mexico's Puente Health premium assistance for lawfully present non-citizens who lost the federal premium tax credit under Public Law 119-21: those under 100% of the poverty line in 2026 and those at or below 400% in 2027. diff --git a/policyengine_us/parameters/gov/household/household_health_benefits.yaml b/policyengine_us/parameters/gov/household/household_health_benefits.yaml index 6d9c4a2c7f4..bcec6fadac4 100644 --- a/policyengine_us/parameters/gov/household/household_health_benefits.yaml +++ b/policyengine_us/parameters/gov/household/household_health_benefits.yaml @@ -15,6 +15,7 @@ values: - md_premium_assistance - nj_njhps - assigned_nm_premium_assistance + - assigned_nm_puente_health_premium_assistance - or_healthier_oregon_cost - vt_premium_assistance - wa_cascade_care_savings diff --git a/policyengine_us/parameters/gov/states/nm/hca/premium_assistance/puente/fpl_limit.yaml b/policyengine_us/parameters/gov/states/nm/hca/premium_assistance/puente/fpl_limit.yaml new file mode 100644 index 00000000000..c5fcbdfe2c5 --- /dev/null +++ b/policyengine_us/parameters/gov/states/nm/hca/premium_assistance/puente/fpl_limit.yaml @@ -0,0 +1,19 @@ +description: New Mexico limits Puente Health to household income at or below this share of the federal poverty line. +values: + # PY2026: "at or below 100% of the FPL" (Addendum 2, Section I.A(3)). The + # Section 71302 group it serves is below 100% by definition, since the + # repealed 26 U.S.C. 36B(c)(1)(B) covered income under the poverty line. + # PY2027: "household income <= 400% of the FPL" (manual p.7, eligibility + # item 3), with no Puente Health above 400% (manual p.8). + 2026-01-01: 1 + 2027-01-01: 4 + +metadata: + unit: /1 + period: year + label: New Mexico Puente Health income limit as fraction of FPL + reference: + - title: Addendum 2 to the PY2026 MAP Policy and Procedures Manual, The Puente Health Program, Section I.A(3) + href: https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/3527710a-f9f6-4e8f-9cd7-d9ea1010b653/Addendum%202_%20MAP%20P%26P%20Puente%20Health.pdf#page=2 + - title: "FINAL PY2027 MAP Policy and Procedures Manual, Eligibility for Puente Health Program item 3 and the note on income above 400% #page 7-8" + href: https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/b61d3073-c0e6-4426-bb40-4cfef26fdca4/FINAL%202027%20MAP%20Policy%20and%20Procedures%20Manual.pdf#page=7 diff --git a/policyengine_us/parameters/gov/states/nm/hca/premium_assistance/puente/in_effect.yaml b/policyengine_us/parameters/gov/states/nm/hca/premium_assistance/puente/in_effect.yaml new file mode 100644 index 00000000000..37c80b454b9 --- /dev/null +++ b/policyengine_us/parameters/gov/states/nm/hca/premium_assistance/puente/in_effect.yaml @@ -0,0 +1,25 @@ +description: New Mexico provides Puente Health premium assistance to lawfully present non-citizens who lost the federal premium tax credit under Public Law 119-21 when this is true. +values: + # Addendum 2 starts Puente Health with coverage on January 1, 2026. 8.401.2 + # NMAC is permanent (8.401.2.4), but 8.401.2.11(B) has the Secretary publish + # the income eligibility parameters annually for the ensuing plan year, and + # HCA has published them only through plan year 2027 (the FINAL PY2027 MAP + # manual). The program therefore ends with plan year 2027 here, as the base + # New Mexico Premium Assistance does, until PY2028 guidance is published. + 0000-01-01: false + 2026-01-01: true + 2028-01-01: false + +metadata: + unit: bool + period: year + label: New Mexico Puente Health in effect + reference: + - title: Addendum 2 to the PY2026 MAP Policy and Procedures Manual, The Puente Health Program, Section I.B Effective Date + href: https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/3527710a-f9f6-4e8f-9cd7-d9ea1010b653/Addendum%202_%20MAP%20P%26P%20Puente%20Health.pdf#page=2 + - title: FINAL PY2027 MAP Policy and Procedures Manual, Puente Health Program + href: https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/b61d3073-c0e6-4426-bb40-4cfef26fdca4/FINAL%202027%20MAP%20Policy%20and%20Procedures%20Manual.pdf#page=7 + - title: 8.401.2.11 NMAC (rule in force) + href: https://prod-rf-lambda.rtssaas.com/PublicFiles/d89c47bd0d70402dba89b03a22bda6d1/45b8668e-460f-45cd-804f-92ee3d442343/8.401.2.html + - title: "8.401.2.4 and 8.401.2.11(B) NMAC, as reprinted in HCA's proposed amendment #page 1,5" + href: https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/d3ee1d62-6f0f-4df7-b7fc-96a4c523ea89/08.401.0002_amended.pdf#page=1 diff --git a/policyengine_us/parameters/gov/states/nm/hca/premium_assistance/puente/ineligible_immigration_statuses.yaml b/policyengine_us/parameters/gov/states/nm/hca/premium_assistance/puente/ineligible_immigration_statuses.yaml new file mode 100644 index 00000000000..99db042fefa --- /dev/null +++ b/policyengine_us/parameters/gov/states/nm/hca/premium_assistance/puente/ineligible_immigration_statuses.yaml @@ -0,0 +1,28 @@ +description: New Mexico excludes these immigration statuses, which do not allow a person to buy a qualified health plan on the exchange, from Puente Health. +values: + # Puente Health covers a "lawfully present individual", defined at + # 8.401.2.7(I) NMAC as a non-citizen "who has an immigration status that + # allows them to purchase a QHP on the exchange". 45 CFR 155.305(a)(1) + # limits QHP enrollment to citizens, nationals and lawfully present people, + # and 45 CFR 155.20 has excluded DACA recipients from lawful presence since + # August 25, 2025 (paragraph (14)). New Mexico serves DACA recipients + # through a separate off-exchange program (8.401.2.12 NMAC). Every other + # non-citizen status that the federal credit excludes is a lawfully present + # status and so a Puente Health status. + 2026-01-01: + - DACA + - UNDOCUMENTED + +metadata: + unit: list + period: year + label: New Mexico Puente Health ineligible immigration statuses + reference: + - title: "8.401.2.7(I) and 8.401.2.12 NMAC, as reprinted in HCA's proposed amendment #page 1,5" + href: https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/d3ee1d62-6f0f-4df7-b7fc-96a4c523ea89/08.401.0002_amended.pdf#page=1 + - title: 8.401.2.7(I) and 8.401.2.12 NMAC (rule in force) + href: https://prod-rf-lambda.rtssaas.com/PublicFiles/d89c47bd0d70402dba89b03a22bda6d1/45b8668e-460f-45cd-804f-92ee3d442343/8.401.2.html + - title: "45 CFR 155.20, definition of lawfully present #page 3-4" + href: https://www.govinfo.gov/content/pkg/CFR-2025-title45-vol2/pdf/CFR-2025-title45-vol2-sec155-20.pdf#page=3 + - title: 45 CFR 155.305(a)(1) + href: https://www.govinfo.gov/content/pkg/CFR-2025-title45-vol2/pdf/CFR-2025-title45-vol2-sec155-305.pdf#page=1 diff --git a/policyengine_us/programs.yaml b/policyengine_us/programs.yaml index d44c3871a3d..33bb215f427 100644 --- a/policyengine_us/programs.yaml +++ b/policyengine_us/programs.yaml @@ -2203,10 +2203,11 @@ programs: name: New Mexico Premium Assistance full_name: Health Insurance Marketplace Affordability Program category: Healthcare - # Base Premium Assistance and the Middle Income Household component are - # modeled. Two sub-programs are NOT yet modeled: Puente Health (esp. the - # PY2027 up-to-400% FPL lawfully-present non-citizen population) and the - # Native American Table 2 rates plus the Premium Buy-down. + # Base Premium Assistance, the Middle Income Household component and + # Puente Health (nm_puente_health_premium_assistance, for lawfully present + # non-citizens who lost the federal credit under Public Law 119-21) are + # modeled. Not yet modeled: the Native American Table 2 rates and the + # Premium Buy-down. agency: State status: partial coverage: NM diff --git a/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/assigned_nm_puente_health_premium_assistance.yaml b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/assigned_nm_puente_health_premium_assistance.yaml new file mode 100644 index 00000000000..0f1e7eec8c4 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/assigned_nm_puente_health_premium_assistance.yaml @@ -0,0 +1,76 @@ +# Take-up: Puente Health pays only for plans bought on BeWell, so by default a +# tax unit takes it up when it takes up Marketplace coverage. + +- name: Case 1, 2027 eligible amount is received when the tax unit takes up Marketplace coverage. + period: 2027 + input: + people: + person1: + age: 40 + tax_units: + tax_unit: + members: [person1] + nm_puente_health_premium_assistance: 5_000 + takes_up_aca_if_eligible: true + households: + household: + members: [person1] + state_code: NM + output: + takes_up_nm_puente_health_if_eligible: true + assigned_nm_puente_health_premium_assistance: 5_000 + +- name: Case 2, 2027 eligible amount is not received without Marketplace take-up. + period: 2027 + input: + people: + person1: + age: 40 + tax_units: + tax_unit: + members: [person1] + nm_puente_health_premium_assistance: 5_000 + takes_up_aca_if_eligible: false + households: + household: + members: [person1] + state_code: NM + output: + takes_up_nm_puente_health_if_eligible: false + assigned_nm_puente_health_premium_assistance: 0 + +- name: Case 3, 2027 a supplied Puente Health take-up flag overrides the Marketplace default. + period: 2027 + input: + people: + person1: + age: 40 + tax_units: + tax_unit: + members: [person1] + nm_puente_health_premium_assistance: 5_000 + takes_up_aca_if_eligible: true + takes_up_nm_puente_health_if_eligible: false + households: + household: + members: [person1] + state_code: NM + output: + assigned_nm_puente_health_premium_assistance: 0 + +- name: Case 4, 2026 assigned amount flows into household health benefits when they count. + # gov.household.household_health_benefits lists the assigned amount, so with + # the flag on it is the household's only health benefit here. + period: 2026 + absolute_error_margin: 0.01 + input: + state_code: NM + gov.simulation.include_health_benefits_in_net_income: true + assigned_aca_ptc: 0 + medicaid_cost: 0 + nm_premium_assistance: 0 + nm_puente_health_premium_assistance: 900 + snap: 0 + output: + assigned_nm_puente_health_premium_assistance: 900 + household_health_benefits: 900 diff --git a/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/integration.yaml b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/integration.yaml new file mode 100644 index 00000000000..a489b27070c --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/integration.yaml @@ -0,0 +1,76 @@ +# End-to-end Puente Health cases: only demographics, immigration status, wages +# and county are supplied. ACA MAGI, the poverty line, membership, the +# benchmark from the Bernalillo County (rating area 1) premium table, the +# Table 1 share and the household health benefit total are all derived. +# Benchmark: rating area 1 age-0 premium times the default age-40 factor +# (1.6706), times 12. + +- name: Scenario 1, 2027 single TPS holder in Bernalillo County at 250% FPL. + # aca_fpg is the 2026 one-person guideline, 15,960; 39,900 / 15,960 = 2.50. + # Benchmark 384.00 * 1.6706 * 12 = 7,698.1248. Table 1 share 2%: + # 7,698.1248 - 0.02 * 39,900 = 7,698.1248 - 798 = 6,900.1248, under the + # 7,698.1248 benchmark plan. Section 71301 bars a TPS holder from the federal + # credit, so the household's only health benefit is Puente Health. + period: 2027 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + employment_income: 39_900 + immigration_status: TPS + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + households: + household: + members: [person1] + state_code: NM + county_str: BERNALILLO_COUNTY_NM + output: + aca_magi: 39_900 + aca_fpg: 15_960 + is_aca_ptc_eligible: false + aca_ptc: 0 + nm_premium_assistance: 0 + nm_puente_health_member_eligible: true + nm_puente_health_eligible: true + nm_puente_health_benchmark_premium: 7_698.1248 + nm_puente_health_plan_premium: 7_698.1248 + nm_puente_health_premium_assistance: 6_900.1248 + assigned_nm_puente_health_premium_assistance: 6_900.1248 + healthcare_benefit_value: 6_900.1248 + +- name: Scenario 2, 2026 single LPR in the five-year bar in Bernalillo County at 64% FPL. + # aca_fpg is the 2025 one-person guideline, 15,650; 10,000 / 15,650 = 0.639. + # Medicaid's five-year bar and the end of the below-poverty rule leave no + # federal credit (Section 71302). Benchmark 314.00 * 1.6706 * 12 = + # 6,294.8208; 1.1 times it with a 0% share is 6,924.30, capped at the + # 6,294.8208 benchmark plan. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + employment_income: 10_000 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 2 + tax_units: + tax_unit: + members: [person1] + filing_status: SINGLE + households: + household: + members: [person1] + state_code: NM + county_str: BERNALILLO_COUNTY_NM + output: + aca_fpg: 15_650 + is_medicaid_eligible: false + is_aca_ptc_eligible: false + nm_puente_health_member_eligible: true + nm_puente_health_benchmark_premium: 6_294.8208 + nm_puente_health_premium_assistance: 6_294.8208 + healthcare_benefit_value: 6_294.8208 diff --git a/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_benchmark_premium.yaml b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_benchmark_premium.yaml new file mode 100644 index 00000000000..c22cdbafaa7 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_benchmark_premium.yaml @@ -0,0 +1,96 @@ +# The Puente Health benchmark: the second-lowest-cost silver premium for the +# tax unit's Puente Health members alone. Annual age-curve quotes are supplied +# (slcsp_age_curve_amount_person), and the year's monthly benchmarks are summed. + +- name: Case 1, 2027 TPS parent with four TPS children is charged for the three oldest children. + # Membership is supplied. 45 CFR 147.102(c)(1): only the three oldest + # children under 21 add a premium. 9,000 + 3 * 3,000 = 18,000; the + # six-year-old adds nothing. + period: 2027 + absolute_error_margin: 0.01 + input: + people: + parent: + age: 40 + is_tax_unit_head: true + nm_puente_health_member_eligible: true + slcsp_age_curve_amount_person: 9_000 + child1: + age: 12 + is_tax_unit_head: false + nm_puente_health_member_eligible: true + slcsp_age_curve_amount_person: 3_000 + child2: + age: 10 + is_tax_unit_head: false + nm_puente_health_member_eligible: true + slcsp_age_curve_amount_person: 3_000 + child3: + age: 8 + is_tax_unit_head: false + nm_puente_health_member_eligible: true + slcsp_age_curve_amount_person: 3_000 + child4: + age: 6 + is_tax_unit_head: false + nm_puente_health_member_eligible: true + slcsp_age_curve_amount_person: 3_000 + tax_units: + tax_unit: + members: [parent, child1, child2, child3, child4] + households: + household: + members: [parent, child1, child2, child3, child4] + state_code: NM + output: + nm_puente_health_benchmark_premium: 18_000 + +- name: Case 2, 2027 joint return prices only the member spouse. + # Membership is supplied: the head keeps the federal credit, the spouse is a + # Puente Health member. Benchmark 9,000 for the spouse; the head's 8,000 is + # left to the federal credit. + period: 2027 + absolute_error_margin: 0.01 + input: + people: + head: + age: 40 + is_tax_unit_head: true + is_tax_unit_spouse: false + nm_puente_health_member_eligible: false + slcsp_age_curve_amount_person: 8_000 + spouse: + age: 40 + is_tax_unit_head: false + is_tax_unit_spouse: true + nm_puente_health_member_eligible: true + slcsp_age_curve_amount_person: 9_000 + tax_units: + tax_unit: + members: [head, spouse] + filing_status: JOINT + households: + household: + members: [head, spouse] + state_code: NM + output: + nm_puente_health_benchmark_premium: 9_000 + +- name: Case 3, 2027 tax unit with no member has no Puente Health benchmark. + period: 2027 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + nm_puente_health_member_eligible: false + slcsp_age_curve_amount_person: 9_000 + tax_units: + tax_unit: + members: [person1] + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_benchmark_premium: 0 diff --git a/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_eligible.yaml new file mode 100644 index 00000000000..e85454a6b00 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_eligible.yaml @@ -0,0 +1,237 @@ +# Puente Health tax-unit eligibility: in effect (2026-2027), at least one +# member, and household income at or below the limit (100% FPL in PY2026, 400% +# in PY2027) on the exact ratio of ACA MAGI to aca_fpg. aca_fpg is supplied so +# the income edges don't depend on the uprated guideline. + +- name: Case 1, 2027 TPS holder at exactly 400% FPL is eligible. + # 63,840 / 15,960 = 4.00, "<= 400% of the FPL". + period: 2027 + input: + people: + person1: + age: 40 + immigration_status: TPS + tax_units: + tax_unit: + members: [person1] + aca_magi: 63_840 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_eligible: true + +- name: Case 2, 2027 TPS holder one dollar above 400% FPL is not eligible. + # 63,841 / 15,960 = 4.00006. + period: 2027 + input: + people: + person1: + age: 40 + immigration_status: TPS + tax_units: + tax_unit: + members: [person1] + aca_magi: 63_841 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_member_eligible: true + nm_puente_health_eligible: false + +- name: Case 3, 2027 TPS holder at 400.5% FPL is not eligible. + # 63,920 / 15,960 = 4.005. The truncated aca_magi_fraction would read 4.00. + period: 2027 + input: + people: + person1: + age: 40 + immigration_status: TPS + tax_units: + tax_unit: + members: [person1] + aca_magi: 63_920 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + aca_magi_fraction: 4.00 + nm_puente_health_eligible: false + +- name: Case 4, 2027 TPS holder with no income is eligible (no income floor). + # The PY2027 manual covers "between 0 and <= 400% of the FPL". + period: 2027 + input: + people: + person1: + age: 40 + immigration_status: TPS + tax_units: + tax_unit: + members: [person1] + aca_magi: 0 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_eligible: true + +- name: Case 5, 2026 limit admits exactly 100% FPL. + # Membership is supplied to isolate the PY2026 limit, "at or below 100% of + # the FPL": 15,650 / 15,650 = 1.00. A real Section 71302 member is under 100% + # (member Case 6). + period: 2026 + input: + people: + person1: + age: 40 + nm_puente_health_member_eligible: true + tax_units: + tax_unit: + members: [person1] + aca_magi: 15_650 + aca_fpg: 15_650 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_eligible: true + +- name: Case 6, 2026 limit excludes one dollar above 100% FPL. + # 15,651 / 15,650 = 1.00006. + period: 2026 + input: + people: + person1: + age: 40 + nm_puente_health_member_eligible: true + tax_units: + tax_unit: + members: [person1] + aca_magi: 15_651 + aca_fpg: 15_650 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_eligible: false + +- name: Case 7, 2026 Section 71302 member at 80% FPL is eligible (first year). + # 12,520 / 15,650 = 0.80. + period: 2026 + input: + people: + person1: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 2 + tax_units: + tax_unit: + members: [person1] + aca_magi: 12_520 + aca_fpg: 15_650 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_eligible: true + +- name: Case 8, 2025 is before Puente Health starts. + # Membership is supplied to isolate in_effect. + period: 2025 + input: + people: + person1: + age: 40 + nm_puente_health_member_eligible: true + tax_units: + tax_unit: + members: [person1] + aca_magi: 12_048 + aca_fpg: 15_060 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_eligible: false + +- name: Case 9, 2028 is after the last published plan year. + # Membership is supplied to isolate in_effect. + period: 2028 + input: + people: + person1: + age: 40 + nm_puente_health_member_eligible: true + tax_units: + tax_unit: + members: [person1] + aca_magi: 39_900 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_eligible: false + +- name: Case 10, 2027 tax unit with no member is not eligible. + period: 2027 + input: + people: + person1: + age: 40 + nm_puente_health_member_eligible: false + tax_units: + tax_unit: + members: [person1] + aca_magi: 39_900 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_eligible: false + +- name: Case 11, 2027 joint return with one TPS spouse is eligible on household income. + # 54,100 / 21,640 (the 2026 two-person guideline) = 2.50. + period: 2027 + input: + people: + head: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 6 + is_tax_unit_head: true + is_tax_unit_spouse: false + spouse: + age: 40 + immigration_status: TPS + is_tax_unit_head: false + is_tax_unit_spouse: true + tax_units: + tax_unit: + members: [head, spouse] + filing_status: JOINT + aca_magi: 54_100 + aca_fpg: 21_640 + households: + household: + members: [head, spouse] + state_code: NM + output: + nm_puente_health_eligible: true diff --git a/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_member_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_member_eligible.yaml new file mode 100644 index 00000000000..07f5e7692bd --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_member_eligible.yaml @@ -0,0 +1,505 @@ +# Puente Health members: lawfully present non-citizens who lost the federal +# premium tax credit under Public Law 119-21 Section 71301 (status, from 2027) +# or Section 71302 (the repealed below-poverty rule, from 2026), and who +# otherwise meet the credit's conditions. aca_fpg is supplied so the income +# tests don't depend on the uprated guideline: the 2025 one-person guideline +# ($15,650) for 2026 and the 2026 one ($15,960) for 2027. + +- name: Case 1, 2027 TPS holder at 250% FPL is a member (Section 71301). + period: 2027 + input: + people: + person1: + age: 40 + immigration_status: TPS + tax_units: + tax_unit: + members: [person1] + aca_magi: 39_900 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + is_aca_ptc_immigration_status_eligible: false + nm_puente_health_member_eligible: true + +- name: Case 2, 2027 statuses Section 71301 bars from the credit are members; the rest are not. + # 250% FPL. Refugee, asylee, withholding of deportation, parole of a year or + # more and TPS are lawfully present but no longer credit-eligible. A citizen, + # LPR, Cuban/Haitian entrant and conditional entrant keep the credit in the + # model's federal list, and DACA and undocumented status cannot buy a + # qualified health plan. + period: 2027 + input: + people: + p1: + age: 40 + immigration_status: REFUGEE + p2: + age: 40 + immigration_status: ASYLEE + p3: + age: 40 + immigration_status: DEPORTATION_WITHHELD + p4: + age: 40 + immigration_status: PAROLED_ONE_YEAR + p5: + age: 40 + immigration_status: TPS + p6: + age: 40 + immigration_status: CITIZEN + p7: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + p8: + age: 40 + immigration_status: CUBAN_HAITIAN_ENTRANT + p9: + age: 40 + immigration_status: CONDITIONAL_ENTRANT + p10: + age: 40 + immigration_status: DACA + p11: + age: 40 + immigration_status: UNDOCUMENTED + tax_units: + t1: + members: [p1] + aca_magi: 39_900 + aca_fpg: 15_960 + t2: + members: [p2] + aca_magi: 39_900 + aca_fpg: 15_960 + t3: + members: [p3] + aca_magi: 39_900 + aca_fpg: 15_960 + t4: + members: [p4] + aca_magi: 39_900 + aca_fpg: 15_960 + t5: + members: [p5] + aca_magi: 39_900 + aca_fpg: 15_960 + t6: + members: [p6] + aca_magi: 39_900 + aca_fpg: 15_960 + t7: + members: [p7] + aca_magi: 39_900 + aca_fpg: 15_960 + t8: + members: [p8] + aca_magi: 39_900 + aca_fpg: 15_960 + t9: + members: [p9] + aca_magi: 39_900 + aca_fpg: 15_960 + t10: + members: [p10] + aca_magi: 39_900 + aca_fpg: 15_960 + t11: + members: [p11] + aca_magi: 39_900 + aca_fpg: 15_960 + spm_units: + s1: + members: [p1] + s2: + members: [p2] + s3: + members: [p3] + s4: + members: [p4] + s5: + members: [p5] + s6: + members: [p6] + s7: + members: [p7] + s8: + members: [p8] + s9: + members: [p9] + s10: + members: [p10] + s11: + members: [p11] + marital_units: + m1: + members: [p1] + m2: + members: [p2] + m3: + members: [p3] + m4: + members: [p4] + m5: + members: [p5] + m6: + members: [p6] + m7: + members: [p7] + m8: + members: [p8] + m9: + members: [p9] + m10: + members: [p10] + m11: + members: [p11] + families: + f1: + members: [p1] + f2: + members: [p2] + f3: + members: [p3] + f4: + members: [p4] + f5: + members: [p5] + f6: + members: [p6] + f7: + members: [p7] + f8: + members: [p8] + f9: + members: [p9] + f10: + members: [p10] + f11: + members: [p11] + households: + h1: + members: [p1] + state_code: NM + h2: + members: [p2] + state_code: NM + h3: + members: [p3] + state_code: NM + h4: + members: [p4] + state_code: NM + h5: + members: [p5] + state_code: NM + h6: + members: [p6] + state_code: NM + h7: + members: [p7] + state_code: NM + h8: + members: [p8] + state_code: NM + h9: + members: [p9] + state_code: NM + h10: + members: [p10] + state_code: NM + h11: + members: [p11] + state_code: NM + output: + nm_puente_health_member_eligible: + [true, true, true, true, true, false, false, false, false, false, false] + +- name: Case 3, 2027 refugee at 80% FPL is a member (no Medicaid status from October 2026). + # 12,768 / 15,960 = 0.80. Section 71109 limits Medicaid to citizens, LPRs and + # Cuban/Haitian entrants from October 1, 2026, so a refugee adult has no + # Medicaid to bar Puente Health. + period: 2027 + input: + people: + person1: + age: 40 + immigration_status: REFUGEE + tax_units: + tax_unit: + members: [person1] + aca_magi: 12_768 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + is_medicaid_eligible: false + nm_puente_health_member_eligible: true + +- name: Case 4, 2026 LPR in the five-year bar at 80% FPL is a member (Section 71302). + # 12,520 / 15,650 = 0.80. The LPR's status allows the credit, but Medicaid + # bars them for five years, and 2026 ends the below-poverty rule that gave + # them the credit. + period: 2026 + input: + people: + person1: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 2 + tax_units: + tax_unit: + members: [person1] + aca_magi: 12_520 + aca_fpg: 15_650 + households: + household: + members: [person1] + state_code: NM + output: + is_aca_ptc_immigration_status_eligible: true + is_medicaid_immigration_status_eligible: false + aca_ptc_below_fpl_immigration_exception: false + nm_puente_health_member_eligible: true + +- name: Case 5, 2026 LPR in the five-year bar just under 100% FPL is a member. + # 15,649 / 15,650 = 0.99994, under the poverty line. + period: 2026 + input: + people: + person1: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 2 + tax_units: + tax_unit: + members: [person1] + aca_magi: 15_649 + aca_fpg: 15_650 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_member_eligible: true + +- name: Case 6, 2026 LPR in the five-year bar at exactly 100% FPL is not a member. + # 15,650 / 15,650 = 1.00. At the poverty line the federal credit's own income + # test is met, so Section 71302 takes nothing away. + period: 2026 + input: + people: + person1: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 2 + tax_units: + tax_unit: + members: [person1] + aca_magi: 15_650 + aca_fpg: 15_650 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_member_eligible: false + +- name: Case 7, 2026 LPR past the five-year bar at 80% FPL is not a member (Medicaid instead). + period: 2026 + input: + people: + person1: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 6 + tax_units: + tax_unit: + members: [person1] + aca_magi: 12_520 + aca_fpg: 15_650 + households: + household: + members: [person1] + state_code: NM + output: + is_medicaid_immigration_status_eligible: true + nm_puente_health_member_eligible: false + +- name: Case 8, 2025 LPR in the five-year bar at 80% FPL is not a member (below-poverty rule still in effect). + # 12,048 / 15,060 (the 2024 one-person guideline) = 0.80. + period: 2025 + input: + people: + person1: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 2 + tax_units: + tax_unit: + members: [person1] + aca_magi: 12_048 + aca_fpg: 15_060 + households: + household: + members: [person1] + state_code: NM + output: + aca_ptc_below_fpl_immigration_exception: true + nm_puente_health_member_eligible: false + +- name: Case 9, 2027 LPR in the five-year bar at 80% FPL is a member (Section 71302 continues). + # 12,768 / 15,960 = 0.80. + period: 2027 + input: + people: + person1: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 2 + tax_units: + tax_unit: + members: [person1] + aca_magi: 12_768 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_member_eligible: true + +- name: Case 10, 2027 LPR at 250% FPL keeps the federal credit and is not a member. + period: 2027 + input: + people: + person1: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 6 + tax_units: + tax_unit: + members: [person1] + aca_magi: 39_900 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_member_eligible: false + +- name: Case 11, 2027 TPS holder offered employer coverage is not a member. + period: 2027 + input: + people: + person1: + age: 40 + immigration_status: TPS + is_aca_eshi_eligible: true + tax_units: + tax_unit: + members: [person1] + aca_magi: 39_900 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_member_eligible: false + +- name: Case 12, 2027 TPS holder filing separately is not a member. + period: 2027 + input: + people: + person1: + age: 40 + immigration_status: TPS + tax_units: + tax_unit: + members: [person1] + filing_status: SEPARATE + aca_magi: 39_900 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_member_eligible: false + +- name: Case 13, 2027 TPS holder another taxpayer can claim is not a member. + period: 2027 + input: + people: + person1: + age: 20 + immigration_status: TPS + claimable_as_dependent_on_another_return: true + tax_units: + tax_unit: + members: [person1] + aca_magi: 39_900 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + is_aca_tax_family_member: false + nm_puente_health_member_eligible: false + +- name: Case 14, 2027 TPS holder outside New Mexico is not a member. + period: 2027 + input: + people: + person1: + age: 40 + immigration_status: TPS + tax_units: + tax_unit: + members: [person1] + aca_magi: 39_900 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: TX + output: + nm_puente_health_member_eligible: false + +- name: Case 15, 2027 joint return of an LPR and a TPS holder makes only the TPS spouse a member. + # 54,100 / 21,640 (the 2026 two-person guideline) = 2.50. + period: 2027 + input: + people: + head: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 6 + is_tax_unit_head: true + is_tax_unit_spouse: false + spouse: + age: 40 + immigration_status: TPS + is_tax_unit_head: false + is_tax_unit_spouse: true + tax_units: + tax_unit: + members: [head, spouse] + filing_status: JOINT + aca_magi: 54_100 + aca_fpg: 21_640 + households: + household: + members: [head, spouse] + state_code: NM + output: + nm_puente_health_member_eligible: [false, true] diff --git a/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_premium_assistance.yaml b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_premium_assistance.yaml new file mode 100644 index 00000000000..bd6079d656b --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_premium_assistance.yaml @@ -0,0 +1,453 @@ +# Puente Health premium assistance: +# amount = max(0, benchmark * gross_up - Table 1 share * aca_magi), +# capped at the selected plan premium (the $0 net premium floor). +# gross_up is 1.1 below the base program's limit: up to 200% FPL in PY2026 +# (every Puente enrollee, all under 100%) and under 200% in PY2027. Table 1: +# 0% below 200%; 0->2% at 200-250%; 2->5% at 250-300%; 5->8.5% at 300-400%. +# The person's annual benchmark quote is supplied (slcsp_age_curve_amount_person +# 9,000), and aca_fpg is supplied: $15,650 for 2026 and $15,960 for 2027. +# Membership and eligibility are derived from immigration status and income. +# The default plan is a silver plan at the benchmark (ratio 1.0), so the cap is +# the benchmark and hides the 10% increase; cases that show the increase select +# a silver plan at 1.1 times the benchmark. + +- name: Case 1, 2026 LPR in the five-year bar at 80% FPL gets the whole benchmark. + # 12,520 / 15,650 = 0.80. 9,000 * 1.1 - 0 = 9,900, capped at the 9,000 plan. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 2 + slcsp_age_curve_amount_person: 9_000 + tax_units: + tax_unit: + members: [person1] + aca_magi: 12_520 + aca_fpg: 15_650 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_eligible: true + nm_puente_health_benchmark_premium: 9_000 + nm_puente_health_plan_premium: 9_000 + nm_puente_health_premium_assistance: 9_000 + +- name: Case 2, 2026 same household with a silver plan at 1.1 times the benchmark gets 9,900. + # Addendum 2: the premium used is "10% above the price of the SLCSP", with a 0% + # contribution under 100% FPL. Plan premium 9,900, so the cap doesn't bind. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 2 + slcsp_age_curve_amount_person: 9_000 + tax_units: + tax_unit: + members: [person1] + aca_magi: 12_520 + aca_fpg: 15_650 + selected_marketplace_plan_benchmark_ratio: 1.1 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_plan_premium: 9_900 + nm_puente_health_premium_assistance: 9_900 + +- name: Case 3, 2026 LPR in the five-year bar at 120% FPL gets nothing (federally eligible). + # 18,780 / 15,650 = 1.20: the federal credit and base New Mexico Premium + # Assistance apply instead. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 2 + slcsp_age_curve_amount_person: 9_000 + tax_units: + tax_unit: + members: [person1] + aca_magi: 18_780 + aca_fpg: 15_650 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_eligible: false + nm_puente_health_premium_assistance: 0 + +- name: Case 4, 2027 refugee at 80% FPL gets the whole benchmark. + # 12,768 / 15,960 = 0.80. 9,000 * 1.1 = 9,900, capped at 9,000. + period: 2027 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: REFUGEE + slcsp_age_curve_amount_person: 9_000 + tax_units: + tax_unit: + members: [person1] + aca_magi: 12_768 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_premium_assistance: 9_000 + +- name: Case 5, 2027 TPS holder at 140% FPL gets the whole benchmark. + # 22,344 / 15,960 = 1.40. Table 1 share 0%; 9,900 capped at 9,000. + period: 2027 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: TPS + slcsp_age_curve_amount_person: 9_000 + tax_units: + tax_unit: + members: [person1] + aca_magi: 22_344 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_premium_assistance_target_contribution_percentage: 0 + nm_puente_health_premium_assistance: 9_000 + +- name: Case 6, 2027 asylee at 250% FPL pays 2% of income. + # 39,900 / 15,960 = 2.50: Table 1 share 2%, no increase. + # 9,000 - 0.02 * 39,900 = 9,000 - 798 = 8,202. + period: 2027 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: ASYLEE + slcsp_age_curve_amount_person: 9_000 + tax_units: + tax_unit: + members: [person1] + aca_magi: 39_900 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_premium_assistance_target_contribution_percentage: 0.02 + nm_puente_health_premium_assistance: 8_202 + +- name: Case 7, 2027 TPS holder at 350% FPL pays 6.75% of income. + # 55,860 / 15,960 = 3.50: Table 1 share 5% + 0.5 * 3.5% = 6.75%. + # 9,000 - 0.0675 * 55,860 = 9,000 - 3,770.55 = 5,229.45. + period: 2027 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: TPS + slcsp_age_curve_amount_person: 9_000 + tax_units: + tax_unit: + members: [person1] + aca_magi: 55_860 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_premium_assistance_target_contribution_percentage: 0.0675 + nm_puente_health_premium_assistance: 5_229.45 + +- name: Case 8, 2027 TPS holder at exactly 400% FPL pays 8.5% of income. + # 63,840 / 15,960 = 4.00. 9,000 - 0.085 * 63,840 = 9,000 - 5,426.40 = 3,573.60. + period: 2027 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: TPS + slcsp_age_curve_amount_person: 9_000 + tax_units: + tax_unit: + members: [person1] + aca_magi: 63_840 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_premium_assistance_target_contribution_percentage: 0.085 + nm_puente_health_premium_assistance: 3_573.60 + +- name: Case 9, 2027 TPS holder at 400.5% FPL gets nothing. + # 63,920 / 15,960 = 4.005, above the limit. The manual: above 400% the consumer + # "is responsible for paying the full premium cost". + period: 2027 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: TPS + slcsp_age_curve_amount_person: 9_000 + tax_units: + tax_unit: + members: [person1] + aca_magi: 63_920 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_premium_assistance: 0 + +- name: Case 10, 2027 LPR at 250% FPL gets nothing (federally eligible). + period: 2027 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 6 + slcsp_age_curve_amount_person: 9_000 + tax_units: + tax_unit: + members: [person1] + aca_magi: 39_900 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_premium_assistance: 0 + +- name: Case 11, 2027 TPS holder just under 200% FPL gets the 10% increase. + # 31,919 / 15,960 = 1.99994, "under 200% (< 200%)". Table 1 share 0% + # (aca_magi_fraction 1.99). 9,000 * 1.1 = 9,900; plan 9,900. + period: 2027 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: TPS + slcsp_age_curve_amount_person: 9_000 + tax_units: + tax_unit: + members: [person1] + aca_magi: 31_919 + aca_fpg: 15_960 + selected_marketplace_plan_benchmark_ratio: 1.1 + households: + household: + members: [person1] + state_code: NM + output: + nm_premium_assistance_target_contribution_percentage: 0 + nm_puente_health_premium_assistance: 9_900 + +- name: Case 12, 2027 TPS holder at exactly 200% FPL gets no increase. + # 31,920 / 15,960 = 2.00 is not under 200%. Table 1 share 0% at 200%. + # 9,000 - 0 = 9,000; plan 9,900. + period: 2027 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: TPS + slcsp_age_curve_amount_person: 9_000 + tax_units: + tax_unit: + members: [person1] + aca_magi: 31_920 + aca_fpg: 15_960 + selected_marketplace_plan_benchmark_ratio: 1.1 + households: + household: + members: [person1] + state_code: NM + output: + nm_premium_assistance_target_contribution_percentage: 0 + nm_puente_health_premium_assistance: 9_000 + +- name: Case 13, 2027 TPS holder choosing a bronze plan gets at most its premium. + # 22,344 / 15,960 = 1.40. 9,900 before the cap. The bronze plan costs the + # benchmark times the rating area's bronze-to-silver price at age 0: + # 9,000 * 4,500 / 6,000 = 6,750. + period: 2027 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: TPS + slcsp_age_curve_amount_person: 9_000 + tax_units: + tax_unit: + members: [person1] + aca_magi: 22_344 + aca_fpg: 15_960 + selected_marketplace_plan_category: BRONZE + households: + household: + members: [person1] + state_code: NM + slcsp_age_0: 6_000 + lcbp_age_0: 4_500 + output: + nm_puente_health_plan_premium: 6_750 + nm_puente_health_premium_assistance: 6_750 + +- name: Case 14, 2027 joint return of an LPR and a TPS holder prices Puente Health on the TPS spouse. + # 54,100 / 21,640 = 2.50: Table 1 share 2%. Benchmark 9,000 for the TPS + # spouse alone. 9,000 - 0.02 * 54,100 = 9,000 - 1,082 = 7,918. + period: 2027 + absolute_error_margin: 0.01 + input: + people: + head: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 6 + is_tax_unit_head: true + is_tax_unit_spouse: false + slcsp_age_curve_amount_person: 9_000 + spouse: + age: 40 + immigration_status: TPS + is_tax_unit_head: false + is_tax_unit_spouse: true + slcsp_age_curve_amount_person: 9_000 + tax_units: + tax_unit: + members: [head, spouse] + filing_status: JOINT + aca_magi: 54_100 + aca_fpg: 21_640 + households: + household: + members: [head, spouse] + state_code: NM + output: + nm_puente_health_benchmark_premium: 9_000 + nm_puente_health_premium_assistance: 7_918 + +- name: Case 15, 2027 TPS holder in Texas gets nothing. + period: 2027 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: TPS + slcsp_age_curve_amount_person: 9_000 + tax_units: + tax_unit: + members: [person1] + aca_magi: 22_344 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: TX + output: + nm_puente_health_premium_assistance: 0 + +- name: Case 16, 2028 TPS holder gets nothing after the last published plan year. + period: 2028 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + immigration_status: TPS + slcsp_age_curve_amount_person: 9_000 + tax_units: + tax_unit: + members: [person1] + aca_magi: 22_344 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_premium_assistance: 0 + +- name: Case 17, negative income counts as zero. + # Eligibility is supplied. aca_magi -10,000 counts as 0, so the ratio is 0 + # (under 200%: increase applies) and the Table 1 share, supplied at 5% so the + # clamp matters, multiplies 0. 9,000 * 1.1 = 9,900, plan 9,900. + period: 2027 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + tax_units: + tax_unit: + members: [person1] + nm_puente_health_eligible: true + nm_puente_health_benchmark_premium: 9_000 + nm_premium_assistance_target_contribution_percentage: 0.05 + aca_magi: -10_000 + aca_fpg: 15_960 + selected_marketplace_plan_benchmark_ratio: 1.1 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_premium_assistance: 9_900 + +- name: Case 18, contribution above the benchmark floors the amount at zero. + # Eligibility and the share are supplied: 9,000 - 0.085 * 120,000 < 0. + period: 2027 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + tax_units: + tax_unit: + members: [person1] + nm_puente_health_eligible: true + nm_puente_health_benchmark_premium: 9_000 + nm_premium_assistance_target_contribution_percentage: 0.085 + aca_magi: 120_000 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_premium_assistance: 0 diff --git a/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/assigned_nm_puente_health_premium_assistance.py b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/assigned_nm_puente_health_premium_assistance.py new file mode 100644 index 00000000000..71e771f59a8 --- /dev/null +++ b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/assigned_nm_puente_health_premium_assistance.py @@ -0,0 +1,28 @@ +from policyengine_us.model_api import * + + +class assigned_nm_puente_health_premium_assistance(Variable): + value_type = float + entity = TaxUnit + label = "Assigned New Mexico Puente Health premium assistance" + unit = USD + definition_period = YEAR + defined_for = StateCode.NM + reference = ( + # Addendum 2, Section I: Puente Health "only applies to plans sold on + # BeWell's individual market platform", so it reaches only enrollees. + "https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/3527710a-f9f6-4e8f-9cd7-d9ea1010b653/Addendum%202_%20MAP%20P%26P%20Puente%20Health.pdf#page=2", + # FINAL PY2027 MAP manual, Puente Health Program: the same limit to + # plans sold on BeWell. + "https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/b61d3073-c0e6-4426-bb40-4cfef26fdca4/FINAL%202027%20MAP%20Policy%20and%20Procedures%20Manual.pdf#page=7", + ) + documentation = ( + "Puente Health premium assistance for tax units that take it up, " + "mirroring assigned_aca_ptc and assigned_nm_premium_assistance. This " + "is the amount the household health benefit totals count." + ) + + def formula(tax_unit, period, parameters): + return tax_unit("nm_puente_health_premium_assistance", period) * tax_unit( + "takes_up_nm_puente_health_if_eligible", period + ) diff --git a/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_benchmark_premium.py b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_benchmark_premium.py new file mode 100644 index 00000000000..2e82195740c --- /dev/null +++ b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_benchmark_premium.py @@ -0,0 +1,40 @@ +from policyengine_us.model_api import * +from policyengine_us.variables.gov.aca.slspc.aca_ptc_slcsp import ( + benchmark_premium, +) + + +class nm_puente_health_benchmark_premium(Variable): + value_type = float + entity = TaxUnit + label = "New Mexico Puente Health benchmark premium" + unit = USD + definition_period = MONTH + defined_for = StateCode.NM + reference = ( + # Addendum 2: "the SLCSP in the consumer's rating area is the + # benchmark" (PY2026). + "https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/3527710a-f9f6-4e8f-9cd7-d9ea1010b653/Addendum%202_%20MAP%20P%26P%20Puente%20Health.pdf#page=3", + # FINAL PY2027 MAP manual, Puente Health premium assistance parameter + # 2: "calculated using the SLCSP". + "https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/b61d3073-c0e6-4426-bb40-4cfef26fdca4/FINAL%202027%20MAP%20Policy%20and%20Procedures%20Manual.pdf#page=8", + ) + documentation = ( + "The monthly second-lowest-cost silver plan premium for the tax " + "unit's Puente Health members, priced on their own: age-curve " + "premiums, with only the three oldest of their children charged. " + "Puente Health members fail the federal credit's immigration or " + "income test, so slcsp and aca_ptc_slcsp, which price the federal " + "enrollees, leave them out. In a family where some members get the " + "federal credit and others Puente Health, the sources do not say how " + "the benchmark is split; the model prices Puente Health on its own " + "members, and the federal credit and base New Mexico Premium " + "Assistance on theirs." + ) + + def formula(tax_unit, period, parameters): + person = tax_unit.members + year = period.this_year + member = person("is_aca_tax_family_member", year) + enrolled = person("nm_puente_health_member_eligible", year) + return benchmark_premium(tax_unit, period, parameters, member, enrolled) diff --git a/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_eligible.py b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_eligible.py new file mode 100644 index 00000000000..1389795a5fd --- /dev/null +++ b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_eligible.py @@ -0,0 +1,58 @@ +from policyengine_us.model_api import * + + +def nm_puente_health_fpl_ratio(tax_unit, period): + """Household income as an exact share of the federal poverty line. + + `tax_unit` is the TaxUnit population, or `person.tax_unit` from a Person + formula. ACA MAGI (negative income counts as zero) over aca_fpg, divided + in float64 so that a ratio just above a limit cannot round down onto it. + 8.401.2.7(G) NMAC defines the FPL as the HHS level "for the applicable + coverage year for the health insurance exchange", which is the prior-year + guideline aca_fpg holds (45 CFR 155.300(a)), and 8.401.2.11(D)(1)(a) NMAC + measures income as in 45 CFR 155.305(f), the section 36B household income + aca_magi holds. A household with no guideline gets an infinite ratio, as + in aca_magi_fraction. + """ + magi = max_(tax_unit("aca_magi", period), 0).astype(np.float64) + guideline = tax_unit("aca_fpg", period) + has_guideline = guideline > 0 + ratio = magi / where(has_guideline, guideline, 1) + return where(has_guideline, ratio, np.inf) + + +class nm_puente_health_eligible(Variable): + value_type = bool + entity = TaxUnit + label = "Eligible for New Mexico Puente Health" + definition_period = YEAR + defined_for = StateCode.NM + reference = ( + # Addendum 2, Section I.A: eligibility for PY2026. + "https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/3527710a-f9f6-4e8f-9cd7-d9ea1010b653/Addendum%202_%20MAP%20P%26P%20Puente%20Health.pdf#page=2", + # FINAL PY2027 MAP manual, Eligibility for Puente Health Program. + "https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/b61d3073-c0e6-4426-bb40-4cfef26fdca4/FINAL%202027%20MAP%20Policy%20and%20Procedures%20Manual.pdf#page=7", + # 8.401.2.7(G) and 8.401.2.11(C) NMAC. The rule in force is one HTML + # page; HCA's proposed amendment reprints them on PDF pages 1 and 5. + "https://prod-rf-lambda.rtssaas.com/PublicFiles/d89c47bd0d70402dba89b03a22bda6d1/45b8668e-460f-45cd-804f-92ee3d442343/8.401.2.html", + # PDF pages 1, 5 + "https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/d3ee1d62-6f0f-4df7-b7fc-96a4c523ea89/08.401.0002_amended.pdf#page=1", + ) + documentation = ( + "A tax unit qualifies for Puente Health when the program is in " + "effect, at least one member is a Puente Health member " + "(nm_puente_health_member_eligible: a lawfully present non-citizen " + "who lost the federal premium tax credit under Public Law 119-21 " + "Section 71301 or 71302), and household income is at or below the " + "income limit: 100% of the poverty line in PY2026 (Addendum 2) and " + "400% in PY2027 (FINAL PY2027 MAP manual), on the exact ratio of ACA " + "MAGI to aca_fpg. The sources impose no tax filing or reconciliation " + "requirement, so none is applied." + ) + + def formula(tax_unit, period, parameters): + p = parameters(period).gov.states.nm.hca.premium_assistance.puente + has_member = add(tax_unit, period, ["nm_puente_health_member_eligible"]) > 0 + ratio = nm_puente_health_fpl_ratio(tax_unit, period) + income_eligible = ratio <= p.fpl_limit + return p.in_effect & has_member & income_eligible diff --git a/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_member_eligible.py b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_member_eligible.py new file mode 100644 index 00000000000..5a36bae150b --- /dev/null +++ b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_member_eligible.py @@ -0,0 +1,95 @@ +from policyengine_us.model_api import * +from policyengine_us.variables.gov.states.nm.hca.premium_assistance.puente.nm_puente_health_eligible import ( + nm_puente_health_fpl_ratio, +) + + +class nm_puente_health_member_eligible(Variable): + value_type = bool + entity = Person + label = "Member eligible for New Mexico Puente Health" + definition_period = YEAR + defined_for = StateCode.NM + reference = ( + # Addendum 2, Section I.A(1)-(2): a lawfully present non-citizen + # ineligible for the federal PTC under Section 71302 (PY2026). + "https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/3527710a-f9f6-4e8f-9cd7-d9ea1010b653/Addendum%202_%20MAP%20P%26P%20Puente%20Health.pdf#page=2", + # FINAL PY2027 MAP manual, Eligibility for Puente Health Program items + # 1-2: Sections 71301 and 71302 (PY2027). The manual's summary bullet + # on p.2 prints "Section 73101"; its eligibility section and 8.401.2.11 + # NMAC name Sections 71301 and 71302, the sections of Public Law + # 119-21 that limit the credit, so 73101 is a misprint. + "https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/b61d3073-c0e6-4426-bb40-4cfef26fdca4/FINAL%202027%20MAP%20Policy%20and%20Procedures%20Manual.pdf#page=7", + # 8.401.2.7(I) and 8.401.2.11(C)(2) NMAC. The rule in force is one + # HTML page; HCA's proposed amendment reprints them on PDF pages 1 and + # 5. + "https://prod-rf-lambda.rtssaas.com/PublicFiles/d89c47bd0d70402dba89b03a22bda6d1/45b8668e-460f-45cd-804f-92ee3d442343/8.401.2.html", + # PDF pages 1, 5 + "https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/d3ee1d62-6f0f-4df7-b7fc-96a4c523ea89/08.401.0002_amended.pdf#page=1", + # The repealed below-poverty rule for lawfully present immigrants. + "https://www.law.cornell.edu/uscode/text/26/36B#c_1_B", + ) + documentation = ( + "A Puente Health member is a lawfully present non-citizen 'who has " + "become ineligible for the federal Premium Tax Credit due to the " + "enactment of Section 71301 and 71302 of Public Law 119-21' " + "(8.401.2.11(C) NMAC). The model finds these people with the same " + "inputs the federal credit uses for those two sections, so the " + "group is exactly the people the model's federal credit excludes " + "under them. Section 71301 (from 2027): a status that " + "gov.aca.ineligible_immigration_statuses bars from the credit, among " + "the statuses that can buy a qualified health plan (DACA and " + "undocumented status cannot; see the ineligible_immigration_statuses " + "parameter). Section 71302 (from 2026): the people the repealed 26 " + "U.S.C. 36B(c)(1)(B) treated as applicable taxpayers, read as " + "aca_ptc_below_fpl_immigration_exception reads them: household " + "income under the poverty line, a status the credit allows, and " + "Medicaid-ineligible because of that status. The member must " + "otherwise have qualified for the credit: in the tax family, not " + "married filing separately, and without the other coverage that " + "bars the credit (gov.aca.ineligible_coverage, which includes " + "Medicaid). Reading 'due to the enactment' as 'but for' those " + "sections is a modeling choice. The sources name no filing " + "requirement, so none applies." + ) + + def formula(person, period, parameters): + p = parameters(period).gov.states.nm.hca.premium_assistance.puente + p_aca = parameters(period).gov.aca + status = person("immigration_status", period) + non_citizen = status != status.possible_values.CITIZEN + # 8.401.2.7(I) NMAC: a lawfully present individual is a non-citizen + # whose status allows buying a qualified health plan on the exchange. + qhp_status = ~np.isin(status.decode_to_str(), p.ineligible_immigration_statuses) + lawfully_present = non_citizen & qhp_status + credit_status = person("is_aca_ptc_immigration_status_eligible", period) + # Section 71301: lawfully present, but in a status the federal credit + # no longer allows. Nobody qualifies this way before 2027: until then + # the federal list holds only statuses that cannot buy a qualified + # health plan. + section_71301 = lawfully_present & ~credit_status + # Section 71302: the group aca_ptc_below_fpl_immigration_exception + # covers, once the exception is no longer in effect. + exception_repealed = not p_aca.below_fpl_immigration_exception_in_effect + below_fpl = nm_puente_health_fpl_ratio(person.tax_unit, period) < 1 + medicaid_barred = ~person("is_medicaid_immigration_status_eligible", period) + section_71302 = ( + exception_repealed + & below_fpl + & lawfully_present + & credit_status + & medicaid_barred + ) + # The credit's other conditions: membership in the tax family (26 + # U.S.C. 36B(c)(1)(D)), no separate return, and no other coverage + # that bars it (the coverage test of is_aca_marketplace_enrollee). + tax_family_member = person("is_aca_tax_family_member", period) + filing_status = person.tax_unit("filing_status", period) + not_separate = filing_status != filing_status.possible_values.SEPARATE + no_other_coverage = add(person, period, p_aca.ineligible_coverage) == 0 + return ( + (section_71301 | section_71302) + & tax_family_member + & not_separate + & no_other_coverage + ) diff --git a/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_plan_premium.py b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_plan_premium.py new file mode 100644 index 00000000000..6224758f3ac --- /dev/null +++ b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_plan_premium.py @@ -0,0 +1,55 @@ +from policyengine_us.model_api import * + + +class nm_puente_health_plan_premium(Variable): + value_type = float + entity = TaxUnit + label = "New Mexico Puente Health selected plan premium" + unit = USD + definition_period = MONTH + defined_for = StateCode.NM + reference = ( + # Addendum 2: "A consumer's net premium cannot be lower than $0" when + # the assistance exceeds "the gross premium of the plan selected by the + # consumer" (PY2026). + "https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/3527710a-f9f6-4e8f-9cd7-d9ea1010b653/Addendum%202_%20MAP%20P%26P%20Puente%20Health.pdf#page=3", + # FINAL PY2027 MAP manual: the same $0 floor (p.5), applied to Puente + # Health by the manual's Calculating Monthly Puente Health Premium + # Assistance Payments section (p.8). + # PDF pages 5, 8 + "https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/b61d3073-c0e6-4426-bb40-4cfef26fdca4/FINAL%202027%20MAP%20Policy%20and%20Procedures%20Manual.pdf#page=5", + ) + documentation = ( + "The monthly gross premium of the plan the tax unit's Puente Health " + "members select, which caps Puente Health premium assistance at a $0 " + "net premium. It follows the plan selection inputs of " + "monthly_selected_marketplace_plan_premium_proxy, priced for the " + "Puente Health members, whom that variable leaves out: a silver plan " + "is the members' benchmark times " + "selected_marketplace_plan_benchmark_ratio, and a bronze plan is the " + "members' lowest-cost bronze premium. New Mexico rates both metal " + "levels on the same default age curve, so that bronze premium is the " + "members' benchmark times the rating area's bronze-to-silver premium " + "at age 0. Take-up " + "is not applied here; assigned_nm_puente_health_premium_assistance " + "applies it." + ) + + def formula(tax_unit, period, parameters): + year = period.this_year + benchmark = tax_unit("nm_puente_health_benchmark_premium", period) + silver = benchmark * tax_unit("selected_marketplace_plan_benchmark_ratio", year) + silver_age_0 = tax_unit.household("slcsp_age_0", period) + bronze_age_0 = tax_unit.household("lcbp_age_0", period) + bronze_share = np.divide( + bronze_age_0, + silver_age_0, + out=np.zeros_like(silver_age_0), + where=silver_age_0 > 0, + ) + category = tax_unit("selected_marketplace_plan_category", year) + return where( + category == category.possible_values.BRONZE, + benchmark * bronze_share, + silver, + ) diff --git a/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_premium_assistance.py b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_premium_assistance.py new file mode 100644 index 00000000000..95fc59f05de --- /dev/null +++ b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_premium_assistance.py @@ -0,0 +1,71 @@ +from policyengine_us.model_api import * +from policyengine_us.variables.gov.states.nm.hca.premium_assistance.puente.nm_puente_health_eligible import ( + nm_puente_health_fpl_ratio, +) + + +class nm_puente_health_premium_assistance(Variable): + value_type = float + entity = TaxUnit + label = "New Mexico Puente Health premium assistance" + unit = USD + definition_period = YEAR + defined_for = "nm_puente_health_eligible" + reference = ( + # Addendum 2, Premium Assistance Parameters and Calculating Monthly + # Premium Assistance Payments: SLCSP x 1.1 minus a 0% contribution, + # with a $0 net premium floor (PY2026). + "https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/3527710a-f9f6-4e8f-9cd7-d9ea1010b653/Addendum%202_%20MAP%20P%26P%20Puente%20Health.pdf#page=3", + # FINAL PY2027 MAP manual: Table 1 (p.4), the New Mexico Premium + # Assistance formulas and $0 floor (p.5), and the Puente Health + # parameters applying them (pp.7-8). + # PDF pages 4-5, 7-8 + "https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/b61d3073-c0e6-4426-bb40-4cfef26fdca4/FINAL%202027%20MAP%20Policy%20and%20Procedures%20Manual.pdf#page=4", + # 8.401.2.11(D)(1)(a) NMAC: benchmark premium minus the applicable + # percentage of income, with no federal credit term. The rule in force + # is one HTML page; HCA's proposed amendment reprints it on PDF page 5. + "https://prod-rf-lambda.rtssaas.com/PublicFiles/d89c47bd0d70402dba89b03a22bda6d1/45b8668e-460f-45cd-804f-92ee3d442343/8.401.2.html", + "https://api.realfile.rtsclients.com/PublicFiles/6c91aefc960e463485b3474662fd7fd2/d3ee1d62-6f0f-4df7-b7fc-96a4c523ea89/08.401.0002_amended.pdf#page=5", + ) + documentation = ( + "State premium assistance for the tax unit's Puente Health members: " + "their benchmark premium, increased by 10% below the gross-up limit " + "of base New Mexico Premium Assistance, minus the Table 1 share of " + "household income, floored at zero and capped at the premium of the " + "plan they select (the $0 net premium floor). PY2026 covers income " + "under 100% of the poverty line, where Table 1's share is 0% and the " + "10% increase applies, so a member pays nothing for a plan priced up " + "to 110% of the benchmark. PY2027 applies the Table 1 scale up to " + "400% and the increase below 200%. The rule's formula has no federal " + "credit term, since Puente Health members receive none. In a family " + "with both Puente Health members and members who get the federal " + "credit, the model subtracts the Table 1 share of the whole " + "household's income here and again in base New Mexico Premium " + "Assistance; the sources do not say how BeWell divides it." + ) + + def formula(tax_unit, period, parameters): + p = parameters(period).gov.states.nm.hca.premium_assistance + # Addendum 2 increases the benchmark by 10% for every PY2026 enrollee + # (all under 100% of the poverty line); the PY2027 manual applies the + # base program's increase "under 200% (< 200%)". Both follow from the + # base program's gross-up limit and boundary on the exact ratio. + ratio = nm_puente_health_fpl_ratio(tax_unit, period) + limit = p.benchmark_gross_up.fpl_limit + gross_up_applies = where( + p.benchmark_gross_up.boundary_inclusive, + ratio <= limit, + ratio < limit, + ) + gross_up = where(gross_up_applies, 1 + p.benchmark_gross_up.rate, 1) + benchmark = add(tax_unit, period, ["nm_puente_health_benchmark_premium"]) + # Table 1, which Puente Health enrollees "between 0 and <= 400% of the + # FPL follow" (PY2027 manual p.8); its 0% share below 150% is the + # Addendum's 0% contribution under 100% (PY2026). + target_percentage = tax_unit( + "nm_premium_assistance_target_contribution_percentage", period + ) + income = max_(tax_unit("aca_magi", period), 0) + amount = max_(0, benchmark * gross_up - target_percentage * income) + plan_premium = add(tax_unit, period, ["nm_puente_health_plan_premium"]) + return min_(amount, plan_premium) diff --git a/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/takes_up_nm_puente_health_if_eligible.py b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/takes_up_nm_puente_health_if_eligible.py new file mode 100644 index 00000000000..a3583ae4b7f --- /dev/null +++ b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/takes_up_nm_puente_health_if_eligible.py @@ -0,0 +1,18 @@ +from policyengine_us.model_api import * + + +class takes_up_nm_puente_health_if_eligible(Variable): + value_type = bool + entity = TaxUnit + label = "Whether an eligible tax unit takes up New Mexico Puente Health" + definition_period = YEAR + defined_for = StateCode.NM + documentation = ( + "Puente Health pays only for plans bought on BeWell, so by default an " + "eligible tax unit takes it up when it takes up Marketplace coverage " + "(takes_up_aca_if_eligible). Take-up is assigned during microdata " + "construction; a supplied value overrides this default." + ) + + def formula(tax_unit, period, parameters): + return tax_unit("takes_up_aca_if_eligible", period) diff --git a/policyengine_us/variables/household/healthcare_benefit_value.py b/policyengine_us/variables/household/healthcare_benefit_value.py index 0f68d98f3e9..07f39b33411 100644 --- a/policyengine_us/variables/household/healthcare_benefit_value.py +++ b/policyengine_us/variables/household/healthcare_benefit_value.py @@ -27,6 +27,7 @@ class healthcare_benefit_value(Variable): "md_premium_assistance", "nj_njhps", "assigned_nm_premium_assistance", + "assigned_nm_puente_health_premium_assistance", "or_healthier_oregon_cost", "vt_premium_assistance", "wa_cascade_care_savings", From 13f56d4951caee476885cebb7903f6f13ae8f38f Mon Sep 17 00:00:00 2001 From: David Trimmer <178813244+DTrim99@users.noreply.github.com> Date: Fri, 20 Nov 2026 11:19:12 -0500 Subject: [PATCH 2/2] Fix issues from review: keep PTC-eligible members out of Puente Health, charge mixed-status households one share, share the NM ratio - Puente member eligibility now excludes people eligible for the federal premium tax credit. - Puente premium assistance subtracts only the part of the expected share that base NM premium assistance leaves, so mixed-status households pay one share in total. - New TaxUnit variable nm_premium_assistance_fpl_ratio replaces the duplicated FPL-ratio helper at all three sites, with its own tests. Co-Authored-By: Claude Opus 5.5 --- .../nm_premium_assistance_fpl_ratio.yaml | 62 +++++++++++++++++++ .../puente/integration.yaml | 44 +++++++++++++ .../nm_puente_health_member_eligible.yaml | 26 ++++++++ .../nm_puente_health_premium_assistance.yaml | 53 ++++++++++++++++ .../nm_premium_assistance_fpl_ratio.py | 40 ++++++++++++ .../puente/nm_puente_health_eligible.py | 27 ++------ .../nm_puente_health_member_eligible.py | 21 ++++--- .../nm_puente_health_premium_assistance.py | 38 +++++++++--- 8 files changed, 271 insertions(+), 40 deletions(-) create mode 100644 policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/nm_premium_assistance_fpl_ratio.yaml create mode 100644 policyengine_us/variables/gov/states/nm/hca/premium_assistance/nm_premium_assistance_fpl_ratio.py diff --git a/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/nm_premium_assistance_fpl_ratio.yaml b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/nm_premium_assistance_fpl_ratio.yaml new file mode 100644 index 00000000000..53a9d45184b --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/nm_premium_assistance_fpl_ratio.yaml @@ -0,0 +1,62 @@ +# The exact ratio of ACA MAGI (negative income counted as zero) to aca_fpg, +# not truncated to whole percentage points as aca_magi_fraction is. + +- name: Case 1, 2027 income at 400.5% of the poverty line keeps its decimals. + # 63,920 / 15,960 = 4.00501. aca_magi_fraction truncates it to 4.00. + period: 2027 + absolute_error_margin: 0.001 + input: + people: + person1: + age: 40 + tax_units: + tax_unit: + members: [person1] + aca_magi: 63_920 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + aca_magi_fraction: 4.00 + nm_premium_assistance_fpl_ratio: 4.005 + +- name: Case 2, 2027 negative income counts as zero. + period: 2027 + absolute_error_margin: 0.001 + input: + people: + person1: + age: 40 + tax_units: + tax_unit: + members: [person1] + aca_magi: -10_000 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + nm_premium_assistance_fpl_ratio: 0 + +- name: Case 3, 2027 a zero poverty line gives no finite ratio, so no income limit is met. + # The guard returns an infinite ratio instead of 0 / 0. + period: 2027 + input: + people: + person1: + age: 40 + nm_puente_health_member_eligible: true + tax_units: + tax_unit: + members: [person1] + aca_magi: 0 + aca_fpg: 0 + households: + household: + members: [person1] + state_code: NM + output: + nm_puente_health_eligible: false diff --git a/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/integration.yaml b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/integration.yaml index a489b27070c..6af9a1076c5 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/integration.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/integration.yaml @@ -74,3 +74,47 @@ nm_puente_health_benchmark_premium: 6_294.8208 nm_puente_health_premium_assistance: 6_294.8208 healthcare_benefit_value: 6_294.8208 + +- name: Scenario 3, 2027 LPR and TPS couple in Bernalillo County at 390% FPL pays one Table 1 share. + # aca_fpg is the 2026 two-person guideline, 21,640; 84,396 / 21,640 = 3.90. + # Table 1 share 5% + 0.9 * 3.5% = 8.15%: 0.0815 * 84,396 = 6,878.274. Each + # spouse's benchmark is 384.00 * 1.6706 * 12 = 7,698.1248; the federal + # benchmark is the LPR head's alone. The federal credit's 10.22% required + # contribution (8,625.27) exceeds it, so aca_ptc is 0, and base New Mexico + # Premium Assistance is 7,698.1248 - 0 - 6,878.274 = 819.8508, which takes + # the whole share. Puente Health then pays the TPS spouse's whole benchmark, + # 7,698.1248, the plan premium. Health benefits 819.8508 + 7,698.1248 = + # 8,517.9756, so the couple pays 2 * 7,698.1248 - 8,517.9756 = 6,878.274, + # 8.15% of income once rather than twice. + period: 2027 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + employment_income: 84_396 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 6 + person2: + age: 40 + immigration_status: TPS + tax_units: + tax_unit: + members: [person1, person2] + filing_status: JOINT + households: + household: + members: [person1, person2] + state_code: NM + county_str: BERNALILLO_COUNTY_NM + output: + aca_magi: 84_396 + aca_fpg: 21_640 + nm_premium_assistance_target_contribution_percentage: 0.0815 + aca_ptc_slcsp: 7_698.1248 + aca_ptc: 0 + nm_premium_assistance: 819.8508 + nm_puente_health_member_eligible: [false, true] + nm_puente_health_benchmark_premium: 7_698.1248 + nm_puente_health_premium_assistance: 7_698.1248 + healthcare_benefit_value: 8_517.9756 diff --git a/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_member_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_member_eligible.yaml index 07f5e7692bd..4822365ac11 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_member_eligible.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_member_eligible.yaml @@ -503,3 +503,29 @@ state_code: NM output: nm_puente_health_member_eligible: [false, true] + +- name: Case 16, 2027 TPS holder the model counts as federally credit-eligible is not a member. + # 39,900 / 15,960 = 2.50. Supplying pays_aca_premium makes the person + # eligible for the federal credit despite the TPS status, so Puente Health, + # which replaces a lost credit, does not also apply. + period: 2027 + input: + people: + person1: + age: 40 + immigration_status: TPS + pays_aca_premium: true + tax_units: + tax_unit: + members: [person1] + aca_magi: 39_900 + aca_fpg: 15_960 + households: + household: + members: [person1] + state_code: NM + output: + is_aca_ptc_immigration_status_eligible: false + is_aca_ptc_eligible: true + nm_puente_health_member_eligible: false + nm_puente_health_eligible: false diff --git a/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_premium_assistance.yaml b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_premium_assistance.yaml index bd6079d656b..a0d185c8354 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_premium_assistance.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_premium_assistance.yaml @@ -330,6 +330,11 @@ - name: Case 14, 2027 joint return of an LPR and a TPS holder prices Puente Health on the TPS spouse. # 54,100 / 21,640 = 2.50: Table 1 share 2%. Benchmark 9,000 for the TPS # spouse alone. 9,000 - 0.02 * 54,100 = 9,000 - 1,082 = 7,918. + # Puente Health subtracts the whole share because base New Mexico Premium + # Assistance takes none of it here: with aca_magi supplied and no wages, + # the head's Medicaid income is 0, so the 2027 Medicaid work requirement + # (gov.aca.ineligible_coverage) keeps him from the federal credit. Case 19 + # has a federally eligible head. period: 2027 absolute_error_margin: 0.01 input: @@ -358,6 +363,7 @@ members: [head, spouse] state_code: NM output: + nm_premium_assistance_eligible: false nm_puente_health_benchmark_premium: 9_000 nm_puente_health_premium_assistance: 7_918 @@ -451,3 +457,50 @@ state_code: NM output: nm_puente_health_premium_assistance: 0 + +- name: Case 19, 2027 mixed couple at 390% FPL whose federal remainder covers part of the share. + # The head's wages make him a filer with no Medicaid, so he is federally + # eligible. 84,396 / 21,640 = 3.90. Table 1 share 5% + 0.9 * 3.5% = 8.15%: + # 0.0815 * 84,396 = 6,878.274. The LPR head's 3,000 federal benchmark is + # under the 10.22% required contribution (8,625.27), so the federal credit + # is 0 and base New Mexico Premium Assistance is max(0, 3,000 - 0 - + # 6,878.274) = 0: the federal side covers 3,000 of the share. Puente Health + # subtracts the rest: 9,000 - (6,878.274 - 3,000) = 9,000 - 3,878.274 = + # 5,121.726, under the 9,000 plan. The household pays 12,000 - 5,121.726 = + # 6,878.274, the 8.15% share once. + period: 2027 + absolute_error_margin: 0.01 + input: + people: + head: + age: 40 + immigration_status: LEGAL_PERMANENT_RESIDENT + years_since_us_entry: 6 + employment_income: 84_396 + is_tax_unit_head: true + is_tax_unit_spouse: false + spouse: + age: 40 + immigration_status: TPS + is_tax_unit_head: false + is_tax_unit_spouse: true + tax_units: + tax_unit: + members: [head, spouse] + filing_status: JOINT + aca_magi: 84_396 + aca_fpg: 21_640 + aca_ptc_slcsp: 3_000 + nm_puente_health_benchmark_premium: 9_000 + households: + household: + members: [head, spouse] + state_code: NM + output: + nm_premium_assistance_target_contribution_percentage: 0.0815 + aca_ptc: 0 + nm_premium_assistance_eligible: true + nm_premium_assistance: 0 + nm_puente_health_eligible: true + nm_puente_health_plan_premium: 9_000 + nm_puente_health_premium_assistance: 5_121.726 diff --git a/policyengine_us/variables/gov/states/nm/hca/premium_assistance/nm_premium_assistance_fpl_ratio.py b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/nm_premium_assistance_fpl_ratio.py new file mode 100644 index 00000000000..e5a9df62071 --- /dev/null +++ b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/nm_premium_assistance_fpl_ratio.py @@ -0,0 +1,40 @@ +from policyengine_us.model_api import * + + +class nm_premium_assistance_fpl_ratio(Variable): + value_type = float + entity = TaxUnit + label = "New Mexico Premium Assistance income as a share of the poverty line" + unit = "/1" + definition_period = YEAR + defined_for = StateCode.NM + reference = ( + # 8.401.2.7(G) NMAC defines the FPL, and 8.401.2.11(D)(1)(a) NMAC + # measures income as in 45 CFR 155.305(f). + "https://prod-rf-lambda.rtssaas.com/PublicFiles/d89c47bd0d70402dba89b03a22bda6d1/45b8668e-460f-45cd-804f-92ee3d442343/8.401.2.html", + # 45 CFR 155.300(a): the Exchange's FPL. + "https://www.govinfo.gov/content/pkg/CFR-2025-title45-vol2/pdf/CFR-2025-title45-vol2-sec155-300.pdf#page=2", + ) + documentation = ( + "Household income as an exact share of the federal poverty line, the " + "one New Mexico ratio the premium assistance income limits read: ACA " + "MAGI, with negative income counted as zero, over aca_fpg. Unlike " + "aca_magi_fraction it is not truncated to whole percentage points. " + "8.401.2.7(G) NMAC defines the FPL as the HHS level 'for the " + "applicable coverage year for the health insurance exchange', which " + "is the prior-year guideline aca_fpg holds (45 CFR 155.300(a)), and " + "8.401.2.11(D)(1)(a) NMAC measures income as in 45 CFR 155.305(f), " + "the section 36B household income aca_magi holds. A tax unit with no " + "guideline gets an infinite ratio, as in aca_magi_fraction. The " + "quotient is taken in float64 and stored in float32; for the 100%, " + "200% and 400% limits, which are powers of two, that rounding cannot " + "move a ratio of the stored income and guideline onto or across a " + "limit." + ) + + def formula(tax_unit, period, parameters): + magi = max_(tax_unit("aca_magi", period), 0).astype(np.float64) + guideline = tax_unit("aca_fpg", period) + has_guideline = guideline > 0 + ratio = magi / where(has_guideline, guideline, 1) + return where(has_guideline, ratio, np.inf) diff --git a/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_eligible.py b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_eligible.py index 1389795a5fd..2e0ec615fd0 100644 --- a/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_eligible.py +++ b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_eligible.py @@ -1,26 +1,6 @@ from policyengine_us.model_api import * -def nm_puente_health_fpl_ratio(tax_unit, period): - """Household income as an exact share of the federal poverty line. - - `tax_unit` is the TaxUnit population, or `person.tax_unit` from a Person - formula. ACA MAGI (negative income counts as zero) over aca_fpg, divided - in float64 so that a ratio just above a limit cannot round down onto it. - 8.401.2.7(G) NMAC defines the FPL as the HHS level "for the applicable - coverage year for the health insurance exchange", which is the prior-year - guideline aca_fpg holds (45 CFR 155.300(a)), and 8.401.2.11(D)(1)(a) NMAC - measures income as in 45 CFR 155.305(f), the section 36B household income - aca_magi holds. A household with no guideline gets an infinite ratio, as - in aca_magi_fraction. - """ - magi = max_(tax_unit("aca_magi", period), 0).astype(np.float64) - guideline = tax_unit("aca_fpg", period) - has_guideline = guideline > 0 - ratio = magi / where(has_guideline, guideline, 1) - return where(has_guideline, ratio, np.inf) - - class nm_puente_health_eligible(Variable): value_type = bool entity = TaxUnit @@ -45,14 +25,15 @@ class nm_puente_health_eligible(Variable): "who lost the federal premium tax credit under Public Law 119-21 " "Section 71301 or 71302), and household income is at or below the " "income limit: 100% of the poverty line in PY2026 (Addendum 2) and " - "400% in PY2027 (FINAL PY2027 MAP manual), on the exact ratio of ACA " - "MAGI to aca_fpg. The sources impose no tax filing or reconciliation " + "400% in PY2027 (FINAL PY2027 MAP manual), on " + "nm_premium_assistance_fpl_ratio, the exact ratio of ACA MAGI to " + "aca_fpg. The sources impose no tax filing or reconciliation " "requirement, so none is applied." ) def formula(tax_unit, period, parameters): p = parameters(period).gov.states.nm.hca.premium_assistance.puente has_member = add(tax_unit, period, ["nm_puente_health_member_eligible"]) > 0 - ratio = nm_puente_health_fpl_ratio(tax_unit, period) + ratio = tax_unit("nm_premium_assistance_fpl_ratio", period) income_eligible = ratio <= p.fpl_limit return p.in_effect & has_member & income_eligible diff --git a/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_member_eligible.py b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_member_eligible.py index 5a36bae150b..28da78d4efc 100644 --- a/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_member_eligible.py +++ b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_member_eligible.py @@ -1,7 +1,4 @@ from policyengine_us.model_api import * -from policyengine_us.variables.gov.states.nm.hca.premium_assistance.puente.nm_puente_health_eligible import ( - nm_puente_health_fpl_ratio, -) class nm_puente_health_member_eligible(Variable): @@ -48,9 +45,13 @@ class nm_puente_health_member_eligible(Variable): "otherwise have qualified for the credit: in the tax family, not " "married filing separately, and without the other coverage that " "bars the credit (gov.aca.ineligible_coverage, which includes " - "Medicaid). Reading 'due to the enactment' as 'but for' those " - "sections is a modeling choice. The sources name no filing " - "requirement, so none applies." + "Medicaid). Last, the member must not be eligible for the federal " + "credit (is_aca_ptc_eligible): Puente Health replaces a credit the " + "person lost, so a person the model counts as credit-eligible, for " + "example because Marketplace enrollment is supplied through " + "pays_aca_premium, is not a member. Reading 'due to the " + "enactment' as 'but for' those sections is a modeling choice. The " + "sources name no filing requirement, so none applies." ) def formula(person, period, parameters): @@ -71,7 +72,7 @@ def formula(person, period, parameters): # Section 71302: the group aca_ptc_below_fpl_immigration_exception # covers, once the exception is no longer in effect. exception_repealed = not p_aca.below_fpl_immigration_exception_in_effect - below_fpl = nm_puente_health_fpl_ratio(person.tax_unit, period) < 1 + below_fpl = person.tax_unit("nm_premium_assistance_fpl_ratio", period) < 1 medicaid_barred = ~person("is_medicaid_immigration_status_eligible", period) section_71302 = ( exception_repealed @@ -87,9 +88,15 @@ def formula(person, period, parameters): filing_status = person.tax_unit("filing_status", period) not_separate = filing_status != filing_status.possible_values.SEPARATE no_other_coverage = add(person, period, p_aca.ineligible_coverage) == 0 + # 8.401.2.11(C)(2) NMAC: the member "has become ineligible for the + # federal Premium Tax Credit". The paths above find that group from + # the credit's inputs; this keeps out anyone the model still counts + # as credit-eligible, such as when pays_aca_premium is supplied. + federal_credit_eligible = person("is_aca_ptc_eligible", period) return ( (section_71301 | section_71302) & tax_family_member & not_separate & no_other_coverage + & ~federal_credit_eligible ) diff --git a/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_premium_assistance.py b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_premium_assistance.py index 95fc59f05de..d96933c796b 100644 --- a/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_premium_assistance.py +++ b/policyengine_us/variables/gov/states/nm/hca/premium_assistance/puente/nm_puente_health_premium_assistance.py @@ -1,7 +1,4 @@ from policyengine_us.model_api import * -from policyengine_us.variables.gov.states.nm.hca.premium_assistance.puente.nm_puente_health_eligible import ( - nm_puente_health_fpl_ratio, -) class nm_puente_health_premium_assistance(Variable): @@ -37,11 +34,16 @@ class nm_puente_health_premium_assistance(Variable): "10% increase applies, so a member pays nothing for a plan priced up " "to 110% of the benchmark. PY2027 applies the Table 1 scale up to " "400% and the increase below 200%. The rule's formula has no federal " - "credit term, since Puente Health members receive none. In a family " - "with both Puente Health members and members who get the federal " - "credit, the model subtracts the Table 1 share of the whole " - "household's income here and again in base New Mexico Premium " - "Assistance; the sources do not say how BeWell divides it." + "credit term, since Puente Health members receive none. The " + "household pays one Table 1 share of its income: the PY2027 manual " + "(p.4) describes Table 1 as 'capping the SLCSP cost as a percentage " + "of household income'. In a family with both Puente Health members " + "and members who get the federal credit, base New Mexico Premium " + "Assistance subtracts that share from what the federal credit leaves " + "of its members' benchmark, and Puente Health subtracts only the " + "part of the share that remainder cannot cover, so the two programs " + "together charge the share once. The sources do not say how BeWell " + "divides the share between the programs." ) def formula(tax_unit, period, parameters): @@ -50,7 +52,9 @@ def formula(tax_unit, period, parameters): # (all under 100% of the poverty line); the PY2027 manual applies the # base program's increase "under 200% (< 200%)". Both follow from the # base program's gross-up limit and boundary on the exact ratio. - ratio = nm_puente_health_fpl_ratio(tax_unit, period) + # NOTE: nm_premium_assistance applies the same gross-up to the federal + # members' benchmark; the two blocks should change together. + ratio = tax_unit("nm_premium_assistance_fpl_ratio", period) limit = p.benchmark_gross_up.fpl_limit gross_up_applies = where( p.benchmark_gross_up.boundary_inclusive, @@ -66,6 +70,20 @@ def formula(tax_unit, period, parameters): "nm_premium_assistance_target_contribution_percentage", period ) income = max_(tax_unit("aca_magi", period), 0) - amount = max_(0, benchmark * gross_up - target_percentage * income) + contribution = target_percentage * income + # One household contribution (PY2027 manual p.4). Base New Mexico + # Premium Assistance subtracts the whole share from the federal + # members' grossed-up benchmark net of the federal credit; Puente + # Health subtracts only what that remainder cannot absorb. + federal_benchmark = add(tax_unit, period, ["aca_ptc_slcsp"]) + aca_ptc = tax_unit("aca_ptc", period) + federal_remainder = max_(0, federal_benchmark * gross_up - aca_ptc) + base_eligible = tax_unit("nm_premium_assistance_eligible", period) + remaining_contribution = where( + base_eligible, + max_(0, contribution - federal_remainder), + contribution, + ) + amount = max_(0, benchmark * gross_up - remaining_contribution) plan_premium = add(tax_unit, period, ["nm_puente_health_plan_premium"]) return min_(amount, plan_premium)