policyengine-us 1.458.0__py3-none-any.whl → 1.465.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. policyengine_us/parameters/gov/contrib/aca/ptc_700_fpl_cliff/brackets.yaml +52 -0
  2. policyengine_us/parameters/gov/contrib/aca/ptc_700_fpl_cliff/in_effect.yaml +9 -0
  3. policyengine_us/parameters/gov/contrib/aca/ptc_700_fpl_cliff/income_eligibility.yaml +27 -0
  4. policyengine_us/parameters/gov/hhs/medicare/savings_programs/eligibility/asset/applies.yaml +115 -0
  5. policyengine_us/parameters/gov/hhs/medicare/savings_programs/eligibility/asset/couple.yaml +14 -0
  6. policyengine_us/parameters/gov/hhs/medicare/savings_programs/eligibility/asset/individual.yaml +14 -0
  7. policyengine_us/parameters/gov/hhs/medicare/savings_programs/eligibility/income/qi/fpl_limit.yaml +14 -0
  8. policyengine_us/parameters/gov/hhs/medicare/savings_programs/eligibility/income/qmb/fpl_limit.yaml +18 -0
  9. policyengine_us/parameters/gov/hhs/medicare/savings_programs/eligibility/income/slmb/fpl_limit.yaml +15 -0
  10. policyengine_us/parameters/gov/states/az/tax/income/credits/property_tax/income_sources.yaml +17 -9
  11. policyengine_us/parameters/gov/states/hi/tax/income/credits/food_excise_tax/amount/head_of_household.yaml +1 -1
  12. policyengine_us/parameters/gov/states/hi/tax/income/credits/food_excise_tax/amount/joint.yaml +1 -1
  13. policyengine_us/parameters/gov/states/hi/tax/income/credits/food_excise_tax/amount/separate.yaml +1 -1
  14. policyengine_us/parameters/gov/states/hi/tax/income/credits/food_excise_tax/amount/single.yaml +1 -1
  15. policyengine_us/parameters/gov/states/hi/tax/income/credits/food_excise_tax/amount/surviving_spouse.yaml +1 -1
  16. policyengine_us/parameters/gov/states/ia/tax/income/credits/child_care/fraction.yaml +1 -1
  17. policyengine_us/parameters/gov/states/il/dhs/aabd/asset/sources.yaml +0 -1
  18. policyengine_us/parameters/gov/states/mi/tax/income/household_resources.yaml +1 -1
  19. policyengine_us/parameters/gov/states/mo/dss/tanf/child_care_deduction/amount.yaml +27 -0
  20. policyengine_us/parameters/gov/states/mo/dss/tanf/earned_income_disregard/amount.yaml +14 -0
  21. policyengine_us/parameters/gov/states/mo/dss/tanf/earned_income_disregard/thirty_only/amount.yaml +14 -0
  22. policyengine_us/parameters/gov/states/mo/dss/tanf/earned_income_disregard/thirty_plus_one_third/flat_amount.yaml +14 -0
  23. policyengine_us/parameters/gov/states/mo/dss/tanf/earned_income_disregard/thirty_plus_one_third/percentage.yaml +14 -0
  24. policyengine_us/parameters/gov/states/mo/dss/tanf/earned_income_disregard/two_thirds_disregard/percentage.yaml +14 -0
  25. policyengine_us/parameters/gov/states/mo/dss/tanf/income_limit/max_table_size.yaml +12 -0
  26. policyengine_us/parameters/gov/states/mo/dss/tanf/income_limit/rate.yaml +14 -0
  27. policyengine_us/parameters/gov/states/mo/dss/tanf/maximum_benefit/percentage.yaml +14 -0
  28. policyengine_us/parameters/gov/states/mo/dss/tanf/minimum_payment.yaml +12 -0
  29. policyengine_us/parameters/gov/states/mo/dss/tanf/resource_limit/amount.yaml +14 -0
  30. policyengine_us/parameters/gov/states/mo/dss/tanf/standard_of_need/additional_person_increment.yaml +12 -0
  31. policyengine_us/parameters/gov/states/mo/dss/tanf/standard_of_need/amount.yaml +38 -0
  32. policyengine_us/parameters/gov/states/mo/dss/tanf/standard_of_need/base_table_max_size.yaml +12 -0
  33. policyengine_us/parameters/gov/states/pa/dhs/tanf/county_group/group_1.yaml +19 -0
  34. policyengine_us/parameters/gov/states/pa/dhs/tanf/county_group/group_2.yaml +44 -0
  35. policyengine_us/parameters/gov/states/pa/dhs/tanf/county_group/group_3.yaml +31 -0
  36. policyengine_us/parameters/gov/states/pa/dhs/tanf/county_group/group_4.yaml +29 -0
  37. policyengine_us/parameters/gov/states/pa/dhs/tanf/family_size_allowance/additional_person.yaml +14 -0
  38. policyengine_us/parameters/gov/states/pa/dhs/tanf/family_size_allowance/amount.yaml +69 -0
  39. policyengine_us/parameters/gov/states/pa/dhs/tanf/income/deductions/earned_income_disregard/percentage.yaml +14 -0
  40. policyengine_us/parameters/gov/states/pa/dhs/tanf/income/deductions/work_expense/additional.yaml +15 -0
  41. policyengine_us/parameters/gov/states/pa/dhs/tanf/income/deductions/work_expense/initial.yaml +14 -0
  42. policyengine_us/parameters/gov/states/pa/dhs/tanf/max_family_size_in_table.yaml +12 -0
  43. policyengine_us/parameters/gov/states/pa/dhs/tanf/resource_limit.yaml +7 -6
  44. policyengine_us/parameters/gov/states/pa/dhs/tanf/standard_of_need/additional_person.yaml +14 -0
  45. policyengine_us/parameters/gov/states/pa/dhs/tanf/standard_of_need/amount.yaml +69 -0
  46. policyengine_us/parameters/gov/states/wi/dcf/README.md +1 -0
  47. policyengine_us/parameters/gov/states/wi/dcf/works/README.md +1 -0
  48. policyengine_us/parameters/gov/states/wi/dcf/works/asset/limit.yaml +16 -0
  49. policyengine_us/parameters/gov/states/wi/dcf/works/asset/vehicle_exclusion.yaml +14 -0
  50. policyengine_us/parameters/gov/states/wi/dcf/works/income_limit/rate.yaml +16 -0
  51. policyengine_us/parameters/gov/states/wi/dcf/works/placement/amount.yaml +30 -0
  52. policyengine_us/parameters/gov/states/wi/dcf/works/placement/arp_pregnancy_month_threshold.yaml +14 -0
  53. policyengine_us/parameters/gov/states/wi/dcf/works/placement/cmc_infant_age_limit.yaml +15 -0
  54. policyengine_us/reforms/aca/__init__.py +3 -0
  55. policyengine_us/reforms/aca/aca_ptc_700_fpl_cliff.py +125 -0
  56. policyengine_us/reforms/reforms.py +5 -0
  57. policyengine_us/tests/policy/baseline/gov/hhs/medicare/savings_programs/category/msp_category.yaml +69 -0
  58. policyengine_us/tests/policy/baseline/gov/hhs/medicare/savings_programs/eligibility/msp_eligible.yaml +62 -0
  59. policyengine_us/tests/policy/baseline/gov/hhs/medicare/savings_programs/income/msp_fpg.yaml +22 -0
  60. policyengine_us/tests/policy/baseline/gov/hhs/medicare/savings_programs/integration.yaml +84 -0
  61. policyengine_us/tests/policy/baseline/gov/hhs/medicare/savings_programs/msp_benefit_value.yaml +62 -0
  62. policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/taxable_social_security_tier_1.yaml +157 -0
  63. policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/taxable_social_security_tier_2.yaml +106 -0
  64. policyengine_us/tests/policy/baseline/gov/ssa/revenue/tob_revenue_medicare_hi.yaml +105 -0
  65. policyengine_us/tests/policy/baseline/gov/ssa/revenue/tob_revenue_oasdi.yaml +86 -0
  66. policyengine_us/tests/policy/baseline/gov/ssa/revenue/tob_revenue_total.yaml +19 -0
  67. policyengine_us/tests/policy/baseline/gov/ssa/revenue/tob_tier_split.yaml +90 -0
  68. policyengine_us/tests/policy/baseline/gov/states/az/tax/income/az_property_tax_credit_agi.yaml +58 -0
  69. policyengine_us/tests/policy/baseline/gov/states/az/tax/income/integration.yaml +28 -0
  70. policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_ptc.yaml +27 -0
  71. policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/food_excise/hi_food_excise_credit.yaml +29 -1
  72. policyengine_us/tests/policy/baseline/gov/states/ia/tax/income/ia_cdcc.yaml +3 -3
  73. policyengine_us/tests/policy/baseline/gov/states/ia/tax/income/ia_integration.yaml +31 -1
  74. policyengine_us/tests/policy/baseline/gov/states/il/dhs/aabd/eligibility/il_aabd_non_financial_eligible_person.yaml +6 -6
  75. policyengine_us/tests/policy/baseline/gov/states/il/hfs/fpp/integration.yaml +2 -2
  76. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_disability_eligible.yaml +18 -5
  77. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_eligible.yaml +5 -5
  78. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/integration.yaml +8 -8
  79. policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/gross_income/integration.yaml +28 -0
  80. policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/integration.yaml +87 -0
  81. policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/me_dependent_exemption_credit_amount_person.yaml +3 -2
  82. policyengine_us/tests/policy/baseline/gov/states/mi/tax/income/credits/home_heating/mi_home_heating_credit.yaml +87 -0
  83. policyengine_us/tests/policy/baseline/gov/states/mi/tax/income/mi_household_resources.yaml +57 -0
  84. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/integration.yaml +275 -0
  85. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf.yaml +60 -0
  86. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_child_care_deduction.yaml +187 -0
  87. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_countable_income.yaml +49 -0
  88. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_earned_income_deductions.yaml +53 -0
  89. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_eligible.yaml +59 -0
  90. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_gross_income_eligible.yaml +29 -0
  91. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_income_eligible.yaml +49 -0
  92. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_maximum_benefit.yaml +47 -0
  93. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_percentage_of_need_test.yaml +53 -0
  94. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_resources_eligible.yaml +23 -0
  95. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_standard_of_need.yaml +71 -0
  96. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_standard_of_need_test.yaml +44 -0
  97. policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/integration.yaml +29 -0
  98. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/eligibility/pa_tanf_disregard_eligible.yaml +114 -0
  99. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/eligibility/pa_tanf_eligible.yaml +65 -0
  100. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/eligibility/pa_tanf_income_eligible.yaml +62 -0
  101. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/eligibility/pa_tanf_resources_eligible.yaml +47 -0
  102. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/income/pa_tanf_earned_income_after_deductions_person.yaml +81 -0
  103. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/integration.yaml +386 -0
  104. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/pa_tanf.yaml +53 -0
  105. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/pa_tanf_county_group.yaml +63 -0
  106. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/pa_tanf_maximum_benefit.yaml +92 -0
  107. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/pa_tanf_standard_of_need.yaml +73 -0
  108. policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/integration.yaml +282 -0
  109. policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works.yaml +50 -0
  110. policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works_countable_income.yaml +49 -0
  111. policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works_countable_resources.yaml +54 -0
  112. policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works_eligible.yaml +61 -0
  113. policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works_income_eligible.yaml +43 -0
  114. policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works_placement.yaml +111 -0
  115. policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works_resources_eligible.yaml +38 -0
  116. policyengine_us/tests/policy/baseline/gov/states/wv/tax/income/credits/heptc/wv_homestead_excess_property_tax_credit.yaml +31 -0
  117. policyengine_us/tests/policy/contrib/aca/ptc_700_fpl_cliff.yaml +136 -0
  118. policyengine_us/tests/test_batched.py +39 -68
  119. policyengine_us/variables/gov/hhs/medicare/savings_programs/category/is_qi_eligible.py +33 -0
  120. policyengine_us/variables/gov/hhs/medicare/savings_programs/category/is_qmb_eligible.py +28 -0
  121. policyengine_us/variables/gov/hhs/medicare/savings_programs/category/is_slmb_eligible.py +33 -0
  122. policyengine_us/variables/gov/hhs/medicare/savings_programs/category/msp_category.py +33 -0
  123. policyengine_us/variables/gov/hhs/medicare/savings_programs/eligibility/msp_asset_eligible.py +26 -0
  124. policyengine_us/variables/gov/hhs/medicare/savings_programs/eligibility/msp_eligible.py +20 -0
  125. policyengine_us/variables/gov/hhs/medicare/savings_programs/eligibility/msp_income_eligible.py +26 -0
  126. policyengine_us/variables/gov/hhs/medicare/savings_programs/income/msp_countable_income.py +35 -0
  127. policyengine_us/variables/gov/hhs/medicare/savings_programs/income/msp_fpg.py +40 -0
  128. policyengine_us/variables/gov/hhs/medicare/savings_programs/msp.py +15 -0
  129. policyengine_us/variables/gov/hhs/medicare/savings_programs/msp_benefit_value.py +37 -0
  130. policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/taxable_social_security_tier_1.py +58 -0
  131. policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/taxable_social_security_tier_2.py +17 -0
  132. policyengine_us/variables/gov/simulation/labor_supply_response/labor_supply_behavioral_response.py +57 -42
  133. policyengine_us/variables/gov/ssa/revenue/tob_revenue_medicare_hi.py +31 -0
  134. policyengine_us/variables/gov/ssa/revenue/tob_revenue_oasdi.py +31 -0
  135. policyengine_us/variables/gov/ssa/revenue/tob_revenue_total.py +44 -0
  136. policyengine_us/variables/gov/states/az/tax/income/credits/property_tax_credit/az_property_tax_credit_agi.py +53 -0
  137. policyengine_us/variables/gov/states/dc/tax/income/credits/dc_ptc.py +7 -3
  138. policyengine_us/variables/gov/states/ia/tax/income/credits/ia_cdcc.py +4 -2
  139. policyengine_us/variables/gov/states/il/dhs/aabd/eligibility/il_aabd_non_financial_eligible_person.py +23 -5
  140. policyengine_us/variables/gov/states/il/hfs/fpp/eligibility/il_fpp_eligible.py +1 -1
  141. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_disability_eligible.py +7 -3
  142. policyengine_us/variables/gov/states/ma/tax/income/gross_income/ma_part_c_gross_income.py +7 -1
  143. policyengine_us/variables/gov/states/me/tax/income/credits/dependent_exemption/me_dependent_exemption_credit_amount_person.py +1 -1
  144. policyengine_us/variables/gov/states/mi/tax/income/mi_household_resources.py +34 -5
  145. policyengine_us/variables/gov/states/mo/dss/tanf/eligibility/mo_tanf_eligible.py +23 -0
  146. policyengine_us/variables/gov/states/mo/dss/tanf/eligibility/mo_tanf_gross_income_eligible.py +24 -0
  147. policyengine_us/variables/gov/states/mo/dss/tanf/eligibility/mo_tanf_income_eligible.py +18 -0
  148. policyengine_us/variables/gov/states/mo/dss/tanf/eligibility/mo_tanf_percentage_of_need_test.py +20 -0
  149. policyengine_us/variables/gov/states/mo/dss/tanf/eligibility/mo_tanf_resources_eligible.py +18 -0
  150. policyengine_us/variables/gov/states/mo/dss/tanf/eligibility/mo_tanf_standard_of_need_test.py +17 -0
  151. policyengine_us/variables/gov/states/mo/dss/tanf/income/deductions/mo_tanf_child_care_deduction.py +24 -0
  152. policyengine_us/variables/gov/states/mo/dss/tanf/income/deductions/mo_tanf_earned_income_deductions.py +36 -0
  153. policyengine_us/variables/gov/states/mo/dss/tanf/income/mo_tanf_countable_income.py +21 -0
  154. policyengine_us/variables/gov/states/mo/dss/tanf/income/mo_tanf_income_for_need_test.py +23 -0
  155. policyengine_us/variables/gov/states/mo/dss/tanf/mo_tanf.py +21 -0
  156. policyengine_us/variables/gov/states/mo/dss/tanf/mo_tanf_maximum_benefit.py +19 -0
  157. policyengine_us/variables/gov/states/mo/dss/tanf/mo_tanf_standard_of_need.py +23 -0
  158. policyengine_us/variables/gov/states/mt/tax/income/capital_gains/mt_capital_gains_tax_indiv.py +3 -1
  159. policyengine_us/variables/gov/states/mt/tax/income/capital_gains/mt_capital_gains_tax_joint.py +3 -1
  160. policyengine_us/variables/gov/states/mt/tax/income/tax_calculation/mt_regular_income_tax_indiv.py +3 -0
  161. policyengine_us/variables/gov/states/mt/tax/income/tax_calculation/mt_regular_income_tax_joint.py +3 -0
  162. policyengine_us/variables/gov/states/pa/dhs/tanf/eligibility/pa_tanf_disregard_eligible.py +31 -0
  163. policyengine_us/variables/gov/states/pa/dhs/tanf/eligibility/pa_tanf_eligible.py +29 -0
  164. policyengine_us/variables/gov/states/pa/dhs/tanf/eligibility/pa_tanf_income_eligible.py +16 -0
  165. policyengine_us/variables/gov/states/pa/dhs/tanf/eligibility/pa_tanf_resources_eligible.py +7 -5
  166. policyengine_us/variables/gov/states/pa/dhs/tanf/income/pa_tanf_countable_earned_income.py +15 -0
  167. policyengine_us/variables/gov/states/pa/dhs/tanf/income/pa_tanf_countable_income.py +16 -0
  168. policyengine_us/variables/gov/states/pa/dhs/tanf/income/pa_tanf_earned_income_after_deductions_person.py +27 -0
  169. policyengine_us/variables/gov/states/pa/dhs/tanf/pa_tanf.py +19 -0
  170. policyengine_us/variables/gov/states/pa/dhs/tanf/pa_tanf_county_group.py +38 -0
  171. policyengine_us/variables/gov/states/pa/dhs/tanf/pa_tanf_maximum_benefit.py +30 -0
  172. policyengine_us/variables/gov/states/pa/dhs/tanf/pa_tanf_standard_of_need.py +30 -0
  173. policyengine_us/variables/gov/states/wi/dcf/works/eligibility/wi_works_eligible.py +22 -0
  174. policyengine_us/variables/gov/states/wi/dcf/works/eligibility/wi_works_income_eligible.py +20 -0
  175. policyengine_us/variables/gov/states/wi/dcf/works/eligibility/wi_works_resources_eligible.py +18 -0
  176. policyengine_us/variables/gov/states/wi/dcf/works/income/wi_works_countable_income.py +18 -0
  177. policyengine_us/variables/gov/states/wi/dcf/works/resources/wi_works_countable_resources.py +21 -0
  178. policyengine_us/variables/gov/states/wi/dcf/works/wi_works.py +19 -0
  179. policyengine_us/variables/gov/states/wi/dcf/works/wi_works_placement.py +45 -0
  180. policyengine_us/variables/gov/states/wv/tax/income/credits/heptc/wv_homestead_excess_property_tax_credit.py +3 -3
  181. policyengine_us/variables/gov/states/wv/tax/income/credits/heptc/wv_homestead_excess_property_tax_credit_eligible.py +5 -2
  182. {policyengine_us-1.458.0.dist-info → policyengine_us-1.465.0.dist-info}/METADATA +1 -1
  183. {policyengine_us-1.458.0.dist-info → policyengine_us-1.465.0.dist-info}/RECORD +186 -62
  184. policyengine_us/parameters/gov/states/il/dhs/aabd/aged_age_threshold.yaml +0 -11
  185. policyengine_us/parameters/gov/states/mo/dss/tanf/income_limit.yaml +0 -26
  186. policyengine_us/parameters/gov/states/pa/dhs/tanf/cash_assistance/age_limit.yaml +0 -11
  187. policyengine_us/parameters/gov/states/pa/dhs/tanf/pregnancy_eligibility/age_limit.yaml +0 -9
  188. policyengine_us/tests/policy/baseline/gov/states/il/dhs/aabd/eligibility/il_aabd_aged_blind_disabled_person.yaml +0 -39
  189. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_income_limit.yaml +0 -23
  190. policyengine_us/tests/policy/baseline/gov/states/pa/tanf/cash_assistance/pa_tanf_age_eligible.yaml +0 -44
  191. policyengine_us/tests/policy/baseline/gov/states/pa/tanf/pregnancy_eligibility/pa_tanf_pregnancy_eligibility.yaml +0 -59
  192. policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/dhs/tanf/eligibility/pa_tanf_resources_eligible.yaml +0 -24
  193. policyengine_us/variables/gov/states/il/dhs/aabd/eligibility/il_aabd_aged_blind_disabled_person.py +0 -22
  194. policyengine_us/variables/gov/states/mo/dss/tanf/mo_tanf_income_limit.py +0 -18
  195. policyengine_us/variables/gov/states/pa/dhs/tanf/cash_assistance/pa_tanf_age_eligible.py +0 -22
  196. policyengine_us/variables/gov/states/pa/dhs/tanf/eligibility/pa_tanf_countable_resources.py +0 -10
  197. policyengine_us/variables/gov/states/pa/dhs/tanf/eligibility/pregnancy_eligibility/age_eligibility.py +0 -22
  198. {policyengine_us-1.458.0.dist-info → policyengine_us-1.465.0.dist-info}/WHEEL +0 -0
  199. {policyengine_us-1.458.0.dist-info → policyengine_us-1.465.0.dist-info}/entry_points.txt +0 -0
  200. {policyengine_us-1.458.0.dist-info → policyengine_us-1.465.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,282 @@
1
+ # Wisconsin Works (W-2) Integration Tests
2
+ # These tests validate the complete benefit calculation pipeline with realistic scenarios.
3
+
4
+ - name: Case 1, single parent with one child, no income - CSJ placement.
5
+ period: 2025-01
6
+ input:
7
+ people:
8
+ person1:
9
+ age: 30
10
+ is_tax_unit_head_or_spouse: true
11
+ tanf_gross_earned_income: 0
12
+ person2:
13
+ age: 10
14
+ spm_units:
15
+ spm_unit:
16
+ members: [person1, person2]
17
+ spm_unit_cash_assets: 1_000
18
+ households:
19
+ household:
20
+ members: [person1, person2]
21
+ state_code: WI
22
+ household_vehicles_value: 5_000
23
+ output:
24
+ wi_works_resources_eligible: true
25
+ wi_works_income_eligible: true
26
+ wi_works_eligible: true
27
+ wi_works_placement: CSJ
28
+ wi_works: 653
29
+
30
+ - name: Case 2, parent with newborn - CMC placement.
31
+ period: 2025-01
32
+ input:
33
+ people:
34
+ person1:
35
+ age: 25
36
+ is_tax_unit_head_or_spouse: true
37
+ tanf_gross_earned_income: 1_000
38
+ person2:
39
+ age: 0 # Newborn (monthly_age = 0 ≤ 2)
40
+ spm_units:
41
+ spm_unit:
42
+ members: [person1, person2]
43
+ spm_unit_cash_assets: 500
44
+ households:
45
+ household:
46
+ members: [person1, person2]
47
+ state_code: WI
48
+ output:
49
+ wi_works_eligible: true
50
+ wi_works_placement: CMC
51
+ wi_works: 673
52
+
53
+ - name: Case 3, pregnant person in third trimester - ARP placement.
54
+ period: 2025-01
55
+ input:
56
+ people:
57
+ person1:
58
+ age: 22
59
+ is_tax_unit_head_or_spouse: true
60
+ tanf_gross_earned_income: 500
61
+ is_pregnant: true
62
+ current_pregnancy_month: 8
63
+ spm_units:
64
+ spm_unit:
65
+ members: [person1]
66
+ spm_unit_cash_assets: 200
67
+ households:
68
+ household:
69
+ members: [person1]
70
+ state_code: WI
71
+ output:
72
+ wi_works_eligible: true
73
+ wi_works_placement: ARP
74
+ wi_works: 673
75
+
76
+ - name: Case 4, income exceeds 115% FPL - ineligible.
77
+ period: 2025-01
78
+ input:
79
+ people:
80
+ person1:
81
+ age: 35
82
+ is_tax_unit_head_or_spouse: true
83
+ tanf_gross_earned_income: 3_000
84
+ person2:
85
+ age: 8
86
+ spm_units:
87
+ spm_unit:
88
+ members: [person1, person2]
89
+ spm_unit_cash_assets: 500
90
+ households:
91
+ household:
92
+ members: [person1, person2]
93
+ state_code: WI
94
+ output:
95
+ # $3,000 > 115% FPL ($2,013) → ineligible
96
+ wi_works_countable_income: 3_000
97
+ wi_works_income_eligible: false
98
+ wi_works_eligible: false
99
+ wi_works: 0
100
+
101
+ - name: Case 5, resources exceed $2,500 limit - ineligible.
102
+ period: 2025-01
103
+ input:
104
+ people:
105
+ person1:
106
+ age: 40
107
+ is_tax_unit_head_or_spouse: true
108
+ tanf_gross_earned_income: 0
109
+ person2:
110
+ age: 12
111
+ spm_units:
112
+ spm_unit:
113
+ members: [person1, person2]
114
+ spm_unit_cash_assets: 3_000
115
+ households:
116
+ household:
117
+ members: [person1, person2]
118
+ state_code: WI
119
+ household_vehicles_value: 8_000
120
+ output:
121
+ # $3,000 cash > $2,500 limit → ineligible
122
+ wi_works_resources_eligible: false
123
+ wi_works_eligible: false
124
+ wi_works: 0
125
+
126
+ - name: Case 6, vehicle value above exclusion contributes to resources.
127
+ period: 2025-01
128
+ input:
129
+ people:
130
+ person1:
131
+ age: 28
132
+ is_tax_unit_head_or_spouse: true
133
+ tanf_gross_earned_income: 0
134
+ person2:
135
+ age: 5
136
+ spm_units:
137
+ spm_unit:
138
+ members: [person1, person2]
139
+ spm_unit_cash_assets: 1_000
140
+ households:
141
+ household:
142
+ members: [person1, person2]
143
+ state_code: WI
144
+ household_vehicles_value: 12_000
145
+ output:
146
+ # $1,000 + ($12,000 - $10,000) = $3,000 > $2,500 → ineligible
147
+ wi_works_resources_eligible: false
148
+ wi_works_eligible: false
149
+ wi_works: 0
150
+
151
+ - name: Case 7, child support income is disregarded.
152
+ period: 2025-01
153
+ input:
154
+ people:
155
+ person1:
156
+ age: 32
157
+ is_tax_unit_head_or_spouse: true
158
+ tanf_gross_earned_income: 1_000
159
+ tanf_gross_unearned_income: 500
160
+ child_support_received: 6_000 # $500/month
161
+ person2:
162
+ age: 7
163
+ spm_units:
164
+ spm_unit:
165
+ members: [person1, person2]
166
+ spm_unit_cash_assets: 800
167
+ households:
168
+ household:
169
+ members: [person1, person2]
170
+ state_code: WI
171
+ output:
172
+ # $1,000 + $500 - $500 = $1,000 (child support disregarded)
173
+ wi_works_countable_income: 1_000
174
+ wi_works_eligible: true
175
+ wi_works: 653
176
+
177
+ - name: Case 8, two-parent household with one income earner.
178
+ period: 2025-01
179
+ input:
180
+ people:
181
+ person1:
182
+ age: 30
183
+ is_tax_unit_head_or_spouse: true
184
+ tanf_gross_earned_income: 1_500
185
+ person2:
186
+ age: 28
187
+ is_tax_unit_head_or_spouse: true
188
+ tanf_gross_earned_income: 0
189
+ person3:
190
+ age: 4
191
+ spm_units:
192
+ spm_unit:
193
+ members: [person1, person2, person3]
194
+ spm_unit_cash_assets: 1_500
195
+ households:
196
+ household:
197
+ members: [person1, person2, person3]
198
+ state_code: WI
199
+ output:
200
+ wi_works_countable_income: 1_500
201
+ wi_works_eligible: true
202
+ wi_works_placement: CSJ
203
+ wi_works: 653
204
+
205
+ - name: Case 9, child 3 years old (above CMC threshold) gets CSJ.
206
+ period: 2025-01
207
+ input:
208
+ people:
209
+ person1:
210
+ age: 27
211
+ is_tax_unit_head_or_spouse: true
212
+ tanf_gross_earned_income: 0
213
+ person2:
214
+ age: 3 # monthly_age = 3 > 2 threshold
215
+ spm_units:
216
+ spm_unit:
217
+ members: [person1, person2]
218
+ spm_unit_cash_assets: 500
219
+ households:
220
+ household:
221
+ members: [person1, person2]
222
+ state_code: WI
223
+ output:
224
+ wi_works_eligible: true
225
+ wi_works_placement: CSJ
226
+ wi_works: 653
227
+
228
+ - name: Case 10, CMC takes priority over ARP when both conditions met.
229
+ period: 2025-01
230
+ input:
231
+ people:
232
+ person1:
233
+ age: 29
234
+ is_tax_unit_head_or_spouse: true
235
+ tanf_gross_earned_income: 0
236
+ is_pregnant: true
237
+ current_pregnancy_month: 8
238
+ person2:
239
+ age: 0 # Infant triggers CMC
240
+ spm_units:
241
+ spm_unit:
242
+ members: [person1, person2]
243
+ spm_unit_cash_assets: 400
244
+ households:
245
+ household:
246
+ members: [person1, person2]
247
+ state_code: WI
248
+ output:
249
+ wi_works_eligible: true
250
+ # CMC > ARP priority
251
+ wi_works_placement: CMC
252
+ wi_works: 673
253
+
254
+ - name: Case 11, large family with multiple children.
255
+ period: 2025-01
256
+ input:
257
+ people:
258
+ person1:
259
+ age: 38
260
+ is_tax_unit_head_or_spouse: true
261
+ tanf_gross_earned_income: 2_000
262
+ person2:
263
+ age: 14
264
+ person3:
265
+ age: 11
266
+ person4:
267
+ age: 8
268
+ person5:
269
+ age: 5
270
+ spm_units:
271
+ spm_unit:
272
+ members: [person1, person2, person3, person4, person5]
273
+ spm_unit_cash_assets: 2_000
274
+ households:
275
+ household:
276
+ members: [person1, person2, person3, person4, person5]
277
+ state_code: WI
278
+ output:
279
+ wi_works_countable_income: 2_000
280
+ wi_works_eligible: true
281
+ wi_works_placement: CSJ
282
+ wi_works: 653
@@ -0,0 +1,50 @@
1
+ - name: Case 1, eligible CSJ placement.
2
+ period: 2025-01
3
+ input:
4
+ state_code: WI
5
+ wi_works_eligible: true
6
+ wi_works_placement: CSJ
7
+ output:
8
+ wi_works: 653
9
+
10
+ - name: Case 2, eligible W-2 Transition placement.
11
+ period: 2025-01
12
+ input:
13
+ state_code: WI
14
+ wi_works_eligible: true
15
+ wi_works_placement: W2_TRANSITION
16
+ output:
17
+ wi_works: 608
18
+
19
+ - name: Case 3, eligible CMC placement.
20
+ period: 2025-01
21
+ input:
22
+ state_code: WI
23
+ wi_works_eligible: true
24
+ wi_works_placement: CMC
25
+ output:
26
+ wi_works: 673
27
+
28
+ - name: Case 4, eligible ARP placement.
29
+ period: 2025-01
30
+ input:
31
+ state_code: WI
32
+ wi_works_eligible: true
33
+ wi_works_placement: ARP
34
+ output:
35
+ wi_works: 673
36
+
37
+ - name: Case 5, not eligible.
38
+ period: 2025-01
39
+ input:
40
+ state_code: WI
41
+ wi_works_eligible: false
42
+ output:
43
+ wi_works: 0
44
+
45
+ - name: Case 6, non-Wisconsin state.
46
+ period: 2025-01
47
+ input:
48
+ state_code: CA
49
+ output:
50
+ wi_works: 0
@@ -0,0 +1,49 @@
1
+ - name: Case 1, earned income only.
2
+ period: 2025-01
3
+ input:
4
+ state_code: WI
5
+ tanf_gross_earned_income: 1_000
6
+ tanf_gross_unearned_income: 0
7
+ child_support_received: 0
8
+ output:
9
+ wi_works_countable_income: 1_000
10
+
11
+ - name: Case 2, unearned income only.
12
+ period: 2025-01
13
+ input:
14
+ state_code: WI
15
+ tanf_gross_earned_income: 0
16
+ tanf_gross_unearned_income: 500
17
+ child_support_received: 0
18
+ output:
19
+ wi_works_countable_income: 500
20
+
21
+ - name: Case 3, child support disregarded.
22
+ period: 2025-01
23
+ input:
24
+ state_code: WI
25
+ tanf_gross_earned_income: 1_000
26
+ tanf_gross_unearned_income: 500
27
+ # child_support_received is YEAR, so 300/month = 3600/year
28
+ child_support_received: 3_600
29
+ output:
30
+ # 1000 + 500 - 300 = 1200
31
+ wi_works_countable_income: 1_200
32
+
33
+ - name: Case 4, child support fully disregarded from unearned.
34
+ period: 2025-01
35
+ input:
36
+ state_code: WI
37
+ tanf_gross_earned_income: 0
38
+ tanf_gross_unearned_income: 400
39
+ # child_support_received is YEAR, so 400/month = 4800/year
40
+ child_support_received: 4_800
41
+ output:
42
+ wi_works_countable_income: 0
43
+
44
+ - name: Case 5, non-Wisconsin state.
45
+ period: 2025-01
46
+ input:
47
+ state_code: CA
48
+ output:
49
+ wi_works_countable_income: 0
@@ -0,0 +1,54 @@
1
+ - name: Case 1, liquid assets only.
2
+ period: 2025
3
+ input:
4
+ state_code: WI
5
+ spm_unit_cash_assets: 1_000
6
+ household_vehicles_value: 0
7
+ output:
8
+ wi_works_countable_resources: 1_000
9
+
10
+ - name: Case 2, vehicle under exclusion.
11
+ period: 2025
12
+ input:
13
+ state_code: WI
14
+ spm_unit_cash_assets: 0
15
+ household_vehicles_value: 8_000
16
+ output:
17
+ # Vehicle exclusion is $10,000, so 8000 - 10000 = 0
18
+ wi_works_countable_resources: 0
19
+
20
+ - name: Case 3, vehicle at exclusion limit.
21
+ period: 2025
22
+ input:
23
+ state_code: WI
24
+ spm_unit_cash_assets: 0
25
+ household_vehicles_value: 10_000
26
+ output:
27
+ wi_works_countable_resources: 0
28
+
29
+ - name: Case 4, vehicle over exclusion.
30
+ period: 2025
31
+ input:
32
+ state_code: WI
33
+ spm_unit_cash_assets: 0
34
+ household_vehicles_value: 15_000
35
+ output:
36
+ # 15000 - 10000 = 5000
37
+ wi_works_countable_resources: 5_000
38
+
39
+ - name: Case 5, liquid assets plus vehicle over exclusion.
40
+ period: 2025
41
+ input:
42
+ state_code: WI
43
+ spm_unit_cash_assets: 1_500
44
+ household_vehicles_value: 12_000
45
+ output:
46
+ # 1500 + (12000 - 10000) = 1500 + 2000 = 3500
47
+ wi_works_countable_resources: 3_500
48
+
49
+ - name: Case 6, non-Wisconsin state.
50
+ period: 2025
51
+ input:
52
+ state_code: CA
53
+ output:
54
+ wi_works_countable_resources: 0
@@ -0,0 +1,61 @@
1
+ - name: Case 1, eligible with all conditions met.
2
+ period: 2025-01
3
+ input:
4
+ state_code: WI
5
+ is_demographic_tanf_eligible: true
6
+ is_citizen_or_legal_immigrant: true
7
+ wi_works_income_eligible: true
8
+ wi_works_resources_eligible: true
9
+ output:
10
+ wi_works_eligible: true
11
+
12
+ - name: Case 2, not eligible due to demographic.
13
+ period: 2025-01
14
+ input:
15
+ state_code: WI
16
+ is_demographic_tanf_eligible: false
17
+ is_citizen_or_legal_immigrant: true
18
+ wi_works_income_eligible: true
19
+ wi_works_resources_eligible: true
20
+ output:
21
+ wi_works_eligible: false
22
+
23
+ - name: Case 3, not eligible due to citizenship.
24
+ period: 2025-01
25
+ input:
26
+ state_code: WI
27
+ is_demographic_tanf_eligible: true
28
+ is_citizen_or_legal_immigrant: false
29
+ wi_works_income_eligible: true
30
+ wi_works_resources_eligible: true
31
+ output:
32
+ wi_works_eligible: false
33
+
34
+ - name: Case 4, not eligible due to income.
35
+ period: 2025-01
36
+ input:
37
+ state_code: WI
38
+ is_demographic_tanf_eligible: true
39
+ is_citizen_or_legal_immigrant: true
40
+ wi_works_income_eligible: false
41
+ wi_works_resources_eligible: true
42
+ output:
43
+ wi_works_eligible: false
44
+
45
+ - name: Case 5, not eligible due to resources.
46
+ period: 2025-01
47
+ input:
48
+ state_code: WI
49
+ is_demographic_tanf_eligible: true
50
+ is_citizen_or_legal_immigrant: true
51
+ wi_works_income_eligible: true
52
+ wi_works_resources_eligible: false
53
+ output:
54
+ wi_works_eligible: false
55
+
56
+ - name: Case 6, non-Wisconsin state.
57
+ period: 2025-01
58
+ input:
59
+ state_code: CA
60
+ output:
61
+ wi_works_eligible: false
@@ -0,0 +1,43 @@
1
+ - name: Case 1, income below 115% FPL.
2
+ period: 2025-01
3
+ input:
4
+ state_code: WI
5
+ wi_works_countable_income: 1_000
6
+ spm_unit_fpg: 18_000 # Annual FPL, monthly = 1500
7
+ output:
8
+ # Income limit = 1500 * 1.15 = 1725
9
+ wi_works_income_eligible: true
10
+
11
+ - name: Case 2, income at exactly 115% FPL.
12
+ period: 2025-01
13
+ input:
14
+ state_code: WI
15
+ wi_works_countable_income: 1_725
16
+ spm_unit_fpg: 18_000
17
+ output:
18
+ wi_works_income_eligible: true
19
+
20
+ - name: Case 3, income above 115% FPL.
21
+ period: 2025-01
22
+ input:
23
+ state_code: WI
24
+ wi_works_countable_income: 1_726
25
+ spm_unit_fpg: 18_000
26
+ output:
27
+ wi_works_income_eligible: false
28
+
29
+ - name: Case 4, zero income.
30
+ period: 2025-01
31
+ input:
32
+ state_code: WI
33
+ wi_works_countable_income: 0
34
+ spm_unit_fpg: 18_000
35
+ output:
36
+ wi_works_income_eligible: true
37
+
38
+ - name: Case 5, non-Wisconsin state.
39
+ period: 2025-01
40
+ input:
41
+ state_code: CA
42
+ output:
43
+ wi_works_income_eligible: false
@@ -0,0 +1,111 @@
1
+ - name: Case 1, default to CSJ with no special conditions.
2
+ period: 2025-01
3
+ input:
4
+ people:
5
+ person1:
6
+ age: 30
7
+ is_pregnant: false
8
+ person2:
9
+ age: 5
10
+ households:
11
+ household1:
12
+ members: [person1, person2]
13
+ state_code: WI
14
+ output:
15
+ wi_works_placement: CSJ
16
+
17
+ - name: Case 2, CMC with infant under 2 months.
18
+ period: 2025-01
19
+ input:
20
+ people:
21
+ person1:
22
+ age: 25
23
+ is_pregnant: false
24
+ person2:
25
+ monthly_age: 1
26
+ households:
27
+ household1:
28
+ members: [person1, person2]
29
+ state_code: WI
30
+ output:
31
+ wi_works_placement: CMC
32
+
33
+ - name: Case 3, CMC with infant exactly 2 months.
34
+ period: 2025-01
35
+ input:
36
+ people:
37
+ person1:
38
+ age: 25
39
+ person2:
40
+ monthly_age: 2
41
+ households:
42
+ household1:
43
+ members: [person1, person2]
44
+ state_code: WI
45
+ output:
46
+ wi_works_placement: CMC
47
+
48
+ - name: Case 4, CSJ with child over 2 months.
49
+ period: 2025-01
50
+ input:
51
+ people:
52
+ person1:
53
+ age: 25
54
+ # Explicit monthly_age to avoid formula calculation issues
55
+ monthly_age: 300
56
+ person2:
57
+ # monthly_age > 2 to exceed CMC threshold
58
+ monthly_age: 3
59
+ households:
60
+ household1:
61
+ members: [person1, person2]
62
+ state_code: WI
63
+ output:
64
+ wi_works_placement: CSJ
65
+
66
+ - name: Case 5, ARP with pregnant person in third trimester.
67
+ period: 2025-01
68
+ input:
69
+ people:
70
+ person1:
71
+ age: 25
72
+ is_pregnant: true
73
+ current_pregnancy_month: 7
74
+ households:
75
+ household1:
76
+ members: [person1]
77
+ state_code: WI
78
+ output:
79
+ wi_works_placement: ARP
80
+
81
+ - name: Case 6, CSJ with pregnant person not in third trimester.
82
+ period: 2025-01
83
+ input:
84
+ people:
85
+ person1:
86
+ age: 25
87
+ is_pregnant: true
88
+ current_pregnancy_month: 6
89
+ households:
90
+ household1:
91
+ members: [person1]
92
+ state_code: WI
93
+ output:
94
+ wi_works_placement: CSJ
95
+
96
+ - name: Case 7, CMC takes priority over ARP.
97
+ period: 2025-01
98
+ input:
99
+ people:
100
+ person1:
101
+ age: 25
102
+ is_pregnant: true
103
+ current_pregnancy_month: 8
104
+ person2:
105
+ monthly_age: 1
106
+ households:
107
+ household1:
108
+ members: [person1, person2]
109
+ state_code: WI
110
+ output:
111
+ wi_works_placement: CMC
@@ -0,0 +1,38 @@
1
+ - name: Case 1, resources below limit.
2
+ period: 2025
3
+ input:
4
+ state_code: WI
5
+ wi_works_countable_resources: 2_000
6
+ output:
7
+ wi_works_resources_eligible: true
8
+
9
+ - name: Case 2, resources at exactly limit.
10
+ period: 2025
11
+ input:
12
+ state_code: WI
13
+ wi_works_countable_resources: 2_500
14
+ output:
15
+ wi_works_resources_eligible: true
16
+
17
+ - name: Case 3, resources above limit.
18
+ period: 2025
19
+ input:
20
+ state_code: WI
21
+ wi_works_countable_resources: 2_501
22
+ output:
23
+ wi_works_resources_eligible: false
24
+
25
+ - name: Case 4, zero resources.
26
+ period: 2025
27
+ input:
28
+ state_code: WI
29
+ wi_works_countable_resources: 0
30
+ output:
31
+ wi_works_resources_eligible: true
32
+
33
+ - name: Case 5, non-Wisconsin state.
34
+ period: 2025
35
+ input:
36
+ state_code: CA
37
+ output:
38
+ wi_works_resources_eligible: false