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,386 @@
1
+ - name: Case 1, single parent with one child, no income.
2
+ period: 2024-01
3
+ input:
4
+ people:
5
+ person1:
6
+ age: 30
7
+ employment_income_before_lsr: 0
8
+ person2:
9
+ age: 5
10
+ spm_units:
11
+ spm_unit:
12
+ members: [person1, person2]
13
+ households:
14
+ household:
15
+ members: [person1, person2]
16
+ state_code: PA
17
+ output:
18
+ # Family of 2: FSA = $316/month
19
+ # No income, so full benefit
20
+ pa_tanf_maximum_benefit: 316
21
+ pa_tanf_countable_income: 0
22
+ pa_tanf: 316
23
+
24
+ - name: Case 2, single parent with two children, low earned income, enrolled.
25
+ period: 2024-01
26
+ input:
27
+ people:
28
+ person1:
29
+ age: 35
30
+ employment_income_before_lsr: 12_000
31
+ person2:
32
+ age: 8
33
+ person3:
34
+ age: 10
35
+ spm_units:
36
+ spm_unit:
37
+ members: [person1, person2, person3]
38
+ is_tanf_enrolled: true
39
+ households:
40
+ household:
41
+ members: [person1, person2, person3]
42
+ state_code: PA
43
+ output:
44
+ # Family of 3: FSA = $403/month
45
+ # Person1 monthly: $12,000/12 = $1,000
46
+ # $1,000 × 50% = $500; $500 - $200 = $300
47
+ # Countable: $300
48
+ # Benefit: $403 - $300 = $103
49
+ pa_tanf_maximum_benefit: 403
50
+ pa_tanf_countable_income: 300
51
+ pa_tanf: 103
52
+
53
+ - name: Case 3, single parent with two children, low earned income, new applicant.
54
+ period: 2024-01
55
+ input:
56
+ people:
57
+ person1:
58
+ age: 35
59
+ employment_income_before_lsr: 12_000
60
+ person2:
61
+ age: 8
62
+ person3:
63
+ age: 10
64
+ spm_units:
65
+ spm_unit:
66
+ members: [person1, person2, person3]
67
+ is_tanf_enrolled: false
68
+ households:
69
+ household:
70
+ members: [person1, person2, person3]
71
+ state_code: PA
72
+ output:
73
+ # Family of 3: FSA = $403/month
74
+ # Person1 monthly: $12,000/12 = $1,000
75
+ # Standard of Need = $587; $1,000 - $90 = $910 > $587 → Not EID eligible
76
+ # Full earned income is countable: $1,000
77
+ # Benefit: $0 (income exceeds FSA)
78
+ pa_tanf_maximum_benefit: 403
79
+ pa_tanf_countable_income: 1_000
80
+ pa_tanf: 0
81
+
82
+ - name: Case 4, family of four, moderate income, not eligible.
83
+ period: 2024-01
84
+ input:
85
+ people:
86
+ person1:
87
+ age: 32
88
+ employment_income_before_lsr: 18_000
89
+ person2:
90
+ age: 3
91
+ person3:
92
+ age: 7
93
+ person4:
94
+ age: 14
95
+ spm_units:
96
+ spm_unit:
97
+ members: [person1, person2, person3, person4]
98
+ is_tanf_enrolled: true
99
+ households:
100
+ household:
101
+ members: [person1, person2, person3, person4]
102
+ state_code: PA
103
+ output:
104
+ # Family of 4: FSA = $497/month
105
+ # Person1 monthly: $18,000/12 = $1,500
106
+ # $1,500 × 50% = $750; $750 - $200 = $550
107
+ # Countable: $550
108
+ # Benefit: $0 (income exceeds FSA)
109
+ pa_tanf_maximum_benefit: 497
110
+ pa_tanf_countable_income: 550
111
+ pa_tanf: 0
112
+
113
+ - name: Case 5, pregnant woman with no other children.
114
+ period: 2024-01
115
+ input:
116
+ people:
117
+ person1:
118
+ age: 25
119
+ employment_income_before_lsr: 6_000
120
+ is_pregnant: true
121
+ spm_units:
122
+ spm_unit:
123
+ members: [person1]
124
+ is_tanf_enrolled: true
125
+ households:
126
+ household:
127
+ members: [person1]
128
+ state_code: PA
129
+ output:
130
+ # Family of 1: FSA = $205/month
131
+ # Person1 monthly: $6,000/12 = $500
132
+ # $500 × 50% = $250; $250 - $200 = $50
133
+ # Countable: $50
134
+ # Benefit: $205 - $50 = $155
135
+ pa_tanf_maximum_benefit: 205
136
+ pa_tanf_countable_income: 50
137
+ pa_tanf: 155
138
+
139
+ - name: Case 6, family with unearned income only.
140
+ period: 2024-01
141
+ input:
142
+ people:
143
+ person1:
144
+ age: 45
145
+ employment_income_before_lsr: 0
146
+ social_security: 6_000
147
+ person2:
148
+ age: 10
149
+ person3:
150
+ age: 7
151
+ spm_units:
152
+ spm_unit:
153
+ members: [person1, person2, person3]
154
+ households:
155
+ household:
156
+ members: [person1, person2, person3]
157
+ state_code: PA
158
+ output:
159
+ # Family of 3: FSA = $403/month
160
+ # Unearned monthly: $6,000/12 = $500
161
+ # Unearned income exceeds FSA
162
+ # Countable: $500 unearned
163
+ # Benefit: $0
164
+ pa_tanf_maximum_benefit: 403
165
+ pa_tanf_countable_income: 500
166
+ pa_tanf: 0
167
+
168
+ - name: Case 7, large family of six, no income.
169
+ period: 2024-01
170
+ input:
171
+ people:
172
+ person1:
173
+ age: 38
174
+ employment_income_before_lsr: 0
175
+ person2:
176
+ age: 36
177
+ employment_income_before_lsr: 0
178
+ person3:
179
+ age: 15
180
+ person4:
181
+ age: 12
182
+ person5:
183
+ age: 9
184
+ person6:
185
+ age: 6
186
+ spm_units:
187
+ spm_unit:
188
+ members: [person1, person2, person3, person4, person5, person6]
189
+ households:
190
+ household:
191
+ members: [person1, person2, person3, person4, person5, person6]
192
+ state_code: PA
193
+ output:
194
+ # Family of 6: FSA = $670/month
195
+ # No income
196
+ pa_tanf_maximum_benefit: 670
197
+ pa_tanf_countable_income: 0
198
+ pa_tanf: 670
199
+
200
+ - name: Case 8, teenager in school, eligible.
201
+ period: 2024-01
202
+ input:
203
+ people:
204
+ person1:
205
+ age: 39
206
+ employment_income_before_lsr: 8_400
207
+ person2:
208
+ age: 18
209
+ is_in_secondary_school: true
210
+ spm_units:
211
+ spm_unit:
212
+ members: [person1, person2]
213
+ is_tanf_enrolled: true
214
+ households:
215
+ household:
216
+ members: [person1, person2]
217
+ state_code: PA
218
+ output:
219
+ # Family of 2: FSA = $316/month
220
+ # Person1 monthly: $8,400/12 = $700
221
+ # $700 × 50% = $350; $350 - $200 = $150
222
+ # Countable: $150
223
+ # Benefit: $316 - $150 = $166
224
+ pa_tanf_maximum_benefit: 316
225
+ pa_tanf_countable_income: 150
226
+ pa_tanf: 166
227
+
228
+ - name: Case 9, family beyond 8 people, no income.
229
+ period: 2024-01
230
+ input:
231
+ people:
232
+ person1:
233
+ age: 40
234
+ person2:
235
+ age: 38
236
+ person3:
237
+ age: 17
238
+ person4:
239
+ age: 15
240
+ person5:
241
+ age: 13
242
+ person6:
243
+ age: 11
244
+ person7:
245
+ age: 9
246
+ person8:
247
+ age: 7
248
+ person9:
249
+ age: 5
250
+ spm_units:
251
+ spm_unit:
252
+ members: [person1, person2, person3, person4, person5, person6, person7, person8, person9]
253
+ households:
254
+ household:
255
+ members: [person1, person2, person3, person4, person5, person6, person7, person8, person9]
256
+ state_code: PA
257
+ output:
258
+ # Family of 9 (GROUP_2): Base (6) = $670 + 3 × $83 increment = $919/month
259
+ pa_tanf_maximum_benefit: 919
260
+ pa_tanf_countable_income: 0
261
+ pa_tanf: 919
262
+
263
+ - name: Case 10, Just Harvest real-world example verification.
264
+ period: 2024-01
265
+ input:
266
+ people:
267
+ person1:
268
+ age: 35
269
+ employment_income_before_lsr: 6_960
270
+ person2:
271
+ age: 8
272
+ person3:
273
+ age: 5
274
+ spm_units:
275
+ spm_unit:
276
+ members: [person1, person2, person3]
277
+ is_tanf_enrolled: true
278
+ households:
279
+ household:
280
+ members: [person1, person2, person3]
281
+ state_code: PA
282
+ output:
283
+ # Real-world example from Just Harvest (Sept 2020)
284
+ # Family of 3: FSA = $403/month
285
+ # Person1 monthly: $6,960/12 = $580
286
+ # $580 × 50% = $290; $290 - $200 = $90
287
+ # Countable: $90
288
+ # Benefit: $403 - $90 = $313
289
+ # Total household income: $580 + $313 = $893 ✓
290
+ pa_tanf_maximum_benefit: 403
291
+ pa_tanf_countable_income: 90
292
+ pa_tanf: 313
293
+
294
+ - name: Case 11, two-parent household, both working (multiple earners).
295
+ period: 2024-01
296
+ input:
297
+ people:
298
+ person1:
299
+ age: 35
300
+ employment_income_before_lsr: 12_000
301
+ person2:
302
+ age: 33
303
+ employment_income_before_lsr: 9_600
304
+ person3:
305
+ age: 8
306
+ person4:
307
+ age: 5
308
+ spm_units:
309
+ spm_unit:
310
+ members: [person1, person2, person3, person4]
311
+ is_tanf_enrolled: true
312
+ households:
313
+ household:
314
+ members: [person1, person2, person3, person4]
315
+ state_code: PA
316
+ output:
317
+ # Family of 4: FSA = $497/month
318
+ # Person1 monthly: $12,000/12 = $1,000
319
+ # $1,000 × 50% = $500; $500 - $200 = $300
320
+ # Person2 monthly: $9,600/12 = $800
321
+ # $800 × 50% = $400; $400 - $200 = $200
322
+ # Total countable: $300 + $200 = $500
323
+ # Benefit: $0 (income exceeds FSA)
324
+ pa_tanf_maximum_benefit: 497
325
+ pa_tanf_countable_income: 500
326
+ pa_tanf: 0
327
+
328
+ - name: Case 12, County Group 1 (highest benefit area).
329
+ period: 2024-01
330
+ input:
331
+ people:
332
+ person1:
333
+ age: 30
334
+ employment_income_before_lsr: 6_960
335
+ person2:
336
+ age: 8
337
+ person3:
338
+ age: 5
339
+ spm_units:
340
+ spm_unit:
341
+ members: [person1, person2, person3]
342
+ is_tanf_enrolled: true
343
+ households:
344
+ household:
345
+ members: [person1, person2, person3]
346
+ state_code: PA
347
+ pa_tanf_county_group: GROUP_1
348
+ output:
349
+ # Family of 3, Group 1: FSA = $421/month (vs $403 in Group 2)
350
+ # Person1 monthly: $6,960/12 = $580
351
+ # $580 × 50% = $290; $290 - $200 = $90
352
+ # Countable: $90
353
+ # Benefit: $421 - $90 = $331 (vs $313 in Group 2)
354
+ pa_tanf_maximum_benefit: 421
355
+ pa_tanf_countable_income: 90
356
+ pa_tanf: 331
357
+
358
+ - name: Case 13, self-employment income only.
359
+ period: 2024-01
360
+ input:
361
+ people:
362
+ person1:
363
+ age: 40
364
+ self_employment_income_before_lsr: 18_000
365
+ person2:
366
+ age: 10
367
+ person3:
368
+ age: 7
369
+ spm_units:
370
+ spm_unit:
371
+ members: [person1, person2, person3]
372
+ is_tanf_enrolled: true
373
+ households:
374
+ household:
375
+ members: [person1, person2, person3]
376
+ state_code: PA
377
+ output:
378
+ # Family of 3: FSA = $403/month
379
+ # Self-employment is treated as earned income (55 Pa. Code § 183.22)
380
+ # Person1 monthly: $18,000/12 = $1,500
381
+ # $1,500 × 50% = $750; $750 - $200 = $550
382
+ # Countable: $550
383
+ # Benefit: $0 (income exceeds FSA)
384
+ pa_tanf_maximum_benefit: 403
385
+ pa_tanf_countable_income: 550
386
+ pa_tanf: 0
@@ -0,0 +1,53 @@
1
+ - name: Case 1, no income, full benefit.
2
+ period: 2024-01
3
+ input:
4
+ pa_tanf_maximum_benefit: 316
5
+ pa_tanf_countable_income: 0
6
+ pa_tanf_eligible: true
7
+ output:
8
+ pa_tanf: 316
9
+
10
+ - name: Case 2, partial income, partial benefit.
11
+ period: 2024-01
12
+ input:
13
+ pa_tanf_maximum_benefit: 316
14
+ pa_tanf_countable_income: 150
15
+ pa_tanf_eligible: true
16
+ output:
17
+ pa_tanf: 166
18
+
19
+ - name: Case 3, countable income equals maximum benefit.
20
+ period: 2024-01
21
+ input:
22
+ pa_tanf_maximum_benefit: 316
23
+ pa_tanf_countable_income: 316
24
+ pa_tanf_eligible: true
25
+ output:
26
+ pa_tanf: 0
27
+
28
+ - name: Case 4, countable income exceeds maximum benefit.
29
+ period: 2024-01
30
+ input:
31
+ pa_tanf_maximum_benefit: 316
32
+ pa_tanf_countable_income: 500
33
+ pa_tanf_eligible: true
34
+ output:
35
+ pa_tanf: 0
36
+
37
+ - name: Case 5, very small benefit amount.
38
+ period: 2024-01
39
+ input:
40
+ pa_tanf_maximum_benefit: 316
41
+ pa_tanf_countable_income: 315
42
+ pa_tanf_eligible: true
43
+ output:
44
+ pa_tanf: 1
45
+
46
+ - name: Case 6, large family, high maximum benefit.
47
+ period: 2024-01
48
+ input:
49
+ pa_tanf_maximum_benefit: 836
50
+ pa_tanf_countable_income: 200
51
+ pa_tanf_eligible: true
52
+ output:
53
+ pa_tanf: 636
@@ -0,0 +1,63 @@
1
+ - name: Case 1, Group 1 county (Bucks).
2
+ period: 2024
3
+ input:
4
+ state_code: PA
5
+ county_str: BUCKS_COUNTY_PA
6
+ output:
7
+ pa_tanf_county_group: GROUP_1
8
+
9
+ - name: Case 2, Group 1 county (Chester).
10
+ period: 2024
11
+ input:
12
+ state_code: PA
13
+ county_str: CHESTER_COUNTY_PA
14
+ output:
15
+ pa_tanf_county_group: GROUP_1
16
+
17
+ - name: Case 3, Group 2 county (Philadelphia).
18
+ period: 2024
19
+ input:
20
+ state_code: PA
21
+ county_str: PHILADELPHIA_COUNTY_PA
22
+ output:
23
+ pa_tanf_county_group: GROUP_2
24
+
25
+ - name: Case 4, Group 2 county (Allegheny).
26
+ period: 2024
27
+ input:
28
+ state_code: PA
29
+ county_str: ALLEGHENY_COUNTY_PA
30
+ output:
31
+ pa_tanf_county_group: GROUP_2
32
+
33
+ - name: Case 5, Group 3 county (Beaver).
34
+ period: 2024
35
+ input:
36
+ state_code: PA
37
+ county_str: BEAVER_COUNTY_PA
38
+ output:
39
+ pa_tanf_county_group: GROUP_3
40
+
41
+ - name: Case 6, Group 3 county (Washington).
42
+ period: 2024
43
+ input:
44
+ state_code: PA
45
+ county_str: WASHINGTON_COUNTY_PA
46
+ output:
47
+ pa_tanf_county_group: GROUP_3
48
+
49
+ - name: Case 7, Group 4 county (Fayette).
50
+ period: 2024
51
+ input:
52
+ state_code: PA
53
+ county_str: FAYETTE_COUNTY_PA
54
+ output:
55
+ pa_tanf_county_group: GROUP_4
56
+
57
+ - name: Case 8, Group 4 county (Cambria).
58
+ period: 2024
59
+ input:
60
+ state_code: PA
61
+ county_str: CAMBRIA_COUNTY_PA
62
+ output:
63
+ pa_tanf_county_group: GROUP_4
@@ -0,0 +1,92 @@
1
+ - name: Case 1, single person household.
2
+ period: 2024-01
3
+ input:
4
+ spm_unit_size: 1
5
+ state_code: PA
6
+ output:
7
+ pa_tanf_maximum_benefit: 205
8
+
9
+ - name: Case 2, two person household.
10
+ period: 2024-01
11
+ input:
12
+ spm_unit_size: 2
13
+ state_code: PA
14
+ output:
15
+ pa_tanf_maximum_benefit: 316
16
+
17
+ - name: Case 3, three person household.
18
+ period: 2024-01
19
+ input:
20
+ spm_unit_size: 3
21
+ state_code: PA
22
+ output:
23
+ pa_tanf_maximum_benefit: 403
24
+
25
+ - name: Case 4, four person household.
26
+ period: 2024-01
27
+ input:
28
+ spm_unit_size: 4
29
+ state_code: PA
30
+ output:
31
+ pa_tanf_maximum_benefit: 497
32
+
33
+ - name: Case 5, five person household.
34
+ period: 2024-01
35
+ input:
36
+ spm_unit_size: 5
37
+ state_code: PA
38
+ output:
39
+ pa_tanf_maximum_benefit: 589
40
+
41
+ - name: Case 6, six person household.
42
+ period: 2024-01
43
+ input:
44
+ spm_unit_size: 6
45
+ state_code: PA
46
+ output:
47
+ pa_tanf_maximum_benefit: 670
48
+
49
+ - name: Case 7, seven person household.
50
+ period: 2024-01
51
+ input:
52
+ spm_unit_size: 7
53
+ state_code: PA
54
+ output:
55
+ # Base (6) = $670 + (1 × $83) = $753
56
+ pa_tanf_maximum_benefit: 753
57
+
58
+ - name: Case 8, eight person household.
59
+ period: 2024-01
60
+ input:
61
+ spm_unit_size: 8
62
+ state_code: PA
63
+ output:
64
+ # Base (6) = $670 + (2 × $83) = $836
65
+ pa_tanf_maximum_benefit: 836
66
+
67
+ - name: Case 9, nine person household.
68
+ period: 2024-01
69
+ input:
70
+ spm_unit_size: 9
71
+ state_code: PA
72
+ output:
73
+ # Base (6) = $670 + (3 × $83) = $919
74
+ pa_tanf_maximum_benefit: 919
75
+
76
+ - name: Case 10, ten person household.
77
+ period: 2024-01
78
+ input:
79
+ spm_unit_size: 10
80
+ state_code: PA
81
+ output:
82
+ # Base (6) = $670 + (4 × $83) = $1,002
83
+ pa_tanf_maximum_benefit: 1_002
84
+
85
+ - name: Case 11, very large household.
86
+ period: 2024-01
87
+ input:
88
+ spm_unit_size: 12
89
+ state_code: PA
90
+ output:
91
+ # Base (6) = $670 + (6 × $83) = $1,168
92
+ pa_tanf_maximum_benefit: 1_168
@@ -0,0 +1,73 @@
1
+ - name: Case 1, Group 1 family of 3.
2
+ period: 2024-01
3
+ input:
4
+ state_code: PA
5
+ pa_tanf_county_group: GROUP_1
6
+ spm_unit_size: 3
7
+ output:
8
+ pa_tanf_standard_of_need: 614
9
+
10
+ - name: Case 2, Group 2 family of 3.
11
+ period: 2024-01
12
+ input:
13
+ state_code: PA
14
+ pa_tanf_county_group: GROUP_2
15
+ spm_unit_size: 3
16
+ output:
17
+ pa_tanf_standard_of_need: 587
18
+
19
+ - name: Case 3, Group 3 family of 3.
20
+ period: 2024-01
21
+ input:
22
+ state_code: PA
23
+ pa_tanf_county_group: GROUP_3
24
+ spm_unit_size: 3
25
+ output:
26
+ pa_tanf_standard_of_need: 573
27
+
28
+ - name: Case 4, Group 4 family of 3.
29
+ period: 2024-01
30
+ input:
31
+ state_code: PA
32
+ pa_tanf_county_group: GROUP_4
33
+ spm_unit_size: 3
34
+ output:
35
+ pa_tanf_standard_of_need: 532
36
+
37
+ - name: Case 5, single person household.
38
+ period: 2024-01
39
+ input:
40
+ state_code: PA
41
+ pa_tanf_county_group: GROUP_4
42
+ spm_unit_size: 1
43
+ output:
44
+ pa_tanf_standard_of_need: 253
45
+
46
+ - name: Case 6, six person household (max table size).
47
+ period: 2024-01
48
+ input:
49
+ state_code: PA
50
+ pa_tanf_county_group: GROUP_4
51
+ spm_unit_size: 6
52
+ output:
53
+ pa_tanf_standard_of_need: 894
54
+
55
+ - name: Case 7, seven person household (additional person).
56
+ period: 2024-01
57
+ input:
58
+ state_code: PA
59
+ pa_tanf_county_group: GROUP_4
60
+ spm_unit_size: 7
61
+ output:
62
+ # Base (6) = $894 + (1 x $121) = $1,015
63
+ pa_tanf_standard_of_need: 1_015
64
+
65
+ - name: Case 8, large household (10 persons).
66
+ period: 2024-01
67
+ input:
68
+ state_code: PA
69
+ pa_tanf_county_group: GROUP_4
70
+ spm_unit_size: 10
71
+ output:
72
+ # Base (6) = $894 + (4 x $121) = $1,378
73
+ pa_tanf_standard_of_need: 1_378