policyengine-us 1.465.0__py3-none-any.whl → 1.471.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/hhs/medicaid/emergency_medicaid/enabled.yaml +14 -0
- policyengine_us/parameters/gov/hhs/medicaid/emergency_medicaid/uses_medicaid_income_thresholds.yaml +13 -0
- policyengine_us/parameters/gov/ssa/revenue/oasdi_share_of_gross_ss.yaml +13 -0
- policyengine_us/parameters/gov/states/il/isbe/age_threshold/teen_parent.yaml +15 -0
- policyengine_us/parameters/gov/states/il/isbe/income/countable_sources.yaml +28 -0
- policyengine_us/parameters/gov/states/il/isbe/income/income_limit_rate.yaml +13 -0
- policyengine_us/parameters/gov/states/il/isbe/pfa/benefit/amount.yaml +15 -0
- policyengine_us/parameters/gov/states/il/isbe/pfae/benefit/amount.yaml +15 -0
- policyengine_us/parameters/gov/states/il/isbe/pfae/eligibility/age_range.yaml +26 -0
- policyengine_us/parameters/gov/states/il/isbe/pfae/eligibility/income/deep_poverty_rate.yaml +10 -0
- policyengine_us/parameters/gov/states/il/isbe/pfae/eligibility/income/low_income_rate.yaml +10 -0
- policyengine_us/parameters/gov/states/il/isbe/pi/benefit/amount.yaml +16 -0
- policyengine_us/parameters/gov/states/il/isbe/pi/eligibility/age_threshold/child.yaml +13 -0
- policyengine_us/parameters/gov/states/il/isbe/pi/eligibility/age_threshold/young_parent.yaml +11 -0
- policyengine_us/parameters/gov/states/il/isbe/pi/eligibility/income/deep_poverty_rate.yaml +11 -0
- policyengine_us/parameters/gov/states/il/isbe/pi/eligibility/income/low_income_rate.yaml +11 -0
- policyengine_us/parameters/gov/states/il/isbe/pi/eligibility/income/poverty_rate.yaml +11 -0
- policyengine_us/parameters/gov/states/il/isbe/pi/eligibility/priority/geriatric_pregnancy_age.yaml +10 -0
- policyengine_us/parameters/gov/states/il/isbe/pi/eligibility/risk_factors/minimum_score.yaml +11 -0
- policyengine_us/parameters/gov/states/in/fssa/README.md +1 -0
- policyengine_us/parameters/gov/states/in/fssa/tanf/README.md +1 -0
- policyengine_us/parameters/gov/states/in/fssa/tanf/eligibility/continuing/fpg_rate.yaml +12 -0
- policyengine_us/parameters/gov/states/in/fssa/tanf/income/deductions/benefit/earned_income_disregard/rate.yaml +12 -0
- policyengine_us/parameters/gov/states/in/fssa/tanf/income/deductions/eligibility/earned_income_disregard/rate.yaml +12 -0
- policyengine_us/parameters/gov/states/in/fssa/tanf/income/deductions/eligibility/flat_disregard/amount.yaml +12 -0
- policyengine_us/parameters/gov/states/in/fssa/tanf/income/deductions/work_expense/amount.yaml +12 -0
- policyengine_us/parameters/gov/states/in/fssa/tanf/resources/limit/at_application/amount.yaml +12 -0
- policyengine_us/parameters/gov/states/in/fssa/tanf/resources/limit/while_receiving/amount.yaml +12 -0
- policyengine_us/parameters/gov/states/in/fssa/tanf/resources/vehicle_exemption/amount.yaml +12 -0
- policyengine_us/parameters/gov/states/in/fssa/tanf/standard_of_need/amount.yaml +34 -0
- policyengine_us/parameters/gov/states/in/fssa/tanf/standard_of_need/max_unit_size.yaml +12 -0
- policyengine_us/parameters/gov/states/mo/tax/income/minimum_taxable_income.yaml +3 -0
- policyengine_us/parameters/gov/states/mo/tax/income/rates.yaml +13 -4
- policyengine_us/parameters/gov/states/mo/tax/income/subtractions/agi_subtractions.yaml +18 -0
- policyengine_us/parameters/gov/states/mo/tax/income/subtractions/net_capital_gain/rate.yaml +14 -0
- policyengine_us/parameters/gov/states/oh/odjfs/owf/income/deductions/earned_income_disregard/flat_amount.yaml +14 -0
- policyengine_us/parameters/gov/states/oh/odjfs/owf/income/deductions/earned_income_disregard/percentage_of_disregard.yaml +16 -0
- policyengine_us/parameters/gov/states/oh/odjfs/owf/initial_eligibility/income_limit_rate.yaml +14 -0
- policyengine_us/parameters/gov/states/oh/odjfs/owf/payment_standard/additional_person_increment.yaml +14 -0
- policyengine_us/parameters/gov/states/oh/odjfs/owf/payment_standard/amounts.yaml +43 -0
- policyengine_us/parameters/gov/states/oh/odjfs/owf/payment_standard/max_group_size.yaml +12 -0
- policyengine_us/parameters/gov/states/or/odhs/tanf/age_threshold/minor_child.yaml +12 -0
- policyengine_us/parameters/gov/states/or/odhs/tanf/income/adjusted_income_limit/additional_person.yaml +12 -0
- policyengine_us/parameters/gov/states/or/odhs/tanf/income/adjusted_income_limit/amount.yaml +32 -0
- policyengine_us/parameters/gov/states/or/odhs/tanf/income/child_support_disregard/max.yaml +12 -0
- policyengine_us/parameters/gov/states/or/odhs/tanf/income/child_support_disregard/per_child.yaml +12 -0
- policyengine_us/parameters/gov/states/or/odhs/tanf/income/countable_income_limit/additional_person.yaml +12 -0
- policyengine_us/parameters/gov/states/or/odhs/tanf/income/countable_income_limit/amount.yaml +32 -0
- policyengine_us/parameters/gov/states/or/odhs/tanf/income/earned_income_disregard_rate.yaml +12 -0
- policyengine_us/parameters/gov/states/or/odhs/tanf/income/eli_multiplier.yaml +12 -0
- policyengine_us/parameters/gov/states/or/odhs/tanf/maximum_need_group_size.yaml +12 -0
- policyengine_us/parameters/gov/states/or/odhs/tanf/minimum_benefit.yaml +12 -0
- policyengine_us/parameters/gov/states/or/odhs/tanf/payment_standard/additional_person.yaml +12 -0
- policyengine_us/parameters/gov/states/or/odhs/tanf/payment_standard/amount.yaml +32 -0
- policyengine_us/parameters/gov/states/or/odhs/tanf/resources/limit/amount.yaml +12 -0
- policyengine_us/tests/microsimulation/test_microsim.py +46 -0
- policyengine_us/tests/policy/baseline/gov/hhs/medicaid/emergency_medicaid/integration.yaml +667 -0
- policyengine_us/tests/policy/baseline/gov/hhs/medicaid/emergency_medicaid/is_emergency_medicaid_eligible.yaml +376 -0
- policyengine_us/tests/policy/baseline/gov/ssa/revenue/employer_medicare_tax_income_tax_revenue.yaml +86 -0
- policyengine_us/tests/policy/baseline/gov/ssa/revenue/employer_ss_tax_income_tax_revenue.yaml +85 -0
- policyengine_us/tests/policy/baseline/gov/ssa/revenue/tob_revenue_medicare_hi.yaml +40 -21
- policyengine_us/tests/policy/baseline/gov/ssa/revenue/tob_revenue_oasdi.yaml +57 -14
- policyengine_us/tests/policy/baseline/gov/ssa/revenue/tob_tier_split.yaml +17 -35
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/eligibility/il_isbe_income_eligible.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/eligibility/il_isbe_was_teen_parent_at_first_birth.yaml +310 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pfae/eligibility/il_pfae_age_eligible_child.yaml +39 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pfae/eligibility/il_pfae_basic_eligible.yaml +26 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pfae/eligibility/il_pfae_eligible.yaml +49 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pfae/integration.yaml +102 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pfae/priority/il_pfae_has_highest_priority_factor.yaml +31 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pfae/priority/il_pfae_is_deep_poverty.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pfae/priority/il_pfae_is_low_income.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pfae/priority/il_pfae_secondary_priority_factor_count.yaml +85 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pi/eligibility/il_pi_basic_eligible.yaml +46 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pi/eligibility/il_pi_demographic_eligible.yaml +48 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pi/eligibility/il_pi_eligible.yaml +38 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pi/eligibility/il_pi_risk_eligible.yaml +74 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pi/eligibility/income/il_pi_is_deep_poverty.yaml +43 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pi/eligibility/income/il_pi_is_low_income.yaml +43 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pi/eligibility/income/il_pi_is_poverty.yaml +43 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pi/eligibility/priority/il_pi_has_developmental_delay.yaml +75 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pi/eligibility/priority/il_pi_has_geriatric_pregnancy.yaml +74 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pi/eligibility/priority/il_pi_highest_priority_score.yaml +100 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pi/eligibility/priority/il_pi_is_young_parent_family.yaml +91 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pi/eligibility/priority/il_pi_lower_priority_score.yaml +102 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pi/eligibility/priority/il_pi_other_priority_score.yaml +160 -0
- policyengine_us/tests/policy/baseline/gov/states/il/isbe/pi/integration.yaml +187 -0
- policyengine_us/tests/policy/baseline/gov/states/in/fssa/tanf/benefit/in_tanf_payment_standard.yaml +58 -0
- policyengine_us/tests/policy/baseline/gov/states/in/fssa/tanf/eligibility/in_tanf_countable_income_eligible.yaml +163 -0
- policyengine_us/tests/policy/baseline/gov/states/in/fssa/tanf/eligibility/in_tanf_eligible.yaml +94 -0
- policyengine_us/tests/policy/baseline/gov/states/in/fssa/tanf/eligibility/in_tanf_income_eligible.yaml +74 -0
- policyengine_us/tests/policy/baseline/gov/states/in/fssa/tanf/eligibility/in_tanf_payment_eligible.yaml +63 -0
- policyengine_us/tests/policy/baseline/gov/states/in/fssa/tanf/in_tanf.yaml +64 -0
- policyengine_us/tests/policy/baseline/gov/states/in/fssa/tanf/income/in_tanf_countable_earned_income.yaml +83 -0
- policyengine_us/tests/policy/baseline/gov/states/in/fssa/tanf/income/in_tanf_countable_earned_income_for_eligibility.yaml +112 -0
- policyengine_us/tests/policy/baseline/gov/states/in/fssa/tanf/income/in_tanf_countable_income_for_payment.yaml +71 -0
- policyengine_us/tests/policy/baseline/gov/states/in/fssa/tanf/integration.yaml +249 -0
- policyengine_us/tests/policy/baseline/gov/states/in/fssa/tanf/resources/in_tanf_countable_resources.yaml +38 -0
- policyengine_us/tests/policy/baseline/gov/states/in/fssa/tanf/resources/in_tanf_resources_eligible.yaml +60 -0
- policyengine_us/tests/policy/baseline/gov/states/in/fssa/tanf/resources/integration_with_eligibility.yaml +78 -0
- policyengine_us/tests/policy/baseline/gov/states/mo/tax/income/subtractions/mo_agi_subtractions.yaml +176 -0
- policyengine_us/tests/policy/baseline/gov/states/mo/tax/income/subtractions/mo_capital_gains_subtraction.yaml +65 -0
- policyengine_us/tests/policy/baseline/gov/states/nc/tax/income/deductions/nc_itemized_deductions.yaml +2 -2
- policyengine_us/tests/policy/baseline/gov/states/oh/odjfs/owf/integration.yaml +152 -0
- policyengine_us/tests/policy/baseline/gov/states/oh/odjfs/owf/oh_owf_countable_income.yaml +113 -0
- policyengine_us/tests/policy/baseline/gov/states/oh/odjfs/owf/oh_owf_eligible.yaml +239 -0
- policyengine_us/tests/policy/baseline/gov/states/oh/odjfs/owf/oh_owf_fpg.yaml +73 -0
- policyengine_us/tests/policy/baseline/gov/states/oh/odjfs/owf/oh_owf_income_eligible.yaml +80 -0
- policyengine_us/tests/policy/baseline/gov/states/oh/odjfs/owf/oh_owf_initial_income_eligible.yaml +160 -0
- policyengine_us/tests/policy/baseline/gov/states/oh/odjfs/owf/oh_owf_payment_standard.yaml +77 -0
- policyengine_us/tests/policy/baseline/gov/states/or/odhs/tanf/integration.yaml +363 -0
- policyengine_us/tests/policy/baseline/gov/states/or/odhs/tanf/or_tanf.yaml +94 -0
- policyengine_us/tests/policy/baseline/gov/states/or/odhs/tanf/or_tanf_adjusted_income.yaml +77 -0
- policyengine_us/tests/policy/baseline/gov/states/or/odhs/tanf/or_tanf_adjusted_income_eligible.yaml +73 -0
- policyengine_us/tests/policy/baseline/gov/states/or/odhs/tanf/or_tanf_child_support_disregard.yaml +272 -0
- policyengine_us/tests/policy/baseline/gov/states/or/odhs/tanf/or_tanf_countable_income.yaml +70 -0
- policyengine_us/tests/policy/baseline/gov/states/or/odhs/tanf/or_tanf_countable_income_eligible.yaml +73 -0
- policyengine_us/tests/policy/baseline/gov/states/or/odhs/tanf/or_tanf_eli_eligible.yaml +47 -0
- policyengine_us/tests/policy/baseline/gov/states/or/odhs/tanf/or_tanf_eli_income_eligible.yaml +75 -0
- policyengine_us/tests/policy/baseline/gov/states/or/odhs/tanf/or_tanf_eligible.yaml +68 -0
- policyengine_us/tests/policy/baseline/gov/states/or/odhs/tanf/or_tanf_income_eligible.yaml +211 -0
- policyengine_us/tests/policy/baseline/gov/states/or/odhs/tanf/or_tanf_payment_standard.yaml +68 -0
- policyengine_us/tests/policy/baseline/gov/states/or/odhs/tanf/or_tanf_resources_eligible.yaml +37 -0
- policyengine_us/tests/run_selective_tests.py +5 -0
- policyengine_us/tests/test_batched.py +106 -11
- policyengine_us/variables/gov/hhs/medicaid/emergency_medicaid/has_emergency_medical_condition.py +16 -0
- policyengine_us/variables/gov/hhs/medicaid/emergency_medicaid/is_emergency_medicaid_eligible.py +33 -0
- policyengine_us/variables/gov/ssa/revenue/employer_medicare_tax_income_tax_revenue.py +58 -0
- policyengine_us/variables/gov/ssa/revenue/employer_ss_tax_income_tax_revenue.py +60 -0
- policyengine_us/variables/gov/ssa/revenue/tob_revenue_medicare_hi.py +51 -15
- policyengine_us/variables/gov/ssa/revenue/tob_revenue_oasdi.py +66 -15
- policyengine_us/variables/gov/ssa/revenue/tob_revenue_total.py +11 -6
- policyengine_us/variables/gov/states/il/isbe/eligibility/il_isbe_income_eligible.py +26 -0
- policyengine_us/variables/gov/states/il/isbe/eligibility/il_isbe_was_teen_parent_at_first_birth.py +32 -0
- policyengine_us/variables/gov/states/il/isbe/income/il_isbe_countable_income.py +13 -0
- policyengine_us/variables/gov/states/il/isbe/pfa/il_pfa.py +15 -0
- policyengine_us/variables/gov/states/il/isbe/pfa/il_pfa_eligible.py +18 -0
- policyengine_us/variables/gov/states/il/isbe/pfae/eligibility/il_pfae_age_eligible_child.py +23 -0
- policyengine_us/variables/gov/states/il/isbe/pfae/eligibility/il_pfae_basic_eligible.py +19 -0
- policyengine_us/variables/gov/states/il/isbe/pfae/eligibility/il_pfae_eligible.py +28 -0
- policyengine_us/variables/gov/states/il/isbe/pfae/il_pfae.py +19 -0
- policyengine_us/variables/gov/states/il/isbe/pfae/priority/il_pfae_has_highest_priority_factor.py +40 -0
- policyengine_us/variables/gov/states/il/isbe/pfae/priority/il_pfae_is_deep_poverty.py +23 -0
- policyengine_us/variables/gov/states/il/isbe/pfae/priority/il_pfae_is_low_income.py +21 -0
- policyengine_us/variables/gov/states/il/isbe/pfae/priority/il_pfae_secondary_priority_factor_count.py +65 -0
- policyengine_us/variables/gov/states/il/isbe/pi/eligibility/il_pi_basic_eligible.py +17 -0
- policyengine_us/variables/gov/states/il/isbe/pi/eligibility/il_pi_demographic_eligible.py +18 -0
- policyengine_us/variables/gov/states/il/isbe/pi/eligibility/il_pi_risk_eligible.py +18 -0
- policyengine_us/variables/gov/states/il/isbe/pi/eligibility/income/il_pi_is_deep_poverty.py +23 -0
- policyengine_us/variables/gov/states/il/isbe/pi/eligibility/income/il_pi_is_low_income.py +21 -0
- policyengine_us/variables/gov/states/il/isbe/pi/eligibility/income/il_pi_is_poverty.py +21 -0
- policyengine_us/variables/gov/states/il/isbe/pi/eligibility/priority/il_pi_has_developmental_delay.py +16 -0
- policyengine_us/variables/gov/states/il/isbe/pi/eligibility/priority/il_pi_has_geriatric_pregnancy.py +20 -0
- policyengine_us/variables/gov/states/il/isbe/pi/eligibility/priority/il_pi_highest_priority_score.py +37 -0
- policyengine_us/variables/gov/states/il/isbe/pi/eligibility/priority/il_pi_is_young_parent_family.py +21 -0
- policyengine_us/variables/gov/states/il/isbe/pi/eligibility/priority/il_pi_lower_priority_score.py +36 -0
- policyengine_us/variables/gov/states/il/isbe/pi/eligibility/priority/il_pi_other_priority_score.py +54 -0
- policyengine_us/variables/gov/states/il/isbe/pi/eligibility/priority/il_pi_priority_score.py +19 -0
- policyengine_us/variables/gov/states/il/isbe/pi/il_pi.py +15 -0
- policyengine_us/variables/gov/states/il/isbe/pi/il_pi_eligible.py +18 -0
- policyengine_us/variables/gov/states/in/fssa/tanf/eligibility/in_tanf_countable_income_eligible.py +31 -0
- policyengine_us/variables/gov/states/in/fssa/tanf/eligibility/in_tanf_eligible.py +36 -0
- policyengine_us/variables/gov/states/in/fssa/tanf/eligibility/in_tanf_income_eligible.py +21 -0
- policyengine_us/variables/gov/states/in/fssa/tanf/eligibility/in_tanf_payment_eligible.py +18 -0
- policyengine_us/variables/gov/states/in/fssa/tanf/eligibility/in_tanf_resources_eligible.py +25 -0
- policyengine_us/variables/gov/states/in/fssa/tanf/in_tanf.py +21 -0
- policyengine_us/variables/gov/states/in/fssa/tanf/in_tanf_payment_standard.py +19 -0
- policyengine_us/variables/gov/states/in/fssa/tanf/income/in_tanf_countable_earned_income.py +20 -0
- policyengine_us/variables/gov/states/in/fssa/tanf/income/in_tanf_countable_earned_income_for_eligibility.py +33 -0
- policyengine_us/variables/gov/states/in/fssa/tanf/income/in_tanf_countable_income_for_eligibility.py +19 -0
- policyengine_us/variables/gov/states/in/fssa/tanf/income/in_tanf_countable_income_for_payment.py +13 -0
- policyengine_us/variables/gov/states/in/fssa/tanf/resources/in_tanf_countable_resources.py +27 -0
- policyengine_us/variables/gov/states/mo/tax/income/adjusted_gross_income/mo_adjusted_gross_income.py +1 -1
- policyengine_us/variables/gov/states/mo/tax/income/subtractions/mo_agi_subtractions.py +16 -0
- policyengine_us/variables/gov/states/mo/tax/income/subtractions/mo_capital_gains_subtraction.py +20 -0
- policyengine_us/variables/gov/states/mo/tax/income/subtractions/mo_capital_gains_subtraction_person.py +28 -0
- policyengine_us/variables/gov/states/oh/odjfs/owf/eligibility/oh_owf_eligible.py +39 -0
- policyengine_us/variables/gov/states/oh/odjfs/owf/eligibility/oh_owf_income_eligible.py +33 -0
- policyengine_us/variables/gov/states/oh/odjfs/owf/eligibility/oh_owf_initial_income_eligible.py +30 -0
- policyengine_us/variables/gov/states/oh/odjfs/owf/income/oh_owf_countable_income.py +40 -0
- policyengine_us/variables/gov/states/oh/odjfs/owf/oh_owf.py +23 -0
- policyengine_us/variables/gov/states/oh/odjfs/owf/oh_owf_fpg.py +32 -0
- policyengine_us/variables/gov/states/oh/odjfs/owf/oh_owf_payment_standard.py +26 -0
- policyengine_us/variables/gov/states/or/odhs/tanf/benefit/or_tanf_payment_standard.py +23 -0
- policyengine_us/variables/gov/states/or/odhs/tanf/eligibility/or_tanf_adjusted_income_eligible.py +28 -0
- policyengine_us/variables/gov/states/or/odhs/tanf/eligibility/or_tanf_countable_income_eligible.py +28 -0
- policyengine_us/variables/gov/states/or/odhs/tanf/eligibility/or_tanf_eli_eligible.py +16 -0
- policyengine_us/variables/gov/states/or/odhs/tanf/eligibility/or_tanf_eli_income_eligible.py +20 -0
- policyengine_us/variables/gov/states/or/odhs/tanf/eligibility/or_tanf_eligible.py +25 -0
- policyengine_us/variables/gov/states/or/odhs/tanf/eligibility/or_tanf_income_eligible.py +26 -0
- policyengine_us/variables/gov/states/or/odhs/tanf/eligibility/or_tanf_resources_eligible.py +19 -0
- policyengine_us/variables/gov/states/or/odhs/tanf/income/or_tanf_adjusted_income.py +21 -0
- policyengine_us/variables/gov/states/or/odhs/tanf/income/or_tanf_child_support_disregard.py +25 -0
- policyengine_us/variables/gov/states/or/odhs/tanf/income/or_tanf_countable_income.py +20 -0
- policyengine_us/variables/gov/states/or/odhs/tanf/or_tanf.py +25 -0
- policyengine_us/variables/household/demographic/geographic/county/county.py +9 -0
- policyengine_us/variables/household/demographic/geographic/is_non_english_speaking_home.py +9 -0
- policyengine_us/variables/household/demographic/household/parent_has_less_than_high_school_education.py +9 -0
- policyengine_us/variables/household/demographic/person/has_developmental_delay.py +9 -0
- policyengine_us/variables/household/demographic/person/has_individualized_education_program.py +9 -0
- policyengine_us/variables/household/demographic/person/has_no_prior_formal_early_learning.py +9 -0
- policyengine_us/variables/household/demographic/person/is_born_outside_us.py +9 -0
- {policyengine_us-1.465.0.dist-info → policyengine_us-1.471.0.dist-info}/METADATA +1 -1
- {policyengine_us-1.465.0.dist-info → policyengine_us-1.471.0.dist-info}/RECORD +207 -19
- {policyengine_us-1.465.0.dist-info → policyengine_us-1.471.0.dist-info}/WHEEL +0 -0
- {policyengine_us-1.465.0.dist-info → policyengine_us-1.471.0.dist-info}/entry_points.txt +0 -0
- {policyengine_us-1.465.0.dist-info → policyengine_us-1.471.0.dist-info}/licenses/LICENSE +0 -0
policyengine_us/tests/policy/baseline/gov/states/in/fssa/tanf/benefit/in_tanf_payment_standard.yaml
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Payment standard tests
|
|
2
|
+
# Post P.L. 103-2023 reform, payment standard = 100% of standard of need
|
|
3
|
+
|
|
4
|
+
- name: Payment standard for family of 1
|
|
5
|
+
period: 2024-01
|
|
6
|
+
input:
|
|
7
|
+
spm_unit_size: 1
|
|
8
|
+
state_code: IN
|
|
9
|
+
output:
|
|
10
|
+
in_tanf_payment_standard: 155
|
|
11
|
+
|
|
12
|
+
- name: Payment standard for family of 2
|
|
13
|
+
period: 2024-01
|
|
14
|
+
input:
|
|
15
|
+
spm_unit_size: 2
|
|
16
|
+
state_code: IN
|
|
17
|
+
output:
|
|
18
|
+
in_tanf_payment_standard: 255
|
|
19
|
+
|
|
20
|
+
- name: Payment standard for family of 3
|
|
21
|
+
period: 2024-01
|
|
22
|
+
input:
|
|
23
|
+
spm_unit_size: 3
|
|
24
|
+
state_code: IN
|
|
25
|
+
output:
|
|
26
|
+
in_tanf_payment_standard: 320
|
|
27
|
+
|
|
28
|
+
- name: Payment standard for family of 4
|
|
29
|
+
period: 2024-01
|
|
30
|
+
input:
|
|
31
|
+
spm_unit_size: 4
|
|
32
|
+
state_code: IN
|
|
33
|
+
output:
|
|
34
|
+
in_tanf_payment_standard: 385
|
|
35
|
+
|
|
36
|
+
- name: Payment standard for family of 5
|
|
37
|
+
period: 2024-01
|
|
38
|
+
input:
|
|
39
|
+
spm_unit_size: 5
|
|
40
|
+
state_code: IN
|
|
41
|
+
output:
|
|
42
|
+
in_tanf_payment_standard: 450
|
|
43
|
+
|
|
44
|
+
- name: Payment standard for family of 6
|
|
45
|
+
period: 2024-01
|
|
46
|
+
input:
|
|
47
|
+
spm_unit_size: 6
|
|
48
|
+
state_code: IN
|
|
49
|
+
output:
|
|
50
|
+
in_tanf_payment_standard: 515
|
|
51
|
+
|
|
52
|
+
- name: Payment standard for family of 10
|
|
53
|
+
period: 2024-01
|
|
54
|
+
input:
|
|
55
|
+
spm_unit_size: 10
|
|
56
|
+
state_code: IN
|
|
57
|
+
output:
|
|
58
|
+
in_tanf_payment_standard: 775
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# Tests for in_tanf_countable_income_eligible
|
|
2
|
+
# Uses eligibility disregards: $90/earner, $30/unit, 1/3 of remainder
|
|
3
|
+
# Compares to standard of need (initial) or FPL (continuing)
|
|
4
|
+
|
|
5
|
+
- name: Family of 3 with zero income - eligible
|
|
6
|
+
period: 2024-01
|
|
7
|
+
input:
|
|
8
|
+
people:
|
|
9
|
+
person1:
|
|
10
|
+
age: 30
|
|
11
|
+
tanf_gross_earned_income: 0
|
|
12
|
+
person2:
|
|
13
|
+
age: 10
|
|
14
|
+
person3:
|
|
15
|
+
age: 8
|
|
16
|
+
spm_units:
|
|
17
|
+
spm_unit:
|
|
18
|
+
members: [person1, person2, person3]
|
|
19
|
+
households:
|
|
20
|
+
household:
|
|
21
|
+
members: [person1, person2, person3]
|
|
22
|
+
state_code: IN
|
|
23
|
+
output:
|
|
24
|
+
in_tanf_countable_income_for_eligibility: [0, 0, 0]
|
|
25
|
+
in_tanf_countable_income_eligible: [true, true, true]
|
|
26
|
+
# Countable income ($0) < standard of need ($320) → eligible
|
|
27
|
+
|
|
28
|
+
- name: Family of 3 with low earned income - eligible
|
|
29
|
+
period: 2024-01
|
|
30
|
+
input:
|
|
31
|
+
people:
|
|
32
|
+
person1:
|
|
33
|
+
age: 30
|
|
34
|
+
tanf_gross_earned_income: 300
|
|
35
|
+
person2:
|
|
36
|
+
age: 10
|
|
37
|
+
person3:
|
|
38
|
+
age: 8
|
|
39
|
+
spm_units:
|
|
40
|
+
spm_unit:
|
|
41
|
+
members: [person1, person2, person3]
|
|
42
|
+
households:
|
|
43
|
+
household:
|
|
44
|
+
members: [person1, person2, person3]
|
|
45
|
+
state_code: IN
|
|
46
|
+
output:
|
|
47
|
+
in_tanf_countable_earned_income_for_eligibility: [120.6, 120.6, 120.6]
|
|
48
|
+
# $300 - $90 (work expense) = $210
|
|
49
|
+
# $210 - $30 (unit disregard) = $180
|
|
50
|
+
# $180 * (1 - 0.33) = $120.60
|
|
51
|
+
in_tanf_countable_income_for_eligibility: [120.6, 120.6, 120.6]
|
|
52
|
+
in_tanf_countable_income_eligible: [true, true, true]
|
|
53
|
+
# Countable ($120.60) < standard of need ($320) → eligible
|
|
54
|
+
|
|
55
|
+
- name: Family of 3 with moderate earned income - not eligible
|
|
56
|
+
period: 2024-01
|
|
57
|
+
input:
|
|
58
|
+
people:
|
|
59
|
+
person1:
|
|
60
|
+
age: 30
|
|
61
|
+
tanf_gross_earned_income: 600
|
|
62
|
+
person2:
|
|
63
|
+
age: 10
|
|
64
|
+
person3:
|
|
65
|
+
age: 8
|
|
66
|
+
spm_units:
|
|
67
|
+
spm_unit:
|
|
68
|
+
members: [person1, person2, person3]
|
|
69
|
+
households:
|
|
70
|
+
household:
|
|
71
|
+
members: [person1, person2, person3]
|
|
72
|
+
state_code: IN
|
|
73
|
+
output:
|
|
74
|
+
in_tanf_countable_earned_income_for_eligibility: [321.6, 321.6, 321.6]
|
|
75
|
+
# $600 - $90 = $510
|
|
76
|
+
# $510 - $30 = $480
|
|
77
|
+
# $480 * 0.67 = $321.60
|
|
78
|
+
in_tanf_countable_income_for_eligibility: [321.6, 321.6, 321.6]
|
|
79
|
+
in_tanf_countable_income_eligible: [false, false, false]
|
|
80
|
+
# Countable ($321.60) >= standard of need ($320) → not eligible
|
|
81
|
+
|
|
82
|
+
- name: Family of 2 with earned income at threshold - not eligible
|
|
83
|
+
period: 2024-01
|
|
84
|
+
input:
|
|
85
|
+
people:
|
|
86
|
+
person1:
|
|
87
|
+
age: 30
|
|
88
|
+
tanf_gross_earned_income: 500
|
|
89
|
+
person2:
|
|
90
|
+
age: 10
|
|
91
|
+
spm_units:
|
|
92
|
+
spm_unit:
|
|
93
|
+
members: [person1, person2]
|
|
94
|
+
households:
|
|
95
|
+
household:
|
|
96
|
+
members: [person1, person2]
|
|
97
|
+
state_code: IN
|
|
98
|
+
output:
|
|
99
|
+
in_tanf_countable_earned_income_for_eligibility: [254.6, 254.6]
|
|
100
|
+
# $500 - $90 = $410
|
|
101
|
+
# $410 - $30 = $380
|
|
102
|
+
# $380 * 0.67 = $254.60
|
|
103
|
+
in_tanf_countable_income_for_eligibility: [254.6, 254.6]
|
|
104
|
+
in_tanf_countable_income_eligible: [true, true]
|
|
105
|
+
# Countable ($254.60) < standard of need ($255) → eligible
|
|
106
|
+
|
|
107
|
+
- name: Two earners - each gets $90 disregard
|
|
108
|
+
period: 2024-01
|
|
109
|
+
input:
|
|
110
|
+
people:
|
|
111
|
+
person1:
|
|
112
|
+
age: 30
|
|
113
|
+
tanf_gross_earned_income: 200
|
|
114
|
+
person2:
|
|
115
|
+
age: 28
|
|
116
|
+
tanf_gross_earned_income: 200
|
|
117
|
+
person3:
|
|
118
|
+
age: 10
|
|
119
|
+
spm_units:
|
|
120
|
+
spm_unit:
|
|
121
|
+
members: [person1, person2, person3]
|
|
122
|
+
households:
|
|
123
|
+
household:
|
|
124
|
+
members: [person1, person2, person3]
|
|
125
|
+
state_code: IN
|
|
126
|
+
output:
|
|
127
|
+
in_tanf_countable_earned_income_for_eligibility: [127.3, 127.3, 127.3]
|
|
128
|
+
# Person1: $200 - $90 = $110
|
|
129
|
+
# Person2: $200 - $90 = $110
|
|
130
|
+
# Unit total: $220
|
|
131
|
+
# $220 - $30 = $190
|
|
132
|
+
# $190 * 0.67 = $127.30
|
|
133
|
+
in_tanf_countable_income_for_eligibility: [127.3, 127.3, 127.3]
|
|
134
|
+
in_tanf_countable_income_eligible: [true, true, true]
|
|
135
|
+
# Countable ($127.30) < standard of need ($320) → eligible
|
|
136
|
+
|
|
137
|
+
- name: Continuing eligibility uses FPL threshold
|
|
138
|
+
period: 2024-01
|
|
139
|
+
input:
|
|
140
|
+
people:
|
|
141
|
+
person1:
|
|
142
|
+
age: 30
|
|
143
|
+
tanf_gross_earned_income: 1_000
|
|
144
|
+
person2:
|
|
145
|
+
age: 10
|
|
146
|
+
person3:
|
|
147
|
+
age: 8
|
|
148
|
+
spm_units:
|
|
149
|
+
spm_unit:
|
|
150
|
+
members: [person1, person2, person3]
|
|
151
|
+
is_tanf_enrolled: true
|
|
152
|
+
households:
|
|
153
|
+
household:
|
|
154
|
+
members: [person1, person2, person3]
|
|
155
|
+
state_code: IN
|
|
156
|
+
output:
|
|
157
|
+
in_tanf_countable_earned_income_for_eligibility: [589.6, 589.6, 589.6]
|
|
158
|
+
# $1000 - $90 = $910
|
|
159
|
+
# $910 - $30 = $880
|
|
160
|
+
# $880 * 0.67 = $589.60
|
|
161
|
+
in_tanf_countable_income_for_eligibility: [589.6, 589.6, 589.6]
|
|
162
|
+
in_tanf_countable_income_eligible: [true, true, true]
|
|
163
|
+
# Countable ($589.60) < 100% FPL for 3 (~$1,988/mo) → eligible
|
policyengine_us/tests/policy/baseline/gov/states/in/fssa/tanf/eligibility/in_tanf_eligible.yaml
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
- name: Eligible - passes all tests
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
people:
|
|
5
|
+
person1:
|
|
6
|
+
is_citizen_or_legal_immigrant: true
|
|
7
|
+
spm_units:
|
|
8
|
+
spm_unit:
|
|
9
|
+
members: [person1]
|
|
10
|
+
is_demographic_tanf_eligible: true
|
|
11
|
+
in_tanf_countable_income_eligible: true
|
|
12
|
+
in_tanf_payment_eligible: true
|
|
13
|
+
households:
|
|
14
|
+
household:
|
|
15
|
+
members: [person1]
|
|
16
|
+
state_code: IN
|
|
17
|
+
output:
|
|
18
|
+
in_tanf_eligible: true
|
|
19
|
+
|
|
20
|
+
- name: Not eligible - fails countable income test
|
|
21
|
+
period: 2024-01
|
|
22
|
+
input:
|
|
23
|
+
people:
|
|
24
|
+
person1:
|
|
25
|
+
is_citizen_or_legal_immigrant: true
|
|
26
|
+
spm_units:
|
|
27
|
+
spm_unit:
|
|
28
|
+
members: [person1]
|
|
29
|
+
is_demographic_tanf_eligible: true
|
|
30
|
+
in_tanf_countable_income_eligible: false
|
|
31
|
+
in_tanf_payment_eligible: true
|
|
32
|
+
households:
|
|
33
|
+
household:
|
|
34
|
+
members: [person1]
|
|
35
|
+
state_code: IN
|
|
36
|
+
output:
|
|
37
|
+
in_tanf_eligible: false
|
|
38
|
+
|
|
39
|
+
- name: Not eligible - fails benefit income test
|
|
40
|
+
period: 2024-01
|
|
41
|
+
input:
|
|
42
|
+
people:
|
|
43
|
+
person1:
|
|
44
|
+
is_citizen_or_legal_immigrant: true
|
|
45
|
+
spm_units:
|
|
46
|
+
spm_unit:
|
|
47
|
+
members: [person1]
|
|
48
|
+
is_demographic_tanf_eligible: true
|
|
49
|
+
in_tanf_countable_income_eligible: true
|
|
50
|
+
in_tanf_payment_eligible: false
|
|
51
|
+
households:
|
|
52
|
+
household:
|
|
53
|
+
members: [person1]
|
|
54
|
+
state_code: IN
|
|
55
|
+
output:
|
|
56
|
+
in_tanf_eligible: false
|
|
57
|
+
|
|
58
|
+
- name: Not eligible - fails both income tests
|
|
59
|
+
period: 2024-01
|
|
60
|
+
input:
|
|
61
|
+
people:
|
|
62
|
+
person1:
|
|
63
|
+
is_citizen_or_legal_immigrant: true
|
|
64
|
+
spm_units:
|
|
65
|
+
spm_unit:
|
|
66
|
+
members: [person1]
|
|
67
|
+
is_demographic_tanf_eligible: true
|
|
68
|
+
in_tanf_countable_income_eligible: false
|
|
69
|
+
in_tanf_payment_eligible: false
|
|
70
|
+
households:
|
|
71
|
+
household:
|
|
72
|
+
members: [person1]
|
|
73
|
+
state_code: IN
|
|
74
|
+
output:
|
|
75
|
+
in_tanf_eligible: false
|
|
76
|
+
|
|
77
|
+
- name: Not eligible - not a citizen or legal immigrant
|
|
78
|
+
period: 2024-01
|
|
79
|
+
input:
|
|
80
|
+
people:
|
|
81
|
+
person1:
|
|
82
|
+
is_citizen_or_legal_immigrant: false
|
|
83
|
+
spm_units:
|
|
84
|
+
spm_unit:
|
|
85
|
+
members: [person1]
|
|
86
|
+
is_demographic_tanf_eligible: true
|
|
87
|
+
in_tanf_countable_income_eligible: true
|
|
88
|
+
in_tanf_payment_eligible: true
|
|
89
|
+
households:
|
|
90
|
+
household:
|
|
91
|
+
members: [person1]
|
|
92
|
+
state_code: IN
|
|
93
|
+
output:
|
|
94
|
+
in_tanf_eligible: false
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Tests for in_tanf_income_eligible
|
|
2
|
+
# Combines countable income and benefit income tests
|
|
3
|
+
|
|
4
|
+
- name: Passes both income tests
|
|
5
|
+
period: 2024-01
|
|
6
|
+
input:
|
|
7
|
+
people:
|
|
8
|
+
person1:
|
|
9
|
+
age: 30
|
|
10
|
+
spm_units:
|
|
11
|
+
spm_unit:
|
|
12
|
+
members: [person1]
|
|
13
|
+
in_tanf_countable_income_eligible: true
|
|
14
|
+
in_tanf_payment_eligible: true
|
|
15
|
+
households:
|
|
16
|
+
household:
|
|
17
|
+
members: [person1]
|
|
18
|
+
state_code: IN
|
|
19
|
+
output:
|
|
20
|
+
in_tanf_income_eligible: true
|
|
21
|
+
|
|
22
|
+
- name: Fails countable income test only
|
|
23
|
+
period: 2024-01
|
|
24
|
+
input:
|
|
25
|
+
people:
|
|
26
|
+
person1:
|
|
27
|
+
age: 30
|
|
28
|
+
spm_units:
|
|
29
|
+
spm_unit:
|
|
30
|
+
members: [person1]
|
|
31
|
+
in_tanf_countable_income_eligible: false
|
|
32
|
+
in_tanf_payment_eligible: true
|
|
33
|
+
households:
|
|
34
|
+
household:
|
|
35
|
+
members: [person1]
|
|
36
|
+
state_code: IN
|
|
37
|
+
output:
|
|
38
|
+
in_tanf_income_eligible: false
|
|
39
|
+
|
|
40
|
+
- name: Fails benefit income test only
|
|
41
|
+
period: 2024-01
|
|
42
|
+
input:
|
|
43
|
+
people:
|
|
44
|
+
person1:
|
|
45
|
+
age: 30
|
|
46
|
+
spm_units:
|
|
47
|
+
spm_unit:
|
|
48
|
+
members: [person1]
|
|
49
|
+
in_tanf_countable_income_eligible: true
|
|
50
|
+
in_tanf_payment_eligible: false
|
|
51
|
+
households:
|
|
52
|
+
household:
|
|
53
|
+
members: [person1]
|
|
54
|
+
state_code: IN
|
|
55
|
+
output:
|
|
56
|
+
in_tanf_income_eligible: false
|
|
57
|
+
|
|
58
|
+
- name: Fails both income tests
|
|
59
|
+
period: 2024-01
|
|
60
|
+
input:
|
|
61
|
+
people:
|
|
62
|
+
person1:
|
|
63
|
+
age: 30
|
|
64
|
+
spm_units:
|
|
65
|
+
spm_unit:
|
|
66
|
+
members: [person1]
|
|
67
|
+
in_tanf_countable_income_eligible: false
|
|
68
|
+
in_tanf_payment_eligible: false
|
|
69
|
+
households:
|
|
70
|
+
household:
|
|
71
|
+
members: [person1]
|
|
72
|
+
state_code: IN
|
|
73
|
+
output:
|
|
74
|
+
in_tanf_income_eligible: false
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Tests for in_tanf_payment_eligible
|
|
2
|
+
# Uses payment disregards: 75% earned income (only 25% counts)
|
|
3
|
+
# Compares to payment standard
|
|
4
|
+
|
|
5
|
+
- name: Family of 3 with zero countable income - eligible
|
|
6
|
+
period: 2024-01
|
|
7
|
+
input:
|
|
8
|
+
spm_unit_size: 3
|
|
9
|
+
in_tanf_countable_income_for_payment: 0
|
|
10
|
+
state_code: IN
|
|
11
|
+
output:
|
|
12
|
+
in_tanf_payment_eligible: true
|
|
13
|
+
# Countable income ($0) < standard of need ($320) → eligible
|
|
14
|
+
|
|
15
|
+
- name: Family of 3 with income below standard of need - eligible
|
|
16
|
+
period: 2024-01
|
|
17
|
+
input:
|
|
18
|
+
spm_unit_size: 3
|
|
19
|
+
in_tanf_countable_income_for_payment: 300
|
|
20
|
+
state_code: IN
|
|
21
|
+
output:
|
|
22
|
+
in_tanf_payment_eligible: true
|
|
23
|
+
# Countable income ($300) < standard of need ($320) → eligible
|
|
24
|
+
|
|
25
|
+
- name: Family of 3 with income at standard of need - not eligible
|
|
26
|
+
period: 2024-01
|
|
27
|
+
input:
|
|
28
|
+
spm_unit_size: 3
|
|
29
|
+
in_tanf_countable_income_for_payment: 320
|
|
30
|
+
state_code: IN
|
|
31
|
+
output:
|
|
32
|
+
in_tanf_payment_eligible: false
|
|
33
|
+
# Countable income ($320) >= standard of need ($320) → not eligible
|
|
34
|
+
|
|
35
|
+
- name: Family of 3 with income above standard of need - not eligible
|
|
36
|
+
period: 2024-01
|
|
37
|
+
input:
|
|
38
|
+
spm_unit_size: 3
|
|
39
|
+
in_tanf_countable_income_for_payment: 400
|
|
40
|
+
state_code: IN
|
|
41
|
+
output:
|
|
42
|
+
in_tanf_payment_eligible: false
|
|
43
|
+
# Countable income ($400) > standard of need ($320) → not eligible
|
|
44
|
+
|
|
45
|
+
- name: Family of 1 below standard of need - eligible
|
|
46
|
+
period: 2024-01
|
|
47
|
+
input:
|
|
48
|
+
spm_unit_size: 1
|
|
49
|
+
in_tanf_countable_income_for_payment: 150
|
|
50
|
+
state_code: IN
|
|
51
|
+
output:
|
|
52
|
+
in_tanf_payment_eligible: true
|
|
53
|
+
# Countable income ($150) < standard of need ($155) → eligible
|
|
54
|
+
|
|
55
|
+
- name: Family of 2 below standard of need - eligible
|
|
56
|
+
period: 2024-01
|
|
57
|
+
input:
|
|
58
|
+
spm_unit_size: 2
|
|
59
|
+
in_tanf_countable_income_for_payment: 250
|
|
60
|
+
state_code: IN
|
|
61
|
+
output:
|
|
62
|
+
in_tanf_payment_eligible: true
|
|
63
|
+
# Countable income ($250) < standard of need ($255) → eligible
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
- name: Family of 3 with no income receives maximum benefit
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
in_tanf_eligible: true
|
|
5
|
+
in_tanf_payment_standard: 513
|
|
6
|
+
in_tanf_countable_income_for_payment: 0
|
|
7
|
+
state_code: IN
|
|
8
|
+
output:
|
|
9
|
+
in_tanf: 513
|
|
10
|
+
# Max benefit ($513) - countable income ($0) = $513
|
|
11
|
+
|
|
12
|
+
- name: Family of 3 with countable income receives reduced benefit
|
|
13
|
+
period: 2024-01
|
|
14
|
+
input:
|
|
15
|
+
in_tanf_eligible: true
|
|
16
|
+
in_tanf_payment_standard: 513
|
|
17
|
+
in_tanf_countable_income_for_payment: 200
|
|
18
|
+
state_code: IN
|
|
19
|
+
output:
|
|
20
|
+
in_tanf: 313
|
|
21
|
+
# Max benefit ($513) - countable income ($200) = $313
|
|
22
|
+
|
|
23
|
+
- name: Family of 2 with partial income
|
|
24
|
+
period: 2024-01
|
|
25
|
+
input:
|
|
26
|
+
in_tanf_eligible: true
|
|
27
|
+
in_tanf_payment_standard: 409
|
|
28
|
+
in_tanf_countable_income_for_payment: 100
|
|
29
|
+
state_code: IN
|
|
30
|
+
output:
|
|
31
|
+
in_tanf: 309
|
|
32
|
+
# Max benefit ($409) - countable income ($100) = $309
|
|
33
|
+
|
|
34
|
+
- name: Ineligible family receives no benefit
|
|
35
|
+
period: 2024-01
|
|
36
|
+
input:
|
|
37
|
+
in_tanf_eligible: false
|
|
38
|
+
in_tanf_payment_standard: 513
|
|
39
|
+
in_tanf_countable_income_for_payment: 100
|
|
40
|
+
state_code: IN
|
|
41
|
+
output:
|
|
42
|
+
in_tanf: 0
|
|
43
|
+
|
|
44
|
+
- name: Family with countable income equal to payment standard
|
|
45
|
+
period: 2024-01
|
|
46
|
+
input:
|
|
47
|
+
in_tanf_eligible: true
|
|
48
|
+
in_tanf_payment_standard: 513
|
|
49
|
+
in_tanf_countable_income_for_payment: 513
|
|
50
|
+
state_code: IN
|
|
51
|
+
output:
|
|
52
|
+
in_tanf: 0
|
|
53
|
+
# Max benefit ($513) - countable income ($513) = $0
|
|
54
|
+
|
|
55
|
+
- name: Family with countable income exceeding payment standard
|
|
56
|
+
period: 2024-01
|
|
57
|
+
input:
|
|
58
|
+
in_tanf_eligible: true
|
|
59
|
+
in_tanf_payment_standard: 513
|
|
60
|
+
in_tanf_countable_income_for_payment: 600
|
|
61
|
+
state_code: IN
|
|
62
|
+
output:
|
|
63
|
+
in_tanf: 0
|
|
64
|
+
# max(513 - 600, 0) = 0
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
- name: No earned income
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
people:
|
|
5
|
+
person1:
|
|
6
|
+
tanf_gross_earned_income: 0
|
|
7
|
+
spm_units:
|
|
8
|
+
spm_unit:
|
|
9
|
+
members: [person1]
|
|
10
|
+
households:
|
|
11
|
+
household:
|
|
12
|
+
members: [person1]
|
|
13
|
+
state_code: IN
|
|
14
|
+
output:
|
|
15
|
+
in_tanf_countable_earned_income: 0
|
|
16
|
+
|
|
17
|
+
- name: Earned income with 75% disregard - $400 monthly
|
|
18
|
+
period: 2024-01
|
|
19
|
+
input:
|
|
20
|
+
people:
|
|
21
|
+
person1:
|
|
22
|
+
tanf_gross_earned_income: 400
|
|
23
|
+
spm_units:
|
|
24
|
+
spm_unit:
|
|
25
|
+
members: [person1]
|
|
26
|
+
households:
|
|
27
|
+
household:
|
|
28
|
+
members: [person1]
|
|
29
|
+
state_code: IN
|
|
30
|
+
output:
|
|
31
|
+
in_tanf_countable_earned_income: 100
|
|
32
|
+
# 75% disregard: Only count 25% of $400 = $100
|
|
33
|
+
|
|
34
|
+
- name: Earned income with 75% disregard - $1000 monthly
|
|
35
|
+
period: 2024-01
|
|
36
|
+
input:
|
|
37
|
+
people:
|
|
38
|
+
person1:
|
|
39
|
+
tanf_gross_earned_income: 1_000
|
|
40
|
+
spm_units:
|
|
41
|
+
spm_unit:
|
|
42
|
+
members: [person1]
|
|
43
|
+
households:
|
|
44
|
+
household:
|
|
45
|
+
members: [person1]
|
|
46
|
+
state_code: IN
|
|
47
|
+
output:
|
|
48
|
+
in_tanf_countable_earned_income: 250
|
|
49
|
+
# 75% disregard: Only count 25% of $1,000 = $250
|
|
50
|
+
|
|
51
|
+
- name: Earned income with 75% disregard - $500 monthly
|
|
52
|
+
period: 2024-01
|
|
53
|
+
input:
|
|
54
|
+
people:
|
|
55
|
+
person1:
|
|
56
|
+
tanf_gross_earned_income: 500
|
|
57
|
+
spm_units:
|
|
58
|
+
spm_unit:
|
|
59
|
+
members: [person1]
|
|
60
|
+
households:
|
|
61
|
+
household:
|
|
62
|
+
members: [person1]
|
|
63
|
+
state_code: IN
|
|
64
|
+
output:
|
|
65
|
+
in_tanf_countable_earned_income: 125
|
|
66
|
+
# 75% disregard: Only count 25% of $500 = $125
|
|
67
|
+
|
|
68
|
+
- name: Low earned income - $200 monthly
|
|
69
|
+
period: 2024-01
|
|
70
|
+
input:
|
|
71
|
+
people:
|
|
72
|
+
person1:
|
|
73
|
+
tanf_gross_earned_income: 200
|
|
74
|
+
spm_units:
|
|
75
|
+
spm_unit:
|
|
76
|
+
members: [person1]
|
|
77
|
+
households:
|
|
78
|
+
household:
|
|
79
|
+
members: [person1]
|
|
80
|
+
state_code: IN
|
|
81
|
+
output:
|
|
82
|
+
in_tanf_countable_earned_income: 50
|
|
83
|
+
# 75% disregard: Only count 25% of $200 = $50
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# Tests for in_tanf_countable_earned_income_for_eligibility
|
|
2
|
+
# Applies: $90/earner (per person), then $30 + 1/3 per unit
|
|
3
|
+
|
|
4
|
+
- name: Family of 3 with 1 earner - gets $90 work expense disregard
|
|
5
|
+
period: 2024-01
|
|
6
|
+
input:
|
|
7
|
+
people:
|
|
8
|
+
parent1:
|
|
9
|
+
tanf_gross_earned_income: 400
|
|
10
|
+
parent2:
|
|
11
|
+
tanf_gross_earned_income: 0
|
|
12
|
+
child:
|
|
13
|
+
age: 10
|
|
14
|
+
spm_units:
|
|
15
|
+
spm_unit:
|
|
16
|
+
members: [parent1, parent2, child]
|
|
17
|
+
households:
|
|
18
|
+
household:
|
|
19
|
+
members: [parent1, parent2, child]
|
|
20
|
+
state_code: IN
|
|
21
|
+
output:
|
|
22
|
+
in_tanf_countable_earned_income_for_eligibility: [187.6, 187.6, 187.6]
|
|
23
|
+
# 1 earner: $400 - $90 = $310
|
|
24
|
+
# Unit total: $310
|
|
25
|
+
# $310 - $30 = $280
|
|
26
|
+
# $280 * 0.67 = $187.60
|
|
27
|
+
|
|
28
|
+
- name: Family of 3 with 2 earners - each gets $90 (total $180 disregard)
|
|
29
|
+
period: 2024-01
|
|
30
|
+
input:
|
|
31
|
+
people:
|
|
32
|
+
parent1:
|
|
33
|
+
tanf_gross_earned_income: 200
|
|
34
|
+
parent2:
|
|
35
|
+
tanf_gross_earned_income: 200
|
|
36
|
+
child:
|
|
37
|
+
age: 10
|
|
38
|
+
spm_units:
|
|
39
|
+
spm_unit:
|
|
40
|
+
members: [parent1, parent2, child]
|
|
41
|
+
households:
|
|
42
|
+
household:
|
|
43
|
+
members: [parent1, parent2, child]
|
|
44
|
+
state_code: IN
|
|
45
|
+
output:
|
|
46
|
+
in_tanf_countable_earned_income_for_eligibility: [127.3, 127.3, 127.3]
|
|
47
|
+
# Parent1: $200 - $90 = $110
|
|
48
|
+
# Parent2: $200 - $90 = $110
|
|
49
|
+
# Unit total: $220 (vs $310 if only 1 earner had $400)
|
|
50
|
+
# $220 - $30 = $190
|
|
51
|
+
# $190 * 0.67 = $127.30
|
|
52
|
+
# Key: 2 earners = $180 disregard, 1 earner = $90 disregard
|
|
53
|
+
|
|
54
|
+
- name: Single earner with low income
|
|
55
|
+
period: 2024-01
|
|
56
|
+
input:
|
|
57
|
+
people:
|
|
58
|
+
person1:
|
|
59
|
+
tanf_gross_earned_income: 300
|
|
60
|
+
person2:
|
|
61
|
+
age: 10
|
|
62
|
+
spm_units:
|
|
63
|
+
spm_unit:
|
|
64
|
+
members: [person1, person2]
|
|
65
|
+
households:
|
|
66
|
+
household:
|
|
67
|
+
members: [person1, person2]
|
|
68
|
+
state_code: IN
|
|
69
|
+
output:
|
|
70
|
+
in_tanf_countable_earned_income_for_eligibility: [120.6, 120.6]
|
|
71
|
+
# $300 - $90 = $210
|
|
72
|
+
# $210 - $30 = $180
|
|
73
|
+
# $180 * 0.67 = $120.60
|
|
74
|
+
|
|
75
|
+
- name: Earner below work expense disregard
|
|
76
|
+
period: 2024-01
|
|
77
|
+
input:
|
|
78
|
+
people:
|
|
79
|
+
person1:
|
|
80
|
+
tanf_gross_earned_income: 50
|
|
81
|
+
person2:
|
|
82
|
+
age: 10
|
|
83
|
+
spm_units:
|
|
84
|
+
spm_unit:
|
|
85
|
+
members: [person1, person2]
|
|
86
|
+
households:
|
|
87
|
+
household:
|
|
88
|
+
members: [person1, person2]
|
|
89
|
+
state_code: IN
|
|
90
|
+
output:
|
|
91
|
+
in_tanf_countable_earned_income_for_eligibility: [0, 0]
|
|
92
|
+
# $50 - $90 = max(0, -40) = $0
|
|
93
|
+
# $0 - $30 = max(0, -30) = $0
|
|
94
|
+
# $0 * 0.67 = $0
|
|
95
|
+
|
|
96
|
+
- name: Zero income
|
|
97
|
+
period: 2024-01
|
|
98
|
+
input:
|
|
99
|
+
people:
|
|
100
|
+
person1:
|
|
101
|
+
tanf_gross_earned_income: 0
|
|
102
|
+
person2:
|
|
103
|
+
age: 10
|
|
104
|
+
spm_units:
|
|
105
|
+
spm_unit:
|
|
106
|
+
members: [person1, person2]
|
|
107
|
+
households:
|
|
108
|
+
household:
|
|
109
|
+
members: [person1, person2]
|
|
110
|
+
state_code: IN
|
|
111
|
+
output:
|
|
112
|
+
in_tanf_countable_earned_income_for_eligibility: [0, 0]
|