Repository navigation
Fix Louisiana school readiness credit across tax units - #10822
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis
marked this pull request as ready for review
November 15, 2026 15:50
Contributor
Author
|
US + core hub merge audit, us#10822 at
🤖 Generated with Claude Code |
This was referenced Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #10788
Fix Louisiana's school readiness credit when simulations contain several tax units. Project each tax unit's child care credit to its members before applying each eligible child's facility rate and summing within that tax unit.
Parents calculate each child's credit separately using facility rates under R.S. 47:6104(A)–(B). Louisiana's Department of Revenue directs taxpayers to multiply the whole child care credit by the sum of eligible children's multipliers in its 2024 IT-540 instructions, pages 29 and 31.
Bound explicit DC income levels to 1–10 and Illinois brackets to 1–4 before indexing their benefit matrices. Main already floors these keys through #10730. This change retains that floor and #10742's DC cooling-only payments, and adds upper bounds for explicit overrides.
Invariants
Methodology choices
Louisiana's school readiness credit enters neither
la_refundable_creditsnorla_non_refundable_creditson main. This PR preserves those lists; #4503 covers the broader credit implementation.Microsimulation impact
We estimate that this branch changes none of the outputs below in 2026 on the default dataset. On
main, we estimate $0 for each of the five LIHEAP outputs on that dataset. Where a user sets a DC income level above 10 or an Illinois income bracket above 4,mainraises an error and the branch pays the level 10 or bracket 4 amount. The default dataset carries neither input, so the new bounds move no record. We leave out Louisiana's school readiness credit, since its formula onmainraises an error on this dataset. The formula fails when one simulation holds a Louisiana tax unit, a second tax unit and more people than tax units. The credit enters no Louisiana tax total, so state income tax and household net income stay the same. We comparedmainata29c73d587with this branch at5b603ecd77.dc_liheap_paymentil_liheap_base_paymentil_liheap_regular_heatingil_liheapliheapstate_income_taxincome_taxhousehold_benefitshousehold_net_incomeValidation
Pull request run 43914619222 at
5b603ecd77passed all 37 jobs on GitHub's merge with main8e1837790b.Local checks on macOS with Python 3.13.9 and Core 3.33.2:
dc_liheap_payment.yaml: 39 passed, including main's cooling cases and all six attribution and bounds cases.il_liheap_base_payment.yaml: 25 passed.il_liheap.yaml: 2 passed, including IHWAP outputs.la_school_readiness_tax_credit.yaml: 14 passed.test_liheap_la_credit_mixed_simulations.py: 1 property passed with eight generated populations and two explicit examples.make format: Ruff formatting and lint passed;git diff --checkpassed against merged main.Replacing each upper clip with main's floor fails 1 of 39 DC cases and 1 of 25 Illinois cases. Removing Louisiana's projection fails 4 of 14 cases. Removing DC's cooling route fails main's cooling-only case for a home without heating.
The source amounts come from the DC FY26 matrix, the Illinois 2026 matrix, page 2, and Louisiana's worksheets. The hand checks give DC
min(904, 2,000) = 904; Illinoismin(910, 2,000) = 910; Louisiana50 × 2 = 100and80 × 1.5 = 120.The Python test compares independently constructed simulations for generated populations, which fixed YAML cases cannot cover. It runs in the existing Rest Python core group. Its two explicit examples build 11 simulations. On macOS, the file took 214.69 seconds of wall time, including startup and wrapper overhead, and peaked at 1.402 GiB of resident memory. In main's CI run at
935b24ff4f, one core test batch used 1,420.47 seconds and 6.478 GiB without this property.axiom: n/a: repairs entity projection and lookup bounds without changing encoded policy provisions.
🤖 Generated with Claude Code