Repository navigation
Name the Basic Health Program and fix the explanations' wording - #45
Conversation
Max's post-merge review of #37: in Minnesota, New York, Oregon and DC the cards show a Marketplace premium to adults their Basic Health Program covers. Until the API reports that coverage, the results name each state's program, its income limit as policyengine-us 2.138.2 models it, and a link to it. - The work requirement explanation says it applies to the expansion group (Pavel's suggestion 4) and that the estimate assumes no exemption (Max's wording). - The three explanations without a year now name it, so they don't read as describing a 2026 card that shows a credit. - #37's changelog fragment no longer credits an Idaho fix to the AI explanation it removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…note From Max's review of #46: - The smoke-test steps pass --no-config, so uv skips .python-version's 3.11, which it won't download under only-system on a runner that lacks it. - A cent below 400% FPL keeps the credit where the model's float32 income reads it as exactly at the limit. - Answers without basic_health_program (a stale cache or a rolled-back API) keep #45's note in states with a Basic Health Program. - #45's changelog fragment drops the sentence #46 makes untrue. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PavelMakarchuk
left a comment
There was a problem hiding this comment.
Review at 4bdb4d1
The PR adds a Basic Health Program note for DC, Minnesota, New York and Oregon, and it fixes the wording items from the post-merge review of #37. The four states, the program names and the 200% FPL limits are correct, and DC does run a federally approved BHP. Two sentences in the note are not correct: one is wrong on the chart tabs, and one is wrong for New York after June 30, 2026.
Verdict: REQUEST_CHANGES
Should address
- The note says the results show a Marketplace price, but the charts show $0 at those incomes.
src/components/CalculatorResults.jsx:102-103says "at those incomes they show what a Marketplace plan would cost". The note renders above all three tabs (:348). On the "What you'd pay" tab,PremiumChart.jsx:96plotsslcsp_by_income − ptc_baseline. The API returnsslcsp_by_income = 0for a BHP-eligible adult, so the chart plots $0 a month.- Failure case: a single adult, age 40, Hennepin County, MN, 2027. At $25,000 and $30,000 (156% and 187% FPL), the API returns a benchmark of $0 and a credit of $0, so the chart shows $0/month. At $35,000 (219% FPL) it shows a benchmark of $527 and a payment of $308. Oregon (Multnomah), DC and New York (New York County) give the same result. In New York in 2026 the chart shows $0 up to $38,000 (243% FPL).
- Expected: the sentence is true on every tab where it shows. Actual: it is true only on the "Your household" cards, which price a plan through
full_premium. - Fix: show the sentence only on the "Your household" tab. Or change it, for example: "These results don't include MinnesotaCare yet. At those incomes the 'Your household' cards show what a Marketplace plan would cost, and the charts show $0."
- New York's 250% FPL limit stopped on July 1, 2026.
src/components/CalculatorResults.jsx:84says "200% FPL, or 250% FPL in 2026". CMS approved the termination of New York's section 1332 waiver effective July 1, 2026. From that date, adults from 200% to 250% FPL lost the Essential Plan and moved to Marketplace plans. policyengine-us keeps 250% for all of 2026 only because its eligibility variable is annual (expanded_income_limit_states.yamlsays this). The note states it as a fact about the program, so a reader at 230% FPL reads that they can't enroll in a Marketplace plan in 2026. That is wrong for July to December 2026. The changelog fragment has the same text.- Fix: "200% FPL (250% FPL until June 30, 2026)". If you want the note to match the cards, add that the 2026 results use 250% for the full year.
Suggestions
- The explanation below the note still gives the wrong reason in BHP states.
src/components/CalculatorResults.jsx:253-254now reads "In 2027, at 187% FPL, the benchmark plan costs less than the share of income current law asks your household to pay, so it receives no credit." For the Hennepin adult at $30,000, the benchmark is $527 a month, which is more than that share. The adult gets no credit because MinnesotaCare covers them. The note above it gives the correct reason, so the two texts contradict each other. #46 removes this case. If #45 ships alone for some time, you can skip this sentence whenBASIC_HEALTH_PROGRAMS[state]is set and the income is at or below the limit. - The note says "adults aged 19 to 64 with incomes above Medicaid's limit". The program also covers lawfully present adults below 138% FPL whom Medicaid excludes by immigration status (42 U.S.C. 18051(e)(1)(B)(ii)). The model has this case. This detail is optional for a short note.
What I checked
- Max's items that the PR claims to fix.
- Basic Health Program note: added for DC, MN, NY and OR, the four states in
gov.hhs.basic_health_program.eligibility.active_statesfor 2026. See Should address 1 and 2. - Work requirement: the text now says "most adults in the expansion group, aged 19 to 64" (suggestion 4 on #37). It adds "The {year} estimate assumes no qualifying activity beyond these earnings and no exemption." This is Max's point, reworded so that it also reads correctly for a spouse. Fixed.
- Years: the three explanations that Max linked now name the year: "At this income in {year}" (
:170), "In {year}, at {fpl}% FPL" (:219and:253). The other two branches already named it. Fixed. - Changelog:
aca-2027-overview.fixed.mdno longer gives the Idaho fix to the removed AI explanation. Fixed. The new fragmentchangelog.d/bhp-note-wording.fixed.mdis at the top level with a valid type. - The PR does not claim the other items (the card wording, the chart in the Texas example, $0 earnings, FPL rounding, float32, the build check). #46 covers them.
- Basic Health Program note: added for DC, MN, NY and OR, the four states in
- Limits against the sources.
- Minnesota, MinnesotaCare: 200% FPL. Correct.
- Oregon, OHP Bridge: 138% to 200% FPL, ages 19 to 64. Correct.
- DC, Healthy DC Plan: the HBX overview of October 2025 says CMS approved DC's BHP under ACA section 1331 in September 2025. It covers residents under 65 from over 138% FPL to 200% FPL, from January 1, 2026. DC's adult Medicaid limit dropped to 138% FPL on that date. So DC does run a BHP, and 200% is correct.
- New York, Essential Plan: 250% FPL under the 1332 waiver from April 2024 to June 30, 2026, then 200% FPL under section 1331 (CMS termination approval letter; NY DOH press release of March 23, 2026). See Should address 2.
- The note agrees with policyengine-us 2.138.2's parameters (income floor 133% plus the 5% disregard, limit 200%, NY 250% in 2025 and 2026, ages 19 to 64).
- API values. I ran the PR's
/api/calculatecode on policyengine-us 2.138.2 for a single adult, age 40, in each of the four states, for 2026 and 2027. All four states return a benchmark of $0 and a credit of $0 from 138% to 200% FPL (NY 2026: to 250%). This is the source of Should address 1. - Links. The MinnesotaCare page and the DC PDF return HTTP 200. The NY State of Health and Oregon pages refuse automated requests (403 and 401). These are the pages the model's parameters cite.
- Build and tests.
bun run buildpasses: the data check passes (policyengine-us 2.138.2, 2027, 4 examples), and Next.js 16.2.6 compiles. The repo has no JS tests or lint script. The PR changes no Python, so I did not run pytest again. - CI and merge state. Vercel passed (Nov 24, 2026, 1:48pm EST). GitHub reports the PR as mergeable and clean against main. Open PR #41 also changes
CalculatorResults.jsxandaca-2027-overview.fixed.md, but it already conflicts with main, so this PR does not cause new work there. #46 is stacked on this PR and removes the note.
From Pavel's review of #45: - The note says the "Your household" cards show a Marketplace plan's cost and the charts show $0, since the note shows on every tab. - New York's 250% FPL limit ended on June 30, 2026, when its section 1332 waiver did. - Where a state with a Basic Health Program has no plan priced above 100% FPL, the explanation names the program as the reason for no credit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The explanation named the state's Basic Health Program whenever the model priced no plan above 100% FPL. The model also prices no plan for members aged 65 or older, whom Medicare rules out of the credit, so a 66-year-old in Minnesota at 313% FPL read that MinnesotaCare would cover them. Those members now read that Medicare rules out the credit, in every state. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
I pushed a9bd288 to finish this PR while David is out. b784359 fixed both items from my review. It also added the explanation branch that names the Basic Health Program when the model prices no plan above 100% FPL. The model also prices no plan for members aged 65 or older, because Medicare rules out the credit. So a single adult aged 66 in Hennepin County, MN, at $50,000 in 2027 read "MinnesotaCare would cover you". a9bd288 changes two things in
The changelog fragment has one more sentence for this. |
PavelMakarchuk
left a comment
There was a problem hiding this comment.
Review at a9bd288
Verdict: APPROVE
b784359 fixed both Should address items from my review: the note now says only the "Your household" cards show a Marketplace price and the charts show $0, and New York's limit reads "200% FPL (250% FPL until June 30, 2026)". a9bd288 (see the comment above) limits the program explanation to members aged 19 to 64 and tells members aged 65 or older that Medicare rules out the credit. bun run build passes, with the data check, and Vercel passes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…smaller items (#46) * Name the Basic Health Program and fix the explanations' wording Max's post-merge review of #37: in Minnesota, New York, Oregon and DC the cards show a Marketplace premium to adults their Basic Health Program covers. Until the API reports that coverage, the results name each state's program, its income limit as policyengine-us 2.138.2 models it, and a link to it. - The work requirement explanation says it applies to the expansion group (Pavel's suggestion 4) and that the estimate assumes no exemption (Max's wording). - The three explanations without a year now name it, so they don't read as describing a 2026 card that shows a credit. - #37's changelog fragment no longer credits an Idaho fix to the AI explanation it removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Show Basic Health Program coverage on the cards and fix the review's smaller items Max's post-merge review of #37. policyengine-us 2.138.2 models the Basic Health Program (is_basic_health_program_eligible) and already gives its enrollees no credit, but the API didn't report it, so the cards priced a Marketplace plan those adults can't buy (42 U.S.C. 18051(e)). API: - PersonCoverage gains basic_health_program; full_premium prices only members no program covers. - The 400% FPL check and the reported magi use the earnings as asked: float32 read $0.01 over the limit as exactly at it. - ANSWER_VERSION 3, so the caches drop the old answers. Page: - Cards and explanations name the program ("MinnesotaCare", "Covers you"; Max's wording), with a link; #45's interim note goes. - $0 of earnings gets cards. - The payment chart breaks where the model prices no plan; its credit is the rounded premium less the rounded payment, as on the cards; its % FPL rounds down as the cards' does (fpl.js). Also: check_data compares each example's benchmark and credit, not only the payment, and requires every Overview household; Pavel's suggestions 1, 3 and 5 (policyengine-us and core locked at the image's versions on Python 3.11, a Methodology note on the $1 rounding differences, the exploratory test marked xfail). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix the deploy's smoke tests, a cent below 400% FPL and the fallback note From Max's review of #46: - The smoke-test steps pass --no-config, so uv skips .python-version's 3.11, which it won't download under only-system on a runner that lacks it. - A cent below 400% FPL keeps the credit where the model's float32 income reads it as exactly at the limit. - Answers without basic_health_program (a stale cache or a rolled-back API) keep #45's note in states with a Basic Health Program. - #45's changelog fragment drops the sentence #46 makes untrue. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Correct the note's charts sentence and New York's limit From Pavel's review of #45: - The note says the "Your household" cards show a Marketplace plan's cost and the charts show $0, since the note shows on every tab. - New York's 250% FPL limit ended on June 30, 2026, when its section 1332 waiver did. - Where a state with a Basic Health Program has no plan priced above 100% FPL, the explanation names the program as the reason for no credit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Say New York's 2026 card applies the Essential Plan's 250% limit all year New York's Essential Plan limit fell from 250% to 200% FPL on July 1, 2026, when its section 1332 waiver ended, but the model's eligibility is annual. Where the 2026 card has the program and the 2027 card none, the explanation says so and that from July those members could enroll in a Marketplace plan. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Name the Basic Health Program only for members aged 19 to 64 The explanation named the state's Basic Health Program whenever the model priced no plan above 100% FPL. The model also prices no plan for members aged 65 or older, whom Medicare rules out of the credit, so a 66-year-old in Minnesota at 313% FPL read that MinnesotaCare would cover them. Those members now read that Medicare rules out the credit, in every state. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: David Trimmer <178813244+DTrim99@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: PavelMakarchuk <pavel.ma99@gmail.com>
Since Pavel's review (b784359):
expanded_income_limit_states.yamlgives the same date (CMS approved ending the section 1332 waiver from July 1, 2026), and keeps 250% for all of 2026 only because the variable is annual.Why
Max's review of #37 after the merge (details) found that in Minnesota, New York, Oregon and DC, the "Your household" cards show a Marketplace premium to adults their state's Basic Health Program covers. Those adults can't enroll in a Marketplace plan up to the program's income limit (42 U.S.C. 18051(e)). He asked for a note pointing people to the program until the cards are fixed.
This PR is that note, plus the review's wording items. It changes only the frontend, so it needs no API deploy. A second PR will report Basic Health Program coverage from the API and fix the cards.
What
gov.hhs.basic_health_program). DC's October 2025 overview gives the same range: over 138% FPL to 200%, under age 65.aca-2027-overview.fixed.mdno longer credits an Idaho fix to the AI explanation, which Update the calculator for 2027: compare 2026 and 2027 current law with H.R. 1834 in the API, calculator and Overview #37 removed. The calculator's text gets Idaho frommedicaidExpansion.js, and the fragment's later sentence already covers that.changelog.d/bhp-note-wording.fixed.md.Checks
bun run buildpasses. In Chrome at b784359, against the production API (X-ACA-API-Commit012dac4), with households opened by link on the "Your household" tab:The console shows no errors.
🤖 Generated with Claude Code