policyengine-us 1.424.6__py3-none-any.whl → 1.455.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of policyengine-us might be problematic. Click here for more details.

Files changed (461) hide show
  1. policyengine_us/parameters/calibration/gov/hhs/medicare/per_capita_cost.yaml +12 -0
  2. policyengine_us/parameters/gov/aca/state_rating_area_cost.yaml +511 -12
  3. policyengine_us/parameters/gov/bls/cpi/c_cpi_u.yaml +23 -6
  4. policyengine_us/parameters/gov/bls/cpi/cpi_u.yaml +21 -18
  5. policyengine_us/parameters/gov/bls/cpi/cpi_w.yaml +25 -22
  6. 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
  7. policyengine_us/parameters/gov/contrib/harris/capital_gains/rates.yaml +12 -0
  8. policyengine_us/parameters/gov/contrib/harris/capital_gains/thresholds.yaml +168 -0
  9. policyengine_us/parameters/gov/contrib/states/ri/ctc/young_child_boost/age_limit.yaml +9 -0
  10. policyengine_us/parameters/gov/contrib/states/ri/ctc/young_child_boost/amount.yaml +9 -0
  11. policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/amount.yaml +2 -2
  12. policyengine_us/parameters/gov/contrib/states/ut/eitc/in_effect.yaml +9 -0
  13. policyengine_us/parameters/gov/contrib/states/ut/eitc/max_age.yaml +9 -0
  14. policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/medically_needy/categories/child/child.yaml +0 -1
  15. policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/senior_or_disabled/income/limit/couple.yaml +60 -51
  16. policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/senior_or_disabled/income/limit/individual.yaml +60 -51
  17. policyengine_us/parameters/gov/hhs/medicare/part_a/deductible.yaml +13 -0
  18. policyengine_us/parameters/gov/hhs/medicare/part_a/default_quarters_of_coverage.yaml +10 -0
  19. policyengine_us/parameters/gov/hhs/medicare/part_a/full_premium.yaml +13 -0
  20. policyengine_us/parameters/gov/hhs/medicare/part_a/premium_free_quarters_threshold.yaml +10 -0
  21. policyengine_us/parameters/gov/hhs/medicare/part_a/reduced_premium.yaml +13 -0
  22. policyengine_us/parameters/gov/hhs/medicare/part_a/reduced_premium_quarters_threshold.yaml +10 -0
  23. policyengine_us/parameters/gov/hhs/medicare/part_b/base_premium.yaml +16 -0
  24. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/head_of_household.yaml +50 -0
  25. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/joint.yaml +49 -0
  26. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/separate.yaml +30 -0
  27. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/single.yaml +50 -0
  28. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/surviving_spouse.yaml +49 -0
  29. policyengine_us/parameters/gov/hhs/tanf/cash/income/sources/earned.yaml +13 -0
  30. policyengine_us/parameters/gov/hhs/tanf/cash/income/sources/unearned.yaml +23 -0
  31. policyengine_us/parameters/gov/irs/ald/student_loan_interest/reduction/start.yaml +7 -1
  32. policyengine_us/parameters/gov/irs/capital_gains/rates.yaml +17 -0
  33. policyengine_us/parameters/gov/irs/capital_gains/thresholds.yaml +182 -0
  34. policyengine_us/parameters/gov/irs/credits/cdcc/eligibility/child_age.yaml +0 -1
  35. policyengine_us/parameters/gov/irs/credits/clean_vehicle/new/eligibility/min_kwh.yaml +0 -1
  36. policyengine_us/parameters/gov/irs/credits/clean_vehicle/used/eligibility/sale_price_limit.yaml +0 -1
  37. policyengine_us/parameters/gov/irs/credits/ctc/amount/base.yaml +14 -9
  38. policyengine_us/parameters/gov/irs/credits/ctc/refundable/individual_max.yaml +14 -7
  39. policyengine_us/parameters/gov/irs/credits/education/american_opportunity_credit/abolition.yaml +0 -1
  40. policyengine_us/parameters/gov/irs/credits/education/american_opportunity_credit/refundability.yaml +0 -1
  41. policyengine_us/parameters/gov/irs/credits/education/lifetime_learning_credit/abolition.yaml +0 -1
  42. policyengine_us/parameters/gov/irs/credits/education/lifetime_learning_credit/expense_limit.yaml +0 -1
  43. policyengine_us/parameters/gov/irs/credits/eitc/max.yaml +73 -81
  44. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/advanced_main_air_circulating_fan.yaml +0 -1
  45. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/door.yaml +0 -1
  46. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/energy_efficient_central_air_conditioner.yaml +0 -1
  47. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/heat_pump_heat_pump_water_heater_biomass_stove_boiler.yaml +0 -1
  48. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/home_energy_audit.yaml +0 -1
  49. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/qualified_furnace_or_hot_water_boiler.yaml +0 -1
  50. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/roof.yaml +0 -1
  51. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/total.yaml +0 -1
  52. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/window.yaml +0 -1
  53. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/lifetime/total.yaml +0 -1
  54. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/lifetime/window.yaml +0 -1
  55. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/in_effect.yaml +0 -1
  56. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/qualified_expenditures/credits.yaml +0 -1
  57. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/qualified_expenditures/heat_pump_heat_pump_water_heater_biomass_stove_boiler.yaml +0 -1
  58. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/rates/home_energy_audit.yaml +0 -1
  59. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/rates/improvements.yaml +0 -1
  60. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/rates/property.yaml +0 -1
  61. policyengine_us/parameters/gov/irs/credits/premium_tax_credit/phase_out/ending_rate.yaml +0 -1
  62. policyengine_us/parameters/gov/irs/credits/premium_tax_credit/phase_out/starting_rate.yaml +0 -1
  63. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/max/adult.yaml +0 -1
  64. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/max/dependent.yaml +0 -1
  65. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/phase_out/length.yaml +0 -1
  66. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/phase_out/threshold.yaml +0 -1
  67. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/max/adult.yaml +0 -1
  68. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/max/child.yaml +0 -1
  69. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/phase_out/rate.yaml +0 -1
  70. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/phase_out/threshold.yaml +0 -1
  71. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/max/adult.yaml +0 -1
  72. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/max/child.yaml +0 -1
  73. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/phase_out/rate.yaml +0 -1
  74. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/phase_out/threshold.yaml +0 -1
  75. policyengine_us/parameters/gov/irs/credits/residential_clean_energy/applicable_percentage.yaml +0 -1
  76. policyengine_us/parameters/gov/irs/credits/residential_clean_energy/elements.yaml +0 -1
  77. policyengine_us/parameters/gov/irs/credits/residential_clean_energy/fuel_cell_cap_per_kw.yaml +0 -1
  78. policyengine_us/parameters/gov/irs/deductions/qbi/phase_out/start.yaml +19 -7
  79. policyengine_us/parameters/gov/irs/deductions/standard/aged_or_blind/age_threshold.yaml +0 -1
  80. policyengine_us/parameters/gov/irs/deductions/standard/aged_or_blind/amount.yaml +10 -52
  81. policyengine_us/parameters/gov/irs/deductions/standard/amount.yaml +16 -59
  82. policyengine_us/parameters/gov/irs/gross_income/retirement_contributions/catch_up/limit/401k.yaml +8 -1
  83. policyengine_us/parameters/gov/irs/gross_income/retirement_contributions/catch_up/limit/ira.yaml +7 -0
  84. policyengine_us/parameters/gov/irs/gross_income/retirement_contributions/limit/401k.yaml +6 -0
  85. policyengine_us/parameters/gov/irs/gross_income/retirement_contributions/limit/ira.yaml +5 -0
  86. policyengine_us/parameters/gov/irs/income/amt/exemption/amount.yaml +15 -59
  87. policyengine_us/parameters/gov/irs/income/amt/exemption/phase_out/start.yaml +11 -60
  88. policyengine_us/parameters/gov/irs/income/bracket.yaml +114 -213
  89. policyengine_us/parameters/gov/irs/payroll/medicare/additional/exclusion.yaml +0 -1
  90. policyengine_us/parameters/gov/local/ny/mamdani_income_tax/in_effect.yaml +10 -0
  91. policyengine_us/parameters/gov/local/ny/mamdani_income_tax/rate.yaml +18 -0
  92. policyengine_us/parameters/gov/states/ar/tax/income/rates/main/reduction.yaml +30 -0
  93. policyengine_us/parameters/gov/states/ca/chhs/medi_cal_enrollment_freeze/in_effect.yaml +12 -0
  94. policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/amount/joint.yaml +10 -0
  95. policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/amount/non_joint.yaml +10 -0
  96. policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/income_limit/joint.yaml +10 -0
  97. policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/income_limit/non_joint.yaml +10 -0
  98. policyengine_us/parameters/gov/states/co/tax/income/credits/refundable.yaml +10 -0
  99. policyengine_us/parameters/gov/states/ga/tax/income/credits/itemizer/amount.yaml +14 -0
  100. policyengine_us/parameters/gov/states/ga/tax/income/credits/non_refundable.yaml +9 -0
  101. policyengine_us/parameters/gov/states/hi/tax/income/alternative_tax/availability.yaml +2 -3
  102. policyengine_us/parameters/gov/states/il/dhs/aabd/{qualified_noncitizen_status.yaml → qualified_noncitizen_statuses.yaml} +3 -5
  103. policyengine_us/parameters/gov/states/il/dhs/tanf/{qualified_noncitizen_status.yaml → qualified_noncitizen_statuses.yaml} +2 -2
  104. policyengine_us/parameters/gov/states/il/hfs/README.md +1 -0
  105. policyengine_us/parameters/gov/states/il/hfs/bcc/eligibility/age.yaml +12 -0
  106. policyengine_us/parameters/gov/states/il/hfs/fpp/eligibility/household_size.yaml +14 -0
  107. policyengine_us/parameters/gov/states/il/hfs/fpp/eligibility/income_limit.yaml +15 -0
  108. policyengine_us/parameters/gov/states/il/hfs/hbwd/README.md +1 -0
  109. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/age.yaml +25 -0
  110. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/asset/limit.yaml +15 -0
  111. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/income/limit.yaml +15 -0
  112. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/income/sources/earned.yaml +13 -0
  113. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/income/sources/unearned.yaml +25 -0
  114. policyengine_us/parameters/gov/states/il/hfs/hbwd/premium/earned.yaml +96 -0
  115. policyengine_us/parameters/gov/states/il/hfs/hbwd/premium/unearned.yaml +96 -0
  116. policyengine_us/parameters/gov/states/il/hfs/mpe/eligibility/income_limit.yaml +13 -0
  117. policyengine_us/parameters/gov/states/il/hfs/qualified_noncitizen_statuses.yaml +17 -0
  118. policyengine_us/parameters/gov/states/ma/dta/tcap/gross_income/earned.yaml +2 -2
  119. policyengine_us/parameters/gov/states/ma/eec/ccfa/income/countable_income/sources.yaml +3 -3
  120. policyengine_us/parameters/gov/states/mt/tax/income/deductions/itemized/spouse_allocation_rate.yaml +13 -0
  121. policyengine_us/parameters/gov/states/nj/tax/income/additions.yaml +12 -0
  122. policyengine_us/parameters/gov/states/nj/tax/income/gross_income_sources.yaml +32 -0
  123. policyengine_us/parameters/gov/states/pa/tax/income/credits/eitc/match.yaml +10 -0
  124. policyengine_us/parameters/gov/states/pa/tax/income/credits/refundable.yaml +6 -0
  125. policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/amount.yaml +4 -0
  126. policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/max_agi.yaml +6 -2
  127. policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/max_child_age.yaml +6 -2
  128. policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/parent_max_earnings.yaml +6 -2
  129. policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/amount.yaml +4 -0
  130. policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/child_age_threshold.yaml +4 -0
  131. policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/reduction/rate.yaml +4 -0
  132. policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/reduction/start.yaml +4 -0
  133. policyengine_us/parameters/gov/states/ut/tax/income/credits/earned_income/rate.yaml +4 -0
  134. policyengine_us/parameters/gov/states/ut/tax/income/credits/military_retirement/rate.yaml +26 -0
  135. policyengine_us/parameters/gov/states/ut/tax/income/credits/non_refundable.yaml +5 -0
  136. policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/birth_year.yaml +4 -0
  137. policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/max.yaml +4 -0
  138. policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/phase_out/rate.yaml +4 -0
  139. policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/phase_out/threshold.yaml +4 -0
  140. policyengine_us/parameters/gov/states/ut/tax/income/credits/ss_benefits/phase_out/rate.yaml +4 -0
  141. policyengine_us/parameters/gov/states/ut/tax/income/credits/ss_benefits/phase_out/threshold.yaml +4 -0
  142. policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/in_effect.yaml +2 -0
  143. policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/personal_exemption.yaml +5 -0
  144. policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/rate.yaml +5 -1
  145. policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/threshold.yaml +9 -0
  146. policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/rate.yaml +4 -0
  147. policyengine_us/parameters/gov/states/ut/tax/income/rate.yaml +3 -0
  148. policyengine_us/parameters/gov/states/va/tax/income/credits/non_refundable.yaml +1 -1
  149. policyengine_us/parameters/gov/states/wa/dshs/tanf/income/deductions/earned_income_disregard/amount.yaml +14 -0
  150. policyengine_us/parameters/gov/states/wa/dshs/tanf/income/deductions/earned_income_disregard/percentage_disregarded.yaml +14 -0
  151. policyengine_us/parameters/gov/states/wa/dshs/tanf/income/limit.yaml +36 -0
  152. policyengine_us/parameters/gov/states/wa/dshs/tanf/maximum_family_size.yaml +14 -0
  153. policyengine_us/parameters/gov/states/wa/dshs/tanf/payment_standard/amount.yaml +32 -0
  154. policyengine_us/parameters/gov/states/wa/dshs/tanf/payment_standard/maximum_amount.yaml +12 -0
  155. policyengine_us/parameters/gov/states/wa/dshs/tanf/resource_limit.yaml +15 -0
  156. policyengine_us/parameters/gov/territories/pr/tax/income/credits/refundable.yaml +2 -0
  157. policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/adjustment_limit_basis.yaml +12 -0
  158. policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/exemption_rate.yaml +13 -0
  159. policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/rate.yaml +12 -0
  160. policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/threshold.yaml +13 -0
  161. policyengine_us/parameters/gov/territories/pr/tax/income/regular_tax/percentage.yaml +21 -0
  162. policyengine_us/parameters/gov/territories/pr/tax/income/tax_rate/amount.yaml +35 -0
  163. policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/deductions/sources.yaml +18 -0
  164. policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/sources.yaml +15 -0
  165. policyengine_us/parameters/gov/usda/snap/student/child_age_limit/single_parent.yaml +12 -0
  166. policyengine_us/parameters/gov/usda/snap/student/child_age_limit/two_parent.yaml +12 -0
  167. policyengine_us/parameters/gov/usda/snap/work_requirements/general/age_threshold/caring_dependent_child.yaml +1 -1
  168. policyengine_us/parameters/gov/usda/snap/work_requirements/general/age_threshold/exempted.yaml +1 -1
  169. policyengine_us/parameters/gov/usda/snap/work_requirements/general/weekly_hours_threshold.yaml +1 -1
  170. policyengine_us/parameters/simulation/disabled_programs.yaml +0 -1
  171. policyengine_us/reforms/aca/aca_ptc_additional_bracket.py +2 -2
  172. policyengine_us/reforms/aca/aca_ptc_simplified_bracket.py +2 -2
  173. policyengine_us/reforms/additional_tax_bracket/additional_tax_bracket_reform.py +10 -7
  174. policyengine_us/reforms/biden/budget_2025/capital_gains_tax_increase.py +5 -7
  175. policyengine_us/reforms/congress/tlaib/__init__.py +4 -3
  176. policyengine_us/reforms/congress/tlaib/economic_dignity_for_all_agenda/__init__.py +9 -0
  177. policyengine_us/reforms/congress/tlaib/economic_dignity_for_all_agenda/edaa_end_child_poverty_act.py +237 -0
  178. policyengine_us/reforms/ctc/ctc_per_child_phase_out.py +30 -8
  179. policyengine_us/reforms/harris/capital_gains/harris_capital_gains.py +7 -7
  180. policyengine_us/reforms/local/ny/__init__.py +4 -0
  181. policyengine_us/reforms/local/ny/mamdani_income_tax.py +84 -0
  182. policyengine_us/reforms/reforms.py +19 -4
  183. policyengine_us/reforms/states/ri/ctc/ri_ctc_reform.py +32 -1
  184. policyengine_us/reforms/states/ri/exemption/ri_exemption_reform.py +38 -8
  185. policyengine_us/reforms/states/ut/__init__.py +3 -0
  186. policyengine_us/reforms/states/ut/ut_refundable_eitc.py +118 -0
  187. policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_ptc.yaml +3 -3
  188. policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_required_contribution_percentage.yaml +71 -0
  189. policyengine_us/tests/policy/baseline/gov/aca/ptc/integration.yaml +1 -1
  190. policyengine_us/tests/policy/baseline/gov/aca/ptc/separate_esi.yaml +2 -2
  191. policyengine_us/tests/policy/baseline/gov/ed/pell_grant/pell_grant_simplified_formula_applies.yaml +1 -1
  192. policyengine_us/tests/policy/baseline/gov/hhs/medicaid/medicaid_enrolled.yaml +105 -0
  193. policyengine_us/tests/policy/baseline/gov/hhs/medicare/costs/medicare_cost.yaml +65 -0
  194. policyengine_us/tests/policy/baseline/gov/hhs/medicare/eligibility/base_part_a_premium.yaml +35 -0
  195. policyengine_us/tests/policy/baseline/gov/hhs/medicare/eligibility/base_part_b_premium.yaml +15 -0
  196. policyengine_us/tests/policy/baseline/gov/hhs/medicare/eligibility/income_adjusted_part_b_premium.yaml +77 -0
  197. policyengine_us/tests/policy/baseline/gov/hhs/tanf/tanf_fpg.yaml +53 -0
  198. policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.yaml +68 -0
  199. policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/integration.yaml +26 -0
  200. policyengine_us/tests/policy/baseline/gov/local/ca/la/general_relief/eligible/immigration/la_general_relief_immigration_status_eligible_person.yaml +2 -2
  201. policyengine_us/tests/policy/baseline/gov/ssa/ssi/integration_tests.yaml +150 -4
  202. policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/integration.yaml +35 -0
  203. policyengine_us/tests/policy/baseline/gov/states/ca/chhs/is_ca_medicaid_immigration_status_eligible.yaml +59 -5
  204. policyengine_us/tests/policy/baseline/gov/states/co/tax/income/additions/federal_deduction/co_federal_deduction_addback.yaml +2 -2
  205. policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit.yaml +64 -0
  206. policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible.yaml +122 -0
  207. policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible_care_worker_count.yaml +65 -0
  208. policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/credits/ga_itemizer_credit.yaml +44 -0
  209. policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/alternative_tax/hi_alternative_tax_on_capital_gains_eligible.yaml +0 -8
  210. policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/cdcc/hi_cdcc.yaml +4 -0
  211. policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/cdcc/hi_cdcc_eligible.yaml +15 -0
  212. policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/integration.yaml +96 -0
  213. policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/eligibility/il_tanf_immigration_status_eligible_person.yaml +2 -10
  214. policyengine_us/tests/policy/baseline/gov/states/il/hfs/bcc/eligibility/il_bcc_age_eligible.yaml +39 -0
  215. policyengine_us/tests/policy/baseline/gov/states/il/hfs/bcc/eligibility/il_bcc_eligible.yaml +95 -0
  216. policyengine_us/tests/policy/baseline/gov/states/il/hfs/bcc/eligibility/il_bcc_insurance_eligible.yaml +35 -0
  217. policyengine_us/tests/policy/baseline/gov/states/il/hfs/fpp/il_fpp_income_eligible.yaml +35 -0
  218. policyengine_us/tests/policy/baseline/gov/states/il/hfs/fpp/il_fpp_income_level.yaml +27 -0
  219. policyengine_us/tests/policy/baseline/gov/states/il/hfs/fpp/integration.yaml +116 -0
  220. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/asset/il_hbwd_countable_assets.yaml +23 -0
  221. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_age_eligible.yaml +39 -0
  222. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_asset_eligible.yaml +31 -0
  223. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_disability_eligible.yaml +35 -0
  224. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_eligible.yaml +65 -0
  225. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_employment_eligible.yaml +34 -0
  226. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_income_eligible.yaml +25 -0
  227. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/il_hbwd_person.yaml +34 -0
  228. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/il_hbwd_premium.yaml +84 -0
  229. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/integration.yaml +183 -0
  230. policyengine_us/tests/policy/baseline/gov/states/il/hfs/il_hfs_immigration_status_eligible.yaml +47 -0
  231. policyengine_us/tests/policy/baseline/gov/states/il/hfs/mpe/il_mpe_eligible.yaml +39 -0
  232. policyengine_us/tests/policy/baseline/gov/states/il/hfs/mpe/il_mpe_income_eligible.yaml +23 -0
  233. policyengine_us/tests/policy/baseline/gov/states/il/hfs/mpe/integration.yaml +138 -0
  234. policyengine_us/tests/policy/baseline/gov/states/il/hfs/smib/eligibility/il_smib_eligible.yaml +88 -0
  235. policyengine_us/tests/policy/baseline/gov/states/il/hfs/smib/integration.yaml +73 -0
  236. policyengine_us/tests/policy/baseline/gov/states/ma/dta/ssp/ma_state_supplement.yaml +2 -0
  237. policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/eaedc/dependent_care_deduction/ma_eaedc_dependent_care_deduction.yaml +13 -13
  238. policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/eaedc/dependent_care_deduction/ma_eaedc_dependent_care_deduction_person.yaml +8 -8
  239. policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/eaedc/ma_eaedc.yaml +2 -2
  240. policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/tafdc/income/deductions/ma_tafdc_dependent_care_deduction_person.yaml +6 -6
  241. policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/tafdc/income/earned/ma_tafdc_partially_disregarded_earned_income.yaml +7 -7
  242. policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/tafdc/integration.yaml +14 -14
  243. policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/tafdc/ma_tafdc.yaml +1 -1
  244. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/copay/ma_ccfa_total_copay.yaml +4 -4
  245. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_activity_eligible.yaml +20 -20
  246. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/ma_ccfa.yaml +7 -7
  247. policyengine_us/tests/policy/baseline/gov/states/mo/tax/income/deductions/mo_federal_income_tax_deduction.yaml +2 -14
  248. 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
  249. 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
  250. 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
  251. policyengine_us/tests/policy/baseline/gov/states/nc/tax/income/deductions/nc_itemized_deductions.yaml +2 -2
  252. policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/credits/cdcc/nj_cdcc.yaml +8 -8
  253. policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/credits/eitc/nj_eitc.yaml +8 -3
  254. policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/integration.yaml +137 -0
  255. policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/taxable_income/nj_agi.yaml +7 -8
  256. policyengine_us/tests/policy/baseline/gov/states/oh/tax/income/credits/joint_filing_credit/oh_joint_filing_credit_qualifying_income.yaml +29 -0
  257. policyengine_us/tests/policy/baseline/gov/states/oh/tax/income/credits/oh_cdcc.yaml +4 -4
  258. policyengine_us/tests/policy/baseline/gov/states/oh/tax/income/integration.yaml +141 -0
  259. policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/credits/pa_eitc.yaml +26 -0
  260. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_categorically_eligible_person.yaml +1 -1
  261. policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit.yaml +89 -0
  262. policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit_eligible.yaml +50 -0
  263. policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/ss_benefits_credit/ut_ss_benefits_credit_max.yaml +5 -5
  264. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/benefit/wa_tanf_payment_standard.yaml +48 -0
  265. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/eligibility/wa_tanf_eligible.yaml +65 -0
  266. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/eligibility/wa_tanf_income_eligible.yaml +96 -0
  267. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/income/wa_tanf_countable_earned_income.yaml +70 -0
  268. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/integration.yaml +676 -0
  269. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/wa_tanf.yaml +102 -0
  270. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/wa_tanf_resources_eligible.yaml +6 -7
  271. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_amount.yaml +29 -0
  272. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_eligible.yaml +15 -0
  273. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_agi.yaml +17 -0
  274. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_agi_person.yaml +17 -0
  275. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_normal_tax.yaml +31 -0
  276. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_tax_before_credits.yaml +19 -0
  277. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/pr_net_taxable_income.yaml +26 -0
  278. policyengine_us/tests/policy/baseline/gov/test_categorical_eligibility_vectorization.yaml +41 -0
  279. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/is_snap_higher_ed_student.yaml +23 -0
  280. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/is_snap_ineligible_student.yaml +77 -6
  281. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/meets_snap_parent_exception.yaml +345 -0
  282. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/meets_snap_work_exception.yaml +47 -0
  283. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/work_requirements/meets_snap_abawd_work_requirements.yaml +17 -17
  284. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/work_requirements/meets_snap_general_work_requirements.yaml +7 -7
  285. policyengine_us/tests/policy/baseline/gov/usda/snap/income/deductions/self_employment_income/integration.yaml +6 -6
  286. policyengine_us/tests/policy/baseline/gov/usda/snap/income/deductions/self_employment_income/snap_self_employment_expense_deduction.yaml +4 -4
  287. policyengine_us/tests/policy/baseline/gov/usda/snap/income/deductions/self_employment_income/snap_self_employment_income_after_expense_deduction.yaml +1 -1
  288. policyengine_us/tests/policy/baseline/gov/usda/snap/income/federal_work_study_income_exclusion.yaml +24 -0
  289. policyengine_us/tests/policy/baseline/gov/usda/snap/income/snap_countable_earner.yaml +25 -0
  290. policyengine_us/tests/policy/baseline/gov/usda/snap/integration.yaml +1 -1
  291. policyengine_us/tests/policy/baseline/gov/usda/snap/snap.yaml +5 -5
  292. policyengine_us/tests/policy/baseline/gov/usda/snap/snap_min_allotment.yaml +3 -3
  293. policyengine_us/tests/policy/baseline/gov/usda/wic/integration.yaml +181 -0
  294. policyengine_us/tests/policy/baseline/gov/usda/wic/is_wic_at_nutritional_risk.yaml +33 -0
  295. policyengine_us/tests/policy/baseline/gov/usda/wic/is_wic_eligible.yaml +28 -15
  296. policyengine_us/tests/policy/baseline/household/demographic/geographic/state_group.yaml +21 -0
  297. policyengine_us/tests/policy/baseline/household/expense/health/has_bcc_qualifying_coverage.yaml +12 -0
  298. policyengine_us/tests/policy/contrib/aca/ptc_additional_bracket.yaml +12 -12
  299. policyengine_us/tests/policy/contrib/aca/ptc_simplified_bracket.yaml +12 -12
  300. policyengine_us/tests/policy/contrib/additional_tax_bracket/additional_tax_bracket_reform.yaml +4 -4
  301. policyengine_us/tests/policy/contrib/congress/tlaib/economic_dignity_for_all_agenda/edaa_end_child_poverty_act.yaml +198 -0
  302. policyengine_us/tests/policy/contrib/crfb/senior_deduction_extension.yaml +2 -2
  303. policyengine_us/tests/policy/contrib/ctc/integration.yaml +6 -6
  304. policyengine_us/tests/policy/contrib/local/ny/nyc_mamdani_income_tax.yaml +51 -0
  305. policyengine_us/tests/policy/contrib/states/ri/ctc_reform_test.yaml +144 -0
  306. policyengine_us/tests/policy/contrib/states/ri/exemption_reform_test.yaml +31 -2
  307. policyengine_us/tests/policy/contrib/states/ut/ut_refundable_eitc.yaml +214 -0
  308. policyengine_us/variables/gov/aca/ptc/aca_ptc.py +3 -1
  309. policyengine_us/variables/gov/aca/ptc/{aca_ptc_phase_out_rate.py → aca_required_contribution_percentage.py} +2 -2
  310. policyengine_us/variables/gov/ed/is_federal_work_study_participant.py +9 -0
  311. policyengine_us/variables/gov/ed/pell_grant/efc/pell_grant_simplified_formula_applies.py +1 -2
  312. policyengine_us/variables/gov/fcc/lifeline/is_lifeline_eligible.py +2 -2
  313. policyengine_us/variables/gov/hhs/head_start/early_head_start.py +2 -1
  314. policyengine_us/variables/gov/hhs/head_start/head_start.py +2 -1
  315. policyengine_us/variables/gov/hhs/head_start/is_head_start_categorically_eligible.py +1 -3
  316. policyengine_us/variables/gov/hhs/medicaid/costs/medicaid_group.py +2 -2
  317. policyengine_us/variables/gov/hhs/medicaid/receives_medicaid.py +17 -0
  318. policyengine_us/variables/gov/hhs/medicare/costs/medicare_cost.py +30 -0
  319. policyengine_us/variables/gov/hhs/medicare/costs/medicare_enrolled.py +14 -0
  320. policyengine_us/variables/gov/hhs/medicare/eligibility/part_a/base_part_a_premium.py +32 -0
  321. policyengine_us/variables/gov/hhs/medicare/eligibility/part_a/is_premium_free_part_a.py +22 -0
  322. policyengine_us/variables/gov/hhs/medicare/eligibility/part_a/medicare_quarters_of_coverage.py +16 -0
  323. policyengine_us/variables/gov/hhs/medicare/eligibility/part_b/base_part_b_premium.py +16 -0
  324. policyengine_us/variables/gov/hhs/medicare/eligibility/part_b/income_adjusted_part_b_premium.py +55 -0
  325. policyengine_us/variables/gov/hhs/tanf/cash/income/tanf_gross_earned_income.py +13 -0
  326. policyengine_us/variables/gov/hhs/tanf/cash/income/tanf_gross_unearned_income.py +13 -0
  327. policyengine_us/variables/gov/hhs/tanf/tanf_fpg.py +28 -0
  328. policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/amt_tax_including_cg.py +5 -9
  329. policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py +47 -0
  330. policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/income/amt_income_less_exemptions.py +4 -22
  331. policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/regular_tax_before_credits.py +12 -13
  332. policyengine_us/variables/gov/irs/tax/federal_income/capital_gains/capital_gains_excluded_from_taxable_income.py +2 -2
  333. policyengine_us/variables/gov/irs/tax/federal_income/capital_gains/capital_gains_tax.py +5 -5
  334. policyengine_us/variables/gov/irs/tax/federal_income/capital_gains/dwks19.py +2 -2
  335. policyengine_us/variables/gov/ssa/ssi/eligibility/income/deemed/from_ineligible_spouse/is_ssi_spousal_deeming_applies.py +41 -0
  336. policyengine_us/variables/gov/ssa/ssi/eligibility/income/deemed/from_ineligible_spouse/ssi_income_deemed_from_ineligible_spouse.py +20 -20
  337. policyengine_us/variables/gov/ssa/ssi/ssi.py +22 -1
  338. policyengine_us/variables/gov/ssa/ssi/ssi_amount_if_eligible.py +26 -4
  339. policyengine_us/variables/gov/states/ca/chhs/is_ca_medicaid_immigration_status_eligible.py +25 -4
  340. policyengine_us/variables/gov/states/ca/cpuc/care/eligibility/ca_care_categorically_eligible.py +2 -2
  341. policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/exemption/ca_amt_exemption.py +4 -2
  342. policyengine_us/variables/gov/states/ca/tax/income/ca_income_tax.py +1 -0
  343. policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit.py +26 -0
  344. policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible.py +27 -0
  345. policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible_care_worker.py +10 -0
  346. policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible_care_worker_count.py +18 -0
  347. policyengine_us/variables/gov/states/ga/tax/income/credits/ga_itemizer_credit.py +19 -0
  348. policyengine_us/variables/gov/states/hi/tax/income/credits/cdcc/hi_cdcc.py +1 -1
  349. policyengine_us/variables/gov/states/hi/tax/income/credits/cdcc/hi_cdcc_eligible.py +14 -0
  350. policyengine_us/variables/gov/states/il/dhs/aabd/eligibility/il_aabd_immigration_status_eligible_person.py +1 -1
  351. policyengine_us/variables/gov/states/il/dhs/tanf/eligibility/il_tanf_immigration_status_eligible_person.py +1 -1
  352. policyengine_us/variables/gov/states/il/hfs/bcc/eligibility/il_bcc_age_eligible.py +15 -0
  353. policyengine_us/variables/gov/states/il/hfs/bcc/eligibility/il_bcc_eligible.py +27 -0
  354. policyengine_us/variables/gov/states/il/hfs/bcc/eligibility/il_bcc_insurance_eligible.py +29 -0
  355. policyengine_us/variables/gov/states/il/hfs/fpp/eligibility/il_fpp_eligible.py +40 -0
  356. policyengine_us/variables/gov/states/il/hfs/fpp/eligibility/il_fpp_income_eligible.py +18 -0
  357. policyengine_us/variables/gov/states/il/hfs/fpp/il_fpp_income_level.py +29 -0
  358. policyengine_us/variables/gov/states/il/hfs/hbwd/asset/il_hbwd_countable_assets.py +34 -0
  359. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_age_eligible.py +20 -0
  360. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_asset_eligible.py +21 -0
  361. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_disability_eligible.py +20 -0
  362. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_eligible.py +33 -0
  363. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_employment_eligible.py +25 -0
  364. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_income_eligible.py +23 -0
  365. policyengine_us/variables/gov/states/il/hfs/hbwd/il_hbwd.py +17 -0
  366. policyengine_us/variables/gov/states/il/hfs/hbwd/il_hbwd_person.py +24 -0
  367. policyengine_us/variables/gov/states/il/hfs/hbwd/il_hbwd_premium.py +23 -0
  368. policyengine_us/variables/gov/states/il/hfs/hbwd/income/earned/il_hbwd_countable_earned_income.py +24 -0
  369. policyengine_us/variables/gov/states/il/hfs/hbwd/income/earned/il_hbwd_gross_earned_income.py +16 -0
  370. policyengine_us/variables/gov/states/il/hfs/hbwd/income/il_hbwd_countable_income.py +21 -0
  371. policyengine_us/variables/gov/states/il/hfs/hbwd/income/unearned/il_hbwd_countable_unearned_income.py +16 -0
  372. policyengine_us/variables/gov/states/il/hfs/il_hfs_immigration_status_eligible.py +23 -0
  373. policyengine_us/variables/gov/states/il/hfs/mpe/eligibility/il_mpe_income_eligible.py +15 -0
  374. policyengine_us/variables/gov/states/il/hfs/mpe/il_mpe_eligible.py +15 -0
  375. policyengine_us/variables/gov/states/il/hfs/smib/eligibility/il_smib_categorical_eligible.py +26 -0
  376. policyengine_us/variables/gov/states/il/hfs/smib/eligibility/il_smib_eligible.py +28 -0
  377. policyengine_us/variables/gov/states/il/hfs/smib/il_smib.py +21 -0
  378. policyengine_us/variables/gov/states/il/hfs/smib/il_smib_person.py +24 -0
  379. policyengine_us/variables/gov/states/ma/dta/ssp/ma_state_supplement.py +1 -0
  380. policyengine_us/variables/gov/states/ma/dta/tcap/eaedc/dependent_care_deduction/ma_eaedc_dependent_care_deduction_person.py +1 -1
  381. policyengine_us/variables/gov/states/ma/dta/tcap/tafdc/income/deductions/ma_tafdc_dependent_care_deduction_person.py +1 -1
  382. policyengine_us/variables/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_activity_eligible.py +3 -1
  383. policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_itemized_deductions_indiv.py +3 -2
  384. policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_additions.py +8 -3
  385. policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_gross_income.py +17 -0
  386. policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_total_income.py +12 -6
  387. policyengine_us/variables/gov/states/nj/tax/income/credits/cdcc/nj_cdcc.py +2 -2
  388. policyengine_us/variables/gov/states/nj/tax/income/credits/eitc/nj_eitc.py +7 -1
  389. policyengine_us/variables/gov/states/oh/tax/income/credits/joint_filing_credit/oh_joint_filing_credit_qualifying_income.py +7 -3
  390. policyengine_us/variables/gov/states/oh/tax/income/credits/oh_cdcc.py +2 -2
  391. policyengine_us/variables/gov/states/pa/tax/income/credits/pa_eitc.py +16 -0
  392. policyengine_us/variables/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit.py +20 -0
  393. policyengine_us/variables/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit_eligible.py +22 -0
  394. policyengine_us/variables/gov/states/wa/dshs/tanf/benefit/wa_tanf_payment_standard.py +22 -0
  395. policyengine_us/variables/gov/states/wa/dshs/tanf/eligibility/wa_tanf_eligible.py +42 -0
  396. policyengine_us/variables/gov/states/wa/dshs/tanf/eligibility/wa_tanf_income_eligible.py +31 -0
  397. policyengine_us/variables/gov/states/wa/dshs/tanf/income/wa_tanf_countable_earned_income.py +33 -0
  398. policyengine_us/variables/gov/states/wa/dshs/tanf/income/wa_tanf_countable_income.py +16 -0
  399. policyengine_us/variables/gov/states/wa/dshs/tanf/wa_tanf.py +34 -0
  400. policyengine_us/variables/gov/states/wa/dshs/tanf/wa_tanf_resources_eligible.py +3 -2
  401. policyengine_us/variables/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_amount.py +23 -0
  402. policyengine_us/variables/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_eligible.py +16 -0
  403. policyengine_us/variables/gov/territories/pr/tax/income/pr_agi.py +11 -1
  404. policyengine_us/variables/gov/territories/pr/tax/income/pr_agi_person.py +11 -1
  405. policyengine_us/variables/gov/territories/pr/tax/income/pr_income_tax.py +14 -0
  406. policyengine_us/variables/gov/territories/pr/tax/income/pr_normal_tax.py +16 -0
  407. policyengine_us/variables/gov/territories/pr/tax/income/pr_regular_tax_before_credits.py +20 -0
  408. policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/deductions/pr_deductions.py +13 -0
  409. policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/exemptions/pr_exemptions.py +13 -0
  410. policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/pr_net_taxable_income.py +17 -0
  411. policyengine_us/variables/gov/usda/snap/eligibility/student/is_snap_higher_ed_student.py +17 -0
  412. policyengine_us/variables/gov/usda/snap/eligibility/student/is_snap_ineligible_student.py +47 -15
  413. policyengine_us/variables/gov/usda/snap/eligibility/student/meets_snap_parent_exception.py +42 -0
  414. policyengine_us/variables/gov/usda/snap/eligibility/student/meets_snap_work_exception.py +22 -0
  415. policyengine_us/variables/gov/usda/snap/eligibility/work_requirements/meets_snap_abawd_work_requirements.py +3 -1
  416. policyengine_us/variables/gov/usda/snap/eligibility/work_requirements/meets_snap_general_work_requirements.py +3 -1
  417. policyengine_us/variables/gov/usda/snap/income/deductions/self_employment/snap_self_employment_expense_deduction.py +1 -1
  418. policyengine_us/variables/gov/usda/snap/income/deductions/self_employment/snap_self_employment_income_after_expense_deduction.py +1 -1
  419. policyengine_us/variables/gov/usda/snap/income/deductions/snap_dependent_care_deduction.py +5 -1
  420. policyengine_us/variables/gov/usda/snap/income/snap_countable_earner.py +13 -2
  421. policyengine_us/variables/gov/usda/wic/is_wic_at_nutritional_risk.py +3 -10
  422. policyengine_us/variables/gov/usda/wic/is_wic_eligible.py +10 -1
  423. policyengine_us/variables/household/demographic/geographic/state_group.py +8 -5
  424. policyengine_us/variables/household/demographic/person/is_part_time_college_student.py +9 -0
  425. policyengine_us/variables/household/expense/health/has_bcc_qualifying_coverage.py +16 -0
  426. {policyengine_us-1.424.6.dist-info → policyengine_us-1.455.0.dist-info}/METADATA +2 -2
  427. {policyengine_us-1.424.6.dist-info → policyengine_us-1.455.0.dist-info}/RECORD +441 -253
  428. {policyengine_us-1.424.6.dist-info → policyengine_us-1.455.0.dist-info}/WHEEL +1 -1
  429. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/baby_bonus_act/age_limit.yaml +0 -8
  430. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/baby_bonus_act/amount.yaml +0 -13
  431. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/baby_bonus_act/in_effect.yaml +0 -8
  432. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/baby_bonus_act/min_birth_year.yaml +0 -8
  433. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/amount.yaml +0 -13
  434. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/in_effect.yaml +0 -8
  435. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/max_age.yaml +0 -8
  436. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/min_age.yaml +0 -8
  437. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/tax/rate.yaml +0 -8
  438. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/tax/threshold.yaml +0 -24
  439. policyengine_us/parameters/gov/contrib/harris/capital_gains/brackets.yaml +0 -194
  440. policyengine_us/parameters/gov/irs/capital_gains/brackets.yaml +0 -188
  441. policyengine_us/parameters/gov/states/wa/dshs/tanf/eligibility/resources/limit.yaml +0 -11
  442. policyengine_us/reforms/congress/tlaib/income_security_package/__init__.py +0 -17
  443. policyengine_us/reforms/congress/tlaib/income_security_package/income_security_package.py +0 -402
  444. policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_ptc_phase_out_rate.yaml +0 -71
  445. policyengine_us/tests/policy/contrib/congress/tlaib/income_security/integration.yaml +0 -154
  446. policyengine_us/tests/policy/contrib/congress/tlaib/income_security/state_integration.yaml +0 -115
  447. policyengine_us/tests/policy/contrib/congress/tlaib/income_security/test_individual_acts.yaml +0 -149
  448. policyengine_us/tests/policy/contrib/congress/tlaib/income_security/unit_tests.yaml +0 -272
  449. /policyengine_us/parameters/gov/aca/{ptc_phase_out_rate.yaml → required_contribution_percentage.yaml} +0 -0
  450. /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
  451. /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
  452. /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
  453. /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
  454. /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
  455. /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
  456. /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
  457. /policyengine_us/parameters/gov/contrib/congress/tlaib/{income_security_package → economic_dignity_for_all_agenda}/end_child_poverty_act/in_effect.yaml +0 -0
  458. /policyengine_us/variables/gov/states/co/ssa/{state_suplement → state_supplement}/co_state_supplement.py +0 -0
  459. /policyengine_us/variables/gov/states/co/ssa/{state_suplement → state_supplement}/co_state_supplement_eligible.py +0 -0
  460. {policyengine_us-1.424.6.dist-info → policyengine_us-1.455.0.dist-info}/entry_points.txt +0 -0
  461. {policyengine_us-1.424.6.dist-info → policyengine_us-1.455.0.dist-info}/licenses/LICENSE +0 -0
