policyengine-us 1.420.0__py3-none-any.whl → 1.450.0__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (580) 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/ctc/per_child_phase_out/avoid_overlap.yaml +7 -0
  8. policyengine_us/parameters/gov/contrib/harris/capital_gains/rates.yaml +12 -0
  9. policyengine_us/parameters/gov/contrib/harris/capital_gains/thresholds.yaml +168 -0
  10. policyengine_us/parameters/gov/contrib/states/ri/ctc/age_limit.yaml +9 -0
  11. policyengine_us/parameters/gov/contrib/states/ri/ctc/amount.yaml +9 -0
  12. policyengine_us/parameters/gov/contrib/states/ri/ctc/in_effect.yaml +9 -0
  13. policyengine_us/parameters/gov/contrib/states/ri/ctc/phaseout/rate.yaml +9 -0
  14. policyengine_us/parameters/gov/contrib/states/ri/ctc/phaseout/threshold.yaml +23 -0
  15. policyengine_us/parameters/gov/contrib/states/ri/ctc/refundability/cap.yaml +9 -0
  16. policyengine_us/parameters/gov/contrib/states/ri/ctc/young_child_boost/age_limit.yaml +9 -0
  17. policyengine_us/parameters/gov/contrib/states/ri/ctc/young_child_boost/amount.yaml +9 -0
  18. policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/age_limit/in_effect.yaml +9 -0
  19. policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/age_limit/threshold.yaml +9 -0
  20. policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/amount.yaml +15 -0
  21. policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/in_effect.yaml +9 -0
  22. policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/phaseout/rate.yaml +9 -0
  23. policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/phaseout/threshold.yaml +23 -0
  24. policyengine_us/parameters/gov/contrib/states/ut/eitc/in_effect.yaml +9 -0
  25. policyengine_us/parameters/gov/contrib/states/ut/eitc/max_age.yaml +9 -0
  26. policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/medically_needy/categories/child/child.yaml +0 -1
  27. policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/senior_or_disabled/income/limit/couple.yaml +60 -51
  28. policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/senior_or_disabled/income/limit/individual.yaml +60 -51
  29. policyengine_us/parameters/gov/hhs/medicare/part_a/deductible.yaml +13 -0
  30. policyengine_us/parameters/gov/hhs/medicare/part_a/default_quarters_of_coverage.yaml +10 -0
  31. policyengine_us/parameters/gov/hhs/medicare/part_a/full_premium.yaml +13 -0
  32. policyengine_us/parameters/gov/hhs/medicare/part_a/premium_free_quarters_threshold.yaml +10 -0
  33. policyengine_us/parameters/gov/hhs/medicare/part_a/reduced_premium.yaml +13 -0
  34. policyengine_us/parameters/gov/hhs/medicare/part_a/reduced_premium_quarters_threshold.yaml +10 -0
  35. policyengine_us/parameters/gov/hhs/medicare/part_b/base_premium.yaml +16 -0
  36. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/head_of_household.yaml +50 -0
  37. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/joint.yaml +49 -0
  38. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/separate.yaml +30 -0
  39. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/single.yaml +50 -0
  40. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/surviving_spouse.yaml +49 -0
  41. policyengine_us/parameters/gov/hhs/tanf/cash/income/sources/earned.yaml +13 -0
  42. policyengine_us/parameters/gov/hhs/tanf/cash/income/sources/unearned.yaml +23 -0
  43. policyengine_us/parameters/gov/irs/ald/student_loan_interest/reduction/start.yaml +7 -1
  44. policyengine_us/parameters/gov/irs/capital_gains/rates.yaml +17 -0
  45. policyengine_us/parameters/gov/irs/capital_gains/thresholds.yaml +182 -0
  46. policyengine_us/parameters/gov/irs/credits/cdcc/eligibility/child_age.yaml +0 -1
  47. policyengine_us/parameters/gov/irs/credits/clean_vehicle/new/eligibility/min_kwh.yaml +0 -1
  48. policyengine_us/parameters/gov/irs/credits/clean_vehicle/used/eligibility/sale_price_limit.yaml +0 -1
  49. policyengine_us/parameters/gov/irs/credits/ctc/amount/base.yaml +14 -9
  50. policyengine_us/parameters/gov/irs/credits/ctc/refundable/individual_max.yaml +14 -7
  51. policyengine_us/parameters/gov/irs/credits/education/american_opportunity_credit/abolition.yaml +0 -1
  52. policyengine_us/parameters/gov/irs/credits/education/american_opportunity_credit/refundability.yaml +0 -1
  53. policyengine_us/parameters/gov/irs/credits/education/lifetime_learning_credit/abolition.yaml +0 -1
  54. policyengine_us/parameters/gov/irs/credits/education/lifetime_learning_credit/expense_limit.yaml +0 -1
  55. policyengine_us/parameters/gov/irs/credits/eitc/max.yaml +73 -81
  56. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/advanced_main_air_circulating_fan.yaml +0 -1
  57. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/door.yaml +0 -1
  58. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/energy_efficient_central_air_conditioner.yaml +0 -1
  59. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/heat_pump_heat_pump_water_heater_biomass_stove_boiler.yaml +0 -1
  60. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/home_energy_audit.yaml +0 -1
  61. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/qualified_furnace_or_hot_water_boiler.yaml +0 -1
  62. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/roof.yaml +0 -1
  63. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/total.yaml +0 -1
  64. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/window.yaml +0 -1
  65. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/lifetime/total.yaml +0 -1
  66. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/lifetime/window.yaml +0 -1
  67. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/in_effect.yaml +0 -1
  68. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/qualified_expenditures/credits.yaml +0 -1
  69. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/qualified_expenditures/heat_pump_heat_pump_water_heater_biomass_stove_boiler.yaml +0 -1
  70. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/rates/home_energy_audit.yaml +0 -1
  71. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/rates/improvements.yaml +0 -1
  72. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/rates/property.yaml +0 -1
  73. policyengine_us/parameters/gov/irs/credits/premium_tax_credit/phase_out/ending_rate.yaml +0 -1
  74. policyengine_us/parameters/gov/irs/credits/premium_tax_credit/phase_out/starting_rate.yaml +0 -1
  75. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/max/adult.yaml +0 -1
  76. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/max/dependent.yaml +0 -1
  77. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/phase_out/length.yaml +0 -1
  78. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/phase_out/threshold.yaml +0 -1
  79. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/max/adult.yaml +0 -1
  80. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/max/child.yaml +0 -1
  81. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/phase_out/rate.yaml +0 -1
  82. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/phase_out/threshold.yaml +0 -1
  83. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/max/adult.yaml +0 -1
  84. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/max/child.yaml +0 -1
  85. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/phase_out/rate.yaml +0 -1
  86. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/phase_out/threshold.yaml +0 -1
  87. policyengine_us/parameters/gov/irs/credits/residential_clean_energy/applicable_percentage.yaml +0 -1
  88. policyengine_us/parameters/gov/irs/credits/residential_clean_energy/elements.yaml +0 -1
  89. policyengine_us/parameters/gov/irs/credits/residential_clean_energy/fuel_cell_cap_per_kw.yaml +0 -1
  90. policyengine_us/parameters/gov/irs/deductions/qbi/phase_out/start.yaml +19 -7
  91. policyengine_us/parameters/gov/irs/deductions/standard/aged_or_blind/age_threshold.yaml +0 -1
  92. policyengine_us/parameters/gov/irs/deductions/standard/aged_or_blind/amount.yaml +10 -52
  93. policyengine_us/parameters/gov/irs/deductions/standard/amount.yaml +16 -59
  94. policyengine_us/parameters/gov/irs/gross_income/retirement_contributions/catch_up/limit/401k.yaml +8 -1
  95. policyengine_us/parameters/gov/irs/gross_income/retirement_contributions/catch_up/limit/ira.yaml +7 -0
  96. policyengine_us/parameters/gov/irs/gross_income/retirement_contributions/limit/401k.yaml +6 -0
  97. policyengine_us/parameters/gov/irs/gross_income/retirement_contributions/limit/ira.yaml +5 -0
  98. policyengine_us/parameters/gov/irs/income/amt/exemption/amount.yaml +15 -59
  99. policyengine_us/parameters/gov/irs/income/amt/exemption/phase_out/start.yaml +11 -60
  100. policyengine_us/parameters/gov/irs/income/bracket.yaml +114 -213
  101. policyengine_us/parameters/gov/irs/payroll/medicare/additional/exclusion.yaml +0 -1
  102. policyengine_us/parameters/gov/local/ny/mamdani_income_tax/in_effect.yaml +10 -0
  103. policyengine_us/parameters/gov/local/ny/mamdani_income_tax/rate.yaml +18 -0
  104. policyengine_us/parameters/gov/states/ar/tax/income/rates/main/reduction.yaml +30 -0
  105. policyengine_us/parameters/gov/states/ca/tax/income/agi/subtractions.yaml +1 -0
  106. policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/amount/joint.yaml +10 -0
  107. policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/amount/non_joint.yaml +10 -0
  108. policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/income_limit/joint.yaml +10 -0
  109. policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/income_limit/non_joint.yaml +10 -0
  110. policyengine_us/parameters/gov/states/co/tax/income/credits/refundable.yaml +11 -0
  111. policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/scale.yaml +1 -1
  112. policyengine_us/parameters/gov/states/co/tax/income/credits/tabor/joint.yaml +12 -0
  113. policyengine_us/parameters/gov/states/co/tax/income/credits/tabor/single.yaml +12 -0
  114. policyengine_us/parameters/gov/states/de/tax/income/credits/refundable.yaml +2 -2
  115. policyengine_us/parameters/gov/states/de/tax/income/credits/relief_rebate/amount.yaml +1 -1
  116. policyengine_us/parameters/gov/states/ga/tax/income/credits/itemizer/amount.yaml +14 -0
  117. policyengine_us/parameters/gov/states/ga/tax/income/credits/non_refundable.yaml +8 -2
  118. policyengine_us/parameters/gov/states/ga/tax/income/credits/surplus_tax_rebate/amount.yaml +5 -5
  119. policyengine_us/parameters/gov/states/hi/tax/income/alternative_tax/availability.yaml +2 -3
  120. policyengine_us/parameters/gov/states/hi/tax/income/credits/act_115_rebate/joint.yaml +20 -0
  121. policyengine_us/parameters/gov/states/hi/tax/income/credits/act_115_rebate/single.yaml +20 -0
  122. policyengine_us/parameters/gov/states/hi/tax/income/credits/refundable.yaml +6 -0
  123. policyengine_us/parameters/gov/states/id/tax/income/credits/2022_rebate/floor.yaml +1 -1
  124. policyengine_us/parameters/gov/states/id/tax/income/credits/2022_rebate/rate.yaml +1 -1
  125. policyengine_us/parameters/gov/states/id/tax/income/credits/refundable.yaml +4 -4
  126. policyengine_us/parameters/gov/states/id/tax/income/credits/special_seasonal_rebate/floor.yaml +5 -5
  127. policyengine_us/parameters/gov/states/id/tax/income/credits/special_seasonal_rebate/rate.yaml +1 -1
  128. policyengine_us/parameters/gov/states/il/hfs/README.md +1 -0
  129. policyengine_us/parameters/gov/states/il/hfs/bcc/eligibility/age.yaml +12 -0
  130. policyengine_us/parameters/gov/states/il/hfs/hbwd/README.md +1 -0
  131. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/age.yaml +25 -0
  132. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/asset/limit.yaml +15 -0
  133. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/income/limit.yaml +15 -0
  134. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/income/sources/earned.yaml +13 -0
  135. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/income/sources/unearned.yaml +25 -0
  136. policyengine_us/parameters/gov/states/il/hfs/hbwd/premium/earned.yaml +96 -0
  137. policyengine_us/parameters/gov/states/il/hfs/hbwd/premium/unearned.yaml +96 -0
  138. policyengine_us/parameters/gov/states/il/hfs/qualified_noncitizen_statuses.yaml +17 -0
  139. policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/dependent.yaml +10 -0
  140. policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/joint.yaml +20 -0
  141. policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/other.yaml +20 -0
  142. policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/max_dependents.yaml +10 -0
  143. policyengine_us/parameters/gov/states/il/tax/income/credits/refundable.yaml +5 -0
  144. policyengine_us/parameters/gov/states/in/tax/income/credits/automatic_refund_rebate/amount/additional.yaml +10 -0
  145. policyengine_us/parameters/gov/states/in/tax/income/credits/automatic_refund_rebate/amount/base.yaml +12 -0
  146. policyengine_us/parameters/gov/states/in/tax/income/credits/refundable.yaml +6 -1
  147. policyengine_us/parameters/gov/states/ma/dta/tcap/gross_income/earned.yaml +2 -2
  148. policyengine_us/parameters/gov/states/ma/eec/ccfa/income/countable_income/sources.yaml +3 -3
  149. policyengine_us/parameters/gov/states/ma/tax/income/credits/refundable.yaml +12 -0
  150. policyengine_us/parameters/gov/states/ma/tax/income/credits/taxpayer_refund_rebate/rate.yaml +10 -0
  151. policyengine_us/parameters/gov/states/me/tax/income/credits/refundable.yaml +6 -0
  152. policyengine_us/parameters/gov/states/me/tax/income/credits/relief_rebate/amount.yaml +10 -0
  153. policyengine_us/parameters/gov/states/me/tax/income/credits/relief_rebate/income_limit.yaml +21 -0
  154. policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/ctc/age_limit.yaml +14 -0
  155. policyengine_us/parameters/gov/states/mt/tax/income/credits/non_refundable.yaml +1 -4
  156. policyengine_us/parameters/gov/states/mt/tax/income/credits/rebate/amount.yaml +5 -5
  157. policyengine_us/parameters/gov/states/mt/tax/income/deductions/itemized/spouse_allocation_rate.yaml +13 -0
  158. policyengine_us/parameters/gov/states/nj/tax/income/additions.yaml +12 -0
  159. policyengine_us/parameters/gov/states/nj/tax/income/gross_income_sources.yaml +32 -0
  160. policyengine_us/parameters/gov/states/nm/tax/income/modified_gross_income.yaml +0 -1
  161. policyengine_us/parameters/gov/states/pa/tax/income/credits/eitc/match.yaml +10 -0
  162. policyengine_us/parameters/gov/states/pa/tax/income/credits/refundable.yaml +6 -0
  163. policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/amount.yaml +1 -1
  164. policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/age.yaml +1 -1
  165. policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/child.yaml +1 -1
  166. policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/income.yaml +5 -5
  167. policyengine_us/parameters/gov/states/ri/tax/income/credits/refundable.yaml +1 -4
  168. policyengine_us/parameters/gov/states/sc/tax/income/credits/2022_rebate/amount.yaml +12 -0
  169. policyengine_us/parameters/gov/states/sc/tax/income/credits/non_refundable.yaml +7 -1
  170. policyengine_us/parameters/gov/states/tx/dta/csfp/fpg_limit.yaml +10 -0
  171. policyengine_us/parameters/gov/states/tx/twc/README.md +1 -0
  172. policyengine_us/parameters/gov/states/tx/twc/ccs/README.md +1 -0
  173. policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/child.yaml +11 -0
  174. policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/disabled_child.yaml +11 -0
  175. policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/infant.yaml +11 -0
  176. policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/school_age.yaml +11 -0
  177. policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/toddler.yaml +11 -0
  178. policyengine_us/parameters/gov/states/tx/twc/ccs/assets/limit.yaml +11 -0
  179. policyengine_us/parameters/gov/states/tx/twc/ccs/copay/rate/additional_child.yaml +13 -0
  180. policyengine_us/parameters/gov/states/tx/twc/ccs/copay/rate/first_child.yaml +55 -0
  181. policyengine_us/parameters/gov/states/tx/twc/ccs/copay/rate/maximum.yaml +11 -0
  182. policyengine_us/parameters/gov/states/tx/twc/ccs/income/smi_rate.yaml +11 -0
  183. policyengine_us/parameters/gov/states/tx/twc/ccs/income/sources.yaml +23 -0
  184. policyengine_us/parameters/gov/states/tx/twc/ccs/payment/rates.yaml +10459 -0
  185. policyengine_us/parameters/gov/states/tx/twc/ccs/region/alamo.yaml +25 -0
  186. policyengine_us/parameters/gov/states/tx/twc/ccs/region/borderplex.yaml +18 -0
  187. policyengine_us/parameters/gov/states/tx/twc/ccs/region/brazos_valley.yaml +19 -0
  188. policyengine_us/parameters/gov/states/tx/twc/ccs/region/cameron_county.yaml +13 -0
  189. policyengine_us/parameters/gov/states/tx/twc/ccs/region/capital_area.yaml +13 -0
  190. policyengine_us/parameters/gov/states/tx/twc/ccs/region/central_texas.yaml +19 -0
  191. policyengine_us/parameters/gov/states/tx/twc/ccs/region/coastal_bend.yaml +24 -0
  192. policyengine_us/parameters/gov/states/tx/twc/ccs/region/concho_valley.yaml +25 -0
  193. policyengine_us/parameters/gov/states/tx/twc/ccs/region/dallas_county.yaml +13 -0
  194. policyengine_us/parameters/gov/states/tx/twc/ccs/region/deep_east.yaml +24 -0
  195. policyengine_us/parameters/gov/states/tx/twc/ccs/region/east_texas.yaml +26 -0
  196. policyengine_us/parameters/gov/states/tx/twc/ccs/region/golden_crescent.yaml +19 -0
  197. policyengine_us/parameters/gov/states/tx/twc/ccs/region/gulf_coast.yaml +25 -0
  198. policyengine_us/parameters/gov/states/tx/twc/ccs/region/heart_of_texas.yaml +18 -0
  199. policyengine_us/parameters/gov/states/tx/twc/ccs/region/lower_rio.yaml +15 -0
  200. policyengine_us/parameters/gov/states/tx/twc/ccs/region/middle_rio.yaml +21 -0
  201. policyengine_us/parameters/gov/states/tx/twc/ccs/region/north_central.yaml +26 -0
  202. policyengine_us/parameters/gov/states/tx/twc/ccs/region/north_texas.yaml +23 -0
  203. policyengine_us/parameters/gov/states/tx/twc/ccs/region/northeast_texas.yaml +21 -0
  204. policyengine_us/parameters/gov/states/tx/twc/ccs/region/panhandle.yaml +38 -0
  205. policyengine_us/parameters/gov/states/tx/twc/ccs/region/permian_basin.yaml +29 -0
  206. policyengine_us/parameters/gov/states/tx/twc/ccs/region/rural_capital.yaml +21 -0
  207. policyengine_us/parameters/gov/states/tx/twc/ccs/region/south_plains.yaml +27 -0
  208. policyengine_us/parameters/gov/states/tx/twc/ccs/region/south_texas.yaml +15 -0
  209. policyengine_us/parameters/gov/states/tx/twc/ccs/region/southeast.yaml +15 -0
  210. policyengine_us/parameters/gov/states/tx/twc/ccs/region/tarrant_county.yaml +13 -0
  211. policyengine_us/parameters/gov/states/tx/twc/ccs/region/texoma.yaml +15 -0
  212. policyengine_us/parameters/gov/states/tx/twc/ccs/region/west_central.yaml +31 -0
  213. policyengine_us/parameters/gov/states/tx/twc/ccs/work_requirements/single_parent.yaml +11 -0
  214. policyengine_us/parameters/gov/states/tx/twc/ccs/work_requirements/two_parent.yaml +11 -0
  215. policyengine_us/parameters/gov/states/va/tax/income/credits/non_refundable.yaml +5 -1
  216. policyengine_us/parameters/gov/states/va/tax/income/rebate/amount.yaml +10 -0
  217. policyengine_us/parameters/gov/states/wa/dshs/tanf/income/deductions/earned_income_disregard/amount.yaml +14 -0
  218. policyengine_us/parameters/gov/states/wa/dshs/tanf/income/deductions/earned_income_disregard/percentage_disregarded.yaml +14 -0
  219. policyengine_us/parameters/gov/states/wa/dshs/tanf/income/limit.yaml +36 -0
  220. policyengine_us/parameters/gov/states/wa/dshs/tanf/maximum_family_size.yaml +14 -0
  221. policyengine_us/parameters/gov/states/wa/dshs/tanf/payment_standard/amount.yaml +32 -0
  222. policyengine_us/parameters/gov/states/wa/dshs/tanf/payment_standard/maximum_amount.yaml +12 -0
  223. policyengine_us/parameters/gov/states/wa/dshs/tanf/resource_limit.yaml +15 -0
  224. policyengine_us/parameters/gov/territories/pr/tax/income/credits/refundable.yaml +2 -0
  225. policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/adjustment_limit_basis.yaml +12 -0
  226. policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/exemption_rate.yaml +13 -0
  227. policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/rate.yaml +12 -0
  228. policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/threshold.yaml +13 -0
  229. policyengine_us/parameters/gov/territories/pr/tax/income/regular_tax/percentage.yaml +21 -0
  230. policyengine_us/parameters/gov/territories/pr/tax/income/tax_rate/amount.yaml +35 -0
  231. policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/deductions/sources.yaml +18 -0
  232. policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/sources.yaml +15 -0
  233. policyengine_us/parameters/gov/usda/snap/student/child_age_limit/single_parent.yaml +12 -0
  234. policyengine_us/parameters/gov/usda/snap/student/child_age_limit/two_parent.yaml +12 -0
  235. policyengine_us/parameters/gov/usda/snap/work_requirements/general/age_threshold/caring_dependent_child.yaml +1 -1
  236. policyengine_us/parameters/gov/usda/snap/work_requirements/general/age_threshold/exempted.yaml +1 -1
  237. policyengine_us/parameters/gov/usda/snap/work_requirements/general/weekly_hours_threshold.yaml +1 -1
  238. policyengine_us/parameters/simulation/disabled_programs.yaml +0 -1
  239. policyengine_us/reforms/aca/aca_ptc_additional_bracket.py +2 -2
  240. policyengine_us/reforms/aca/aca_ptc_simplified_bracket.py +2 -2
  241. policyengine_us/reforms/additional_tax_bracket/additional_tax_bracket_reform.py +10 -7
  242. policyengine_us/reforms/biden/budget_2025/capital_gains_tax_increase.py +5 -7
  243. policyengine_us/reforms/congress/tlaib/__init__.py +4 -3
  244. policyengine_us/reforms/congress/tlaib/economic_dignity_for_all_agenda/__init__.py +9 -0
  245. policyengine_us/reforms/congress/tlaib/economic_dignity_for_all_agenda/edaa_end_child_poverty_act.py +237 -0
  246. policyengine_us/reforms/ctc/ctc_per_child_phase_out.py +36 -3
  247. policyengine_us/reforms/harris/capital_gains/harris_capital_gains.py +7 -7
  248. policyengine_us/reforms/local/ny/__init__.py +4 -0
  249. policyengine_us/reforms/local/ny/mamdani_income_tax.py +84 -0
  250. policyengine_us/reforms/reforms.py +27 -4
  251. policyengine_us/reforms/states/ri/__init__.py +2 -0
  252. policyengine_us/reforms/states/ri/ctc/__init__.py +1 -0
  253. policyengine_us/reforms/states/ri/ctc/ri_ctc_reform.py +207 -0
  254. policyengine_us/reforms/states/ri/exemption/__init__.py +1 -0
  255. policyengine_us/reforms/states/ri/exemption/ri_exemption_reform.py +167 -0
  256. policyengine_us/reforms/states/ut/__init__.py +3 -0
  257. policyengine_us/reforms/states/ut/ut_refundable_eitc.py +118 -0
  258. policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_ptc.yaml +3 -3
  259. policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_required_contribution_percentage.yaml +71 -0
  260. policyengine_us/tests/policy/baseline/gov/aca/ptc/integration.yaml +1 -1
  261. policyengine_us/tests/policy/baseline/gov/aca/ptc/separate_esi.yaml +2 -2
  262. policyengine_us/tests/policy/baseline/gov/ed/pell_grant/pell_grant_simplified_formula_applies.yaml +1 -1
  263. policyengine_us/tests/policy/baseline/gov/hhs/medicare/costs/medicare_cost.yaml +65 -0
  264. policyengine_us/tests/policy/baseline/gov/hhs/medicare/eligibility/base_part_a_premium.yaml +35 -0
  265. policyengine_us/tests/policy/baseline/gov/hhs/medicare/eligibility/base_part_b_premium.yaml +15 -0
  266. policyengine_us/tests/policy/baseline/gov/hhs/medicare/eligibility/income_adjusted_part_b_premium.yaml +77 -0
  267. policyengine_us/tests/policy/baseline/gov/hhs/tanf/tanf_fpg.yaml +53 -0
  268. policyengine_us/tests/policy/baseline/gov/irs/integration/us_itemize.yaml +1 -1
  269. policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.yaml +68 -0
  270. policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/integration.yaml +26 -0
  271. policyengine_us/tests/policy/baseline/gov/local/ca/la/general_relief/eligible/immigration/la_general_relief_immigration_status_eligible_person.yaml +2 -2
  272. policyengine_us/tests/policy/baseline/gov/ssa/ssi/integration_tests.yaml +150 -4
  273. policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/integration.yaml +35 -0
  274. policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/integration.yaml +50 -0
  275. policyengine_us/tests/policy/baseline/gov/states/co/tax/income/additions/federal_deduction/co_federal_deduction_addback.yaml +2 -2
  276. policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit.yaml +64 -0
  277. policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible.yaml +122 -0
  278. policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible_care_worker_count.yaml +65 -0
  279. policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/co_tabor_cash_back.yaml +71 -0
  280. policyengine_us/tests/policy/baseline/gov/states/co/tax/income/integration.yaml +38 -0
  281. policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/credits/ga_itemizer_credit.yaml +44 -0
  282. policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/integration.yaml +47 -0
  283. policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/subtractions/retirement/ga_retirement_exclusion_countable_earned_income.yaml +17 -0
  284. policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/alternative_tax/hi_alternative_tax_on_capital_gains_eligible.yaml +0 -8
  285. policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/cdcc/hi_cdcc.yaml +4 -0
  286. policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/cdcc/hi_cdcc_eligible.yaml +15 -0
  287. policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/hi_act_115_rebate.yaml +35 -0
  288. policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/integration.yaml +159 -0
  289. policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/eligibility/il_tanf_immigration_status_eligible_person.yaml +26 -4
  290. policyengine_us/tests/policy/baseline/gov/states/il/hfs/bcc/eligibility/il_bcc_age_eligible.yaml +39 -0
  291. policyengine_us/tests/policy/baseline/gov/states/il/hfs/bcc/eligibility/il_bcc_eligible.yaml +95 -0
  292. policyengine_us/tests/policy/baseline/gov/states/il/hfs/bcc/eligibility/il_bcc_insurance_eligible.yaml +35 -0
  293. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/asset/il_hbwd_countable_assets.yaml +23 -0
  294. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_age_eligible.yaml +39 -0
  295. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_asset_eligible.yaml +31 -0
  296. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_disability_eligible.yaml +35 -0
  297. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_eligible.yaml +65 -0
  298. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_employment_eligible.yaml +34 -0
  299. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_income_eligible.yaml +25 -0
  300. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/il_hbwd_person.yaml +34 -0
  301. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/il_hbwd_premium.yaml +84 -0
  302. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/integration.yaml +183 -0
  303. policyengine_us/tests/policy/baseline/gov/states/il/hfs/il_hfs_immigration_status_eligible.yaml +47 -0
  304. policyengine_us/tests/policy/baseline/gov/states/il/tax/income/credits/il_income_tax_rebate.yaml +49 -0
  305. policyengine_us/tests/policy/baseline/gov/states/il/tax/income/credits/il_income_tax_rebate_eligible.yaml +35 -0
  306. policyengine_us/tests/policy/baseline/gov/states/in/tax/income/credits/in_automatic_refund_rebate.yaml +47 -0
  307. policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_fstc.yaml +4 -4
  308. policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_integration.yaml +48 -0
  309. policyengine_us/tests/policy/baseline/gov/states/ma/dta/ssp/ma_state_supplement.yaml +2 -0
  310. policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/eaedc/dependent_care_deduction/ma_eaedc_dependent_care_deduction.yaml +13 -13
  311. policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/eaedc/dependent_care_deduction/ma_eaedc_dependent_care_deduction_person.yaml +8 -8
  312. policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/eaedc/ma_eaedc.yaml +2 -2
  313. policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/tafdc/income/deductions/ma_tafdc_dependent_care_deduction_person.yaml +6 -6
  314. policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/tafdc/income/earned/ma_tafdc_partially_disregarded_earned_income.yaml +7 -7
  315. policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/tafdc/integration.yaml +14 -14
  316. policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/tafdc/ma_tafdc.yaml +1 -1
  317. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/copay/ma_ccfa_total_copay.yaml +4 -4
  318. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_activity_eligible.yaml +20 -20
  319. policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/ma_ccfa.yaml +7 -7
  320. policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/credits/ma_taxpayer_refund_rebate.yaml +42 -0
  321. policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/integration_ma.yaml +6 -0
  322. policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/me_relief_rebate.yaml +26 -0
  323. policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/me_relief_rebate_eligible.yaml +35 -0
  324. policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits_ctc_eligible_child.yaml +26 -0
  325. policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/mn_integration.yaml +55 -0
  326. policyengine_us/tests/policy/baseline/gov/states/mo/tax/income/deductions/mo_federal_income_tax_deduction.yaml +2 -14
  327. 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
  328. 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
  329. 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
  330. policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/integration.yaml +3 -0
  331. policyengine_us/tests/policy/baseline/gov/states/nc/tax/income/deductions/nc_itemized_deductions.yaml +2 -2
  332. policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/credits/cdcc/nj_cdcc.yaml +8 -8
  333. policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/integation.yaml +57 -0
  334. policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/integration.yaml +44 -0
  335. policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/taxable_income/nj_agi.yaml +7 -8
  336. policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/integration.yaml +60 -0
  337. policyengine_us/tests/policy/baseline/gov/states/oh/tax/income/credits/joint_filing_credit/oh_joint_filing_credit_qualifying_income.yaml +29 -0
  338. policyengine_us/tests/policy/baseline/gov/states/oh/tax/income/credits/oh_cdcc.yaml +4 -4
  339. policyengine_us/tests/policy/baseline/gov/states/oh/tax/income/integration.yaml +141 -0
  340. policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/credits/pa_eitc.yaml +26 -0
  341. policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/integration.yaml +47 -0
  342. policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/sc_2022_rebate.yaml +76 -0
  343. policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/sc_cdcc.yaml +9 -9
  344. policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/integration.yaml +58 -0
  345. policyengine_us/tests/policy/baseline/gov/states/tx/dta/csfp/tx_dta_csfp_income_eligible.yaml +15 -0
  346. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_categorically_eligible_person.yaml +1 -1
  347. policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/copay/tx_ccs_copay.yaml +165 -0
  348. policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_asset_eligible.yaml +67 -0
  349. policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_eligible.yaml +114 -0
  350. policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_eligible_child.yaml +172 -0
  351. policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_income_eligible.yaml +65 -0
  352. policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_work_exempt.yaml +24 -0
  353. policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_work_requirement_eligible.yaml +155 -0
  354. policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/payment/tx_ccs_payment_rate.yaml +224 -0
  355. policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/tx_ccs.yaml +132 -0
  356. policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/tx_ccs_child_age_category.yaml +127 -0
  357. policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/tx_ccs_maximum_payment.yaml +141 -0
  358. policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/tx_ccs_workforce_board_region.yaml +79 -0
  359. policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/ss_benefits_credit/ut_ss_benefits_credit_max.yaml +5 -5
  360. policyengine_us/tests/policy/baseline/gov/states/va/tax/income/integration.yaml +2 -0
  361. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/benefit/wa_tanf_payment_standard.yaml +48 -0
  362. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/eligibility/wa_tanf_eligible.yaml +65 -0
  363. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/eligibility/wa_tanf_income_eligible.yaml +96 -0
  364. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/income/wa_tanf_countable_earned_income.yaml +70 -0
  365. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/integration.yaml +676 -0
  366. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/wa_tanf.yaml +102 -0
  367. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/wa_tanf_resources_eligible.yaml +6 -7
  368. policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/integration.yaml +48 -0
  369. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_amount.yaml +29 -0
  370. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_eligible.yaml +15 -0
  371. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_agi.yaml +17 -0
  372. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_agi_person.yaml +17 -0
  373. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_normal_tax.yaml +31 -0
  374. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_tax_before_credits.yaml +19 -0
  375. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/pr_net_taxable_income.yaml +26 -0
  376. policyengine_us/tests/policy/baseline/gov/test_categorical_eligibility_vectorization.yaml +41 -0
  377. policyengine_us/tests/policy/baseline/gov/usda/csfp/commodity_supplemental_food_program_eligible.yaml +171 -0
  378. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/is_snap_higher_ed_student.yaml +23 -0
  379. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/is_snap_ineligible_student.yaml +77 -6
  380. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/meets_snap_parent_exception.yaml +345 -0
  381. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/meets_snap_work_exception.yaml +47 -0
  382. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/work_requirements/meets_snap_abawd_work_requirements.yaml +17 -17
  383. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/work_requirements/meets_snap_general_work_requirements.yaml +7 -7
  384. policyengine_us/tests/policy/baseline/gov/usda/snap/income/deductions/self_employment_income/integration.yaml +6 -6
  385. policyengine_us/tests/policy/baseline/gov/usda/snap/income/deductions/self_employment_income/snap_self_employment_expense_deduction.yaml +4 -4
  386. policyengine_us/tests/policy/baseline/gov/usda/snap/income/deductions/self_employment_income/snap_self_employment_income_after_expense_deduction.yaml +1 -1
  387. policyengine_us/tests/policy/baseline/gov/usda/snap/income/federal_work_study_income_exclusion.yaml +24 -0
  388. policyengine_us/tests/policy/baseline/gov/usda/snap/income/snap_countable_earner.yaml +25 -0
  389. policyengine_us/tests/policy/baseline/gov/usda/snap/integration.yaml +1 -1
  390. policyengine_us/tests/policy/baseline/gov/usda/snap/snap.yaml +5 -5
  391. policyengine_us/tests/policy/baseline/gov/usda/snap/snap_min_allotment.yaml +3 -3
  392. policyengine_us/tests/policy/baseline/gov/usda/wic/integration.yaml +181 -0
  393. policyengine_us/tests/policy/baseline/gov/usda/wic/is_wic_at_nutritional_risk.yaml +33 -0
  394. policyengine_us/tests/policy/baseline/gov/usda/wic/is_wic_eligible.yaml +28 -15
  395. policyengine_us/tests/policy/baseline/household/demographic/geographic/state_group.yaml +21 -0
  396. policyengine_us/tests/policy/baseline/household/expense/health/has_bcc_qualifying_coverage.yaml +12 -0
  397. policyengine_us/tests/policy/contrib/aca/ptc_additional_bracket.yaml +12 -12
  398. policyengine_us/tests/policy/contrib/aca/ptc_simplified_bracket.yaml +12 -12
  399. policyengine_us/tests/policy/contrib/additional_tax_bracket/additional_tax_bracket_reform.yaml +4 -4
  400. policyengine_us/tests/policy/contrib/congress/tlaib/economic_dignity_for_all_agenda/edaa_end_child_poverty_act.yaml +198 -0
  401. policyengine_us/tests/policy/contrib/crfb/senior_deduction_extension.yaml +2 -2
  402. policyengine_us/tests/policy/contrib/ctc/integration.yaml +205 -2
  403. policyengine_us/tests/policy/contrib/local/ny/nyc_mamdani_income_tax.yaml +51 -0
  404. policyengine_us/tests/policy/contrib/states/ri/ctc_reform_test.yaml +321 -0
  405. policyengine_us/tests/policy/contrib/states/ri/exemption_reform_test.yaml +117 -0
  406. policyengine_us/tests/policy/contrib/states/ut/ut_refundable_eitc.yaml +214 -0
  407. policyengine_us/variables/gov/aca/ptc/aca_ptc.py +3 -1
  408. policyengine_us/variables/gov/aca/ptc/{aca_ptc_phase_out_rate.py → aca_required_contribution_percentage.py} +2 -2
  409. policyengine_us/variables/gov/ed/is_federal_work_study_participant.py +9 -0
  410. policyengine_us/variables/gov/ed/pell_grant/efc/pell_grant_simplified_formula_applies.py +1 -2
  411. policyengine_us/variables/gov/fcc/lifeline/is_lifeline_eligible.py +2 -2
  412. policyengine_us/variables/gov/hhs/head_start/early_head_start.py +2 -1
  413. policyengine_us/variables/gov/hhs/head_start/head_start.py +2 -1
  414. policyengine_us/variables/gov/hhs/head_start/is_head_start_categorically_eligible.py +1 -3
  415. policyengine_us/variables/gov/hhs/medicare/costs/medicare_cost.py +30 -0
  416. policyengine_us/variables/gov/hhs/medicare/costs/medicare_enrolled.py +14 -0
  417. policyengine_us/variables/gov/hhs/medicare/eligibility/part_a/base_part_a_premium.py +32 -0
  418. policyengine_us/variables/gov/hhs/medicare/eligibility/part_a/is_premium_free_part_a.py +22 -0
  419. policyengine_us/variables/gov/hhs/medicare/eligibility/part_a/medicare_quarters_of_coverage.py +16 -0
  420. policyengine_us/variables/gov/hhs/medicare/eligibility/part_b/base_part_b_premium.py +16 -0
  421. policyengine_us/variables/gov/hhs/medicare/eligibility/part_b/income_adjusted_part_b_premium.py +55 -0
  422. policyengine_us/variables/gov/hhs/tanf/cash/income/tanf_gross_earned_income.py +13 -0
  423. policyengine_us/variables/gov/hhs/tanf/cash/income/tanf_gross_unearned_income.py +13 -0
  424. policyengine_us/variables/gov/hhs/tanf/tanf_fpg.py +28 -0
  425. policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/amt_tax_including_cg.py +5 -9
  426. policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py +47 -0
  427. policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/income/amt_income_less_exemptions.py +4 -22
  428. policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/regular_tax_before_credits.py +12 -13
  429. policyengine_us/variables/gov/irs/tax/federal_income/capital_gains/capital_gains_excluded_from_taxable_income.py +2 -2
  430. policyengine_us/variables/gov/irs/tax/federal_income/capital_gains/capital_gains_tax.py +5 -5
  431. policyengine_us/variables/gov/irs/tax/federal_income/capital_gains/dwks19.py +2 -2
  432. policyengine_us/variables/gov/ssa/ssi/eligibility/income/deemed/from_ineligible_spouse/is_ssi_spousal_deeming_applies.py +41 -0
  433. policyengine_us/variables/gov/ssa/ssi/eligibility/income/deemed/from_ineligible_spouse/ssi_income_deemed_from_ineligible_spouse.py +20 -20
  434. policyengine_us/variables/gov/ssa/ssi/ssi.py +22 -1
  435. policyengine_us/variables/gov/ssa/ssi/ssi_amount_if_eligible.py +26 -4
  436. policyengine_us/variables/gov/states/ca/cpuc/care/eligibility/ca_care_categorically_eligible.py +2 -2
  437. policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/exemption/ca_amt_exemption.py +4 -2
  438. policyengine_us/variables/gov/states/ca/tax/income/ca_income_tax.py +1 -0
  439. policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit.py +26 -0
  440. policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible.py +27 -0
  441. policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible_care_worker.py +10 -0
  442. policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible_care_worker_count.py +18 -0
  443. policyengine_us/variables/gov/states/co/tax/income/credits/co_tabor_cash_back.py +17 -0
  444. policyengine_us/variables/gov/states/ga/tax/income/credits/ga_itemizer_credit.py +19 -0
  445. policyengine_us/variables/gov/states/ga/tax/income/subtractions/retirement/ga_retirement_exclusion_countable_earned_income.py +5 -2
  446. policyengine_us/variables/gov/states/hi/tax/income/credits/cdcc/hi_cdcc.py +1 -1
  447. policyengine_us/variables/gov/states/hi/tax/income/credits/cdcc/hi_cdcc_eligible.py +14 -0
  448. policyengine_us/variables/gov/states/hi/tax/income/credits/hi_act_115_rebate.py +32 -0
  449. policyengine_us/variables/gov/states/il/dhs/tanf/eligibility/il_tanf_immigration_status_eligible_person.py +5 -1
  450. policyengine_us/variables/gov/states/il/hfs/bcc/eligibility/il_bcc_age_eligible.py +15 -0
  451. policyengine_us/variables/gov/states/il/hfs/bcc/eligibility/il_bcc_eligible.py +27 -0
  452. policyengine_us/variables/gov/states/il/hfs/bcc/eligibility/il_bcc_insurance_eligible.py +29 -0
  453. policyengine_us/variables/gov/states/il/hfs/hbwd/asset/il_hbwd_countable_assets.py +34 -0
  454. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_age_eligible.py +20 -0
  455. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_asset_eligible.py +21 -0
  456. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_disability_eligible.py +20 -0
  457. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_eligible.py +33 -0
  458. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_employment_eligible.py +25 -0
  459. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_income_eligible.py +23 -0
  460. policyengine_us/variables/gov/states/il/hfs/hbwd/il_hbwd.py +17 -0
  461. policyengine_us/variables/gov/states/il/hfs/hbwd/il_hbwd_person.py +24 -0
  462. policyengine_us/variables/gov/states/il/hfs/hbwd/il_hbwd_premium.py +23 -0
  463. policyengine_us/variables/gov/states/il/hfs/hbwd/income/earned/il_hbwd_countable_earned_income.py +24 -0
  464. policyengine_us/variables/gov/states/il/hfs/hbwd/income/earned/il_hbwd_gross_earned_income.py +16 -0
  465. policyengine_us/variables/gov/states/il/hfs/hbwd/income/il_hbwd_countable_income.py +21 -0
  466. policyengine_us/variables/gov/states/il/hfs/hbwd/income/unearned/il_hbwd_countable_unearned_income.py +16 -0
  467. policyengine_us/variables/gov/states/il/hfs/il_hfs_immigration_status_eligible.py +23 -0
  468. policyengine_us/variables/gov/states/il/tax/income/credits/il_income_tax_rebate.py +27 -0
  469. policyengine_us/variables/gov/states/il/tax/income/credits/il_income_tax_rebate_eligible.py +24 -0
  470. policyengine_us/variables/gov/states/in/tax/income/credits/in_automatic_refund_rebate.py +26 -0
  471. policyengine_us/variables/gov/states/ks/tax/income/credits/ks_fstc.py +1 -1
  472. policyengine_us/variables/gov/states/ma/dta/ssp/ma_state_supplement.py +1 -0
  473. policyengine_us/variables/gov/states/ma/dta/tcap/eaedc/dependent_care_deduction/ma_eaedc_dependent_care_deduction_person.py +1 -1
  474. policyengine_us/variables/gov/states/ma/dta/tcap/tafdc/income/deductions/ma_tafdc_dependent_care_deduction_person.py +1 -1
  475. policyengine_us/variables/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_activity_eligible.py +3 -1
  476. policyengine_us/variables/gov/states/ma/tax/income/credits/ma_taxpayer_refund_rebate.py +29 -0
  477. policyengine_us/variables/gov/states/me/tax/income/credits/me_relief_rebate.py +16 -0
  478. policyengine_us/variables/gov/states/me/tax/income/credits/me_relief_rebate_eligible.py +17 -0
  479. policyengine_us/variables/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits.py +5 -1
  480. policyengine_us/variables/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits_ctc_eligible_child.py +24 -0
  481. policyengine_us/variables/gov/states/mt/tax/income/credits/rebate/mt_income_tax_rebate.py +1 -2
  482. policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_itemized_deductions_indiv.py +3 -2
  483. policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_additions.py +8 -3
  484. policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_gross_income.py +17 -0
  485. policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_total_income.py +12 -6
  486. policyengine_us/variables/gov/states/nj/tax/income/credits/cdcc/nj_cdcc.py +2 -2
  487. policyengine_us/variables/gov/states/oh/tax/income/credits/joint_filing_credit/oh_joint_filing_credit_qualifying_income.py +7 -3
  488. policyengine_us/variables/gov/states/oh/tax/income/credits/oh_cdcc.py +2 -2
  489. policyengine_us/variables/gov/states/pa/tax/income/credits/pa_eitc.py +16 -0
  490. policyengine_us/variables/gov/states/sc/tax/income/credits/cdcc/sc_cdcc.py +1 -1
  491. policyengine_us/variables/gov/states/sc/tax/income/credits/sc_2022_rebate.py +29 -0
  492. policyengine_us/variables/gov/states/tx/dta/csfp/tx_dta_csfp_income_eligible.py +14 -0
  493. policyengine_us/variables/gov/states/tx/twc/ccs/copay/tx_ccs_copay.py +40 -0
  494. policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_asset_eligible.py +16 -0
  495. policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_eligible.py +28 -0
  496. policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_eligible_child.py +22 -0
  497. policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_income_eligible.py +19 -0
  498. policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_work_exempt.py +26 -0
  499. policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_work_requirement_eligible.py +44 -0
  500. policyengine_us/variables/gov/states/tx/twc/ccs/payment/tx_ccs_care_schedule.py +18 -0
  501. policyengine_us/variables/gov/states/tx/twc/ccs/payment/tx_ccs_payment_rate.py +36 -0
  502. policyengine_us/variables/gov/states/tx/twc/ccs/payment/tx_ccs_provider_rating.py +21 -0
  503. policyengine_us/variables/gov/states/tx/twc/ccs/payment/tx_ccs_provider_type.py +19 -0
  504. policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs.py +21 -0
  505. policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs_child_age_category.py +41 -0
  506. policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs_countable_income.py +13 -0
  507. policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs_maximum_payment.py +15 -0
  508. policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs_workforce_board_region.py +68 -0
  509. policyengine_us/variables/gov/states/wa/dshs/tanf/benefit/wa_tanf_payment_standard.py +22 -0
  510. policyengine_us/variables/gov/states/wa/dshs/tanf/eligibility/wa_tanf_eligible.py +42 -0
  511. policyengine_us/variables/gov/states/wa/dshs/tanf/eligibility/wa_tanf_income_eligible.py +31 -0
  512. policyengine_us/variables/gov/states/wa/dshs/tanf/income/wa_tanf_countable_earned_income.py +33 -0
  513. policyengine_us/variables/gov/states/wa/dshs/tanf/income/wa_tanf_countable_income.py +16 -0
  514. policyengine_us/variables/gov/states/wa/dshs/tanf/wa_tanf.py +34 -0
  515. policyengine_us/variables/gov/states/wa/dshs/tanf/wa_tanf_resources_eligible.py +3 -2
  516. policyengine_us/variables/gov/states/wi/tax/income/credits/married_couple/wi_married_couple_credit.py +7 -5
  517. policyengine_us/variables/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_amount.py +23 -0
  518. policyengine_us/variables/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_eligible.py +16 -0
  519. policyengine_us/variables/gov/territories/pr/tax/income/pr_agi.py +11 -1
  520. policyengine_us/variables/gov/territories/pr/tax/income/pr_agi_person.py +11 -1
  521. policyengine_us/variables/gov/territories/pr/tax/income/pr_income_tax.py +14 -0
  522. policyengine_us/variables/gov/territories/pr/tax/income/pr_normal_tax.py +16 -0
  523. policyengine_us/variables/gov/territories/pr/tax/income/pr_regular_tax_before_credits.py +20 -0
  524. policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/deductions/pr_deductions.py +13 -0
  525. policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/exemptions/pr_exemptions.py +13 -0
  526. policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/pr_net_taxable_income.py +17 -0
  527. policyengine_us/variables/gov/usda/csfp/commodity_supplemental_food_program_eligible.py +7 -2
  528. policyengine_us/variables/gov/usda/snap/eligibility/student/is_snap_higher_ed_student.py +17 -0
  529. policyengine_us/variables/gov/usda/snap/eligibility/student/is_snap_ineligible_student.py +47 -15
  530. policyengine_us/variables/gov/usda/snap/eligibility/student/meets_snap_parent_exception.py +42 -0
  531. policyengine_us/variables/gov/usda/snap/eligibility/student/meets_snap_work_exception.py +22 -0
  532. policyengine_us/variables/gov/usda/snap/eligibility/work_requirements/meets_snap_abawd_work_requirements.py +3 -1
  533. policyengine_us/variables/gov/usda/snap/eligibility/work_requirements/meets_snap_general_work_requirements.py +3 -1
  534. policyengine_us/variables/gov/usda/snap/income/deductions/self_employment/snap_self_employment_expense_deduction.py +1 -1
  535. policyengine_us/variables/gov/usda/snap/income/deductions/self_employment/snap_self_employment_income_after_expense_deduction.py +1 -1
  536. policyengine_us/variables/gov/usda/snap/income/deductions/snap_dependent_care_deduction.py +5 -1
  537. policyengine_us/variables/gov/usda/snap/income/snap_countable_earner.py +13 -2
  538. policyengine_us/variables/gov/usda/wic/is_wic_at_nutritional_risk.py +3 -10
  539. policyengine_us/variables/gov/usda/wic/is_wic_eligible.py +10 -1
  540. policyengine_us/variables/household/demographic/geographic/state_group.py +8 -5
  541. policyengine_us/variables/household/demographic/person/is_part_time_college_student.py +9 -0
  542. policyengine_us/variables/household/expense/health/has_bcc_qualifying_coverage.py +16 -0
  543. {policyengine_us-1.420.0.dist-info → policyengine_us-1.450.0.dist-info}/METADATA +2 -2
  544. {policyengine_us-1.420.0.dist-info → policyengine_us-1.450.0.dist-info}/RECORD +558 -266
  545. {policyengine_us-1.420.0.dist-info → policyengine_us-1.450.0.dist-info}/WHEEL +1 -1
  546. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/baby_bonus_act/age_limit.yaml +0 -8
  547. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/baby_bonus_act/amount.yaml +0 -13
  548. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/baby_bonus_act/in_effect.yaml +0 -8
  549. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/baby_bonus_act/min_birth_year.yaml +0 -8
  550. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/amount.yaml +0 -13
  551. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/in_effect.yaml +0 -8
  552. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/max_age.yaml +0 -8
  553. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/min_age.yaml +0 -8
  554. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/tax/rate.yaml +0 -8
  555. policyengine_us/parameters/gov/contrib/congress/tlaib/income_security_package/boost_act/tax/threshold.yaml +0 -24
  556. policyengine_us/parameters/gov/contrib/harris/capital_gains/brackets.yaml +0 -194
  557. policyengine_us/parameters/gov/irs/capital_gains/brackets.yaml +0 -188
  558. policyengine_us/parameters/gov/states/wa/dshs/tanf/eligibility/resources/limit.yaml +0 -11
  559. policyengine_us/reforms/congress/tlaib/income_security_package/__init__.py +0 -17
  560. policyengine_us/reforms/congress/tlaib/income_security_package/income_security_package.py +0 -402
  561. policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_ptc_phase_out_rate.yaml +0 -71
  562. policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/hi_low_income_household_renters/integration.yaml +0 -61
  563. policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/agi/subtractions/taxable_retirement_income/integration.yaml +0 -45
  564. policyengine_us/tests/policy/contrib/congress/tlaib/income_security/integration.yaml +0 -154
  565. policyengine_us/tests/policy/contrib/congress/tlaib/income_security/state_integration.yaml +0 -115
  566. policyengine_us/tests/policy/contrib/congress/tlaib/income_security/test_individual_acts.yaml +0 -149
  567. policyengine_us/tests/policy/contrib/congress/tlaib/income_security/unit_tests.yaml +0 -272
  568. /policyengine_us/parameters/gov/aca/{ptc_phase_out_rate.yaml → required_contribution_percentage.yaml} +0 -0
  569. /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
  570. /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
  571. /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
  572. /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
  573. /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
  574. /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
  575. /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
  576. /policyengine_us/parameters/gov/contrib/congress/tlaib/{income_security_package → economic_dignity_for_all_agenda}/end_child_poverty_act/in_effect.yaml +0 -0
  577. /policyengine_us/variables/gov/states/co/ssa/{state_suplement → state_supplement}/co_state_supplement.py +0 -0
  578. /policyengine_us/variables/gov/states/co/ssa/{state_suplement → state_supplement}/co_state_supplement_eligible.py +0 -0
  579. {policyengine_us-1.420.0.dist-info → policyengine_us-1.450.0.dist-info}/entry_points.txt +0 -0
  580. {policyengine_us-1.420.0.dist-info → policyengine_us-1.450.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,24 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class il_hbwd_countable_earned_income(Variable):
5
+ value_type = float
6
+ unit = USD
7
+ entity = Person
8
+ label = "Illinois Health Benefits for Workers with Disabilities countable earned income"
9
+ definition_period = MONTH
10
+ reference = (
11
+ "https://www.law.cornell.edu/regulations/illinois/Ill-Admin-Code-tit-89-SS-120.360",
12
+ "https://www.law.cornell.edu/regulations/illinois/Ill-Admin-Code-tit-89-SS-120.362",
13
+ "https://www.law.cornell.edu/regulations/illinois/Ill-Admin-Code-tit-89-SS-120.370",
14
+ "https://www.law.cornell.edu/regulations/illinois/Ill-Admin-Code-tit-89-SS-120.510",
15
+ )
16
+ defined_for = StateCode.IL
17
+
18
+ adds = ["il_aabd_earned_income_after_exemption_person"]
19
+ # HBWD uses the same earned income calculation as AABD per
20
+ # 89 Ill. Admin. Code § 120.510(i) referencing § 120.362 and § 120.370
21
+ # § 120.362 and § 113.120 have identical exemption amounts:
22
+ # - $25 flat exemption (§ 120.362(a) / § 113.120(a))
23
+ # - $20 + 50% of next $60 for disabled workers (§ 120.362(b)(1) / § 113.120(b))
24
+ # § 120.370 references AABD MANG work expense deductions
@@ -0,0 +1,16 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class il_hbwd_gross_earned_income(Variable):
5
+ value_type = float
6
+ unit = USD
7
+ entity = Person
8
+ label = "Illinois Health Benefits for Workers with Disabilities gross earned income"
9
+ definition_period = MONTH
10
+ reference = (
11
+ "https://www.law.cornell.edu/regulations/illinois/Ill-Admin-Code-tit-89-SS-120.360",
12
+ "https://www.law.cornell.edu/regulations/illinois/Ill-Admin-Code-tit-89-SS-120.510",
13
+ )
14
+ defined_for = StateCode.IL
15
+
16
+ adds = "gov.states.il.hfs.hbwd.eligibility.income.sources.earned"
@@ -0,0 +1,21 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class il_hbwd_countable_income(Variable):
5
+ value_type = float
6
+ unit = USD
7
+ entity = SPMUnit
8
+ label = "Illinois Health Benefits for Workers with Disabilities countable income"
9
+ definition_period = MONTH
10
+ reference = (
11
+ "https://www.law.cornell.edu/regulations/illinois/Ill-Admin-Code-tit-89-SS-120.510",
12
+ "https://hfs.illinois.gov/medicalprograms/hbwd/eligibility.html",
13
+ )
14
+ defined_for = "is_tax_unit_head_or_spouse"
15
+
16
+ adds = [
17
+ "il_aabd_earned_income_after_exemption_person",
18
+ "il_hbwd_countable_unearned_income",
19
+ ]
20
+ # Per § 120.510(f), count income of individual AND spouse
21
+ # Adds automatically sums across SPM unit members
@@ -0,0 +1,16 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class il_hbwd_countable_unearned_income(Variable):
5
+ value_type = float
6
+ unit = USD
7
+ entity = Person
8
+ label = "Illinois Health Benefits for Workers with Disabilities countable unearned income"
9
+ definition_period = MONTH
10
+ reference = (
11
+ "https://www.law.cornell.edu/regulations/illinois/Ill-Admin-Code-tit-89-SS-120.330",
12
+ "https://www.law.cornell.edu/regulations/illinois/Ill-Admin-Code-tit-89-SS-120.510",
13
+ )
14
+ defined_for = StateCode.IL
15
+
16
+ adds = "gov.states.il.hfs.hbwd.eligibility.income.sources.unearned"
@@ -0,0 +1,23 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class il_hfs_immigration_status_eligible(Variable):
5
+ value_type = bool
6
+ entity = Person
7
+ label = "Illinois HFS programs immigration status eligible"
8
+ definition_period = YEAR
9
+ reference = "https://www.law.cornell.edu/regulations/illinois/Ill-Admin-Code-tit-89-SS-120.310"
10
+ defined_for = StateCode.IL
11
+
12
+ def formula(person, period, parameters):
13
+ p = parameters(period).gov.states.il.hfs
14
+ immigration_status = person("immigration_status", period)
15
+ is_citizen = (
16
+ immigration_status == immigration_status.possible_values.CITIZEN
17
+ )
18
+ immigration_status_str = immigration_status.decode_to_str()
19
+ has_qualifying_status = np.isin(
20
+ immigration_status_str,
21
+ p.qualified_noncitizen_statuses,
22
+ )
23
+ return has_qualifying_status | is_citizen
@@ -0,0 +1,27 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class il_income_tax_rebate(Variable):
5
+ value_type = float
6
+ entity = TaxUnit
7
+ label = "Illinois income tax rebate"
8
+ defined_for = "il_income_tax_rebate_eligible"
9
+ unit = USD
10
+ definition_period = YEAR
11
+ reference = "https://codes.findlaw.com/il/chapter-35-revenue/il-st-sect-35-5-212-1.html"
12
+
13
+ def formula(tax_unit, period, parameters):
14
+ p = parameters(
15
+ period
16
+ ).gov.states.il.tax.income.credits.income_tax_rebate
17
+ federal_agi = tax_unit("adjusted_gross_income", period)
18
+ joint = tax_unit("tax_unit_is_joint", period)
19
+ base_amount = where(
20
+ joint,
21
+ p.amount.joint.calc(federal_agi),
22
+ p.amount.other.calc(federal_agi),
23
+ )
24
+ dependent_count = tax_unit("tax_unit_dependents", period)
25
+ capped_dependents = min_(dependent_count, p.max_dependents)
26
+ dependent_amount = capped_dependents * p.amount.dependent
27
+ return base_amount + dependent_amount
@@ -0,0 +1,24 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class il_income_tax_rebate_eligible(Variable):
5
+ value_type = float
6
+ entity = TaxUnit
7
+ label = "Illinois income tax rebate eligible"
8
+ defined_for = StateCode.IL
9
+ unit = USD
10
+ definition_period = YEAR
11
+ reference = "https://codes.findlaw.com/il/chapter-35-revenue/il-st-sect-35-5-212-1.html"
12
+
13
+ def formula(tax_unit, period, parameters):
14
+ p = parameters(
15
+ period
16
+ ).gov.states.il.tax.income.credits.income_tax_rebate
17
+ federal_agi = tax_unit("adjusted_gross_income", period)
18
+ joint = tax_unit("tax_unit_is_joint", period)
19
+ income_threshold = where(
20
+ joint,
21
+ p.amount.joint.thresholds[1],
22
+ p.amount.other.thresholds[1],
23
+ )
24
+ return federal_agi < income_threshold
@@ -0,0 +1,26 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class in_automatic_refund_rebate(Variable):
5
+ value_type = float
6
+ entity = TaxUnit
7
+ label = "Indiana automatic refund rebate"
8
+ defined_for = StateCode.IN
9
+ unit = USD
10
+ definition_period = YEAR
11
+ reference = "https://law.justia.com/codes/indiana/2022/title-4/article-10/chapter-22/"
12
+
13
+ def formula(tax_unit, period, parameters):
14
+ p = (
15
+ parameters(period)
16
+ .gov.states["in"]
17
+ .tax.income.credits.automatic_refund_rebate.amount
18
+ )
19
+
20
+ # Total amount per person (base + additional)
21
+ amount_per_person = p.base + p.additional
22
+
23
+ # Multiply by number of head and spouse
24
+ head_spouse_count = tax_unit("head_spouse_count", period)
25
+
26
+ return amount_per_person * head_spouse_count
@@ -45,7 +45,7 @@ class ks_fstc(Variable):
45
45
  eligible_income = fagi <= p.food_sales_tax.agi_limit
46
46
  # compute credit amount
47
47
  eligible = eligible_unit & eligible_income
48
- exemptions = tax_unit("ks_count_exemptions", period)
48
+ exemptions = tax_unit("tax_unit_size", period)
49
49
  old_dependents = count_all_dependents - count_child_dependents
50
50
  fstc_exemptions = max_(0, exemptions - old_dependents)
51
51
  return eligible * fstc_exemptions * p.food_sales_tax.amount
@@ -6,6 +6,7 @@ class ma_state_supplement(Variable):
6
6
  entity = Person
7
7
  label = "Massachusetts State Supplement payment amount"
8
8
  definition_period = YEAR
9
+ defined_for = StateCode.MA
9
10
  exhaustive_parameter_dependencies = "gov.states.ma.dta.ssp"
10
11
  reference = (
11
12
  "https://www.law.cornell.edu/regulations/massachusetts/106-CMR-327-330"
@@ -13,7 +13,7 @@ class ma_eaedc_dependent_care_deduction_person(Variable):
13
13
  def formula(person, period, parameters):
14
14
  dependent = person("ma_eaedc_eligible_dependent", period)
15
15
  total_weekly_hours = person.spm_unit.sum(
16
- person("weekly_hours_worked", period.this_year)
16
+ person("weekly_hours_worked_before_lsr", period.this_year)
17
17
  )
18
18
  age = person("monthly_age", period)
19
19
  p = parameters(
@@ -13,7 +13,7 @@ class ma_tafdc_dependent_care_deduction_person(Variable):
13
13
  def formula(person, period, parameters):
14
14
  dependent = person("ma_tafdc_eligible_dependent", period)
15
15
  total_weekly_hours = person.spm_unit.sum(
16
- person("weekly_hours_worked", period.this_year)
16
+ person("weekly_hours_worked_before_lsr", period.this_year)
17
17
  )
18
18
  age = person("monthly_age", period)
19
19
  p = parameters(
@@ -15,7 +15,9 @@ class ma_ccfa_activity_eligible(Variable):
15
15
  is_head_or_spouse = person("is_tax_unit_head_or_spouse", period)
16
16
 
17
17
  # Individual activity requirements
18
- hours_worked = person("weekly_hours_worked", period.this_year)
18
+ hours_worked = person(
19
+ "weekly_hours_worked_before_lsr", period.this_year
20
+ )
19
21
  meets_work_requirement = hours_worked >= p.weekly_hours
20
22
 
21
23
  age = person("monthly_age", period)
@@ -0,0 +1,29 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class ma_taxpayer_refund_rebate(Variable):
5
+ value_type = float
6
+ entity = TaxUnit
7
+ label = "Massachusetts taxpayer refund rebate"
8
+ defined_for = StateCode.MA
9
+ unit = USD
10
+ definition_period = YEAR
11
+ reference = "https://tax.hawaii.gov/act-115-ref/"
12
+
13
+ def formula(tax_unit, period, parameters):
14
+ income_tax_before_credits = tax_unit(
15
+ "ma_income_tax_before_refundable_credits", period
16
+ )
17
+ p = parameters(period).gov.states.ma.tax.income.credits
18
+
19
+ # Sum refundable credits except ma_taxpayer_refund_rebate to avoid circular reference
20
+ refundable_credit_list = p.refundable
21
+ other_refundable_credits = 0
22
+ for credit in refundable_credit_list:
23
+ if credit != "ma_taxpayer_refund_rebate":
24
+ other_refundable_credits += tax_unit(credit, period)
25
+
26
+ income_tax_less_credits = max_(
27
+ income_tax_before_credits - other_refundable_credits, 0
28
+ )
29
+ return p.taxpayer_refund_rebate.rate * income_tax_less_credits
@@ -0,0 +1,16 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class me_relief_rebate(Variable):
5
+ value_type = float
6
+ entity = TaxUnit
7
+ label = "Maine Relief Rebate"
8
+ defined_for = "me_relief_rebate_eligible"
9
+ unit = USD
10
+ definition_period = YEAR
11
+ reference = "https://www.maine.gov/governor/mills/relief-checks"
12
+
13
+ def formula(tax_unit, period, parameters):
14
+ p = parameters(period).gov.states.me.tax.income.credits.relief_rebate
15
+ head_spouse_count = tax_unit("head_spouse_count", period)
16
+ return head_spouse_count * p.amount
@@ -0,0 +1,17 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class me_relief_rebate_eligible(Variable):
5
+ value_type = bool
6
+ entity = TaxUnit
7
+ label = "Maine Relief Rebate eligible"
8
+ defined_for = StateCode.ME
9
+ definition_period = YEAR
10
+ reference = "https://www.maine.gov/governor/mills/relief-checks"
11
+
12
+ def formula(tax_unit, period, parameters):
13
+ p = parameters(period).gov.states.me.tax.income.credits.relief_rebate
14
+ filing_status = tax_unit("filing_status", period)
15
+ federal_agi = tax_unit("adjusted_gross_income", period)
16
+ income_threshold = p.income_limit[filing_status]
17
+ return federal_agi < income_threshold
@@ -20,7 +20,11 @@ class mn_child_and_working_families_credits(Variable):
20
20
  # The credits are defined by separate legal code sections
21
21
  # but are calculated together in the tax forms.
22
22
  # Child Tax Credit computation:
23
- qualifying_children = tax_unit("ctc_qualifying_children", period)
23
+ qualifying_children = add(
24
+ tax_unit,
25
+ period,
26
+ ["mn_child_and_working_families_credits_ctc_eligible_child"],
27
+ )
24
28
  p = parameters(period).gov.states.mn.tax.income.credits.cwfc
25
29
  base_ctc_amount = qualifying_children * p.ctc.amount
26
30
  # Working Family Credit computation:
@@ -0,0 +1,24 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class mn_child_and_working_families_credits_ctc_eligible_child(Variable):
5
+ value_type = float
6
+ entity = Person
7
+ label = "Minnesota child and working families credits child tax credit eligible child"
8
+ unit = USD
9
+ definition_period = YEAR
10
+ reference = (
11
+ "https://www.revisor.mn.gov/statutes/cite/290.0661#stat.290.0661.4"
12
+ "https://www.revisor.mn.gov/statutes/cite/290.0671"
13
+ "https://www.revenue.state.mn.us/sites/default/files/2024-01/m1cwfc-23_1.pdf"
14
+ )
15
+ defined_for = StateCode.MN
16
+
17
+ def formula(person, period, parameters):
18
+ age = person("age", period)
19
+ meets_eitc_identification_requirements = person(
20
+ "meets_eitc_identification_requirements", period
21
+ )
22
+ p = parameters(period).gov.states.mn.tax.income.credits.cwfc.ctc
23
+ age_eligible = age < p.age_limit
24
+ return age_eligible & meets_eitc_identification_requirements
@@ -4,14 +4,13 @@ from policyengine_us.model_api import *
4
4
  class mt_income_tax_rebate(Variable):
5
5
  value_type = float
6
6
  entity = TaxUnit
7
- label = "Montana 2023 income tax rebate"
7
+ label = "Montana 2021 income tax rebate"
8
8
  unit = USD
9
9
  definition_period = YEAR
10
10
  reference = "https://archive.legmt.gov/bills/mca/title_0150/chapter_0300/part_0210/section_0910/0150-0300-0210-0910.html"
11
11
  defined_for = StateCode.MT
12
12
 
13
13
  # The rebate is based on 2021 income tax liability, but provided in 2023
14
- # we assume that the tax liability does not change between 2021 and 2023
15
14
  def formula(tax_unit, period, parameters):
16
15
  p = parameters(period).gov.states.mt.tax.income.credits.rebate
17
16
  filing_status = tax_unit("filing_status", period)
@@ -15,11 +15,12 @@ class mt_itemized_deductions_indiv(Variable):
15
15
  defined_for = StateCode.MT
16
16
 
17
17
  def formula(person, period, parameters):
18
- p = parameters(period).gov.irs.deductions
18
+ p = parameters(period).gov.states.mt.tax.income.deductions.itemized
19
19
  # Since we only compute the federal charitable deduction at the tax unit level,
20
20
  # we will split the value between each spouse
21
21
  charitable_deduction = (
22
- person.tax_unit("charitable_deduction", period) * 0.5
22
+ person.tax_unit("charitable_deduction", period)
23
+ * p.spouse_allocation_rate
23
24
  )
24
25
  head_or_spouse = person("is_tax_unit_head_or_spouse", period)
25
26
  # The interest deduction is the sum of mortagage and investment interest expenses
@@ -4,9 +4,14 @@ from policyengine_us.model_api import *
4
4
  class nj_additions(Variable):
5
5
  value_type = float
6
6
  entity = Person
7
- label = "New Jersey additions to federal AGI by person"
7
+ label = "New Jersey additions to gross income"
8
8
  unit = USD
9
- documentation = "Additions to federal AGI to get NJ total income."
9
+ documentation = "Additions to New Jersey gross income per NJ Statute 54A:5-1. These are amounts added back to gross income that may have been excluded or deducted for federal purposes."
10
10
  definition_period = YEAR
11
- reference = "https://law.justia.com/codes/new-jersey/2022/title-54/section-54-8a-36/"
11
+ reference = (
12
+ "https://law.justia.com/codes/new-jersey/title-54a/section-54a-5-1/",
13
+ "https://www.nj.gov/treasury/taxation/pdf/current/1040.pdf", # Lines 28-38
14
+ )
12
15
  defined_for = StateCode.NJ
16
+
17
+ adds = "gov.states.nj.tax.income.additions"
@@ -0,0 +1,17 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class nj_gross_income(Variable):
5
+ value_type = float
6
+ entity = Person
7
+ label = "New Jersey gross income"
8
+ unit = USD
9
+ documentation = "Gross income calculated from specific income categories per NJ statute, before additions and subtractions. This is built from gross income sources, not federal AGI."
10
+ definition_period = YEAR
11
+ reference = (
12
+ "https://law.justia.com/codes/new-jersey/title-54a/section-54a-5-1/",
13
+ "https://www.nj.gov/treasury/taxation/pdf/current/1040.pdf", # Lines 15-27
14
+ )
15
+ defined_for = StateCode.NJ
16
+
17
+ adds = "gov.states.nj.tax.income.gross_income_sources"
@@ -4,14 +4,20 @@ from policyengine_us.model_api import *
4
4
  class nj_total_income(Variable):
5
5
  value_type = float
6
6
  entity = Person
7
- label = "New Jersey total income by person"
7
+ label = "New Jersey total income"
8
8
  unit = USD
9
+ documentation = "New Jersey total income calculated as gross income plus additions minus subtractions per NJ Statute 54A:5-1. This is the income base before exclusions."
9
10
  definition_period = YEAR
10
- reference = "https://law.justia.com/codes/new-jersey/2022/title-54/section-54-8a-36/"
11
+ reference = (
12
+ "https://law.justia.com/codes/new-jersey/title-54a/section-54a-5-1/",
13
+ "https://www.nj.gov/treasury/taxation/pdf/current/1040.pdf",
14
+ )
11
15
  defined_for = StateCode.NJ
12
16
 
13
17
  def formula(person, period, parameters):
14
- agi = person("adjusted_gross_income_person", period)
15
- nj_additions = person("nj_additions", period)
16
- nj_subtractions = person("nj_agi_subtractions", period)
17
- return max_(0, agi + nj_additions - nj_subtractions)
18
+ # NJ Total Income = Gross Income + Additions - Subtractions
19
+ # Per NJ Statute 54A:5-1 and Form NJ-1040
20
+ gross_income = person("nj_gross_income", period)
21
+ additions = person("nj_additions", period)
22
+ subtractions = person("nj_agi_subtractions", period)
23
+ return max_(0, gross_income + additions - subtractions)
@@ -19,8 +19,8 @@ class nj_cdcc(Variable):
19
19
  taxable_income = tax_unit("nj_taxable_income", period)
20
20
 
21
21
  # Get federal CDCC
22
- # New Jersey matches the potential federal credit
23
- federal_cdcc = tax_unit("cdcc_potential", period)
22
+ # New Jersey matches the actual federal credit value
23
+ federal_cdcc = tax_unit("cdcc", period)
24
24
 
25
25
  # Calculate NJ CDCC
26
26
  rate = p.calc(taxable_income, right=True)
@@ -13,6 +13,10 @@ class oh_joint_filing_credit_qualifying_income(Variable):
13
13
  )
14
14
  defined_for = StateCode.OH
15
15
 
16
- adds = ["oh_agi_person"]
17
-
18
- subtracts = ["oh_joint_filing_credit_agi_subtractions"]
16
+ def formula(person, period, parameters):
17
+ agi = person("oh_agi_person", period)
18
+ # Prevent negative subtractions from acting as additions
19
+ subtractions = max_(
20
+ 0, person("oh_joint_filing_credit_agi_subtractions", period)
21
+ )
22
+ return agi - subtractions
@@ -16,8 +16,8 @@ class oh_cdcc(Variable):
16
16
  p = parameters(period).gov.states.oh.tax.income.credits.cdcc
17
17
 
18
18
  agi = tax_unit("oh_modified_agi", period)
19
- # Ohio matches the federal credit taken
20
- us_cdcc = tax_unit("cdcc", period)
19
+ # Ohio matches the potential federal credit
20
+ us_cdcc = tax_unit("cdcc_potential", period)
21
21
 
22
22
  rate = p.match.calc(agi)
23
23
  # qualify for full CDCC amount when AGI < 20_000
@@ -0,0 +1,16 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class pa_eitc(Variable):
5
+ value_type = float
6
+ entity = TaxUnit
7
+ label = "Pennsylvania Working Pennsylvanians Tax Credit"
8
+ defined_for = StateCode.PA
9
+ unit = USD
10
+ definition_period = YEAR
11
+ reference = "https://www.palegis.us/legislation/bills/text/PDF/2025/0/HB0416/PN2576#page=50" # Article XVI-W.2
12
+
13
+ def formula(tax_unit, period, parameters):
14
+ federal_eitc = tax_unit("eitc", period)
15
+ p = parameters(period).gov.states.pa.tax.income.credits.eitc
16
+ return federal_eitc * p.match
@@ -24,7 +24,7 @@ class sc_cdcc(Variable):
24
24
  sc_max_care_expense = parameters(period_max).gov.irs.credits.cdcc.max
25
25
 
26
26
  # Get child care expenses.
27
- childcare_expenses = tax_unit("tax_unit_childcare_expenses", period)
27
+ childcare_expenses = tax_unit("cdcc_relevant_expenses", period)
28
28
 
29
29
  # Married filing separate are ineligible.
30
30
  filing_status = tax_unit("filing_status", period)
@@ -0,0 +1,29 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class sc_2022_rebate(Variable):
5
+ value_type = float
6
+ entity = TaxUnit
7
+ label = "South Carolina 2022 rebate"
8
+ defined_for = StateCode.SC
9
+ unit = USD
10
+ definition_period = YEAR
11
+ reference = "https://www.scstatehouse.gov/sess124_2021-2022/bills/1087.htm"
12
+
13
+ def formula(tax_unit, period, parameters):
14
+ tax_before_non_refundable_credits = tax_unit(
15
+ "sc_income_tax_before_non_refundable_credits", period
16
+ )
17
+ p = parameters(period).gov.states.sc.tax.income.credits
18
+ other_non_refundable_credits = 0
19
+ for credit in p.non_refundable:
20
+ if credit != "sc_2022_rebate":
21
+ other_non_refundable_credits += tax_unit(credit, period)
22
+ refundable_credits = tax_unit("sc_refundable_credits", period)
23
+ tax_after_credits = max_(
24
+ 0,
25
+ tax_before_non_refundable_credits
26
+ - other_non_refundable_credits
27
+ - refundable_credits,
28
+ )
29
+ return min_(tax_after_credits, p["2022_rebate"].amount)
@@ -0,0 +1,14 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class tx_dta_csfp_income_eligible(Variable):
5
+ value_type = bool
6
+ entity = Person
7
+ definition_period = YEAR
8
+ label = "Texas Commodity Supplemental Food Program income eligible"
9
+ defined_for = StateCode.TX
10
+
11
+ def formula(person, period, parameters):
12
+ p = parameters(period).gov.states.tx.dta.csfp
13
+ fpg = person.spm_unit("school_meal_fpg_ratio", period)
14
+ return fpg <= p.fpg_limit
@@ -0,0 +1,40 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class tx_ccs_copay(Variable):
5
+ value_type = float
6
+ entity = SPMUnit
7
+ unit = USD
8
+ label = "Texas Child Care Services (CCS) copayment"
9
+ definition_period = MONTH
10
+ reference = "https://wspanhandle.com/child-care/for-parents/"
11
+ defined_for = "tx_ccs_eligible"
12
+
13
+ def formula(spm_unit, period, parameters):
14
+ p = parameters(period).gov.states.tx.twc.ccs.copay
15
+
16
+ # Get household income and SMI ratio
17
+ income = spm_unit("tx_ccs_countable_income", period)
18
+ smi = spm_unit("hhs_smi", period)
19
+ income_to_smi_ratio = income / smi
20
+
21
+ # Count eligible children in care
22
+ eligible_children = spm_unit.sum(
23
+ spm_unit.members("tx_ccs_eligible_child", period)
24
+ )
25
+
26
+ # Calculate copayment rates based on income bracket
27
+ # Use Panhandle Region's values
28
+ first_child_rate = p.rate.first_child.calc(income_to_smi_ratio)
29
+ additional_child_rate = p.rate.additional_child
30
+
31
+ # Calculate copayments as percentage of income
32
+ first_child_copay = first_child_rate * income
33
+ additional_children = max_(eligible_children - 1, 0)
34
+ additional_copay = additional_child_rate * income * additional_children
35
+
36
+ # Total copayment, capped at maximum rate
37
+ total_copay = first_child_copay + additional_copay
38
+ max_copay = p.rate.maximum * income
39
+
40
+ return min_(total_copay, max_copay)
@@ -0,0 +1,16 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class tx_ccs_asset_eligible(Variable):
5
+ value_type = bool
6
+ entity = SPMUnit
7
+ label = "Texas CCS asset eligible"
8
+ definition_period = MONTH
9
+ reference = "https://www.law.cornell.edu/regulations/texas/40-Tex-Admin-Code-SS-809-41"
10
+ defined_for = StateCode.TX
11
+
12
+ def formula(spm_unit, period, parameters):
13
+ p = parameters(period).gov.states.tx.twc.ccs
14
+ assets = spm_unit("spm_unit_assets", period.this_year)
15
+ asset_limit = p.assets.limit
16
+ return assets <= asset_limit
@@ -0,0 +1,28 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class tx_ccs_eligible(Variable):
5
+ value_type = bool
6
+ entity = SPMUnit
7
+ label = "Texas CCS eligible"
8
+ definition_period = MONTH
9
+ reference = "https://www.law.cornell.edu/regulations/texas/40-Tex-Admin-Code-SS-809-41"
10
+ defined_for = StateCode.TX
11
+
12
+ def formula(spm_unit, period, parameters):
13
+ # Check all eligibility criteria
14
+ income_eligible = spm_unit("tx_ccs_income_eligible", period)
15
+ asset_eligible = spm_unit("tx_ccs_asset_eligible", period)
16
+ work_eligible = spm_unit("tx_ccs_work_requirement_eligible", period)
17
+
18
+ # Check if at least one child is age-eligible
19
+ person = spm_unit.members
20
+ age_eligible = person("tx_ccs_eligible_child", period)
21
+ has_eligible_child = spm_unit.any(age_eligible)
22
+
23
+ return (
24
+ income_eligible
25
+ & asset_eligible
26
+ & work_eligible
27
+ & has_eligible_child
28
+ )