policyengine-us 1.439.0__py3-none-any.whl → 1.458.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.
Files changed (314) hide show
  1. policyengine_us/parameters/calibration/gov/hhs/medicare/per_capita_cost.yaml +12 -0
  2. policyengine_us/parameters/gov/contrib/states/de/dependent_credit/age_limit/in_effect.yaml +9 -0
  3. policyengine_us/parameters/gov/contrib/states/de/dependent_credit/age_limit/threshold.yaml +9 -0
  4. policyengine_us/parameters/gov/contrib/states/de/dependent_credit/amount.yaml +9 -0
  5. policyengine_us/parameters/gov/contrib/states/de/dependent_credit/in_effect.yaml +9 -0
  6. policyengine_us/parameters/gov/contrib/states/de/dependent_credit/phaseout/rate.yaml +9 -0
  7. policyengine_us/parameters/gov/contrib/states/de/dependent_credit/phaseout/threshold.yaml +23 -0
  8. policyengine_us/parameters/gov/contrib/states/ut/eitc/in_effect.yaml +9 -0
  9. policyengine_us/parameters/gov/contrib/states/ut/eitc/max_age.yaml +9 -0
  10. policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/medically_needy/categories/child/child.yaml +0 -1
  11. policyengine_us/parameters/gov/hhs/medicare/part_a/deductible.yaml +13 -0
  12. policyengine_us/parameters/gov/hhs/medicare/part_a/default_quarters_of_coverage.yaml +10 -0
  13. policyengine_us/parameters/gov/hhs/medicare/part_a/full_premium.yaml +13 -0
  14. policyengine_us/parameters/gov/hhs/medicare/part_a/premium_free_quarters_threshold.yaml +10 -0
  15. policyengine_us/parameters/gov/hhs/medicare/part_a/reduced_premium.yaml +13 -0
  16. policyengine_us/parameters/gov/hhs/medicare/part_a/reduced_premium_quarters_threshold.yaml +10 -0
  17. policyengine_us/parameters/gov/hhs/medicare/part_b/base_premium.yaml +16 -0
  18. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/head_of_household.yaml +50 -0
  19. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/joint.yaml +49 -0
  20. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/separate.yaml +30 -0
  21. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/single.yaml +50 -0
  22. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/surviving_spouse.yaml +49 -0
  23. policyengine_us/parameters/gov/irs/credits/cdcc/eligibility/child_age.yaml +0 -1
  24. policyengine_us/parameters/gov/irs/credits/clean_vehicle/new/eligibility/min_kwh.yaml +0 -1
  25. policyengine_us/parameters/gov/irs/credits/clean_vehicle/used/eligibility/sale_price_limit.yaml +0 -1
  26. policyengine_us/parameters/gov/irs/credits/education/american_opportunity_credit/abolition.yaml +0 -1
  27. policyengine_us/parameters/gov/irs/credits/education/american_opportunity_credit/refundability.yaml +0 -1
  28. policyengine_us/parameters/gov/irs/credits/education/lifetime_learning_credit/abolition.yaml +0 -1
  29. policyengine_us/parameters/gov/irs/credits/education/lifetime_learning_credit/expense_limit.yaml +0 -1
  30. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/advanced_main_air_circulating_fan.yaml +0 -1
  31. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/door.yaml +0 -1
  32. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/energy_efficient_central_air_conditioner.yaml +0 -1
  33. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/heat_pump_heat_pump_water_heater_biomass_stove_boiler.yaml +0 -1
  34. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/home_energy_audit.yaml +0 -1
  35. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/qualified_furnace_or_hot_water_boiler.yaml +0 -1
  36. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/roof.yaml +0 -1
  37. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/total.yaml +0 -1
  38. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/window.yaml +0 -1
  39. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/lifetime/total.yaml +0 -1
  40. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/lifetime/window.yaml +0 -1
  41. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/in_effect.yaml +0 -1
  42. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/qualified_expenditures/credits.yaml +0 -1
  43. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/qualified_expenditures/heat_pump_heat_pump_water_heater_biomass_stove_boiler.yaml +0 -1
  44. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/rates/home_energy_audit.yaml +0 -1
  45. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/rates/improvements.yaml +0 -1
  46. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/rates/property.yaml +0 -1
  47. policyengine_us/parameters/gov/irs/credits/premium_tax_credit/phase_out/ending_rate.yaml +0 -1
  48. policyengine_us/parameters/gov/irs/credits/premium_tax_credit/phase_out/starting_rate.yaml +0 -1
  49. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/max/adult.yaml +0 -1
  50. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/max/dependent.yaml +0 -1
  51. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/phase_out/length.yaml +0 -1
  52. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/phase_out/threshold.yaml +0 -1
  53. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/max/adult.yaml +0 -1
  54. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/max/child.yaml +0 -1
  55. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/phase_out/rate.yaml +0 -1
  56. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/phase_out/threshold.yaml +0 -1
  57. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/max/adult.yaml +0 -1
  58. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/max/child.yaml +0 -1
  59. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/phase_out/rate.yaml +0 -1
  60. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/phase_out/threshold.yaml +0 -1
  61. policyengine_us/parameters/gov/irs/credits/residential_clean_energy/applicable_percentage.yaml +0 -1
  62. policyengine_us/parameters/gov/irs/credits/residential_clean_energy/elements.yaml +0 -1
  63. policyengine_us/parameters/gov/irs/credits/residential_clean_energy/fuel_cell_cap_per_kw.yaml +0 -1
  64. policyengine_us/parameters/gov/irs/deductions/qbi/max/reit_ptp_rate.yaml +13 -0
  65. policyengine_us/parameters/gov/irs/deductions/standard/aged_or_blind/age_threshold.yaml +0 -1
  66. policyengine_us/parameters/gov/irs/payroll/medicare/additional/exclusion.yaml +0 -1
  67. policyengine_us/parameters/gov/local/ny/mamdani_income_tax/in_effect.yaml +10 -0
  68. policyengine_us/parameters/gov/local/ny/mamdani_income_tax/rate.yaml +18 -0
  69. policyengine_us/parameters/gov/states/ar/tax/income/rates/main/reduction.yaml +30 -0
  70. policyengine_us/parameters/gov/states/ca/chhs/medi_cal_enrollment_freeze/in_effect.yaml +12 -0
  71. policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/amount/{single.yaml → non_joint.yaml} +2 -2
  72. policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/income_limit/{single.yaml → non_joint.yaml} +2 -2
  73. policyengine_us/parameters/gov/states/il/dhs/aabd/{qualified_noncitizen_status.yaml → qualified_noncitizen_statuses.yaml} +3 -5
  74. policyengine_us/parameters/gov/states/il/dhs/tanf/{qualified_noncitizen_status.yaml → qualified_noncitizen_statuses.yaml} +2 -2
  75. policyengine_us/parameters/gov/states/il/hfs/README.md +1 -0
  76. policyengine_us/parameters/gov/states/il/hfs/bcc/eligibility/age.yaml +12 -0
  77. policyengine_us/parameters/gov/states/il/hfs/fpp/eligibility/household_size.yaml +14 -0
  78. policyengine_us/parameters/gov/states/il/hfs/fpp/eligibility/income_limit.yaml +15 -0
  79. policyengine_us/parameters/gov/states/il/hfs/hbwd/README.md +1 -0
  80. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/age.yaml +25 -0
  81. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/asset/limit.yaml +15 -0
  82. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/income/limit.yaml +15 -0
  83. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/income/sources/earned.yaml +13 -0
  84. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/income/sources/unearned.yaml +25 -0
  85. policyengine_us/parameters/gov/states/il/hfs/hbwd/premium/earned.yaml +96 -0
  86. policyengine_us/parameters/gov/states/il/hfs/hbwd/premium/unearned.yaml +96 -0
  87. policyengine_us/parameters/gov/states/il/hfs/mpe/eligibility/income_limit.yaml +13 -0
  88. policyengine_us/parameters/gov/states/il/hfs/qualified_noncitizen_statuses.yaml +17 -0
  89. policyengine_us/parameters/gov/states/mt/tax/income/deductions/itemized/spouse_allocation_rate.yaml +13 -0
  90. policyengine_us/parameters/gov/states/nj/tax/income/additions.yaml +12 -0
  91. policyengine_us/parameters/gov/states/nj/tax/income/gross_income_sources.yaml +32 -0
  92. policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/amount.yaml +4 -0
  93. policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/max_agi.yaml +6 -2
  94. policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/max_child_age.yaml +6 -2
  95. policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/parent_max_earnings.yaml +6 -2
  96. policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/amount.yaml +4 -0
  97. policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/child_age_threshold.yaml +4 -0
  98. policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/reduction/rate.yaml +4 -0
  99. policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/reduction/start.yaml +4 -0
  100. policyengine_us/parameters/gov/states/ut/tax/income/credits/earned_income/rate.yaml +4 -0
  101. policyengine_us/parameters/gov/states/ut/tax/income/credits/military_retirement/rate.yaml +26 -0
  102. policyengine_us/parameters/gov/states/ut/tax/income/credits/non_refundable.yaml +5 -0
  103. policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/birth_year.yaml +4 -0
  104. policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/max.yaml +4 -0
  105. policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/phase_out/rate.yaml +4 -0
  106. policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/phase_out/threshold.yaml +4 -0
  107. policyengine_us/parameters/gov/states/ut/tax/income/credits/ss_benefits/phase_out/rate.yaml +4 -0
  108. policyengine_us/parameters/gov/states/ut/tax/income/credits/ss_benefits/phase_out/threshold.yaml +4 -0
  109. policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/in_effect.yaml +2 -0
  110. policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/personal_exemption.yaml +5 -0
  111. policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/rate.yaml +5 -1
  112. policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/threshold.yaml +9 -0
  113. policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/rate.yaml +4 -0
  114. policyengine_us/parameters/gov/states/ut/tax/income/rate.yaml +3 -0
  115. policyengine_us/parameters/gov/states/wa/dshs/tanf/income/deductions/earned_income_disregard/amount.yaml +14 -0
  116. policyengine_us/parameters/gov/states/wa/dshs/tanf/income/deductions/earned_income_disregard/percentage_disregarded.yaml +14 -0
  117. policyengine_us/parameters/gov/states/wa/dshs/tanf/income/limit.yaml +36 -0
  118. policyengine_us/parameters/gov/states/wa/dshs/tanf/maximum_family_size.yaml +14 -0
  119. policyengine_us/parameters/gov/states/wa/dshs/tanf/payment_standard/amount.yaml +32 -0
  120. policyengine_us/parameters/gov/states/wa/dshs/tanf/payment_standard/maximum_amount.yaml +12 -0
  121. policyengine_us/parameters/gov/states/wa/dshs/tanf/resource_limit.yaml +15 -0
  122. policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/adjustment_limit_basis.yaml +12 -0
  123. policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/exemption_rate.yaml +13 -0
  124. policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/rate.yaml +12 -0
  125. policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/threshold.yaml +13 -0
  126. policyengine_us/parameters/gov/territories/pr/tax/income/regular_tax/percentage.yaml +21 -0
  127. policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/deductions/sources.yaml +18 -0
  128. policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/sources.yaml +15 -0
  129. policyengine_us/parameters/gov/usda/snap/student/child_age_limit/single_parent.yaml +12 -0
  130. policyengine_us/parameters/gov/usda/snap/student/child_age_limit/two_parent.yaml +12 -0
  131. policyengine_us/parameters/simulation/disabled_programs.yaml +0 -1
  132. policyengine_us/reforms/local/ny/__init__.py +4 -0
  133. policyengine_us/reforms/local/ny/mamdani_income_tax.py +84 -0
  134. policyengine_us/reforms/reforms.py +21 -0
  135. policyengine_us/reforms/state_dependent_exemptions/repeal_state_dependent_exemptions.py +1 -1
  136. policyengine_us/reforms/states/de/__init__.py +3 -0
  137. policyengine_us/reforms/states/de/dependent_credit/de_dependent_credit_reform.py +165 -0
  138. policyengine_us/reforms/states/ut/__init__.py +3 -0
  139. policyengine_us/reforms/states/ut/ut_refundable_eitc.py +118 -0
  140. policyengine_us/tests/policy/baseline/gov/hhs/medicaid/medicaid_enrolled.yaml +105 -0
  141. policyengine_us/tests/policy/baseline/gov/hhs/medicare/costs/medicare_cost.yaml +65 -0
  142. policyengine_us/tests/policy/baseline/gov/hhs/medicare/eligibility/base_part_a_premium.yaml +35 -0
  143. policyengine_us/tests/policy/baseline/gov/hhs/medicare/eligibility/base_part_b_premium.yaml +15 -0
  144. policyengine_us/tests/policy/baseline/gov/hhs/medicare/eligibility/income_adjusted_part_b_premium.yaml +77 -0
  145. policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/deductions/qbid/qbid_amount.yaml +75 -3
  146. policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.yaml +68 -0
  147. policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/integration.yaml +26 -0
  148. policyengine_us/tests/policy/baseline/gov/local/ca/la/general_relief/eligible/immigration/la_general_relief_immigration_status_eligible_person.yaml +2 -2
  149. policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/integration.yaml +35 -0
  150. policyengine_us/tests/policy/baseline/gov/states/ca/chhs/is_ca_medicaid_immigration_status_eligible.yaml +59 -5
  151. policyengine_us/tests/policy/baseline/gov/states/co/tax/income/additions/federal_deduction/co_federal_deduction_addback.yaml +2 -2
  152. policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/eligibility/il_tanf_immigration_status_eligible_person.yaml +2 -10
  153. policyengine_us/tests/policy/baseline/gov/states/il/hfs/bcc/eligibility/il_bcc_age_eligible.yaml +39 -0
  154. policyengine_us/tests/policy/baseline/gov/states/il/hfs/bcc/eligibility/il_bcc_eligible.yaml +95 -0
  155. policyengine_us/tests/policy/baseline/gov/states/il/hfs/bcc/eligibility/il_bcc_insurance_eligible.yaml +35 -0
  156. policyengine_us/tests/policy/baseline/gov/states/il/hfs/fpp/il_fpp_income_eligible.yaml +35 -0
  157. policyengine_us/tests/policy/baseline/gov/states/il/hfs/fpp/il_fpp_income_level.yaml +27 -0
  158. policyengine_us/tests/policy/baseline/gov/states/il/hfs/fpp/integration.yaml +116 -0
  159. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/asset/il_hbwd_countable_assets.yaml +23 -0
  160. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_age_eligible.yaml +39 -0
  161. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_asset_eligible.yaml +31 -0
  162. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_disability_eligible.yaml +35 -0
  163. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_eligible.yaml +65 -0
  164. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_employment_eligible.yaml +34 -0
  165. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_income_eligible.yaml +25 -0
  166. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/il_hbwd_person.yaml +34 -0
  167. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/il_hbwd_premium.yaml +84 -0
  168. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/integration.yaml +183 -0
  169. policyengine_us/tests/policy/baseline/gov/states/il/hfs/il_hfs_immigration_status_eligible.yaml +47 -0
  170. policyengine_us/tests/policy/baseline/gov/states/il/hfs/mpe/il_mpe_eligible.yaml +39 -0
  171. policyengine_us/tests/policy/baseline/gov/states/il/hfs/mpe/il_mpe_income_eligible.yaml +23 -0
  172. policyengine_us/tests/policy/baseline/gov/states/il/hfs/mpe/integration.yaml +138 -0
  173. policyengine_us/tests/policy/baseline/gov/states/il/hfs/smib/eligibility/il_smib_eligible.yaml +88 -0
  174. policyengine_us/tests/policy/baseline/gov/states/il/hfs/smib/integration.yaml +73 -0
  175. policyengine_us/tests/policy/baseline/gov/states/ky/tax/income/credits/family_size_tax_credit/ky_family_size_tax_credit_rate.yaml +8 -8
  176. policyengine_us/tests/policy/baseline/gov/states/ma/dta/ssp/ma_state_supplement.yaml +2 -0
  177. policyengine_us/tests/policy/baseline/gov/states/mo/tax/income/deductions/mo_federal_income_tax_deduction.yaml +2 -14
  178. 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
  179. 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
  180. 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
  181. policyengine_us/tests/policy/baseline/gov/states/nc/tax/income/deductions/nc_itemized_deductions.yaml +2 -2
  182. policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/credits/eitc/nj_eitc.yaml +8 -3
  183. policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/integration.yaml +137 -0
  184. policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/taxable_income/nj_agi.yaml +7 -8
  185. policyengine_us/tests/policy/baseline/gov/states/oh/tax/income/credits/joint_filing_credit/oh_joint_filing_credit_qualifying_income.yaml +29 -0
  186. policyengine_us/tests/policy/baseline/gov/states/oh/tax/income/integration.yaml +82 -0
  187. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_categorically_eligible_person.yaml +1 -1
  188. policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit.yaml +89 -0
  189. policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit_eligible.yaml +50 -0
  190. policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/ss_benefits_credit/ut_ss_benefits_credit_max.yaml +5 -5
  191. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/benefit/wa_tanf_payment_standard.yaml +48 -0
  192. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/eligibility/wa_tanf_eligible.yaml +65 -0
  193. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/eligibility/wa_tanf_income_eligible.yaml +96 -0
  194. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/income/wa_tanf_countable_earned_income.yaml +70 -0
  195. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/integration.yaml +676 -0
  196. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/wa_tanf.yaml +102 -0
  197. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/wa_tanf_resources_eligible.yaml +6 -7
  198. policyengine_us/tests/policy/baseline/gov/states/wv/tax/income/credits/liftc/wv_low_income_family_tax_credit_fpg.yaml +10 -6
  199. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_amount.yaml +29 -0
  200. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_eligible.yaml +15 -0
  201. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_agi.yaml +17 -0
  202. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_agi_person.yaml +17 -0
  203. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_tax_before_credits.yaml +19 -0
  204. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/pr_net_taxable_income.yaml +26 -0
  205. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/is_snap_higher_ed_student.yaml +23 -0
  206. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/is_snap_ineligible_student.yaml +75 -4
  207. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/meets_snap_parent_exception.yaml +345 -0
  208. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/meets_snap_work_exception.yaml +47 -0
  209. policyengine_us/tests/policy/baseline/gov/usda/snap/income/federal_work_study_income_exclusion.yaml +24 -0
  210. policyengine_us/tests/policy/baseline/gov/usda/snap/income/snap_countable_earner.yaml +25 -0
  211. policyengine_us/tests/policy/baseline/gov/usda/snap/snap_min_allotment.yaml +3 -3
  212. policyengine_us/tests/policy/baseline/gov/usda/wic/integration.yaml +181 -0
  213. policyengine_us/tests/policy/baseline/gov/usda/wic/is_wic_at_nutritional_risk.yaml +33 -0
  214. policyengine_us/tests/policy/baseline/gov/usda/wic/is_wic_eligible.yaml +28 -15
  215. policyengine_us/tests/policy/baseline/household/demographic/geographic/state_group.yaml +21 -0
  216. policyengine_us/tests/policy/baseline/household/expense/health/has_bcc_qualifying_coverage.yaml +12 -0
  217. policyengine_us/tests/policy/contrib/local/ny/nyc_mamdani_income_tax.yaml +51 -0
  218. policyengine_us/tests/policy/contrib/state_dependent_exemptions/repeal_state_dependent_exemptions.yaml +25 -1
  219. policyengine_us/tests/policy/contrib/states/de/dependent_credit_reform_test.yaml +210 -0
  220. policyengine_us/tests/policy/contrib/states/ut/ut_refundable_eitc.yaml +214 -0
  221. policyengine_us/variables/gov/ed/is_federal_work_study_participant.py +9 -0
  222. policyengine_us/variables/gov/hhs/medicaid/costs/medicaid_group.py +2 -2
  223. policyengine_us/variables/gov/hhs/medicaid/receives_medicaid.py +17 -0
  224. policyengine_us/variables/gov/hhs/medicare/costs/medicare_cost.py +30 -0
  225. policyengine_us/variables/gov/hhs/medicare/costs/medicare_enrolled.py +14 -0
  226. policyengine_us/variables/gov/hhs/medicare/eligibility/part_a/base_part_a_premium.py +32 -0
  227. policyengine_us/variables/gov/hhs/medicare/eligibility/part_a/is_premium_free_part_a.py +22 -0
  228. policyengine_us/variables/gov/hhs/medicare/eligibility/part_a/medicare_quarters_of_coverage.py +16 -0
  229. policyengine_us/variables/gov/hhs/medicare/eligibility/part_b/base_part_b_premium.py +16 -0
  230. policyengine_us/variables/gov/hhs/medicare/eligibility/part_b/income_adjusted_part_b_premium.py +55 -0
  231. policyengine_us/variables/gov/irs/income/taxable_income/deductions/qualified_business_income_deduction/qbid_amount.py +16 -6
  232. policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py +47 -0
  233. policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/income/amt_income_less_exemptions.py +4 -22
  234. policyengine_us/variables/gov/states/ca/chhs/is_ca_medicaid_immigration_status_eligible.py +25 -4
  235. policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/exemption/ca_amt_exemption.py +4 -2
  236. policyengine_us/variables/gov/states/ca/tax/income/ca_income_tax.py +1 -0
  237. policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit.py +1 -1
  238. policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible.py +1 -1
  239. policyengine_us/variables/gov/states/il/dhs/aabd/eligibility/il_aabd_immigration_status_eligible_person.py +1 -1
  240. policyengine_us/variables/gov/states/il/dhs/tanf/eligibility/il_tanf_immigration_status_eligible_person.py +1 -1
  241. policyengine_us/variables/gov/states/il/hfs/bcc/eligibility/il_bcc_age_eligible.py +15 -0
  242. policyengine_us/variables/gov/states/il/hfs/bcc/eligibility/il_bcc_eligible.py +27 -0
  243. policyengine_us/variables/gov/states/il/hfs/bcc/eligibility/il_bcc_insurance_eligible.py +29 -0
  244. policyengine_us/variables/gov/states/il/hfs/fpp/eligibility/il_fpp_eligible.py +40 -0
  245. policyengine_us/variables/gov/states/il/hfs/fpp/eligibility/il_fpp_income_eligible.py +18 -0
  246. policyengine_us/variables/gov/states/il/hfs/fpp/il_fpp_income_level.py +29 -0
  247. policyengine_us/variables/gov/states/il/hfs/hbwd/asset/il_hbwd_countable_assets.py +34 -0
  248. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_age_eligible.py +20 -0
  249. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_asset_eligible.py +21 -0
  250. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_disability_eligible.py +20 -0
  251. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_eligible.py +33 -0
  252. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_employment_eligible.py +25 -0
  253. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_income_eligible.py +23 -0
  254. policyengine_us/variables/gov/states/il/hfs/hbwd/il_hbwd.py +17 -0
  255. policyengine_us/variables/gov/states/il/hfs/hbwd/il_hbwd_person.py +24 -0
  256. policyengine_us/variables/gov/states/il/hfs/hbwd/il_hbwd_premium.py +23 -0
  257. policyengine_us/variables/gov/states/il/hfs/hbwd/income/earned/il_hbwd_countable_earned_income.py +24 -0
  258. policyengine_us/variables/gov/states/il/hfs/hbwd/income/earned/il_hbwd_gross_earned_income.py +16 -0
  259. policyengine_us/variables/gov/states/il/hfs/hbwd/income/il_hbwd_countable_income.py +21 -0
  260. policyengine_us/variables/gov/states/il/hfs/hbwd/income/unearned/il_hbwd_countable_unearned_income.py +16 -0
  261. policyengine_us/variables/gov/states/il/hfs/il_hfs_immigration_status_eligible.py +23 -0
  262. policyengine_us/variables/gov/states/il/hfs/mpe/eligibility/il_mpe_income_eligible.py +15 -0
  263. policyengine_us/variables/gov/states/il/hfs/mpe/il_mpe_eligible.py +15 -0
  264. policyengine_us/variables/gov/states/il/hfs/smib/eligibility/il_smib_categorical_eligible.py +26 -0
  265. policyengine_us/variables/gov/states/il/hfs/smib/eligibility/il_smib_eligible.py +28 -0
  266. policyengine_us/variables/gov/states/il/hfs/smib/il_smib.py +21 -0
  267. policyengine_us/variables/gov/states/il/hfs/smib/il_smib_person.py +24 -0
  268. policyengine_us/variables/gov/states/ky/tax/income/credits/family_size_credit/ky_family_size_tax_credit_rate.py +1 -1
  269. policyengine_us/variables/gov/states/ma/dta/ssp/ma_state_supplement.py +1 -0
  270. policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_itemized_deductions_indiv.py +3 -2
  271. policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_additions.py +8 -3
  272. policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_gross_income.py +17 -0
  273. policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_total_income.py +12 -6
  274. policyengine_us/variables/gov/states/nj/tax/income/credits/eitc/nj_eitc.py +7 -1
  275. policyengine_us/variables/gov/states/oh/tax/income/credits/joint_filing_credit/oh_joint_filing_credit_qualifying_income.py +7 -3
  276. policyengine_us/variables/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit.py +20 -0
  277. policyengine_us/variables/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit_eligible.py +22 -0
  278. policyengine_us/variables/gov/states/wa/dshs/tanf/benefit/wa_tanf_payment_standard.py +22 -0
  279. policyengine_us/variables/gov/states/wa/dshs/tanf/eligibility/wa_tanf_eligible.py +42 -0
  280. policyengine_us/variables/gov/states/wa/dshs/tanf/eligibility/wa_tanf_income_eligible.py +31 -0
  281. policyengine_us/variables/gov/states/wa/dshs/tanf/income/wa_tanf_countable_earned_income.py +33 -0
  282. policyengine_us/variables/gov/states/wa/dshs/tanf/income/wa_tanf_countable_income.py +16 -0
  283. policyengine_us/variables/gov/states/wa/dshs/tanf/wa_tanf.py +34 -0
  284. policyengine_us/variables/gov/states/wa/dshs/tanf/wa_tanf_resources_eligible.py +3 -2
  285. policyengine_us/variables/gov/states/wv/tax/income/credits/liftc/wv_low_income_family_tax_credit_fpg.py +1 -1
  286. policyengine_us/variables/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_amount.py +23 -0
  287. policyengine_us/variables/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_eligible.py +16 -0
  288. policyengine_us/variables/gov/territories/pr/tax/income/pr_agi.py +11 -1
  289. policyengine_us/variables/gov/territories/pr/tax/income/pr_agi_person.py +11 -1
  290. policyengine_us/variables/gov/territories/pr/tax/income/pr_regular_tax_before_credits.py +9 -0
  291. policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/deductions/pr_deductions.py +13 -0
  292. policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/exemptions/pr_exemptions.py +13 -0
  293. policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/pr_net_taxable_income.py +6 -0
  294. policyengine_us/variables/gov/usda/snap/eligibility/student/is_snap_higher_ed_student.py +17 -0
  295. policyengine_us/variables/gov/usda/snap/eligibility/student/is_snap_ineligible_student.py +47 -15
  296. policyengine_us/variables/gov/usda/snap/eligibility/student/meets_snap_parent_exception.py +42 -0
  297. policyengine_us/variables/gov/usda/snap/eligibility/student/meets_snap_work_exception.py +22 -0
  298. policyengine_us/variables/gov/usda/snap/income/snap_countable_earner.py +13 -2
  299. policyengine_us/variables/gov/usda/wic/is_wic_at_nutritional_risk.py +3 -10
  300. policyengine_us/variables/gov/usda/wic/is_wic_eligible.py +10 -1
  301. policyengine_us/variables/household/demographic/geographic/state_group.py +8 -5
  302. policyengine_us/variables/household/demographic/person/is_part_time_college_student.py +9 -0
  303. policyengine_us/variables/household/expense/health/has_bcc_qualifying_coverage.py +16 -0
  304. policyengine_us/variables/household/income/person/dividends/qualified_reit_and_ptp_income.py +1 -1
  305. policyengine_us/variables/household/income/spm_unit/spm_unit_tenure_type.py +17 -0
  306. {policyengine_us-1.439.0.dist-info → policyengine_us-1.458.0.dist-info}/METADATA +2 -2
  307. {policyengine_us-1.439.0.dist-info → policyengine_us-1.458.0.dist-info}/RECORD +312 -138
  308. {policyengine_us-1.439.0.dist-info → policyengine_us-1.458.0.dist-info}/WHEEL +1 -1
  309. policyengine_us/parameters/gov/states/wa/dshs/tanf/eligibility/resources/limit.yaml +0 -11
  310. policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/integation.yaml +0 -57
  311. /policyengine_us/variables/gov/states/co/ssa/{state_suplement → state_supplement}/co_state_supplement.py +0 -0
  312. /policyengine_us/variables/gov/states/co/ssa/{state_suplement → state_supplement}/co_state_supplement_eligible.py +0 -0
  313. {policyengine_us-1.439.0.dist-info → policyengine_us-1.458.0.dist-info}/entry_points.txt +0 -0
  314. {policyengine_us-1.439.0.dist-info → policyengine_us-1.458.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,14 @@
1
+ description: Washington defines payment standards and income limits for family sizes up to this maximum under the Temporary Assistance for Needy Families program.
2
+
3
+ values:
4
+ 2024-01-01: 10
5
+
6
+ metadata:
7
+ unit: person
8
+ period: year
9
+ label: Washington TANF maximum family size
10
+ reference:
11
+ - title: WAC 388-478-0020 - Payment standards for TANF, SFA, and RCA
12
+ href: https://app.leg.wa.gov/wac/default.aspx?cite=388-478-0020
13
+ - title: WAC 388-478-0035 - Maximum earned income limits for TANF, SFA, PWA, and RCA
14
+ href: https://app.leg.wa.gov/wac/default.aspx?cite=388-478-0035
@@ -0,0 +1,32 @@
1
+ description: Washington provides this payment standard based on assistance unit size under the Temporary Assistance for Needy Families program.
2
+
3
+ metadata:
4
+ unit: currency-USD
5
+ period: month
6
+ label: Washington TANF payment standard
7
+ breakdown:
8
+ - range(1, 11)
9
+ reference:
10
+ - title: WAC 388-478-0020 - Payment standards for TANF, SFA, and RCA
11
+ href: https://app.leg.wa.gov/wac/default.aspx?cite=388-478-0020
12
+
13
+ 1:
14
+ 2024-01-01: 450
15
+ 2:
16
+ 2024-01-01: 570
17
+ 3:
18
+ 2024-01-01: 706
19
+ 4:
20
+ 2024-01-01: 833
21
+ 5:
22
+ 2024-01-01: 959
23
+ 6:
24
+ 2024-01-01: 1_090
25
+ 7:
26
+ 2024-01-01: 1_258
27
+ 8:
28
+ 2024-01-01: 1_392
29
+ 9:
30
+ 2024-01-01: 1_529
31
+ 10:
32
+ 2024-01-01: 1_662
@@ -0,0 +1,12 @@
1
+ description: Washington limits the grant payment to this amount under the Temporary Assistance for Needy Families program.
2
+
3
+ values:
4
+ 2024-01-01: 1_338
5
+
6
+ metadata:
7
+ unit: currency-USD
8
+ period: month
9
+ label: Washington TANF maximum grant cap
10
+ reference:
11
+ - title: DSHS Eligibility A-Z Manual, Income - Effect of Income and Deductions on Eligibility
12
+ href: https://www.dshs.wa.gov/esa/income-table-contents/income-effect-income-and-deductions-eligibility-and-benefit-level
@@ -0,0 +1,15 @@
1
+ description: Washington limits the Temporary Assistance for Needy Families program to households with countable resources up to this amount.
2
+
3
+ values:
4
+ 2022-01-01: 6_000
5
+ 2024-01-01: 12_000
6
+
7
+ metadata:
8
+ unit: currency-USD
9
+ period: year
10
+ label: Washington TANF resource limit
11
+ reference:
12
+ - title: Washington TANF State Plan 2022, page 13 - $6,000 cash resource limit
13
+ href: https://workfirst.wa.gov/sites/default/files/public/TANF_stateplan_2022_final.pdf#page=13
14
+ - title: HB 1447 (2023 c 418) - Increased asset limit to $12,000 effective Feb 1, 2024
15
+ href: https://app.leg.wa.gov/billsummary?BillNumber=1447&Year=2023
@@ -0,0 +1,12 @@
1
+ description: Puerto Rico provides the following basis amount for the gradual adjustment limit.
2
+ values:
3
+ 2024-01-01: 8_895
4
+ metadata:
5
+ unit: currency-USD
6
+ period: year
7
+ label: Puerto Rico gradual adjustment limit basis
8
+ reference:
9
+ - title: Gov. of Puerto Rico Form 482.0 2024
10
+ href: https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=52
11
+ - title: P.R. Laws tit. 13, § 30061 (b)(5)(e)
12
+ href: https://bvirtualogp.pr.gov/ogp/Bvirtual/leyesreferencia/PDF/2-ingles/1-2011.pdf#page=32
@@ -0,0 +1,13 @@
1
+ description: Puerto Rico provides the following rate to reduce the total exemptions when calculating the gradual adjustment limit.
2
+ values:
3
+ 2024-01-01: 0.33
4
+ metadata:
5
+ unit: /1
6
+ period: year
7
+ label: Puerto Rico gradual adjustment rate for exemptions
8
+ # discrepancy between legal form and tax form for the exemptions rate
9
+ reference:
10
+ - title: Gov. of Puerto Rico Form 482.0 2024
11
+ href: https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=52
12
+ - title: P.R. Laws tit. 13, § 30061 (b)(5)(c)
13
+ href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1004/subchapter-a/30061/
@@ -0,0 +1,12 @@
1
+ description: Puerto Rico provides the following rate to reduce the taxable net income when calculating gradual adjustment.
2
+ values:
3
+ 2024-01-01: 0.05
4
+ metadata:
5
+ unit: /1
6
+ period: year
7
+ label: Puerto Rico gradual adjustment rate for taxable net income
8
+ reference:
9
+ - title: Gov. of Puerto Rico Form 482.0 2024
10
+ href: https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=52
11
+ - title: P.R. Laws tit. 13, § 30061 (b)(1)-(4)
12
+ href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1004/subchapter-a/30061/
@@ -0,0 +1,13 @@
1
+ description: Puerto Rico provides the following income amount as a threshold for the gradual adjustment amount.
2
+ values:
3
+ 2024-01-01: 500_000
4
+ metadata:
5
+ unit: currency-USD
6
+ period: year
7
+ label: Puerto Rico gradual adjustment amount income threshold
8
+ # discrepancy between legal form and tax form for the income threshold
9
+ reference:
10
+ - title: Gov. of Puerto Rico Form 482.0 2024
11
+ href: https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=52
12
+ - title: P.R. Laws tit. 13, § 30061 (b)(4))
13
+ href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1004/subchapter-a/30061/
@@ -0,0 +1,21 @@
1
+ description: Puerto Rico taxes this percentage of total normal taxes, based on gross income.
2
+ brackets:
3
+ - threshold:
4
+ 2024-01-01: 0
5
+ amount:
6
+ 2024-01-01: 0.92
7
+ - threshold:
8
+ 2024-01-01: 100_001
9
+ amount:
10
+ 2024-01-01: 0.95
11
+ metadata:
12
+ amount_unit: /1
13
+ threshold_unit: currency-USD
14
+ type: single_amount
15
+ label: Puerto Rico regular tax percentage
16
+ period: year
17
+ reference:
18
+ - title: Gov. of Puerto Rico Form 482.0 2024
19
+ href: https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=3
20
+ - title: P.R. Laws tit. 13, § 30061 (c)
21
+ href: https://bvirtualogp.pr.gov/ogp/Bvirtual/leyesreferencia/PDF/2-ingles/1-2011.pdf#page=33
@@ -0,0 +1,18 @@
1
+ description: Puerto Rico deductions from taxable income.
2
+ values:
3
+ 2023-01-01:
4
+ - pr_casualty_loss_deduction
5
+ - pr_charitable_deduction
6
+ - pr_medical_expense_deduction
7
+ - pr_mortgage_deduction
8
+ - pr_education_deduction
9
+ - pr_retirement_deduction
10
+ metadata:
11
+ unit: list
12
+ period: year
13
+ label: Puerto Rico income deductions
14
+ reference:
15
+ - title: P.R. Laws tit. 13, § 30135
16
+ href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1005/subchapter-c/30135/
17
+ - title: Gov. of Puerto Rico Individual Income Tax Return Form 482.0 4
18
+ href: https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=4
@@ -0,0 +1,15 @@
1
+ description: Puerto Rico exemptions from taxable income.
2
+ values:
3
+ 2023-01-01:
4
+ - pr_personal_exemption
5
+ - pr_veteran_exemption
6
+ - pr_dependents_exemption
7
+ metadata:
8
+ unit: list
9
+ period: year
10
+ label: Puerto Rico income exemptions
11
+ reference:
12
+ - title: P.R. Laws tit. 13, § 30138 (a)(1)-(2)
13
+ href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1005/subchapter-c/30138/
14
+ - title: Gov. of Puerto Rico Form 482.0 2024
15
+ href: https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=2
@@ -0,0 +1,12 @@
1
+ description: The Department of Agriculture provides the Supplemental Nutrition Assistance Program to students if they are single parents caring for a child below this age.
2
+
3
+ values:
4
+ 2005-01-01: 12
5
+
6
+ metadata:
7
+ unit: year
8
+ period: year
9
+ label: SNAP student single parent child age threshold
10
+ reference:
11
+ - title: 7 U.S. Code § 2015 - Eligibility disqualifications (e)(8)
12
+ href: https://www.law.cornell.edu/uscode/text/7/2015#e
@@ -0,0 +1,12 @@
1
+ description: The Department of Agriculture provides the Supplemental Nutrition Assistance Program to students if they are parents in two-parent households caring for a child below this age.
2
+
3
+ values:
4
+ 2005-01-01: 6
5
+
6
+ metadata:
7
+ unit: year
8
+ period: year
9
+ label: SNAP student two-parent household child age threshold
10
+ reference:
11
+ - title: 7 U.S. Code § 2015 - Eligibility disqualifications (e)(5)(A)
12
+ href: https://www.law.cornell.edu/uscode/text/7/2015#e
@@ -6,5 +6,4 @@ values:
6
6
  - spm_unit_wic