@@ -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,35 @@
1
+ description: Puerto Rico taxes individuals at this rate structure.
2
+ # NOTE: no separate thresholds given by the tax reference for separate filing statuses
3
+ # NOTE: no more recent tax rates since 2012 found in legal and tax code
4
+ brackets:
5
+ - threshold:
6
+ 2012-12-31: 0
7
+ rate:
8
+ 2012-12-31: 0
9
+ - threshold:
10
+ 2012-12-31: 9_000
11
+ rate:
12
+ 2012-12-31: 0.07
13
+ - threshold:
14
+ 2012-12-31: 25_000
15
+ rate:
16
+ 2012-12-31: 0.14
17
+ - threshold:
18
+ 2012-12-31: 41_500
19
+ rate:
20
+ 2012-12-31: 0.25
21
+ - threshold:
22
+ 2012-12-31: 61_500
23
+ rate:
24
+ 2012-12-31: 0.33
25
+ metadata:
26
+ rate_unit: /1
27
+ threshold_unit: currency_USD
28
+ type: marginal_rate
29
+ label: Puerto Rico tax rate
30
+ period: year
31
+ reference:
32
+ - title: Schedule CT Individual, Earned Income Credit, 2023
33
+ href: https://hacienda.pr.gov/sites/default/files/inst_individuals_2023.pdf#page=19
34
+ - title: P.R. Laws tit. 13, § 30061 (a)
35
+ href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1004/subchapter-a/30061/
@@ -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
@@ -1,4 +1,4 @@
1
- description: TThe Department of Agriculture exempts individuals caring for a dependent child under this age from the general work requirements under the Supplemental Nutrition Assistance Program.
1
+ description: The Department of Agriculture exempts individuals caring for a dependent child under this age from the general work requirements under the Supplemental Nutrition Assistance Program.
2
2
  values:
