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.
- policyengine_us/parameters/gov/contrib/aca/ptc_700_fpl_cliff/brackets.yaml +52 -0
- policyengine_us/parameters/gov/contrib/aca/ptc_700_fpl_cliff/in_effect.yaml +9 -0
- policyengine_us/parameters/gov/contrib/aca/ptc_700_fpl_cliff/income_eligibility.yaml +27 -0
- policyengine_us/parameters/gov/contrib/states/de/dependent_credit/age_limit/in_effect.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/de/dependent_credit/age_limit/threshold.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/de/dependent_credit/amount.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/de/dependent_credit/in_effect.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/de/dependent_credit/phaseout/rate.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/de/dependent_credit/phaseout/threshold.yaml +23 -0
- policyengine_us/parameters/gov/hhs/medicare/savings_programs/eligibility/asset/applies.yaml +115 -0
- policyengine_us/parameters/gov/hhs/medicare/savings_programs/eligibility/asset/couple.yaml +14 -0
- policyengine_us/parameters/gov/hhs/medicare/savings_programs/eligibility/asset/individual.yaml +14 -0
- policyengine_us/parameters/gov/hhs/medicare/savings_programs/eligibility/income/qi/fpl_limit.yaml +14 -0
- policyengine_us/parameters/gov/hhs/medicare/savings_programs/eligibility/income/qmb/fpl_limit.yaml +18 -0
- policyengine_us/parameters/gov/hhs/medicare/savings_programs/eligibility/income/slmb/fpl_limit.yaml +15 -0
- policyengine_us/parameters/gov/irs/deductions/qbi/max/reit_ptp_rate.yaml +13 -0
- policyengine_us/parameters/gov/states/az/tax/income/credits/property_tax/income_sources.yaml +17 -9
- policyengine_us/parameters/gov/states/ca/chhs/medi_cal_enrollment_freeze/in_effect.yaml +12 -0
- policyengine_us/parameters/gov/states/hi/tax/income/credits/food_excise_tax/amount/head_of_household.yaml +1 -1
- policyengine_us/parameters/gov/states/hi/tax/income/credits/food_excise_tax/amount/joint.yaml +1 -1
- policyengine_us/parameters/gov/states/hi/tax/income/credits/food_excise_tax/amount/separate.yaml +1 -1
- policyengine_us/parameters/gov/states/hi/tax/income/credits/food_excise_tax/amount/single.yaml +1 -1
- policyengine_us/parameters/gov/states/hi/tax/income/credits/food_excise_tax/amount/surviving_spouse.yaml +1 -1
- policyengine_us/parameters/gov/states/ia/tax/income/credits/child_care/fraction.yaml +1 -1
- policyengine_us/parameters/gov/states/il/dhs/aabd/asset/sources.yaml +0 -1
- policyengine_us/parameters/gov/states/il/dhs/aabd/{qualified_noncitizen_status.yaml → qualified_noncitizen_statuses.yaml} +3 -5
- policyengine_us/parameters/gov/states/il/dhs/tanf/{qualified_noncitizen_status.yaml → qualified_noncitizen_statuses.yaml} +2 -2
- policyengine_us/parameters/gov/states/il/hfs/bcc/eligibility/age.yaml +12 -0
- policyengine_us/parameters/gov/states/il/hfs/fpp/eligibility/household_size.yaml +14 -0
- policyengine_us/parameters/gov/states/il/hfs/fpp/eligibility/income_limit.yaml +15 -0
- policyengine_us/parameters/gov/states/il/hfs/mpe/eligibility/income_limit.yaml +13 -0
- policyengine_us/parameters/gov/states/il/hfs/qualified_noncitizen_statuses.yaml +17 -0
- policyengine_us/parameters/gov/states/mi/tax/income/household_resources.yaml +1 -1
- policyengine_us/parameters/gov/states/mo/dss/tanf/child_care_deduction/amount.yaml +27 -0
- policyengine_us/parameters/gov/states/mo/dss/tanf/earned_income_disregard/amount.yaml +14 -0
- policyengine_us/parameters/gov/states/mo/dss/tanf/earned_income_disregard/thirty_only/amount.yaml +14 -0
- policyengine_us/parameters/gov/states/mo/dss/tanf/earned_income_disregard/thirty_plus_one_third/flat_amount.yaml +14 -0
- policyengine_us/parameters/gov/states/mo/dss/tanf/earned_income_disregard/thirty_plus_one_third/percentage.yaml +14 -0
- policyengine_us/parameters/gov/states/mo/dss/tanf/earned_income_disregard/two_thirds_disregard/percentage.yaml +14 -0
- policyengine_us/parameters/gov/states/mo/dss/tanf/income_limit/max_table_size.yaml +12 -0
- policyengine_us/parameters/gov/states/mo/dss/tanf/income_limit/rate.yaml +14 -0
- policyengine_us/parameters/gov/states/mo/dss/tanf/maximum_benefit/percentage.yaml +14 -0
- policyengine_us/parameters/gov/states/mo/dss/tanf/minimum_payment.yaml +12 -0
- policyengine_us/parameters/gov/states/mo/dss/tanf/resource_limit/amount.yaml +14 -0
- policyengine_us/parameters/gov/states/mo/dss/tanf/standard_of_need/additional_person_increment.yaml +12 -0
- policyengine_us/parameters/gov/states/mo/dss/tanf/standard_of_need/amount.yaml +38 -0
- policyengine_us/parameters/gov/states/mo/dss/tanf/standard_of_need/base_table_max_size.yaml +12 -0
- policyengine_us/parameters/gov/states/nj/tax/income/additions.yaml +12 -0
- policyengine_us/parameters/gov/states/nj/tax/income/gross_income_sources.yaml +32 -0
- policyengine_us/parameters/gov/states/pa/dhs/tanf/county_group/group_1.yaml +19 -0
- policyengine_us/parameters/gov/states/pa/dhs/tanf/county_group/group_2.yaml +44 -0
- policyengine_us/parameters/gov/states/pa/dhs/tanf/county_group/group_3.yaml +31 -0
- policyengine_us/parameters/gov/states/pa/dhs/tanf/county_group/group_4.yaml +29 -0
- policyengine_us/parameters/gov/states/pa/dhs/tanf/family_size_allowance/additional_person.yaml +14 -0
- policyengine_us/parameters/gov/states/pa/dhs/tanf/family_size_allowance/amount.yaml +69 -0
- policyengine_us/parameters/gov/states/pa/dhs/tanf/income/deductions/earned_income_disregard/percentage.yaml +14 -0
- policyengine_us/parameters/gov/states/pa/dhs/tanf/income/deductions/work_expense/additional.yaml +15 -0
- policyengine_us/parameters/gov/states/pa/dhs/tanf/income/deductions/work_expense/initial.yaml +14 -0
- policyengine_us/parameters/gov/states/pa/dhs/tanf/max_family_size_in_table.yaml +12 -0
- policyengine_us/parameters/gov/states/pa/dhs/tanf/resource_limit.yaml +7 -6
- policyengine_us/parameters/gov/states/pa/dhs/tanf/standard_of_need/additional_person.yaml +14 -0
- policyengine_us/parameters/gov/states/pa/dhs/tanf/standard_of_need/amount.yaml +69 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/amount.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/max_agi.yaml +6 -2
- policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/max_child_age.yaml +6 -2
- policyengine_us/parameters/gov/states/ut/tax/income/credits/at_home_parent/parent_max_earnings.yaml +6 -2
- policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/amount.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/child_age_threshold.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/reduction/rate.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/ctc/reduction/start.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/earned_income/rate.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/military_retirement/rate.yaml +26 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/non_refundable.yaml +5 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/birth_year.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/max.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/phase_out/rate.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/retirement/phase_out/threshold.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/ss_benefits/phase_out/rate.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/ss_benefits/phase_out/threshold.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/in_effect.yaml +2 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/personal_exemption.yaml +5 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/rate.yaml +5 -1
- policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/threshold.yaml +9 -0
- policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/rate.yaml +4 -0
- policyengine_us/parameters/gov/states/ut/tax/income/rate.yaml +3 -0
- policyengine_us/parameters/gov/states/wi/dcf/README.md +1 -0
- policyengine_us/parameters/gov/states/wi/dcf/works/README.md +1 -0
- policyengine_us/parameters/gov/states/wi/dcf/works/asset/limit.yaml +16 -0
- policyengine_us/parameters/gov/states/wi/dcf/works/asset/vehicle_exclusion.yaml +14 -0
- policyengine_us/parameters/gov/states/wi/dcf/works/income_limit/rate.yaml +16 -0
- policyengine_us/parameters/gov/states/wi/dcf/works/placement/amount.yaml +30 -0
- policyengine_us/parameters/gov/states/wi/dcf/works/placement/arp_pregnancy_month_threshold.yaml +14 -0
- policyengine_us/parameters/gov/states/wi/dcf/works/placement/cmc_infant_age_limit.yaml +15 -0
- policyengine_us/reforms/aca/__init__.py +3 -0
- policyengine_us/reforms/aca/aca_ptc_700_fpl_cliff.py +125 -0
- policyengine_us/reforms/reforms.py +12 -0
- policyengine_us/reforms/state_dependent_exemptions/repeal_state_dependent_exemptions.py +1 -1
- policyengine_us/reforms/states/de/__init__.py +3 -0
- policyengine_us/reforms/states/de/dependent_credit/de_dependent_credit_reform.py +165 -0
- policyengine_us/tests/policy/baseline/gov/hhs/medicaid/medicaid_enrolled.yaml +105 -0
- policyengine_us/tests/policy/baseline/gov/hhs/medicare/savings_programs/category/msp_category.yaml +69 -0
- policyengine_us/tests/policy/baseline/gov/hhs/medicare/savings_programs/eligibility/msp_eligible.yaml +62 -0
- policyengine_us/tests/policy/baseline/gov/hhs/medicare/savings_programs/income/msp_fpg.yaml +22 -0
- policyengine_us/tests/policy/baseline/gov/hhs/medicare/savings_programs/integration.yaml +84 -0
- policyengine_us/tests/policy/baseline/gov/hhs/medicare/savings_programs/msp_benefit_value.yaml +62 -0
- 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
- 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
- policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/deductions/qbid/qbid_amount.yaml +75 -3
- policyengine_us/tests/policy/baseline/gov/local/ca/la/general_relief/eligible/immigration/la_general_relief_immigration_status_eligible_person.yaml +2 -2
- policyengine_us/tests/policy/baseline/gov/ssa/revenue/tob_revenue_medicare_hi.yaml +105 -0
- policyengine_us/tests/policy/baseline/gov/ssa/revenue/tob_revenue_oasdi.yaml +86 -0
- policyengine_us/tests/policy/baseline/gov/ssa/revenue/tob_revenue_total.yaml +19 -0
- policyengine_us/tests/policy/baseline/gov/ssa/revenue/tob_tier_split.yaml +90 -0
- policyengine_us/tests/policy/baseline/gov/states/az/tax/income/az_property_tax_credit_agi.yaml +58 -0
- policyengine_us/tests/policy/baseline/gov/states/az/tax/income/integration.yaml +28 -0
- policyengine_us/tests/policy/baseline/gov/states/ca/chhs/is_ca_medicaid_immigration_status_eligible.yaml +59 -5
- policyengine_us/tests/policy/baseline/gov/states/dc/tax/income/dc_ptc.yaml +27 -0
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/food_excise/hi_food_excise_credit.yaml +29 -1
- policyengine_us/tests/policy/baseline/gov/states/ia/tax/income/ia_cdcc.yaml +3 -3
- policyengine_us/tests/policy/baseline/gov/states/ia/tax/income/ia_integration.yaml +31 -1
- policyengine_us/tests/policy/baseline/gov/states/il/dhs/aabd/eligibility/il_aabd_non_financial_eligible_person.yaml +6 -6
- policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/eligibility/il_tanf_immigration_status_eligible_person.yaml +2 -10
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/bcc/eligibility/il_bcc_age_eligible.yaml +39 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/bcc/eligibility/il_bcc_eligible.yaml +95 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/bcc/eligibility/il_bcc_insurance_eligible.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/fpp/il_fpp_income_eligible.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/fpp/il_fpp_income_level.yaml +27 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/fpp/integration.yaml +116 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_disability_eligible.yaml +18 -5
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_eligible.yaml +5 -5
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/integration.yaml +8 -8
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/il_hfs_immigration_status_eligible.yaml +47 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/mpe/il_mpe_eligible.yaml +39 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/mpe/il_mpe_income_eligible.yaml +23 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/mpe/integration.yaml +138 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/smib/eligibility/il_smib_eligible.yaml +88 -0
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/smib/integration.yaml +73 -0
- policyengine_us/tests/policy/baseline/gov/states/ky/tax/income/credits/family_size_tax_credit/ky_family_size_tax_credit_rate.yaml +8 -8
- policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/gross_income/integration.yaml +28 -0
- policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/integration.yaml +87 -0
- policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/me_dependent_exemption_credit_amount_person.yaml +3 -2
- policyengine_us/tests/policy/baseline/gov/states/mi/tax/income/credits/home_heating/mi_home_heating_credit.yaml +87 -0
- policyengine_us/tests/policy/baseline/gov/states/mi/tax/income/mi_household_resources.yaml +57 -0
- policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/integration.yaml +275 -0
- policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf.yaml +60 -0
- policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_child_care_deduction.yaml +187 -0
- policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_countable_income.yaml +49 -0
- policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_earned_income_deductions.yaml +53 -0
- policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_eligible.yaml +59 -0
- policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_gross_income_eligible.yaml +29 -0
- policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_income_eligible.yaml +49 -0
- policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_maximum_benefit.yaml +47 -0
- policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_percentage_of_need_test.yaml +53 -0
- policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_resources_eligible.yaml +23 -0
- policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_standard_of_need.yaml +71 -0
- policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_standard_of_need_test.yaml +44 -0
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/integration.yaml +29 -0
- policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/credits/eitc/nj_eitc.yaml +8 -3
- policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/integration.yaml +137 -0
- policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/taxable_income/nj_agi.yaml +7 -8
- policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/eligibility/pa_tanf_disregard_eligible.yaml +114 -0
- policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/eligibility/pa_tanf_eligible.yaml +65 -0
- policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/eligibility/pa_tanf_income_eligible.yaml +62 -0
- policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/eligibility/pa_tanf_resources_eligible.yaml +47 -0
- policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/income/pa_tanf_earned_income_after_deductions_person.yaml +81 -0
- policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/integration.yaml +386 -0
- policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/pa_tanf.yaml +53 -0
- policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/pa_tanf_county_group.yaml +63 -0
- policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/pa_tanf_maximum_benefit.yaml +92 -0
- policyengine_us/tests/policy/baseline/gov/states/pa/dhs/tanf/pa_tanf_standard_of_need.yaml +73 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_categorically_eligible_person.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit.yaml +89 -0
- policyengine_us/tests/policy/baseline/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit_eligible.yaml +50 -0
- policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/integration.yaml +282 -0
- policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works.yaml +50 -0
- policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works_countable_income.yaml +49 -0
- policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works_countable_resources.yaml +54 -0
- policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works_eligible.yaml +61 -0
- policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works_income_eligible.yaml +43 -0
- policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works_placement.yaml +111 -0
- policyengine_us/tests/policy/baseline/gov/states/wi/dcf/works/wi_works_resources_eligible.yaml +38 -0
- policyengine_us/tests/policy/baseline/gov/states/wv/tax/income/credits/heptc/wv_homestead_excess_property_tax_credit.yaml +31 -0
- policyengine_us/tests/policy/baseline/gov/states/wv/tax/income/credits/liftc/wv_low_income_family_tax_credit_fpg.yaml +10 -6
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_agi.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_agi_person.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/usda/snap/snap_min_allotment.yaml +3 -3
- policyengine_us/tests/policy/baseline/household/expense/health/has_bcc_qualifying_coverage.yaml +12 -0
- policyengine_us/tests/policy/contrib/aca/ptc_700_fpl_cliff.yaml +136 -0
- policyengine_us/tests/policy/contrib/state_dependent_exemptions/repeal_state_dependent_exemptions.yaml +25 -1
- policyengine_us/tests/policy/contrib/states/de/dependent_credit_reform_test.yaml +210 -0
- policyengine_us/tests/test_batched.py +39 -68
- policyengine_us/variables/gov/hhs/medicaid/costs/medicaid_group.py +2 -2
- policyengine_us/variables/gov/hhs/medicaid/receives_medicaid.py +17 -0
- policyengine_us/variables/gov/hhs/medicare/savings_programs/category/is_qi_eligible.py +33 -0
- policyengine_us/variables/gov/hhs/medicare/savings_programs/category/is_qmb_eligible.py +28 -0
- policyengine_us/variables/gov/hhs/medicare/savings_programs/category/is_slmb_eligible.py +33 -0
- policyengine_us/variables/gov/hhs/medicare/savings_programs/category/msp_category.py +33 -0
- policyengine_us/variables/gov/hhs/medicare/savings_programs/eligibility/msp_asset_eligible.py +26 -0
- policyengine_us/variables/gov/hhs/medicare/savings_programs/eligibility/msp_eligible.py +20 -0
- policyengine_us/variables/gov/hhs/medicare/savings_programs/eligibility/msp_income_eligible.py +26 -0
- policyengine_us/variables/gov/hhs/medicare/savings_programs/income/msp_countable_income.py +35 -0
- policyengine_us/variables/gov/hhs/medicare/savings_programs/income/msp_fpg.py +40 -0
- policyengine_us/variables/gov/hhs/medicare/savings_programs/msp.py +15 -0
- policyengine_us/variables/gov/hhs/medicare/savings_programs/msp_benefit_value.py +37 -0
- policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/taxable_social_security_tier_1.py +58 -0
- policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/taxable_social_security_tier_2.py +17 -0
- policyengine_us/variables/gov/irs/income/taxable_income/deductions/qualified_business_income_deduction/qbid_amount.py +16 -6
- policyengine_us/variables/gov/simulation/labor_supply_response/labor_supply_behavioral_response.py +57 -42
- policyengine_us/variables/gov/ssa/revenue/tob_revenue_medicare_hi.py +31 -0
- policyengine_us/variables/gov/ssa/revenue/tob_revenue_oasdi.py +31 -0
- policyengine_us/variables/gov/ssa/revenue/tob_revenue_total.py +44 -0
- policyengine_us/variables/gov/states/az/tax/income/credits/property_tax_credit/az_property_tax_credit_agi.py +53 -0
- policyengine_us/variables/gov/states/ca/chhs/is_ca_medicaid_immigration_status_eligible.py +25 -4
- policyengine_us/variables/gov/states/dc/tax/income/credits/dc_ptc.py +7 -3
- policyengine_us/variables/gov/states/ia/tax/income/credits/ia_cdcc.py +4 -2
- policyengine_us/variables/gov/states/il/dhs/aabd/eligibility/il_aabd_immigration_status_eligible_person.py +1 -1
- policyengine_us/variables/gov/states/il/dhs/aabd/eligibility/il_aabd_non_financial_eligible_person.py +23 -5
- policyengine_us/variables/gov/states/il/dhs/tanf/eligibility/il_tanf_immigration_status_eligible_person.py +1 -1
- policyengine_us/variables/gov/states/il/hfs/bcc/eligibility/il_bcc_age_eligible.py +15 -0
- policyengine_us/variables/gov/states/il/hfs/bcc/eligibility/il_bcc_eligible.py +27 -0
- policyengine_us/variables/gov/states/il/hfs/bcc/eligibility/il_bcc_insurance_eligible.py +29 -0
- policyengine_us/variables/gov/states/il/hfs/fpp/eligibility/il_fpp_eligible.py +40 -0
- policyengine_us/variables/gov/states/il/hfs/fpp/eligibility/il_fpp_income_eligible.py +18 -0
- policyengine_us/variables/gov/states/il/hfs/fpp/il_fpp_income_level.py +29 -0
- policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_disability_eligible.py +7 -3
- policyengine_us/variables/gov/states/il/hfs/hbwd/eligibility/il_hbwd_eligible.py +1 -1
- policyengine_us/variables/gov/states/il/hfs/{hbwd/eligibility/il_hbwd_immigration_status_eligible.py → il_hfs_immigration_status_eligible.py} +5 -8
- policyengine_us/variables/gov/states/il/hfs/mpe/eligibility/il_mpe_income_eligible.py +15 -0
- policyengine_us/variables/gov/states/il/hfs/mpe/il_mpe_eligible.py +15 -0
- policyengine_us/variables/gov/states/il/hfs/smib/eligibility/il_smib_categorical_eligible.py +26 -0
- policyengine_us/variables/gov/states/il/hfs/smib/eligibility/il_smib_eligible.py +28 -0
- policyengine_us/variables/gov/states/il/hfs/smib/il_smib.py +21 -0
- policyengine_us/variables/gov/states/il/hfs/smib/il_smib_person.py +24 -0
- policyengine_us/variables/gov/states/ky/tax/income/credits/family_size_credit/ky_family_size_tax_credit_rate.py +1 -1
- policyengine_us/variables/gov/states/ma/tax/income/gross_income/ma_part_c_gross_income.py +7 -1
- policyengine_us/variables/gov/states/me/tax/income/credits/dependent_exemption/me_dependent_exemption_credit_amount_person.py +1 -1
- policyengine_us/variables/gov/states/mi/tax/income/mi_household_resources.py +34 -5
- policyengine_us/variables/gov/states/mo/dss/tanf/eligibility/mo_tanf_eligible.py +23 -0
- policyengine_us/variables/gov/states/mo/dss/tanf/eligibility/mo_tanf_gross_income_eligible.py +24 -0
- policyengine_us/variables/gov/states/mo/dss/tanf/eligibility/mo_tanf_income_eligible.py +18 -0
- policyengine_us/variables/gov/states/mo/dss/tanf/eligibility/mo_tanf_percentage_of_need_test.py +20 -0
- policyengine_us/variables/gov/states/mo/dss/tanf/eligibility/mo_tanf_resources_eligible.py +18 -0
- policyengine_us/variables/gov/states/mo/dss/tanf/eligibility/mo_tanf_standard_of_need_test.py +17 -0
- policyengine_us/variables/gov/states/mo/dss/tanf/income/deductions/mo_tanf_child_care_deduction.py +24 -0
- policyengine_us/variables/gov/states/mo/dss/tanf/income/deductions/mo_tanf_earned_income_deductions.py +36 -0
- policyengine_us/variables/gov/states/mo/dss/tanf/income/mo_tanf_countable_income.py +21 -0
- policyengine_us/variables/gov/states/mo/dss/tanf/income/mo_tanf_income_for_need_test.py +23 -0
- policyengine_us/variables/gov/states/mo/dss/tanf/mo_tanf.py +21 -0
- policyengine_us/variables/gov/states/mo/dss/tanf/mo_tanf_maximum_benefit.py +19 -0
- policyengine_us/variables/gov/states/mo/dss/tanf/mo_tanf_standard_of_need.py +23 -0
- policyengine_us/variables/gov/states/mt/tax/income/capital_gains/mt_capital_gains_tax_indiv.py +3 -1
- policyengine_us/variables/gov/states/mt/tax/income/capital_gains/mt_capital_gains_tax_joint.py +3 -1
- policyengine_us/variables/gov/states/mt/tax/income/tax_calculation/mt_regular_income_tax_indiv.py +3 -0
- policyengine_us/variables/gov/states/mt/tax/income/tax_calculation/mt_regular_income_tax_joint.py +3 -0
- policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_additions.py +8 -3
- policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_gross_income.py +17 -0
- policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_total_income.py +12 -6
- policyengine_us/variables/gov/states/nj/tax/income/credits/eitc/nj_eitc.py +7 -1
- policyengine_us/variables/gov/states/pa/dhs/tanf/eligibility/pa_tanf_disregard_eligible.py +31 -0
- policyengine_us/variables/gov/states/pa/dhs/tanf/eligibility/pa_tanf_eligible.py +29 -0
- policyengine_us/variables/gov/states/pa/dhs/tanf/eligibility/pa_tanf_income_eligible.py +16 -0
- policyengine_us/variables/gov/states/pa/dhs/tanf/eligibility/pa_tanf_resources_eligible.py +7 -5
- policyengine_us/variables/gov/states/pa/dhs/tanf/income/pa_tanf_countable_earned_income.py +15 -0
- policyengine_us/variables/gov/states/pa/dhs/tanf/income/pa_tanf_countable_income.py +16 -0
- policyengine_us/variables/gov/states/pa/dhs/tanf/income/pa_tanf_earned_income_after_deductions_person.py +27 -0
- policyengine_us/variables/gov/states/pa/dhs/tanf/pa_tanf.py +19 -0
- policyengine_us/variables/gov/states/pa/dhs/tanf/pa_tanf_county_group.py +38 -0
- policyengine_us/variables/gov/states/pa/dhs/tanf/pa_tanf_maximum_benefit.py +30 -0
- policyengine_us/variables/gov/states/pa/dhs/tanf/pa_tanf_standard_of_need.py +30 -0
- policyengine_us/variables/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit.py +20 -0
- policyengine_us/variables/gov/states/ut/tax/income/credits/military_retirement_credit/ut_military_retirement_credit_eligible.py +22 -0
- policyengine_us/variables/gov/states/wi/dcf/works/eligibility/wi_works_eligible.py +22 -0
- policyengine_us/variables/gov/states/wi/dcf/works/eligibility/wi_works_income_eligible.py +20 -0
- policyengine_us/variables/gov/states/wi/dcf/works/eligibility/wi_works_resources_eligible.py +18 -0
- policyengine_us/variables/gov/states/wi/dcf/works/income/wi_works_countable_income.py +18 -0
- policyengine_us/variables/gov/states/wi/dcf/works/resources/wi_works_countable_resources.py +21 -0
- policyengine_us/variables/gov/states/wi/dcf/works/wi_works.py +19 -0
- policyengine_us/variables/gov/states/wi/dcf/works/wi_works_placement.py +45 -0
- policyengine_us/variables/gov/states/wv/tax/income/credits/heptc/wv_homestead_excess_property_tax_credit.py +3 -3
- policyengine_us/variables/gov/states/wv/tax/income/credits/heptc/wv_homestead_excess_property_tax_credit_eligible.py +5 -2
- policyengine_us/variables/gov/states/wv/tax/income/credits/liftc/wv_low_income_family_tax_credit_fpg.py +1 -1
- policyengine_us/variables/household/expense/health/has_bcc_qualifying_coverage.py +16 -0
- policyengine_us/variables/household/income/person/dividends/qualified_reit_and_ptp_income.py +1 -1
- policyengine_us/variables/household/income/spm_unit/spm_unit_tenure_type.py +17 -0
- {policyengine_us-1.449.6.dist-info → policyengine_us-1.465.0.dist-info}/METADATA +2 -2
- {policyengine_us-1.449.6.dist-info → policyengine_us-1.465.0.dist-info}/RECORD +289 -114
- policyengine_us/parameters/gov/states/il/dhs/aabd/aged_age_threshold.yaml +0 -11
- policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/qualified_noncitizen_statuses.yaml +0 -21
- policyengine_us/parameters/gov/states/mo/dss/tanf/income_limit.yaml +0 -26
- policyengine_us/parameters/gov/states/pa/dhs/tanf/cash_assistance/age_limit.yaml +0 -11
- policyengine_us/parameters/gov/states/pa/dhs/tanf/pregnancy_eligibility/age_limit.yaml +0 -9
- policyengine_us/tests/policy/baseline/gov/states/il/dhs/aabd/eligibility/il_aabd_aged_blind_disabled_person.yaml +0 -39
- policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_immigration_status_eligible.yaml +0 -47
- policyengine_us/tests/policy/baseline/gov/states/mo/dss/tanf/mo_tanf_income_limit.yaml +0 -23
- policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/integation.yaml +0 -57
- policyengine_us/tests/policy/baseline/gov/states/pa/tanf/cash_assistance/pa_tanf_age_eligible.yaml +0 -44
- policyengine_us/tests/policy/baseline/gov/states/pa/tanf/pregnancy_eligibility/pa_tanf_pregnancy_eligibility.yaml +0 -59
- policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/dhs/tanf/eligibility/pa_tanf_resources_eligible.yaml +0 -24
- policyengine_us/variables/gov/states/il/dhs/aabd/eligibility/il_aabd_aged_blind_disabled_person.py +0 -22
- policyengine_us/variables/gov/states/mo/dss/tanf/mo_tanf_income_limit.py +0 -18
- policyengine_us/variables/gov/states/pa/dhs/tanf/cash_assistance/pa_tanf_age_eligible.py +0 -22
- policyengine_us/variables/gov/states/pa/dhs/tanf/eligibility/pa_tanf_countable_resources.py +0 -10
- policyengine_us/variables/gov/states/pa/dhs/tanf/eligibility/pregnancy_eligibility/age_eligibility.py +0 -22
- {policyengine_us-1.449.6.dist-info → policyengine_us-1.465.0.dist-info}/WHEEL +0 -0
- {policyengine_us-1.449.6.dist-info → policyengine_us-1.465.0.dist-info}/entry_points.txt +0 -0
- {policyengine_us-1.449.6.dist-info → policyengine_us-1.465.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
|
+
# Unit tests for ky_family_size_tax_credit_rate
|
|
2
|
+
# These tests verify that state_group is correctly derived from state_code
|
|
3
|
+
# (not explicitly set, which would mask bugs in the state_group derivation)
|
|
4
|
+
|
|
1
5
|
- name: No income
|
|
2
6
|
period: 2023
|
|
3
|
-
input:
|
|
7
|
+
input:
|
|
4
8
|
state_code: KY
|
|
5
9
|
ky_modified_agi: 0
|
|
6
|
-
state_group: CONTIGUOUS_US
|
|
7
10
|
tax_unit_size: 1
|
|
8
11
|
output:
|
|
9
12
|
ky_family_size_tax_credit_rate: 1
|
|
10
13
|
|
|
11
14
|
- name: One person with income at fpg
|
|
12
15
|
period: 2022
|
|
13
|
-
input:
|
|
16
|
+
input:
|
|
14
17
|
state_code: KY
|
|
15
18
|
ky_modified_agi: 13_590
|
|
16
|
-
state_group: CONTIGUOUS_US
|
|
17
19
|
tax_unit_size: 1
|
|
18
20
|
output:
|
|
19
21
|
ky_family_size_tax_credit_rate: 1
|
|
20
22
|
|
|
21
23
|
- name: Seven person, capped at 4 # fpg = 13_590 + 3 * 4_720 = 27_750, 119%
|
|
22
24
|
period: 2022
|
|
23
|
-
input:
|
|
25
|
+
input:
|
|
24
26
|
state_code: KY
|
|
25
27
|
ky_modified_agi: 33_000
|
|
26
|
-
state_group: CONTIGUOUS_US
|
|
27
28
|
tax_unit_size: 7
|
|
28
29
|
output:
|
|
29
30
|
ky_family_size_tax_credit_rate: 0.5
|
|
30
31
|
|
|
31
32
|
- name: Three people with income over fpg
|
|
32
33
|
period: 2022
|
|
33
|
-
input:
|
|
34
|
+
input:
|
|
34
35
|
state_code: KY
|
|
35
36
|
ky_modified_agi: 50_000
|
|
36
|
-
state_group: CONTIGUOUS_US
|
|
37
37
|
tax_unit_size: 3
|
|
38
38
|
output:
|
|
39
39
|
ky_family_size_tax_credit_rate: 0
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
- name: MA joint with STCG losses offsetting LTCG should have zero Part C tax
|
|
2
|
+
absolute_error_margin: 1
|
|
3
|
+
period: 2024
|
|
4
|
+
input:
|
|
5
|
+
people:
|
|
6
|
+
person1:
|
|
7
|
+
age: 40
|
|
8
|
+
short_term_capital_gains: -4_835_234
|
|
9
|
+
long_term_capital_gains: 2_450_480.75
|
|
10
|
+
is_tax_unit_head: true
|
|
11
|
+
person2:
|
|
12
|
+
age: 40
|
|
13
|
+
short_term_capital_gains: -4_835_234
|
|
14
|
+
long_term_capital_gains: 2_450_480.75
|
|
15
|
+
is_tax_unit_spouse: true
|
|
16
|
+
tax_units:
|
|
17
|
+
tax_unit:
|
|
18
|
+
members: [person1, person2]
|
|
19
|
+
spm_units:
|
|
20
|
+
spm_unit:
|
|
21
|
+
members: [person1, person2]
|
|
22
|
+
households:
|
|
23
|
+
household:
|
|
24
|
+
members: [person1, person2]
|
|
25
|
+
state_fips: 25
|
|
26
|
+
output:
|
|
27
|
+
ma_part_c_taxable_income: 0
|
|
28
|
+
ma_income_tax: 0
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
- name: ME dependent exemption credit includes ODC-qualifying dependent age 17
|
|
2
|
+
absolute_error_margin: 1
|
|
3
|
+
period: 2024
|
|
4
|
+
input:
|
|
5
|
+
people:
|
|
6
|
+
head:
|
|
7
|
+
age: 70
|
|
8
|
+
qualified_dividend_income: 8_980.64
|
|
9
|
+
taxable_interest_income: 1_950.19
|
|
10
|
+
long_term_capital_gains: 8_149.55
|
|
11
|
+
pension_income: 86_460.30
|
|
12
|
+
dependent:
|
|
13
|
+
age: 17
|
|
14
|
+
is_tax_unit_dependent: true
|
|
15
|
+
tax_units:
|
|
16
|
+
tax_unit:
|
|
17
|
+
members: [head, dependent]
|
|
18
|
+
filing_status: HEAD_OF_HOUSEHOLD
|
|
19
|
+
spm_units:
|
|
20
|
+
spm_unit:
|
|
21
|
+
members: [head, dependent]
|
|
22
|
+
households:
|
|
23
|
+
household:
|
|
24
|
+
members: [head, dependent]
|
|
25
|
+
state_code: ME
|
|
26
|
+
output:
|
|
27
|
+
# In 2024, all dependents get $300 each (the 2x multiplier for under-6 starts in 2025)
|
|
28
|
+
me_dependent_exemption_credit: 300 # $300 for 1 qualifying dependent age 17
|
|
29
|
+
|
|
30
|
+
- name: ME dependent exemption credit includes ODC-qualifying dependent age 18
|
|
31
|
+
absolute_error_margin: 1
|
|
32
|
+
period: 2024
|
|
33
|
+
input:
|
|
34
|
+
people:
|
|
35
|
+
head:
|
|
36
|
+
age: 45
|
|
37
|
+
employment_income: 75_000
|
|
38
|
+
dependent:
|
|
39
|
+
age: 18
|
|
40
|
+
is_tax_unit_dependent: true
|
|
41
|
+
tax_units:
|
|
42
|
+
tax_unit:
|
|
43
|
+
members: [head, dependent]
|
|
44
|
+
filing_status: HEAD_OF_HOUSEHOLD
|
|
45
|
+
spm_units:
|
|
46
|
+
spm_unit:
|
|
47
|
+
members: [head, dependent]
|
|
48
|
+
households:
|
|
49
|
+
household:
|
|
50
|
+
members: [head, dependent]
|
|
51
|
+
state_code: ME
|
|
52
|
+
output:
|
|
53
|
+
# In 2024, all dependents get $300 each (the 2x multiplier for under-6 starts in 2025)
|
|
54
|
+
me_dependent_exemption_credit: 300 # $300 for 1 qualifying dependent age 18
|
|
55
|
+
|
|
56
|
+
- name: ME dependent exemption credit with mixed CTC and ODC dependents
|
|
57
|
+
absolute_error_margin: 1
|
|
58
|
+
period: 2024
|
|
59
|
+
input:
|
|
60
|
+
people:
|
|
61
|
+
head:
|
|
62
|
+
age: 45
|
|
63
|
+
employment_income: 85_000
|
|
64
|
+
child_under_6:
|
|
65
|
+
age: 4
|
|
66
|
+
is_tax_unit_dependent: true
|
|
67
|
+
child_over_6:
|
|
68
|
+
age: 10
|
|
69
|
+
is_tax_unit_dependent: true
|
|
70
|
+
dependent_over_17:
|
|
71
|
+
age: 18
|
|
72
|
+
is_tax_unit_dependent: true
|
|
73
|
+
tax_units:
|
|
74
|
+
tax_unit:
|
|
75
|
+
members: [head, child_under_6, child_over_6, dependent_over_17]
|
|
76
|
+
filing_status: HEAD_OF_HOUSEHOLD
|
|
77
|
+
spm_units:
|
|
78
|
+
spm_unit:
|
|
79
|
+
members: [head, child_under_6, child_over_6, dependent_over_17]
|
|
80
|
+
households:
|
|
81
|
+
household:
|
|
82
|
+
members: [head, child_under_6, child_over_6, dependent_over_17]
|
|
83
|
+
state_code: ME
|
|
84
|
+
output:
|
|
85
|
+
# In 2024, all dependents get $300 each (the 2x multiplier for under-6 starts in 2025)
|
|
86
|
+
# $300 (child under 6) + $300 (child 6-16) + $300 (dependent 17+) = $900
|
|
87
|
+
me_dependent_exemption_credit: 900
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
output:
|
|
19
19
|
me_dependent_exemption_credit_amount_person: 300
|
|
20
20
|
|
|
21
|
-
- name: Non CTC eligible child
|
|
21
|
+
- name: Non CTC eligible child (but still qualifies as tax dependent)
|
|
22
22
|
period: 2025
|
|
23
23
|
input:
|
|
24
24
|
state_code: ME
|
|
@@ -26,4 +26,5 @@
|
|
|
26
26
|
is_tax_unit_dependent: true
|
|
27
27
|
age: 2
|
|
28
28
|
output:
|
|
29
|
-
|
|
29
|
+
# Even non-CTC children who are tax dependents qualify for ME credit
|
|
30
|
+
me_dependent_exemption_credit_amount_person: 600
|
|
@@ -47,3 +47,90 @@
|
|
|
47
47
|
state_code: MI
|
|
48
48
|
output: # 210 * 0.9 * 0.2
|
|
49
49
|
mi_home_heating_credit: 37.8
|
|
50
|
+
|
|
51
|
+
# Integration test from issue #6894: Large negative capital gains
|
|
52
|
+
# should not offset positive income in household resources calculation
|
|
53
|
+
- name: 25490-MI.yaml
|
|
54
|
+
absolute_error_margin: 2
|
|
55
|
+
period: 2024
|
|
56
|
+
input:
|
|
57
|
+
people:
|
|
58
|
+
person1:
|
|
59
|
+
age: 40
|
|
60
|
+
employment_income: 129_626.8
|
|
61
|
+
ssi: 0
|
|
62
|
+
wic: 0
|
|
63
|
+
head_start: 0
|
|
64
|
+
early_head_start: 0
|
|
65
|
+
commodity_supplemental_food_program: 0
|
|
66
|
+
long_term_capital_gains: -39_740.8515
|
|
67
|
+
short_term_capital_gains: -601_164.25
|
|
68
|
+
taxable_interest_income: 309.727295
|
|
69
|
+
is_tax_unit_head: true
|
|
70
|
+
person2:
|
|
71
|
+
age: 40
|
|
72
|
+
employment_income: 0.0
|
|
73
|
+
ssi: 0
|
|
74
|
+
wic: 0
|
|
75
|
+
head_start: 0
|
|
76
|
+
early_head_start: 0
|
|
77
|
+
commodity_supplemental_food_program: 0
|
|
78
|
+
long_term_capital_gains: -39_740.8515
|
|
79
|
+
short_term_capital_gains: -601_164.25
|
|
80
|
+
taxable_interest_income: 309.727295
|
|
81
|
+
is_tax_unit_spouse: true
|
|
82
|
+
person3:
|
|
83
|
+
age: 10
|
|
84
|
+
employment_income: 0
|
|
85
|
+
ssi: 0
|
|
86
|
+
wic: 0
|
|
87
|
+
head_start: 0
|
|
88
|
+
early_head_start: 0
|
|
89
|
+
commodity_supplemental_food_program: 0
|
|
90
|
+
is_tax_unit_dependent: true
|
|
91
|
+
is_tax_unit_head: false
|
|
92
|
+
is_tax_unit_spouse: false
|
|
93
|
+
person4:
|
|
94
|
+
age: 10
|
|
95
|
+
employment_income: 0
|
|
96
|
+
ssi: 0
|
|
97
|
+
wic: 0
|
|
98
|
+
head_start: 0
|
|
99
|
+
early_head_start: 0
|
|
100
|
+
commodity_supplemental_food_program: 0
|
|
101
|
+
is_tax_unit_dependent: true
|
|
102
|
+
is_tax_unit_head: false
|
|
103
|
+
is_tax_unit_spouse: false
|
|
104
|
+
person5:
|
|
105
|
+
age: 10
|
|
106
|
+
employment_income: 0
|
|
107
|
+
ssi: 0
|
|
108
|
+
wic: 0
|
|
109
|
+
head_start: 0
|
|
110
|
+
early_head_start: 0
|
|
111
|
+
commodity_supplemental_food_program: 0
|
|
112
|
+
is_tax_unit_dependent: true
|
|
113
|
+
is_tax_unit_head: false
|
|
114
|
+
is_tax_unit_spouse: false
|
|
115
|
+
tax_units:
|
|
116
|
+
tax_unit:
|
|
117
|
+
members: [person1, person2, person3, person4, person5]
|
|
118
|
+
premium_tax_credit: 0
|
|
119
|
+
local_income_tax: 0
|
|
120
|
+
state_sales_tax: 0
|
|
121
|
+
spm_units:
|
|
122
|
+
spm_unit:
|
|
123
|
+
members: [person1, person2, person3, person4, person5]
|
|
124
|
+
snap: 0
|
|
125
|
+
tanf: 0
|
|
126
|
+
free_school_meals: 0
|
|
127
|
+
reduced_price_school_meals: 0
|
|
128
|
+
households:
|
|
129
|
+
household:
|
|
130
|
+
members: [person1, person2, person3, person4, person5]
|
|
131
|
+
state_fips: 26
|
|
132
|
+
output:
|
|
133
|
+
# With high income and large capital losses (floored per MI rules),
|
|
134
|
+
# household resources exceed income limits for the credit
|
|
135
|
+
mi_home_heating_credit: 0
|
|
136
|
+
mi_income_tax: 4_218
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
health_insurance_premiums: 0
|
|
7
7
|
above_the_line_deductions: 1_000
|
|
8
8
|
output:
|
|
9
|
+
# Capital gains losses are limited to -2,000 (within $3,000 limit)
|
|
10
|
+
# but mi_household_resources cannot be negative, so 0
|
|
9
11
|
mi_household_resources: 0
|
|
10
12
|
|
|
11
13
|
- name: Reduced to 0
|
|
@@ -16,6 +18,7 @@
|
|
|
16
18
|
health_insurance_premiums: 3_000
|
|
17
19
|
above_the_line_deductions: 1_000
|
|
18
20
|
output:
|
|
21
|
+
# 2,000 - 3,000 - 1,000 = -2,000, floored at 0
|
|
19
22
|
mi_household_resources: 0
|
|
20
23
|
|
|
21
24
|
- name: Partially reduced
|
|
@@ -26,4 +29,58 @@
|
|
|
26
29
|
health_insurance_premiums: 3_000
|
|
27
30
|
above_the_line_deductions: 1_000
|
|
28
31
|
output:
|
|
32
|
+
# 10,000 - 3,000 - 1,000 = 6,000
|
|
29
33
|
mi_household_resources: 6_000
|
|
34
|
+
|
|
35
|
+
- name: Negative business income floored at 0
|
|
36
|
+
period: 2024
|
|
37
|
+
input:
|
|
38
|
+
self_employment_income: -50_000
|
|
39
|
+
irs_employment_income: 100_000
|
|
40
|
+
state_code: MI
|
|
41
|
+
output:
|
|
42
|
+
# Per MI-1040CR-7 Line 21: "If negative, enter 0"
|
|
43
|
+
# Self-employment income floored at 0 = 0
|
|
44
|
+
# But loss_ald = 50,000 (federal above-the-line deduction for business loss)
|
|
45
|
+
# Total: 100,000 - 50,000 = 50,000
|
|
46
|
+
mi_household_resources: 50_000
|
|
47
|
+
|
|
48
|
+
- name: Negative rental income floored at 0
|
|
49
|
+
period: 2024
|
|
50
|
+
input:
|
|
51
|
+
rental_income: -30_000
|
|
52
|
+
employment_income_before_lsr: 50_000
|
|
53
|
+
state_code: MI
|
|
54
|
+
output:
|
|
55
|
+
# Per MI-1040CR-7 Line 22: "If negative, enter 0"
|
|
56
|
+
# Rental income floored at 0, so only employment income counts
|
|
57
|
+
mi_household_resources: 50_000
|
|
58
|
+
|
|
59
|
+
- name: Large capital gains loss limited to 3000
|
|
60
|
+
period: 2024
|
|
61
|
+
input:
|
|
62
|
+
long_term_capital_gains: -100_000
|
|
63
|
+
short_term_capital_gains: -50_000
|
|
64
|
+
employment_income_before_lsr: 50_000
|
|
65
|
+
state_code: MI
|
|
66
|
+
filing_status: JOINT
|
|
67
|
+
output:
|
|
68
|
+
# Per MI-1040CR-7 Line 24: losses cannot exceed $3,000 for MFJ
|
|
69
|
+
# loss_limited_net_capital_gains: max(-150,000, -3,000) = -3,000
|
|
70
|
+
# above_the_line_deductions includes loss_ald of 3,000
|
|
71
|
+
# Total: 50,000 + (-3,000) - 3,000 = 44,000
|
|
72
|
+
mi_household_resources: 44_000
|
|
73
|
+
|
|
74
|
+
- name: Capital gains loss limited to 1500 for MFS
|
|
75
|
+
period: 2024
|
|
76
|
+
input:
|
|
77
|
+
long_term_capital_gains: -100_000
|
|
78
|
+
employment_income_before_lsr: 50_000
|
|
79
|
+
state_code: MI
|
|
80
|
+
filing_status: SEPARATE
|
|
81
|
+
output:
|
|
82
|
+
# Per MI-1040CR-7 Line 24: losses cannot exceed $1,500 for MFS
|
|
83
|
+
# loss_limited_net_capital_gains: max(-100,000, -1,500) = -1,500
|
|
84
|
+
# above_the_line_deductions includes loss_ald of 1,500
|
|
85
|
+
# Total: 50,000 + (-1,500) - 1,500 = 47,000
|
|
86
|
+
mi_household_resources: 47_000
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
- name: Single parent with one child, no income, receives maximum benefit
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
people:
|
|
5
|
+
person1:
|
|
6
|
+
age: 30
|
|
7
|
+
person2:
|
|
8
|
+
age: 5
|
|
9
|
+
is_tax_unit_dependent: true
|
|
10
|
+
spm_units:
|
|
11
|
+
spm_unit:
|
|
12
|
+
members: [person1, person2]
|
|
13
|
+
spm_unit_cash_assets: 500
|
|
14
|
+
tax_units:
|
|
15
|
+
tax_unit:
|
|
16
|
+
members: [person1, person2]
|
|
17
|
+
households:
|
|
18
|
+
household:
|
|
19
|
+
members: [person1, person2]
|
|
20
|
+
state_code: MO
|
|
21
|
+
output:
|
|
22
|
+
spm_unit_size: 2
|
|
23
|
+
mo_tanf_standard_of_need: 678
|
|
24
|
+
mo_tanf_maximum_benefit: 234.086
|
|
25
|
+
mo_tanf_countable_income: 0
|
|
26
|
+
mo_tanf_gross_income_eligible: true
|
|
27
|
+
mo_tanf_standard_of_need_test: true
|
|
28
|
+
mo_tanf_percentage_of_need_test: true
|
|
29
|
+
mo_tanf_income_eligible: true
|
|
30
|
+
mo_tanf_resources_eligible: true
|
|
31
|
+
mo_tanf_eligible: true
|
|
32
|
+
mo_tanf: 234.086
|
|
33
|
+
|
|
34
|
+
- name: Family of 3 with earned income below maximum
|
|
35
|
+
period: 2024
|
|
36
|
+
input:
|
|
37
|
+
people:
|
|
38
|
+
person1:
|
|
39
|
+
age: 35
|
|
40
|
+
employment_income: 12_000
|
|
41
|
+
person2:
|
|
42
|
+
age: 8
|
|
43
|
+
is_tax_unit_dependent: true
|
|
44
|
+
person3:
|
|
45
|
+
age: 3
|
|
46
|
+
is_tax_unit_dependent: true
|
|
47
|
+
spm_units:
|
|
48
|
+
spm_unit:
|
|
49
|
+
members: [person1, person2, person3]
|
|
50
|
+
spm_unit_cash_assets: 800
|
|
51
|
+
tax_units:
|
|
52
|
+
tax_unit:
|
|
53
|
+
members: [person1, person2, person3]
|
|
54
|
+
households:
|
|
55
|
+
household:
|
|
56
|
+
members: [person1, person2, person3]
|
|
57
|
+
state_code: MO
|
|
58
|
+
output:
|
|
59
|
+
spm_unit_size: 3
|
|
60
|
+
mo_tanf_standard_of_need: 10_152
|
|
61
|
+
mo_tanf_maximum_benefit: 3_505.08
|
|
62
|
+
|
|
63
|
+
- name: Family of 3 with low earned income, passes all tests
|
|
64
|
+
period: 2024
|
|
65
|
+
input:
|
|
66
|
+
people:
|
|
67
|
+
person1:
|
|
68
|
+
age: 35
|
|
69
|
+
employment_income: 3_000
|
|
70
|
+
person2:
|
|
71
|
+
age: 8
|
|
72
|
+
is_tax_unit_dependent: true
|
|
73
|
+
person3:
|
|
74
|
+
age: 3
|
|
75
|
+
is_tax_unit_dependent: true
|
|
76
|
+
spm_units:
|
|
77
|
+
spm_unit:
|
|
78
|
+
members: [person1, person2, person3]
|
|
79
|
+
spm_unit_cash_assets: 800
|
|
80
|
+
tax_units:
|
|
81
|
+
tax_unit:
|
|
82
|
+
members: [person1, person2, person3]
|
|
83
|
+
households:
|
|
84
|
+
household:
|
|
85
|
+
members: [person1, person2, person3]
|
|
86
|
+
state_code: MO
|
|
87
|
+
output:
|
|
88
|
+
mo_tanf_standard_of_need: 10_152
|
|
89
|
+
mo_tanf_maximum_benefit: 3_505.08
|
|
90
|
+
mo_tanf_income_eligible: true
|
|
91
|
+
mo_tanf_eligible: true
|
|
92
|
+
mo_tanf: 3_505.08
|
|
93
|
+
|
|
94
|
+
- name: Family of 3 income at exact 185% limit
|
|
95
|
+
period: 2024
|
|
96
|
+
input:
|
|
97
|
+
people:
|
|
98
|
+
person1:
|
|
99
|
+
age: 35
|
|
100
|
+
employment_income: 18_780
|
|
101
|
+
person2:
|
|
102
|
+
age: 8
|
|
103
|
+
is_tax_unit_dependent: true
|
|
104
|
+
person3:
|
|
105
|
+
age: 3
|
|
106
|
+
is_tax_unit_dependent: true
|
|
107
|
+
spm_units:
|
|
108
|
+
spm_unit:
|
|
109
|
+
members: [person1, person2, person3]
|
|
110
|
+
spm_unit_cash_assets: 500
|
|
111
|
+
tax_units:
|
|
112
|
+
tax_unit:
|
|
113
|
+
members: [person1, person2, person3]
|
|
114
|
+
households:
|
|
115
|
+
household:
|
|
116
|
+
members: [person1, person2, person3]
|
|
117
|
+
state_code: MO
|
|
118
|
+
output:
|
|
119
|
+
mo_tanf_standard_of_need: 10_152
|
|
120
|
+
mo_tanf_gross_income_eligible: true
|
|
121
|
+
|
|
122
|
+
- name: Family with resources exactly at $1000 limit
|
|
123
|
+
period: 2024
|
|
124
|
+
input:
|
|
125
|
+
people:
|
|
126
|
+
person1:
|
|
127
|
+
age: 30
|
|
128
|
+
person2:
|
|
129
|
+
age: 5
|
|
130
|
+
is_tax_unit_dependent: true
|
|
131
|
+
spm_units:
|
|
132
|
+
spm_unit:
|
|
133
|
+
members: [person1, person2]
|
|
134
|
+
spm_unit_cash_assets: 1_000
|
|
135
|
+
tax_units:
|
|
136
|
+
tax_unit:
|
|
137
|
+
members: [person1, person2]
|
|
138
|
+
households:
|
|
139
|
+
household:
|
|
140
|
+
members: [person1, person2]
|
|
141
|
+
state_code: MO
|
|
142
|
+
output:
|
|
143
|
+
mo_tanf_resources_eligible: true
|
|
144
|
+
mo_tanf_eligible: true
|
|
145
|
+
mo_tanf: 2_809.035
|
|
146
|
+
|
|
147
|
+
- name: Family with resources exceeding $1000 limit
|
|
148
|
+
period: 2024
|
|
149
|
+
input:
|
|
150
|
+
people:
|
|
151
|
+
person1:
|
|
152
|
+
age: 30
|
|
153
|
+
person2:
|
|
154
|
+
age: 5
|
|
155
|
+
is_tax_unit_dependent: true
|
|
156
|
+
spm_units:
|
|
157
|
+
spm_unit:
|
|
158
|
+
members: [person1, person2]
|
|
159
|
+
spm_unit_cash_assets: 1_500
|
|
160
|
+
tax_units:
|
|
161
|
+
tax_unit:
|
|
162
|
+
members: [person1, person2]
|
|
163
|
+
households:
|
|
164
|
+
household:
|
|
165
|
+
members: [person1, person2]
|
|
166
|
+
state_code: MO
|
|
167
|
+
output:
|
|
168
|
+
mo_tanf_resources_eligible: false
|
|
169
|
+
mo_tanf_eligible: false
|
|
170
|
+
mo_tanf: 0
|
|
171
|
+
|
|
172
|
+
- name: Family of 4 with unearned income only
|
|
173
|
+
period: 2024
|
|
174
|
+
input:
|
|
175
|
+
people:
|
|
176
|
+
person1:
|
|
177
|
+
age: 40
|
|
178
|
+
social_security: 6_000
|
|
179
|
+
person2:
|
|
180
|
+
age: 38
|
|
181
|
+
person3:
|
|
182
|
+
age: 10
|
|
183
|
+
is_tax_unit_dependent: true
|
|
184
|
+
person4:
|
|
185
|
+
age: 6
|
|
186
|
+
is_tax_unit_dependent: true
|
|
187
|
+
spm_units:
|
|
188
|
+
spm_unit:
|
|
189
|
+
members: [person1, person2, person3, person4]
|
|
190
|
+
spm_unit_cash_assets: 400
|
|
191
|
+
tax_units:
|
|
192
|
+
tax_unit:
|
|
193
|
+
members: [person1, person2, person3, person4]
|
|
194
|
+
households:
|
|
195
|
+
household:
|
|
196
|
+
members: [person1, person2, person3, person4]
|
|
197
|
+
state_code: MO
|
|
198
|
+
output:
|
|
199
|
+
mo_tanf_standard_of_need: 11_880
|
|
200
|
+
mo_tanf_maximum_benefit: 4_101.689
|
|
201
|
+
mo_tanf_countable_income: 6_000
|
|
202
|
+
mo_tanf_gross_income_eligible: true
|
|
203
|
+
mo_tanf_standard_of_need_test: true
|
|
204
|
+
mo_tanf_percentage_of_need_test: false
|
|
205
|
+
mo_tanf_income_eligible: false
|
|
206
|
+
mo_tanf_eligible: false
|
|
207
|
+
mo_tanf: 0
|
|
208
|
+
|
|
209
|
+
- name: Family of 5 with child support income
|
|
210
|
+
period: 2024
|
|
211
|
+
input:
|
|
212
|
+
people:
|
|
213
|
+
person1:
|
|
214
|
+
age: 35
|
|
215
|
+
child_support_received: 3_600
|
|
216
|
+
person2:
|
|
217
|
+
age: 12
|
|
218
|
+
is_tax_unit_dependent: true
|
|
219
|
+
person3:
|
|
220
|
+
age: 8
|
|
221
|
+
is_tax_unit_dependent: true
|
|
222
|
+
person4:
|
|
223
|
+
age: 5
|
|
224
|
+
is_tax_unit_dependent: true
|
|
225
|
+
person5:
|
|
226
|
+
age: 2
|
|
227
|
+
is_tax_unit_dependent: true
|
|
228
|
+
spm_units:
|
|
229
|
+
spm_unit:
|
|
230
|
+
members: [person1, person2, person3, person4, person5]
|
|
231
|
+
spm_unit_cash_assets: 200
|
|
232
|
+
tax_units:
|
|
233
|
+
tax_unit:
|
|
234
|
+
members: [person1, person2, person3, person4, person5]
|
|
235
|
+
households:
|
|
236
|
+
household:
|
|
237
|
+
members: [person1, person2, person3, person4, person5]
|
|
238
|
+
state_code: MO
|
|
239
|
+
output:
|
|
240
|
+
mo_tanf_standard_of_need: 13_476
|
|
241
|
+
mo_tanf_maximum_benefit: 4_652.724
|
|
242
|
+
mo_tanf_countable_income: 3_600
|
|
243
|
+
mo_tanf_gross_income_eligible: true
|
|
244
|
+
mo_tanf_standard_of_need_test: true
|
|
245
|
+
mo_tanf_percentage_of_need_test: true
|
|
246
|
+
mo_tanf_income_eligible: true
|
|
247
|
+
mo_tanf_eligible: true
|
|
248
|
+
mo_tanf: 1_052.724
|
|
249
|
+
|
|
250
|
+
- name: Benefit calculation
|
|
251
|
+
period: 2024
|
|
252
|
+
input:
|
|
253
|
+
people:
|
|
254
|
+
person1:
|
|
255
|
+
age: 30
|
|
256
|
+
employment_income: 1_080
|
|
257
|
+
person2:
|
|
258
|
+
age: 5
|
|
259
|
+
is_tax_unit_dependent: true
|
|
260
|
+
spm_units:
|
|
261
|
+
spm_unit:
|
|
262
|
+
members: [person1, person2]
|
|
263
|
+
spm_unit_cash_assets: 100
|
|
264
|
+
tax_units:
|
|
265
|
+
tax_unit:
|
|
266
|
+
members: [person1, person2]
|
|
267
|
+
households:
|
|
268
|
+
household:
|
|
269
|
+
members: [person1, person2]
|
|
270
|
+
state_code: MO
|
|
271
|
+
output:
|
|
272
|
+
mo_tanf_standard_of_need: 8_136
|
|
273
|
+
mo_tanf_maximum_benefit: 2_809.035
|
|
274
|
+
mo_tanf_eligible: true
|
|
275
|
+
mo_tanf: 2_809.035
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
- name: Ineligible household receives zero benefit
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
state_code: MO
|
|
5
|
+
mo_tanf_eligible: false
|
|
6
|
+
mo_tanf_standard_of_need: 846
|
|
7
|
+
mo_tanf_countable_income: 0
|
|
8
|
+
output:
|
|
9
|
+
mo_tanf: 0
|
|
10
|
+
|
|
11
|
+
- name: Eligible household with no income receives maximum benefit
|
|
12
|
+
period: 2024-01
|
|
13
|
+
input:
|
|
14
|
+
state_code: MO
|
|
15
|
+
mo_tanf_eligible: true
|
|
16
|
+
mo_tanf_standard_of_need: 846
|
|
17
|
+
mo_tanf_countable_income: 0
|
|
18
|
+
output:
|
|
19
|
+
mo_tanf: 292.09
|
|
20
|
+
|
|
21
|
+
- name: Eligible household with countable income receives reduced benefit
|
|
22
|
+
period: 2024-01
|
|
23
|
+
input:
|
|
24
|
+
state_code: MO
|
|
25
|
+
mo_tanf_eligible: true
|
|
26
|
+
mo_tanf_standard_of_need: 846
|
|
27
|
+
mo_tanf_countable_income: 100
|
|
28
|
+
output:
|
|
29
|
+
mo_tanf: 192.09
|
|
30
|
+
|
|
31
|
+
- name: Benefit below $10 minimum threshold is not paid
|
|
32
|
+
period: 2024-01
|
|
33
|
+
input:
|
|
34
|
+
state_code: MO
|
|
35
|
+
mo_tanf_eligible: true
|
|
36
|
+
mo_tanf_standard_of_need: 846
|
|
37
|
+
mo_tanf_countable_income: 285
|
|
38
|
+
output:
|
|
39
|
+
# $292.09 - $285 = $7.09, but minimum payment is $10
|
|
40
|
+
mo_tanf: 0
|
|
41
|
+
|
|
42
|
+
- name: Benefit of $10
|
|
43
|
+
period: 2024-01
|
|
44
|
+
input:
|
|
45
|
+
state_code: MO
|
|
46
|
+
mo_tanf_eligible: true
|
|
47
|
+
mo_tanf_standard_of_need: 846
|
|
48
|
+
mo_tanf_countable_income: 282
|
|
49
|
+
output:
|
|
50
|
+
mo_tanf: 10.09
|
|
51
|
+
|
|
52
|
+
- name: Countable income exceeds maximum benefit results in zero
|
|
53
|
+
period: 2024-01
|
|
54
|
+
input:
|
|
55
|
+
state_code: MO
|
|
56
|
+
mo_tanf_eligible: true
|
|
57
|
+
mo_tanf_standard_of_need: 846
|
|
58
|
+
mo_tanf_countable_income: 300
|
|
59
|
+
output:
|
|
60
|
+
mo_tanf: 0
|