policyengine-us 1.439.0__py3-none-any.whl → 1.449.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. policyengine_us/parameters/calibration/gov/hhs/medicare/per_capita_cost.yaml +12 -0
  2. policyengine_us/parameters/gov/contrib/states/ut/eitc/in_effect.yaml +9 -0
  3. policyengine_us/parameters/gov/contrib/states/ut/eitc/max_age.yaml +9 -0
  4. policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/medically_needy/categories/child/child.yaml +0 -1
  5. policyengine_us/parameters/gov/hhs/medicare/part_a/deductible.yaml +13 -0
  6. policyengine_us/parameters/gov/hhs/medicare/part_a/default_quarters_of_coverage.yaml +10 -0
  7. policyengine_us/parameters/gov/hhs/medicare/part_a/full_premium.yaml +13 -0
  8. policyengine_us/parameters/gov/hhs/medicare/part_a/premium_free_quarters_threshold.yaml +10 -0
  9. policyengine_us/parameters/gov/hhs/medicare/part_a/reduced_premium.yaml +13 -0
  10. policyengine_us/parameters/gov/hhs/medicare/part_a/reduced_premium_quarters_threshold.yaml +10 -0
  11. policyengine_us/parameters/gov/hhs/medicare/part_b/base_premium.yaml +16 -0
  12. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/head_of_household.yaml +50 -0
  13. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/joint.yaml +49 -0
  14. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/separate.yaml +30 -0
  15. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/single.yaml +50 -0
  16. policyengine_us/parameters/gov/hhs/medicare/part_b/irmaa/surviving_spouse.yaml +49 -0
  17. policyengine_us/parameters/gov/irs/credits/cdcc/eligibility/child_age.yaml +0 -1
  18. policyengine_us/parameters/gov/irs/credits/clean_vehicle/new/eligibility/min_kwh.yaml +0 -1
  19. policyengine_us/parameters/gov/irs/credits/clean_vehicle/used/eligibility/sale_price_limit.yaml +0 -1
  20. policyengine_us/parameters/gov/irs/credits/education/american_opportunity_credit/abolition.yaml +0 -1
  21. policyengine_us/parameters/gov/irs/credits/education/american_opportunity_credit/refundability.yaml +0 -1
  22. policyengine_us/parameters/gov/irs/credits/education/lifetime_learning_credit/abolition.yaml +0 -1
  23. policyengine_us/parameters/gov/irs/credits/education/lifetime_learning_credit/expense_limit.yaml +0 -1
  24. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/advanced_main_air_circulating_fan.yaml +0 -1
  25. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/door.yaml +0 -1
  26. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/energy_efficient_central_air_conditioner.yaml +0 -1
  27. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/heat_pump_heat_pump_water_heater_biomass_stove_boiler.yaml +0 -1
  28. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/home_energy_audit.yaml +0 -1
  29. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/qualified_furnace_or_hot_water_boiler.yaml +0 -1
  30. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/roof.yaml +0 -1
  31. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/total.yaml +0 -1
  32. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/annual/window.yaml +0 -1
  33. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/lifetime/total.yaml +0 -1
  34. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/cap/lifetime/window.yaml +0 -1
  35. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/in_effect.yaml +0 -1
  36. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/qualified_expenditures/credits.yaml +0 -1
  37. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/qualified_expenditures/heat_pump_heat_pump_water_heater_biomass_stove_boiler.yaml +0 -1
  38. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/rates/home_energy_audit.yaml +0 -1
  39. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/rates/improvements.yaml +0 -1
  40. policyengine_us/parameters/gov/irs/credits/energy_efficient_home_improvement/rates/property.yaml +0 -1
  41. policyengine_us/parameters/gov/irs/credits/premium_tax_credit/phase_out/ending_rate.yaml +0 -1
  42. policyengine_us/parameters/gov/irs/credits/premium_tax_credit/phase_out/starting_rate.yaml +0 -1
  43. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/max/adult.yaml +0 -1
  44. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/max/dependent.yaml +0 -1
  45. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/phase_out/length.yaml +0 -1
  46. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/arpa/phase_out/threshold.yaml +0 -1
  47. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/max/adult.yaml +0 -1
  48. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/max/child.yaml +0 -1
  49. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/phase_out/rate.yaml +0 -1
  50. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/caa/phase_out/threshold.yaml +0 -1
  51. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/max/adult.yaml +0 -1
  52. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/max/child.yaml +0 -1
  53. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/phase_out/rate.yaml +0 -1
  54. policyengine_us/parameters/gov/irs/credits/recovery_rebate_credit/cares/phase_out/threshold.yaml +0 -1
  55. policyengine_us/parameters/gov/irs/credits/residential_clean_energy/applicable_percentage.yaml +0 -1
  56. policyengine_us/parameters/gov/irs/credits/residential_clean_energy/elements.yaml +0 -1
  57. policyengine_us/parameters/gov/irs/credits/residential_clean_energy/fuel_cell_cap_per_kw.yaml +0 -1
  58. policyengine_us/parameters/gov/irs/deductions/standard/aged_or_blind/age_threshold.yaml +0 -1
  59. policyengine_us/parameters/gov/irs/payroll/medicare/additional/exclusion.yaml +0 -1
  60. policyengine_us/parameters/gov/local/ny/mamdani_income_tax/in_effect.yaml +10 -0
  61. policyengine_us/parameters/gov/local/ny/mamdani_income_tax/rate.yaml +18 -0
  62. policyengine_us/parameters/gov/states/ar/tax/income/rates/main/reduction.yaml +30 -0
  63. policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/amount/{single.yaml → non_joint.yaml} +2 -2
  64. policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/income_limit/{single.yaml → non_joint.yaml} +2 -2
  65. policyengine_us/parameters/gov/states/il/hfs/README.md +1 -0
  66. policyengine_us/parameters/gov/states/il/hfs/hbwd/README.md +1 -0
  67. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/age.yaml +25 -0
  68. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/asset/limit.yaml +15 -0
  69. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/income/limit.yaml +15 -0
  70. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/income/sources/earned.yaml +13 -0
  71. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/income/sources/unearned.yaml +25 -0
  72. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/qualified_noncitizen_statuses.yaml +21 -0
  73. policyengine_us/parameters/gov/states/il/hfs/hbwd/premium/earned.yaml +96 -0
  74. policyengine_us/parameters/gov/states/il/hfs/hbwd/premium/unearned.yaml +96 -0
  75. policyengine_us/parameters/gov/states/mt/tax/income/deductions/itemized/spouse_allocation_rate.yaml +13 -0
  76. policyengine_us/parameters/gov/states/wa/dshs/tanf/income/deductions/earned_income_disregard/amount.yaml +14 -0
  77. policyengine_us/parameters/gov/states/wa/dshs/tanf/income/deductions/earned_income_disregard/percentage_disregarded.yaml +14 -0
  78. policyengine_us/parameters/gov/states/wa/dshs/tanf/income/limit.yaml +36 -0
  79. policyengine_us/parameters/gov/states/wa/dshs/tanf/maximum_family_size.yaml +14 -0
  80. policyengine_us/parameters/gov/states/wa/dshs/tanf/payment_standard/amount.yaml +32 -0
  81. policyengine_us/parameters/gov/states/wa/dshs/tanf/payment_standard/maximum_amount.yaml +12 -0
  82. policyengine_us/parameters/gov/states/wa/dshs/tanf/resource_limit.yaml +15 -0
  83. policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/adjustment_limit_basis.yaml +12 -0
  84. policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/exemption_rate.yaml +13 -0
  85. policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/rate.yaml +12 -0
  86. policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/threshold.yaml +13 -0
  87. policyengine_us/parameters/gov/territories/pr/tax/income/regular_tax/percentage.yaml +21 -0
  88. policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/deductions/sources.yaml +18 -0
  89. policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/sources.yaml +15 -0
  90. policyengine_us/parameters/gov/usda/snap/student/child_age_limit/single_parent.yaml +12 -0
  91. policyengine_us/parameters/gov/usda/snap/student/child_age_limit/two_parent.yaml +12 -0
  92. policyengine_us/parameters/simulation/disabled_programs.yaml +0 -1
  93. policyengine_us/reforms/local/ny/__init__.py +4 -0
  94. policyengine_us/reforms/local/ny/mamdani_income_tax.py +84 -0
  95. policyengine_us/reforms/reforms.py +14 -0
  96. policyengine_us/reforms/states/ut/__init__.py +3 -0
  97. policyengine_us/reforms/states/ut/ut_refundable_eitc.py +118 -0
  98. policyengine_us/tests/policy/baseline/gov/hhs/medicare/costs/medicare_cost.yaml +65 -0
  99. policyengine_us/tests/policy/baseline/gov/hhs/medicare/eligibility/base_part_a_premium.yaml +35 -0
  100. policyengine_us/tests/policy/baseline/gov/hhs/medicare/eligibility/base_part_b_premium.yaml +15 -0
  101. policyengine_us/tests/policy/baseline/gov/hhs/medicare/eligibility/income_adjusted_part_b_premium.yaml +77 -0
  102. policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.yaml +68 -0
  103. policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_minimum_tax/integration.yaml +26 -0
  104. policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/integration.yaml +35 -0
  105. policyengine_us/tests/policy/baseline/gov/states/co/tax/income/additions/federal_deduction/co_federal_deduction_addback.yaml +2 -2
  106. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/asset/il_hbwd_countable_assets.yaml +23 -0
  107. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_age_eligible.yaml +39 -0
  108. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_asset_eligible.yaml +31 -0
  109. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_disability_eligible.yaml +35 -0
  110. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_eligible.yaml +65 -0
  111. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_employment_eligible.yaml +34 -0
  112. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_immigration_status_eligible.yaml +47 -0
  113. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_income_eligible.yaml +25 -0
  114. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/il_hbwd_person.yaml +34 -0
  115. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/il_hbwd_premium.yaml +84 -0
  116. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/integration.yaml +183 -0
  117. policyengine_us/tests/policy/baseline/gov/states/ma/dta/ssp/ma_state_supplement.yaml +2 -0
  118. policyengine_us/tests/policy/baseline/gov/states/mo/tax/income/deductions/mo_federal_income_tax_deduction.yaml +2 -14
  119. 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
  120. 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
  121. 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
  122. policyengine_us/tests/policy/baseline/gov/states/nc/tax/income/deductions/nc_itemized_deductions.yaml +2 -2
  123. policyengine_us/tests/policy/baseline/gov/states/oh/tax/income/credits/joint_filing_credit/oh_joint_filing_credit_qualifying_income.yaml +29 -0
  124. policyengine_us/tests/policy/baseline/gov/states/oh/tax/income/integration.yaml +82 -0
  125. policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/ss_benefits_credit/ut_ss_benefits_credit_max.yaml +5 -5
  126. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/benefit/wa_tanf_payment_standard.yaml +48 -0
  127. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/eligibility/wa_tanf_eligible.yaml +65 -0
  128. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/eligibility/wa_tanf_income_eligible.yaml +96 -0
  129. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/income/wa_tanf_countable_earned_income.yaml +70 -0
  130. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/integration.yaml +676 -0
  131. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/wa_tanf.yaml +102 -0
  132. policyengine_us/tests/policy/baseline/gov/states/wa/dshs/tanf/wa_tanf_resources_eligible.yaml +6 -7
  133. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_amount.yaml +29 -0
  134. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_eligible.yaml +15 -0
  135. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_agi.yaml +17 -0
  136. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_agi_person.yaml +17 -0
  137. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_tax_before_credits.yaml +19 -0
  138. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/pr_net_taxable_income.yaml +26 -0
  139. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/is_snap_higher_ed_student.yaml +23 -0
  140. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/is_snap_ineligible_student.yaml +75 -4
  141. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/meets_snap_parent_exception.yaml +345 -0
  142. policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/meets_snap_work_exception.yaml +47 -0
  143. policyengine_us/tests/policy/baseline/gov/usda/snap/income/federal_work_study_income_exclusion.yaml +24 -0
  144. policyengine_us/tests/policy/baseline/gov/usda/snap/income/snap_countable_earner.yaml +25 -0
  145. policyengine_us/tests/policy/baseline/gov/usda/wic/integration.yaml +181 -0
  146. policyengine_us/tests/policy/baseline/gov/usda/wic/is_wic_at_nutritional_risk.yaml +33 -0
  147. policyengine_us/tests/policy/baseline/gov/usda/wic/is_wic_eligible.yaml +28 -15
  148. policyengine_us/tests/policy/baseline/household/demographic/geographic/state_group.yaml +21 -0
  149. policyengine_us/tests/policy/contrib/local/ny/nyc_mamdani_income_tax.yaml +51 -0
  150. policyengine_us/tests/policy/contrib/states/ut/ut_refundable_eitc.yaml +214 -0
  151. policyengine_us/variables/gov/ed/is_federal_work_study_participant.py +9 -0
  152. policyengine_us/variables/gov/hhs/medicare/costs/medicare_cost.py +30 -0
  153. policyengine_us/variables/gov/hhs/medicare/costs/medicare_enrolled.py +14 -0
  154. policyengine_us/variables/gov/hhs/medicare/eligibility/part_a/base_part_a_premium.py +32 -0
  155. policyengine_us/variables/gov/hhs/medicare/eligibility/part_a/is_premium_free_part_a.py +22 -0
  156. policyengine_us/variables/gov/hhs/medicare/eligibility/part_a/medicare_quarters_of_coverage.py +16 -0
  157. policyengine_us/variables/gov/hhs/medicare/eligibility/part_b/base_part_b_premium.py +16 -0
  158. policyengine_us/variables/gov/hhs/medicare/eligibility/part_b/income_adjusted_part_b_premium.py +55 -0
  159. policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/exemption/amt_exemption.py +47 -0
  160. policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/income/amt_income_less_exemptions.py +4 -22
  161. policyengine_us/variables/gov/states/ca/tax/income/alternative_minimum_tax/exemption/ca_amt_exemption.py +4 -2
  162. policyengine_us/variables/gov/states/ca/tax/income/ca_income_tax.py +1 -0
  163. policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit.py +1 -1
  164. policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible.py +1 -1
  165. policyengine_us/variables/gov/states/il/hfs/hbwd/asset/il_hbwd_countable_assets.py +34 -0
  166. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_age_eligible.py +20 -0
  167. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_asset_eligible.py +21 -0
  168. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_disability_eligible.py +20 -0
  169. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_eligible.py +33 -0
  170. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_employment_eligible.py +25 -0
  171. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_immigration_status_eligible.py +26 -0
  172. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_income_eligible.py +23 -0
  173. policyengine_us/variables/gov/states/il/hfs/hbwd/il_hbwd.py +17 -0
  174. policyengine_us/variables/gov/states/il/hfs/hbwd/il_hbwd_person.py +24 -0
  175. policyengine_us/variables/gov/states/il/hfs/hbwd/il_hbwd_premium.py +23 -0
  176. policyengine_us/variables/gov/states/il/hfs/hbwd/income/earned/il_hbwd_countable_earned_income.py +24 -0
  177. policyengine_us/variables/gov/states/il/hfs/hbwd/income/earned/il_hbwd_gross_earned_income.py +16 -0
  178. policyengine_us/variables/gov/states/il/hfs/hbwd/income/il_hbwd_countable_income.py +21 -0
  179. policyengine_us/variables/gov/states/il/hfs/hbwd/income/unearned/il_hbwd_countable_unearned_income.py +16 -0
  180. policyengine_us/variables/gov/states/ma/dta/ssp/ma_state_supplement.py +1 -0
  181. policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_itemized_deductions_indiv.py +3 -2
  182. policyengine_us/variables/gov/states/oh/tax/income/credits/joint_filing_credit/oh_joint_filing_credit_qualifying_income.py +7 -3
  183. policyengine_us/variables/gov/states/wa/dshs/tanf/benefit/wa_tanf_payment_standard.py +22 -0
  184. policyengine_us/variables/gov/states/wa/dshs/tanf/eligibility/wa_tanf_eligible.py +42 -0
  185. policyengine_us/variables/gov/states/wa/dshs/tanf/eligibility/wa_tanf_income_eligible.py +31 -0
  186. policyengine_us/variables/gov/states/wa/dshs/tanf/income/wa_tanf_countable_earned_income.py +33 -0
  187. policyengine_us/variables/gov/states/wa/dshs/tanf/income/wa_tanf_countable_income.py +16 -0
  188. policyengine_us/variables/gov/states/wa/dshs/tanf/wa_tanf.py +34 -0
  189. policyengine_us/variables/gov/states/wa/dshs/tanf/wa_tanf_resources_eligible.py +3 -2
  190. policyengine_us/variables/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_amount.py +23 -0
  191. policyengine_us/variables/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_eligible.py +16 -0
  192. policyengine_us/variables/gov/territories/pr/tax/income/pr_agi.py +11 -1
  193. policyengine_us/variables/gov/territories/pr/tax/income/pr_agi_person.py +11 -1
  194. policyengine_us/variables/gov/territories/pr/tax/income/pr_regular_tax_before_credits.py +9 -0
  195. policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/deductions/pr_deductions.py +13 -0
  196. policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/exemptions/pr_exemptions.py +13 -0
  197. policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/pr_net_taxable_income.py +6 -0
  198. policyengine_us/variables/gov/usda/snap/eligibility/student/is_snap_higher_ed_student.py +17 -0
  199. policyengine_us/variables/gov/usda/snap/eligibility/student/is_snap_ineligible_student.py +47 -15
  200. policyengine_us/variables/gov/usda/snap/eligibility/student/meets_snap_parent_exception.py +42 -0
  201. policyengine_us/variables/gov/usda/snap/eligibility/student/meets_snap_work_exception.py +22 -0
  202. policyengine_us/variables/gov/usda/snap/income/snap_countable_earner.py +13 -2
  203. policyengine_us/variables/gov/usda/wic/is_wic_at_nutritional_risk.py +3 -10
  204. policyengine_us/variables/gov/usda/wic/is_wic_eligible.py +10 -1
  205. policyengine_us/variables/household/demographic/geographic/state_group.py +8 -5
  206. policyengine_us/variables/household/demographic/person/is_part_time_college_student.py +9 -0
  207. {policyengine_us-1.439.0.dist-info → policyengine_us-1.449.6.dist-info}/METADATA +1 -1
  208. {policyengine_us-1.439.0.dist-info → policyengine_us-1.449.6.dist-info}/RECORD +213 -90
  209. {policyengine_us-1.439.0.dist-info → policyengine_us-1.449.6.dist-info}/WHEEL +1 -1
  210. policyengine_us/parameters/gov/states/wa/dshs/tanf/eligibility/resources/limit.yaml +0 -11
  211. /policyengine_us/variables/gov/states/co/ssa/{state_suplement → state_supplement}/co_state_supplement.py +0 -0
  212. /policyengine_us/variables/gov/states/co/ssa/{state_suplement → state_supplement}/co_state_supplement_eligible.py +0 -0
  213. {policyengine_us-1.439.0.dist-info → policyengine_us-1.449.6.dist-info}/entry_points.txt +0 -0
  214. {policyengine_us-1.439.0.dist-info → policyengine_us-1.449.6.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,102 @@
1
+ - name: Eligible with no income - full payment standard
2
+ period: 2024-01
3
+ input:
4
+ state_code: WA
5
+ wa_tanf_eligible: true
6
+ wa_tanf_payment_standard: 706
7
+ wa_tanf_countable_income: 0
8
+ output:
9
+ # Benefit = $706 - $0 = $706
10
+ wa_tanf: 706
11
+
12
+ - name: Eligible with partial income - reduced benefit
13
+ period: 2024-01
14
+ input:
15
+ state_code: WA
16
+ wa_tanf_eligible: true
17
+ wa_tanf_payment_standard: 706
18
+ wa_tanf_countable_income: 250
19
+ output:
20
+ # Benefit = $706 - $250 = $456
21
+ wa_tanf: 456
22
+
23
+ - name: Eligible with income equal to payment standard - zero benefit
24
+ period: 2024-01
25
+ input:
26
+ state_code: WA
27
+ wa_tanf_eligible: true
28
+ wa_tanf_payment_standard: 706
29
+ wa_tanf_countable_income: 706
30
+ output:
31
+ # Benefit = $706 - $706 = $0
32
+ wa_tanf: 0
33
+
34
+ - name: Eligible with income exceeding payment standard - zero benefit
35
+ period: 2024-01
36
+ input:
37
+ state_code: WA
38
+ wa_tanf_eligible: true
39
+ wa_tanf_payment_standard: 706
40
+ wa_tanf_countable_income: 800
41
+ output:
42
+ # Benefit = max($706 - $800, 0) = $0
43
+ wa_tanf: 0
44
+
45
+ - name: Ineligible household - zero benefit
46
+ period: 2024-01
47
+ input:
48
+ state_code: WA
49
+ wa_tanf_eligible: false
50
+ wa_tanf_payment_standard: 706
51
+ wa_tanf_countable_income: 0
52
+ output:
53
+ wa_tanf: 0
54
+
55
+ - name: Large family - benefit capped by maximum grant cap
56
+ period: 2024-01
57
+ input:
58
+ state_code: WA
59
+ wa_tanf_eligible: true
60
+ wa_tanf_payment_standard: 1_662
61
+ wa_tanf_countable_income: 0
62
+ output:
63
+ # Benefit before cap = $1,662 - $0 = $1,662
64
+ # Maximum grant cap = $1,338
65
+ # Benefit = min($1,662, $1,338) = $1,338
66
+ wa_tanf: 1_338
67
+
68
+ - name: Large family with income - benefit under cap
69
+ period: 2024-01
70
+ input:
71
+ state_code: WA
72
+ wa_tanf_eligible: true
73
+ wa_tanf_payment_standard: 1_529
74
+ wa_tanf_countable_income: 250
75
+ output:
76
+ # Benefit before cap = $1,529 - $250 = $1,279
77
+ # Maximum grant cap = $1,338
78
+ # Benefit = min($1,279, $1,338) = $1,279 (under cap)
79
+ wa_tanf: 1_279
80
+
81
+ - name: Medium family - benefit exactly at cap
82
+ period: 2024-01
83
+ input:
84
+ state_code: WA
85
+ wa_tanf_eligible: true
86
+ wa_tanf_payment_standard: 1_392
87
+ wa_tanf_countable_income: 54
88
+ output:
89
+ # Benefit before cap = $1,392 - $54 = $1,338
90
+ # Maximum grant cap = $1,338
91
+ # Benefit = min($1,338, $1,338) = $1,338 (exactly at cap)
92
+ wa_tanf: 1_338
93
+
94
+ - name: Only calculate for WA
95
+ period: 2024-01
96
+ input:
97
+ state_code: OR
98
+ wa_tanf_eligible: false
99
+ wa_tanf_payment_standard: 706
100
+ wa_tanf_countable_income: 0
101
+ output:
102
+ wa_tanf: 0
@@ -1,16 +1,15 @@
1
- - name: Households with assets lower than or equal to $6,000 are eligible.
2
- period: 2023
1
+ - name: Households with assets at or below resource limit are eligible
2
+ period: 2024
3
3
  input:
4
4
  state_code: WA
5
- wa_tanf_countable_resources: 6_000
5
+ wa_tanf_countable_resources: 12_000
6
6
  output:
7
7
  wa_tanf_resources_eligible: true
8
8
 
9
-
10
- - name: Households with assets higher than $6,000 are ineligible.
11
- period: 2023
9
+ - name: Households with assets above resource limit are ineligible
10
+ period: 2024
12
11
  input:
13
12
  state_code: WA
14
- wa_tanf_countable_resources: 7_000
13
+ wa_tanf_countable_resources: 13_000
15
14
  output:
16
15
  wa_tanf_resources_eligible: false
@@ -0,0 +1,29 @@
1
+ - name: Not eligible, income below threshold
2
+ period: 2024
3
+ input:
4
+ pr_gradual_adjustment_eligible: False
5
+ pr_net_taxable_income: 70_000
6
+ pr_exemptions: 4_000
7
+ state_code: PR
8
+ output:
9
+ pr_gradual_adjustment_amount: 0
10
+
11
+ - name: Amount lower than limit
12
+ period: 2024
13
+ input:
14
+ pr_gradual_adjustment_eligible: True
15
+ pr_net_taxable_income: 501_000
16
+ pr_exemptions: 1_300
17
+ state_code: PR
18
+ output:
19
+ pr_gradual_adjustment_amount: 50
20
+
21
+ - name: Limit lower than amount
22
+ period: 2024
23
+ input:
24
+ pr_gradual_adjustment_eligible: True
25
+ pr_net_taxable_income: 700_000
26
+ pr_exemptions: 1_000
27
+ state_code: PR
28
+ output:
29
+ pr_gradual_adjustment_amount: 9_225
@@ -0,0 +1,15 @@
1
+ - name: Not eligible
2
+ period: 2024
3
+ input:
4
+ pr_net_taxable_income: 500_000
5
+ state_code: PR
6
+ output:
7
+ pr_gradual_adjustment_eligible: False
8
+
9
+ - name: Eligible
10
+ period: 2024
11
+ input:
12
+ pr_net_taxable_income: 500_001
13
+ state_code: PR
14
+ output:
15
+ pr_gradual_adjustment_eligible: True
@@ -0,0 +1,17 @@
1
+ - name: Total income greater than alimony
2
+ period: 2024
3
+ input:
4
+ pr_gross_income: 20_000
5
+ alimony_expense: 5_000
6
+ state_code: PR
7
+ output:
8
+ pr_agi: 15_000
9
+
10
+ - name: Alimony greater than total income
11
+ period: 2024
12
+ input:
13
+ pr_gross_income: 5_000
14
+ alimony_expense: 10_000
15
+ state_code: PR
16
+ output:
17
+ pr_agi: 0
@@ -0,0 +1,17 @@
1
+ - name: Joint
2
+ period: 2024
3
+ input:
4
+ pr_agi: 20_000
5
+ filing_status: JOINT
6
+ state_code: PR
7
+ output:
8
+ pr_agi_person: 10_000
9
+
10
+ - name: Separate
11
+ period: 2024
12
+ input:
13
+ pr_agi: 20_000
14
+ filing_status: SEPARATE
15
+ state_code: PR
16
+ output:
17
+ pr_agi_person: 20_000
@@ -0,0 +1,19 @@
1
+ - name: Lower bracket
2
+ period: 2024
3
+ input:
4
+ state_code: PR
5
+ pr_gross_income: 100_000
6
+ pr_normal_tax: 2_000
7
+ pr_gradual_adjustment_amount: 0
8
+ output:
9
+ pr_regular_tax_before_credits: 1_840
10
+
11
+ - name: Upper bracket
12
+ period: 2024
13
+ input:
14
+ state_code: PR
15
+ pr_gross_income: 100_001
16
+ pr_normal_tax: 1_000
17
+ pr_gradual_adjustment_amount: 500
18
+ output:
19
+ pr_regular_tax_before_credits: 1_425
@@ -0,0 +1,26 @@
1
+ - name: Base case
2
+ period: 2024
3
+ input:
4
+ pr_agi: 40_000
5
+ pr_casualty_loss_deduction: 1_000
6
+ pr_charitable_deduction: 500
7
+ pr_retirement_deduction: 20_000
8
+ pr_medical_expense_deduction: 0
9
+ pr_mortgage_deduction: 3_000
10
+ pr_education_deduction: 1_500
11
+ pr_personal_exemption: 1_000
12
+ pr_veteran_exemption: 0
13
+ pr_dependents_exemption: 500
14
+ state_code: PR
15
+ output:
16
+ pr_net_taxable_income: 12_500
17
+
18
+ - name: AGI smaller than exemption and deduction sum
19
+ period: 2024
20
+ input:
21
+ pr_agi: 10_000
22
+ pr_casualty_loss_deduction: 10_000
23
+ pr_charitable_deduction: 5
24
+ state_code: PR
25
+ output:
26
+ pr_net_taxable_income: 0
@@ -0,0 +1,23 @@
1
+ - name: Not a college student
2
+ period: 2024
3
+ input:
4
+ is_full_time_college_student: false
5
+ is_part_time_college_student: false
6
+ output:
7
+ is_snap_higher_ed_student: false
8
+
9
+ - name: Full-time college student
10
+ period: 2024
11
+ input:
12
+ is_full_time_college_student: true
13
+ is_part_time_college_student: false
14
+ output:
15
+ is_snap_higher_ed_student: true
16
+
17
+ - name: Part-time college student
18
+ period: 2024
19
+ input:
20
+ is_full_time_college_student: false
21
+ is_part_time_college_student: true
22
+ output:
23
+ is_snap_higher_ed_student: true
@@ -1,7 +1,7 @@
1
- - name: Student who does not meet any exemption criteria
1
+ - name: College student who does not meet any exemption criteria
2
2
  period: 2022
3
3
  input:
4
- is_full_time_student: true
4
+ is_full_time_college_student: true
5
5
  age: 18
6
6
  is_disabled: false
7
7
  weekly_hours_worked_before_lsr: 0
@@ -9,13 +9,84 @@
9
9
  output:
10
10
  is_snap_ineligible_student: true
11
11
 
12
- - name: Student who is under the age limit
12
+ - name: College student who is under the age limit
13
13
  period: 2022
14
14
  input:
15
- is_full_time_student: true
15
+ is_full_time_college_student: true
16
16
  age: 17
17
17
  is_disabled: false
18
18
  weekly_hours_worked_before_lsr: 0
19
19
  is_parent: false
20
20
  output:
21
21
  is_snap_ineligible_student: false
22
+
23
+ - name: College student receiving TANF benefits
24
+ period: 2022
25
+ input:
26
+ is_full_time_college_student: true
27
+ age: 20
28
+ is_disabled: false
29
+ weekly_hours_worked_before_lsr: 0
30
+ is_parent: false
31
+ tanf_person: 500
32
+ output:
33
+ is_snap_ineligible_student: false
34
+
35
+ - name: K-12 student is not affected by student rule
36
+ period: 2022
37
+ input:
38
+ is_full_time_college_student: false
39
+ is_in_k12_school: true
40
+ age: 16
41
+ is_disabled: false
42
+ weekly_hours_worked_before_lsr: 0
43
+ is_parent: false
44
+ output:
45
+ is_snap_ineligible_student: false
46
+
47
+ - name: Single parent college student with child under 12 is eligible
48
+ period: 2022
49
+ input:
50
+ people:
51
+ parent:
52
+ is_full_time_college_student: true
53
+ age: 25
54
+ is_disabled: false
55
+ weekly_hours_worked_before_lsr: 0
56
+ tanf_person: 0
57
+ child:
58
+ age: 8
59
+ tanf_person: 0
60
+ tax_units:
61
+ tax_unit:
62
+ members: [parent, child]
63
+ spm_units:
64
+ spm_unit:
65
+ members: [parent, child]
66
+ output:
67
+ is_snap_ineligible_student: [false, false]
68
+
69
+ - name: Two parent household with child under 6 is eligible
70
+ period: 2022
71
+ input:
72
+ people:
73
+ parent1:
74
+ is_full_time_college_student: true
75
+ age: 28
76
+ is_disabled: false
77
+ weekly_hours_worked_before_lsr: 0
78
+ tanf_person: 0
79
+ parent2:
80
+ age: 30
81
+ tanf_person: 0
82
+ child:
83
+ age: 4
84
+ tanf_person: 0
85
+ tax_units:
86
+ tax_unit:
87
+ members: [parent1, parent2, child]
88
+ spm_units:
89
+ spm_unit:
90
+ members: [parent1, parent2, child]
91
+ output:
92
+ is_snap_ineligible_student: [false, false, false]