3
3
  2019-01-01: 6
4
4
 
@@ -1,4 +1,4 @@
1
- description: TThe Department of Agriculture exempts individuals within these age brackets from the general work requirements under the Supplemental Nutrition Assistance Program.
1
+ description: The Department of Agriculture exempts individuals within these age brackets from the general work requirements under the Supplemental Nutrition Assistance Program.
2
2
  metadata:
3
3
  threshold_unit: year
4
4
  amount_unit: bool
@@ -1,4 +1,4 @@
1
- description: TThe Department of Agriculture limits the Supplemental Nutrition Assistance Program to individuals working more than this number of weekly hours from the general work requirements.
1
+ description: The Department of Agriculture limits the Supplemental Nutrition Assistance Program to individuals working more than this number of weekly hours from the general work requirements.
2
2
 
3
3
  values:
4
4
  2019-01-01: 30
@@ -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
@@ -3,7 +3,7 @@ from policyengine_core.periods import period as period_
3
3
 
4
4
 
5
5
  def create_aca_ptc_additional_bracket() -> Reform:
6
- class aca_ptc_phase_out_rate(Variable):
6
+ class aca_required_contribution_percentage(Variable):
7
7
  """
8
8
  ACA Premium Tax Credit phase-out rate with linear bracket extension.
9
9
 
@@ -90,7 +90,7 @@ def create_aca_ptc_additional_bracket() -> Reform:
90
90
 
91
91
  class reform(Reform):
92
92
  def apply(self):
93
- self.update_variable(aca_ptc_phase_out_rate)
93
+ self.update_variable(aca_required_contribution_percentage)
94
94
  self.update_variable(is_aca_ptc_eligible)
95
95
 
96
96
  return reform
@@ -3,7 +3,7 @@ from policyengine_core.periods import period as period_
3
3
 
4
4
 
5
5
  def create_aca_ptc_simplified_bracket() -> Reform:
6
- class aca_ptc_phase_out_rate(Variable):
6
+ class aca_required_contribution_percentage(Variable):
7
7
  """