7
7
  metadata:
8
8
  unit: list
9
- name: disabled_programs
10
9
  label: Disabled programs
@@ -0,0 +1,4 @@
1
+ from .mamdani_income_tax import (
2
+ create_nyc_mamdani_income_tax_reform,
3
+ nyc_mamdani_income_tax,
4
+ )
@@ -0,0 +1,84 @@
1
+ from policyengine_us.model_api import *
2
+ from policyengine_core.periods import period as period_
3
+
4
+
5
+ def create_nyc_mamdani_income_tax() -> Reform:
6
+ class nyc_mamdani_income_tax(Variable):
7
+ value_type = float
8
+ entity = Person
9
+ label = "Zohran Mamdani NYC income tax"
10
+ unit = USD
11
+ definition_period = YEAR
12
+ defined_for = "in_nyc"
13
+
14
+ def formula(person, period, parameters):
15
+ taxable_income = person.tax_unit("nyc_taxable_income", period)
16
+ p = parameters(period).gov.local.ny.mamdani_income_tax
17
+ return p.rate.calc(taxable_income)
18
+
19
+ class nyc_income_tax_before_credits(Variable):
20
+ value_type = float
21
+ entity = TaxUnit
22
+ label = "NYC income tax before credits"
23
+ unit = USD
24
+ definition_period = YEAR
25
+ defined_for = "in_nyc"
26
+
27
+ def formula(tax_unit, period, parameters):
28
+ taxable_income = tax_unit("nyc_taxable_income", period)
29
+ filing_status = tax_unit("filing_status", period)
30
+ filing_statuses = filing_status.possible_values
31
+ p = parameters(period).gov.local.ny.nyc.tax.income.rates
32
+ regular_tax = select(
33
+ [
34
+ filing_status == filing_statuses.SINGLE,
35
+ filing_status == filing_statuses.JOINT,
36
+ filing_status == filing_statuses.HEAD_OF_HOUSEHOLD,
37
+ filing_status == filing_statuses.SURVIVING_SPOUSE,
38
+ filing_status == filing_statuses.SEPARATE,
39
+ ],
40
+ [
41
+ p.single.calc(taxable_income),
42
+ p.joint.calc(taxable_income),
43
+ p.head_of_household.calc(taxable_income),
44
+ p.surviving_spouse.calc(taxable_income),
45
+ p.separate.calc(taxable_income),
46
+ ],
47
+ )
48
+ mamdani_tax = add(tax_unit, period, ["nyc_mamdani_income_tax"])
49
+ return regular_tax + mamdani_tax
50
+
51
+ class reform(Reform):
52
+ def apply(self):
53
+ self.update_variable(nyc_mamdani_income_tax)
54
+ self.update_variable(nyc_income_tax_before_credits)
55
+
56
+ return reform
57
+
58
+
59
+ def create_nyc_mamdani_income_tax_reform(
60
+ parameters, period, bypass: bool = False
61
+ ):
62
+ if bypass:
63
+ return create_nyc_mamdani_income_tax()
64
+
65
+ p = parameters.gov.local.ny.mamdani_income_tax
66
+
67
+ reform_active = False
68
+ current_period = period_(period)
69
+
70
+ for i in range(5):
71
+ if p(current_period).in_effect:
72
+ reform_active = True
73
+ break
74
+ current_period = current_period.offset(1, "year")
75
+
76
+ if reform_active:
77
+ return create_nyc_mamdani_income_tax()
78
+ else:
79
+ return None
80
+
81
+
82
+ nyc_mamdani_income_tax = create_nyc_mamdani_income_tax_reform(
83
+ None, None, bypass=True
84
+ )
@@ -101,6 +101,12 @@ from .reconciliation import (
101
101
  from .states.mi.surtax import (
102
102
  create_mi_surtax_reform,
103
103
  )
104
+ from .local.ny.mamdani_income_tax import (
105
+ create_nyc_mamdani_income_tax_reform,
106
+ )
107
+ from .states.ut import (
108
+ create_ut_refundable_eitc_reform,
109
+ )
104
110
  from .additional_tax_bracket import (
105
111
  create_additional_tax_bracket_reform,
106
112
  )
@@ -115,6 +121,9 @@ from .states.ri.ctc.ri_ctc_reform import create_ri_ctc_reform
115
121
  from .states.ri.exemption.ri_exemption_reform import (
116
122
  create_ri_exemption_reform_fn,
117
123
  )
124
+ from .states.de.dependent_credit.de_dependent_credit_reform import (
125
+ create_de_dependent_credit_reform_fn,
126
+ )
118
127
  from .aca import (
119
128
  create_aca_ptc_additional_bracket_reform,
120
129
  create_aca_ptc_simplified_bracket_reform,
@@ -250,6 +259,12 @@ def create_structural_reforms_from_parameters(parameters, period):
250
259
  )
251
260
  mi_surtax = create_mi_surtax_reform(parameters, period)
252
261
 
262
+ nyc_mamdani_income_tax = create_nyc_mamdani_income_tax_reform(
263
+ parameters, period
264
+ )
265
+
266
+ ut_refundable_eitc = create_ut_refundable_eitc_reform(parameters, period)
267
+
253
268
  american_worker_rebate_act = create_american_worker_rebate_act_reform(
254
269
  parameters, period
255
270
  )
@@ -264,6 +279,9 @@ def create_structural_reforms_from_parameters(parameters, period):
264
279
  )
