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
|
@@ -0,0 +1,667 @@
|
|
|
1
|
+
# Integration tests for Emergency Medicaid
|
|
2
|
+
# Per 42 USC 1396b(v), Emergency Medicaid provides coverage for individuals who:
|
|
3
|
+
# 1. Are NOT eligible for regular Medicaid due to immigration status
|
|
4
|
+
# 2. Meet all other Medicaid eligibility requirements (income, categorical)
|
|
5
|
+
# 3. Have an emergency medical condition
|
|
6
|
+
#
|
|
7
|
+
# References:
|
|
8
|
+
# - 42 USC 1396b(v): https://www.law.cornell.edu/uscode/text/42/1396b#v
|
|
9
|
+
# - 42 CFR 440.255: https://www.law.cornell.edu/cfr/text/42/440.255
|
|
10
|
+
# - 8 USC 1611(b)(1)(A): https://www.law.cornell.edu/uscode/text/8/1611#b_1_A
|
|
11
|
+
#
|
|
12
|
+
# 2025 FPL for 1 person in contiguous US: $15,650
|
|
13
|
+
# 133% FPL (Medicaid adult threshold): ~$20,815
|
|
14
|
+
# 138% FPL (with 5% disregard): ~$21,597
|
|
15
|
+
|
|
16
|
+
# ============================================================
|
|
17
|
+
# ELIGIBLE CASES - Integration tests showing full pipeline
|
|
18
|
+
# ============================================================
|
|
19
|
+
|
|
20
|
+
- name: Case 1, undocumented single adult with emergency condition and low income.
|
|
21
|
+
period: 2025
|
|
22
|
+
absolute_error_margin: 0.01
|
|
23
|
+
input:
|
|
24
|
+
people:
|
|
25
|
+
person1:
|
|
26
|
+
age: 35
|
|
27
|
+
employment_income: 18_000
|
|
28
|
+
immigration_status: UNDOCUMENTED
|
|
29
|
+
has_emergency_medical_condition: true
|
|
30
|
+
tax_units:
|
|
31
|
+
tax_unit:
|
|
32
|
+
members: [person1]
|
|
33
|
+
spm_units:
|
|
34
|
+
spm_unit:
|
|
35
|
+
members: [person1]
|
|
36
|
+
households:
|
|
37
|
+
household:
|
|
38
|
+
members: [person1]
|
|
39
|
+
# Using CO (Medicaid expansion state) instead of TX (non-expansion)
|
|
40
|
+
# CO does NOT cover undocumented immigrants
|
|
41
|
+
state_code: CO
|
|
42
|
+
output:
|
|
43
|
+
# Immigration status check
|
|
44
|
+
# Undocumented immigrants are not eligible for regular Medicaid in CO
|
|
45
|
+
is_medicaid_immigration_status_eligible: [false]
|
|
46
|
+
# Has emergency condition
|
|
47
|
+
has_emergency_medical_condition: [true]
|
|
48
|
+
# Income: $18,000 < ~$21,597 (138% FPL with 5% disregard), meets income requirement
|
|
49
|
+
# Medicaid category should be ADULT (age 35, income-eligible in expansion state)
|
|
50
|
+
# Therefore eligible for Emergency Medicaid
|
|
51
|
+
is_emergency_medicaid_eligible: [true]
|
|
52
|
+
|
|
53
|
+
- name: Case 2, US citizen with emergency condition should get regular Medicaid.
|
|
54
|
+
period: 2025
|
|
55
|
+
absolute_error_margin: 0.01
|
|
56
|
+
input:
|
|
57
|
+
people:
|
|
58
|
+
person1:
|
|
59
|
+
age: 30
|
|
60
|
+
employment_income: 18_000
|
|
61
|
+
immigration_status: CITIZEN
|
|
62
|
+
has_emergency_medical_condition: true
|
|
63
|
+
tax_units:
|
|
64
|
+
tax_unit:
|
|
65
|
+
members: [person1]
|
|
66
|
+
spm_units:
|
|
67
|
+
spm_unit:
|
|
68
|
+
members: [person1]
|
|
69
|
+
households:
|
|
70
|
+
household:
|
|
71
|
+
members: [person1]
|
|
72
|
+
state_code: TX
|
|
73
|
+
output:
|
|
74
|
+
# Citizens are eligible for regular Medicaid
|
|
75
|
+
is_medicaid_immigration_status_eligible: [true]
|
|
76
|
+
# Has emergency condition
|
|
77
|
+
has_emergency_medical_condition: [true]
|
|
78
|
+
# Should NOT be eligible for Emergency Medicaid (gets regular Medicaid instead)
|
|
79
|
+
is_emergency_medicaid_eligible: [false]
|
|
80
|
+
|
|
81
|
+
- name: Case 3, undocumented adult without emergency condition.
|
|
82
|
+
period: 2025
|
|
83
|
+
absolute_error_margin: 0.01
|
|
84
|
+
input:
|
|
85
|
+
people:
|
|
86
|
+
person1:
|
|
87
|
+
age: 40
|
|
88
|
+
employment_income: 15_000
|
|
89
|
+
immigration_status: UNDOCUMENTED
|
|
90
|
+
has_emergency_medical_condition: false
|
|
91
|
+
tax_units:
|
|
92
|
+
tax_unit:
|
|
93
|
+
members: [person1]
|
|
94
|
+
spm_units:
|
|
95
|
+
spm_unit:
|
|
96
|
+
members: [person1]
|
|
97
|
+
households:
|
|
98
|
+
household:
|
|
99
|
+
members: [person1]
|
|
100
|
+
state_code: FL
|
|
101
|
+
output:
|
|
102
|
+
# Undocumented, not eligible for regular Medicaid
|
|
103
|
+
is_medicaid_immigration_status_eligible: [false]
|
|
104
|
+
# No emergency condition
|
|
105
|
+
has_emergency_medical_condition: [false]
|
|
106
|
+
# Not eligible - missing emergency condition requirement
|
|
107
|
+
is_emergency_medicaid_eligible: [false]
|
|
108
|
+
|
|
109
|
+
- name: Case 4, undocumented pregnant woman in labor.
|
|
110
|
+
period: 2025
|
|
111
|
+
absolute_error_margin: 0.01
|
|
112
|
+
input:
|
|
113
|
+
people:
|
|
114
|
+
person1:
|
|
115
|
+
age: 28
|
|
116
|
+
employment_income: 20_000
|
|
117
|
+
immigration_status: UNDOCUMENTED
|
|
118
|
+
is_pregnant: true
|
|
119
|
+
has_emergency_medical_condition: true
|
|
120
|
+
tax_units:
|
|
121
|
+
tax_unit:
|
|
122
|
+
members: [person1]
|
|
123
|
+
spm_units:
|
|
124
|
+
spm_unit:
|
|
125
|
+
members: [person1]
|
|
126
|
+
households:
|
|
127
|
+
household:
|
|
128
|
+
members: [person1]
|
|
129
|
+
state_code: AZ
|
|
130
|
+
output:
|
|
131
|
+
# Undocumented, not eligible for regular Medicaid in AZ
|
|
132
|
+
is_medicaid_immigration_status_eligible: [false]
|
|
133
|
+
# Pregnant with emergency condition (labor and delivery is emergency per statute)
|
|
134
|
+
is_pregnant: [true]
|
|
135
|
+
has_emergency_medical_condition: [true]
|
|
136
|
+
# Income $20,000 is below pregnant woman threshold (typically 133-319% FPL)
|
|
137
|
+
# Eligible for Emergency Medicaid for labor and delivery
|
|
138
|
+
is_emergency_medicaid_eligible: [true]
|
|
139
|
+
|
|
140
|
+
- name: Case 5, undocumented adult with income too high.
|
|
141
|
+
period: 2025
|
|
142
|
+
absolute_error_margin: 0.01
|
|
143
|
+
input:
|
|
144
|
+
people:
|
|
145
|
+
person1:
|
|
146
|
+
age: 45
|
|
147
|
+
employment_income: 50_000
|
|
148
|
+
immigration_status: UNDOCUMENTED
|
|
149
|
+
has_emergency_medical_condition: true
|
|
150
|
+
tax_units:
|
|
151
|
+
tax_unit:
|
|
152
|
+
members: [person1]
|
|
153
|
+
spm_units:
|
|
154
|
+
spm_unit:
|
|
155
|
+
members: [person1]
|
|
156
|
+
households:
|
|
157
|
+
household:
|
|
158
|
+
members: [person1]
|
|
159
|
+
state_code: OH
|
|
160
|
+
output:
|
|
161
|
+
# Undocumented, not eligible for regular Medicaid
|
|
162
|
+
is_medicaid_immigration_status_eligible: [false]
|
|
163
|
+
# Has emergency condition
|
|
164
|
+
has_emergency_medical_condition: [true]
|
|
165
|
+
# Income $50,000 >> ~$20,815 (133% FPL for single adult)
|
|
166
|
+
# Does not meet Medicaid income eligibility - medicaid_category should be NONE
|
|
167
|
+
# Not eligible for Emergency Medicaid due to income
|
|
168
|
+
is_emergency_medicaid_eligible: [false]
|
|
169
|
+
|
|
170
|
+
- name: Case 6, DACA recipient with emergency condition.
|
|
171
|
+
period: 2025
|
|
172
|
+
absolute_error_margin: 0.01
|
|
173
|
+
input:
|
|
174
|
+
people:
|
|
175
|
+
person1:
|
|
176
|
+
age: 25
|
|
177
|
+
employment_income: 16_000
|
|
178
|
+
immigration_status: DACA
|
|
179
|
+
has_emergency_medical_condition: true
|
|
180
|
+
tax_units:
|
|
181
|
+
tax_unit:
|
|
182
|
+
members: [person1]
|
|
183
|
+
spm_units:
|
|
184
|
+
spm_unit:
|
|
185
|
+
members: [person1]
|
|
186
|
+
households:
|
|
187
|
+
household:
|
|
188
|
+
members: [person1]
|
|
189
|
+
# Using NV (Medicaid expansion state) instead of GA (non-expansion)
|
|
190
|
+
# NV does NOT cover undocumented/DACA immigrants
|
|
191
|
+
state_code: NV
|
|
192
|
+
output:
|
|
193
|
+
# DACA recipients generally not eligible for regular Medicaid in most states
|
|
194
|
+
is_medicaid_immigration_status_eligible: [false]
|
|
195
|
+
# Has emergency condition
|
|
196
|
+
has_emergency_medical_condition: [true]
|
|
197
|
+
# Income $16,000 < ~$21,597 (138% FPL with 5% disregard), meets income requirement
|
|
198
|
+
# Eligible for Emergency Medicaid
|
|
199
|
+
is_emergency_medicaid_eligible: [true]
|
|
200
|
+
|
|
201
|
+
- name: Case 7, legal permanent resident should get regular Medicaid.
|
|
202
|
+
period: 2025
|
|
203
|
+
absolute_error_margin: 0.01
|
|
204
|
+
input:
|
|
205
|
+
people:
|
|
206
|
+
person1:
|
|
207
|
+
age: 50
|
|
208
|
+
employment_income: 14_000
|
|
209
|
+
immigration_status: LEGAL_PERMANENT_RESIDENT
|
|
210
|
+
has_emergency_medical_condition: true
|
|
211
|
+
tax_units:
|
|
212
|
+
tax_unit:
|
|
213
|
+
members: [person1]
|
|
214
|
+
spm_units:
|
|
215
|
+
spm_unit:
|
|
216
|
+
members: [person1]
|
|
217
|
+
households:
|
|
218
|
+
household:
|
|
219
|
+
members: [person1]
|
|
220
|
+
state_code: NY
|
|
221
|
+
output:
|
|
222
|
+
# LPRs are eligible for regular Medicaid
|
|
223
|
+
is_medicaid_immigration_status_eligible: [true]
|
|
224
|
+
# Has emergency condition
|
|
225
|
+
has_emergency_medical_condition: [true]
|
|
226
|
+
# Should NOT be eligible for Emergency Medicaid (gets regular Medicaid instead)
|
|
227
|
+
is_emergency_medicaid_eligible: [false]
|
|
228
|
+
|
|
229
|
+
# ============================================================
|
|
230
|
+
# EDGE CASES - Zero income
|
|
231
|
+
# ============================================================
|
|
232
|
+
|
|
233
|
+
- name: Case 8, undocumented adult with zero income and emergency.
|
|
234
|
+
period: 2025
|
|
235
|
+
absolute_error_margin: 0.01
|
|
236
|
+
input:
|
|
237
|
+
people:
|
|
238
|
+
person1:
|
|
239
|
+
age: 35
|
|
240
|
+
employment_income: 0
|
|
241
|
+
immigration_status: UNDOCUMENTED
|
|
242
|
+
has_emergency_medical_condition: true
|
|
243
|
+
tax_units:
|
|
244
|
+
tax_unit:
|
|
245
|
+
members: [person1]
|
|
246
|
+
spm_units:
|
|
247
|
+
spm_unit:
|
|
248
|
+
members: [person1]
|
|
249
|
+
households:
|
|
250
|
+
household:
|
|
251
|
+
members: [person1]
|
|
252
|
+
# Using CO instead of CA (CA covers undocumented immigrants)
|
|
253
|
+
# CO is a Medicaid expansion state that does NOT cover undocumented
|
|
254
|
+
state_code: CO
|
|
255
|
+
output:
|
|
256
|
+
# Zero income - definitely meets income requirements
|
|
257
|
+
# Undocumented, not eligible for regular Medicaid in CO
|
|
258
|
+
is_medicaid_immigration_status_eligible: [false]
|
|
259
|
+
# Has emergency condition
|
|
260
|
+
has_emergency_medical_condition: [true]
|
|
261
|
+
# Should be eligible for Emergency Medicaid
|
|
262
|
+
is_emergency_medicaid_eligible: [true]
|
|
263
|
+
|
|
264
|
+
# ============================================================
|
|
265
|
+
# EDGE CASES - Multiple people in household
|
|
266
|
+
# ============================================================
|
|
267
|
+
|
|
268
|
+
- name: Case 9, mixed household with citizen parent and undocumented child.
|
|
269
|
+
period: 2025
|
|
270
|
+
absolute_error_margin: 0.01
|
|
271
|
+
input:
|
|
272
|
+
people:
|
|
273
|
+
person1:
|
|
274
|
+
age: 35
|
|
275
|
+
employment_income: 25_000
|
|
276
|
+
immigration_status: CITIZEN
|
|
277
|
+
has_emergency_medical_condition: false
|
|
278
|
+
person2:
|
|
279
|
+
age: 10
|
|
280
|
+
immigration_status: UNDOCUMENTED
|
|
281
|
+
has_emergency_medical_condition: true
|
|
282
|
+
tax_units:
|
|
283
|
+
tax_unit:
|
|
284
|
+
members: [person1, person2]
|
|
285
|
+
spm_units:
|
|
286
|
+
spm_unit:
|
|
287
|
+
members: [person1, person2]
|
|
288
|
+
households:
|
|
289
|
+
household:
|
|
290
|
+
members: [person1, person2]
|
|
291
|
+
state_code: TX
|
|
292
|
+
output:
|
|
293
|
+
# Person1 (citizen) is eligible for regular Medicaid
|
|
294
|
+
# Person2 (undocumented child) is NOT eligible for regular Medicaid
|
|
295
|
+
is_medicaid_immigration_status_eligible: [true, false]
|
|
296
|
+
# Person1 has no emergency, Person2 has emergency
|
|
297
|
+
has_emergency_medical_condition: [false, true]
|
|
298
|
+
# Person1: Citizen, so not eligible for Emergency Medicaid (gets regular)
|
|
299
|
+
# Person2: Undocumented child with emergency, should be eligible
|
|
300
|
+
is_emergency_medicaid_eligible: [false, true]
|
|
301
|
+
|
|
302
|
+
- name: Case 10, household with two undocumented adults only one with emergency.
|
|
303
|
+
period: 2025
|
|
304
|
+
absolute_error_margin: 0.01
|
|
305
|
+
input:
|
|
306
|
+
people:
|
|
307
|
+
person1:
|
|
308
|
+
age: 40
|
|
309
|
+
employment_income: 20_000
|
|
310
|
+
immigration_status: UNDOCUMENTED
|
|
311
|
+
has_emergency_medical_condition: true
|
|
312
|
+
person2:
|
|
313
|
+
age: 38
|
|
314
|
+
employment_income: 15_000
|
|
315
|
+
immigration_status: UNDOCUMENTED
|
|
316
|
+
has_emergency_medical_condition: false
|
|
317
|
+
tax_units:
|
|
318
|
+
tax_unit:
|
|
319
|
+
members: [person1, person2]
|
|
320
|
+
spm_units:
|
|
321
|
+
spm_unit:
|
|
322
|
+
members: [person1, person2]
|
|
323
|
+
households:
|
|
324
|
+
household:
|
|
325
|
+
members: [person1, person2]
|
|
326
|
+
state_code: NV
|
|
327
|
+
output:
|
|
328
|
+
# Both undocumented, neither eligible for regular Medicaid
|
|
329
|
+
is_medicaid_immigration_status_eligible: [false, false]
|
|
330
|
+
# Person1 has emergency, Person2 does not
|
|
331
|
+
has_emergency_medical_condition: [true, false]
|
|
332
|
+
# Combined income $35,000 for 2-person household
|
|
333
|
+
# 2-person FPL = $21,150, 138% FPL = $29,187
|
|
334
|
+
# Income level = $35,000 / $21,150 = 1.65 (165% FPL) > 138% limit
|
|
335
|
+
# Both have medicaid_category = NONE due to income exceeding limit
|
|
336
|
+
# Neither eligible for Emergency Medicaid (no valid Medicaid category)
|
|
337
|
+
is_emergency_medicaid_eligible: [false, false]
|
|
338
|
+
|
|
339
|
+
- name: Case 11, household with undocumented parent and citizen child.
|
|
340
|
+
period: 2025
|
|
341
|
+
absolute_error_margin: 0.01
|
|
342
|
+
input:
|
|
343
|
+
people:
|
|
344
|
+
person1:
|
|
345
|
+
age: 32
|
|
346
|
+
employment_income: 18_000
|
|
347
|
+
immigration_status: UNDOCUMENTED
|
|
348
|
+
has_emergency_medical_condition: true
|
|
349
|
+
person2:
|
|
350
|
+
age: 5
|
|
351
|
+
immigration_status: CITIZEN
|
|
352
|
+
has_emergency_medical_condition: true
|
|
353
|
+
tax_units:
|
|
354
|
+
tax_unit:
|
|
355
|
+
members: [person1, person2]
|
|
356
|
+
spm_units:
|
|
357
|
+
spm_unit:
|
|
358
|
+
members: [person1, person2]
|
|
359
|
+
households:
|
|
360
|
+
household:
|
|
361
|
+
members: [person1, person2]
|
|
362
|
+
state_code: FL
|
|
363
|
+
output:
|
|
364
|
+
# Person1 (undocumented) NOT eligible for regular Medicaid
|
|
365
|
+
# Person2 (citizen child) IS eligible for regular Medicaid
|
|
366
|
+
is_medicaid_immigration_status_eligible: [false, true]
|
|
367
|
+
# Both have emergency conditions
|
|
368
|
+
has_emergency_medical_condition: [true, true]
|
|
369
|
+
# Person1: FL has no Medicaid expansion (adult income limit = -inf)
|
|
370
|
+
# So person1 has medicaid_category = NONE, not eligible for Emergency Medicaid
|
|
371
|
+
# Person2: Citizen child - gets regular Medicaid, NOT Emergency Medicaid
|
|
372
|
+
is_emergency_medicaid_eligible: [false, false]
|
|
373
|
+
|
|
374
|
+
# ============================================================
|
|
375
|
+
# EDGE CASES - Large household
|
|
376
|
+
# ============================================================
|
|
377
|
+
|
|
378
|
+
- name: Case 12, large household with mixed immigration status and emergency conditions.
|
|
379
|
+
period: 2025
|
|
380
|
+
absolute_error_margin: 0.01
|
|
381
|
+
input:
|
|
382
|
+
people:
|
|
383
|
+
person1:
|
|
384
|
+
age: 45
|
|
385
|
+
employment_income: 40_000
|
|
386
|
+
immigration_status: CITIZEN
|
|
387
|
+
has_emergency_medical_condition: false
|
|
388
|
+
person2:
|
|
389
|
+
age: 42
|
|
390
|
+
immigration_status: UNDOCUMENTED
|
|
391
|
+
has_emergency_medical_condition: true
|
|
392
|
+
person3:
|
|
393
|
+
age: 16
|
|
394
|
+
immigration_status: UNDOCUMENTED
|
|
395
|
+
has_emergency_medical_condition: false
|
|
396
|
+
person4:
|
|
397
|
+
age: 12
|
|
398
|
+
immigration_status: CITIZEN
|
|
399
|
+
has_emergency_medical_condition: true
|
|
400
|
+
person5:
|
|
401
|
+
age: 8
|
|
402
|
+
immigration_status: UNDOCUMENTED
|
|
403
|
+
has_emergency_medical_condition: true
|
|
404
|
+
tax_units:
|
|
405
|
+
tax_unit:
|
|
406
|
+
members: [person1, person2, person3, person4, person5]
|
|
407
|
+
spm_units:
|
|
408
|
+
spm_unit:
|
|
409
|
+
members: [person1, person2, person3, person4, person5]
|
|
410
|
+
households:
|
|
411
|
+
household:
|
|
412
|
+
members: [person1, person2, person3, person4, person5]
|
|
413
|
+
state_code: AZ
|
|
414
|
+
output:
|
|
415
|
+
# Person1: Citizen - eligible for regular Medicaid
|
|
416
|
+
# Person2: Undocumented - NOT eligible for regular Medicaid
|
|
417
|
+
# Person3: Undocumented - NOT eligible for regular Medicaid
|
|
418
|
+
# Person4: Citizen - eligible for regular Medicaid
|
|
419
|
+
# Person5: Undocumented - NOT eligible for regular Medicaid
|
|
420
|
+
is_medicaid_immigration_status_eligible: [true, false, false, true, false]
|
|
421
|
+
# Emergency conditions: 1=F, 2=T, 3=F, 4=T, 5=T
|
|
422
|
+
has_emergency_medical_condition: [false, true, false, true, true]
|
|
423
|
+
# Person1: Citizen, no emergency - NOT eligible for Emergency Medicaid
|
|
424
|
+
# Person2: Undocumented, emergency - ELIGIBLE for Emergency Medicaid
|
|
425
|
+
# Person3: Undocumented, no emergency - NOT eligible
|
|
426
|
+
# Person4: Citizen, emergency - gets regular Medicaid instead
|
|
427
|
+
# Person5: Undocumented, emergency - ELIGIBLE for Emergency Medicaid
|
|
428
|
+
is_emergency_medicaid_eligible: [false, true, false, false, true]
|
|
429
|
+
|
|
430
|
+
# ============================================================
|
|
431
|
+
# EDGE CASES - All immigration status types in household
|
|
432
|
+
# ============================================================
|
|
433
|
+
|
|
434
|
+
- name: Case 13, TPS recipient with emergency condition.
|
|
435
|
+
period: 2025
|
|
436
|
+
absolute_error_margin: 0.01
|
|
437
|
+
input:
|
|
438
|
+
people:
|
|
439
|
+
person1:
|
|
440
|
+
age: 30
|
|
441
|
+
employment_income: 15_000
|
|
442
|
+
immigration_status: TPS
|
|
443
|
+
has_emergency_medical_condition: true
|
|
444
|
+
tax_units:
|
|
445
|
+
tax_unit:
|
|
446
|
+
members: [person1]
|
|
447
|
+
spm_units:
|
|
448
|
+
spm_unit:
|
|
449
|
+
members: [person1]
|
|
450
|
+
households:
|
|
451
|
+
household:
|
|
452
|
+
members: [person1]
|
|
453
|
+
state_code: IL
|
|
454
|
+
output:
|
|
455
|
+
# TPS generally not eligible for regular Medicaid
|
|
456
|
+
is_medicaid_immigration_status_eligible: [false]
|
|
457
|
+
has_emergency_medical_condition: [true]
|
|
458
|
+
# Should be eligible for Emergency Medicaid
|
|
459
|
+
is_emergency_medicaid_eligible: [true]
|
|
460
|
+
|
|
461
|
+
- name: Case 14, refugee with emergency should get regular Medicaid.
|
|
462
|
+
period: 2025
|
|
463
|
+
absolute_error_margin: 0.01
|
|
464
|
+
input:
|
|
465
|
+
people:
|
|
466
|
+
person1:
|
|
467
|
+
age: 28
|
|
468
|
+
employment_income: 12_000
|
|
469
|
+
immigration_status: REFUGEE
|
|
470
|
+
has_emergency_medical_condition: true
|
|
471
|
+
tax_units:
|
|
472
|
+
tax_unit:
|
|
473
|
+
members: [person1]
|
|
474
|
+
spm_units:
|
|
475
|
+
spm_unit:
|
|
476
|
+
members: [person1]
|
|
477
|
+
households:
|
|
478
|
+
household:
|
|
479
|
+
members: [person1]
|
|
480
|
+
state_code: MI
|
|
481
|
+
output:
|
|
482
|
+
# Refugees ARE eligible for regular Medicaid
|
|
483
|
+
is_medicaid_immigration_status_eligible: [true]
|
|
484
|
+
has_emergency_medical_condition: [true]
|
|
485
|
+
# Should NOT be eligible for Emergency Medicaid (gets regular instead)
|
|
486
|
+
is_emergency_medicaid_eligible: [false]
|
|
487
|
+
|
|
488
|
+
- name: Case 15, asylee with emergency should get regular Medicaid.
|
|
489
|
+
period: 2025
|
|
490
|
+
absolute_error_margin: 0.01
|
|
491
|
+
input:
|
|
492
|
+
people:
|
|
493
|
+
person1:
|
|
494
|
+
age: 33
|
|
495
|
+
employment_income: 10_000
|
|
496
|
+
immigration_status: ASYLEE
|
|
497
|
+
has_emergency_medical_condition: true
|
|
498
|
+
tax_units:
|
|
499
|
+
tax_unit:
|
|
500
|
+
members: [person1]
|
|
501
|
+
spm_units:
|
|
502
|
+
spm_unit:
|
|
503
|
+
members: [person1]
|
|
504
|
+
households:
|
|
505
|
+
household:
|
|
506
|
+
members: [person1]
|
|
507
|
+
state_code: WA
|
|
508
|
+
output:
|
|
509
|
+
# Asylees ARE eligible for regular Medicaid
|
|
510
|
+
is_medicaid_immigration_status_eligible: [true]
|
|
511
|
+
has_emergency_medical_condition: [true]
|
|
512
|
+
# Should NOT be eligible for Emergency Medicaid
|
|
513
|
+
is_emergency_medicaid_eligible: [false]
|
|
514
|
+
|
|
515
|
+
# ============================================================
|
|
516
|
+
# EDGE CASES - Age boundaries
|
|
517
|
+
# ============================================================
|
|
518
|
+
|
|
519
|
+
- name: Case 16, undocumented newborn with emergency.
|
|
520
|
+
period: 2025
|
|
521
|
+
absolute_error_margin: 0.01
|
|
522
|
+
input:
|
|
523
|
+
people:
|
|
524
|
+
person1:
|
|
525
|
+
age: 0
|
|
526
|
+
immigration_status: UNDOCUMENTED
|
|
527
|
+
has_emergency_medical_condition: true
|
|
528
|
+
tax_units:
|
|
529
|
+
tax_unit:
|
|
530
|
+
members: [person1]
|
|
531
|
+
spm_units:
|
|
532
|
+
spm_unit:
|
|
533
|
+
members: [person1]
|
|
534
|
+
households:
|
|
535
|
+
household:
|
|
536
|
+
members: [person1]
|
|
537
|
+
state_code: TX
|
|
538
|
+
output:
|
|
539
|
+
# Undocumented infant not eligible for regular Medicaid
|
|
540
|
+
is_medicaid_immigration_status_eligible: [false]
|
|
541
|
+
has_emergency_medical_condition: [true]
|
|
542
|
+
# Should be eligible for Emergency Medicaid (if meets Medicaid category)
|
|
543
|
+
is_emergency_medicaid_eligible: [true]
|
|
544
|
+
|
|
545
|
+
- name: Case 17, undocumented elderly person with emergency.
|
|
546
|
+
period: 2025
|
|
547
|
+
absolute_error_margin: 0.01
|
|
548
|
+
input:
|
|
549
|
+
people:
|
|
550
|
+
person1:
|
|
551
|
+
age: 75
|
|
552
|
+
employment_income: 10_000
|
|
553
|
+
immigration_status: UNDOCUMENTED
|
|
554
|
+
has_emergency_medical_condition: true
|
|
555
|
+
tax_units:
|
|
556
|
+
tax_unit:
|
|
557
|
+
members: [person1]
|
|
558
|
+
spm_units:
|
|
559
|
+
spm_unit:
|
|
560
|
+
members: [person1]
|
|
561
|
+
households:
|
|
562
|
+
household:
|
|
563
|
+
members: [person1]
|
|
564
|
+
state_code: FL
|
|
565
|
+
output:
|
|
566
|
+
# Undocumented elderly not eligible for regular Medicaid
|
|
567
|
+
is_medicaid_immigration_status_eligible: [false]
|
|
568
|
+
has_emergency_medical_condition: [true]
|
|
569
|
+
# Should be eligible for Emergency Medicaid
|
|
570
|
+
is_emergency_medicaid_eligible: [true]
|
|
571
|
+
|
|
572
|
+
# ============================================================
|
|
573
|
+
# EDGE CASES - Income boundary conditions
|
|
574
|
+
# ============================================================
|
|
575
|
+
|
|
576
|
+
- name: Case 18, undocumented adult at exactly FPL threshold.
|
|
577
|
+
period: 2025
|
|
578
|
+
absolute_error_margin: 0.01
|
|
579
|
+
input:
|
|
580
|
+
people:
|
|
581
|
+
person1:
|
|
582
|
+
age: 35
|
|
583
|
+
employment_income: 20_815
|
|
584
|
+
immigration_status: UNDOCUMENTED
|
|
585
|
+
has_emergency_medical_condition: true
|
|
586
|
+
tax_units:
|
|
587
|
+
tax_unit:
|
|
588
|
+
members: [person1]
|
|
589
|
+
spm_units:
|
|
590
|
+
spm_unit:
|
|
591
|
+
members: [person1]
|
|
592
|
+
households:
|
|
593
|
+
household:
|
|
594
|
+
members: [person1]
|
|
595
|
+
state_code: CO
|
|
596
|
+
output:
|
|
597
|
+
# Undocumented, not eligible for regular Medicaid
|
|
598
|
+
is_medicaid_immigration_status_eligible: [false]
|
|
599
|
+
has_emergency_medical_condition: [true]
|
|
600
|
+
# Income at 133% FPL threshold (~$20,815 for single adult in 2025)
|
|
601
|
+
# Whether eligible depends on exact Medicaid income calculation
|
|
602
|
+
is_emergency_medicaid_eligible: [true]
|
|
603
|
+
|
|
604
|
+
- name: Case 19, undocumented adult just above FPL threshold.
|
|
605
|
+
period: 2025
|
|
606
|
+
absolute_error_margin: 0.01
|
|
607
|
+
input:
|
|
608
|
+
people:
|
|
609
|
+
person1:
|
|
610
|
+
age: 35
|
|
611
|
+
employment_income: 25_000
|
|
612
|
+
immigration_status: UNDOCUMENTED
|
|
613
|
+
has_emergency_medical_condition: true
|
|
614
|
+
tax_units:
|
|
615
|
+
tax_unit:
|
|
616
|
+
members: [person1]
|
|
617
|
+
spm_units:
|
|
618
|
+
spm_unit:
|
|
619
|
+
members: [person1]
|
|
620
|
+
households:
|
|
621
|
+
household:
|
|
622
|
+
members: [person1]
|
|
623
|
+
state_code: PA
|
|
624
|
+
output:
|
|
625
|
+
# Undocumented, not eligible for regular Medicaid
|
|
626
|
+
is_medicaid_immigration_status_eligible: [false]
|
|
627
|
+
has_emergency_medical_condition: [true]
|
|
628
|
+
# Income $25,000 > ~$21,597 (138% FPL with 5% disregard)
|
|
629
|
+
# Should NOT be eligible - income too high, no Medicaid category
|
|
630
|
+
is_emergency_medicaid_eligible: [false]
|
|
631
|
+
|
|
632
|
+
# ============================================================
|
|
633
|
+
# EDGE CASES - Disabled and SSI recipients
|
|
634
|
+
# ============================================================
|
|
635
|
+
|
|
636
|
+
- name: Case 20, undocumented disabled adult with emergency.
|
|
637
|
+
period: 2025
|
|
638
|
+
absolute_error_margin: 0.01
|
|
639
|
+
input:
|
|
640
|
+
people:
|
|
641
|
+
person1:
|
|
642
|
+
age: 55
|
|
643
|
+
employment_income: 0
|
|
644
|
+
is_disabled: true
|
|
645
|
+
immigration_status: UNDOCUMENTED
|
|
646
|
+
has_emergency_medical_condition: true
|
|
647
|
+
tax_units:
|
|
648
|
+
tax_unit:
|
|
649
|
+
members: [person1]
|
|
650
|
+
spm_units:
|
|
651
|
+
spm_unit:
|
|
652
|
+
members: [person1]
|
|
653
|
+
households:
|
|
654
|
+
household:
|
|
655
|
+
members: [person1]
|
|
656
|
+
# Changed from NY to TX because NY covers undocumented immigrants
|
|
657
|
+
# TX does not cover undocumented immigrants
|
|
658
|
+
state_code: TX
|
|
659
|
+
output:
|
|
660
|
+
# Undocumented in TX, not eligible for regular Medicaid
|
|
661
|
+
is_medicaid_immigration_status_eligible: [false]
|
|
662
|
+
has_emergency_medical_condition: [true]
|
|
663
|
+
# TX does not expand Medicaid for adults (income limit = -inf)
|
|
664
|
+
# So medicaid_category = NONE for adults
|
|
665
|
+
# However, disabled people may qualify under senior_or_disabled category
|
|
666
|
+
# Need to check if disabled person qualifies for Emergency Medicaid
|
|
667
|
+
is_emergency_medicaid_eligible: [true]
|