8
8
  ACA Premium Tax Credit phase-out rate with simplified linear progression.
9
9
 
@@ -91,7 +91,7 @@ def create_aca_ptc_simplified_bracket() -> Reform:
91
91
 
92
92
  class reform(Reform):
93
93
  def apply(self):
94
- self.update_variable(aca_ptc_phase_out_rate)
94
+ self.update_variable(aca_required_contribution_percentage)
95
95
  self.update_variable(is_aca_ptc_eligible)
96
96
 
97
97
  return reform
@@ -13,29 +13,32 @@ def create_additional_tax_bracket() -> Reform:
13
13
  unit = USD
14
14
 
15
15
  def formula(tax_unit, period, parameters):
16
+ p = parameters(period).gov.irs
16
17
  filing_status = tax_unit("filing_status", period)
17
18
  dwks1 = tax_unit("taxable_income", period)
18
19
 
19
- capital_gains = parameters(period).gov.irs.capital_gains.brackets
20
-
21
- dwks16 = min_(capital_gains.thresholds["1"][filing_status], dwks1)
20
+ dwks16 = min_(
21
+ p.capital_gains.thresholds["1"][filing_status], dwks1
22
+ )
22
23
  dwks17 = min_(tax_unit("dwks14", period), dwks16)
23
24
  dwks20 = dwks16 - dwks17
