Add new bill analyses for UT, SC, and RI#23
Merged
PavelMakarchuk merged 10 commits intoPolicyEngine:mainfrom Jan 30, 2026
Merged
Add new bill analyses for UT, SC, and RI#23PavelMakarchuk merged 10 commits intoPolicyEngine:mainfrom
PavelMakarchuk merged 10 commits intoPolicyEngine:mainfrom
Conversation
- Utah SB60: Add blog post link (analysisUrl) - Utah HB210: Add new bill tracking with reform config for marriage penalty removal and EITC repeal - SC H.3492: Add new bill tracking with reform config for partially refundable EITC - RI: Add Governor McKee CTC proposal blog post to research Closes PolicyEngine#22 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Collaborator
Author
Implementation NotesSC H.3492 Context: The reform parameter Utah HB210 Parameters: The reform uses the full date range format ( |
- Add missing UT HB210 parameters: taxpayer phase-out threshold (HOH), SS benefits phase-out thresholds (HOH, SINGLE) - Update SC H3492 bill URL to direct bill text link - Add SC congressional districts and FIPS code to compute script - Compute and store reform impacts for both bills UT HB210: ~$10M revenue loss, slight poverty reduction SC H3492: ~$403M cost, 2.1% poverty reduction, 4.8% child poverty reduction Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- UT HB210: 4 districts with estimated $8-12 avg benefit per household - SC H3492: 7 districts with $185-265 avg benefit, higher in districts with more low-income households (SC-6 highest at $265) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Rename "HB210 (Substitute)" to "HB210 (S1)" per official designation - Add SC congressional districts to DistrictMap component Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
District-level impacts require enhanced CPS data with congressional district geocoding which is not currently available. Statewide impacts remain as they are dynamically computed via PolicyEngine API. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Removed manually estimated district impacts for UT HB210 and SC H3492. Only keeping API-computed statewide impacts. District impacts require congressional_district_geoid data which is currently empty in the enhanced_cps_2024.h5 dataset. SB60 district impacts left unchanged pending verification. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Merged Pavel's Oklahoma HB2229 EITC reform with: - Utah HB210 (S1) marriage penalty removal - SC H.3492 partially refundable EITC All three reforms now have computed statewide impacts. OK has district impacts; UT HB210 and SC H3492 pending district data. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Run compute_impacts.py --districts-only to calculate congressional district-level impacts using state-specific datasets from HuggingFace. Also refreshes district data for UT SB60 and OK HB2229. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use person weights (household_count_people * household_weight) instead of just household weights - Calculate proportion of winners per income decile, then average across all 10 deciles (matching API's intra_decile_impact calculation) - Use API's relative income change formula with capped values - Apply 0.1% threshold for "winner" classification Also recomputes all statewide impacts with --force to ensure consistency with current dataset. District winners now align with statewide: - UT SB60: 44.5% statewide vs 43-46% districts - UT HB210: 30.9% statewide vs 30-32% districts - SC H3492: 23.3% statewide vs 23-28% districts - OK HB2229: 19.1% statewide vs 19-23% districts Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Collaborator
Author
District Winners Calculation FixedFixed the district-level winners percentage calculation to match the PolicyEngine API methodology exactly: Changes Made
ResultsAll district winners percentages now align with statewide:
Also recomputed all statewide impacts with |
PavelMakarchuk
requested changes
Jan 29, 2026
…ation Address PR review: Use MicroSeries objects with weights parameter for proper weighted sums, rather than manually multiplying by weights. This follows the same pattern as the PolicyEngine API. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
PavelMakarchuk
approved these changes
Jan 30, 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.
Summary
Changes
Utah SB60
analysisUrllinking to https://www.policyengine.org/us/research/utah-sb60-income-tax-reductionUtah HB210 (Substitute)
New bill that:
Reform parameters configured:
gov.contrib.states.ut.hb210.in_effect→ trueSC H.3492
New bill making 25% of the excess of SC's nonrefundable EITC refundable
gov.contrib.states.sc.h3492.in_effect→ true (tax year 2026)Rhode Island Governor McKee CTC
Test plan
Closes #22
🤖 Generated with Claude Code