Open
Conversation
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
Update PolicyEngine US from 1.634.9 to 1.642.0.
What changed (1.634.9 -> 1.642.0)
Added
sstb_self_employment_incomeand split QBID into non-SSTB and SSTB components per IRC §199A(d). Mixed SSTB/non-SSTB wage-limited cases can also providesstb_w2_wages_from_qualified_businessandsstb_unadjusted_basis_qualified_propertyto match Form 8995-A's separate SSTB wage/UBIA inputs.Changed
spm_unit_spm_thresholdto use thespm-calculatorpackage. The variable is no longer a plain CPI-U-uprated input: for years beyond the dataset's base year it now recomputes ascurrent_base × current_equivalence_scale × (prior_threshold / (prior_base × prior_equivalence_scale)), so composition and tenure changes flow through while each unit's implied geographic adjustment is preserved. Base reference thresholds (2015–2024) and the Betson three-parameter equivalence scale come fromspm-calculator; post-2024 uprating continues to use PolicyEngine'sgov.bls.cpi.cpi_uparameter for consistency with other indexed values. Baseline 2025/2026 national child SPM poverty is unchanged (21.0%). Addsspm-calculator>=0.2.0as a runtime dependency.Fixed
gov.contrib.additional_tax_bracket.bracket— parameter has children1-8(the contrib adds an 8th bracket) but breakdown wasrange(1, 8)=[1..7], omitting the 8th child. Update torange(1, 9). This was previously a warning in policyengine-core but became an error in core 3.24.0, breaking parameter load at import time.hourly_wagewhen calculatingfsla_overtime_premiumfor hourly workers, while keeping the prior earnings-based fallback when no hourly wage is available.household_weightto default to1when not provided.eitcontax_unit_is_filer(non-circular: uses required/voluntary/credit-motivated filer inputs). Closes non-filer EITC leak in calibrated microdata. See #8021.policyengine-usimports and added a syntax regression test for the parameter tree.Generated automatically by GitHub Actions