policyengine-us 1.449.6__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 (306) 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/contrib/states/de/dependent_credit/age_limit/in_effect.yaml +9 -0
  5. policyengine_us/parameters/gov/contrib/states/de/dependent_credit/age_limit/threshold.yaml +9 -0
  6. policyengine_us/parameters/gov/contrib/states/de/dependent_credit/amount.yaml +9 -0
  7. policyengine_us/parameters/gov/contrib/states/de/dependent_credit/in_effect.yaml +9 -0
  8. policyengine_us/parameters/gov/contrib/states/de/dependent_credit/phaseout/rate.yaml +9 -0
  9. policyengine_us/parameters/gov/contrib/states/de/dependent_credit/phaseout/threshold.yaml +23 -0
  10. policyengine_us/parameters/gov/hhs/medicare/savings_programs/eligibility/asset/applies.yaml +115 -0
  11. policyengine_us/parameters/gov/hhs/medicare/savings_programs/eligibility/asset/couple.yaml +14 -0
  12. policyengine_us/parameters/gov/hhs/medicare/savings_programs/eligibility/asset/individual.yaml +14 -0
  13. policyengine_us/parameters/gov/hhs/medicare/savings_programs/eligibility/income/qi/fpl_limit.yaml +14 -0
  14. policyengine_us/parameters/gov/hhs/medicare/savings_programs/eligibility/income/qmb/fpl_limit.yaml +18 -0
  15. policyengine_us/parameters/gov/hhs/medicare/savings_programs/eligibility/income/slmb/fpl_limit.yaml +15 -0
  16. policyengine_us/parameters/gov/irs/deductions/qbi/max/reit_ptp_rate.yaml +13 -0
  17. policyengine_us/parameters/gov/states/az/tax/income/credits/property_tax/income_sources.yaml +17 -9
  18. policyengine_us/parameters/gov/states/ca/chhs/medi_cal_enrollment_freeze/in_effect.yaml +12 -0
  19. policyengine_us/parameters/gov/states/hi/tax/income/credits/food_excise_tax/amount/head_of_household.yaml +1 -1
  20. policyengine_us/parameters/gov/states/hi/tax/income/credits/food_excise_tax/amount/joint.yaml +1 -1
  21. policyengine_us/parameters/gov/states/hi/tax/income/credits/food_excise_tax/amount/separate.yaml +1 -1
  22. policyengine_us/parameters/gov/states/hi/tax/income/credits/food_excise_tax/amount/single.yaml +1 -1
  23. policyengine_us/parameters/gov/states/hi/tax/income/credits/food_excise_tax/amount/surviving_spouse.yaml +1 -1
  24. policyengine_us/parameters/gov/states/ia/tax/income/credits/child_care/fraction.yaml +1 -1
  25. policyengine_us/parameters/gov/states/il/dhs/aabd/asset/sources.yaml +0 -1
  26. policyengine_us/parameters/gov/states/il/dhs/aabd/{qualified_noncitizen_status.yaml → qualified_noncitizen_statuses.yaml} +3 -5
  27. policyengine_us/parameters/gov/states/il/dhs/tanf/{qualified_noncitizen_status.yaml → qualified_noncitizen_statuses.yaml} +2 -2
  28. policyengine_us/parameters/gov/states/il/hfs/bcc/eligibility/age.yaml +12 -0
  29. policyengine_us/parameters/gov/states/il/hfs/fpp/eligibility/household_size.yaml +14 -0
  30. policyengine_us/parameters/gov/states/il/hfs/fpp/eligibility/income_limit.yaml +15 -0
  31. policyengine_us/parameters/gov/states/il/hfs/mpe/eligibility/income_limit.yaml +13 -0
  32. policyengine_us/parameters/gov/states/il/hfs/qualified_noncitizen_statuses.yaml +17 -0
  33. policyengine_us/parameters/gov/states/mi/tax/income/household_resources.yaml +1 -1
  34. policyengine_us/parameters/gov/states/mo/dss/tanf/child_care_deduction/amount.yaml +27 -0
  35. policyengine_us/parameters/gov/states/mo/dss/tanf/earned_income_disregard/amount.yaml +14 -0
  36. policyengine_us/parameters/gov/states/mo/dss/tanf/earned_income_disregard/thirty_only/amount.yaml +14 -0
  37. policyengine_us/parameters/gov/states/mo/dss/tanf/earned_income_disregard/thirty_plus_one_third/flat_amount.yaml +14 -0
  38. policyengine_us/parameters/gov/states/mo/dss/tanf/earned_income_disregard/thirty_plus_one_third/percentage.yaml +14 -0
  39. policyengine_us/parameters/gov/states/mo/dss/tanf/earned_income_disregard/two_thirds_disregard/percentage.yaml +14 -0
  40. policyengine_us/parameters/gov/states/mo/dss/tanf/income_limit/max_table_size.yaml +12 -0
  41. policyengine_us/parameters/gov/states/mo/dss/tanf/income_limit/rate.yaml +14 -0
  42. policyengine_us/parameters/gov/states/mo/dss/tanf/maximum_benefit/percentage.yaml +14 -0
  43. policyengine_us/parameters/gov/states/mo/dss/tanf/minimum_payment.yaml +12 -0
  44. policyengine_us/parameters/gov/states/mo/dss/tanf/resource_limit/amount.yaml +14 -0
  45. policyengine_us/parameters/gov/states/mo/dss/tanf/standard_of_need/additional_person_increment.yaml +12 -0
  46. policyengine_us/parameters/gov/states/mo/dss/tanf/standard_of_need/amount.yaml +38 -0
  47. policyengine_us/parameters/gov/states/mo/dss/tanf/standard_of_need/base_table_max_size.yaml +12 -0
  48. policyengine_us/parameters/gov/states/nj/tax/income/additions.yaml +12 -0
  49. policyengine_us/parameters/gov/states/nj/tax/income/gross_income_sources.yaml +32 -0
  50. policyengine_us/parameters/gov/states/pa/dhs/tanf/county_group/group_1.yaml +19 -0
  51. policyengine_us/parameters/gov/states/pa/dhs/tanf/county_group/group_2.yaml +44 -0
  52. policyengine_us/parameters/gov/states/pa/dhs/tanf/county_group/group_3.yaml +31 -0
  53. policyengine_us/parameters/gov/states/pa/dhs/tanf/county_group/group_4.yaml +29 -0
  54. policyengine_us/parameters/gov/states/pa/dhs/tanf/family_size_allowance/additional_person.yaml +14 -0
  55. policyengine_us/parameters/gov/states/pa/dhs/tanf/family_size_allowance/amount.yaml +69 -0
  56. policyengine_us/parameters/gov/states/pa/dhs/tanf/income/deductions/earned_income_disregard/percentage.yaml +14 -0
  57. policyengine_us/parameters/gov/states/pa/dhs/tanf/income/deductions/work_expense/additional.yaml +15 -0
  58. policyengine_us/parameters/gov/states/pa/dhs/tanf/income/deductions/work_expense/initial.yaml +14 -0
  59. policyengine_us/parameters/gov/states/pa/dhs/tanf/max_family_size_in_table.yaml +12 -0
  60. policyengine_us/parameters/gov/states/pa/dhs/tanf/resource_limit.yaml +7 -6
  61. policyengine_us/parameters/gov/states/pa/dhs/tanf/standard_of_need/additional_person.yaml +14 -0
  62. policyengine_us/parameters/gov/states/pa/dhs/tanf/standard_of_need/amount.yaml +69 -0
  63. policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/amount.yaml +4 -0
  64. policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/max_agi.yaml +6 -2
  65. policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/max_child_age.yaml +6 -2
  66. policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/parent_max_earnings.yaml +6 -2
  67. policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/amount.yaml +4 -0
  68. policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/child_age_threshold.yaml +4 -0
  69. policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/reduction/rate.yaml +4 -0
  70. policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/reduction/start.yaml +4 -0
  71. policyengine_us/parameters/gov/states/ut/tax/income/credits/earned_income/rate.yaml +4 -0
  72. policyengine_us/parameters/gov/states/ut/tax/income/credits/military_retirement/rate.yaml +26 -0
  73. policyengine_us/parameters/gov/states/ut/tax/income/credits/non_refundable.yaml +5 -0
  74. policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/birth_year.yaml +4 -0
  75. policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/max.yaml +4 -0
  76. policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/phase_out/rate.yaml +4 -0
  77. policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/phase_out/threshold.yaml +4 -0
  78. policyengine_us/parameters/gov/states/ut/tax/income/credits/ss_benefits/phase_out/rate.yaml +4 -0
  79. policyengine_us/parameters/gov/states/ut/tax/income/credits/ss_benefits/phase_out/threshold.yaml +4 -0
  80. policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/in_effect.yaml +2 -0
  81. policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/personal_exemption.yaml +5 -0
  82. policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/rate.yaml +5 -1
  83. policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/threshold.yaml +9 -0
  84. policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/rate.yaml +4 -0
  85. policyengine_us/parameters/gov/states/ut/tax/income/rate.yaml +3 -0
  86. policyengine_us/parameters/gov/states/wi/dcf/README.md +1 -0
  87. policyengine_us/parameters/gov/states/wi/dcf/works/README.md +1 -0
  88. policyengine_us/parameters/gov/states/wi/dcf/works/asset/limit.yaml +16 -0
  89. policyengine_us/parameters/gov/states/wi/dcf/works/asset/vehicle_exclusion.yaml +14 -0
  90. policyengine_us/parameters/gov/states/wi/dcf/works/income_limit/rate.yaml +16 -0
  91. policyengine_us/parameters/gov/states/wi/dcf/works/placement/amount.yaml +30 -0
  92. policyengine_us/parameters/gov/states/wi/dcf/works/placement/arp_pregnancy_month_threshold.yaml +14 -0
  93. policyengine_us/parameters/gov/states/wi/dcf/works/placement/cmc_infant_age_limit.yaml +15 -0
  94. policyengine_us/reforms/aca/__init__.py +3 -0
  95. policyengine_us/reforms/aca/aca_ptc_700_fpl_cliff.py +125 -0
  96. policyengine_us/reforms/reforms.py +12 -0
  97. policyengine_us/reforms/state_dependent_exemptions/repeal_state_dependent_exemptions.py +1 -1
  98. policyengine_us/reforms/states/de/__init__.py +3 -0
  99. policyengine_us/reforms/states/de/dependent_credit/de_dependent_credit_reform.py +165 -0
  100. policyengine_us/tests/policy/baseline/gov/hhs/medicaid/medicaid_enrolled.yaml +105 -0
  101. policyengine_us/tests/policy/baseline/gov/hhs/medicare/savings_programs/category/msp_category.yaml +69 -0
  102. policyengine_us/tests/policy/baseline/gov/hhs/medicare/savings_programs/eligibility/msp_eligible.yaml +62 -0
  103. policyengine_us/tests/policy/baseline/gov/hhs/medicare/savings_programs/income/msp_fpg.yaml +22 -0
  104. policyengine_us/tests/policy/baseline/gov/hhs/medicare/savings_programs/integration.yaml +84 -0
  105. policyengine_us/tests/policy/baseline/gov/hhs/medicare/savings_programs/msp_benefit_value.yaml +62 -0
  106. 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
  107. 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
  108. policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/deductions/qbid/qbid_amount.yaml +75 -3
  109. policyengine_us/tests/policy/baseline/gov/local/ca/la/general_relief/eligible/immigration/la_general_relief_immigration_status_eligible_person.yaml +2 -2
  110. policyengine_us/tests/policy/baseline/gov/ssa/revenue/tob_revenue_medicare_hi.yaml +105 -0
  111. policyengine_us/tests/policy/baseline/gov/ssa/revenue/tob_revenue_oasdi.yaml +86 -0
  112. policyengine_us/tests/policy/baseline/gov/ssa/revenue/tob_revenue_total.yaml +19 -0
  113. policyengine_us/tests/policy/baseline/gov/ssa/revenue/tob_tier_split.yaml +90 -0
  114. policyengine_us/tests/policy/baseline/gov/states/az/tax/income/az_property_tax_credit_agi.yaml +58 -0
  115. policyengine_us/tests/policy/baseline/gov/states/az/tax/income/integration.yaml +28 -0
  116. policyengine_us/tests/policy/baseline/gov/states/ca/chhs/is_ca_medicaid_immigration_status_eligible.yaml +59 -5
  117. policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_ptc.yaml +27 -0
  118. policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/food_excise/hi_food_excise_credit.yaml +29 -1
  119. policyengine_us/tests/policy/baseline/gov/states/ia/tax/income/ia_cdcc.yaml +3 -3
  120. policyengine_us/tests/policy/baseline/gov/states/ia/tax/income/ia_integration.yaml +31 -1
  121. policyengine_us/tests/policy/baseline/gov/states/il/dhs/aabd/eligibility/il_aabd_non_financial_eligible_person.yaml +6 -6
  122. policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/eligibility/il_tanf_immigration_status_eligible_person.yaml +2 -10
  123. policyengine_us/tests/policy/baseline/gov/states/il/hfs/bcc/eligibility/il_bcc_age_eligible.yaml +39 -0
  124. policyengine_us/tests/policy/baseline/gov/states/il/hfs/bcc/eligibility/il_bcc_eligible.yaml +95 -0
  125. policyengine_us/tests/policy/baseline/gov/states/il/hfs/bcc/eligibility/il_bcc_insurance_eligible.yaml +35 -0
  126. policyengine_us/tests/policy/baseline/gov/states/il/hfs/fpp/il_fpp_income_eligible.yaml +35 -0
  127. policyengine_us/tests/policy/baseline/gov/states/il/hfs/fpp/il_fpp_income_level.yaml +27 -0
  128. policyengine_us/tests/policy/baseline/gov/states/il/hfs/fpp/integration.yaml +116 -0
  129. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_disability_eligible.yaml +18 -5
  130. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_eligible.yaml +5 -5
  131. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/integration.yaml +8 -8
  132. policyengine_us/tests/policy/baseline/gov/states/il/hfs/il_hfs_immigration_status_eligible.yaml +47 -0
  133. policyengine_us/tests/policy/baseline/gov/states/il/hfs/mpe/il_mpe_eligible.yaml +39 -0
  134. policyengine_us/tests/policy/baseline/gov/states/il/hfs/mpe/il_mpe_income_eligible.yaml +23 -0
  135. policyengine_us/tests/policy/baseline/gov/states/il/hfs/mpe/integration.yaml +138 -0
  136. policyengine_us/tests/policy/baseline/gov/states/il/hfs/smib/eligibility/il_smib_eligible.yaml +88 -0
  137. policyengine_us/tests/policy/baseline/gov/states/il/hfs/smib/integration.yaml +73 -0
  138. policyengine_us/tests/policy/baseline/gov/states/ky/tax/income/credits/family_size_tax_credit/ky_family_size_tax_credit_rate.yaml +8 -8
  139. policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/gross_income/integration.yaml +28 -0
  140. policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/integration.yaml +87 -0
  141. policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/me_dependent_exemption_credit_amount_person.yaml +3 -2
  142. policyengine_us/tests/policy/baseline/gov/states/mi/tax/income/credits/home_heating/mi_home_heating_credit.yaml +87 -0
  143. policyengine_us/tests/policy/baseline/gov/states/mi/tax/income/mi_household_resources.yaml +57 -0
  144. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/integration.yaml +275 -0
  145. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf.yaml +60 -0
  146. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_child_care_deduction.yaml +187 -0
  147. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_countable_income.yaml +49 -0
  148. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_earned_income_deductions.yaml +53 -0
  149. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_eligible.yaml +59 -0
  150. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_gross_income_eligible.yaml +29 -0
  151. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_income_eligible.yaml +49 -0
  152. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_maximum_benefit.yaml +47 -0
  153. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_percentage_of_need_test.yaml +53 -0
  154. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_resources_eligible.yaml +23 -0
  155. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_standard_of_need.yaml +71 -0
  156. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_standard_of_need_test.yaml +44 -0
  157. policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/integration.yaml +29 -0
  158. policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/credits/eitc/nj_eitc.yaml +8 -3
  159. policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/integration.yaml +137 -0
  160. policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/taxable_income/nj_agi.yaml +7 -8
  161. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/eligibility/pa_tanf_disregard_eligible.yaml +114 -0
  162. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/eligibility/pa_tanf_eligible.yaml +65 -0
  163. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/eligibility/pa_tanf_income_eligible.yaml +62 -0
  164. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/eligibility/pa_tanf_resources_eligible.yaml +47 -0
  165. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/income/pa_tanf_earned_income_after_deductions_person.yaml +81 -0
  166. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/integration.yaml +386 -0
  167. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/pa_tanf.yaml +53 -0
  168. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/pa_tanf_county_group.yaml +63 -0
  169. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/pa_tanf_maximum_benefit.yaml +92 -0
  170. policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/pa_tanf_standard_of_need.yaml +73 -0
  171. policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_categorically_eligible_person.yaml +1 -1
  172. policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit.yaml +89 -0
  173. policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit_eligible.yaml +50 -0
  174. policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/integration.yaml +282 -0
  175. policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works.yaml +50 -0
  176. policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works_countable_income.yaml +49 -0
  177. policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works_countable_resources.yaml +54 -0
  178. policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works_eligible.yaml +61 -0
  179. policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works_income_eligible.yaml +43 -0
  180. policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works_placement.yaml +111 -0
  181. policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works_resources_eligible.yaml +38 -0
  182. policyengine_us/tests/policy/baseline/gov/states/wv/tax/income/credits/heptc/wv_homestead_excess_property_tax_credit.yaml +31 -0
  183. policyengine_us/tests/policy/baseline/gov/states/wv/tax/income/credits/liftc/wv_low_income_family_tax_credit_fpg.yaml +10 -6
  184. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_agi.yaml +1 -1
  185. policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_agi_person.yaml +1 -1
  186. policyengine_us/tests/policy/baseline/gov/usda/snap/snap_min_allotment.yaml +3 -3
  187. policyengine_us/tests/policy/baseline/household/expense/health/has_bcc_qualifying_coverage.yaml +12 -0
  188. policyengine_us/tests/policy/contrib/aca/ptc_700_fpl_cliff.yaml +136 -0
  189. policyengine_us/tests/policy/contrib/state_dependent_exemptions/repeal_state_dependent_exemptions.yaml +25 -1
  190. policyengine_us/tests/policy/contrib/states/de/dependent_credit_reform_test.yaml +210 -0
  191. policyengine_us/tests/test_batched.py +39 -68
  192. policyengine_us/variables/gov/hhs/medicaid/costs/medicaid_group.py +2 -2
  193. policyengine_us/variables/gov/hhs/medicaid/receives_medicaid.py +17 -0
  194. policyengine_us/variables/gov/hhs/medicare/savings_programs/category/is_qi_eligible.py +33 -0
  195. policyengine_us/variables/gov/hhs/medicare/savings_programs/category/is_qmb_eligible.py +28 -0
  196. policyengine_us/variables/gov/hhs/medicare/savings_programs/category/is_slmb_eligible.py +33 -0
  197. policyengine_us/variables/gov/hhs/medicare/savings_programs/category/msp_category.py +33 -0
  198. policyengine_us/variables/gov/hhs/medicare/savings_programs/eligibility/msp_asset_eligible.py +26 -0
  199. policyengine_us/variables/gov/hhs/medicare/savings_programs/eligibility/msp_eligible.py +20 -0
  200. policyengine_us/variables/gov/hhs/medicare/savings_programs/eligibility/msp_income_eligible.py +26 -0
  201. policyengine_us/variables/gov/hhs/medicare/savings_programs/income/msp_countable_income.py +35 -0
  202. policyengine_us/variables/gov/hhs/medicare/savings_programs/income/msp_fpg.py +40 -0
  203. policyengine_us/variables/gov/hhs/medicare/savings_programs/msp.py +15 -0
  204. policyengine_us/variables/gov/hhs/medicare/savings_programs/msp_benefit_value.py +37 -0
  205. policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/taxable_social_security_tier_1.py +58 -0
  206. policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/taxable_social_security_tier_2.py +17 -0
  207. policyengine_us/variables/gov/irs/income/taxable_income/deductions/qualified_business_income_deduction/qbid_amount.py +16 -6
  208. policyengine_us/variables/gov/simulation/labor_supply_response/labor_supply_behavioral_response.py +57 -42
  209. policyengine_us/variables/gov/ssa/revenue/tob_revenue_medicare_hi.py +31 -0
  210. policyengine_us/variables/gov/ssa/revenue/tob_revenue_oasdi.py +31 -0
  211. policyengine_us/variables/gov/ssa/revenue/tob_revenue_total.py +44 -0
  212. policyengine_us/variables/gov/states/az/tax/income/credits/property_tax_credit/az_property_tax_credit_agi.py +53 -0
  213. policyengine_us/variables/gov/states/ca/chhs/is_ca_medicaid_immigration_status_eligible.py +25 -4
  214. policyengine_us/variables/gov/states/dc/tax/income/credits/dc_ptc.py +7 -3
  215. policyengine_us/variables/gov/states/ia/tax/income/credits/ia_cdcc.py +4 -2
  216. policyengine_us/variables/gov/states/il/dhs/aabd/eligibility/il_aabd_immigration_status_eligible_person.py +1 -1
  217. policyengine_us/variables/gov/states/il/dhs/aabd/eligibility/il_aabd_non_financial_eligible_person.py +23 -5
  218. policyengine_us/variables/gov/states/il/dhs/tanf/eligibility/il_tanf_immigration_status_eligible_person.py +1 -1
  219. policyengine_us/variables/gov/states/il/hfs/bcc/eligibility/il_bcc_age_eligible.py +15 -0
  220. policyengine_us/variables/gov/states/il/hfs/bcc/eligibility/il_bcc_eligible.py +27 -0
  221. policyengine_us/variables/gov/states/il/hfs/bcc/eligibility/il_bcc_insurance_eligible.py +29 -0
  222. policyengine_us/variables/gov/states/il/hfs/fpp/eligibility/il_fpp_eligible.py +40 -0
  223. policyengine_us/variables/gov/states/il/hfs/fpp/eligibility/il_fpp_income_eligible.py +18 -0
  224. policyengine_us/variables/gov/states/il/hfs/fpp/il_fpp_income_level.py +29 -0
  225. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_disability_eligible.py +7 -3
  226. policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_eligible.py +1 -1
  227. policyengine_us/variables/gov/states/il/hfs/{hbwd/eligibility/il_hbwd_immigration_status_eligible.py → il_hfs_immigration_status_eligible.py} +5 -8
  228. policyengine_us/variables/gov/states/il/hfs/mpe/eligibility/il_mpe_income_eligible.py +15 -0
  229. policyengine_us/variables/gov/states/il/hfs/mpe/il_mpe_eligible.py +15 -0
  230. policyengine_us/variables/gov/states/il/hfs/smib/eligibility/il_smib_categorical_eligible.py +26 -0
  231. policyengine_us/variables/gov/states/il/hfs/smib/eligibility/il_smib_eligible.py +28 -0
  232. policyengine_us/variables/gov/states/il/hfs/smib/il_smib.py +21 -0
  233. policyengine_us/variables/gov/states/il/hfs/smib/il_smib_person.py +24 -0
  234. policyengine_us/variables/gov/states/ky/tax/income/credits/family_size_credit/ky_family_size_tax_credit_rate.py +1 -1
  235. policyengine_us/variables/gov/states/ma/tax/income/gross_income/ma_part_c_gross_income.py +7 -1
  236. policyengine_us/variables/gov/states/me/tax/income/credits/dependent_exemption/me_dependent_exemption_credit_amount_person.py +1 -1
  237. policyengine_us/variables/gov/states/mi/tax/income/mi_household_resources.py +34 -5
  238. policyengine_us/variables/gov/states/mo/dss/tanf/eligibility/mo_tanf_eligible.py +23 -0
  239. policyengine_us/variables/gov/states/mo/dss/tanf/eligibility/mo_tanf_gross_income_eligible.py +24 -0
  240. policyengine_us/variables/gov/states/mo/dss/tanf/eligibility/mo_tanf_income_eligible.py +18 -0
  241. policyengine_us/variables/gov/states/mo/dss/tanf/eligibility/mo_tanf_percentage_of_need_test.py +20 -0
  242. policyengine_us/variables/gov/states/mo/dss/tanf/eligibility/mo_tanf_resources_eligible.py +18 -0
  243. policyengine_us/variables/gov/states/mo/dss/tanf/eligibility/mo_tanf_standard_of_need_test.py +17 -0
  244. policyengine_us/variables/gov/states/mo/dss/tanf/income/deductions/mo_tanf_child_care_deduction.py +24 -0
  245. policyengine_us/variables/gov/states/mo/dss/tanf/income/deductions/mo_tanf_earned_income_deductions.py +36 -0
  246. policyengine_us/variables/gov/states/mo/dss/tanf/income/mo_tanf_countable_income.py +21 -0
  247. policyengine_us/variables/gov/states/mo/dss/tanf/income/mo_tanf_income_for_need_test.py +23 -0
  248. policyengine_us/variables/gov/states/mo/dss/tanf/mo_tanf.py +21 -0
  249. policyengine_us/variables/gov/states/mo/dss/tanf/mo_tanf_maximum_benefit.py +19 -0
  250. policyengine_us/variables/gov/states/mo/dss/tanf/mo_tanf_standard_of_need.py +23 -0
  251. policyengine_us/variables/gov/states/mt/tax/income/capital_gains/mt_capital_gains_tax_indiv.py +3 -1
  252. policyengine_us/variables/gov/states/mt/tax/income/capital_gains/mt_capital_gains_tax_joint.py +3 -1
  253. policyengine_us/variables/gov/states/mt/tax/income/tax_calculation/mt_regular_income_tax_indiv.py +3 -0
  254. policyengine_us/variables/gov/states/mt/tax/income/tax_calculation/mt_regular_income_tax_joint.py +3 -0
  255. policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_additions.py +8 -3
  256. policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_gross_income.py +17 -0
  257. policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_total_income.py +12 -6
  258. policyengine_us/variables/gov/states/nj/tax/income/credits/eitc/nj_eitc.py +7 -1
  259. policyengine_us/variables/gov/states/pa/dhs/tanf/eligibility/pa_tanf_disregard_eligible.py +31 -0
  260. policyengine_us/variables/gov/states/pa/dhs/tanf/eligibility/pa_tanf_eligible.py +29 -0
  261. policyengine_us/variables/gov/states/pa/dhs/tanf/eligibility/pa_tanf_income_eligible.py +16 -0
  262. policyengine_us/variables/gov/states/pa/dhs/tanf/eligibility/pa_tanf_resources_eligible.py +7 -5
  263. policyengine_us/variables/gov/states/pa/dhs/tanf/income/pa_tanf_countable_earned_income.py +15 -0
  264. policyengine_us/variables/gov/states/pa/dhs/tanf/income/pa_tanf_countable_income.py +16 -0
  265. policyengine_us/variables/gov/states/pa/dhs/tanf/income/pa_tanf_earned_income_after_deductions_person.py +27 -0
  266. policyengine_us/variables/gov/states/pa/dhs/tanf/pa_tanf.py +19 -0
  267. policyengine_us/variables/gov/states/pa/dhs/tanf/pa_tanf_county_group.py +38 -0
  268. policyengine_us/variables/gov/states/pa/dhs/tanf/pa_tanf_maximum_benefit.py +30 -0
  269. policyengine_us/variables/gov/states/pa/dhs/tanf/pa_tanf_standard_of_need.py +30 -0
  270. policyengine_us/variables/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit.py +20 -0
  271. policyengine_us/variables/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit_eligible.py +22 -0
  272. policyengine_us/variables/gov/states/wi/dcf/works/eligibility/wi_works_eligible.py +22 -0
  273. policyengine_us/variables/gov/states/wi/dcf/works/eligibility/wi_works_income_eligible.py +20 -0
  274. policyengine_us/variables/gov/states/wi/dcf/works/eligibility/wi_works_resources_eligible.py +18 -0
  275. policyengine_us/variables/gov/states/wi/dcf/works/income/wi_works_countable_income.py +18 -0
  276. policyengine_us/variables/gov/states/wi/dcf/works/resources/wi_works_countable_resources.py +21 -0
  277. policyengine_us/variables/gov/states/wi/dcf/works/wi_works.py +19 -0
  278. policyengine_us/variables/gov/states/wi/dcf/works/wi_works_placement.py +45 -0
  279. policyengine_us/variables/gov/states/wv/tax/income/credits/heptc/wv_homestead_excess_property_tax_credit.py +3 -3
  280. policyengine_us/variables/gov/states/wv/tax/income/credits/heptc/wv_homestead_excess_property_tax_credit_eligible.py +5 -2
  281. policyengine_us/variables/gov/states/wv/tax/income/credits/liftc/wv_low_income_family_tax_credit_fpg.py +1 -1
  282. policyengine_us/variables/household/expense/health/has_bcc_qualifying_coverage.py +16 -0
  283. policyengine_us/variables/household/income/person/dividends/qualified_reit_and_ptp_income.py +1 -1
  284. policyengine_us/variables/household/income/spm_unit/spm_unit_tenure_type.py +17 -0
  285. {policyengine_us-1.449.6.dist-info → policyengine_us-1.465.0.dist-info}/METADATA +2 -2
  286. {policyengine_us-1.449.6.dist-info → policyengine_us-1.465.0.dist-info}/RECORD +289 -114
  287. policyengine_us/parameters/gov/states/il/dhs/aabd/aged_age_threshold.yaml +0 -11
  288. policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/qualified_noncitizen_statuses.yaml +0 -21
  289. policyengine_us/parameters/gov/states/mo/dss/tanf/income_limit.yaml +0 -26
  290. policyengine_us/parameters/gov/states/pa/dhs/tanf/cash_assistance/age_limit.yaml +0 -11
  291. policyengine_us/parameters/gov/states/pa/dhs/tanf/pregnancy_eligibility/age_limit.yaml +0 -9
  292. policyengine_us/tests/policy/baseline/gov/states/il/dhs/aabd/eligibility/il_aabd_aged_blind_disabled_person.yaml +0 -39
  293. policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_immigration_status_eligible.yaml +0 -47
  294. policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_income_limit.yaml +0 -23
  295. policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/integation.yaml +0 -57
  296. policyengine_us/tests/policy/baseline/gov/states/pa/tanf/cash_assistance/pa_tanf_age_eligible.yaml +0 -44
  297. policyengine_us/tests/policy/baseline/gov/states/pa/tanf/pregnancy_eligibility/pa_tanf_pregnancy_eligibility.yaml +0 -59
  298. policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/dhs/tanf/eligibility/pa_tanf_resources_eligible.yaml +0 -24
  299. policyengine_us/variables/gov/states/il/dhs/aabd/eligibility/il_aabd_aged_blind_disabled_person.py +0 -22
  300. policyengine_us/variables/gov/states/mo/dss/tanf/mo_tanf_income_limit.py +0 -18
  301. policyengine_us/variables/gov/states/pa/dhs/tanf/cash_assistance/pa_tanf_age_eligible.py +0 -22
  302. policyengine_us/variables/gov/states/pa/dhs/tanf/eligibility/pa_tanf_countable_resources.py +0 -10
  303. policyengine_us/variables/gov/states/pa/dhs/tanf/eligibility/pregnancy_eligibility/age_eligibility.py +0 -22
  304. {policyengine_us-1.449.6.dist-info → policyengine_us-1.465.0.dist-info}/WHEEL +0 -0
  305. {policyengine_us-1.449.6.dist-info → policyengine_us-1.465.0.dist-info}/entry_points.txt +0 -0
  306. {policyengine_us-1.449.6.dist-info → policyengine_us-1.465.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,187 @@
1
+ - name: No childcare expenses results in zero deduction
2
+ period: 2024-01
3
+ input:
4
+ people:
5
+ person1:
6
+ age: 30
7
+ person2:
8
+ age: 5
9
+ spm_units:
10
+ spm_unit:
11
+ members: [person1, person2]
12
+ childcare_expenses: 0
13
+ households:
14
+ household:
15
+ members: [person1, person2]
16
+ state_code: MO
17
+ output:
18
+ mo_tanf_child_care_deduction: 0
19
+
20
+ - name: Childcare expenses below max for one child age 2+
21
+ period: 2024-01
22
+ input:
23
+ people:
24
+ person1:
25
+ age: 30
26
+ person2:
27
+ age: 5
28
+ spm_units:
29
+ spm_unit:
30
+ members: [person1, person2]
31
+ # $100/month * 12 = $1,200/year
32
+ childcare_expenses: 1_200
33
+ households:
34
+ household:
35
+ members: [person1, person2]
36
+ state_code: MO
37
+ output:
38
+ # Max is $175/month, actual is $100/month, so deduction is $100
39
+ mo_tanf_child_care_deduction: 100
40
+
41
+ - name: Childcare expenses at max for one child age 2+
42
+ period: 2024-01
43
+ input:
44
+ people:
45
+ person1:
46
+ age: 30
47
+ person2:
48
+ age: 5
49
+ spm_units:
50
+ spm_unit:
51
+ members: [person1, person2]
52
+ # $175/month * 12 = $2,100/year
53
+ childcare_expenses: 2_100
54
+ households:
55
+ household:
56
+ members: [person1, person2]
57
+ state_code: MO
58
+ output:
59
+ mo_tanf_child_care_deduction: 175
60
+
61
+ - name: Childcare expenses above max for one child age 2+
62
+ period: 2024-01
63
+ input:
64
+ people:
65
+ person1:
66
+ age: 30
67
+ person2:
68
+ age: 5
69
+ spm_units:
70
+ spm_unit:
71
+ members: [person1, person2]
72
+ # $300/month * 12 = $3,600/year
73
+ childcare_expenses: 3_600
74
+ households:
75
+ household:
76
+ members: [person1, person2]
77
+ state_code: MO
78
+ output:
79
+ # Max is $175/month, actual is $300/month, so deduction is capped at $175
80
+ mo_tanf_child_care_deduction: 175
81
+
82
+ - name: One child under age 2 with expenses at max
83
+ period: 2024-01
84
+ input:
85
+ people:
86
+ person1:
87
+ age: 30
88
+ person2:
89
+ age: 1
90
+ spm_units:
91
+ spm_unit:
92
+ members: [person1, person2]
93
+ # $200/month * 12 = $2,400/year
94
+ childcare_expenses: 2_400
95
+ households:
96
+ household:
97
+ members: [person1, person2]
98
+ state_code: MO
99
+ output:
100
+ # Max for under 2 is $200/month
101
+ mo_tanf_child_care_deduction: 200
102
+
103
+ - name: Mixed age children with high expenses
104
+ period: 2024-01
105
+ input:
106
+ people:
107
+ person1:
108
+ age: 30
109
+ person2:
110
+ age: 1
111
+ person3:
112
+ age: 5
113
+ spm_units:
114
+ spm_unit:
115
+ members: [person1, person2, person3]
116
+ # $500/month * 12 = $6,000/year
117
+ childcare_expenses: 6_000
118
+ households:
119
+ household:
120
+ members: [person1, person2, person3]
121
+ state_code: MO
122
+ output:
123
+ # Max is $200 (under 2) + $175 (age 2+) = $375/month
124
+ # Actual is $500/month, so capped at $375
125
+ mo_tanf_child_care_deduction: 375
126
+
127
+ - name: Mixed age children with low expenses
128
+ period: 2024-01
129
+ input:
130
+ people:
131
+ person1:
132
+ age: 30
133
+ person2:
134
+ age: 1
135
+ person3:
136
+ age: 5
137
+ spm_units:
138
+ spm_unit:
139
+ members: [person1, person2, person3]
140
+ # $250/month * 12 = $3,000/year
141
+ childcare_expenses: 3_000
142
+ households:
143
+ household:
144
+ members: [person1, person2, person3]
145
+ state_code: MO
146
+ output:
147
+ # Max is $375/month, actual is $250/month, so deduction is $250
148
+ mo_tanf_child_care_deduction: 250
149
+
150
+ - name: Child age 18 does not qualify for deduction
151
+ period: 2024-01
152
+ input:
153
+ people:
154
+ person1:
155
+ age: 40
156
+ person2:
157
+ age: 18
158
+ spm_units:
159
+ spm_unit:
160
+ members: [person1, person2]
161
+ # $200/month * 12 = $2,400/year
162
+ childcare_expenses: 2_400
163
+ households:
164
+ household:
165
+ members: [person1, person2]
166
+ state_code: MO
167
+ output:
168
+ # Max is $0 (age 18+), so no deduction even with expenses
169
+ mo_tanf_child_care_deduction: 0
170
+
171
+ - name: No children results in zero deduction
172
+ period: 2024-01
173
+ input:
174
+ people:
175
+ person1:
176
+ age: 30
177
+ spm_units:
178
+ spm_unit:
179
+ members: [person1]
180
+ # $200/month * 12 = $2,400/year
181
+ childcare_expenses: 2_400
182
+ households:
183
+ household:
184
+ members: [person1]
185
+ state_code: MO
186
+ output:
187
+ mo_tanf_child_care_deduction: 0
@@ -0,0 +1,49 @@
1
+ - name: No income results in zero countable income
2
+ period: 2024-01
3
+ input:
4
+ state_code: MO
5
+ tanf_gross_earned_income: 0
6
+ tanf_gross_unearned_income: 0
7
+ mo_tanf_earned_income_deductions: 0
8
+ output:
9
+ mo_tanf_countable_income: 0
10
+
11
+ - name: Unearned income only counts fully
12
+ period: 2024-01
13
+ input:
14
+ state_code: MO
15
+ tanf_gross_earned_income: 0
16
+ tanf_gross_unearned_income: 500
17
+ mo_tanf_earned_income_deductions: 0
18
+ output:
19
+ mo_tanf_countable_income: 500
20
+
21
+ - name: Earned income reduced by deductions
22
+ period: 2024-01
23
+ input:
24
+ state_code: MO
25
+ tanf_gross_earned_income: 800
26
+ tanf_gross_unearned_income: 0
27
+ mo_tanf_earned_income_deductions: 300
28
+ output:
29
+ mo_tanf_countable_income: 500
30
+
31
+ - name: Combined earned and unearned income
32
+ period: 2024-01
33
+ input:
34
+ state_code: MO
35
+ tanf_gross_earned_income: 1_000
36
+ tanf_gross_unearned_income: 200
37
+ mo_tanf_earned_income_deductions: 400
38
+ output:
39
+ mo_tanf_countable_income: 800
40
+
41
+ - name: Deductions cannot reduce below zero
42
+ period: 2024-01
43
+ input:
44
+ state_code: MO
45
+ tanf_gross_earned_income: 100
46
+ tanf_gross_unearned_income: 0
47
+ mo_tanf_earned_income_deductions: 200
48
+ output:
49
+ mo_tanf_countable_income: 0
@@ -0,0 +1,53 @@
1
+ - name: No earned income
2
+ period: 2024-01
3
+ input:
4
+ state_code: MO
5
+ tanf_gross_earned_income: 0
6
+ mo_tanf_child_care_deduction: 0
7
+ output:
8
+ mo_tanf_earned_income_deductions: 0
9
+
10
+ - name: Earned income below $90
11
+ period: 2024-01
12
+ input:
13
+ state_code: MO
14
+ tanf_gross_earned_income: 50
15
+ mo_tanf_child_care_deduction: 0
16
+ output:
17
+ mo_tanf_earned_income_deductions: 80
18
+
19
+ - name: Earned income at $90
20
+ period: 2024-01
21
+ input:
22
+ state_code: MO
23
+ tanf_gross_earned_income: 90
24
+ mo_tanf_child_care_deduction: 0
25
+ output:
26
+ mo_tanf_earned_income_deductions: 120
27
+
28
+ - name: Earned income above $90 with 1/3 disregard
29
+ period: 2024-01
30
+ input:
31
+ state_code: MO
32
+ tanf_gross_earned_income: 500
33
+ mo_tanf_child_care_deduction: 0
34
+ output:
35
+ mo_tanf_earned_income_deductions: 255.3
36
+
37
+ - name: With child care deduction
38
+ period: 2024-01
39
+ input:
40
+ state_code: MO
41
+ tanf_gross_earned_income: 500
42
+ mo_tanf_child_care_deduction: 175
43
+ output:
44
+ mo_tanf_earned_income_deductions: 430.3
45
+
46
+ - name: High earned income
47
+ period: 2024-01
48
+ input:
49
+ state_code: MO
50
+ tanf_gross_earned_income: 1_000
51
+ mo_tanf_child_care_deduction: 350
52
+ output:
53
+ mo_tanf_earned_income_deductions: 770.3
@@ -0,0 +1,59 @@
1
+ - name: Eligible when all conditions met
2
+ period: 2024-01
3
+ input:
4
+ state_code: MO
5
+ is_person_demographic_tanf_eligible: true
6
+ mo_tanf_income_eligible: true
7
+ mo_tanf_resources_eligible: true
8
+ output:
9
+ mo_tanf_eligible: true
10
+
11
+ - name: Ineligible when not in Missouri
12
+ period: 2024-01
13
+ input:
14
+ state_code: NY
15
+ is_person_demographic_tanf_eligible: true
16
+ mo_tanf_income_eligible: true
17
+ mo_tanf_resources_eligible: true
18
+ output:
19
+ mo_tanf_eligible: false
20
+
21
+ - name: Ineligible when not demographically eligible
22
+ period: 2024-01
23
+ input:
24
+ state_code: MO
25
+ is_person_demographic_tanf_eligible: false
26
+ mo_tanf_income_eligible: true
27
+ mo_tanf_resources_eligible: true
28
+ output:
29
+ mo_tanf_eligible: false
30
+
31
+ - name: Ineligible when not income eligible
32
+ period: 2024-01
33
+ input:
34
+ state_code: MO
35
+ is_person_demographic_tanf_eligible: true
36
+ mo_tanf_income_eligible: false
37
+ mo_tanf_resources_eligible: true
38
+ output:
39
+ mo_tanf_eligible: false
40
+
41
+ - name: Ineligible when resources exceed limit
42
+ period: 2024-01
43
+ input:
44
+ state_code: MO
45
+ is_person_demographic_tanf_eligible: true
46
+ mo_tanf_income_eligible: true
47
+ mo_tanf_resources_eligible: false
48
+ output:
49
+ mo_tanf_eligible: false
50
+
51
+ - name: Ineligible when all conditions fail
52
+ period: 2024-01
53
+ input:
54
+ state_code: NY
55
+ is_person_demographic_tanf_eligible: false
56
+ mo_tanf_income_eligible: false
57
+ mo_tanf_resources_eligible: false
58
+ output:
59
+ mo_tanf_eligible: false
@@ -0,0 +1,29 @@
1
+ - name: Passes when gross income below 185% limit
2
+ period: 2024-01
3
+ input:
4
+ state_code: MO
5
+ tanf_gross_earned_income: 500
6
+ tanf_gross_unearned_income: 0
7
+ mo_tanf_standard_of_need: 846
8
+ output:
9
+ mo_tanf_gross_income_eligible: true
10
+
11
+ - name: Passes at 185% limit
12
+ period: 2024-01
13
+ input:
14
+ state_code: MO
15
+ tanf_gross_earned_income: 1_500
16
+ tanf_gross_unearned_income: 65
17
+ mo_tanf_standard_of_need: 846
18
+ output:
19
+ mo_tanf_gross_income_eligible: true
20
+
21
+ - name: Fails when gross income exceeds 185% limit
22
+ period: 2024-01
23
+ input:
24
+ state_code: MO
25
+ tanf_gross_earned_income: 1_500
26
+ tanf_gross_unearned_income: 100
27
+ mo_tanf_standard_of_need: 846
28
+ output:
29
+ mo_tanf_gross_income_eligible: false
@@ -0,0 +1,49 @@
1
+ - name: Eligible when all three income tests pass
2
+ period: 2024-01
3
+ input:
4
+ state_code: MO
5
+ mo_tanf_gross_income_eligible: true
6
+ mo_tanf_standard_of_need_test: true
7
+ mo_tanf_percentage_of_need_test: true
8
+ output:
9
+ mo_tanf_income_eligible: true
10
+
11
+ - name: Ineligible when 185% test fails
12
+ period: 2024-01
13
+ input:
14
+ state_code: MO
15
+ mo_tanf_gross_income_eligible: false
16
+ mo_tanf_standard_of_need_test: true
17
+ mo_tanf_percentage_of_need_test: true
18
+ output:
19
+ mo_tanf_income_eligible: false
20
+
21
+ - name: Ineligible when standard of need test fails
22
+ period: 2024-01
23
+ input:
24
+ state_code: MO
25
+ mo_tanf_gross_income_eligible: true
26
+ mo_tanf_standard_of_need_test: false
27
+ mo_tanf_percentage_of_need_test: true
28
+ output:
29
+ mo_tanf_income_eligible: false
30
+
31
+ - name: Ineligible when percentage of need test fails
32
+ period: 2024-01
33
+ input:
34
+ state_code: MO
35
+ mo_tanf_gross_income_eligible: true
36
+ mo_tanf_standard_of_need_test: true
37
+ mo_tanf_percentage_of_need_test: false
38
+ output:
39
+ mo_tanf_income_eligible: false
40
+
41
+ - name: Ineligible when all tests fail
42
+ period: 2024-01
43
+ input:
44
+ state_code: MO
45
+ mo_tanf_gross_income_eligible: false
46
+ mo_tanf_standard_of_need_test: false
47
+ mo_tanf_percentage_of_need_test: false
48
+ output:
49
+ mo_tanf_income_eligible: false
@@ -0,0 +1,47 @@
1
+ - name: Family of 1 maximum benefit
2
+ period: 2024-01
3
+ input:
4
+ state_code: MO
5
+ mo_tanf_standard_of_need: 393
6
+ output:
7
+ mo_tanf_maximum_benefit: 135.687
8
+
9
+ - name: Family of 2 maximum benefit
10
+ period: 2024-01
11
+ input:
12
+ state_code: MO
13
+ mo_tanf_standard_of_need: 678
14
+ output:
15
+ mo_tanf_maximum_benefit: 234.086
16
+
17
+ - name: Family of 3 maximum benefit
18
+ period: 2024-01
19
+ input:
20
+ state_code: MO
21
+ mo_tanf_standard_of_need: 846
22
+ output:
23
+ mo_tanf_maximum_benefit: 292.09
24
+
25
+ - name: Family of 4 maximum benefit
26
+ period: 2024-01
27
+ input:
28
+ state_code: MO
29
+ mo_tanf_standard_of_need: 990
30
+ output:
31
+ mo_tanf_maximum_benefit: 341.807
32
+
33
+ - name: Family of 5 maximum benefit
34
+ period: 2024-01
35
+ input:
36
+ state_code: MO
37
+ mo_tanf_standard_of_need: 1_123
38
+ output:
39
+ mo_tanf_maximum_benefit: 387.727
40
+
41
+ - name: Family of 6 maximum benefit
42
+ period: 2024-01
43
+ input:
44
+ state_code: MO
45
+ mo_tanf_standard_of_need: 1_247
46
+ output:
47
+ mo_tanf_maximum_benefit: 430.539
@@ -0,0 +1,53 @@
1
+ - name: Passes when countable income below 34.526% of need
2
+ period: 2024-01
3
+ input:
4
+ state_code: MO
5
+ mo_tanf_countable_income: 200
6
+ mo_tanf_standard_of_need: 846
7
+ output:
8
+ mo_tanf_percentage_of_need_test: true # 200 < 846 * 0.34526 = 292.09
9
+
10
+ - name: Passes when countable income just below limit
11
+ period: 2024-01
12
+ input:
13
+ state_code: MO
14
+ mo_tanf_countable_income: 292
15
+ mo_tanf_standard_of_need: 846
16
+ output:
17
+ mo_tanf_percentage_of_need_test: true # 292 < 292.09
18
+
19
+ - name: Fails when countable income equals limit
20
+ period: 2024-01
21
+ input:
22
+ state_code: MO
23
+ mo_tanf_countable_income: 293
24
+ mo_tanf_standard_of_need: 846
25
+ output:
26
+ mo_tanf_percentage_of_need_test: false # 293 > 292.09
27
+
28
+ - name: Fails when countable income exceeds limit
29
+ period: 2024-01
30
+ input:
31
+ state_code: MO
32
+ mo_tanf_countable_income: 300
33
+ mo_tanf_standard_of_need: 846
34
+ output:
35
+ mo_tanf_percentage_of_need_test: false
36
+
37
+ - name: Passes for family of 1 below limit
38
+ period: 2024-01
39
+ input:
40
+ state_code: MO
41
+ mo_tanf_countable_income: 100
42
+ mo_tanf_standard_of_need: 393
43
+ output:
44
+ mo_tanf_percentage_of_need_test: true # 100 < 393 * 0.34526 = 135.67
45
+
46
+ - name: Fails for family of 1 above limit
47
+ period: 2024-01
48
+ input:
49
+ state_code: MO
50
+ mo_tanf_countable_income: 140
51
+ mo_tanf_standard_of_need: 393
52
+ output:
53
+ mo_tanf_percentage_of_need_test: false # 140 > 135.67
@@ -0,0 +1,23 @@
1
+ - name: Eligible with resources below limit
2
+ period: 2024-01
3
+ input:
4
+ state_code: MO
5
+ spm_unit_cash_assets: 500
6
+ output:
7
+ mo_tanf_resources_eligible: true
8
+
9
+ - name: Eligible with resources at limit
10
+ period: 2024-01
11
+ input:
12
+ state_code: MO
13
+ spm_unit_cash_assets: 1_000
14
+ output:
15
+ mo_tanf_resources_eligible: true
16
+
17
+ - name: Ineligible with resources above limit
18
+ period: 2024-01
19
+ input:
20
+ state_code: MO
21
+ spm_unit_cash_assets: 1_001
22
+ output:
23
+ mo_tanf_resources_eligible: false
@@ -0,0 +1,71 @@
1
+ - name: Family of 1 receives $393/month standard ($4716/year)
2
+ period: 2024
3
+ input:
4
+ state_code: MO
5
+ spm_unit_size: 1
6
+ output:
7
+ mo_tanf_standard_of_need: 4_716 # 393 * 12
8
+
9
+ - name: Family of 2 receives $678/month standard ($8136/year)
10
+ period: 2024
11
+ input:
12
+ state_code: MO
13
+ spm_unit_size: 2
14
+ output:
15
+ mo_tanf_standard_of_need: 8_136 # 678 * 12
16
+
17
+ - name: Family of 3 receives $846/month standard ($10152/year)
18
+ period: 2024
19
+ input:
20
+ state_code: MO
21
+ spm_unit_size: 3
22
+ output:
23
+ mo_tanf_standard_of_need: 10_152 # 846 * 12
24
+
25
+ - name: Family of 4 receives $990/month standard ($11880/year)
26
+ period: 2024
27
+ input:
28
+ state_code: MO
29
+ spm_unit_size: 4
30
+ output:
31
+ mo_tanf_standard_of_need: 11_880 # 990 * 12
32
+
33
+ - name: Family of 5 receives $1123/month standard ($13476/year)
34
+ period: 2024
35
+ input:
36
+ state_code: MO
37
+ spm_unit_size: 5
38
+ output:
39
+ mo_tanf_standard_of_need: 13_476 # 1123 * 12
40
+
41
+ - name: Family of 6 receives $1247/month standard ($14964/year)
42
+ period: 2024
43
+ input:
44
+ state_code: MO
45
+ spm_unit_size: 6
46
+ output:
47
+ mo_tanf_standard_of_need: 14_964 # 1247 * 12
48
+
49
+ - name: Family of 10 receives $1722/month standard ($20664/year)
50
+ period: 2024
51
+ input:
52
+ state_code: MO
53
+ spm_unit_size: 10
54
+ output:
55
+ mo_tanf_standard_of_need: 20_664 # 1722 * 12
56
+
57
+ - name: Family of 12 receives $1956/month standard ($23472/year)
58
+ period: 2024
59
+ input:
60
+ state_code: MO
61
+ spm_unit_size: 12
62
+ output:
63
+ mo_tanf_standard_of_need: 23_472 # 1956 * 12
64
+
65
+ - name: Family of 13 adds $116/month per person ($24864/year)
66
+ period: 2024
67
+ input:
68
+ state_code: MO
69
+ spm_unit_size: 13
70
+ output:
71
+ mo_tanf_standard_of_need: 24_864 # (1956 + 116) * 12 = 2072 * 12
@@ -0,0 +1,44 @@
1
+ - name: Passes when income below standard of need
2
+ period: 2024-01
3
+ input:
4
+ state_code: MO
5
+ mo_tanf_income_for_need_test: 500
6
+ mo_tanf_standard_of_need: 846
7
+ output:
8
+ mo_tanf_standard_of_need_test: true
9
+
10
+ - name: Passes when income just below standard of need
11
+ period: 2024-01
12
+ input:
13
+ state_code: MO
14
+ mo_tanf_income_for_need_test: 845
15
+ mo_tanf_standard_of_need: 846
16
+ output:
17
+ mo_tanf_standard_of_need_test: true
18
+
19
+ - name: Fails when income equals standard of need
20
+ period: 2024-01
21
+ input:
22
+ state_code: MO
23
+ mo_tanf_income_for_need_test: 846
24
+ mo_tanf_standard_of_need: 846
25
+ output:
26
+ mo_tanf_standard_of_need_test: false
27
+
28
+ - name: Fails when income exceeds standard of need
29
+ period: 2024-01
30
+ input:
31
+ state_code: MO
32
+ mo_tanf_income_for_need_test: 900
33
+ mo_tanf_standard_of_need: 846
34
+ output:
35
+ mo_tanf_standard_of_need_test: false
36
+
37
+ - name: Passes for family of 1 below need
38
+ period: 2024-01
39
+ input:
40
+ state_code: MO
41
+ mo_tanf_income_for_need_test: 300
42
+ mo_tanf_standard_of_need: 393
43
+ output:
44
+ mo_tanf_standard_of_need_test: true
@@ -342,3 +342,32 @@
342
342
  state_fips: 30
343
343
  output:
344
344
  mt_income_tax: 2_207
345
+
346
+ - name: MT no income tax with negative capital gains (issue 6947)
347
+ absolute_error_margin: 0.01
348
+ period: 2024
349
+ input:
350
+ people:
351
+ person1:
352
+ is_tax_unit_head: true
353
+ age: 40
354
+ long_term_capital_gains: -8_159.1215
355
+ short_term_capital_gains: -3_253.09815
356
+ person2:
357
+ is_tax_unit_spouse: true
358
+ age: 40
359
+ long_term_capital_gains: -8_159.1215
360
+ short_term_capital_gains: -3_253.09815
361
+ tax_units:
362
+ tax_unit:
363
+ members: [person1, person2]
364
+ spm_units:
365
+ spm_unit:
366
+ members: [person1, person2]
367
+ households:
368
+ household:
369
+ members: [person1, person2]
370
+ state_fips: 30
371
+ output:
372
+ adjusted_gross_income: -3_000
373
+ mt_income_tax: 0