265
280
  ri_ctc = create_ri_ctc_reform(parameters, period)
266
281
  ri_exemption = create_ri_exemption_reform_fn(parameters, period)
282
+ de_dependent_credit = create_de_dependent_credit_reform_fn(
283
+ parameters, period
284
+ )
267
285
  aca_ptc_additional_bracket = create_aca_ptc_additional_bracket_reform(
268
286
  parameters, period
269
287
  )
@@ -316,6 +334,8 @@ def create_structural_reforms_from_parameters(parameters, period):
316
334
  reconciled_ssn_for_llc_and_aoc,
317
335
  ctc_additional_bracket,
318
336
  mi_surtax,
337
+ nyc_mamdani_income_tax,
338
+ ut_refundable_eitc,
319
339
  additional_tax_bracket,
320
340
  american_worker_rebate_act,
321
341
  ctc_per_child_phase_out,
@@ -323,6 +343,7 @@ def create_structural_reforms_from_parameters(parameters, period):
323
343
  ctc_minimum_refundable_amount,
324
344
  ri_ctc,
325
345
  ri_exemption,
346
+ de_dependent_credit,
326
347
  aca_ptc_additional_bracket,
327
348
  aca_ptc_simplified_bracket,
328
349
  ]
@@ -420,7 +420,7 @@ def create_repeal_state_dependent_exemptions() -> Reform:
420
420
  income = tax_unit("ky_modified_agi", period)
