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.647.1.
What changed (1.634.9 -> 1.647.1)
Added
policyengine-coreto a version that has been relaxed to support older Python (3.24.0+); on 3.11+ behavior is unchanged.charitable_non_cash_donations_non_50_pct_orgsinput andceiling/non_cash_to_non_50_pct_orgparameter.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
deductions/itemized/limitation/(replacing the duplicatereduction/folder) and rename OBBB parameters fromamended_structure/toobbb/. Also adds 2009 values and the TCJA-era suspension toapplicable_amount.yaml, and fixes YAML formatting issues.gov.usda.snap.asset_test.sources) coveringbank_account_assets,stock_assets, andbond_assetsper 7 CFR 273.8(c)(1). These are now wired to the SIPP-imputed liquid asset variables and regulatory citations are added for what is countable vs excluded under 7 USC 2014(g).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
HAINES_BOROUGH_AKandPETERSBURG_BOROUGH_AKto theCountyenum so that households in Haines Borough (FIPS 02100) and Petersburg Borough (FIPS 02195) are correctly assigned to theAK_SESNAP utility region per Alaska's FSP-77 instead of falling back toAK_C.ca_eitc_eligibleper FTB 3514 (Steps 7-8): CalEITC is denied when federal adjusted gross income exceeds the earned-income threshold (gov.states.ca.tax.income.credits.earned_income.phase_out.final.end).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