policyengine-us 1.424.6__py3-none-any.whl → 1.455.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of policyengine-us might be problematic. Click here for more details.
- policyengine_us/parameters/calibration/gov/hhs/medicare/per_capita_cost.yaml +12 -0
- policyengine_us/parameters/gov/aca/state_rating_area_cost.yaml +511 -12
- policyengine_us/parameters/gov/bls/cpi/c_cpi_u.yaml +23 -6
- policyengine_us/parameters/gov/bls/cpi/cpi_u.yaml +21 -18
- policyengine_us/parameters/gov/bls/cpi/cpi_w.yaml +25 -22
- policyengine_us/parameters/gov/contrib/congress/tlaib/{income_security_package → economic_dignity_for_all_agenda}/end_child_poverty_act/adult_dependent_credit/min_age.yaml +1 -1
- policyengine_us/parameters/gov/contrib/harris/capital_gains/rates.yaml +12 -0
- policyengine_us/parameters/gov/contrib/harris/capital_gains/thresholds.yaml +168 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/young_child_boost/age_limit.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/young_child_boost/amount.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/amount.yaml +2 -2
- policyengine_us/parameters/gov/contrib/states/ut/eitc/in_effect.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ut/eitc/max_age.yaml +9 -0
- policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/medically_needy/categories/child/child.yaml +0 -1
- policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/senior_or_disabled/income/limit/couple.yaml +60 -51
- policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/senior_or_disabled/income/limit/individual.yaml +60 -51
- policyengine_us/parameters/gov/hhs/medicare/part_a/deductible.yaml +13 -0
- policyengine_us/parameters/gov/hhs/medicare/part_a/default_quarters_of_coverage.yaml +10 -0
- policyengine_us/parameters/gov/hhs/medicare/part_a/full_premium.yaml +13 -0
- policyengine_us/parameters/gov/hhs/medicare/part_a/premium_free_quarters_threshold.yaml +10 -0
- policyengine_us/parameters/gov/hhs/medicare/part_a/reduced_premium.yaml +13 -0
- policyengine_us/parameters/gov/hhs/medicare/part_a/reduced_premium_quarters_threshold.yaml +10 -0
- policyengine_us/parameters/gov/hhs/medicare/part_b/base_premium.yaml +16 -0
- policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/head_of_household.yaml +50 -0
- policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/joint.yaml +49 -0
- policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/separate.yaml +30 -0
- policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/single.yaml +50 -0
- policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/surviving_spouse.yaml +49 -0
- policyengine_us/parameters/gov/hhs/tanf/cash/income/sources/earned.yaml +13 -0
- policyengine_us/parameters/gov/hhs/tanf/cash/income/sources/unearned.yaml +23 -0
- policyengine_us/parameters/gov/irs/ald/student_loan_interest/reduction/start.yaml +7 -1
- policyengine_us/parameters/gov/irs/capital_gains/rates.yaml +17 -0
- policyengine_us/parameters/gov/irs/capital_gains/thresholds.yaml +182 -0
- policyengine_us/parameters/gov/irs/credits/cdcc/eligibility/child_age.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/clean_vehicle/new/eligibility/min_kwh.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/clean_vehicle/used/eligibility/sale_price_limit.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/ctc/amount/base.yaml +14 -9
- policyengine_us/parameters/gov/irs/credits/ctc/refundable/individual_max.yaml +14 -7
- policyengine_us/parameters/gov/irs/credits/education/american_opportunity_credit/abolition.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/education/american_opportunity_credit/refundability.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/education/lifetime_learning_credit/abolition.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/education/lifetime_learning_credit/expense_limit.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/eitc/max.yaml +73 -81
- policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/advanced_main_air_circulating_fan.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/door.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/energy_efficient_central_air_conditioner.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/heat_pump_heat_pump_water_heater_biomass_stove_boiler.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/home_energy_audit.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/qualified_furnace_or_hot_water_boiler.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/roof.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/total.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/window.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/lifetime/total.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/lifetime/window.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/in_effect.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/qualified_expenditures/credits.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/qualified_expenditures/heat_pump_heat_pump_water_heater_biomass_stove_boiler.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/rates/home_energy_audit.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/rates/improvements.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/rates/property.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/premium_tax_credit/phase_out/ending_rate.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/premium_tax_credit/phase_out/starting_rate.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/max/adult.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/max/dependent.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/phase_out/length.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/phase_out/threshold.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/max/adult.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/max/child.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/phase_out/rate.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/phase_out/threshold.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/max/adult.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/max/child.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/phase_out/rate.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/phase_out/threshold.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/residential_clean_energy/applicable_percentage.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/residential_clean_energy/elements.yaml +0 -1
- policyengine_us/parameters/gov/irs/credits/residential_clean_energy/fuel_cell_cap_per_kw.yaml +0 -1
- policyengine_us/parameters/gov/irs/deductions/qbi/phase_out/start.yaml +19 -7
- policyengine_us/parameters/gov/irs/deductions/standard/aged_or_blind/age_threshold.yaml +0 -1
- policyengine_us/parameters/gov/irs/deductions/standard/aged_or_blind/amount.yaml +10 -52
- policyengine_us/parameters/gov/irs/deductions/standard/amount.yaml +16 -59
- policyengine_us/parameters/gov/irs/gross_income/retirement_contributions/catch_up/limit/401k.yaml +8 -1
- policyengine_us/parameters/gov/irs/gross_income/retirement_contributions/catch_up/limit/ira.yaml +7 -0
- policyengine_us/parameters/gov/irs/gross_income/retirement_contributions/limit/401k.yaml +6 -0
- policyengine_us/parameters/gov/irs/gross_income/retirement_contributions/limit/ira.yaml +5 -0
- policyengine_us/parameters/gov/irs/income/amt/exemption/amount.yaml +15 -59
- policyengine_us/parameters/gov/irs/income/amt/exemption/phase_out/start.yaml +11 -60
- policyengine_us/parameters/gov/irs/income/bracket.yaml +114 -213
- policyengine_us/parameters/gov/irs/payroll/medicare/additional/exclusion.yaml +0 -1
- policyengine_us/parameters/gov/local/ny/mamdani_income_tax/in_effect.yaml +10 -0
- policyengine_us/parameters/gov/local/ny/mamdani_income_tax/rate.yaml +18 -0
- policyengine_us/parameters/gov/states/ar/tax/income/rates/main/reduction.yaml +30 -0
- policyengine_us/parameters/gov/states/ca/chhs/medi_cal_enrollment_freeze/in_effect.yaml +12 -0
- policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/amount/joint.yaml +10 -0
- policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/amount/non_joint.yaml +10 -0
- policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/income_limit/joint.yaml +10 -0
- policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/income_limit/non_joint.yaml +10 -0
- policyengine_us/parameters/gov/states/co/tax/income/credits/refundable.yaml +10 -0
- policyengine_us/parameters/gov/states/ga/tax/income/credits/itemizer/amount.yaml +14 -0
- policyengine_us/parameters/gov/states/ga/tax/income/credits/non_refundable.yaml +9 -0
- policyengine_us/parameters/gov/states/hi/tax/income/alternative_tax/availability.yaml +2 -3
- policyengine_us/parameters/gov/states/il/dhs/aabd/{qualified_noncitizen_status.yaml → qualified_noncitizen_statuses.yaml} +3 -5
- policyengine_us/parameters/gov/states/il/dhs/tanf/{qualified_noncitizen_status.yaml → qualified_noncitizen_statuses.yaml} +2 -2
- policyengine_us/parameters/gov/states/il/hfs/README.md +1 -0
- policyengine_us/parameters/gov/states/il/hfs/bcc/eligibility/age.yaml +12 -0
- policyengine_us/parameters/gov/states/il/hfs/fpp/eligibility/household_size.yaml +14 -0
- policyengine_us/parameters/gov/states/il/hfs/fpp/eligibility/income_limit.yaml +15 -0
- policyengine_us/parameters/gov/states/il/hfs/hbwd/README.md +1 -0
- policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/age.yaml +25 -0
- policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/asset/limit.yaml +15 -0
- policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/income/limit.yaml +15 -0
- policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/income/sources/earned.yaml +13 -0
- policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/income/sources/unearned.yaml +25 -0
- policyengine_us/parameters/gov/states/il/hfs/hbwd/premium/earned.yaml +96 -0
- policyengine_us/parameters/gov/states/il/hfs/hbwd/premium/unearned.yaml +96 -0
- policyengine_us/parameters/gov/states/il/hfs/mpe/eligibility/income_limit.yaml +13 -0
- policyengine_us/parameters/gov/states/il/hfs/qualified_noncitizen_statuses.yaml +17 -0
- policyengine_us/parameters/gov/states/ma/dta/tcap/gross_income/earned.yaml +2 -2
- policyengine_us/parameters/gov/states/ma/eec/ccfa/income/countable_income/sources.yaml +3 -3
- policyengine_us/parameters/gov/states/mt/tax/income/deductions/itemized/spouse_allocation_rate.yaml +13 -0
- policyengine_us/parameters/gov/states/nj/tax/income/additions.yaml +12 -0
- policyengine_us/parameters/gov/states/nj/tax/income/gross_income_sources.yaml +32 -0
- policyengine_us/parameters/gov/states/pa/tax/income/credits/eitc/match.yaml +10 -0
- policyengine_us/parameters/gov/states/pa/tax/income/credits/refundable.yaml +6 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/amount.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/max_agi.yaml +6 -2
- policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/max_child_age.yaml +6 -2
- policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/parent_max_earnings.yaml +6 -2
- policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/amount.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/child_age_threshold.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/reduction/rate.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/reduction/start.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/earned_income/rate.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/military_retirement/rate.yaml +26 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/non_refundable.yaml +5 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/birth_year.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/max.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/phase_out/rate.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/phase_out/threshold.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/ss_benefits/phase_out/rate.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/ss_benefits/phase_out/threshold.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/in_effect.yaml +2 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/personal_exemption.yaml +5 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/rate.yaml +5 -1
- policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/threshold.yaml +9 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/rate.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/rate.yaml +3 -0
- policyengine_us/parameters/gov/states/va/tax/income/credits/non_refundable.yaml +1 -1
- policyengine_us/parameters/gov/states/wa/dshs/tanf/income/deductions/earned_income_disregard/amount.yaml +14 -0
- policyengine_us/parameters/gov/states/wa/dshs/tanf/income/deductions/earned_income_disregard/percentage_disregarded.yaml +14 -0
- policyengine_us/parameters/gov/states/wa/dshs/tanf/income/limit.yaml +36 -0
- policyengine_us/parameters/gov/states/wa/dshs/tanf/maximum_family_size.yaml +14 -0
- policyengine_us/parameters/gov/states/wa/dshs/tanf/payment_standard/amount.yaml +32 -0
- policyengine_us/parameters/gov/states/wa/dshs/tanf/payment_standard/maximum_amount.yaml +12 -0
- policyengine_us/parameters/gov/states/wa/dshs/tanf/resource_limit.yaml +15 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/credits/refundable.yaml +2 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/adjustment_limit_basis.yaml +12 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/exemption_rate.yaml +13 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/rate.yaml +12 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/threshold.yaml +13 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/regular_tax/percentage.yaml +21 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/tax_rate/amount.yaml +35 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/deductions/sources.yaml +18 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/sources.yaml +15 -0
- policyengine_us/parameters/gov/usda/snap/student/child_age_limit/single_parent.yaml +12 -0
- policyengine_us/parameters/gov/usda/snap/student/child_age_limit/two_parent.yaml +12 -0
- policyengine_us/parameters/gov/usda/snap/work_requirements/general/age_threshold/caring_dependent_child.yaml +1 -1
- policyengine_us/parameters/gov/usda/snap/work_requirements/general/age_threshold/exempted.yaml +1 -1
- policyengine_us/parameters/gov/usda/snap/work_requirements/general/weekly_hours_threshold.yaml +1 -1
- policyengine_us/parameters/simulation/disabled_programs.yaml +0 -1
- policyengine_us/reforms/aca/aca_ptc_additional_bracket.py +2 -2
- policyengine_us/reforms/aca/aca_ptc_simplified_bracket.py +2 -2
- policyengine_us/reforms/additional_tax_bracket/additional_tax_bracket_reform.py +10 -7
- policyengine_us/reforms/biden/budget_2025/capital_gains_tax_increase.py +5 -7
- policyengine_us/reforms/congress/tlaib/__init__.py +4 -3
- policyengine_us/reforms/congress/tlaib/economic_dignity_for_all_agenda/__init__.py +9 -0
- policyengine_us/reforms/congress/tlaib/economic_dignity_for_all_agenda/edaa_end_child_poverty_act.py +237 -0
- policyengine_us/reforms/ctc/ctc_per_child_phase_out.py +30 -8
- policyengine_us/reforms/harris/capital_gains/harris_capital_gains.py +7 -7
- policyengine_us/reforms/local/ny/__init__.py +4 -0
- policyengine_us/reforms/local/ny/mamdani_income_tax.py +84 -0
- policyengine_us/reforms/reforms.py +19 -4
- policyengine_us/reforms/states/ri/ctc/ri_ctc_reform.py +32 -1
- policyengine_us/reforms/states/ri/exemption/ri_exemption_reform.py +38 -8
- policyengine_us/reforms/states/ut/__init__.py +3 -0
- policyengine_us/reforms/states/ut/ut_refundable_eitc.py +118 -0
- policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_ptc.yaml +3 -3
- policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_required_contribution_percentage.yaml +71 -0
- policyengine_us/tests/policy/baseline/gov/aca/ptc/integration.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/aca/ptc/separate_esi.yaml +2 -2
- policyengine_us/tests/policy/baseline/gov/ed/pell_grant/pell_grant_simplified_formula_applies.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/hhs/medicaid/medicaid_enrolled.yaml +105 -0
- policyengine_us/tests/policy/baseline/gov/hhs/medicare/costs/medicare_cost.yaml +65 -0
- policyengine_us/tests/policy/baseline/gov/hhs/medicare/eligibility/base_part_a_premium.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/hhs/medicare/eligibility/base_part_b_premium.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/hhs/medicare/eligibility/income_adjusted_part_b_premium.yaml +77 -0
- policyengine_us/tests/policy/baseline/gov/hhs/tanf/tanf_fpg.yaml +53 -0
- policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.yaml +68 -0
- policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/integration.yaml +26 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/la/general_relief/eligible/immigration/la_general_relief_immigration_status_eligible_person.yaml +2 -2
- policyengine_us/tests/policy/baseline/gov/ssa/ssi/integration_tests.yaml +150 -4
- policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/integration.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/states/ca/chhs/is_ca_medicaid_immigration_status_eligible.yaml +59 -5
- policyengine_us/tests/policy/baseline/gov/states/co/tax/income/additions/federal_deduction/co_federal_deduction_addback.yaml +2 -2
- policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit.yaml +64 -0
- policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible.yaml +122 -0
- policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible_care_worker_count.yaml +65 -0
- policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/credits/ga_itemizer_credit.yaml +44 -0
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/alternative_tax/hi_alternative_tax_on_capital_gains_eligible.yaml +0 -8
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/cdcc/hi_cdcc.yaml +4 -0
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/cdcc/hi_cdcc_eligible.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/integration.yaml +96 -0
- policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/eligibility/il_tanf_immigration_status_eligible_person.yaml +2 -10
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/bcc/eligibility/il_bcc_age_eligible.yaml +39 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/bcc/eligibility/il_bcc_eligible.yaml +95 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/bcc/eligibility/il_bcc_insurance_eligible.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/fpp/il_fpp_income_eligible.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/fpp/il_fpp_income_level.yaml +27 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/fpp/integration.yaml +116 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/asset/il_hbwd_countable_assets.yaml +23 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_age_eligible.yaml +39 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_asset_eligible.yaml +31 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_disability_eligible.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_eligible.yaml +65 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_employment_eligible.yaml +34 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_income_eligible.yaml +25 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/il_hbwd_person.yaml +34 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/il_hbwd_premium.yaml +84 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/integration.yaml +183 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/il_hfs_immigration_status_eligible.yaml +47 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/mpe/il_mpe_eligible.yaml +39 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/mpe/il_mpe_income_eligible.yaml +23 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/mpe/integration.yaml +138 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/smib/eligibility/il_smib_eligible.yaml +88 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/smib/integration.yaml +73 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/ssp/ma_state_supplement.yaml +2 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/eaedc/dependent_care_deduction/ma_eaedc_dependent_care_deduction.yaml +13 -13
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/eaedc/dependent_care_deduction/ma_eaedc_dependent_care_deduction_person.yaml +8 -8
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/eaedc/ma_eaedc.yaml +2 -2
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/tafdc/income/deductions/ma_tafdc_dependent_care_deduction_person.yaml +6 -6
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/tafdc/income/earned/ma_tafdc_partially_disregarded_earned_income.yaml +7 -7
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/tafdc/integration.yaml +14 -14
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/tafdc/ma_tafdc.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/copay/ma_ccfa_total_copay.yaml +4 -4
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_activity_eligible.yaml +20 -20
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/ma_ccfa.yaml +7 -7
- policyengine_us/tests/policy/baseline/gov/states/mo/tax/income/deductions/mo_federal_income_tax_deduction.yaml +2 -14
- policyengine_us/tests/policy/baseline/gov/states/mo/tax/income/deductions/mo_pension_and_ss_or_ssd_deduction/mo_pension_and_ss_or_ssd_deduction_section_a.yaml +2 -2
- policyengine_us/tests/policy/baseline/gov/states/mo/tax/income/deductions/mo_pension_and_ss_or_ssd_deduction/mo_pension_and_ss_or_ssd_deduction_section_b.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/states/mo/tax/income/deductions/mo_pension_and_ss_or_ssd_deduction/mo_pension_and_ss_or_ssd_deduction_section_c.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/states/nc/tax/income/deductions/nc_itemized_deductions.yaml +2 -2
- policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/credits/cdcc/nj_cdcc.yaml +8 -8
- policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/credits/eitc/nj_eitc.yaml +8 -3
- policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/integration.yaml +137 -0
- policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/taxable_income/nj_agi.yaml +7 -8
- policyengine_us/tests/policy/baseline/gov/states/oh/tax/income/credits/joint_filing_credit/oh_joint_filing_credit_qualifying_income.yaml +29 -0
- policyengine_us/tests/policy/baseline/gov/states/oh/tax/income/credits/oh_cdcc.yaml +4 -4
- policyengine_us/tests/policy/baseline/gov/states/oh/tax/income/integration.yaml +141 -0
- policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/credits/pa_eitc.yaml +26 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_categorically_eligible_person.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit.yaml +89 -0
- policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit_eligible.yaml +50 -0
- policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/ss_benefits_credit/ut_ss_benefits_credit_max.yaml +5 -5
- policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/benefit/wa_tanf_payment_standard.yaml +48 -0
- policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/eligibility/wa_tanf_eligible.yaml +65 -0
- policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/eligibility/wa_tanf_income_eligible.yaml +96 -0
- policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/income/wa_tanf_countable_earned_income.yaml +70 -0
- policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/integration.yaml +676 -0
- policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/wa_tanf.yaml +102 -0
- policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/wa_tanf_resources_eligible.yaml +6 -7
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_amount.yaml +29 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_eligible.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_agi.yaml +17 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_agi_person.yaml +17 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_normal_tax.yaml +31 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_tax_before_credits.yaml +19 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/pr_net_taxable_income.yaml +26 -0
- policyengine_us/tests/policy/baseline/gov/test_categorical_eligibility_vectorization.yaml +41 -0
- policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/is_snap_higher_ed_student.yaml +23 -0
- policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/is_snap_ineligible_student.yaml +77 -6
- policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/meets_snap_parent_exception.yaml +345 -0
- policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/meets_snap_work_exception.yaml +47 -0
- policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/work_requirements/meets_snap_abawd_work_requirements.yaml +17 -17
- policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/work_requirements/meets_snap_general_work_requirements.yaml +7 -7
- policyengine_us/tests/policy/baseline/gov/usda/snap/income/deductions/self_employment_income/integration.yaml +6 -6
- policyengine_us/tests/policy/baseline/gov/usda/snap/income/deductions/self_employment_income/snap_self_employment_expense_deduction.yaml +4 -4
- policyengine_us/tests/policy/baseline/gov/usda/snap/income/deductions/self_employment_income/snap_self_employment_income_after_expense_deduction.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/usda/snap/income/federal_work_study_income_exclusion.yaml +24 -0
- policyengine_us/tests/policy/baseline/gov/usda/snap/income/snap_countable_earner.yaml +25 -0
- policyengine_us/tests/policy/baseline/gov/usda/snap/integration.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/usda/snap/snap.yaml +5 -5
- policyengine_us/tests/policy/baseline/gov/usda/snap/snap_min_allotment.yaml +3 -3
- policyengine_us/tests/policy/baseline/gov/usda/wic/integration.yaml +181 -0
- policyengine_us/tests/policy/baseline/gov/usda/wic/is_wic_at_nutritional_risk.yaml +33 -0
- policyengine_us/tests/policy/baseline/gov/usda/wic/is_wic_eligible.yaml +28 -15
- policyengine_us/tests/policy/baseline/household/demographic/geographic/state_group.yaml +21 -0
- policyengine_us/tests/policy/baseline/household/expense/health/has_bcc_qualifying_coverage.yaml +12 -0
- policyengine_us/tests/policy/contrib/aca/ptc_additional_bracket.yaml +12 -12
- policyengine_us/tests/policy/contrib/aca/ptc_simplified_bracket.yaml +12 -12
- policyengine_us/tests/policy/contrib/additional_tax_bracket/additional_tax_bracket_reform.yaml +4 -4
- policyengine_us/tests/policy/contrib/congress/tlaib/economic_dignity_for_all_agenda/edaa_end_child_poverty_act.yaml +198 -0
- policyengine_us/tests/policy/contrib/crfb/senior_deduction_extension.yaml +2 -2
- policyengine_us/tests/policy/contrib/ctc/integration.yaml +6 -6
- policyengine_us/tests/policy/contrib/local/ny/nyc_mamdani_income_tax.yaml +51 -0
- policyengine_us/tests/policy/contrib/states/ri/ctc_reform_test.yaml +144 -0
- policyengine_us/tests/policy/contrib/states/ri/exemption_reform_test.yaml +31 -2
- policyengine_us/tests/policy/contrib/states/ut/ut_refundable_eitc.yaml +214 -0
- policyengine_us/variables/gov/aca/ptc/aca_ptc.py +3 -1
- policyengine_us/variables/gov/aca/ptc/{aca_ptc_phase_out_rate.py → aca_required_contribution_percentage.py} +2 -2
- policyengine_us/variables/gov/ed/is_federal_work_study_participant.py +9 -0
- policyengine_us/variables/gov/ed/pell_grant/efc/pell_grant_simplified_formula_applies.py +1 -2
- policyengine_us/variables/gov/fcc/lifeline/is_lifeline_eligible.py +2 -2
- policyengine_us/variables/gov/hhs/head_start/early_head_start.py +2 -1
- policyengine_us/variables/gov/hhs/head_start/head_start.py +2 -1
- policyengine_us/variables/gov/hhs/head_start/is_head_start_categorically_eligible.py +1 -3
- policyengine_us/variables/gov/hhs/medicaid/costs/medicaid_group.py +2 -2
- policyengine_us/variables/gov/hhs/medicaid/receives_medicaid.py +17 -0
- policyengine_us/variables/gov/hhs/medicare/costs/medicare_cost.py +30 -0
- policyengine_us/variables/gov/hhs/medicare/costs/medicare_enrolled.py +14 -0
- policyengine_us/variables/gov/hhs/medicare/eligibility/part_a/base_part_a_premium.py +32 -0
- policyengine_us/variables/gov/hhs/medicare/eligibility/part_a/is_premium_free_part_a.py +22 -0
- policyengine_us/variables/gov/hhs/medicare/eligibility/part_a/medicare_quarters_of_coverage.py +16 -0
- policyengine_us/variables/gov/hhs/medicare/eligibility/part_b/base_part_b_premium.py +16 -0
- policyengine_us/variables/gov/hhs/medicare/eligibility/part_b/income_adjusted_part_b_premium.py +55 -0
- policyengine_us/variables/gov/hhs/tanf/cash/income/tanf_gross_earned_income.py +13 -0
- policyengine_us/variables/gov/hhs/tanf/cash/income/tanf_gross_unearned_income.py +13 -0
- policyengine_us/variables/gov/hhs/tanf/tanf_fpg.py +28 -0
- policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/amt_tax_including_cg.py +5 -9
- policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py +47 -0
- policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/income/amt_income_less_exemptions.py +4 -22
- policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/regular_tax_before_credits.py +12 -13
- policyengine_us/variables/gov/irs/tax/federal_income/capital_gains/capital_gains_excluded_from_taxable_income.py +2 -2
- policyengine_us/variables/gov/irs/tax/federal_income/capital_gains/capital_gains_tax.py +5 -5
- policyengine_us/variables/gov/irs/tax/federal_income/capital_gains/dwks19.py +2 -2
- policyengine_us/variables/gov/ssa/ssi/eligibility/income/deemed/from_ineligible_spouse/is_ssi_spousal_deeming_applies.py +41 -0
- policyengine_us/variables/gov/ssa/ssi/eligibility/income/deemed/from_ineligible_spouse/ssi_income_deemed_from_ineligible_spouse.py +20 -20
- policyengine_us/variables/gov/ssa/ssi/ssi.py +22 -1
- policyengine_us/variables/gov/ssa/ssi/ssi_amount_if_eligible.py +26 -4
- policyengine_us/variables/gov/states/ca/chhs/is_ca_medicaid_immigration_status_eligible.py +25 -4
- policyengine_us/variables/gov/states/ca/cpuc/care/eligibility/ca_care_categorically_eligible.py +2 -2
- policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/exemption/ca_amt_exemption.py +4 -2
- policyengine_us/variables/gov/states/ca/tax/income/ca_income_tax.py +1 -0
- policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit.py +26 -0
- policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible.py +27 -0
- policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible_care_worker.py +10 -0
- policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible_care_worker_count.py +18 -0
- policyengine_us/variables/gov/states/ga/tax/income/credits/ga_itemizer_credit.py +19 -0
- policyengine_us/variables/gov/states/hi/tax/income/credits/cdcc/hi_cdcc.py +1 -1
- policyengine_us/variables/gov/states/hi/tax/income/credits/cdcc/hi_cdcc_eligible.py +14 -0
- policyengine_us/variables/gov/states/il/dhs/aabd/eligibility/il_aabd_immigration_status_eligible_person.py +1 -1
- policyengine_us/variables/gov/states/il/dhs/tanf/eligibility/il_tanf_immigration_status_eligible_person.py +1 -1
- policyengine_us/variables/gov/states/il/hfs/bcc/eligibility/il_bcc_age_eligible.py +15 -0
- policyengine_us/variables/gov/states/il/hfs/bcc/eligibility/il_bcc_eligible.py +27 -0
- policyengine_us/variables/gov/states/il/hfs/bcc/eligibility/il_bcc_insurance_eligible.py +29 -0
- policyengine_us/variables/gov/states/il/hfs/fpp/eligibility/il_fpp_eligible.py +40 -0
- policyengine_us/variables/gov/states/il/hfs/fpp/eligibility/il_fpp_income_eligible.py +18 -0
- policyengine_us/variables/gov/states/il/hfs/fpp/il_fpp_income_level.py +29 -0
- policyengine_us/variables/gov/states/il/hfs/hbwd/asset/il_hbwd_countable_assets.py +34 -0
- policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_age_eligible.py +20 -0
- policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_asset_eligible.py +21 -0
- policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_disability_eligible.py +20 -0
- policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_eligible.py +33 -0
- policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_employment_eligible.py +25 -0
- policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_income_eligible.py +23 -0
- policyengine_us/variables/gov/states/il/hfs/hbwd/il_hbwd.py +17 -0
- policyengine_us/variables/gov/states/il/hfs/hbwd/il_hbwd_person.py +24 -0
- policyengine_us/variables/gov/states/il/hfs/hbwd/il_hbwd_premium.py +23 -0
- policyengine_us/variables/gov/states/il/hfs/hbwd/income/earned/il_hbwd_countable_earned_income.py +24 -0
- policyengine_us/variables/gov/states/il/hfs/hbwd/income/earned/il_hbwd_gross_earned_income.py +16 -0
- policyengine_us/variables/gov/states/il/hfs/hbwd/income/il_hbwd_countable_income.py +21 -0
- policyengine_us/variables/gov/states/il/hfs/hbwd/income/unearned/il_hbwd_countable_unearned_income.py +16 -0
- policyengine_us/variables/gov/states/il/hfs/il_hfs_immigration_status_eligible.py +23 -0
- policyengine_us/variables/gov/states/il/hfs/mpe/eligibility/il_mpe_income_eligible.py +15 -0
- policyengine_us/variables/gov/states/il/hfs/mpe/il_mpe_eligible.py +15 -0
- policyengine_us/variables/gov/states/il/hfs/smib/eligibility/il_smib_categorical_eligible.py +26 -0
- policyengine_us/variables/gov/states/il/hfs/smib/eligibility/il_smib_eligible.py +28 -0
- policyengine_us/variables/gov/states/il/hfs/smib/il_smib.py +21 -0
- policyengine_us/variables/gov/states/il/hfs/smib/il_smib_person.py +24 -0
- policyengine_us/variables/gov/states/ma/dta/ssp/ma_state_supplement.py +1 -0
- policyengine_us/variables/gov/states/ma/dta/tcap/eaedc/dependent_care_deduction/ma_eaedc_dependent_care_deduction_person.py +1 -1
- policyengine_us/variables/gov/states/ma/dta/tcap/tafdc/income/deductions/ma_tafdc_dependent_care_deduction_person.py +1 -1
- policyengine_us/variables/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_activity_eligible.py +3 -1
- policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_itemized_deductions_indiv.py +3 -2
- policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_additions.py +8 -3
- policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_gross_income.py +17 -0
- policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_total_income.py +12 -6
- policyengine_us/variables/gov/states/nj/tax/income/credits/cdcc/nj_cdcc.py +2 -2
- policyengine_us/variables/gov/states/nj/tax/income/credits/eitc/nj_eitc.py +7 -1
- policyengine_us/variables/gov/states/oh/tax/income/credits/joint_filing_credit/oh_joint_filing_credit_qualifying_income.py +7 -3
- policyengine_us/variables/gov/states/oh/tax/income/credits/oh_cdcc.py +2 -2
- policyengine_us/variables/gov/states/pa/tax/income/credits/pa_eitc.py +16 -0
- policyengine_us/variables/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit.py +20 -0
- policyengine_us/variables/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit_eligible.py +22 -0
- policyengine_us/variables/gov/states/wa/dshs/tanf/benefit/wa_tanf_payment_standard.py +22 -0
- policyengine_us/variables/gov/states/wa/dshs/tanf/eligibility/wa_tanf_eligible.py +42 -0
- policyengine_us/variables/gov/states/wa/dshs/tanf/eligibility/wa_tanf_income_eligible.py +31 -0
- policyengine_us/variables/gov/states/wa/dshs/tanf/income/wa_tanf_countable_earned_income.py +33 -0
- policyengine_us/variables/gov/states/wa/dshs/tanf/income/wa_tanf_countable_income.py +16 -0
- policyengine_us/variables/gov/states/wa/dshs/tanf/wa_tanf.py +34 -0
- policyengine_us/variables/gov/states/wa/dshs/tanf/wa_tanf_resources_eligible.py +3 -2
- policyengine_us/variables/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_amount.py +23 -0
- policyengine_us/variables/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_eligible.py +16 -0
- policyengine_us/variables/gov/territories/pr/tax/income/pr_agi.py +11 -1
- policyengine_us/variables/gov/territories/pr/tax/income/pr_agi_person.py +11 -1
- policyengine_us/variables/gov/territories/pr/tax/income/pr_income_tax.py +14 -0
- policyengine_us/variables/gov/territories/pr/tax/income/pr_normal_tax.py +16 -0
- policyengine_us/variables/gov/territories/pr/tax/income/pr_regular_tax_before_credits.py +20 -0
- policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/deductions/pr_deductions.py +13 -0
- policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/exemptions/pr_exemptions.py +13 -0
- policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/pr_net_taxable_income.py +17 -0
- policyengine_us/variables/gov/usda/snap/eligibility/student/is_snap_higher_ed_student.py +17 -0
- policyengine_us/variables/gov/usda/snap/eligibility/student/is_snap_ineligible_student.py +47 -15
- policyengine_us/variables/gov/usda/snap/eligibility/student/meets_snap_parent_exception.py +42 -0
- policyengine_us/variables/gov/usda/snap/eligibility/student/meets_snap_work_exception.py +22 -0
- policyengine_us/variables/gov/usda/snap/eligibility/work_requirements/meets_snap_abawd_work_requirements.py +3 -1
- policyengine_us/variables/gov/usda/snap/eligibility/work_requirements/meets_snap_general_work_requirements.py +3 -1
- policyengine_us/variables/gov/usda/snap/income/deductions/self_employment/snap_self_employment_expense_deduction.py +1 -1
- policyengine_us/variables/gov/usda/snap/income/deductions/self_employment/snap_self_employment_income_after_expense_deduction.py +1 -1
- policyengine_us/variables/gov/usda/snap/income/deductions/snap_dependent_care_deduction.py +5 -1
- policyengine_us/variables/gov/usda/snap/income/snap_countable_earner.py +13 -2
- policyengine_us/variables/gov/usda/wic/is_wic_at_nutritional_risk.py +3 -10
- policyengine_us/variables/gov/usda/wic/is_wic_eligible.py +10 -1
- policyengine_us/variables/household/demographic/geographic/state_group.py +8 -5
- policyengine_us/variables/household/demographic/person/is_part_time_college_student.py +9 -0
- policyengine_us/variables/household/expense/health/has_bcc_qualifying_coverage.py +16 -0
- {policyengine_us-1.424.6.dist-info → policyengine_us-1.455.0.dist-info}/METADATA +2 -2
- {policyengine_us-1.424.6.dist-info → policyengine_us-1.455.0.dist-info}/RECORD +441 -253
- {policyengine_us-1.424.6.dist-info → policyengine_us-1.455.0.dist-info}/WHEEL +1 -1
- policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/baby_bonus_act/age_limit.yaml +0 -8
- policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/baby_bonus_act/amount.yaml +0 -13
- policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/baby_bonus_act/in_effect.yaml +0 -8
- policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/baby_bonus_act/min_birth_year.yaml +0 -8
- policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/amount.yaml +0 -13
- policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/in_effect.yaml +0 -8
- policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/max_age.yaml +0 -8
- policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/min_age.yaml +0 -8
- policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/tax/rate.yaml +0 -8
- policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/tax/threshold.yaml +0 -24
- policyengine_us/parameters/gov/contrib/harris/capital_gains/brackets.yaml +0 -194
- policyengine_us/parameters/gov/irs/capital_gains/brackets.yaml +0 -188
- policyengine_us/parameters/gov/states/wa/dshs/tanf/eligibility/resources/limit.yaml +0 -11
- policyengine_us/reforms/congress/tlaib/income_security_package/__init__.py +0 -17
- policyengine_us/reforms/congress/tlaib/income_security_package/income_security_package.py +0 -402
- policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_ptc_phase_out_rate.yaml +0 -71
- policyengine_us/tests/policy/contrib/congress/tlaib/income_security/integration.yaml +0 -154
- policyengine_us/tests/policy/contrib/congress/tlaib/income_security/state_integration.yaml +0 -115
- policyengine_us/tests/policy/contrib/congress/tlaib/income_security/test_individual_acts.yaml +0 -149
- policyengine_us/tests/policy/contrib/congress/tlaib/income_security/unit_tests.yaml +0 -272
- /policyengine_us/parameters/gov/aca/{ptc_phase_out_rate.yaml → required_contribution_percentage.yaml} +0 -0
- /policyengine_us/parameters/gov/contrib/congress/tlaib/{income_security_package → economic_dignity_for_all_agenda}/end_child_poverty_act/adult_dependent_credit/amount.yaml +0 -0
- /policyengine_us/parameters/gov/contrib/congress/tlaib/{income_security_package → economic_dignity_for_all_agenda}/end_child_poverty_act/child_benefit/age_limit.yaml +0 -0
- /policyengine_us/parameters/gov/contrib/congress/tlaib/{income_security_package → economic_dignity_for_all_agenda}/end_child_poverty_act/filer_credit/amount.yaml +0 -0
- /policyengine_us/parameters/gov/contrib/congress/tlaib/{income_security_package → economic_dignity_for_all_agenda}/end_child_poverty_act/filer_credit/eligibility/max_age.yaml +0 -0
- /policyengine_us/parameters/gov/contrib/congress/tlaib/{income_security_package → economic_dignity_for_all_agenda}/end_child_poverty_act/filer_credit/eligibility/min_age.yaml +0 -0
- /policyengine_us/parameters/gov/contrib/congress/tlaib/{income_security_package → economic_dignity_for_all_agenda}/end_child_poverty_act/filer_credit/phase_out/rate.yaml +0 -0
- /policyengine_us/parameters/gov/contrib/congress/tlaib/{income_security_package → economic_dignity_for_all_agenda}/end_child_poverty_act/filer_credit/phase_out/start.yaml +0 -0
- /policyengine_us/parameters/gov/contrib/congress/tlaib/{income_security_package → economic_dignity_for_all_agenda}/end_child_poverty_act/in_effect.yaml +0 -0
- /policyengine_us/variables/gov/states/co/ssa/{state_suplement → state_supplement}/co_state_supplement.py +0 -0
- /policyengine_us/variables/gov/states/co/ssa/{state_suplement → state_supplement}/co_state_supplement_eligible.py +0 -0
- {policyengine_us-1.424.6.dist-info → policyengine_us-1.455.0.dist-info}/entry_points.txt +0 -0
- {policyengine_us-1.424.6.dist-info → policyengine_us-1.455.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,402 +0,0 @@
|
|
|
1
|
-
from policyengine_us.model_api import *
|
|
2
|
-
from policyengine_core.periods import period as period_
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
def create_income_security_package() -> Reform:
|
|
6
|
-
class baby_bonus_act_payment(Variable):
|
|
7
|
-
value_type = float
|
|
8
|
-
entity = Person
|
|
9
|
-
definition_period = YEAR
|
|
10
|
-
label = "Baby Bonus Act payment"
|
|
11
|
-
unit = USD
|
|
12
|
-
documentation = (
|
|
13
|
-
"One-time payment for newborns under the Baby Bonus Act"
|
|
14
|
-
)
|
|
15
|
-
reference = "placeholder - bill not yet introduced"
|
|
16
|
-
|
|
17
|
-
def formula(person, period, parameters):
|
|
18
|
-
p = parameters(
|
|
19
|
-
period
|
|
20
|
-
).gov.contrib.congress.tlaib.income_security_package.baby_bonus_act
|
|
21
|
-
|
|
22
|
-
# Baby bonus is for those born in 2026 and after, paid in their birth year
|
|
23
|
-
birth_year = person("birth_year", period)
|
|
24
|
-
|
|
25
|
-
age = person("age", period)
|
|
26
|
-
|
|
27
|
-
# Payment only in the birth year for those born 2026+
|
|
28
|
-
is_eligible = (birth_year >= p.min_birth_year) & (
|
|
29
|
-
age < p.age_limit
|
|
30
|
-
)
|
|
31
|
-
|
|
32
|
-
return is_eligible * p.amount
|
|
33
|
-
|
|
34
|
-
class boost_act_payment(Variable):
|
|
35
|
-
value_type = float
|
|
36
|
-
entity = Person
|
|
37
|
-
definition_period = YEAR
|
|
38
|
-
label = "BOOST Act payment"
|
|
39
|
-
unit = USD
|
|
40
|
-
documentation = (
|
|
41
|
-
"Monthly payments under the BOOST Act for eligible adults"
|
|
42
|
-
)
|
|
43
|
-
reference = "placeholder - bill not yet introduced"
|
|
44
|
-
|
|
45
|
-
def formula(person, period, parameters):
|
|
46
|
-
p = parameters(
|
|
47
|
-
period
|
|
48
|
-
).gov.contrib.congress.tlaib.income_security_package.boost_act
|
|
49
|
-
|
|
50
|
-
age = person("age", period)
|
|
51
|
-
is_eligible = (age >= p.min_age) & (age <= p.max_age)
|
|
52
|
-
|
|
53
|
-
annual_amount = p.amount * MONTHS_IN_YEAR
|
|
54
|
-
|
|
55
|
-
return is_eligible * annual_amount
|
|
56
|
-
|
|
57
|
-
class boost_act_tax(Variable):
|
|
58
|
-
value_type = float
|
|
59
|
-
entity = TaxUnit
|
|
60
|
-
definition_period = YEAR
|
|
61
|
-
label = "BOOST Act supplemental tax"
|
|
62
|
-
unit = USD
|
|
63
|
-
documentation = "Supplemental tax on AGI to fund the BOOST Act"
|
|
64
|
-
reference = "placeholder - bill not yet introduced"
|
|
65
|
-
|
|
66
|
-
def formula(tax_unit, period, parameters):
|
|
67
|
-
p = parameters(
|
|
68
|
-
period
|
|
69
|
-
).gov.contrib.congress.tlaib.income_security_package.boost_act
|
|
70
|
-
|
|
71
|
-
agi = tax_unit("adjusted_gross_income", period)
|
|
72
|
-
filing_status = tax_unit("filing_status", period)
|
|
73
|
-
|
|
74
|
-
excess_agi = max_(agi - p.tax.threshold[filing_status], 0)
|
|
75
|
-
|
|
76
|
-
return excess_agi * p.tax.rate
|
|
77
|
-
|
|
78
|
-
class ecpa_child_benefit(Variable):
|
|
79
|
-
value_type = float
|
|
80
|
-
entity = Person
|
|
81
|
-
definition_period = YEAR
|
|
82
|
-
label = "End Child Poverty Act child benefit"
|
|
83
|
-
unit = USD
|
|
84
|
-
documentation = (
|
|
85
|
-
"Universal child benefit under the End Child Poverty Act"
|
|
86
|
-
)
|
|
87
|
-
reference = "placeholder - bill not yet introduced"
|
|
88
|
-
|
|
89
|
-
def formula(person, period, parameters):
|
|
90
|
-
p = parameters(
|
|
91
|
-
period
|
|
92
|
-
).gov.contrib.congress.tlaib.income_security_package.end_child_poverty_act
|
|
93
|
-
|
|
94
|
-
age = person("age", period)
|
|
95
|
-
is_eligible = age < p.child_benefit.age_limit
|
|
96
|
-
|
|
97
|
-
# Use FPG additional_person amount (CONTIGUOUS_US for all states), rounded to nearest $10
|
|
98
|
-
p_fpg = parameters(period).gov.hhs.fpg
|
|
99
|
-
fpg_amount = p_fpg.additional_person.CONTIGUOUS_US
|
|
100
|
-
amount = round(fpg_amount / 10) * 10
|
|
101
|
-
|
|
102
|
-
return is_eligible * amount
|
|
103
|
-
|
|
104
|
-
class ecpa_adult_dependent_credit(Variable):
|
|
105
|
-
value_type = float
|
|
106
|
-
entity = Person
|
|
107
|
-
definition_period = YEAR
|
|
108
|
-
label = "End Child Poverty Act adult dependent credit"
|
|
109
|
-
unit = USD
|
|
110
|
-
documentation = (
|
|
111
|
-
"Credit for adult dependents under the End Child Poverty Act"
|
|
112
|
-
)
|
|
113
|
-
reference = "placeholder - bill not yet introduced"
|
|
114
|
-
|
|
115
|
-
def formula(person, period, parameters):
|
|
116
|
-
p = parameters(
|
|
117
|
-
period
|
|
118
|
-
).gov.contrib.congress.tlaib.income_security_package.end_child_poverty_act
|
|
119
|
-
|
|
120
|
-
age = person("age", period)
|
|
121
|
-
is_dependent = person("is_tax_unit_dependent", period)
|
|
122
|
-
|
|
123
|
-
is_eligible = (
|
|
124
|
-
age >= p.adult_dependent_credit.min_age
|
|
125
|
-
) & is_dependent
|
|
126
|
-
|
|
127
|
-
return is_eligible * p.adult_dependent_credit.amount
|
|
128
|
-
|
|
129
|
-
class ecpa_filer_credit(Variable):
|
|
130
|
-
value_type = float
|
|
131
|
-
entity = TaxUnit
|
|
132
|
-
definition_period = YEAR
|
|
133
|
-
label = "End Child Poverty Act filer credit"
|
|
134
|
-
unit = USD
|
|
135
|
-
documentation = "Filer credit under the End Child Poverty Act for eligible tax filers"
|
|
136
|
-
reference = "placeholder - bill not yet introduced"
|
|
137
|
-
|
|
138
|
-
def formula(tax_unit, period, parameters):
|
|
139
|
-
p = parameters(
|
|
140
|
-
period
|
|
141
|
-
).gov.contrib.congress.tlaib.income_security_package.end_child_poverty_act
|
|
142
|
-
|
|
143
|
-
person = tax_unit.members
|
|
144
|
-
age = person("age", period)
|
|
145
|
-
|
|
146
|
-
is_head_or_spouse = person("is_tax_unit_head_or_spouse", period)
|
|
147
|
-
|
|
148
|
-
is_eligible_age = (age >= p.filer_credit.eligibility.min_age) & (
|
|
149
|
-
age < p.filer_credit.eligibility.max_age
|
|
150
|
-
)
|
|
151
|
-
is_eligible_filer = is_head_or_spouse & is_eligible_age
|
|
152
|
-
|
|
153
|
-
has_eligible_filer = tax_unit.any(is_eligible_filer)
|
|
154
|
-
|
|
155
|
-
filing_status = tax_unit("filing_status", period)
|
|
156
|
-
amount = p.filer_credit.amount[filing_status]
|
|
157
|
-
|
|
158
|
-
agi = tax_unit("adjusted_gross_income", period)
|
|
159
|
-
excess_agi = max_(
|
|
160
|
-
agi - p.filer_credit.phase_out.start[filing_status], 0
|
|
161
|
-
)
|
|
162
|
-
phase_out = excess_agi * p.filer_credit.phase_out.rate
|
|
163
|
-
|
|
164
|
-
phased_out_amount = max_(amount - phase_out, 0)
|
|
165
|
-
|
|
166
|
-
return has_eligible_filer * phased_out_amount
|
|
167
|
-
|
|
168
|
-
class household_benefits(Variable):
|
|
169
|
-
value_type = float
|
|
170
|
-
entity = Household
|
|
171
|
-
label = "benefits"
|
|
172
|
-
unit = USD
|
|
173
|
-
definition_period = YEAR
|
|
174
|
-
|
|
175
|
-
def formula(household, period, parameters):
|
|
176
|
-
p = parameters(
|
|
177
|
-
period
|
|
178
|
-
).gov.contrib.congress.tlaib.income_security_package
|
|
179
|
-
|
|
180
|
-
BENEFITS = [
|
|
181
|
-
"social_security",
|
|
182
|
-
"ssi",
|
|
183
|
-
"snap",
|
|
184
|
-
"wic",
|
|
185
|
-
"free_school_meals",
|
|
186
|
-
"reduced_price_school_meals",
|
|
187
|
-
"spm_unit_broadband_subsidy",
|
|
188
|
-
"tanf",
|
|
189
|
-
"high_efficiency_electric_home_rebate",
|
|
190
|
-
"residential_efficiency_electrification_rebate",
|
|
191
|
-
"unemployment_compensation",
|
|
192
|
-
# Contributed.
|
|
193
|
-
"basic_income",
|
|
194
|
-
"spm_unit_capped_housing_subsidy",
|
|
195
|
-
"household_state_benefits",
|
|
196
|
-
]
|
|
197
|
-
|
|
198
|
-
# Add Income Security Package benefits if active
|
|
199
|
-
if p.baby_bonus_act.in_effect:
|
|
200
|
-
BENEFITS.append("baby_bonus_act_payment")
|
|
201
|
-
if p.boost_act.in_effect:
|
|
202
|
-
BENEFITS.append("boost_act_payment")
|
|
203
|
-
if p.end_child_poverty_act.in_effect:
|
|
204
|
-
BENEFITS.append("ecpa_child_benefit")
|
|
205
|
-
|
|
206
|
-
return add(household, period, BENEFITS)
|
|
207
|
-
|
|
208
|
-
class spm_unit_benefits(Variable):
|
|
209
|
-
value_type = float
|
|
210
|
-
entity = SPMUnit
|
|
211
|
-
label = "Benefits"
|
|
212
|
-
definition_period = YEAR
|
|
213
|
-
unit = USD
|
|
214
|
-
|
|
215
|
-
def formula(spm_unit, period, parameters):
|
|
216
|
-
p = parameters(
|
|
217
|
-
period
|
|
218
|
-
).gov.contrib.congress.tlaib.income_security_package
|
|
219
|
-
|
|
220
|
-
BENEFITS = [
|
|
221
|
-
"social_security",
|
|
222
|
-
"ssi",
|
|
223
|
-
"ma_state_supplement", # Massachusetts benefits
|
|
224
|
-
# California programs.
|
|
225
|
-
"ca_cvrp", # California Clean Vehicle Rebate Project.
|
|
226
|
-
# Colorado programs.
|
|
227
|
-
"co_ccap_subsidy",
|
|
228
|
-
"co_state_supplement",
|
|
229
|
-
"co_oap",
|
|
230
|
-
"snap",
|
|
231
|
-
"wic",
|
|
232
|
-
"free_school_meals",
|
|
233
|
-
"reduced_price_school_meals",
|
|
234
|
-
"spm_unit_broadband_subsidy",
|
|
235
|
-
"spm_unit_energy_subsidy",
|
|
236
|
-
"tanf",
|
|
237
|
-
"high_efficiency_electric_home_rebate",
|
|
238
|
-
"residential_efficiency_electrification_rebate",
|
|
239
|
-
"unemployment_compensation",
|
|
240
|
-
# Contributed.
|
|
241
|
-
"basic_income",
|
|
242
|
-
"ny_drive_clean_rebate",
|
|
243
|
-
]
|
|
244
|
-
|
|
245
|
-
# Add Income Security Package benefits if active
|
|
246
|
-
if p.baby_bonus_act.in_effect:
|
|
247
|
-
BENEFITS.append("baby_bonus_act_payment")
|
|
248
|
-
if p.boost_act.in_effect:
|
|
249
|
-
BENEFITS.append("boost_act_payment")
|
|
250
|
-
if p.end_child_poverty_act.in_effect:
|
|
251
|
-
BENEFITS.append("ecpa_child_benefit")
|
|
252
|
-
|
|
253
|
-
if parameters(period).gov.contrib.ubi_center.flat_tax.deduct_ptc:
|
|
254
|
-
BENEFITS.append("aca_ptc")
|
|
255
|
-
if not parameters(period).gov.hud.abolition:
|
|
256
|
-
BENEFITS.append("spm_unit_capped_housing_subsidy")
|
|
257
|
-
|
|
258
|
-
return add(spm_unit, period, BENEFITS)
|
|
259
|
-
|
|
260
|
-
class income_tax(Variable):
|
|
261
|
-
value_type = float
|
|
262
|
-
entity = TaxUnit
|
|
263
|
-
label = "federal income tax"
|
|
264
|
-
unit = USD
|
|
265
|
-
definition_period = YEAR
|
|
266
|
-
|
|
267
|
-
def formula(tax_unit, period, parameters):
|
|
268
|
-
p = parameters(
|
|
269
|
-
period
|
|
270
|
-
).gov.contrib.congress.tlaib.income_security_package
|
|
271
|
-
|
|
272
|
-
# Start with income tax after non-refundable credits
|
|
273
|
-
base_tax = tax_unit("income_tax_before_refundable_credits", period)
|
|
274
|
-
|
|
275
|
-
# Subtract refundable credits
|
|
276
|
-
refundable_credits = tax_unit(
|
|
277
|
-
"income_tax_refundable_credits", period
|
|
278
|
-
)
|
|
279
|
-
|
|
280
|
-
reduced_tax = base_tax - refundable_credits
|
|
281
|
-
|
|
282
|
-
# Add BOOST tax only if active
|
|
283
|
-
if p.boost_act.in_effect:
|
|
284
|
-
boost_tax = tax_unit("boost_act_tax", period)
|
|
285
|
-
return reduced_tax + boost_tax
|
|
286
|
-
else:
|
|
287
|
-
return reduced_tax
|
|
288
|
-
|
|
289
|
-
class income_tax_refundable_credits(Variable):
|
|
290
|
-
value_type = float
|
|
291
|
-
entity = TaxUnit
|
|
292
|
-
definition_period = YEAR
|
|
293
|
-
label = "federal refundable income tax credits"
|
|
294
|
-
unit = USD
|
|
295
|
-
|
|
296
|
-
def formula(tax_unit, period, parameters):
|
|
297
|
-
p = parameters(
|
|
298
|
-
period
|
|
299
|
-
).gov.contrib.congress.tlaib.income_security_package.end_child_poverty_act
|
|
300
|
-
|
|
301
|
-
# Get standard refundable credits, excluding EITC and refundable CTC if ECPA is active
|
|
302
|
-
standard_credits = parameters(period).gov.irs.credits.refundable
|
|
303
|
-
|
|
304
|
-
if p.in_effect:
|
|
305
|
-
# ECPA replaces EITC and refundable CTC
|
|
306
|
-
CREDITS = [
|
|
307
|
-
c
|
|
308
|
-
for c in standard_credits
|
|
309
|
-
if c not in ["eitc", "refundable_ctc"]
|
|
310
|
-
]
|
|
311
|
-
else:
|
|
312
|
-
# Use all standard credits
|
|
313
|
-
CREDITS = list(standard_credits)
|
|
314
|
-
|
|
315
|
-
base_credits = add(tax_unit, period, CREDITS) if CREDITS else 0
|
|
316
|
-
|
|
317
|
-
# Add ECPA credits only if active
|
|
318
|
-
if p.in_effect:
|
|
319
|
-
ecpa_filer = tax_unit("ecpa_filer_credit", period)
|
|
320
|
-
ecpa_adult_dep = add(
|
|
321
|
-
tax_unit, period, ["ecpa_adult_dependent_credit"]
|
|
322
|
-
)
|
|
323
|
-
return base_credits + ecpa_filer + ecpa_adult_dep
|
|
324
|
-
else:
|
|
325
|
-
return base_credits
|
|
326
|
-
|
|
327
|
-
class income_tax_non_refundable_credits(Variable):
|
|
328
|
-
value_type = float
|
|
329
|
-
entity = TaxUnit
|
|
330
|
-
definition_period = YEAR
|
|
331
|
-
label = "federal non-refundable income tax credits"
|
|
332
|
-
unit = USD
|
|
333
|
-
|
|
334
|
-
def formula(tax_unit, period, parameters):
|
|
335
|
-
# Get the base list of non-refundable credits from parameters
|
|
336
|
-
p = parameters(period).gov.irs.credits
|
|
337
|
-
base_credits = list(p.non_refundable)
|
|
338
|
-
|
|
339
|
-
# Check if ECPA is active
|
|
340
|
-
ecpa_params = parameters(
|
|
341
|
-
period
|
|
342
|
-
).gov.contrib.congress.tlaib.income_security_package.end_child_poverty_act
|
|
343
|
-
ecpa_active = ecpa_params.in_effect
|
|
344
|
-
|
|
345
|
-
# If ECPA is active, remove non_refundable_ctc from the list
|
|
346
|
-
if ecpa_active:
|
|
347
|
-
CREDITS = [
|
|
348
|
-
c for c in base_credits if c != "non_refundable_ctc"
|
|
349
|
-
]
|
|
350
|
-
else:
|
|
351
|
-
CREDITS = base_credits
|
|
352
|
-
|
|
353
|
-
return add(tax_unit, period, CREDITS)
|
|
354
|
-
|
|
355
|
-
class reform(Reform):
|
|
356
|
-
def apply(self):
|
|
357
|
-
# Update all variables for the Income Security Package
|
|
358
|
-
self.update_variable(baby_bonus_act_payment)
|
|
359
|
-
self.update_variable(boost_act_payment)
|
|
360
|
-
self.update_variable(boost_act_tax)
|
|
361
|
-
self.update_variable(ecpa_child_benefit)
|
|
362
|
-
self.update_variable(ecpa_adult_dependent_credit)
|
|
363
|
-
self.update_variable(ecpa_filer_credit)
|
|
364
|
-
self.update_variable(household_benefits)
|
|
365
|
-
self.update_variable(spm_unit_benefits)
|
|
366
|
-
self.update_variable(income_tax)
|
|
367
|
-
self.update_variable(income_tax_refundable_credits)
|
|
368
|
-
self.update_variable(income_tax_non_refundable_credits)
|
|
369
|
-
|
|
370
|
-
return reform
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
def create_income_security_package_reform(
|
|
374
|
-
parameters, period, bypass: bool = False
|
|
375
|
-
):
|
|
376
|
-
if bypass:
|
|
377
|
-
return create_income_security_package()
|
|
378
|
-
|
|
379
|
-
p = parameters.gov.contrib.congress.tlaib.income_security_package
|
|
380
|
-
|
|
381
|
-
reform_active = False
|
|
382
|
-
current_period = period_(period)
|
|
383
|
-
|
|
384
|
-
for i in range(5):
|
|
385
|
-
if (
|
|
386
|
-
p(current_period).baby_bonus_act.in_effect
|
|
387
|
-
or p(current_period).boost_act.in_effect
|
|
388
|
-
or p(current_period).end_child_poverty_act.in_effect
|
|
389
|
-
):
|
|
390
|
-
reform_active = True
|
|
391
|
-
break
|
|
392
|
-
current_period = current_period.offset(1, "year")
|
|
393
|
-
|
|
394
|
-
if reform_active:
|
|
395
|
-
return create_income_security_package()
|
|
396
|
-
else:
|
|
397
|
-
return None
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
income_security_package = create_income_security_package_reform(
|
|
401
|
-
None, None, bypass=True
|
|
402
|
-
)
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
- name: aca_ptc_phase_out_rate unit test 1
|
|
2
|
-
period: 2022
|
|
3
|
-
absolute_error_margin: 0.00001
|
|
4
|
-
input:
|
|
5
|
-
aca_magi_fraction: 1.40
|
|
6
|
-
output:
|
|
7
|
-
aca_ptc_phase_out_rate: 0
|
|
8
|
-
|
|
9
|
-
- name: aca_ptc_phase_out_rate unit test 2
|
|
10
|
-
period: 2022
|
|
11
|
-
absolute_error_margin: 0.00001
|
|
12
|
-
input:
|
|
13
|
-
aca_magi_fraction: 1.90
|
|
14
|
-
output:
|
|
15
|
-
aca_ptc_phase_out_rate: 0.0160
|
|
16
|
-
|
|
17
|
-
- name: aca_ptc_phase_out_rate unit test 3
|
|
18
|
-
period: 2022
|
|
19
|
-
absolute_error_margin: 0.00001
|
|
20
|
-
input:
|
|
21
|
-
aca_magi_fraction: 2.40
|
|
22
|
-
output:
|
|
23
|
-
aca_ptc_phase_out_rate: 0.0360
|
|
24
|
-
|
|
25
|
-
- name: aca_ptc_phase_out_rate unit test 4
|
|
26
|
-
period: 2022
|
|
27
|
-
absolute_error_margin: 0.00001
|
|
28
|
-
input:
|
|
29
|
-
aca_magi_fraction: 2.90
|
|
30
|
-
output:
|
|
31
|
-
aca_ptc_phase_out_rate: 0.0560
|
|
32
|
-
|
|
33
|
-
- name: aca_ptc_phase_out_rate unit test 5
|
|
34
|
-
period: 2022
|
|
35
|
-
absolute_error_margin: 0.00001
|
|
36
|
-
input:
|
|
37
|
-
aca_magi_fraction: 3.40
|
|
38
|
-
output:
|
|
39
|
-
aca_ptc_phase_out_rate: 0.0700
|
|
40
|
-
|
|
41
|
-
- name: aca_ptc_phase_out_rate unit test 6
|
|
42
|
-
period: 2022
|
|
43
|
-
absolute_error_margin: 0.00001
|
|
44
|
-
input:
|
|
45
|
-
aca_magi_fraction: 3.90
|
|
46
|
-
output:
|
|
47
|
-
aca_ptc_phase_out_rate: 0.0825
|
|
48
|
-
|
|
49
|
-
- name: aca_ptc_phase_out_rate unit test 7
|
|
50
|
-
period: 2022
|
|
51
|
-
absolute_error_margin: 0.00001
|
|
52
|
-
input:
|
|
53
|
-
aca_magi_fraction: 4.40
|
|
54
|
-
output:
|
|
55
|
-
aca_ptc_phase_out_rate: 0.0850
|
|
56
|
-
|
|
57
|
-
- name: aca_ptc_phase_out_rate 2025
|
|
58
|
-
period: 2025
|
|
59
|
-
absolute_error_margin: 0.00001
|
|
60
|
-
input:
|
|
61
|
-
aca_magi_fraction: 4.0
|
|
62
|
-
output:
|
|
63
|
-
aca_ptc_phase_out_rate: 0.0850
|
|
64
|
-
|
|
65
|
-
- name: aca_ptc_phase_out_rate 2026
|
|
66
|
-
period: 2026
|
|
67
|
-
absolute_error_margin: 0.00001
|
|
68
|
-
input:
|
|
69
|
-
aca_magi_fraction: 4.0
|
|
70
|
-
output:
|
|
71
|
-
aca_ptc_phase_out_rate: 0.0996
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
- name: Family with baby, children, and adults receives all benefits
|
|
2
|
-
period: 2026
|
|
3
|
-
reforms: policyengine_us.reforms.congress.tlaib.income_security_package.income_security_package
|
|
4
|
-
input:
|
|
5
|
-
gov.contrib.congress.tlaib.income_security_package.baby_bonus_act.in_effect: true
|
|
6
|
-
gov.contrib.congress.tlaib.income_security_package.boost_act.in_effect: true
|
|
7
|
-
gov.contrib.congress.tlaib.income_security_package.end_child_poverty_act.in_effect: true
|
|
8
|
-
people:
|
|
9
|
-
baby:
|
|
10
|
-
age: 0
|
|
11
|
-
child1:
|
|
12
|
-
age: 5
|
|
13
|
-
child2:
|
|
14
|
-
age: 10
|
|
15
|
-
adult_head:
|
|
16
|
-
age: 35
|
|
17
|
-
adult_spouse:
|
|
18
|
-
age: 33
|
|
19
|
-
adult_dependent:
|
|
20
|
-
age: 20
|
|
21
|
-
is_tax_unit_dependent: true
|
|
22
|
-
tax_units:
|
|
23
|
-
tax_unit:
|
|
24
|
-
members: [adult_head, adult_spouse, baby, child1, child2, adult_dependent]
|
|
25
|
-
filing_status: JOINT
|
|
26
|
-
adjusted_gross_income: 45_000 # 5,000 above phase-out start
|
|
27
|
-
output:
|
|
28
|
-
# Baby Bonus
|
|
29
|
-
baby_bonus_act_payment:
|
|
30
|
-
2026: [2_000, 0, 0, 0, 0, 0] # Only baby gets bonus
|
|
31
|
-
# ECPA Child Benefit
|
|
32
|
-
ecpa_child_benefit:
|
|
33
|
-
2026: [5_630, 5_630, 5_630, 0, 0, 0] # All children under 19
|
|
34
|
-
# ECPA Adult Dependent Credit
|
|
35
|
-
ecpa_adult_dependent_credit:
|
|
36
|
-
2026: [0, 0, 0, 0, 0, 700] # Only adult dependent
|
|
37
|
-
# BOOST Payment
|
|
38
|
-
boost_act_payment:
|
|
39
|
-
2026: [0, 0, 0, 3_000, 3_000, 3_000] # Adults 19-67
|
|
40
|
-
# ECPA Filer Credit (at tax unit level)
|
|
41
|
-
ecpa_filer_credit:
|
|
42
|
-
2026: 1_150 # 1,400 - (5,000 * 0.05)
|
|
43
|
-
# BOOST Tax (at tax unit level)
|
|
44
|
-
boost_act_tax:
|
|
45
|
-
2026: 0 # Below 60,000 threshold for joint
|
|
46
|
-
|
|
47
|
-
- name: Single parent with high income
|
|
48
|
-
period: 2026
|
|
49
|
-
reforms: policyengine_us.reforms.congress.tlaib.income_security_package.income_security_package
|
|
50
|
-
input:
|
|
51
|
-
gov.contrib.congress.tlaib.income_security_package.baby_bonus_act.in_effect: true
|
|
52
|
-
gov.contrib.congress.tlaib.income_security_package.boost_act.in_effect: true
|
|
53
|
-
gov.contrib.congress.tlaib.income_security_package.end_child_poverty_act.in_effect: true
|
|
54
|
-
people:
|
|
55
|
-
parent:
|
|
56
|
-
age: 40
|
|
57
|
-
child:
|
|
58
|
-
age: 8
|
|
59
|
-
tax_units:
|
|
60
|
-
tax_unit:
|
|
61
|
-
members: [parent, child]
|
|
62
|
-
filing_status: HEAD_OF_HOUSEHOLD
|
|
63
|
-
adjusted_gross_income: 80_000
|
|
64
|
-
output:
|
|
65
|
-
# No baby bonus (child too old)
|
|
66
|
-
baby_bonus_act_payment:
|
|
67
|
-
2026: [0, 0]
|
|
68
|
-
# Child benefit
|
|
69
|
-
ecpa_child_benefit:
|
|
70
|
-
2026: [0, 5_630]
|
|
71
|
-
# BOOST payment for parent
|
|
72
|
-
boost_act_payment:
|
|
73
|
-
2026: [3_000, 0]
|
|
74
|
-
# ECPA filer credit fully phased out
|
|
75
|
-
ecpa_filer_credit:
|
|
76
|
-
2026: 0 # 700 - (60,000 * 0.05) = -2,300, max to 0
|
|
77
|
-
# BOOST tax on high income
|
|
78
|
-
boost_act_tax:
|
|
79
|
-
2026: 1_250 # (80,000 - 30,000) * 0.025
|
|
80
|
-
|
|
81
|
-
- name: Senior couple with adult dependent
|
|
82
|
-
period: 2026
|
|
83
|
-
reforms: policyengine_us.reforms.congress.tlaib.income_security_package.income_security_package
|
|
84
|
-
input:
|
|
85
|
-
gov.contrib.congress.tlaib.income_security_package.baby_bonus_act.in_effect: true
|
|
86
|
-
gov.contrib.congress.tlaib.income_security_package.boost_act.in_effect: true
|
|
87
|
-
gov.contrib.congress.tlaib.income_security_package.end_child_poverty_act.in_effect: true
|
|
88
|
-
people:
|
|
89
|
-
senior1:
|
|
90
|
-
age: 68
|
|
91
|
-
senior2:
|
|
92
|
-
age: 70
|
|
93
|
-
adult_dependent:
|
|
94
|
-
age: 40
|
|
95
|
-
is_tax_unit_dependent: true
|
|
96
|
-
tax_units:
|
|
97
|
-
tax_unit:
|
|
98
|
-
members: [senior1, senior2, adult_dependent]
|
|
99
|
-
filing_status: JOINT
|
|
100
|
-
adjusted_gross_income: 35_000
|
|
101
|
-
output:
|
|
102
|
-
# No baby bonus
|
|
103
|
-
baby_bonus_act_payment:
|
|
104
|
-
2026: [0, 0, 0]
|
|
105
|
-
# No child benefit (all adults)
|
|
106
|
-
ecpa_child_benefit:
|
|
107
|
-
2026: [0, 0, 0]
|
|
108
|
-
# Adult dependent credit
|
|
109
|
-
ecpa_adult_dependent_credit:
|
|
110
|
-
2026: [0, 0, 700]
|
|
111
|
-
# BOOST payment only for adult dependent (seniors too old)
|
|
112
|
-
boost_act_payment:
|
|
113
|
-
2026: [0, 0, 3_000]
|
|
114
|
-
# No filer credit (seniors over 64)
|
|
115
|
-
ecpa_filer_credit:
|
|
116
|
-
2026: 0
|
|
117
|
-
# No BOOST tax (below threshold)
|
|
118
|
-
boost_act_tax:
|
|
119
|
-
2026: 0
|
|
120
|
-
|
|
121
|
-
- name: Young adult living alone
|
|
122
|
-
period: 2026
|
|
123
|
-
reforms: policyengine_us.reforms.congress.tlaib.income_security_package.income_security_package
|
|
124
|
-
input:
|
|
125
|
-
gov.contrib.congress.tlaib.income_security_package.baby_bonus_act.in_effect: true
|
|
126
|
-
gov.contrib.congress.tlaib.income_security_package.boost_act.in_effect: true
|
|
127
|
-
gov.contrib.congress.tlaib.income_security_package.end_child_poverty_act.in_effect: true
|
|
128
|
-
people:
|
|
129
|
-
young_adult:
|
|
130
|
-
age: 19
|
|
131
|
-
tax_units:
|
|
132
|
-
tax_unit:
|
|
133
|
-
members: [young_adult]
|
|
134
|
-
filing_status: SINGLE
|
|
135
|
-
adjusted_gross_income: 12_000
|
|
136
|
-
output:
|
|
137
|
-
# No baby bonus
|
|
138
|
-
baby_bonus_act_payment:
|
|
139
|
-
2026: 0
|
|
140
|
-
# No child benefit (19 or over)
|
|
141
|
-
ecpa_child_benefit:
|
|
142
|
-
2026: 0
|
|
143
|
-
# Not a dependent
|
|
144
|
-
ecpa_adult_dependent_credit:
|
|
145
|
-
2026: 0
|
|
146
|
-
# Gets BOOST payment
|
|
147
|
-
boost_act_payment:
|
|
148
|
-
2026: 3_000
|
|
149
|
-
# Gets filer credit
|
|
150
|
-
ecpa_filer_credit:
|
|
151
|
-
2026: 700 # No phase-out
|
|
152
|
-
# No BOOST tax (below threshold)
|
|
153
|
-
boost_act_tax:
|
|
154
|
-
2026: 0
|