policyengine-us 1.420.0__py3-none-any.whl → 1.441.3__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/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/ctc/per_child_phase_out/avoid_overlap.yaml +7 -0
- 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/age_limit.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/amount.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/in_effect.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/phaseout/rate.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/phaseout/threshold.yaml +23 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/refundability/cap.yaml +9 -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/age_limit/in_effect.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/age_limit/threshold.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/amount.yaml +15 -0
- policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/in_effect.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/phaseout/rate.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/phaseout/threshold.yaml +23 -0
- 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/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/states/ca/tax/income/agi/subtractions.yaml +1 -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 +11 -0
- policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/scale.yaml +1 -1
- policyengine_us/parameters/gov/states/co/tax/income/credits/tabor/joint.yaml +12 -0
- policyengine_us/parameters/gov/states/co/tax/income/credits/tabor/single.yaml +12 -0
- policyengine_us/parameters/gov/states/de/tax/income/credits/refundable.yaml +2 -2
- policyengine_us/parameters/gov/states/de/tax/income/credits/relief_rebate/amount.yaml +1 -1
- 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 +8 -2
- policyengine_us/parameters/gov/states/ga/tax/income/credits/surplus_tax_rebate/amount.yaml +5 -5
- policyengine_us/parameters/gov/states/hi/tax/income/alternative_tax/availability.yaml +2 -3
- policyengine_us/parameters/gov/states/hi/tax/income/credits/act_115_rebate/joint.yaml +20 -0
- policyengine_us/parameters/gov/states/hi/tax/income/credits/act_115_rebate/single.yaml +20 -0
- policyengine_us/parameters/gov/states/hi/tax/income/credits/refundable.yaml +6 -0
- policyengine_us/parameters/gov/states/id/tax/income/credits/2022_rebate/floor.yaml +1 -1
- policyengine_us/parameters/gov/states/id/tax/income/credits/2022_rebate/rate.yaml +1 -1
- policyengine_us/parameters/gov/states/id/tax/income/credits/refundable.yaml +4 -4
- policyengine_us/parameters/gov/states/id/tax/income/credits/special_seasonal_rebate/floor.yaml +5 -5
- policyengine_us/parameters/gov/states/id/tax/income/credits/special_seasonal_rebate/rate.yaml +1 -1
- policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/dependent.yaml +10 -0
- policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/joint.yaml +20 -0
- policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/other.yaml +20 -0
- policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/max_dependents.yaml +10 -0
- policyengine_us/parameters/gov/states/il/tax/income/credits/refundable.yaml +5 -0
- policyengine_us/parameters/gov/states/in/tax/income/credits/automatic_refund_rebate/amount/additional.yaml +10 -0
- policyengine_us/parameters/gov/states/in/tax/income/credits/automatic_refund_rebate/amount/base.yaml +12 -0
- policyengine_us/parameters/gov/states/in/tax/income/credits/refundable.yaml +6 -1
- 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/ma/tax/income/credits/refundable.yaml +12 -0
- policyengine_us/parameters/gov/states/ma/tax/income/credits/taxpayer_refund_rebate/rate.yaml +10 -0
- policyengine_us/parameters/gov/states/me/tax/income/credits/refundable.yaml +6 -0
- policyengine_us/parameters/gov/states/me/tax/income/credits/relief_rebate/amount.yaml +10 -0
- policyengine_us/parameters/gov/states/me/tax/income/credits/relief_rebate/income_limit.yaml +21 -0
- policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/ctc/age_limit.yaml +14 -0
- policyengine_us/parameters/gov/states/mt/tax/income/credits/non_refundable.yaml +1 -4
- policyengine_us/parameters/gov/states/mt/tax/income/credits/rebate/amount.yaml +5 -5
- policyengine_us/parameters/gov/states/nm/tax/income/modified_gross_income.yaml +0 -1
- 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/ri/tax/income/credits/child_tax_rebate/amount.yaml +1 -1
- policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/age.yaml +1 -1
- policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/child.yaml +1 -1
- policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/income.yaml +5 -5
- policyengine_us/parameters/gov/states/ri/tax/income/credits/refundable.yaml +1 -4
- policyengine_us/parameters/gov/states/sc/tax/income/credits/2022_rebate/amount.yaml +12 -0
- policyengine_us/parameters/gov/states/sc/tax/income/credits/non_refundable.yaml +7 -1
- policyengine_us/parameters/gov/states/tx/dta/csfp/fpg_limit.yaml +10 -0
- policyengine_us/parameters/gov/states/tx/twc/README.md +1 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/README.md +1 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/child.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/disabled_child.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/infant.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/school_age.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/toddler.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/assets/limit.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/copay/rate/additional_child.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/copay/rate/first_child.yaml +55 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/copay/rate/maximum.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/income/smi_rate.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/income/sources.yaml +23 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/payment/rates.yaml +10459 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/alamo.yaml +25 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/borderplex.yaml +18 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/brazos_valley.yaml +19 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/cameron_county.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/capital_area.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/central_texas.yaml +19 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/coastal_bend.yaml +24 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/concho_valley.yaml +25 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/dallas_county.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/deep_east.yaml +24 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/east_texas.yaml +26 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/golden_crescent.yaml +19 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/gulf_coast.yaml +25 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/heart_of_texas.yaml +18 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/lower_rio.yaml +15 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/middle_rio.yaml +21 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/north_central.yaml +26 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/north_texas.yaml +23 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/northeast_texas.yaml +21 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/panhandle.yaml +38 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/permian_basin.yaml +29 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/rural_capital.yaml +21 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/south_plains.yaml +27 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/south_texas.yaml +15 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/southeast.yaml +15 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/tarrant_county.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/texoma.yaml +15 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/west_central.yaml +31 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/work_requirements/single_parent.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/work_requirements/two_parent.yaml +11 -0
- policyengine_us/parameters/gov/states/va/tax/income/credits/non_refundable.yaml +5 -1
- policyengine_us/parameters/gov/states/va/tax/income/rebate/amount.yaml +10 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/credits/refundable.yaml +2 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/tax_rate/amount.yaml +35 -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 +36 -3
- policyengine_us/reforms/harris/capital_gains/harris_capital_gains.py +7 -7
- policyengine_us/reforms/reforms.py +18 -4
- policyengine_us/reforms/states/ri/__init__.py +2 -0
- policyengine_us/reforms/states/ri/ctc/__init__.py +1 -0
- policyengine_us/reforms/states/ri/ctc/ri_ctc_reform.py +207 -0
- policyengine_us/reforms/states/ri/exemption/__init__.py +1 -0
- policyengine_us/reforms/states/ri/exemption/ri_exemption_reform.py +167 -0
- 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/tanf/tanf_fpg.yaml +53 -0
- policyengine_us/tests/policy/baseline/gov/irs/integration/us_itemize.yaml +1 -1
- 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/ssa/ssi/integration_tests.yaml +150 -4
- policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/integration.yaml +50 -0
- 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/co/tax/income/credits/co_tabor_cash_back.yaml +71 -0
- policyengine_us/tests/policy/baseline/gov/states/co/tax/income/integration.yaml +38 -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/ga/tax/income/integration.yaml +47 -0
- policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/subtractions/retirement/ga_retirement_exclusion_countable_earned_income.yaml +17 -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/credits/hi_act_115_rebate.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/integration.yaml +159 -0
- policyengine_us/tests/policy/baseline/gov/states/il/tax/income/credits/il_income_tax_rebate.yaml +49 -0
- policyengine_us/tests/policy/baseline/gov/states/il/tax/income/credits/il_income_tax_rebate_eligible.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/states/in/tax/income/credits/in_automatic_refund_rebate.yaml +47 -0
- policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_fstc.yaml +4 -4
- policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_integration.yaml +48 -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/ma/tax/income/credits/ma_taxpayer_refund_rebate.yaml +42 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/integration_ma.yaml +6 -0
- policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/me_relief_rebate.yaml +26 -0
- policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/me_relief_rebate_eligible.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits_ctc_eligible_child.yaml +26 -0
- policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/mn_integration.yaml +55 -0
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/integration.yaml +3 -0
- 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/integation.yaml +57 -0
- policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/integration.yaml +60 -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 +59 -0
- policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/credits/pa_eitc.yaml +26 -0
- policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/integration.yaml +47 -0
- policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/sc_2022_rebate.yaml +76 -0
- policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/sc_cdcc.yaml +9 -9
- policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/integration.yaml +58 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/dta/csfp/tx_dta_csfp_income_eligible.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/copay/tx_ccs_copay.yaml +165 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_asset_eligible.yaml +67 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_eligible.yaml +114 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_eligible_child.yaml +172 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_income_eligible.yaml +65 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_work_exempt.yaml +24 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_work_requirement_eligible.yaml +155 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/payment/tx_ccs_payment_rate.yaml +224 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/tx_ccs.yaml +132 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/tx_ccs_child_age_category.yaml +127 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/tx_ccs_maximum_payment.yaml +141 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/tx_ccs_workforce_board_region.yaml +79 -0
- policyengine_us/tests/policy/baseline/gov/states/va/tax/income/integration.yaml +2 -0
- policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/integration.yaml +48 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_normal_tax.yaml +31 -0
- policyengine_us/tests/policy/baseline/gov/test_categorical_eligibility_vectorization.yaml +41 -0
- policyengine_us/tests/policy/baseline/gov/usda/csfp/commodity_supplemental_food_program_eligible.yaml +171 -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/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 +205 -2
- policyengine_us/tests/policy/contrib/states/ri/ctc_reform_test.yaml +321 -0
- policyengine_us/tests/policy/contrib/states/ri/exemption_reform_test.yaml +117 -0
- 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/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/cpuc/care/eligibility/ca_care_categorically_eligible.py +2 -2
- 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/co/tax/income/credits/co_tabor_cash_back.py +17 -0
- policyengine_us/variables/gov/states/ga/tax/income/credits/ga_itemizer_credit.py +19 -0
- policyengine_us/variables/gov/states/ga/tax/income/subtractions/retirement/ga_retirement_exclusion_countable_earned_income.py +5 -2
- 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/hi/tax/income/credits/hi_act_115_rebate.py +32 -0
- policyengine_us/variables/gov/states/il/tax/income/credits/il_income_tax_rebate.py +27 -0
- policyengine_us/variables/gov/states/il/tax/income/credits/il_income_tax_rebate_eligible.py +24 -0
- policyengine_us/variables/gov/states/in/tax/income/credits/in_automatic_refund_rebate.py +26 -0
- policyengine_us/variables/gov/states/ks/tax/income/credits/ks_fstc.py +1 -1
- 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/ma/tax/income/credits/ma_taxpayer_refund_rebate.py +29 -0
- policyengine_us/variables/gov/states/me/tax/income/credits/me_relief_rebate.py +16 -0
- policyengine_us/variables/gov/states/me/tax/income/credits/me_relief_rebate_eligible.py +17 -0
- policyengine_us/variables/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits.py +5 -1
- policyengine_us/variables/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits_ctc_eligible_child.py +24 -0
- policyengine_us/variables/gov/states/mt/tax/income/credits/rebate/mt_income_tax_rebate.py +1 -2
- policyengine_us/variables/gov/states/nj/tax/income/credits/cdcc/nj_cdcc.py +2 -2
- 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/sc/tax/income/credits/cdcc/sc_cdcc.py +1 -1
- policyengine_us/variables/gov/states/sc/tax/income/credits/sc_2022_rebate.py +29 -0
- policyengine_us/variables/gov/states/tx/dta/csfp/tx_dta_csfp_income_eligible.py +14 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/copay/tx_ccs_copay.py +40 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_asset_eligible.py +16 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_eligible.py +28 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_eligible_child.py +22 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_income_eligible.py +19 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_work_exempt.py +26 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_work_requirement_eligible.py +44 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/payment/tx_ccs_care_schedule.py +18 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/payment/tx_ccs_payment_rate.py +36 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/payment/tx_ccs_provider_rating.py +21 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/payment/tx_ccs_provider_type.py +19 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs.py +21 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs_child_age_category.py +41 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs_countable_income.py +13 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs_maximum_payment.py +15 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs_workforce_board_region.py +68 -0
- policyengine_us/variables/gov/states/wi/tax/income/credits/married_couple/wi_married_couple_credit.py +7 -5
- 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 +11 -0
- policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/pr_net_taxable_income.py +11 -0
- policyengine_us/variables/gov/usda/csfp/commodity_supplemental_food_program_eligible.py +7 -2
- 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/household/demographic/person/is_part_time_college_student.py +9 -0
- {policyengine_us-1.420.0.dist-info → policyengine_us-1.441.3.dist-info}/METADATA +1 -1
- {policyengine_us-1.420.0.dist-info → policyengine_us-1.441.3.dist-info}/RECORD +408 -233
- 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/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/baseline/gov/states/hi/tax/income/credits/hi_low_income_household_renters/integration.yaml +0 -61
- policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/agi/subtractions/taxable_retirement_income/integration.yaml +0 -45
- 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-1.420.0.dist-info → policyengine_us-1.441.3.dist-info}/WHEEL +0 -0
- {policyengine_us-1.420.0.dist-info → policyengine_us-1.441.3.dist-info}/entry_points.txt +0 -0
- {policyengine_us-1.420.0.dist-info → policyengine_us-1.441.3.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
- name: Single parent with child under max age - full EITC refundable
|
|
2
|
+
period: 2024
|
|
3
|
+
reforms: policyengine_us.reforms.states.ut.ut_refundable_eitc.ut_refundable_eitc
|
|
4
|
+
input:
|
|
5
|
+
gov.contrib.states.ut.eitc.in_effect: true
|
|
6
|
+
people:
|
|
7
|
+
parent:
|
|
8
|
+
age: 30
|
|
9
|
+
child:
|
|
10
|
+
age: 2
|
|
11
|
+
is_tax_unit_dependent: true
|
|
12
|
+
tax_units:
|
|
13
|
+
tax_unit:
|
|
14
|
+
members: [parent, child]
|
|
15
|
+
eitc: 5_000
|
|
16
|
+
households:
|
|
17
|
+
household:
|
|
18
|
+
members: [parent, child]
|
|
19
|
+
state_code: UT
|
|
20
|
+
output:
|
|
21
|
+
# Utah EITC = 20% of federal EITC = 0.2 * 5_000 = 1_000
|
|
22
|
+
# Since child is age 2 (at max_age threshold), full amount is refundable
|
|
23
|
+
ut_eitc: 1_000 # Total EITC
|
|
24
|
+
ut_refundable_eitc: 1_000
|
|
25
|
+
ut_non_refundable_eitc: 0 # Non-refundable portion is reduced to zero
|
|
26
|
+
ut_has_qualifying_child_for_refundable_eitc: true
|
|
27
|
+
|
|
28
|
+
- name: Single parent with child at age 1
|
|
29
|
+
period: 2024
|
|
30
|
+
reforms: policyengine_us.reforms.states.ut.ut_refundable_eitc.ut_refundable_eitc
|
|
31
|
+
input:
|
|
32
|
+
gov.contrib.states.ut.eitc.in_effect: true
|
|
33
|
+
people:
|
|
34
|
+
parent:
|
|
35
|
+
age: 30
|
|
36
|
+
child:
|
|
37
|
+
age: 1
|
|
38
|
+
is_tax_unit_dependent: true
|
|
39
|
+
tax_units:
|
|
40
|
+
tax_unit:
|
|
41
|
+
members: [parent, child]
|
|
42
|
+
eitc: 3_000
|
|
43
|
+
households:
|
|
44
|
+
household:
|
|
45
|
+
members: [parent, child]
|
|
46
|
+
state_code: UT
|
|
47
|
+
output:
|
|
48
|
+
# Utah EITC = 20% of federal EITC = 0.2 * 3_000 = 600
|
|
49
|
+
ut_eitc: 600
|
|
50
|
+
ut_refundable_eitc: 600
|
|
51
|
+
ut_non_refundable_eitc: 0
|
|
52
|
+
ut_has_qualifying_child_for_refundable_eitc: true
|
|
53
|
+
|
|
54
|
+
- name: Single parent with child age 3 - not eligible for refundable EITC
|
|
55
|
+
period: 2024
|
|
56
|
+
reforms: policyengine_us.reforms.states.ut.ut_refundable_eitc.ut_refundable_eitc
|
|
57
|
+
input:
|
|
58
|
+
gov.contrib.states.ut.eitc.in_effect: true
|
|
59
|
+
people:
|
|
60
|
+
parent:
|
|
61
|
+
age: 30
|
|
62
|
+
child:
|
|
63
|
+
age: 3
|
|
64
|
+
is_tax_unit_dependent: true
|
|
65
|
+
tax_units:
|
|
66
|
+
tax_unit:
|
|
67
|
+
members: [parent, child]
|
|
68
|
+
eitc: 4_000
|
|
69
|
+
households:
|
|
70
|
+
household:
|
|
71
|
+
members: [parent, child]
|
|
72
|
+
state_code: UT
|
|
73
|
+
output:
|
|
74
|
+
# Child is too old (max_age is 2)
|
|
75
|
+
# Utah EITC = 0.2 * 4_000 = 800
|
|
76
|
+
ut_eitc: 800
|
|
77
|
+
ut_refundable_eitc: 0
|
|
78
|
+
ut_non_refundable_eitc: 800 # Remains fully non-refundable
|
|
79
|
+
ut_has_qualifying_child_for_refundable_eitc: false
|
|
80
|
+
|
|
81
|
+
- name: Single parent with multiple children, one qualifying
|
|
82
|
+
period: 2024
|
|
83
|
+
reforms: policyengine_us.reforms.states.ut.ut_refundable_eitc.ut_refundable_eitc
|
|
84
|
+
input:
|
|
85
|
+
gov.contrib.states.ut.eitc.in_effect: true
|
|
86
|
+
people:
|
|
87
|
+
parent:
|
|
88
|
+
age: 35
|
|
89
|
+
child1:
|
|
90
|
+
age: 1
|
|
91
|
+
is_tax_unit_dependent: true
|
|
92
|
+
child2:
|
|
93
|
+
age: 5
|
|
94
|
+
is_tax_unit_dependent: true
|
|
95
|
+
tax_units:
|
|
96
|
+
tax_unit:
|
|
97
|
+
members: [parent, child1, child2]
|
|
98
|
+
eitc: 6_000
|
|
99
|
+
households:
|
|
100
|
+
household:
|
|
101
|
+
members: [parent, child1, child2]
|
|
102
|
+
state_code: UT
|
|
103
|
+
output:
|
|
104
|
+
# Has at least one qualifying child, so full EITC is refundable
|
|
105
|
+
# Utah EITC = 0.2 * 6_000 = 1_200
|
|
106
|
+
ut_eitc: 1_200
|
|
107
|
+
ut_refundable_eitc: 1_200
|
|
108
|
+
ut_non_refundable_eitc: 0
|
|
109
|
+
ut_has_qualifying_child_for_refundable_eitc: true
|
|
110
|
+
|
|
111
|
+
- name: Childless tax unit - not eligible
|
|
112
|
+
period: 2024
|
|
113
|
+
reforms: policyengine_us.reforms.states.ut.ut_refundable_eitc.ut_refundable_eitc
|
|
114
|
+
input:
|
|
115
|
+
gov.contrib.states.ut.eitc.in_effect: true
|
|
116
|
+
people:
|
|
117
|
+
person:
|
|
118
|
+
age: 30
|
|
119
|
+
tax_units:
|
|
120
|
+
tax_unit:
|
|
121
|
+
members: [person]
|
|
122
|
+
eitc: 500
|
|
123
|
+
households:
|
|
124
|
+
household:
|
|
125
|
+
members: [person]
|
|
126
|
+
state_code: UT
|
|
127
|
+
output:
|
|
128
|
+
# Utah EITC = 0.2 * 500 = 100 (all non-refundable)
|
|
129
|
+
ut_eitc: 100
|
|
130
|
+
ut_refundable_eitc: 0
|
|
131
|
+
ut_non_refundable_eitc: 100
|
|
132
|
+
ut_has_qualifying_child_for_refundable_eitc: false
|
|
133
|
+
|
|
134
|
+
- name: Married couple with infant (age 0)
|
|
135
|
+
period: 2024
|
|
136
|
+
reforms: policyengine_us.reforms.states.ut.ut_refundable_eitc.ut_refundable_eitc
|
|
137
|
+
input:
|
|
138
|
+
gov.contrib.states.ut.eitc.in_effect: true
|
|
139
|
+
people:
|
|
140
|
+
parent1:
|
|
141
|
+
age: 28
|
|
142
|
+
parent2:
|
|
143
|
+
age: 30
|
|
144
|
+
child:
|
|
145
|
+
age: 0
|
|
146
|
+
is_tax_unit_dependent: true
|
|
147
|
+
tax_units:
|
|
148
|
+
tax_unit:
|
|
149
|
+
members: [parent1, parent2, child]
|
|
150
|
+
eitc: 7_000
|
|
151
|
+
households:
|
|
152
|
+
household:
|
|
153
|
+
members: [parent1, parent2, child]
|
|
154
|
+
state_code: UT
|
|
155
|
+
output:
|
|
156
|
+
# Utah EITC = 0.2 * 7_000 = 1_400
|
|
157
|
+
ut_eitc: 1_400
|
|
158
|
+
ut_refundable_eitc: 1_400
|
|
159
|
+
ut_non_refundable_eitc: 0
|
|
160
|
+
ut_has_qualifying_child_for_refundable_eitc: true
|
|
161
|
+
|
|
162
|
+
- name: Tax unit with qualifying child but no federal EITC
|
|
163
|
+
period: 2024
|
|
164
|
+
reforms: policyengine_us.reforms.states.ut.ut_refundable_eitc.ut_refundable_eitc
|
|
165
|
+
input:
|
|
166
|
+
gov.contrib.states.ut.eitc.in_effect: true
|
|
167
|
+
people:
|
|
168
|
+
parent:
|
|
169
|
+
age: 30
|
|
170
|
+
child:
|
|
171
|
+
age: 2
|
|
172
|
+
is_tax_unit_dependent: true
|
|
173
|
+
tax_units:
|
|
174
|
+
tax_unit:
|
|
175
|
+
members: [parent, child]
|
|
176
|
+
eitc: 0
|
|
177
|
+
households:
|
|
178
|
+
household:
|
|
179
|
+
members: [parent, child]
|
|
180
|
+
state_code: UT
|
|
181
|
+
output:
|
|
182
|
+
# No federal EITC means no Utah EITC
|
|
183
|
+
ut_eitc: 0
|
|
184
|
+
ut_refundable_eitc: 0
|
|
185
|
+
ut_non_refundable_eitc: 0
|
|
186
|
+
ut_has_qualifying_child_for_refundable_eitc: true
|
|
187
|
+
|
|
188
|
+
- name: Custom max_age parameter - child at age 4 qualifies
|
|
189
|
+
period: 2024
|
|
190
|
+
reforms: policyengine_us.reforms.states.ut.ut_refundable_eitc.ut_refundable_eitc
|
|
191
|
+
input:
|
|
192
|
+
gov.contrib.states.ut.eitc.in_effect: true
|
|
193
|
+
gov.contrib.states.ut.eitc.max_age: 4
|
|
194
|
+
people:
|
|
195
|
+
parent:
|
|
196
|
+
age: 30
|
|
197
|
+
child:
|
|
198
|
+
age: 4
|
|
199
|
+
is_tax_unit_dependent: true
|
|
200
|
+
tax_units:
|
|
201
|
+
tax_unit:
|
|
202
|
+
members: [parent, child]
|
|
203
|
+
eitc: 5_000
|
|
204
|
+
households:
|
|
205
|
+
household:
|
|
206
|
+
members: [parent, child]
|
|
207
|
+
state_code: UT
|
|
208
|
+
output:
|
|
209
|
+
# With max_age = 4, child age 4 qualifies
|
|
210
|
+
# Utah EITC = 0.2 * 5_000 = 1_000
|
|
211
|
+
ut_eitc: 1_000
|
|
212
|
+
ut_refundable_eitc: 1_000
|
|
213
|
+
ut_non_refundable_eitc: 0
|
|
214
|
+
ut_has_qualifying_child_for_refundable_eitc: true
|
|
@@ -13,7 +13,9 @@ class aca_ptc(Variable):
|
|
|
13
13
|
def formula(tax_unit, period, parameters):
|
|
14
14
|
plan_cost = tax_unit("slcsp", period)
|
|
15
15
|
income = tax_unit("aca_magi", period)
|
|
16
|
-
applicable_figure = tax_unit(
|
|
16
|
+
applicable_figure = tax_unit(
|
|
17
|
+
"aca_required_contribution_percentage", period
|
|
18
|
+
)
|
|
17
19
|
takes_up_aca_if_eligible = tax_unit("takes_up_aca_if_eligible", period)
|
|
18
20
|
return (
|
|
19
21
|
max_(0, plan_cost - income * applicable_figure)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from policyengine_us.model_api import *
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
class
|
|
4
|
+
class aca_required_contribution_percentage(Variable):
|
|
5
5
|
value_type = float
|
|
6
6
|
entity = TaxUnit
|
|
7
7
|
label = "ACA PTC phase-out rate (i.e., IRS Form 8962 'applicable figure')"
|
|
@@ -11,5 +11,5 @@ class aca_ptc_phase_out_rate(Variable):
|
|
|
11
11
|
|
|
12
12
|
def formula(tax_unit, period, parameters):
|
|
13
13
|
magi_frac = tax_unit("aca_magi_fraction", period)
|
|
14
|
-
p = parameters(period).gov.aca.
|
|
14
|
+
p = parameters(period).gov.aca.required_contribution_percentage
|
|
15
15
|
return np.interp(magi_frac, p.thresholds, p.amounts)
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class is_federal_work_study_participant(Variable):
|
|
5
|
+
value_type = bool
|
|
6
|
+
entity = Person
|
|
7
|
+
definition_period = YEAR
|
|
8
|
+
label = "Participating in Federal Work Study"
|
|
9
|
+
reference = "https://www.law.cornell.edu/cfr/text/34/part-675"
|
|
@@ -12,6 +12,5 @@ class pell_grant_simplified_formula_applies(Variable):
|
|
|
12
12
|
head_income = tax_unit("pell_grant_primary_income", period)
|
|
13
13
|
p = parameters(period).gov.ed.pell_grant.efc.simplified
|
|
14
14
|
income_eligible = head_income < p.income_limit
|
|
15
|
-
|
|
16
|
-
has_benefits = np.any(total_benefits > 0)
|
|
15
|
+
has_benefits = add(tax_unit, period, p.benefits) > 0
|
|
17
16
|
return income_eligible & has_benefits & p.applies
|
|
@@ -21,8 +21,8 @@ class is_lifeline_eligible(Variable):
|
|
|
21
21
|
)
|
|
22
22
|
categorically_eligible = np.where(
|
|
23
23
|
is_on_tribal_land,
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
tribal_lifeline_programs > 0,
|
|
25
|
+
non_tribal_lifeline_programs > 0,
|
|
26
26
|
)
|
|
27
27
|
# Use the new unified income eligibility variable
|
|
28
28
|
income_eligible = spm_unit("is_lifeline_income_eligible", period)
|
|
@@ -4,7 +4,8 @@ from policyengine_us.model_api import *
|
|
|
4
4
|
class early_head_start(Variable):
|
|
5
5
|
value_type = float
|
|
6
6
|
entity = Person
|
|
7
|
-
label = "
|
|
7
|
+
label = "Early Head Start"
|
|
8
|
+
unit = USD
|
|
8
9
|
definition_period = YEAR
|
|
9
10
|
defined_for = "is_early_head_start_eligible"
|
|
10
11
|
reference = "https://headstart.gov/program-data/article/head-start-program-facts-fiscal-year-2022"
|
|
@@ -4,7 +4,8 @@ from policyengine_us.model_api import *
|
|
|
4
4
|
class head_start(Variable):
|
|
5
5
|
value_type = float
|
|
6
6
|
entity = Person
|
|
7
|
-
label = "
|
|
7
|
+
label = "Head Start"
|
|
8
|
+
unit = USD
|
|
8
9
|
definition_period = YEAR
|
|
9
10
|
defined_for = "is_head_start_eligible"
|
|
10
11
|
reference = "https://headstart.gov/program-data/article/head-start-program-facts-fiscal-year-2022"
|
|
@@ -12,7 +12,5 @@ class is_head_start_categorically_eligible(Variable):
|
|
|
12
12
|
)
|
|
13
13
|
|
|
14
14
|
def formula(person, period, parameters):
|
|
15
|
-
tax_unit = person.tax_unit
|
|
16
15
|
p = parameters(period).gov.hhs.head_start
|
|
17
|
-
|
|
18
|
-
return np.any(programs)
|
|
16
|
+
return add(person.tax_unit, period, p.categorical_eligibility) > 0
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class tanf_gross_earned_income(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = Person
|
|
7
|
+
label = (
|
|
8
|
+
"Temporary Assistance for Needy Families (TANF) gross earned income"
|
|
9
|
+
)
|
|
10
|
+
unit = USD
|
|
11
|
+
definition_period = MONTH
|
|
12
|
+
|
|
13
|
+
adds = "gov.hhs.tanf.cash.income.sources.earned"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class tanf_gross_unearned_income(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = Person
|
|
7
|
+
label = (
|
|
8
|
+
"Temporary Assistance for Needy Families (TANF) gross unearned income"
|
|
9
|
+
)
|
|
10
|
+
unit = USD
|
|
11
|
+
definition_period = MONTH
|
|
12
|
+
|
|
13
|
+
adds = "gov.hhs.tanf.cash.income.sources.unearned"
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class tanf_fpg(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = SPMUnit
|
|
7
|
+
label = "TANF federal poverty guideline"
|
|
8
|
+
unit = USD
|
|
9
|
+
documentation = (
|
|
10
|
+
"The federal poverty guideline used to determine TANF eligibility."
|
|
11
|
+
)
|
|
12
|
+
definition_period = MONTH
|
|
13
|
+
reference = "https://www.law.cornell.edu/uscode/text/42/9902"
|
|
14
|
+
|
|
15
|
+
def formula(spm_unit, period, parameters):
|
|
16
|
+
# We can use tanf_unit_size for more accurate model in the future
|
|
17
|
+
n = spm_unit("spm_unit_size", period.this_year)
|
|
18
|
+
state_group = spm_unit.household("state_group_str", period.this_year)
|
|
19
|
+
year = period.start.year
|
|
20
|
+
month = period.start.month
|
|
21
|
+
if month >= 10:
|
|
22
|
+
instant_str = f"{year}-10-01"
|
|
23
|
+
else:
|
|
24
|
+
instant_str = f"{year - 1}-10-01"
|
|
25
|
+
p_fpg = parameters(instant_str).gov.hhs.fpg
|
|
26
|
+
p1 = p_fpg.first_person[state_group] / MONTHS_IN_YEAR
|
|
27
|
+
pn = p_fpg.additional_person[state_group] / MONTHS_IN_YEAR
|
|
28
|
+
return p1 + pn * (n - 1)
|
policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/amt_tax_including_cg.py
CHANGED
|
@@ -34,7 +34,7 @@ class amt_tax_including_cg(Variable):
|
|
|
34
34
|
income_taxes_at_amt_rates = p.income.amt.brackets.calc(excess_income)
|
|
35
35
|
# Line 19 - First CG tax bracket threshold
|
|
36
36
|
filing_status = tax_unit("filing_status", period)
|
|
37
|
-
cg_bracket = p.capital_gains.
|
|
37
|
+
cg_bracket = p.capital_gains.thresholds["1"][filing_status]
|
|
38
38
|
# Line 20 - Schedule D Line 14
|
|
39
39
|
lt_capital_loss_carryover = tax_unit("dwks14", period)
|
|
40
40
|
# Line 21 - Line 20 minus Line 19
|
|
@@ -42,7 +42,7 @@ class amt_tax_including_cg(Variable):
|
|
|
42
42
|
# Line 22 - smaller of Line 12 or Line 13
|
|
43
43
|
smaller_of_income_or_cg = min_(reduced_income, cg_distributions)
|
|
44
44
|
# Line 23 - smaller of Line 22 or Line 21 (amount is taxed at 0%)
|
|
45
|
-
cg_first_rate = p.capital_gains.
|
|
45
|
+
cg_first_rate = p.capital_gains.rates["1"]
|
|
46
46
|
disregarded_gains = (
|
|
47
47
|
min_(smaller_of_income_or_cg, reduced_cg_bracket) * cg_first_rate
|
|
48
48
|
)
|
|
@@ -51,9 +51,7 @@ class amt_tax_including_cg(Variable):
|
|
|
51
51
|
smaller_of_income_or_cg - disregarded_gains, 0
|
|
52
52
|
)
|
|
53
53
|
# Line 25 - Second CG tax bracket threshold
|
|
54
|
-
second_cg_bracket = p.capital_gains.
|
|
55
|
-
filing_status
|
|
56
|
-
]
|
|
54
|
+
second_cg_bracket = p.capital_gains.thresholds["2"][filing_status]
|
|
57
55
|
# Line 26 - same as line 21
|
|
58
56
|
# Line 27 - Schedule D Line 21
|
|
59
57
|
loss_limited_net_capital_gains = tax_unit(
|
|
@@ -73,16 +71,14 @@ class amt_tax_including_cg(Variable):
|
|
|
73
71
|
)
|
|
74
72
|
# Line 31 - multiply Line 30by second CG tax rate
|
|
75
73
|
cg_second_bracket_tax = (
|
|
76
|
-
capped_income_including_cg * p.capital_gains.
|
|
74
|
+
capped_income_including_cg * p.capital_gains.rates["2"]
|
|
77
75
|
)
|
|
78
76
|
# Line 32 - Line 23 plus Line 30
|
|
79
77
|
taxed_gains = disregarded_gains + capped_income_including_cg
|
|
80
78
|
# Line 33 - Line 22 minus Line 32
|
|
81
79
|
excess_taxed_gains = max_(0, smaller_of_income_or_cg - taxed_gains)
|
|
82
80
|
# Line 34 - multiply Line 33 by third CG tax rate
|
|
83
|
-
cg_third_bracket_tax =
|
|
84
|
-
excess_taxed_gains * p.capital_gains.brackets.rates["3"]
|
|
85
|
-
)
|
|
81
|
+
cg_third_bracket_tax = excess_taxed_gains * p.capital_gains.rates["3"]
|
|
86
82
|
# Line 35 - sum of Line 17, Line 32, Line 33
|
|
87
83
|
final_taxed_income = excess_income + taxed_gains + excess_taxed_gains
|
|
88
84
|
# Line 36 Line 12 minus Line 35
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class amt_exemption(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = TaxUnit
|
|
7
|
+
definition_period = YEAR
|
|
8
|
+
label = "Alternative Minimum Tax exemption"
|
|
9
|
+
unit = USD
|
|
10
|
+
documentation = (
|
|
11
|
+
"AMT exemption amount after phase-out and kiddie tax adjustments. "
|
|
12
|
+
"Form 6251, Line 5."
|
|
13
|
+
)
|
|
14
|
+
reference = [
|
|
15
|
+
"https://www.law.cornell.edu/uscode/text/26/55#d", # 26 U.S.C. § 55(d)
|
|
16
|
+
"https://www.irs.gov/instructions/i6251",
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
def formula(tax_unit, period, parameters):
|
|
20
|
+
p = parameters(period).gov.irs.income.amt
|
|
21
|
+
phase_out = p.exemption.phase_out
|
|
22
|
+
filing_status = tax_unit("filing_status", period)
|
|
23
|
+
amt_income = tax_unit("amt_income", period)
|
|
24
|
+
|
|
25
|
+
# Base exemption amount based on filing status
|
|
26
|
+
base_exemption_amount = p.exemption.amount[filing_status]
|
|
27
|
+
|
|
28
|
+
# Phase-out at higher income levels
|
|
29
|
+
income_excess = max_(0, amt_income - phase_out.start[filing_status])
|
|
30
|
+
exemption_phase_out = phase_out.rate * income_excess
|
|
31
|
+
reduced_exemption_amount = max_(
|
|
32
|
+
0,
|
|
33
|
+
base_exemption_amount - exemption_phase_out,
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
# A reduced exemption amount is applied to kiddie tax filers
|
|
37
|
+
kiddie_tax_applies = tax_unit("amt_kiddie_tax_applies", period)
|
|
38
|
+
adj_earnings = tax_unit("filer_adjusted_earnings", period)
|
|
39
|
+
child_amount = p.exemption.child.amount
|
|
40
|
+
|
|
41
|
+
exemption_cap = where(
|
|
42
|
+
kiddie_tax_applies,
|
|
43
|
+
adj_earnings + child_amount,
|
|
44
|
+
np.inf,
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
return min_(reduced_exemption_amount, exemption_cap)
|
|
@@ -17,28 +17,10 @@ class amt_income_less_exemptions(Variable):
|
|
|
17
17
|
taxable_income = tax_unit("taxable_income", period)
|
|
18
18
|
kiddie_tax_applies = tax_unit("amt_kiddie_tax_applies", period)
|
|
19
19
|
applied_income = where(kiddie_tax_applies, taxable_income, amt_income)
|
|
20
|
+
|
|
20
21
|
# Form 6251, Part II top
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
filing_status = tax_unit("filing_status", period)
|
|
24
|
-
# Line 5 the exemption amount is based on filing status and
|
|
25
|
-
# is phased-out at higher income
|
|
26
|
-
base_exemption_amount = p.exemption.amount[filing_status]
|
|
27
|
-
income_excess = max_(0, amt_income - phase_out.start[filing_status])
|
|
28
|
-
exemption_phase_out = phase_out.rate * income_excess
|
|
29
|
-
reduced_exemption_amount = max_(
|
|
30
|
-
0,
|
|
31
|
-
(base_exemption_amount - exemption_phase_out),
|
|
32
|
-
)
|
|
33
|
-
# A reduced exemption amount is applied to kiddie tax filers
|
|
34
|
-
adj_earnings = tax_unit("filer_adjusted_earnings", period)
|
|
35
|
-
child_amount = p.exemption.child.amount
|
|
22
|
+
# Line 5
|
|
23
|
+
amt_exemption = tax_unit("amt_exemption", period)
|
|
36
24
|
|
|
37
|
-
exemption_cap = where(
|
|
38
|
-
kiddie_tax_applies,
|
|
39
|
-
adj_earnings + child_amount,
|
|
40
|
-
np.inf,
|
|
41
|
-
)
|
|
42
|
-
capped_exemption_amount = min_(reduced_exemption_amount, exemption_cap)
|
|
43
25
|
# Line 6
|
|
44
|
-
return max_(0, applied_income -
|
|
26
|
+
return max_(0, applied_income - amt_exemption)
|
|
@@ -10,29 +10,28 @@ class regular_tax_before_credits(Variable):
|
|
|
10
10
|
unit = USD
|
|
11
11
|
|
|
12
12
|
def formula(tax_unit, period, parameters):
|
|
13
|
+
p = parameters(period).gov.irs
|
|
13
14
|
filing_status = tax_unit("filing_status", period)
|
|
14
15
|
dwks1 = tax_unit("taxable_income", period)
|
|
15
16
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
dwks16 = min_(capital_gains.thresholds["1"][filing_status], dwks1)
|
|
17
|
+
dwks16 = min_(p.capital_gains.thresholds["1"][filing_status], dwks1)
|
|
19
18
|
dwks17 = min_(tax_unit("dwks14", period), dwks16)
|
|
20
19
|
dwks20 = dwks16 - dwks17
|
|
21
|
-
lowest_rate_tax = capital_gains.rates["1"] * dwks20
|
|
20
|
+
lowest_rate_tax = p.capital_gains.rates["1"] * dwks20
|
|
22
21
|
# Break in worksheet lines
|
|
23
22
|
dwks13 = tax_unit("dwks13", period)
|
|
24
23
|
dwks21 = min_(dwks1, dwks13)
|
|
25
24
|
dwks22 = dwks20
|
|
26
25
|
dwks23 = max_(0, dwks21 - dwks22)
|
|
27
|
-
dwks25 = min_(capital_gains.thresholds["2"][filing_status], dwks1)
|
|
26
|
+
dwks25 = min_(p.capital_gains.thresholds["2"][filing_status], dwks1)
|
|
28
27
|
dwks19 = tax_unit("dwks19", period)
|
|
29
28
|
dwks26 = min_(dwks19, dwks20)
|
|
30
29
|
dwks27 = max_(0, dwks25 - dwks26)
|
|
31
30
|
dwks28 = min_(dwks23, dwks27)
|
|
32
|
-
dwks29 = capital_gains.rates["2"] * dwks28
|
|
31
|
+
dwks29 = p.capital_gains.rates["2"] * dwks28
|
|
33
32
|
dwks30 = dwks22 + dwks28
|
|
34
33
|
dwks31 = dwks21 - dwks30
|
|
35
|
-
dwks32 = capital_gains.rates["3"] * dwks31
|
|
34
|
+
dwks32 = p.capital_gains.rates["3"] * dwks31
|
|
36
35
|
# Break in worksheet lines
|
|
37
36
|
dwks33 = min_(
|
|
38
37
|
tax_unit("dwks09", period),
|
|
@@ -43,18 +42,18 @@ class regular_tax_before_credits(Variable):
|
|
|
43
42
|
dwks36 = max_(0, dwks34 - dwks1)
|
|
44
43
|
dwks37 = max_(0, dwks33 - dwks36)
|
|
45
44
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
dwks38 = (
|
|
46
|
+
p.income.amt.capital_gains.capital_gain_excess_tax_rate * dwks37
|
|
47
|
+
)
|
|
49
48
|
# Break in worksheet lines
|
|
50
49
|
dwks39 = dwks19 + dwks20 + dwks28 + dwks31 + dwks37
|
|
51
50
|
dwks40 = dwks1 - dwks39
|
|
52
|
-
dwks41 = p.amt.brackets.rates[-1] * dwks40
|
|
51
|
+
dwks41 = p.income.amt.brackets.rates[-1] * dwks40
|
|
53
52
|
|
|
54
53
|
# Compute regular tax using bracket rates and thresholds
|
|
55
54
|
reg_taxinc = max_(0, dwks19)
|
|
56
|
-
bracket_tops = p.bracket.thresholds
|
|
57
|
-
bracket_rates = p.bracket.rates
|
|
55
|
+
bracket_tops = p.income.bracket.thresholds
|
|
56
|
+
bracket_rates = p.income.bracket.rates
|
|
58
57
|
reg_tax = 0
|
|
59
58
|
bracket_bottom = 0
|
|
60
59
|
for i in range(1, len(list(bracket_rates.__iter__())) + 1):
|
|
@@ -14,15 +14,15 @@ class capital_gains_excluded_from_taxable_income(Variable):
|
|
|
14
14
|
)
|
|
15
15
|
|
|
16
16
|
def formula(tax_unit, period, parameters):
|
|
17
|
+
p = parameters(period).gov.irs.capital_gains
|
|
17
18
|
net_capital_gain = tax_unit("net_capital_gain", period)
|
|
18
19
|
adjusted_net_capital_gain = tax_unit(
|
|
19
20
|
"adjusted_net_capital_gain", period
|
|
20
21
|
)
|
|
21
22
|
taxable_income = tax_unit("taxable_income", period)
|
|
22
23
|
filing_status = tax_unit("filing_status", period)
|
|
23
|
-
cg = parameters(period).gov.irs.capital_gains.brackets
|
|
24
24
|
income_taxed_below_first_rate = clip(
|
|
25
|
-
taxable_income, 0,
|
|
25
|
+
taxable_income, 0, p.thresholds["1"][filing_status]
|
|
26
26
|
)
|
|
27
27
|
reduced_taxable_income = max_(
|
|
28
28
|
taxable_income - net_capital_gain,
|
|
@@ -27,8 +27,8 @@ class capital_gains_tax(Variable):
|
|
|
27
27
|
|
|
28
28
|
filing_status = tax_unit("filing_status", period)
|
|
29
29
|
|
|
30
|
-
first_threshold = cg.
|
|
31
|
-
second_threshold = cg.
|
|
30
|
+
first_threshold = cg.thresholds["1"][filing_status]
|
|
31
|
+
second_threshold = cg.thresholds["2"][filing_status]
|
|
32
32
|
|
|
33
33
|
income_ordinarily_under_second_rate = clip(
|
|
34
34
|
taxable_income, 0, first_threshold
|
|
@@ -55,9 +55,9 @@ class capital_gains_tax(Variable):
|
|
|
55
55
|
)
|
|
56
56
|
|
|
57
57
|
main_cg_tax = (
|
|
58
|
-
cg_in_first_bracket * cg.
|
|
59
|
-
+ cg_in_second_bracket * cg.
|
|
60
|
-
+ cg_in_third_bracket * cg.
|
|
58
|
+
cg_in_first_bracket * cg.rates["1"]
|
|
59
|
+
+ cg_in_second_bracket * cg.rates["2"]
|
|
60
|
+
+ cg_in_third_bracket * cg.rates["3"]
|
|
61
61
|
)
|
|
62
62
|
|
|
63
63
|
unrecaptured_s_1250_gain = tax_unit(
|
|
@@ -9,11 +9,11 @@ class dwks19(Variable):
|
|
|
9
9
|
unit = USD
|
|
10
10
|
|
|
11
11
|
def formula(tax_unit, period, parameters):
|
|
12
|
+
p = parameters(period).gov.irs.capital_gains
|
|
12
13
|
dwks14 = tax_unit("dwks14", period)
|
|
13
|
-
capital_gains = parameters(period).gov.irs.capital_gains.brackets
|
|
14
14
|
filing_status = tax_unit("filing_status", period)
|
|
15
15
|
dwks01 = tax_unit("taxable_income", period)
|
|
16
|
-
dwks16 = min_(
|
|
16
|
+
dwks16 = min_(p.thresholds["1"][filing_status], dwks01)
|
|
17
17
|
dwks17 = min_(dwks14, dwks16)
|
|
18
18
|
dwks10 = tax_unit("dwks10", period)
|
|
19
19
|
dwks18 = max_(0, dwks01 - dwks10)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class is_ssi_spousal_deeming_applies(Variable):
|
|
5
|
+
value_type = bool
|
|
6
|
+
entity = Person
|
|
7
|
+
label = "SSI spousal deeming applies"
|
|
8
|
+
definition_period = YEAR
|
|
9
|
+
reference = "https://www.law.cornell.edu/cfr/text/20/416.1163"
|
|
10
|
+
defined_for = "is_ssi_eligible_individual"
|
|
11
|
+
documentation = """
|
|
12
|
+
Returns True when spousal deeming applies according to 20 CFR §416.1163.
|
|
13
|
+
|
|
14
|
+
Spousal deeming applies when:
|
|
15
|
+
1. Person is an eligible individual (not part of an eligible couple)
|
|
16
|
+
2. Spouse is ineligible (not aged/blind/disabled)
|
|
17
|
+
3. Spouse's leftover income (after child allocations) exceeds the difference
|
|
18
|
+
between couple FBR and individual FBR
|
|
19
|
+
|
|
20
|
+
When deeming applies, the benefit calculation uses the couple FBR instead
|
|
21
|
+
of the individual FBR, recognizing that two people have higher expenses.
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
def formula(person, period, parameters):
|
|
25
|
+
# Get spouse's deemed income (after child allocations)
|
|
26
|
+
spouse_deemed_income = add(
|
|
27
|
+
person,
|
|
28
|
+
period,
|
|
29
|
+
[
|
|
30
|
+
"ssi_earned_income_deemed_from_ineligible_spouse",
|
|
31
|
+
"ssi_unearned_income_deemed_from_ineligible_spouse",
|
|
32
|
+
],
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
# Compare to FBR differential (couple rate - individual rate)
|
|
36
|
+
p = parameters(period).gov.ssa.ssi.amount
|
|
37
|
+
diff = (p.couple - p.individual) * MONTHS_IN_YEAR
|
|
38
|
+
|
|
39
|
+
# Deeming applies when spouse's deemed income exceeds the differential
|
|
40
|
+
# Note: regulation says "not more than" means ≤, so we use > for deeming
|
|
41
|
+
return spouse_deemed_income > diff
|