24
- lowest_rate_tax = capital_gains.rates["1"] * dwks20
25
+ lowest_rate_tax = p.capital_gains.rates["1"] * dwks20
25
26
  # Break in worksheet lines
26
27
  dwks13 = tax_unit("dwks13", period)
27
28
  dwks21 = min_(dwks1, dwks13)
28
29
  dwks22 = dwks20
29
30
  dwks23 = max_(0, dwks21 - dwks22)
30
- dwks25 = min_(capital_gains.thresholds["2"][filing_status], dwks1)
31
+ dwks25 = min_(
32
+ p.capital_gains.thresholds["2"][filing_status], dwks1
33
+ )
31
34
  dwks19 = tax_unit("dwks19", period)
32
35
  dwks26 = min_(dwks19, dwks20)
33
36
  dwks27 = max_(0, dwks25 - dwks26)
34
37
  dwks28 = min_(dwks23, dwks27)
35
- dwks29 = capital_gains.rates["2"] * dwks28
38
+ dwks29 = p.capital_gains.rates["2"] * dwks28
36
39
  dwks30 = dwks22 + dwks28
37
40
  dwks31 = dwks21 - dwks30
38
- dwks32 = capital_gains.rates["3"] * dwks31
41
+ dwks32 = p.capital_gains.rates["3"] * dwks31
39
42
  # Break in worksheet lines
