policyengine-us 1.420.0__py3-none-any.whl → 1.450.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/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/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/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/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/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/qualified_noncitizen_statuses.yaml +17 -0
- 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/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/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/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 +36 -3
- 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 +27 -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/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/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/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/tax/income/integration.yaml +50 -0
- 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/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/dhs/tanf/eligibility/il_tanf_immigration_status_eligible_person.yaml +26 -4
- 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/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/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/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/mt/tax/income/integration.yaml +3 -0
- 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/integation.yaml +57 -0
- policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/integration.yaml +44 -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/nm/tax/income/integration.yaml +60 -0
- 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/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/tanf/assistance_unit/tx_tanf_categorically_eligible_person.yaml +1 -1
- 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/ut/tax/income/credits/ss_benefits_credit/ut_ss_benefits_credit_max.yaml +5 -5
- policyengine_us/tests/policy/baseline/gov/states/va/tax/income/integration.yaml +2 -0
- 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/states/wi/tax/income/integration.yaml +48 -0
- 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/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/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 +205 -2
- 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 +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/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/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/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/dhs/tanf/eligibility/il_tanf_immigration_status_eligible_person.py +5 -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/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/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/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/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/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/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/states/wi/tax/income/credits/married_couple/wi_married_couple_credit.py +7 -5
- 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/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/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.420.0.dist-info → policyengine_us-1.450.0.dist-info}/METADATA +2 -2
- {policyengine_us-1.420.0.dist-info → policyengine_us-1.450.0.dist-info}/RECORD +558 -266
- {policyengine_us-1.420.0.dist-info → policyengine_us-1.450.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/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/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.420.0.dist-info → policyengine_us-1.450.0.dist-info}/entry_points.txt +0 -0
- {policyengine_us-1.420.0.dist-info → policyengine_us-1.450.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
from policyengine_core.periods import period as period_
|
|
3
|
+
from policyengine_core.periods import instant
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def create_ri_ctc() -> Reform:
|
|
7
|
+
class ri_ctc_eligible_children(Variable):
|
|
8
|
+
value_type = int
|
|
9
|
+
entity = TaxUnit
|
|
10
|
+
label = "Rhode Island CTC eligible children count"
|
|
11
|
+
definition_period = YEAR
|
|
12
|
+
defined_for = StateCode.RI
|
|
13
|
+
|
|
14
|
+
def formula(tax_unit, period, parameters):
|
|
15
|
+
p = parameters(period).gov.contrib.states.ri.ctc
|
|
16
|
+
|
|
17
|
+
person = tax_unit.members
|
|
18
|
+
age = person("age", period)
|
|
19
|
+
is_dependent = person("is_tax_unit_dependent", period)
|
|
20
|
+
|
|
21
|
+
# Check age eligibility
|
|
22
|
+
meets_age = age < p.age_limit
|
|
23
|
+
|
|
24
|
+
eligible = is_dependent & meets_age
|
|
25
|
+
return tax_unit.sum(eligible)
|
|
26
|
+
|
|
27
|
+
class ri_ctc_young_child_boost(Variable):
|
|
28
|
+
value_type = float
|
|
29
|
+
entity = TaxUnit
|
|
30
|
+
label = "Rhode Island CTC young child boost"
|
|
31
|
+
unit = USD
|
|
32
|
+
definition_period = YEAR
|
|
33
|
+
defined_for = StateCode.RI
|
|
34
|
+
|
|
35
|
+
def formula(tax_unit, period, parameters):
|
|
36
|
+
p = parameters(period).gov.contrib.states.ri.ctc
|
|
37
|
+
|
|
38
|
+
person = tax_unit.members
|
|
39
|
+
age = person("age", period)
|
|
40
|
+
is_dependent = person("is_tax_unit_dependent", period)
|
|
41
|
+
|
|
42
|
+
# Check both general CTC eligibility and young child age limit
|
|
43
|
+
meets_age = age < p.age_limit
|
|
44
|
+
meets_young_child_age = age < p.young_child_boost.age_limit
|
|
45
|
+
|
|
46
|
+
eligible_young_children = tax_unit.sum(
|
|
47
|
+
is_dependent & meets_age & meets_young_child_age
|
|
48
|
+
)
|
|
49
|
+
return eligible_young_children * p.young_child_boost.amount
|
|
50
|
+
|
|
51
|
+
class ri_ctc_maximum(Variable):
|
|
52
|
+
value_type = float
|
|
53
|
+
entity = TaxUnit
|
|
54
|
+
label = "Rhode Island CTC maximum amount before phaseout"
|
|
55
|
+
unit = USD
|
|
56
|
+
definition_period = YEAR
|
|
57
|
+
defined_for = StateCode.RI
|
|
58
|
+
|
|
59
|
+
def formula(tax_unit, period, parameters):
|
|
60
|
+
p = parameters(period).gov.contrib.states.ri.ctc
|
|
61
|
+
|
|
62
|
+
# Base credit for all eligible children
|
|
63
|
+
eligible_children = tax_unit("ri_ctc_eligible_children", period)
|
|
64
|
+
base_credit = eligible_children * p.amount
|
|
65
|
+
|
|
66
|
+
# Young child boost
|
|
67
|
+
young_child_boost = tax_unit("ri_ctc_young_child_boost", period)
|
|
68
|
+
|
|
69
|
+
return base_credit + young_child_boost
|
|
70
|
+
|
|
71
|
+
class ri_ctc_phaseout(Variable):
|
|
72
|
+
value_type = float
|
|
73
|
+
entity = TaxUnit
|
|
74
|
+
label = "Rhode Island CTC phaseout amount"
|
|
75
|
+
unit = USD
|
|
76
|
+
definition_period = YEAR
|
|
77
|
+
defined_for = StateCode.RI
|
|
78
|
+
|
|
79
|
+
def formula(tax_unit, period, parameters):
|
|
80
|
+
p = parameters(period).gov.contrib.states.ri.ctc
|
|
81
|
+
|
|
82
|
+
filing_status = tax_unit("filing_status", period)
|
|
83
|
+
agi = tax_unit("ri_agi", period)
|
|
84
|
+
|
|
85
|
+
threshold = p.phaseout.threshold[filing_status]
|
|
86
|
+
excess_income = max_(agi - threshold, 0)
|
|
87
|
+
return excess_income * p.phaseout.rate
|
|
88
|
+
|
|
89
|
+
class ri_total_ctc(Variable):
|
|
90
|
+
value_type = float
|
|
91
|
+
entity = TaxUnit
|
|
92
|
+
label = "Rhode Island Child Tax Credit"
|
|
93
|
+
unit = USD
|
|
94
|
+
definition_period = YEAR
|
|
95
|
+
defined_for = StateCode.RI
|
|
96
|
+
|
|
97
|
+
def formula(tax_unit, period, parameters):
|
|
98
|
+
p = parameters(period).gov.contrib.states.ri.ctc
|
|
99
|
+
|
|
100
|
+
# Calculate maximum credit
|
|
101
|
+
maximum = tax_unit("ri_ctc_maximum", period)
|
|
102
|
+
|
|
103
|
+
# Apply phaseout
|
|
104
|
+
phaseout = tax_unit("ri_ctc_phaseout", period)
|
|
105
|
+
|
|
106
|
+
return max_(maximum - phaseout, 0)
|
|
107
|
+
|
|
108
|
+
class ri_refundable_ctc(Variable):
|
|
109
|
+
value_type = float
|
|
110
|
+
entity = TaxUnit
|
|
111
|
+
label = "Rhode Island CTC refundable portion"
|
|
112
|
+
unit = USD
|
|
113
|
+
definition_period = YEAR
|
|
114
|
+
defined_for = StateCode.RI
|
|
115
|
+
|
|
116
|
+
def formula(tax_unit, period, parameters):
|
|
117
|
+
p = parameters(period).gov.contrib.states.ri.ctc
|
|
118
|
+
|
|
119
|
+
total_credit = tax_unit("ri_total_ctc", period)
|
|
120
|
+
|
|
121
|
+
# The refundable portion is the minimum of the cap and total credit
|
|
122
|
+
# This ensures the refundable amount never exceeds the total credit
|
|
123
|
+
# - If cap = 0: credit is nonrefundable
|
|
124
|
+
# - If 0 < cap < total_credit: credit is partially refundable
|
|
125
|
+
# - If cap >= total_credit: credit is fully refundable
|
|
126
|
+
return min_(total_credit, p.refundability.cap)
|
|
127
|
+
|
|
128
|
+
class ri_non_refundable_ctc(Variable):
|
|
129
|
+
value_type = float
|
|
130
|
+
entity = TaxUnit
|
|
131
|
+
label = "Rhode Island CTC non-refundable portion"
|
|
132
|
+
unit = USD
|
|
133
|
+
definition_period = YEAR
|
|
134
|
+
defined_for = StateCode.RI
|
|
135
|
+
|
|
136
|
+
def formula(tax_unit, period, parameters):
|
|
137
|
+
p = parameters(period).gov.contrib.states.ri.ctc
|
|
138
|
+
|
|
139
|
+
total_credit = tax_unit("ri_total_ctc", period)
|
|
140
|
+
refundable_portion = tax_unit("ri_refundable_ctc", period)
|
|
141
|
+
return max_(total_credit - refundable_portion, 0)
|
|
142
|
+
|
|
143
|
+
def modify_parameters(parameters):
|
|
144
|
+
# Add ri_refundable_ctc to refundable credits list
|
|
145
|
+
refundable = parameters.gov.states.ri.tax.income.credits.refundable
|
|
146
|
+
current_refundable = refundable(instant("2025-01-01"))
|
|
147
|
+
if "ri_refundable_ctc" not in current_refundable:
|
|
148
|
+
new_refundable = list(current_refundable) + ["ri_refundable_ctc"]
|
|
149
|
+
refundable.update(
|
|
150
|
+
start=instant("2025-01-01"),
|
|
151
|
+
stop=instant("2100-12-31"),
|
|
152
|
+
value=new_refundable,
|
|
153
|
+
)
|
|
154
|
+
|
|
155
|
+
# Add ri_non_refundable_ctc to non-refundable credits list
|
|
156
|
+
non_refundable = (
|
|
157
|
+
parameters.gov.states.ri.tax.income.credits.non_refundable
|
|
158
|
+
)
|
|
159
|
+
current_non_refundable = non_refundable(instant("2025-01-01"))
|
|
160
|
+
if "ri_non_refundable_ctc" not in current_non_refundable:
|
|
161
|
+
new_non_refundable = list(current_non_refundable) + [
|
|
162
|
+
"ri_non_refundable_ctc"
|
|
163
|
+
]
|
|
164
|
+
non_refundable.update(
|
|
165
|
+
start=instant("2025-01-01"),
|
|
166
|
+
stop=instant("2100-12-31"),
|
|
167
|
+
value=new_non_refundable,
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
return parameters
|
|
171
|
+
|
|
172
|
+
class reform(Reform):
|
|
173
|
+
def apply(self):
|
|
174
|
+
self.update_variable(ri_ctc_eligible_children)
|
|
175
|
+
self.update_variable(ri_ctc_young_child_boost)
|
|
176
|
+
self.update_variable(ri_ctc_maximum)
|
|
177
|
+
self.update_variable(ri_ctc_phaseout)
|
|
178
|
+
self.update_variable(ri_total_ctc)
|
|
179
|
+
self.update_variable(ri_refundable_ctc)
|
|
180
|
+
self.update_variable(ri_non_refundable_ctc)
|
|
181
|
+
self.modify_parameters(modify_parameters)
|
|
182
|
+
|
|
183
|
+
return reform
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
def create_ri_ctc_reform(parameters, period, bypass: bool = False):
|
|
187
|
+
if bypass:
|
|
188
|
+
return create_ri_ctc()
|
|
189
|
+
|
|
190
|
+
p = parameters.gov.contrib.states.ri.ctc
|
|
191
|
+
|
|
192
|
+
reform_active = False
|
|
193
|
+
current_period = period_(period)
|
|
194
|
+
|
|
195
|
+
for i in range(5):
|
|
196
|
+
if p(current_period).in_effect:
|
|
197
|
+
reform_active = True
|
|
198
|
+
break
|
|
199
|
+
current_period = current_period.offset(1, "year")
|
|
200
|
+
|
|
201
|
+
if reform_active:
|
|
202
|
+
return create_ri_ctc()
|
|
203
|
+
else:
|
|
204
|
+
return None
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
ri_ctc = create_ri_ctc_reform(None, None, bypass=True)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .ri_exemption_reform import create_ri_exemption_reform_fn
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
from policyengine_core.periods import period as period_
|
|
3
|
+
from policyengine_core.periods import instant
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def create_ri_exemption_reform() -> Reform:
|
|
7
|
+
class ri_eligible_dependents_count(Variable):
|
|
8
|
+
value_type = int
|
|
9
|
+
entity = TaxUnit
|
|
10
|
+
label = "Rhode Island eligible dependents count"
|
|
11
|
+
definition_period = YEAR
|
|
12
|
+
defined_for = StateCode.RI
|
|
13
|
+
|
|
14
|
+
def formula(tax_unit, period, parameters):
|
|
15
|
+
p = parameters(period).gov.contrib.states.ri.dependent_exemption
|
|
16
|
+
|
|
17
|
+
person = tax_unit.members
|
|
18
|
+
age = person("age", period)
|
|
19
|
+
is_dependent = person("is_tax_unit_dependent", period)
|
|
20
|
+
|
|
21
|
+
# Apply age limit if in effect
|
|
22
|
+
if p.age_limit.in_effect:
|
|
23
|
+
age_threshold = p.age_limit.threshold
|
|
24
|
+
eligible_dependents = is_dependent & (age < age_threshold)
|
|
25
|
+
else:
|
|
26
|
+
eligible_dependents = is_dependent
|
|
27
|
+
|
|
28
|
+
return tax_unit.sum(eligible_dependents)
|
|
29
|
+
|
|
30
|
+
class ri_dependent_exemption_maximum(Variable):
|
|
31
|
+
value_type = float
|
|
32
|
+
entity = TaxUnit
|
|
33
|
+
label = "Rhode Island dependent exemption maximum before phaseout"
|
|
34
|
+
unit = USD
|
|
35
|
+
definition_period = YEAR
|
|
36
|
+
defined_for = StateCode.RI
|
|
37
|
+
|
|
38
|
+
def formula(tax_unit, period, parameters):
|
|
39
|
+
p = parameters(period).gov.contrib.states.ri.dependent_exemption
|
|
40
|
+
|
|
41
|
+
dependents_count = tax_unit("ri_eligible_dependents_count", period)
|
|
42
|
+
return dependents_count * p.amount
|
|
43
|
+
|
|
44
|
+
class ri_dependent_exemption_phaseout(Variable):
|
|
45
|
+
value_type = float
|
|
46
|
+
entity = TaxUnit
|
|
47
|
+
label = "Rhode Island dependent exemption phaseout amount"
|
|
48
|
+
unit = USD
|
|
49
|
+
definition_period = YEAR
|
|
50
|
+
defined_for = StateCode.RI
|
|
51
|
+
|
|
52
|
+
def formula(tax_unit, period, parameters):
|
|
53
|
+
p = parameters(period).gov.contrib.states.ri.dependent_exemption
|
|
54
|
+
|
|
55
|
+
filing_status = tax_unit("filing_status", period)
|
|
56
|
+
agi = tax_unit("ri_agi", period)
|
|
57
|
+
|
|
58
|
+
threshold = p.phaseout.threshold[filing_status]
|
|
59
|
+
excess_income = max_(agi - threshold, 0)
|
|
60
|
+
return excess_income * p.phaseout.rate
|
|
61
|
+
|
|
62
|
+
class ri_dependent_exemption(Variable):
|
|
63
|
+
value_type = float
|
|
64
|
+
entity = TaxUnit
|
|
65
|
+
label = "Rhode Island dependent exemption"
|
|
66
|
+
unit = USD
|
|
67
|
+
definition_period = YEAR
|
|
68
|
+
defined_for = StateCode.RI
|
|
69
|
+
|
|
70
|
+
def formula(tax_unit, period, parameters):
|
|
71
|
+
|
|
72
|
+
maximum = tax_unit("ri_dependent_exemption_maximum", period)
|
|
73
|
+
phaseout = tax_unit("ri_dependent_exemption_phaseout", period)
|
|
74
|
+
|
|
75
|
+
return max_(maximum - phaseout, 0)
|
|
76
|
+
|
|
77
|
+
class ri_older_dependents_count(Variable):
|
|
78
|
+
value_type = float
|
|
79
|
+
entity = TaxUnit
|
|
80
|
+
label = "Rhode Island older dependents count"
|
|
81
|
+
unit = USD
|
|
82
|
+
definition_period = YEAR
|
|
83
|
+
defined_for = StateCode.RI
|
|
84
|
+
|
|
85
|
+
def formula(tax_unit, period, parameters):
|
|
86
|
+
person = tax_unit.members
|
|
87
|
+
is_dependent = person("is_tax_unit_dependent", period)
|
|
88
|
+
total_dependents = tax_unit.sum(is_dependent)
|
|
89
|
+
eligible_dependent_exemptions = tax_unit(
|
|
90
|
+
"ri_eligible_dependents_count", period
|
|
91
|
+
)
|
|
92
|
+
return max_(0, total_dependents - eligible_dependent_exemptions)
|
|
93
|
+
|
|
94
|
+
class ri_exemptions(Variable):
|
|
95
|
+
value_type = float
|
|
96
|
+
entity = TaxUnit
|
|
97
|
+
label = "Rhode Island exemptions"
|
|
98
|
+
unit = USD
|
|
99
|
+
definition_period = YEAR
|
|
100
|
+
defined_for = StateCode.RI
|
|
101
|
+
|
|
102
|
+
def formula(tax_unit, period, parameters):
|
|
103
|
+
p_base = parameters(period).gov.states.ri.tax.income.exemption
|
|
104
|
+
|
|
105
|
+
# Calculate personal exemptions base amount
|
|
106
|
+
filing_status = tax_unit("filing_status", period)
|
|
107
|
+
older_dependents = tax_unit("ri_older_dependents_count", period)
|
|
108
|
+
personal_exemptions = (
|
|
109
|
+
where(
|
|
110
|
+
filing_status == filing_status.possible_values.JOINT,
|
|
111
|
+
2,
|
|
112
|
+
1,
|
|
113
|
+
)
|
|
114
|
+
+ older_dependents
|
|
115
|
+
)
|
|
116
|
+
personal_exemption_base = personal_exemptions * p_base.amount
|
|
117
|
+
|
|
118
|
+
# Apply baseline phase-out to personal exemptions
|
|
119
|
+
mod_agi = tax_unit("ri_agi", period)
|
|
120
|
+
excess_agi = max_(0, mod_agi - p_base.reduction.start)
|
|
121
|
+
increments = np.ceil(excess_agi / p_base.reduction.increment)
|
|
122
|
+
reduction_rate = min_(p_base.reduction.rate * increments, 1)
|
|
123
|
+
personal_exemption_amount = personal_exemption_base * (
|
|
124
|
+
1 - reduction_rate
|
|
125
|
+
)
|
|
126
|
+
|
|
127
|
+
# Add dependent exemption (has its own phase-out logic)
|
|
128
|
+
dependent_exemption_amount = tax_unit(
|
|
129
|
+
"ri_dependent_exemption", period
|
|
130
|
+
)
|
|
131
|
+
|
|
132
|
+
return personal_exemption_amount + dependent_exemption_amount
|
|
133
|
+
|
|
134
|
+
class reform(Reform):
|
|
135
|
+
def apply(self):
|
|
136
|
+
self.update_variable(ri_eligible_dependents_count)
|
|
137
|
+
self.update_variable(ri_dependent_exemption_maximum)
|
|
138
|
+
self.update_variable(ri_dependent_exemption_phaseout)
|
|
139
|
+
self.update_variable(ri_dependent_exemption)
|
|
140
|
+
self.update_variable(ri_exemptions)
|
|
141
|
+
self.update_variable(ri_older_dependents_count)
|
|
142
|
+
|
|
143
|
+
return reform
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
def create_ri_exemption_reform_fn(parameters, period, bypass: bool = False):
|
|
147
|
+
if bypass:
|
|
148
|
+
return create_ri_exemption_reform()
|
|
149
|
+
|
|
150
|
+
p = parameters.gov.contrib.states.ri.dependent_exemption
|
|
151
|
+
|
|
152
|
+
reform_active = False
|
|
153
|
+
current_period = period_(period)
|
|
154
|
+
|
|
155
|
+
for i in range(5):
|
|
156
|
+
if p(current_period).in_effect:
|
|
157
|
+
reform_active = True
|
|
158
|
+
break
|
|
159
|
+
current_period = current_period.offset(1, "year")
|
|
160
|
+
|
|
161
|
+
if reform_active:
|
|
162
|
+
return create_ri_exemption_reform()
|
|
163
|
+
else:
|
|
164
|
+
return None
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
ri_exemption_reform = create_ri_exemption_reform_fn(None, None, bypass=True)
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
from policyengine_core.periods import period as period_
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
def create_ut_refundable_eitc() -> Reform:
|
|
6
|
+
class ut_has_qualifying_child_for_refundable_eitc(Variable):
|
|
7
|
+
value_type = bool
|
|
8
|
+
entity = TaxUnit
|
|
9
|
+
label = "Utah tax unit has qualifying child for refundable EITC"
|
|
10
|
+
defined_for = StateCode.UT
|
|
11
|
+
definition_period = YEAR
|
|
12
|
+
|
|
13
|
+
def formula(tax_unit, period, parameters):
|
|
14
|
+
person = tax_unit.members
|
|
15
|
+
p = parameters(period).gov.contrib.states.ut.eitc
|
|
16
|
+
age = person("age", period)
|
|
17
|
+
is_dependent = person("is_tax_unit_dependent", period)
|
|
18
|
+
is_qualifying_child = (age <= p.max_age) & is_dependent
|
|
19
|
+
return tax_unit.any(is_qualifying_child)
|
|
20
|
+
|
|
21
|
+
class ut_refundable_eitc(Variable):
|
|
22
|
+
value_type = float
|
|
23
|
+
entity = TaxUnit
|
|
24
|
+
label = "Utah refundable EITC"
|
|
25
|
+
unit = USD
|
|
26
|
+
definition_period = YEAR
|
|
27
|
+
defined_for = "ut_has_qualifying_child_for_refundable_eitc"
|
|
28
|
+
|
|
29
|
+
adds = ["ut_eitc"]
|
|
30
|
+
|
|
31
|
+
class ut_eitc(Variable):
|
|
32
|
+
value_type = float
|
|
33
|
+
entity = TaxUnit
|
|
34
|
+
label = "Utah Earned Income Tax Credit"
|
|
35
|
+
unit = USD
|
|
36
|
+
documentation = "This credit is a fraction of the federal EITC."
|
|
37
|
+
definition_period = YEAR
|
|
38
|
+
defined_for = StateCode.UT
|
|
39
|
+
reference = "https://le.utah.gov/xcode/Title59/Chapter10/59-10-S1044.html?v=C59-10-S1044_2022050420220504"
|
|
40
|
+
|
|
41
|
+
def formula(tax_unit, period, parameters):
|
|
42
|
+
p = parameters(
|
|
43
|
+
period
|
|
44
|
+
).gov.states.ut.tax.income.credits.earned_income
|
|
45
|
+
federal_eitc = tax_unit("eitc", period)
|
|
46
|
+
return p.rate * federal_eitc
|
|
47
|
+
|
|
48
|
+
class ut_non_refundable_eitc(Variable):
|
|
49
|
+
value_type = float
|
|
50
|
+
entity = TaxUnit
|
|
51
|
+
label = "Utah non-refundable EITC"
|
|
52
|
+
unit = USD
|
|
53
|
+
definition_period = YEAR
|
|
54
|
+
defined_for = StateCode.UT
|
|
55
|
+
|
|
56
|
+
adds = ["ut_eitc"]
|
|
57
|
+
subtracts = ["ut_refundable_eitc"]
|
|
58
|
+
|
|
59
|
+
class ut_non_refundable_credits(Variable):
|
|
60
|
+
value_type = float
|
|
61
|
+
entity = TaxUnit
|
|
62
|
+
label = "Utah non-refundable tax credits"
|
|
63
|
+
unit = USD
|
|
64
|
+
definition_period = YEAR
|
|
65
|
+
defined_for = StateCode.UT
|
|
66
|
+
|
|
67
|
+
adds = [
|
|
68
|
+
"ut_non_refundable_eitc",
|
|
69
|
+
"ut_retirement_credit",
|
|
70
|
+
"ut_ss_benefits_credit",
|
|
71
|
+
"ut_at_home_parent_credit",
|
|
72
|
+
"ut_ctc",
|
|
73
|
+
]
|
|
74
|
+
|
|
75
|
+
class ut_refundable_credits(Variable):
|
|
76
|
+
value_type = float
|
|
77
|
+
entity = TaxUnit
|
|
78
|
+
label = "Utah refundable credits"
|
|
79
|
+
unit = USD
|
|
80
|
+
definition_period = YEAR
|
|
81
|
+
defined_for = StateCode.UT
|
|
82
|
+
|
|
83
|
+
adds = ["ut_refundable_eitc"]
|
|
84
|
+
|
|
85
|
+
class reform(Reform):
|
|
86
|
+
def apply(self):
|
|
87
|
+
self.update_variable(ut_has_qualifying_child_for_refundable_eitc)
|
|
88
|
+
self.update_variable(ut_refundable_eitc)
|
|
89
|
+
self.update_variable(ut_non_refundable_eitc)
|
|
90
|
+
self.update_variable(ut_eitc)
|
|
91
|
+
self.update_variable(ut_non_refundable_credits)
|
|
92
|
+
self.update_variable(ut_refundable_credits)
|
|
93
|
+
|
|
94
|
+
return reform
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
def create_ut_refundable_eitc_reform(parameters, period, bypass: bool = False):
|
|
98
|
+
if bypass:
|
|
99
|
+
return create_ut_refundable_eitc()
|
|
100
|
+
|
|
101
|
+
p = parameters.gov.contrib.states.ut.eitc
|
|
102
|
+
|
|
103
|
+
reform_active = False
|
|
104
|
+
current_period = period_(period)
|
|
105
|
+
|
|
106
|
+
for i in range(5):
|
|
107
|
+
if p(current_period).in_effect:
|
|
108
|
+
reform_active = True
|
|
109
|
+
break
|
|
110
|
+
current_period = current_period.offset(1, "year")
|
|
111
|
+
|
|
112
|
+
if reform_active:
|
|
113
|
+
return create_ut_refundable_eitc()
|
|
114
|
+
else:
|
|
115
|
+
return None
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
ut_refundable_eitc = create_ut_refundable_eitc_reform(None, None, bypass=True)
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
is_aca_ptc_eligible: true
|
|
6
6
|
slcsp: 1_200
|
|
7
7
|
aca_magi: 25_000
|
|
8
|
-
|
|
8
|
+
aca_required_contribution_percentage: 0.04
|
|
9
9
|
output:
|
|
10
10
|
aca_ptc: 200 # 1200 - 0.04 * 25000 = 200
|
|
11
11
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
is_aca_ptc_eligible: true
|
|
17
17
|
slcsp: 1_200
|
|
18
18
|
aca_magi: 25_000
|
|
19
|
-
|
|
19
|
+
aca_required_contribution_percentage: 0.05
|
|
20
20
|
output:
|
|
21
21
|
aca_ptc: 0 # 1200 - 0.05 * 25000 = -50
|
|
22
22
|
|
|
@@ -27,6 +27,6 @@
|
|
|
27
27
|
is_aca_ptc_eligible: false
|
|
28
28
|
slcsp: 1_200
|
|
29
29
|
aca_magi: 25_000
|
|
30
|
-
|
|
30
|
+
aca_required_contribution_percentage: 0.04
|
|
31
31
|
output:
|
|
32
32
|
aca_ptc: 0 # 1200 - 0.04 * 25000 = 200
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
- name: aca_required_contribution_percentage unit test 1
|
|
2
|
+
period: 2022
|
|
3
|
+
absolute_error_margin: 0.00001
|
|
4
|
+
input:
|
|
5
|
+
aca_magi_fraction: 1.40
|
|
6
|
+
output:
|
|
7
|
+
aca_required_contribution_percentage: 0
|
|
8
|
+
|
|
9
|
+
- name: aca_required_contribution_percentage unit test 2
|
|
10
|
+
period: 2022
|
|
11
|
+
absolute_error_margin: 0.00001
|
|
12
|
+
input:
|
|
13
|
+
aca_magi_fraction: 1.90
|
|
14
|
+
output:
|
|
15
|
+
aca_required_contribution_percentage: 0.0160
|
|
16
|
+
|
|
17
|
+
- name: aca_required_contribution_percentage unit test 3
|
|
18
|
+
period: 2022
|
|
19
|
+
absolute_error_margin: 0.00001
|
|
20
|
+
input:
|
|
21
|
+
aca_magi_fraction: 2.40
|
|
22
|
+
output:
|
|
23
|
+
aca_required_contribution_percentage: 0.0360
|
|
24
|
+
|
|
25
|
+
- name: aca_required_contribution_percentage unit test 4
|
|
26
|
+
period: 2022
|
|
27
|
+
absolute_error_margin: 0.00001
|
|
28
|
+
input:
|
|
29
|
+
aca_magi_fraction: 2.90
|
|
30
|
+
output:
|
|
31
|
+
aca_required_contribution_percentage: 0.0560
|
|
32
|
+
|
|
33
|
+
- name: aca_required_contribution_percentage unit test 5
|
|
34
|
+
period: 2022
|
|
35
|
+
absolute_error_margin: 0.00001
|
|
36
|
+
input:
|
|
37
|
+
aca_magi_fraction: 3.40
|
|
38
|
+
output:
|
|
39
|
+
aca_required_contribution_percentage: 0.0700
|
|
40
|
+
|
|
41
|
+
- name: aca_required_contribution_percentage unit test 6
|
|
42
|
+
period: 2022
|
|
43
|
+
absolute_error_margin: 0.00001
|
|
44
|
+
input:
|
|
45
|
+
aca_magi_fraction: 3.90
|
|
46
|
+
output:
|
|
47
|
+
aca_required_contribution_percentage: 0.0825
|
|
48
|
+
|
|
49
|
+
- name: aca_required_contribution_percentage unit test 7
|
|
50
|
+
period: 2022
|
|
51
|
+
absolute_error_margin: 0.00001
|
|
52
|
+
input:
|
|
53
|
+
aca_magi_fraction: 4.40
|
|
54
|
+
output:
|
|
55
|
+
aca_required_contribution_percentage: 0.0850
|
|
56
|
+
|
|
57
|
+
- name: aca_required_contribution_percentage 2025
|
|
58
|
+
period: 2025
|
|
59
|
+
absolute_error_margin: 0.00001
|
|
60
|
+
input:
|
|
61
|
+
aca_magi_fraction: 4.0
|
|
62
|
+
output:
|
|
63
|
+
aca_required_contribution_percentage: 0.0850
|
|
64
|
+
|
|
65
|
+
- name: aca_required_contribution_percentage 2026
|
|
66
|
+
period: 2026
|
|
67
|
+
absolute_error_margin: 0.00001
|
|
68
|
+
input:
|
|
69
|
+
aca_magi_fraction: 4.0
|
|
70
|
+
output:
|
|
71
|
+
aca_required_contribution_percentage: 0.0996
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
is_aca_ptc_eligible: [true, true, true]
|
|
30
30
|
slcsp: 15_550.90 #15,542 from 2025 kff calculator, they round more aggressively
|
|
31
31
|
aca_magi_fraction: 2.90
|
|
32
|
-
|
|
32
|
+
aca_required_contribution_percentage: 0.056
|
|
33
33
|
aca_ptc: 11_350.90 #$11,327 from 2025 kff calculator
|
|
34
34
|
#Final PTC:
|
|
35
35
|
# - KFF’s result: $15,542 – $4,215 = $11,327 subsidy (annual).
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
slcsp_age_curve_amount_person: [0, 5_526, 3_188]
|
|
31
31
|
slcsp: 8_715.192
|
|
32
32
|
aca_magi_fraction: 2.90
|
|
33
|
-
|
|
33
|
+
aca_required_contribution_percentage: 0.056
|
|
34
34
|
aca_ptc: 4_515.19
|
|
35
35
|
|
|
36
36
|
- name: 2025 VT - one adult esi
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
is_medicaid_eligible: [false, false, false]
|
|
62
62
|
is_aca_ptc_eligible: [false, true, true]
|
|
63
63
|
slcsp: 29_575.32
|
|
64
|
-
|
|
64
|
+
aca_required_contribution_percentage: 0.0721
|
|
65
65
|
aca_ptc: 23_086.32
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
- name: unit test 1 - enrolled, premium-free Part A
|
|
2
|
+
period: 2025
|
|
3
|
+
input:
|
|
4
|
+
age: 65
|
|
5
|
+
is_medicare_eligible: true
|
|
6
|
+
medicare_enrolled: true
|
|
7
|
+
medicare_quarters_of_coverage: 40
|
|
8
|
+
adjusted_gross_income:
|
|
9
|
+
2023: 50_000 # IRMAA uses income from 2 years prior
|
|
10
|
+
tax_exempt_interest_income:
|
|
11
|
+
2023: 0
|
|
12
|
+
output:
|
|
13
|
+
medicare_cost: 12_280 # $14,500 spending - $2,220 Part B premium (2025)
|
|
14
|
+
|
|
15
|
+
- name: unit test 2 - enrolled, pays full Part A premium
|
|
16
|
+
period: 2025
|
|
17
|
+
input:
|
|
18
|
+
age: 65
|
|
19
|
+
is_medicare_eligible: true
|
|
20
|
+
medicare_enrolled: true
|
|
21
|
+
medicare_quarters_of_coverage: 20
|
|
22
|
+
adjusted_gross_income:
|
|
23
|
+
2023: 50_000 # IRMAA uses income from 2 years prior
|
|
24
|
+
tax_exempt_interest_income:
|
|
25
|
+
2023: 0
|
|
26
|
+
output:
|
|
27
|
+
medicare_cost: 6_064 # $14,500 - $6,216 Part A - $2,220 Part B (2025)
|
|
28
|
+
|
|
29
|
+
- name: unit test 3 - enrolled with IRMAA
|
|
30
|
+
period: 2025
|
|
31
|
+
input:
|
|
32
|
+
age: 65
|
|
33
|
+
is_medicare_eligible: true
|
|
34
|
+
medicare_enrolled: true
|
|
35
|
+
medicare_quarters_of_coverage: 40
|
|
36
|
+
adjusted_gross_income:
|
|
37
|
+
2023: 500_000 # IRMAA uses income from 2 years prior
|
|
38
|
+
tax_exempt_interest_income:
|
|
39
|
+
2023: 0
|
|
40
|
+
filing_status: SINGLE
|
|
41
|
+
output:
|
|
42
|
+
medicare_cost: 6_953.2 # $14,500 - $7,546.80 Part B with IRMAA (2025)
|
|
43
|
+
|
|
44
|
+
- name: unit test 4 - eligible but not enrolled
|
|
45
|
+
period: 2025
|
|
46
|
+
input:
|
|
47
|
+
age: 65
|
|
48
|
+
is_medicare_eligible: true
|
|
49
|
+
medicare_enrolled: false
|
|
50
|
+
output:
|
|
51
|
+
medicare_cost: 0
|
|
52
|
+
|
|
53
|
+
- name: unit test 5 - 2021 data, premium-free
|
|
54
|
+
period: 2021
|
|
55
|
+
input:
|
|
56
|
+
age: 70
|
|
57
|
+
is_medicare_eligible: true
|
|
58
|
+
medicare_enrolled: true
|
|
59
|
+
medicare_quarters_of_coverage: 40
|
|
60
|
+
adjusted_gross_income:
|
|
61
|
+
2019: 50_000 # IRMAA uses income from 2 years prior
|
|
62
|
+
tax_exempt_interest_income:
|
|
63
|
+
2019: 0
|
|
64
|
+
output:
|
|
65
|
+
medicare_cost: 9_298 # $11,080 - $1,782 Part B (2021: $148.50*12)
|