421
421
  fpg = parameters(period).gov.hhs.fpg
422
422
  # This will be CONTIGUOUS_US for Kentucky.
423
- state_group = tax_unit.household("state_group", period)
423
+ state_group = tax_unit.household("state_group_str", period)
424
424
  p1 = fpg.first_person[state_group]
425
425
  padd = fpg.additional_person[state_group]
426
426
  family_size = tax_unit("head_spouse_count", period)
@@ -0,0 +1,3 @@
1
+ from .dependent_credit.de_dependent_credit_reform import (
2
+ create_de_dependent_credit_reform_fn,
3
+ )
@@ -0,0 +1,165 @@
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_de_dependent_credit_reform() -> Reform:
7
+ class de_eligible_dependents_count(Variable):
8
+ value_type = int
9
+ entity = TaxUnit
10
+ label = "Delaware eligible dependents count"
11
+ definition_period = YEAR
12
+ defined_for = StateCode.DE
13
+
14
+ def formula(tax_unit, period, parameters):
15
+ p = parameters(period).gov.contrib.states.de.dependent_credit
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 de_dependent_credit_maximum(Variable):
31
+ value_type = float
32
+ entity = TaxUnit
33
+ label = "Delaware dependent credit maximum before phaseout"
34
+ unit = USD
35
+ definition_period = YEAR
36
+ defined_for = StateCode.DE
37
+
38
+ def formula(tax_unit, period, parameters):
39
+ p = parameters(period).gov.contrib.states.de.dependent_credit
40
+
41
+ dependents_count = tax_unit("de_eligible_dependents_count", period)
42
+ return dependents_count * p.amount
43
+
44
+ class de_dependent_credit_phaseout(Variable):
45
+ value_type = float
46
+ entity = TaxUnit
47
+ label = "Delaware dependent credit phaseout amount"
48
+ unit = USD
49
+ definition_period = YEAR
50
+ defined_for = StateCode.DE
51
+
52
+ def formula(tax_unit, period, parameters):
53
+ p = parameters(period).gov.contrib.states.de.dependent_credit
54
+
55
+ filing_status = tax_unit("filing_status", period)
56
+ files_separately = tax_unit("de_files_separately", period)
57
+ agi_indiv = add(tax_unit, period, ["de_agi_indiv"])
58
+ agi_joint = add(tax_unit, period, ["de_agi_joint"])
59
+ agi = where(files_separately, agi_indiv, agi_joint)
60
+
61
+ threshold = p.phaseout.threshold[filing_status]
62
+ excess_income = max_(agi - threshold, 0)
63
+ return excess_income * p.phaseout.rate
64
+
65
+ class de_dependent_credit(Variable):
66
+ value_type = float
67
+ entity = TaxUnit
68
+ label = "Delaware dependent credit"
69
+ unit = USD
70
+ definition_period = YEAR
71
+ defined_for = StateCode.DE
72
+
73
+ def formula(tax_unit, period, parameters):
74
+
75
+ maximum = tax_unit("de_dependent_credit_maximum", period)
76
+ phaseout = tax_unit("de_dependent_credit_phaseout", period)
77
+
78
+ return max_(maximum - phaseout, 0)
79
+
80
+ class de_older_dependents_count(Variable):
81
+ value_type = float
82
+ entity = TaxUnit
83
+ label = "Delaware older dependents count"
84
+ unit = USD
85
+ definition_period = YEAR
86
+ defined_for = StateCode.DE
87
+
88
+ def formula(tax_unit, period, parameters):
89
+ person = tax_unit.members
90
+ is_dependent = person("is_tax_unit_dependent", period)
91
+ total_dependents = tax_unit.sum(is_dependent)
92
+ eligible_dependent_credit = tax_unit(
93
+ "de_eligible_dependents_count", period
94
+ )
95
+ return max_(0, total_dependents - eligible_dependent_credit)
96
+
97
+ class de_personal_credit(Variable):
98
+ value_type = float
99
+ entity = TaxUnit
100
+ label = "Delaware personal credit"
101
+ unit = USD
102
+ definition_period = YEAR
103
+ defined_for = StateCode.DE
104
+
105
+ def formula(tax_unit, period, parameters):
106
+ p_base = parameters(
107
+ period
108
+ ).gov.states.de.tax.income.credits.personal_credits
109
+
110
+ # Calculate personal credit base amount (head + spouse + older dependents)
111
+ filing_status = tax_unit("filing_status", period)
112
+ older_dependents = tax_unit("de_older_dependents_count", period)
113
+ personal_count = (
114
+ where(
115
+ filing_status == filing_status.possible_values.JOINT,
116
+ 2,
117
+ 1,
118
+ )
119
+ + older_dependents
120
+ )
121
+ personal_credit_amount = personal_count * p_base.personal
122
+
123
+ # Add dependent credit (has its own phase-out logic)
124
+ dependent_credit_amount = tax_unit("de_dependent_credit", period)
125
+
126
+ return personal_credit_amount + dependent_credit_amount
127
+
128
+ class reform(Reform):
129
+ def apply(self):
130
+ self.update_variable(de_eligible_dependents_count)
131
+ self.update_variable(de_dependent_credit_maximum)
132
+ self.update_variable(de_dependent_credit_phaseout)
133
+ self.update_variable(de_dependent_credit)
134
+ self.update_variable(de_older_dependents_count)
135
+ self.update_variable(de_personal_credit)
136
+
137
+ return reform
138
+
139
+
140
+ def create_de_dependent_credit_reform_fn(
141
+ parameters, period, bypass: bool = False
142
+ ):
143
+ if bypass:
144
+ return create_de_dependent_credit_reform()
145
+
146
+ p = parameters.gov.contrib.states.de.dependent_credit
147
+
148
+ reform_active = False
149
+ current_period = period_(period)
150
+
151
+ for i in range(5):
152
+ if p(current_period).in_effect:
153
+ reform_active = True
154
+ break
155
+ current_period = current_period.offset(1, "year")
156
+
157
+ if reform_active:
158
+ return create_de_dependent_credit_reform()
159
+ else:
160
+ return None
161
+
162
+
163
+ de_dependent_credit_reform = create_de_dependent_credit_reform_fn(
164
+ None, None, bypass=True
165
+ )
@@ -0,0 +1,3 @@
1
+ from .ut_refundable_eitc import (
2
+ create_ut_refundable_eitc_reform,
3
+ )