40
43
  dwks33 = min_(
41
44
  tax_unit("dwks09", period),
@@ -27,8 +27,8 @@ def create_capital_gains_tax_increase() -> Reform:
27
27
 
28
28
  filing_status = tax_unit("filing_status", period)
29
29
 
30
- first_threshold = cg.brackets.thresholds["1"][filing_status]
31
- second_threshold = cg.brackets.thresholds["2"][filing_status]
30
+ first_threshold = cg.thresholds["1"][filing_status]
31
+ second_threshold = cg.thresholds["2"][filing_status]
32
32
 
33
33
  income_ordinarily_under_second_rate = clip(
34
34
  taxable_income, 0, first_threshold
@@ -92,11 +92,9 @@ def create_capital_gains_tax_increase() -> Reform:
92
92
  )
93
93
 
94
94
  main_cg_tax = (
95
- cg_in_first_bracket_below_top_bracket * cg.brackets.rates["1"]
96
- + cg_in_second_bracket_below_top_bracket
97
- * cg.brackets.rates["2"]
98
- + cg_in_third_bracket_below_top_bracket
99
- * cg.brackets.rates["3"]
95
+ cg_in_first_bracket_below_top_bracket * cg.rates["1"]
96
+ + cg_in_second_bracket_below_top_bracket * cg.rates["2"]
97
+ + cg_in_third_bracket_below_top_bracket * cg.rates["3"]
100
98
  + new_cg_tax
101
99
  )
102
100
 
@@ -1,7 +1,8 @@
1
1
  from .end_child_poverty_act import (
2
2
  create_end_child_poverty_act_reform,
3
+ end_child_poverty_act,
3
4
  )
4
- from .income_security_package import (
5
- income_security_package,
6
- create_income_security_package_reform,
5
+ from .economic_dignity_for_all_agenda import (
6
+ end_child_poverty_act as edaa_end_child_poverty_act,
7
+ create_end_child_poverty_act_reform as create_edaa_end_child_poverty_act_reform,
7
8
  )
@@ -0,0 +1,9 @@
1
+ from .edaa_end_child_poverty_act import (
2
+ end_child_poverty_act,
3
+ create_end_child_poverty_act_reform,
4
+ )
5
+
6
+ __all__ = [
7
+ "end_child_poverty_act",
8
+ "create_end_child_poverty_act_reform",
9
+ ]
@@ -0,0 +1,237 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ def create_ecpa_only() -> Reform:
5
+ class ecpa_child_benefit(Variable):
6
+ value_type = float
7
+ entity = Person
8
+ definition_period = YEAR
9
+ label = "End Child Poverty Act child benefit"
10
+ unit = USD
11
+ documentation = (
12
+ "Universal child benefit under the End Child Poverty Act"
13
+ )
14
+ reference = "placeholder - bill not yet introduced"
15
+
16
+ def formula(person, period, parameters):
17
+ p = parameters(
18
+ period
19
+ ).gov.contrib.congress.tlaib.economic_dignity_for_all_agenda.end_child_poverty_act
20
+
21
+ age = person("age", period)
22
+ is_eligible = age < p.child_benefit.age_limit
23
+
24
+ # Use FPG additional_person amount (CONTIGUOUS_US for all states), rounded to nearest $10
25
+ p_fpg = parameters(period).gov.hhs.fpg
26
+ fpg_amount = p_fpg.additional_person.CONTIGUOUS_US
27
+ amount = round(fpg_amount / 10) * 10
28
+
29
+ return is_eligible * amount
30
+
31
+ class ecpa_adult_dependent_credit(Variable):
32
+ value_type = float
33
+ entity = Person
34
+ definition_period = YEAR
35
+ label = "End Child Poverty Act adult dependent credit"
36
+ unit = USD
37
+ documentation = (
38
+ "Credit for adult dependents under the End Child Poverty Act"
39
+ )
40
+ reference = "placeholder - bill not yet introduced"
41
+
42
+ def formula(person, period, parameters):
43
+ p = parameters(
44
+ period
45
+ ).gov.contrib.congress.tlaib.economic_dignity_for_all_agenda.end_child_poverty_act
46
+
47
+ age = person("age", period)
48
+ is_dependent = person("is_tax_unit_dependent", period)
49
+
50
+ is_eligible = (
51
+ age >= p.adult_dependent_credit.min_age
52
+ ) & is_dependent
53
+
54
+ return is_eligible * p.adult_dependent_credit.amount
55
+
56
+ class ecpa_filer_credit(Variable):
57
+ value_type = float
58
+ entity = TaxUnit
59
+ definition_period = YEAR
60
+ label = "End Child Poverty Act filer credit"
61
+ unit = USD
62
+ documentation = "Filer credit under the End Child Poverty Act for eligible tax filers"
63
+ reference = "placeholder - bill not yet introduced"
64
+
65
+ def formula(tax_unit, period, parameters):
66
+ p = parameters(
67
+ period
68
+ ).gov.contrib.congress.tlaib.economic_dignity_for_all_agenda.end_child_poverty_act
69
+
70
+ person = tax_unit.members
71
+ age = person("age", period)
72
+
73
+ is_head_or_spouse = person("is_tax_unit_head_or_spouse", period)
74
+
75
+ is_eligible_age = (age >= p.filer_credit.eligibility.min_age) & (
76
+ age < p.filer_credit.eligibility.max_age
77
+ )
78
+ is_eligible_filer = is_head_or_spouse & is_eligible_age
79
+
80
+ has_eligible_filer = tax_unit.any(is_eligible_filer)
81
+
82
+ filing_status = tax_unit("filing_status", period)
83
+ amount = p.filer_credit.amount[filing_status]
84
+
85
+ agi = tax_unit("adjusted_gross_income", period)
86
+ excess_agi = max_(
87
+ agi - p.filer_credit.phase_out.start[filing_status], 0
88
+ )
89
+ phase_out = excess_agi * p.filer_credit.phase_out.rate
90
+
91
+ phased_out_amount = max_(amount - phase_out, 0)
92
+
93
+ return has_eligible_filer * phased_out_amount
94
+
95
+ class household_benefits(Variable):
96
+ value_type = float
97
+ entity = Household
98
+ label = "benefits"
99
+ unit = USD
100
+ definition_period = YEAR
101
+
102
+ def formula(household, period, parameters):
103
+ # Start with baseline benefits from parameters
104
+ BENEFITS = list(
105
+ parameters(period).gov.household.household_benefits
106
+ )
107
+
108
+ # Add ECPA child benefit
109
+ BENEFITS.append("ecpa_child_benefit")
110
+
111
+ return add(household, period, BENEFITS)
112
+
113
+ class spm_unit_benefits(Variable):
114
+ value_type = float
115
+ entity = SPMUnit
116
+ label = "Benefits"
117
+ definition_period = YEAR
118
+ unit = USD
119
+
120
+ def formula(spm_unit, period, parameters):
121
+ BENEFITS = [
122
+ "social_security",
123
+ "ssi",
124
+ "ma_state_supplement",
125
+ "ca_cvrp",
126
+ "co_ccap_subsidy",
127
+ "co_state_supplement",
128
+ "co_oap",
129
+ "snap",
130
+ "wic",
131
+ "free_school_meals",
132
+ "reduced_price_school_meals",
133
+ "spm_unit_broadband_subsidy",
134
+ "spm_unit_energy_subsidy",
135
+ "tanf",
136
+ "high_efficiency_electric_home_rebate",
137
+ "residential_efficiency_electrification_rebate",
138
+ "unemployment_compensation",
139
+ "ak_energy_relief",
140
+ "basic_income",
141
+ "ny_drive_clean_rebate",
142
+ ]
143
+
144
+ # Add ECPA child benefit
145
+ BENEFITS.append("ecpa_child_benefit")
146
+
147
+ if parameters(period).gov.contrib.ubi_center.flat_tax.deduct_ptc:
148
+ BENEFITS.append("aca_ptc")
149
+ if not parameters(period).gov.hud.abolition:
150
+ BENEFITS.append("spm_unit_capped_housing_subsidy")
151
+
152
+ return add(spm_unit, period, BENEFITS)
153
+
154
+ class income_tax_refundable_credits(Variable):
155
+ value_type = float
156
+ entity = TaxUnit
157
+ definition_period = YEAR
158
+ label = "federal refundable income tax credits"
159
+ unit = USD
160
+
161
+ def formula(tax_unit, period, parameters):
162
+ # Get standard refundable credits, excluding EITC and refundable CTC (ECPA replaces them)
163
+ standard_credits = parameters(period).gov.irs.credits.refundable
164
+
165
+ CREDITS = [
166
+ c
167
+ for c in standard_credits
168
+ if c not in ["eitc", "refundable_ctc"]
169
+ ]
170
+
171
+ base_credits = add(tax_unit, period, CREDITS) if CREDITS else 0
172
+
173
+ # Add ECPA credits
174
+ ecpa_filer = tax_unit("ecpa_filer_credit", period)
175
+ ecpa_adult_dep = add(
176
+ tax_unit, period, ["ecpa_adult_dependent_credit"]
177
+ )
178
+ return base_credits + ecpa_filer + ecpa_adult_dep
179
+
180
+ class income_tax_non_refundable_credits(Variable):
181
+ value_type = float
182
+ entity = TaxUnit
183
+ definition_period = YEAR
184
+ label = "federal non-refundable income tax credits"
185
+ unit = USD
186
+
187
+ def formula(tax_unit, period, parameters):
188
+ # Get the base list of non-refundable credits from parameters
189
+ p = parameters(period).gov.irs.credits
190
+ base_credits = list(p.non_refundable)
191
+
192
+ # ECPA removes non_refundable_ctc from the list
193
+ CREDITS = [c for c in base_credits if c != "non_refundable_ctc"]
194
+
195
+ return add(tax_unit, period, CREDITS)
196
+
197
+ class reform(Reform):
198
+ def apply(self):
199
+ # Update only ECPA variables
200
+ self.update_variable(ecpa_child_benefit)
201
+ self.update_variable(ecpa_adult_dependent_credit)
202
+ self.update_variable(ecpa_filer_credit)
203
+ self.update_variable(household_benefits)
204
+ self.update_variable(spm_unit_benefits)
205
+ self.update_variable(income_tax_refundable_credits)
206
+ self.update_variable(income_tax_non_refundable_credits)
207
+
208
+ return reform
209
+
210
+
211
+ end_child_poverty_act = create_ecpa_only()
212
+
213
+
214
+ def create_end_child_poverty_act_reform(
215
+ parameters, period, bypass: bool = False
216
+ ):
217
+ """Auto-application function for structural reforms."""
218
+ if bypass:
219
+ return create_ecpa_only()
220
+
221
+ from policyengine_core.periods import period as period_
222
+
223
+ p = parameters.gov.contrib.congress.tlaib.economic_dignity_for_all_agenda
224
+
225
+ reform_active = False
226
+ current_period = period_(period)
227
+
228
+ for i in range(5):
229
+ if p(current_period).end_child_poverty_act.in_effect:
230
+ reform_active = True
231
+ break
232
+ current_period = current_period.offset(1, "year")
233
+
234
+ if reform_active:
235
+ return create_ecpa_only()
236
+ else:
237
+ return None
@@ -29,18 +29,29 @@ def create_ctc_per_child_phase_out() -> Reform:
29
29
  excess = max_(0, income - phase_out_threshold)
30
30
  increments = np.ceil(excess / p.increment)
31
31
  reduction_amount = p.amount * qualifying_children
32
- base_reduction = increments * reduction_amount
32
+ base_reduction_uncapped = increments * reduction_amount
33
33
 
34
34
  # Option to avoid overlap between regular and ARPA phase-outs
35
35
  p_contrib = parameters(period).gov.contrib.ctc.per_child_phase_out
36
36
  if p_contrib.avoid_overlap:
37
- # Subtract ARPA phase-out to prevent double-counting
38
- arpa_reduction = tax_unit(
39
- "ctc_arpa_uncapped_phase_out", period
37
+ # Sequential application: ARPA phase-out reduces ARPA addition only,
38
+ # then regular phase-out applies to base + remaining ARPA
39
+ # NOTE: ctc_arpa_addition already has ARPA phase-out subtracted,
40
+ # so we only need to return the regular phase-out here
41
+ arpa_addition = tax_unit("ctc_arpa_addition", period)
42
+ base_ctc = tax_unit("ctc_maximum", period)
43
+
44
+ # Regular phase-out applies to base CTC + remaining ARPA addition
45
+ ctc_before_regular = base_ctc + arpa_addition
46
+ base_reduction = min_(
47
+ base_reduction_uncapped, ctc_before_regular
40
48
  )
41
- return max_(0, base_reduction - arpa_reduction)
42
- else:
49
+
50
+ # Return only the regular phase-out
51
+ # ARPA phase-out is already applied in ctc_arpa_addition
43
52
  return base_reduction
53
+ else:
54
+ return base_reduction_uncapped
44
55
 
45
56
  class ctc_arpa_uncapped_phase_out(Variable):
46
57
  value_type = float
@@ -58,9 +69,20 @@ def create_ctc_per_child_phase_out() -> Reform:
58
69
  # The ARPA CTC has two phase-outs: the original, and a new phase-out
59
70
  # applying before and only to the increase in the maximum CTC under ARPA.
60
71
  # Calculate the income used to assess the new phase-out.
61
- threshold = tax_unit("ctc_arpa_phase_out_threshold", period)
72
+ arpa_threshold = tax_unit("ctc_arpa_phase_out_threshold", period)
62
73
  agi = tax_unit("adjusted_gross_income", period)
63
- excess = max_(0, agi - threshold)
74
+
75
+ # Check if we should cap ARPA phase-out to avoid overlap with regular phase-out
76
+ p_contrib = parameters(period).gov.contrib.ctc.per_child_phase_out
77
+ if p_contrib.avoid_overlap:
78
+ # Cap the ARPA phase-out at the regular phase-out threshold
79
+ # so ARPA only applies to income between its threshold and the regular threshold
80
+ regular_threshold = tax_unit("ctc_phase_out_threshold", period)
81
+ capped_income = min_(agi, regular_threshold)
82
+ excess = max_(0, capped_income - arpa_threshold)
83
+ else:
84
+ excess = max_(0, agi - arpa_threshold)
85
+
64
86
  increments = np.ceil(excess / p.increment)
65
87
  qualifying_children = tax_unit("ctc_qualifying_children", period)
66
88
  reduction_amount = p.amount * qualifying_children
@@ -29,9 +29,9 @@ def create_harris_capital_gains() -> Reform:
29
29
 
30
30
  filing_status = tax_unit("filing_status", period)
31
31
 
32
- first_threshold = p_ref.brackets.thresholds["1"][filing_status]
33
- second_threshold = p_ref.brackets.thresholds["2"][filing_status]
34
- third_threshold = p_ref.brackets.thresholds["3"][filing_status]
32
+ first_threshold = p_ref.thresholds["1"][filing_status]
33
+ second_threshold = p_ref.thresholds["2"][filing_status]
34
+ third_threshold = p_ref.thresholds["3"][filing_status]
35
35
 
36
36
  income_ordinarily_under_second_rate = clip(
37
37
  taxable_income, 0, first_threshold
@@ -82,10 +82,10 @@ def create_harris_capital_gains() -> Reform:
82
82
  )
83
83
 
84
84
  main_cg_tax = (
85
- cg_in_first_bracket * p_ref.brackets.rates["1"]
86
- + cg_in_second_bracket * p_ref.brackets.rates["2"]
87
- + cg_in_third_bracket * p_ref.brackets.rates["3"]
88
- + cg_in_fourth_bracket * p_ref.brackets.rates["4"]
85
+ cg_in_first_bracket * p_ref.rates["1"]
86
+ + cg_in_second_bracket * p_ref.rates["2"]
87
+ + cg_in_third_bracket * p_ref.rates["3"]
88
+ + cg_in_fourth_bracket * p_ref.rates["4"]
89
89
  )
90
90
 
91
91
  unrecaptured_s_1250_gain = tax_unit(
@@ -0,0 +1,4 @@
1
+ from .mamdani_income_tax import (
2
+ create_nyc_mamdani_income_tax_reform,
3
+ nyc_mamdani_income_tax,
4
+ )