policyengine-us 1.360.0__py3-none-any.whl → 1.437.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/data/__init__.py +1 -0
- policyengine_us/data/zip_code_dataset.py +11 -0
- policyengine_us/parameters/gov/aca/benchmark_premium_uprating.yaml +23 -0
- policyengine_us/parameters/gov/aca/required_contribution_percentage.yaml +64 -0
- policyengine_us/parameters/gov/aca/state_rating_area_cost.yaml +512 -13
- policyengine_us/parameters/gov/bls/cpi/c_cpi_u.yaml +25 -10
- policyengine_us/parameters/gov/bls/cpi/cpi_u.yaml +22 -21
- policyengine_us/parameters/gov/bls/cpi/cpi_w.yaml +27 -39
- policyengine_us/parameters/gov/contrib/aca/ptc_additional_bracket/brackets.yaml +42 -0
- policyengine_us/parameters/gov/contrib/aca/ptc_additional_bracket/in_effect.yaml +10 -0
- policyengine_us/parameters/gov/contrib/aca/ptc_additional_bracket/income_eligibility.yaml +28 -0
- policyengine_us/parameters/gov/contrib/aca/ptc_simplified_bracket/brackets.yaml +28 -0
- policyengine_us/parameters/gov/contrib/aca/ptc_simplified_bracket/in_effect.yaml +10 -0
- policyengine_us/parameters/gov/contrib/aca/ptc_simplified_bracket/income_eligibility.yaml +28 -0
- policyengine_us/parameters/gov/contrib/congress/tlaib/economic_dignity_for_all_agenda/end_child_poverty_act/adult_dependent_credit/amount.yaml +9 -0
- policyengine_us/parameters/gov/contrib/congress/tlaib/economic_dignity_for_all_agenda/end_child_poverty_act/adult_dependent_credit/min_age.yaml +8 -0
- policyengine_us/parameters/gov/contrib/congress/tlaib/economic_dignity_for_all_agenda/end_child_poverty_act/child_benefit/age_limit.yaml +8 -0
- policyengine_us/parameters/gov/contrib/congress/tlaib/economic_dignity_for_all_agenda/end_child_poverty_act/filer_credit/amount.yaml +20 -0
- policyengine_us/parameters/gov/contrib/congress/tlaib/economic_dignity_for_all_agenda/end_child_poverty_act/filer_credit/eligibility/max_age.yaml +10 -0
- policyengine_us/parameters/gov/contrib/congress/tlaib/economic_dignity_for_all_agenda/end_child_poverty_act/filer_credit/eligibility/min_age.yaml +8 -0
- policyengine_us/parameters/gov/contrib/congress/tlaib/economic_dignity_for_all_agenda/end_child_poverty_act/filer_credit/phase_out/rate.yaml +8 -0
- policyengine_us/parameters/gov/contrib/congress/tlaib/economic_dignity_for_all_agenda/end_child_poverty_act/filer_credit/phase_out/start.yaml +20 -0
- policyengine_us/parameters/gov/contrib/congress/tlaib/economic_dignity_for_all_agenda/end_child_poverty_act/in_effect.yaml +8 -0
- policyengine_us/parameters/gov/contrib/crfb/senior_deduction_extension/applies.yaml +8 -0
- policyengine_us/parameters/gov/contrib/crfb/ss_credit/amount.yaml +18 -0
- policyengine_us/parameters/gov/contrib/crfb/ss_credit/in_effect.yaml +8 -0
- policyengine_us/parameters/gov/contrib/crfb/tax_employer_payroll_tax/percentage.yaml +8 -0
- policyengine_us/parameters/gov/contrib/ctc/minimum_refundable/amount.yaml +18 -0
- policyengine_us/parameters/gov/contrib/ctc/minimum_refundable/in_effect.yaml +7 -0
- policyengine_us/parameters/gov/contrib/ctc/per_child_phase_in/in_effect.yaml +7 -0
- policyengine_us/parameters/gov/contrib/ctc/per_child_phase_out/avoid_overlap.yaml +7 -0
- policyengine_us/parameters/gov/contrib/ctc/per_child_phase_out/in_effect.yaml +7 -0
- policyengine_us/parameters/gov/contrib/harris/capital_gains/rates.yaml +12 -0
- policyengine_us/parameters/gov/contrib/harris/capital_gains/thresholds.yaml +168 -0
- policyengine_us/parameters/gov/contrib/states/mi/surtax/in_effect.yaml +10 -0
- policyengine_us/parameters/gov/contrib/states/mi/surtax/rate/joint.yaml +18 -0
- policyengine_us/parameters/gov/contrib/states/mi/surtax/rate/single.yaml +18 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/age_limit.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/amount.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/in_effect.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/phaseout/rate.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/phaseout/threshold.yaml +23 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/refundability/cap.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/young_child_boost/age_limit.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/ctc/young_child_boost/amount.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/age_limit/in_effect.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/age_limit/threshold.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/amount.yaml +15 -0
- policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/in_effect.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/phaseout/rate.yaml +9 -0
- policyengine_us/parameters/gov/contrib/states/ri/dependent_exemption/phaseout/threshold.yaml +23 -0
- policyengine_us/parameters/gov/dhs/immigration/qualified_noncitizen_status.yaml +18 -0
- policyengine_us/parameters/gov/hhs/fpg.yaml +16 -0
- policyengine_us/parameters/gov/hhs/head_start/early_head_start/enrollment.yaml +166 -0
- policyengine_us/parameters/gov/hhs/head_start/early_head_start/spending.yaml +171 -0
- policyengine_us/parameters/gov/hhs/head_start/enrollment.yaml +170 -0
- policyengine_us/parameters/gov/hhs/head_start/spending.yaml +171 -0
- policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/older_child/income_limit.yaml +53 -48
- policyengine_us/parameters/gov/hhs/medicaid/eligibility/categories/parent/income_limit.yaml +53 -11
- policyengine_us/parameters/gov/hhs/medicaid/eligibility/eligible_immigration_statuses.yaml +29 -0
- policyengine_us/parameters/gov/hhs/medicaid/eligibility/undocumented_immigrant.yaml +0 -1
- policyengine_us/parameters/gov/hhs/smi/amount.yaml +54 -0
- policyengine_us/parameters/gov/hhs/tanf/cash/income/sources/earned.yaml +13 -0
- policyengine_us/parameters/gov/hhs/tanf/cash/income/sources/unearned.yaml +23 -0
- policyengine_us/parameters/gov/hhs/uprating.yaml +6 -7
- policyengine_us/parameters/gov/irs/ald/student_loan_interest/reduction/start.yaml +7 -1
- policyengine_us/parameters/gov/irs/capital_gains/rates.yaml +17 -0
- policyengine_us/parameters/gov/irs/capital_gains/thresholds.yaml +182 -0
- policyengine_us/parameters/gov/irs/credits/ctc/amount/base.yaml +14 -9
- policyengine_us/parameters/gov/irs/credits/ctc/phase_out/amount.yaml +1 -0
- policyengine_us/parameters/gov/irs/credits/ctc/phase_out/increment.yaml +1 -0
- policyengine_us/parameters/gov/irs/credits/ctc/refundable/fully_refundable.yaml +1 -0
- policyengine_us/parameters/gov/irs/credits/ctc/refundable/individual_max.yaml +14 -7
- policyengine_us/parameters/gov/irs/credits/ctc/refundable/phase_in/min_children_for_ss_taxes_minus_eitc.yaml +1 -0
- policyengine_us/parameters/gov/irs/credits/ctc/refundable/phase_in/rate.yaml +1 -0
- policyengine_us/parameters/gov/irs/credits/eitc/max.yaml +73 -81
- policyengine_us/parameters/gov/irs/deductions/deductions_if_not_itemizing.yaml +3 -3
- policyengine_us/parameters/gov/irs/deductions/itemized/charity/ceiling/all.yaml +3 -0
- policyengine_us/parameters/gov/irs/deductions/itemized/charity/ceiling/non_cash.yaml +4 -2
- policyengine_us/parameters/gov/irs/deductions/itemized/charity/floor/amount.yaml +3 -3
- policyengine_us/parameters/gov/irs/deductions/qbi/phase_out/start.yaml +19 -7
- policyengine_us/parameters/gov/irs/deductions/standard/aged_or_blind/amount.yaml +10 -52
- policyengine_us/parameters/gov/irs/deductions/standard/amount.yaml +16 -59
- policyengine_us/parameters/gov/irs/gross_income/retirement_contributions/catch_up/limit/401k.yaml +8 -1
- policyengine_us/parameters/gov/irs/gross_income/retirement_contributions/catch_up/limit/ira.yaml +7 -0
- policyengine_us/parameters/gov/irs/gross_income/retirement_contributions/limit/401k.yaml +6 -0
- policyengine_us/parameters/gov/irs/gross_income/retirement_contributions/limit/ira.yaml +5 -0
- policyengine_us/parameters/gov/irs/income/amt/exemption/amount.yaml +15 -59
- policyengine_us/parameters/gov/irs/income/amt/exemption/phase_out/rate.yaml +4 -0
- policyengine_us/parameters/gov/irs/income/amt/exemption/phase_out/start.yaml +11 -60
- policyengine_us/parameters/gov/irs/income/bracket.yaml +114 -213
- policyengine_us/parameters/gov/irs/social_security/taxability/combined_income_ss_fraction.yaml +14 -0
- policyengine_us/parameters/gov/irs/social_security/taxability/rate/additional/benefit_cap.yaml +11 -0
- policyengine_us/parameters/gov/irs/social_security/taxability/rate/additional/bracket.yaml +11 -0
- policyengine_us/parameters/gov/irs/social_security/taxability/rate/additional/excess.yaml +11 -0
- policyengine_us/parameters/gov/irs/social_security/taxability/rate/base/benefit_cap.yaml +11 -0
- policyengine_us/parameters/gov/irs/social_security/taxability/rate/base/excess.yaml +11 -0
- policyengine_us/parameters/gov/irs/uprating.py +9 -23
- policyengine_us/parameters/gov/local/ca/ala/README.md +1 -0
- policyengine_us/parameters/gov/local/ca/ala/general_assistance/age_threshold.yaml +12 -0
- policyengine_us/parameters/gov/local/ca/ala/general_assistance/amount/married.yaml +11 -0
- policyengine_us/parameters/gov/local/ca/ala/general_assistance/amount/single.yaml +11 -0
- policyengine_us/parameters/gov/local/ca/ala/general_assistance/countable_income/sources.yaml +16 -0
- policyengine_us/parameters/gov/local/ca/ala/general_assistance/personal_property/limit.yaml +10 -0
- policyengine_us/parameters/gov/local/ca/ala/general_assistance/qualified_immigration_status.yaml +17 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/age_threshold.yaml +12 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/income/deductions/sources.yaml +16 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/income/sources/earned.yaml +15 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/income/sources/unearned.yaml +20 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/needs_standards/food.yaml +21 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/needs_standards/housing.yaml +21 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/needs_standards/personal_needs.yaml +21 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/needs_standards/special_needs/transportation.yaml +12 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/property/limit.yaml +12 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/property/sources.yaml +14 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/property/vehicle_exemption/amount.yaml +11 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/qualified_immigration_status.yaml +19 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/work_exempted_age/older.yaml +12 -0
- policyengine_us/parameters/gov/local/ca/riv/general_relief/work_exempted_age/younger.yaml +12 -0
- policyengine_us/parameters/gov/local/tx/harris/rides/age_threshold.yaml +13 -0
- policyengine_us/parameters/gov/local/tx/harris/rides/customer_payment_rate.yaml +12 -0
- policyengine_us/parameters/gov/ssa/sga/blind.yaml +14 -0
- policyengine_us/parameters/gov/ssa/ssi/income/exclusions/blind_or_disabled_working_student/amount.yaml +3 -0
- policyengine_us/parameters/gov/ssa/ssi/income/exclusions/blind_or_disabled_working_student/cap.yaml +3 -1
- policyengine_us/parameters/gov/ssa/uprating.yaml +7 -4
- policyengine_us/parameters/gov/states/al/tax/income/agi/gross_income_sources.yaml +3 -0
- policyengine_us/parameters/gov/states/ar/tax/income/credits/additional_tax_credit_for_qualified_individuals/joint_multiplier.yaml +17 -0
- policyengine_us/parameters/gov/states/ar/tax/income/credits/additional_tax_credit_for_qualified_individuals/max_amount.yaml +17 -0
- policyengine_us/parameters/gov/states/ar/tax/income/credits/additional_tax_credit_for_qualified_individuals/reduction/amount.yaml +17 -0
- policyengine_us/parameters/gov/states/ar/tax/income/credits/additional_tax_credit_for_qualified_individuals/reduction/increment.yaml +17 -0
- policyengine_us/parameters/gov/states/ar/tax/income/credits/additional_tax_credit_for_qualified_individuals/reduction/start.yaml +21 -0
- policyengine_us/parameters/gov/states/ar/tax/income/credits/non_refundable.yaml +2 -0
- policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/head_of_household/no_or_one_dependent.yaml +1 -1
- policyengine_us/parameters/gov/states/ar/tax/income/rates/main/rate.yaml +0 -2
- policyengine_us/parameters/gov/states/ca/chhs/eligible_regardless_of_immigration_status.yaml +37 -0
- policyengine_us/parameters/gov/states/ca/tax/income/agi/subtractions.yaml +1 -0
- policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/amount/joint.yaml +10 -0
- policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/amount/single.yaml +10 -0
- policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/income_limit/joint.yaml +10 -0
- policyengine_us/parameters/gov/states/co/tax/income/credits/care_worker/income_limit/single.yaml +10 -0
- policyengine_us/parameters/gov/states/co/tax/income/credits/refundable.yaml +11 -0
- policyengine_us/parameters/gov/states/co/tax/income/credits/sales_tax_refund/amount/scale.yaml +1 -1
- policyengine_us/parameters/gov/states/co/tax/income/credits/tabor/joint.yaml +12 -0
- policyengine_us/parameters/gov/states/co/tax/income/credits/tabor/single.yaml +12 -0
- policyengine_us/parameters/gov/states/de/tax/income/credits/refundable.yaml +2 -2
- policyengine_us/parameters/gov/states/de/tax/income/credits/relief_rebate/amount.yaml +1 -1
- policyengine_us/parameters/gov/states/ga/tax/income/credits/cdcc/rate.yaml +3 -0
- policyengine_us/parameters/gov/states/ga/tax/income/credits/ctc/age_threshold.yaml +11 -0
- policyengine_us/parameters/gov/states/ga/tax/income/credits/ctc/amount.yaml +10 -0
- policyengine_us/parameters/gov/states/ga/tax/income/credits/itemizer/amount.yaml +14 -0
- policyengine_us/parameters/gov/states/ga/tax/income/credits/non_refundable.yaml +19 -0
- policyengine_us/parameters/gov/states/ga/tax/income/credits/surplus_tax_rebate/amount.yaml +22 -0
- policyengine_us/parameters/gov/states/ga/tax/income/main/head_of_household.yaml +19 -14
- policyengine_us/parameters/gov/states/ga/tax/income/main/joint.yaml +18 -12
- policyengine_us/parameters/gov/states/ga/tax/income/main/separate.yaml +19 -12
- policyengine_us/parameters/gov/states/ga/tax/income/main/single.yaml +18 -12
- policyengine_us/parameters/gov/states/ga/tax/income/main/surviving_spouse.yaml +18 -12
- policyengine_us/parameters/gov/states/hi/tax/income/alternative_tax/availability.yaml +2 -3
- policyengine_us/parameters/gov/states/hi/tax/income/credits/act_115_rebate/joint.yaml +20 -0
- policyengine_us/parameters/gov/states/hi/tax/income/credits/act_115_rebate/single.yaml +20 -0
- policyengine_us/parameters/gov/states/hi/tax/income/credits/refundable.yaml +6 -0
- policyengine_us/parameters/gov/states/household/state_agis.yaml +4 -4
- policyengine_us/parameters/gov/states/household/state_itemized_deductions.yaml +6 -6
- policyengine_us/parameters/gov/states/household/state_non_refundable_credits.yaml +49 -0
- policyengine_us/parameters/gov/states/household/state_standard_deductions.yaml +6 -6
- policyengine_us/parameters/gov/states/id/tax/income/credits/2022_rebate/floor.yaml +10 -0
- policyengine_us/parameters/gov/states/id/tax/income/credits/2022_rebate/rate.yaml +10 -0
- policyengine_us/parameters/gov/states/id/tax/income/credits/refundable.yaml +10 -3
- policyengine_us/parameters/gov/states/id/tax/income/credits/special_seasonal_rebate/floor.yaml +22 -0
- policyengine_us/parameters/gov/states/id/tax/income/credits/special_seasonal_rebate/rate.yaml +10 -0
- policyengine_us/parameters/gov/states/il/dceo/README.md +1 -0
- policyengine_us/parameters/gov/states/il/dceo/liheap/eligibility/fpg_limit.yaml +11 -0
- policyengine_us/parameters/gov/states/il/dceo/liheap/eligibility/rent_rate.yaml +11 -0
- policyengine_us/parameters/gov/states/il/dceo/liheap/payment/base_amount/max.yaml +11 -0
- policyengine_us/parameters/gov/states/il/dceo/liheap/payment/base_amount/min.yaml +11 -0
- policyengine_us/parameters/gov/states/il/dceo/liheap/payment/crisis_amount/max.yaml +11 -0
- policyengine_us/parameters/gov/states/il/dhs/tanf/payment_level/rate.yaml +3 -3
- policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/dependent.yaml +10 -0
- policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/joint.yaml +20 -0
- policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/amount/other.yaml +20 -0
- policyengine_us/parameters/gov/states/il/tax/income/credits/income_tax_rebate/max_dependents.yaml +10 -0
- policyengine_us/parameters/gov/states/il/tax/income/credits/refundable.yaml +5 -0
- policyengine_us/parameters/gov/states/in/tax/income/credits/automatic_refund_rebate/amount/additional.yaml +10 -0
- policyengine_us/parameters/gov/states/in/tax/income/credits/automatic_refund_rebate/amount/base.yaml +12 -0
- policyengine_us/parameters/gov/states/in/tax/income/credits/refundable.yaml +6 -1
- policyengine_us/parameters/gov/states/ky/tax/income/subtractions.yaml +1 -1
- policyengine_us/parameters/gov/states/la/tax/income/deductions/itemized/relevant_federal_deductions.yaml +1 -1
- policyengine_us/parameters/gov/states/ma/dta/tcap/gross_income/earned.yaml +2 -2
- policyengine_us/parameters/gov/states/ma/eec/README.md +1 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/README.md +1 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/activity_requirements/weekly_hours.yaml +11 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/activity_requirements/work_exempt_age.yaml +11 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/age_threshold/child.yaml +13 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/age_threshold/disabled_child.yaml +14 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/age_threshold/infant.yaml +11 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/age_threshold/school_age.yaml +11 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/age_threshold/toddler.yaml +11 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/assets/limit.yaml +11 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/fee_level/fee_percentages.yaml +69 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/fee_level/income_ratio_increments.yaml +39 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/fee_level/maximum_level.yaml +11 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/additional_child.yaml +11 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/first_child.yaml +11 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/copay/ratio/second_child.yaml +11 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/income/countable_income/sources.yaml +30 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/income/smi_rate/new_applicants.yaml +15 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/income/smi_rate/redetermination.yaml +12 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/qualified_immigration_statuses.yaml +19 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/region/metro_and_boston_metro.yaml +15 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/region/northeast.yaml +16 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/region/western_central_and_southeast.yaml +21 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/reimbursement_rates/amount_ratio.yaml +23 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/reimbursement_rates/center_based/early_education.yaml +46 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/reimbursement_rates/center_based/school_age.yaml +59 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/reimbursement_rates/family_child_care/age_threshold.yaml +12 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/reimbursement_rates/family_child_care/older.yaml +24 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/reimbursement_rates/family_child_care/younger.yaml +24 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/reimbursement_rates/head_start_partner_and_kindergarten.yaml +55 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/reimbursement_rates/informal_child_care/child_home.yaml +14 -0
- policyengine_us/parameters/gov/states/ma/eec/ccfa/reimbursement_rates/informal_child_care/relative_home.yaml +14 -0
- policyengine_us/parameters/gov/states/ma/tax/income/credits/refundable.yaml +12 -0
- policyengine_us/parameters/gov/states/ma/tax/income/credits/taxpayer_refund_rebate/rate.yaml +10 -0
- policyengine_us/parameters/gov/states/me/tax/income/credits/dependent_exemption/amount.yaml +1 -1
- policyengine_us/parameters/gov/states/me/tax/income/credits/dependent_exemption/multiplier.yaml +22 -0
- policyengine_us/parameters/gov/states/me/tax/income/credits/dependent_exemption/phase_out/start.yaml +2 -1
- policyengine_us/parameters/gov/states/me/tax/income/credits/refundable.yaml +6 -0
- policyengine_us/parameters/gov/states/me/tax/income/credits/relief_rebate/amount.yaml +10 -0
- policyengine_us/parameters/gov/states/me/tax/income/credits/relief_rebate/income_limit.yaml +21 -0
- policyengine_us/parameters/gov/states/mi/tax/income/credits/home_heating/credit_percentage.yaml +3 -0
- policyengine_us/parameters/gov/states/mn/tax/income/credits/cdcc/reduced_base_amount.yaml +28 -0
- policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/ctc/age_limit.yaml +14 -0
- policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/ctc/amount.yaml +1 -0
- policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/phase_out/threshold/joint.yaml +5 -0
- policyengine_us/parameters/gov/states/mn/tax/income/credits/cwfc/phase_out/threshold/other.yaml +5 -0
- policyengine_us/parameters/gov/states/mt/tax/income/credits/non_refundable.yaml +1 -4
- policyengine_us/parameters/gov/states/mt/tax/income/credits/rebate/amount.yaml +5 -5
- policyengine_us/parameters/gov/states/mt/tax/income/deductions/standard/{applies.yaml → state_specific_deduction_applies.yaml} +2 -2
- policyengine_us/parameters/gov/states/mt/tax/income/married_filing_separately_on_same_return_allowed.yaml +16 -0
- policyengine_us/parameters/gov/states/mt/tax/income/social_security/amount/lower.yaml +1 -1
- policyengine_us/parameters/gov/states/mt/tax/income/social_security/amount/upper.yaml +2 -3
- policyengine_us/parameters/gov/states/mt/tax/income/social_security/applies.yaml +18 -0
- policyengine_us/parameters/gov/states/mt/tax/income/subtractions/subtractions.yaml +1 -1
- policyengine_us/parameters/gov/states/nm/tax/income/main/head_of_household.yaml +11 -0
- policyengine_us/parameters/gov/states/nm/tax/income/main/joint.yaml +11 -0
- policyengine_us/parameters/gov/states/nm/tax/income/main/separate.yaml +11 -0
- policyengine_us/parameters/gov/states/nm/tax/income/main/single.yaml +11 -0
- policyengine_us/parameters/gov/states/nm/tax/income/main/surviving_spouse.yaml +11 -0
- policyengine_us/parameters/gov/states/nm/tax/income/modified_gross_income.yaml +0 -1
- policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/five_exemptions.yaml +173 -38
- policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/four_exemptions.yaml +182 -40
- policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/one_exemption.yaml +181 -40
- policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/six_exemptions.yaml +191 -42
- policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/three_exemptions.yaml +182 -40
- policyengine_us/parameters/gov/states/nm/tax/income/rebates/low_income/amount/two_exemptions.yaml +182 -40
- policyengine_us/parameters/gov/states/pa/tax/income/credits/eitc/match.yaml +10 -0
- policyengine_us/parameters/gov/states/pa/tax/income/credits/refundable.yaml +6 -0
- policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/base.yaml +0 -1
- policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/dependent_rate.yaml +0 -1
- policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/eligibility_income_sources.yaml +1 -1
- policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/rate_increment.yaml +0 -1
- policyengine_us/parameters/gov/states/pa/tax/income/forgiveness/tax_back.yaml +0 -1
- policyengine_us/parameters/gov/states/pa/tax/income/rate.yaml +0 -1
- policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/amount.yaml +1 -1
- policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/age.yaml +1 -1
- policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/child.yaml +1 -1
- policyengine_us/parameters/gov/states/ri/tax/income/credits/child_tax_rebate/limit/income.yaml +5 -5
- policyengine_us/parameters/gov/states/ri/tax/income/credits/refundable.yaml +1 -4
- policyengine_us/parameters/gov/states/sc/tax/income/additions/additions.yaml +1 -0
- policyengine_us/parameters/gov/states/sc/tax/income/credits/2022_rebate/amount.yaml +12 -0
- policyengine_us/parameters/gov/states/sc/tax/income/credits/non_refundable.yaml +7 -1
- policyengine_us/parameters/gov/states/tx/dart/monthly_pass_cost/full_fare.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/dart/monthly_pass_cost/reduced_fare.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/dart/qualifying_programs.yaml +19 -0
- policyengine_us/parameters/gov/states/tx/dart/reduced_fare/age_threshold/child.yaml +23 -0
- policyengine_us/parameters/gov/states/tx/dart/reduced_fare/age_threshold/senior.yaml +10 -0
- policyengine_us/parameters/gov/states/tx/dta/csfp/fpg_limit.yaml +10 -0
- policyengine_us/parameters/gov/states/tx/fpp/age_threshold.yaml +10 -0
- policyengine_us/parameters/gov/states/tx/fpp/annual_benefit.yaml +12 -0
- policyengine_us/parameters/gov/states/tx/fpp/fpg_percentage.yaml +15 -0
- policyengine_us/parameters/gov/states/tx/tanf/age_threshold/minor_child.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/tanf/age_threshold/student_dependent.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/tanf/income/deductions/child_support.yaml +14 -0
- policyengine_us/parameters/gov/states/tx/tanf/income/deductions/dependent_care.yaml +23 -0
- policyengine_us/parameters/gov/states/tx/tanf/income/deductions/work_expense.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/tanf/income/disregards/applicant_fraction.yaml +12 -0
- policyengine_us/parameters/gov/states/tx/tanf/income/disregards/continuing_recipient_cap.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/tanf/income/disregards/continuing_recipient_months.yaml +14 -0
- policyengine_us/parameters/gov/states/tx/tanf/income/disregards/continuing_recipient_rate.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/tanf/income/sources/earned.yaml +15 -0
- policyengine_us/parameters/gov/states/tx/tanf/income/sources/unearned.yaml +28 -0
- policyengine_us/parameters/gov/states/tx/tanf/minimum_grant.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/tanf/needs_standard/budgetary_needs/additional_person.yaml +17 -0
- policyengine_us/parameters/gov/states/tx/tanf/needs_standard/budgetary_needs/caretaker_with_second_parent.yaml +81 -0
- policyengine_us/parameters/gov/states/tx/tanf/needs_standard/budgetary_needs/caretaker_without_second_parent.yaml +85 -0
- policyengine_us/parameters/gov/states/tx/tanf/needs_standard/budgetary_needs/non_caretaker.yaml +85 -0
- policyengine_us/parameters/gov/states/tx/tanf/needs_standard/recognizable_needs/additional_person.yaml +17 -0
- policyengine_us/parameters/gov/states/tx/tanf/needs_standard/recognizable_needs/rate.yaml +17 -0
- policyengine_us/parameters/gov/states/tx/tanf/ottanf/payment_amount.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/tanf/payment_standard/additional_person.yaml +19 -0
- policyengine_us/parameters/gov/states/tx/tanf/payment_standard/caretaker_with_second_parent.yaml +105 -0
- policyengine_us/parameters/gov/states/tx/tanf/payment_standard/caretaker_without_second_parent.yaml +112 -0
- policyengine_us/parameters/gov/states/tx/tanf/payment_standard/non_caretaker.yaml +111 -0
- policyengine_us/parameters/gov/states/tx/tanf/resources/resource_limit.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/tanf/resources/vehicle_exemption.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/README.md +1 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/README.md +1 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/child.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/disabled_child.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/infant.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/school_age.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/toddler.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/assets/limit.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/copay/rate/additional_child.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/copay/rate/first_child.yaml +55 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/copay/rate/maximum.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/income/smi_rate.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/income/sources.yaml +23 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/payment/rates.yaml +10459 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/alamo.yaml +25 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/borderplex.yaml +18 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/brazos_valley.yaml +19 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/cameron_county.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/capital_area.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/central_texas.yaml +19 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/coastal_bend.yaml +24 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/concho_valley.yaml +25 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/dallas_county.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/deep_east.yaml +24 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/east_texas.yaml +26 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/golden_crescent.yaml +19 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/gulf_coast.yaml +25 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/heart_of_texas.yaml +18 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/lower_rio.yaml +15 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/middle_rio.yaml +21 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/north_central.yaml +26 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/north_texas.yaml +23 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/northeast_texas.yaml +21 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/panhandle.yaml +38 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/permian_basin.yaml +29 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/rural_capital.yaml +21 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/south_plains.yaml +27 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/south_texas.yaml +15 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/southeast.yaml +15 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/tarrant_county.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/texoma.yaml +15 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/west_central.yaml +31 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/work_requirements/single_parent.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/work_requirements/two_parent.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/uct/lifeline/fpg_limit.yaml +10 -0
- policyengine_us/parameters/gov/states/tx/uct/lifeline/supplement.yaml +10 -0
- policyengine_us/parameters/gov/states/va/tax/income/credits/eitc/match/refundable.yaml +7 -1
- policyengine_us/parameters/gov/states/va/tax/income/credits/non_refundable.yaml +9 -2
- policyengine_us/parameters/gov/states/va/tax/income/deductions/standard.yaml +13 -5
- policyengine_us/parameters/gov/states/va/tax/income/rebate/amount.yaml +14 -1
- policyengine_us/parameters/gov/states/vt/tax/income/child_care_contributions/applies.yaml +15 -0
- policyengine_us/parameters/gov/states/vt/tax/income/child_care_contributions/rate/contributions.yaml +12 -0
- policyengine_us/parameters/gov/states/vt/tax/income/child_care_contributions/rate/income.yaml +16 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/tax_rate/amount.yaml +35 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/age_threshold/older.yaml +14 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/age_threshold/student.yaml +14 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/age_threshold/younger.yaml +14 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/income_limit/nonstudent.yaml +12 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/income_limit/student.yaml +12 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/personal.yaml +23 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/veteran.yaml +12 -0
- policyengine_us/parameters/gov/usda/school_meals/amount/nslp.yaml +25 -0
- policyengine_us/parameters/gov/usda/school_meals/amount/sbp.yaml +22 -0
- policyengine_us/parameters/gov/usda/snap/asset_test/limit.yaml +4 -0
- policyengine_us/parameters/gov/usda/snap/income/child_income_exclusion_age.yaml +11 -0
- policyengine_us/parameters/gov/usda/snap/income/deductions/allowed.yaml +0 -1
- policyengine_us/parameters/gov/usda/snap/income/deductions/excess_shelter_expense/cap.yaml +9 -0
- policyengine_us/parameters/gov/usda/snap/income/deductions/excess_shelter_expense/homeless/deduction.yaml +6 -0
- policyengine_us/parameters/gov/usda/snap/income/deductions/standard.yaml +32 -0
- policyengine_us/parameters/gov/usda/snap/max_allotment.yaml +66 -0
- policyengine_us/parameters/gov/usda/snap/uprating.yaml +1 -0
- policyengine_us/parameters/gov/usda/snap/work_requirements/abawd/age_threshold/dependent.yaml +1 -1
- policyengine_us/parameters/gov/usda/snap/work_requirements/abawd/age_threshold/exempted.yaml +1 -1
- policyengine_us/parameters/gov/usda/snap/work_requirements/abawd/exempt_states.yaml +16 -0
- policyengine_us/parameters/gov/usda/snap/work_requirements/abawd/in_effect.yaml +13 -0
- policyengine_us/parameters/gov/usda/snap/work_requirements/general/age_threshold/caring_dependent_child.yaml +1 -1
- policyengine_us/parameters/gov/usda/snap/work_requirements/general/age_threshold/exempted.yaml +1 -1
- policyengine_us/parameters/gov/usda/snap/work_requirements/general/weekly_hours_threshold.yaml +1 -1
- policyengine_us/parameters/uprating_extensions.py +153 -0
- policyengine_us/reforms/aca/__init__.py +6 -0
- policyengine_us/reforms/aca/aca_ptc_additional_bracket.py +126 -0
- policyengine_us/reforms/aca/aca_ptc_simplified_bracket.py +127 -0
- policyengine_us/reforms/additional_tax_bracket/additional_tax_bracket_reform.py +10 -7
- policyengine_us/reforms/biden/budget_2025/capital_gains_tax_increase.py +5 -7
- policyengine_us/reforms/congress/hawley/awra/american_worker_rebate_act.py +2 -2
- policyengine_us/reforms/congress/tlaib/__init__.py +5 -0
- policyengine_us/reforms/congress/tlaib/economic_dignity_for_all_agenda/__init__.py +9 -0
- policyengine_us/reforms/congress/tlaib/economic_dignity_for_all_agenda/edaa_end_child_poverty_act.py +237 -0
- policyengine_us/reforms/crfb/__init__.py +6 -0
- policyengine_us/reforms/crfb/non_refundable_ss_credit.py +144 -0
- policyengine_us/reforms/crfb/senior_deduction_extension.py +66 -0
- policyengine_us/reforms/crfb/tax_employer_payroll_tax.py +11 -4
- policyengine_us/reforms/ctc/__init__.py +9 -0
- policyengine_us/reforms/ctc/ctc_minimum_refundable_amount.py +143 -0
- policyengine_us/reforms/ctc/ctc_per_child_phase_in.py +58 -0
- policyengine_us/reforms/ctc/ctc_per_child_phase_out.py +123 -0
- policyengine_us/reforms/harris/capital_gains/harris_capital_gains.py +7 -7
- policyengine_us/reforms/reforms.py +61 -1
- policyengine_us/reforms/states/mi/__init__.py +3 -0
- policyengine_us/reforms/states/mi/surtax.py +64 -0
- policyengine_us/reforms/states/ri/__init__.py +2 -0
- policyengine_us/reforms/states/ri/ctc/__init__.py +1 -0
- policyengine_us/reforms/states/ri/ctc/ri_ctc_reform.py +207 -0
- policyengine_us/reforms/states/ri/exemption/__init__.py +1 -0
- policyengine_us/reforms/states/ri/exemption/ri_exemption_reform.py +167 -0
- policyengine_us/system.py +4 -5
- policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_ptc.yaml +3 -3
- policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_required_contribution_percentage.yaml +71 -0
- policyengine_us/tests/policy/baseline/gov/aca/ptc/integration.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/aca/ptc/separate_esi.yaml +2 -2
- policyengine_us/tests/policy/baseline/gov/ed/pell_grant/pell_grant_simplified_formula_applies.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/fcc/lifeline/is_lifeline_eligible.yaml +10 -0
- policyengine_us/tests/policy/baseline/gov/fcc/lifeline/is_lifeline_income_eligible.yaml +47 -0
- policyengine_us/tests/policy/baseline/gov/fcc/lifeline/lifeline.yaml +19 -0
- policyengine_us/tests/policy/baseline/gov/hhs/head_start/early_head_start.yaml +17 -0
- policyengine_us/tests/policy/baseline/gov/hhs/head_start/head_start.yaml +17 -0
- policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_eligible.yaml +3 -3
- policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.yaml +69 -0
- policyengine_us/tests/policy/baseline/gov/hhs/spm_unit_fpg.yaml +46 -0
- policyengine_us/tests/policy/baseline/gov/hhs/tanf/tanf_fpg.yaml +53 -0
- policyengine_us/tests/policy/baseline/gov/hud/hud_utility_allowance.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/hud/integration.yaml +2 -0
- policyengine_us/tests/policy/baseline/gov/irs/credits/ctc/refundable/ctc_phase_in_relevant_earnings.yaml +13 -0
- policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/adjusted_gross_income/test_ss_combined_income_fix.yaml +21 -0
- policyengine_us/tests/policy/baseline/gov/irs/income/taxable_income/deductions/tax_unit_itemizes.yaml +180 -0
- policyengine_us/tests/policy/baseline/gov/irs/integration/us_itemize.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/irs/social_security/taxable_social_security.yaml +71 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/ala/ca_ala_general_assistance_base_amount.yaml +67 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/ala/eligibility/ca_ala_general_assistance_age_eligible.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/ala/eligibility/ca_ala_general_assistance_eligible_person.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/ala/eligibility/ca_ala_general_assistance_immigration_status_eligible.yaml +23 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/ala/eligibility/ca_ala_general_assistance_income_eligible.yaml +17 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/ala/eligibility/ca_ala_general_assistance_personal_property_eligible.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/ala/integration.yaml +75 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/ca_giv_general_relief_countable_income.yaml +58 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/ca_riv_general_relief_countable_vehicle_value.yaml +23 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/ca_riv_general_relief_excluded_income.yaml +19 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/ca_riv_general_relief_needs_standards.yaml +17 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_eligible.yaml +45 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_immigration_status_eligible.yaml +23 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_income_eligible.yaml +17 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_ineligible_person.yaml +43 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_meets_work_requirements.yaml +75 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_property_eligible.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/riv/general_relief/integration.yaml +88 -0
- policyengine_us/tests/policy/baseline/gov/local/tx/harris/in_harris_county_tx.yaml +27 -0
- policyengine_us/tests/policy/baseline/gov/local/tx/harris/rides/tx_harris_rides_eligible.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/local/tx/harris/rides/tx_harris_rides_subsidy.yaml +32 -0
- policyengine_us/tests/policy/baseline/gov/ssa/ssi/income/ssi_marital_earned_income.yaml +0 -1
- policyengine_us/tests/policy/baseline/gov/ssa/ssi/income/ssi_marital_unearned_income.yaml +0 -1
- policyengine_us/tests/policy/baseline/gov/ssa/ssi/integration_tests.yaml +402 -0
- policyengine_us/tests/policy/baseline/gov/ssa/ssi/is_ssi_eligible.yaml +3 -3
- policyengine_us/tests/policy/baseline/gov/ssa/ssi/ssi_amount_if_eligible.yaml +105 -0
- policyengine_us/tests/policy/baseline/gov/ssa/ssi/ssi_claim_is_joint.yaml +116 -5
- policyengine_us/tests/policy/baseline/gov/ssa/ssi/ssi_countable_income.yaml +2 -3
- policyengine_us/tests/policy/baseline/gov/ssa/ssi/uncapped_ssi.yaml +4 -18
- policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/credits/ar_additional_tax_credit_for_qualified_individuals_person.yaml +150 -0
- policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/integration.yaml +43 -0
- policyengine_us/tests/policy/baseline/gov/states/ca/cdss/capi/ca_capi.yaml +2 -2
- policyengine_us/tests/policy/baseline/gov/states/ca/chhs/is_ca_medicaid_immigration_status_eligible.yaml +44 -0
- policyengine_us/tests/policy/baseline/gov/states/ca/tax/income/integration.yaml +50 -0
- policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit.yaml +64 -0
- policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible.yaml +122 -0
- policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible_care_worker_count.yaml +65 -0
- policyengine_us/tests/policy/baseline/gov/states/co/tax/income/credits/co_tabor_cash_back.yaml +71 -0
- policyengine_us/tests/policy/baseline/gov/states/co/tax/income/integration.yaml +38 -0
- policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/credits/ga_ctc.yaml +107 -0
- policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/credits/ga_itemizer_credit.yaml +44 -0
- policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/credits/ga_surplus_tax_rebate.yaml +39 -0
- policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/integration.yaml +75 -0
- policyengine_us/tests/policy/baseline/gov/states/ga/tax/income/subtractions/retirement/ga_retirement_exclusion_countable_earned_income.yaml +17 -0
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/alternative_tax/hi_alternative_tax_on_capital_gains_eligible.yaml +0 -8
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/cdcc/hi_cdcc.yaml +4 -0
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/cdcc/hi_cdcc_eligible.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/hi_act_115_rebate.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/integration.yaml +159 -0
- policyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/id_2022_rebate.yaml +17 -0
- policyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/id_2022_rebate_floor.yaml +21 -0
- policyengine_us/tests/policy/baseline/gov/states/id/tax/income/credits/id_special_season_rebate.yaml +17 -0
- policyengine_us/tests/policy/baseline/gov/states/il/dceo/liheap/eligibility/il_liheap_eligible.yaml +54 -0
- policyengine_us/tests/policy/baseline/gov/states/il/dceo/liheap/eligibility/il_liheap_income_eligible.yaml +58 -0
- policyengine_us/tests/policy/baseline/gov/states/il/dceo/liheap/integration.yaml +149 -0
- policyengine_us/tests/policy/baseline/gov/states/il/dceo/liheap/payment/il_liheap_base_payment.yaml +83 -0
- policyengine_us/tests/policy/baseline/gov/states/il/dhs/aabd/integration.yaml +25 -9
- policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/assistance_unit/il_tanf_assistance_unit_fpg.yaml +4 -4
- policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/il_tanf.yaml +60 -29
- policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/il_tanf_payment_level_for_grant_calculation.yaml +8 -8
- policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/il_tanf_payment_level_for_initial_eligibility.yaml +6 -9
- policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/income/deductions/il_tanf_initial_employment_deduction_fpg.yaml +21 -0
- policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/income/deductions/il_tanf_initial_employment_deduction_person.yaml +220 -13
- policyengine_us/tests/policy/baseline/gov/states/il/dhs/tanf/income/earned/il_tanf_countable_earned_income_for_initial_eligibility.yaml +3 -4
- policyengine_us/tests/policy/baseline/gov/states/il/tax/income/credits/il_income_tax_rebate.yaml +49 -0
- policyengine_us/tests/policy/baseline/gov/states/il/tax/income/credits/il_income_tax_rebate_eligible.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/states/il/tax/income/taxes/il_income_tax_before_refundable_credits.yaml +3 -3
- policyengine_us/tests/policy/baseline/gov/states/in/tax/income/credits/in_automatic_refund_rebate.yaml +47 -0
- policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_fstc.yaml +4 -4
- policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_income_tax_before_refundable_credits.yaml +2 -2
- policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/ks_integration.yaml +48 -0
- policyengine_us/tests/policy/baseline/gov/states/ks/tax/income/{ks_nonrefundable_credits.yaml → ks_non_refundable_credits.yaml} +1 -1
- policyengine_us/tests/policy/baseline/gov/states/la/tax/income/credits/cdcc/la_non_refundable_cdcc.yaml +5 -5
- policyengine_us/tests/policy/baseline/gov/states/la/tax/income/deductions/la_itemized_deductions.yaml +4 -2
- policyengine_us/tests/policy/baseline/gov/states/la/tax/income/integration.yaml +58 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/ssp/integration.yaml +4 -8
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/ssp/ma_maximum_state_supplement.yaml +6 -6
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/eaedc/dependent_care_deduction/ma_eaedc_dependent_care_deduction.yaml +13 -13
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/eaedc/dependent_care_deduction/ma_eaedc_dependent_care_deduction_person.yaml +8 -8
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/eaedc/ma_eaedc.yaml +2 -2
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/tafdc/income/deductions/ma_tafdc_dependent_care_deduction_person.yaml +6 -6
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/tafdc/income/earned/ma_tafdc_partially_disregarded_earned_income.yaml +7 -7
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/tafdc/integration.yaml +14 -14
- policyengine_us/tests/policy/baseline/gov/states/ma/dta/tcap/tafdc/ma_tafdc.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/copay/ma_ccfa_base_copay.yaml +31 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/copay/ma_ccfa_total_copay.yaml +104 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/copay/ma_ccsp_copay_level.yaml +44 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_activity_eligible.yaml +111 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_asset_eligible.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_eligible.yaml +44 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_eligible_child.yaml +43 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_immigration_status_eligible.yaml +23 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_income_eligible.yaml +42 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/enum_variables/ma_ccfa_child_age_category.yaml +87 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/ma_ccfa.yaml +249 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/ma_ccfa_fpg.yaml +26 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/ma_ccfa_maximum_benefit_amount.yaml +209 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/ma_ccfa_region.yaml +23 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_center_based_early_education_reimbursement.yaml +10 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_center_based_school_age_reimbursement.yaml +11 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_family_child_care_reimbursement.yaml +10 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_head_start_partner_and_kindergarten_reimbursement.yaml +10 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_informal_child_care_reimbursement.yaml +10 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_maximum_reimbursement.yaml +27 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_reimbursement_ratio.yaml +31 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_uncapped_daily_payment.yaml +8 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/credits/ma_taxpayer_refund_rebate.yaml +42 -0
- policyengine_us/tests/policy/baseline/gov/states/ma/tax/income/integration_ma.yaml +6 -0
- policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/me_dependent_exemption_credit.yaml +86 -6
- policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/me_dependent_exemption_credit_amount_person.yaml +29 -0
- policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/me_relief_rebate.yaml +26 -0
- policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/me_relief_rebate_eligible.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/states/me/tax/income/credits/property_tax_fairness_credit/me_property_tax_fairness_credit_veterans_cap.yaml +41 -10
- policyengine_us/tests/policy/baseline/gov/states/me/tax/income/integration.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/states/me/tax/income/taxable_income/deductions/me_deductions.yaml +15 -10
- policyengine_us/tests/policy/baseline/gov/states/me/tax/income/taxable_income/deductions/me_itemized_deductions_pre_phaseout.yaml +4 -1
- policyengine_us/tests/policy/baseline/gov/states/mi/tax/income/integration.yaml +36 -0
- policyengine_us/tests/policy/baseline/gov/states/mi/tax/income/mi_household_resources.yaml +29 -0
- policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/{mn_cdcc.yaml → credits/cdcc/mn_cdcc.yaml} +66 -0
- policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_dependent_count.yaml +51 -0
- policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_eligible.yaml +24 -0
- policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_phase_out.yaml +44 -0
- policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits_ctc_eligible_child.yaml +26 -0
- policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/mn_income_tax_before_refundable_credits.yaml +2 -2
- policyengine_us/tests/policy/baseline/gov/states/mn/tax/income/mn_integration.yaml +55 -0
- policyengine_us/tests/policy/baseline/gov/states/ms/tax/income/integration.yaml +38 -5
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/capital_gains/mt_capital_gains_tax_joint.yaml +37 -0
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/cdcc/mt_child_dependent_care_expense_deduction.yaml +19 -19
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_federal_income_tax_deduction_for_federal_itemization.yaml +57 -0
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_federal_income_tax_deduction_for_federal_itemization_indiv.yaml +39 -0
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_indiv.yaml +76 -0
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_joint.yaml +76 -0
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_federal_income_tax_deduction_indiv.yaml +4 -4
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_medical_expense_deduction_indiv.yaml +3 -3
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_medical_expense_deduction_joint.yaml +6 -6
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/standard/mt_standard_deduction_indiv.yaml +8 -8
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/standard/mt_standard_deduction_joint.yaml +12 -12
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/integration.yaml +123 -3
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/{mt_agi.yaml → mt_agi_indiv.yaml} +2 -2
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/mt_files_separately.yaml +19 -0
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/mt_pre_dependent_exemption_taxable_income_indiv.yaml +2 -2
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/mt_taxable_income_joint.yaml +233 -6
- policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/subtractions/mt_old_age_subtraction.yaml +24 -0
- policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/scca/integration.yaml +24 -520
- policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/scca/nc_scca_market_rate.yaml +6 -0
- policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/scca/nc_scca_maximum_payment.yaml +77 -0
- policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/integration.yaml +94 -0
- policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_demographic_tanf_eligible.yaml +21 -1
- policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_tanf_household_size.yaml +79 -0
- policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_tanf_income_eligible.yaml +14 -3
- policyengine_us/tests/policy/baseline/gov/states/nc/ncdhhs/tanf/nc_tanf_need_standard.yaml +4 -4
- policyengine_us/tests/policy/baseline/gov/states/nd/tax/income/nd_income_tax_before_refundable_credits.yaml +3 -3
- policyengine_us/tests/policy/baseline/gov/states/ne/tax/income/ne_income_tax_before_refundable_credits.yaml +3 -3
- policyengine_us/tests/policy/baseline/gov/states/nj/tax/income/exclusions/nj_other_retirement_income_exclusion.yaml +178 -0
- policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/deductions/nm_itemized_deductions.yaml +47 -0
- policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/integration.yaml +60 -0
- policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/nm_income_tax_before_non_refundable_credits.yaml +28 -1
- policyengine_us/tests/policy/baseline/gov/states/nm/tax/income/rebates/low_income_comprehensive/nm_low_income_comprehensive_tax_rebate.yaml +38 -0
- policyengine_us/tests/policy/baseline/gov/states/ny/tax/income/credits/ny_ctc.yaml +2 -21
- policyengine_us/tests/policy/baseline/gov/states/ny/tax/income/credits/ny_ctc_pre_2024.yaml +99 -0
- policyengine_us/tests/policy/baseline/gov/states/oh/tax/income/credits/oh_cdcc.yaml +4 -4
- policyengine_us/tests/policy/baseline/gov/states/oh/tax/income/integration.yaml +59 -0
- policyengine_us/tests/policy/baseline/gov/states/ok/tax/income/integration.yaml +71 -0
- policyengine_us/tests/policy/baseline/gov/states/ok/tax/income/ok_child_care_child_tax_credit.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/states/ok/tax/income/ok_income_tax_before_refundable_credits.yaml +2 -2
- policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/credits/pa_eitc.yaml +26 -0
- policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/forgiveness/pa_tax_forgiveness_rate.yaml +5 -11
- policyengine_us/tests/policy/baseline/gov/states/pa/tax/income/integration.yaml +54 -0
- policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/integration.yaml +47 -0
- policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/sc_2022_rebate.yaml +76 -0
- policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/sc_cdcc.yaml +9 -9
- policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/two_wage_earner/integration.yaml +0 -1
- policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/integration.yaml +85 -0
- policyengine_us/tests/policy/baseline/gov/states/tax/income/state_agi.yaml +191 -0
- policyengine_us/tests/policy/baseline/gov/states/tax/income/state_itemized_deductions.yaml +180 -0
- policyengine_us/tests/policy/baseline/gov/states/tax/income/state_standard_deduction.yaml +178 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/dart/free_ride/tx_dart_free_ride_benefit.yaml +132 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/dart/free_ride/tx_dart_free_ride_eligible_young_child.yaml +56 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/dart/reduced_fare/eligibility/tx_dart_reduced_fare_age_eligible.yaml +90 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/dart/reduced_fare/eligibility/tx_dart_reduced_fare_eligible.yaml +146 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/dart/reduced_fare/eligibility/tx_dart_reduced_fare_program_eligible.yaml +206 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/dart/reduced_fare/tx_dart_reduced_fare_benefit.yaml +145 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/dart/tx_dart_benefit_person.yaml +141 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/dta/csfp/tx_dta_csfp_income_eligible.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/fpp/integration.yaml +133 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/fpp/tx_fpp_age_eligible.yaml +39 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/fpp/tx_fpp_benefit.yaml +39 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/fpp/tx_fpp_income_eligible.yaml +53 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/fpp/tx_fpp_income_limit.yaml +44 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_age_eligible_child.yaml +34 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_assistance_unit_size.yaml +62 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_categorically_eligible_person.yaml +49 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_eligible_child.yaml +34 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/assistance_unit/tx_tanf_eligible_parent.yaml +38 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_budgetary_needs.yaml +65 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_budgetary_needs_test.yaml +30 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_caretaker_type.yaml +116 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_eligible.yaml +123 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_income_eligible.yaml +69 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_recognizable_needs_test.yaml +54 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/eligibility/tx_tanf_resources_eligible.yaml +44 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/income/deductions/tx_tanf_child_support_deduction.yaml +55 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/income/deductions/tx_tanf_dependent_care_deduction.yaml +54 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/income/earned/tx_tanf_countable_earned_income.yaml +39 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/income/earned/tx_tanf_earned_income_after_disregard_person.yaml +36 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/income/tx_tanf_income_for_budgetary_needs_test.yaml +102 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/income/unearned/tx_tanf_countable_unearned_income.yaml +49 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/integration.yaml +291 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/ottanf/tx_ottanf.yaml +47 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/ottanf/tx_ottanf_crisis_criteria.yaml +17 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/ottanf/tx_ottanf_eligible.yaml +158 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/resources/tx_tanf_countable_resources.yaml +39 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/tx_regular_tanf.yaml +74 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/tx_tanf.yaml +89 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/tx_tanf_payment_standard.yaml +61 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/copay/tx_ccs_copay.yaml +165 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_asset_eligible.yaml +67 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_eligible.yaml +114 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_eligible_child.yaml +172 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_income_eligible.yaml +65 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_work_exempt.yaml +24 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_work_requirement_eligible.yaml +155 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/payment/tx_ccs_payment_rate.yaml +224 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/tx_ccs.yaml +132 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/tx_ccs_child_age_category.yaml +127 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/tx_ccs_maximum_payment.yaml +141 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/tx_ccs_workforce_board_region.yaml +79 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/uct/lifeline/integration.yaml +251 -0
- policyengine_us/tests/policy/baseline/gov/states/va/tax/income/integration.yaml +2 -0
- policyengine_us/tests/policy/baseline/gov/states/vt/tax/income/integration.yaml +27 -0
- policyengine_us/tests/policy/baseline/gov/states/vt/tax/income/vt_child_care_contributions.yaml +41 -0
- policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/integration.yaml +48 -0
- policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_income_tax_before_refundable_credits.yaml +2 -2
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/low_income/pr_low_income_credit_eligible.yaml +0 -3
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc.yaml +21 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_normal_tax.yaml +31 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/integration.yaml +32 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/pr_dependents_exemption.yaml +60 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/pr_eligible_dependent_for_exemption.yaml +26 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/pr_exemptions_is_eligible_nonstudent.yaml +26 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/pr_exemptions_is_eligible_student.yaml +54 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/exemptions/pr_personal_exemption.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/exemptions/pr_veteran_exemption.yaml +37 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax_unit_dependent/integration.yaml +34 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax_unit_dependent/pr_is_tax_unit_dependent.yaml +65 -0
- policyengine_us/tests/policy/baseline/gov/test_categorical_eligibility_vectorization.yaml +41 -0
- policyengine_us/tests/policy/baseline/gov/usda/csfp/commodity_supplemental_food_program_eligible.yaml +171 -0
- policyengine_us/tests/policy/baseline/gov/usda/school_meals/integration.yaml +23 -0
- policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_daily_subsidy.yaml +8 -0
- policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/student/is_snap_ineligible_student.yaml +2 -2
- policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/work_requirements/meets_snap_abawd_work_requirements.yaml +42 -27
- policyengine_us/tests/policy/baseline/gov/usda/snap/eligibility/work_requirements/meets_snap_general_work_requirements.yaml +7 -7
- policyengine_us/tests/policy/baseline/gov/usda/snap/income/deductions/self_employment_income/integration.yaml +6 -6
- policyengine_us/tests/policy/baseline/gov/usda/snap/income/deductions/self_employment_income/snap_self_employment_expense_deduction.yaml +4 -4
- policyengine_us/tests/policy/baseline/gov/usda/snap/income/deductions/self_employment_income/snap_self_employment_income_after_expense_deduction.yaml +1 -1
- policyengine_us/tests/policy/baseline/gov/usda/snap/income/snap_countable_earner.yaml +29 -0
- policyengine_us/tests/policy/baseline/gov/usda/snap/income/snap_excluded_child_earner.yaml +29 -0
- policyengine_us/tests/policy/baseline/gov/usda/snap/integration.yaml +31 -2
- policyengine_us/tests/policy/baseline/gov/usda/snap/snap.yaml +59 -1
- policyengine_us/tests/policy/baseline/household/demographic/geographic/county/county.yaml +14 -0
- policyengine_us/tests/policy/baseline/household/demographic/geographic/county/first_county_in_state.yaml +21 -0
- policyengine_us/tests/policy/baseline/household/demographic/geographic/in_nyc.yaml +20 -0
- policyengine_us/tests/policy/baseline/household/demographic/person/is_citizen_or_legal_immigrant.yaml +55 -0
- policyengine_us/tests/policy/baseline/parameters/test_uprating_extensions.py +108 -0
- policyengine_us/tests/policy/contrib/aca/ptc_additional_bracket.yaml +117 -0
- policyengine_us/tests/policy/contrib/aca/ptc_simplified_bracket.yaml +117 -0
- policyengine_us/tests/policy/contrib/additional_tax_bracket/additional_tax_bracket_reform.yaml +4 -4
- policyengine_us/tests/policy/contrib/congress/tlaib/economic_dignity_for_all_agenda/edaa_end_child_poverty_act.yaml +198 -0
- policyengine_us/tests/policy/contrib/congress/tlaib/end_child_poverty_act/integration.yaml +0 -42
- policyengine_us/tests/policy/contrib/crfb/non_refundable_ss_credit.yaml +88 -0
- policyengine_us/tests/policy/contrib/crfb/senior_deduction_extension.yaml +114 -0
- policyengine_us/tests/policy/contrib/crfb/tax_employer_payroll_tax_percentage.yaml +159 -0
- policyengine_us/tests/policy/contrib/ctc/ctc_minimum_refundable_amount.yaml +277 -0
- policyengine_us/tests/policy/contrib/ctc/ctc_per_child_phase_in.yaml +144 -0
- policyengine_us/tests/policy/contrib/ctc/ctc_per_child_phase_out.yaml +118 -0
- policyengine_us/tests/policy/contrib/ctc/integration.yaml +513 -0
- policyengine_us/tests/policy/contrib/states/mi/mi_surtax.yaml +91 -0
- policyengine_us/tests/policy/contrib/states/ri/ctc_reform_test.yaml +321 -0
- policyengine_us/tests/policy/contrib/states/ri/exemption_reform_test.yaml +117 -0
- policyengine_us/tests/run_selective_tests.py +118 -6
- policyengine_us/tests/test_batched.py +369 -0
- policyengine_us/tools/taxsim/generate_taxsim_tests.py +4 -2
- policyengine_us/variables/gov/aca/ptc/aca_ptc.py +3 -1
- policyengine_us/variables/gov/aca/ptc/{aca_ptc_phase_out_rate.py → aca_required_contribution_percentage.py} +2 -2
- policyengine_us/variables/gov/ed/pell_grant/efc/pell_grant_simplified_formula_applies.py +1 -2
- policyengine_us/variables/gov/fcc/lifeline/is_lifeline_eligible.py +5 -6
- policyengine_us/variables/gov/fcc/lifeline/is_lifeline_income_eligible.py +35 -0
- policyengine_us/variables/gov/fcc/lifeline/lifeline.py +5 -2
- policyengine_us/variables/gov/hhs/head_start/early_head_start.py +13 -1
- policyengine_us/variables/gov/hhs/head_start/head_start.py +13 -1
- policyengine_us/variables/gov/hhs/head_start/is_head_start_categorically_eligible.py +1 -3
- policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_eligible.py +3 -9
- policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.py +44 -0
- policyengine_us/variables/gov/hhs/tanf/cash/income/tanf_gross_earned_income.py +13 -0
- policyengine_us/variables/gov/hhs/tanf/cash/income/tanf_gross_unearned_income.py +13 -0
- policyengine_us/variables/gov/hhs/tanf/tanf_fpg.py +28 -0
- policyengine_us/variables/gov/hud/hud_utility_allowance.py +1 -0
- policyengine_us/variables/gov/irs/credits/ctc/refundable/ctc_phase_in.py +1 -9
- policyengine_us/variables/gov/irs/credits/ctc/refundable/ctc_phase_in_relevant_earnings.py +20 -0
- policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/tax_unit_combined_income_for_social_security_taxability.py +4 -5
- policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/tax_unit_ss_combined_income_excess.py +3 -4
- policyengine_us/variables/gov/irs/income/taxable_income/adjusted_gross_income/irs_gross_income/social_security/tax_unit_taxable_social_security.py +30 -15
- policyengine_us/variables/gov/irs/income/taxable_income/deductions/tax_unit_itemizes.py +21 -2
- policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/amt_tax_including_cg.py +5 -9
- policyengine_us/variables/gov/irs/tax/federal_income/alternative_minimum_tax/regular_tax_before_credits.py +12 -13
- policyengine_us/variables/gov/irs/tax/federal_income/capital_gains/capital_gains_excluded_from_taxable_income.py +2 -2
- policyengine_us/variables/gov/irs/tax/federal_income/capital_gains/capital_gains_tax.py +5 -5
- policyengine_us/variables/gov/irs/tax/federal_income/capital_gains/dwks19.py +2 -2
- policyengine_us/variables/gov/local/ca/ala/ga/ca_ala_general_assistance.py +15 -0
- policyengine_us/variables/gov/local/ca/ala/ga/ca_ala_general_assistance_base_amount.py +19 -0
- policyengine_us/variables/gov/local/ca/ala/ga/eligibility/ca_ala_general_assistance_age_eligible.py +16 -0
- policyengine_us/variables/gov/local/ca/ala/ga/eligibility/ca_ala_general_assistance_eligible_person.py +28 -0
- policyengine_us/variables/gov/local/ca/ala/ga/eligibility/ca_ala_general_assistance_immigration_status_eligible.py +16 -0
- policyengine_us/variables/gov/local/ca/ala/ga/eligibility/ca_ala_general_assistance_income_eligible.py +15 -0
- policyengine_us/variables/gov/local/ca/ala/ga/eligibility/ca_ala_general_assistance_personal_property_eligible.py +19 -0
- policyengine_us/variables/gov/local/ca/ala/ga/income/ca_ala_general_assistance_countable_income.py +13 -0
- policyengine_us/variables/gov/local/ca/ala/ga/income/ca_ala_general_assistance_countable_income_person.py +13 -0
- policyengine_us/variables/gov/local/ca/ala/in_ala.py +12 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/ca_riv_general_relief.py +16 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/ca_riv_general_relief_budget_unit_size.py +14 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_eligible.py +47 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_immigration_status_eligible.py +15 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_income_eligible.py +18 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_ineligible_person.py +25 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_meets_work_requirements.py +43 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/eligibility/ca_riv_general_relief_property_eligible.py +16 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/income/ca_riv_general_relief_countable_income.py +16 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/income/ca_riv_general_relief_countable_income_person.py +14 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/income/ca_riv_general_relief_excluded_income.py +22 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/income/ca_riv_general_relief_unearned_income.py +12 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/income/earned/ca_riv_general_relief_earned_income.py +12 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/income/earned/ca_riv_general_relief_earned_income_deductions.py +12 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/income/earned/ca_riv_general_relief_net_earned_income.py +17 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/payment/ca_riv_general_relief_needs_standards.py +24 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/payment/ca_riv_general_relief_special_needs_amount.py +14 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/property/ca_riv_general_relief_countable_property_value.py +12 -0
- policyengine_us/variables/gov/local/ca/riv/general_relief/property/ca_riv_general_relief_countable_vehicle_value.py +19 -0
- policyengine_us/variables/gov/local/tx/harris/in_harris_county_tx.py +12 -0
- policyengine_us/variables/gov/local/tx/harris/rides/tx_harris_rides_eligible.py +22 -0
- policyengine_us/variables/gov/local/tx/harris/rides/tx_harris_rides_subsidy.py +26 -0
- policyengine_us/variables/gov/ssa/ssi/eligibility/income/deemed/from_ineligible_spouse/is_ssi_spousal_deeming_applies.py +41 -0
- policyengine_us/variables/gov/ssa/ssi/eligibility/income/deemed/from_ineligible_spouse/ssi_income_deemed_from_ineligible_spouse.py +20 -20
- policyengine_us/variables/gov/ssa/ssi/eligibility/income/ssi_countable_income.py +16 -11
- policyengine_us/variables/gov/ssa/ssi/is_ssi_eligible.py +9 -2
- policyengine_us/variables/gov/ssa/ssi/ssi.py +22 -1
- policyengine_us/variables/gov/ssa/ssi/ssi_amount_if_eligible.py +34 -8
- policyengine_us/variables/gov/ssa/ssi/ssi_claim_is_joint.py +5 -12
- policyengine_us/variables/gov/states/ar/tax/income/credits/ar_additional_tax_credit_for_qualified_individuals.py +12 -0
- policyengine_us/variables/gov/states/ar/tax/income/credits/ar_additional_tax_credit_for_qualified_individuals_person.py +42 -0
- policyengine_us/variables/gov/states/az/tax/income/az_subtractions.py +5 -1
- policyengine_us/variables/gov/states/ca/chhs/is_ca_medicaid_immigration_status_eligible.py +18 -0
- policyengine_us/variables/gov/states/ca/cpuc/care/eligibility/ca_care_categorically_eligible.py +2 -2
- policyengine_us/variables/gov/states/ca/tax/income/ca_agi_subtractions.py +6 -1
- policyengine_us/variables/gov/states/ca/tax/income/ca_income_tax_before_refundable_credits.py +1 -1
- policyengine_us/variables/gov/states/ca/tax/income/credits/{ca_nonrefundable_credits.py → ca_non_refundable_credits.py} +1 -1
- policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit.py +26 -0
- policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible.py +27 -0
- policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible_care_worker.py +10 -0
- policyengine_us/variables/gov/states/co/tax/income/credits/care_worker/co_care_worker_credit_eligible_care_worker_count.py +18 -0
- policyengine_us/variables/gov/states/co/tax/income/credits/co_tabor_cash_back.py +17 -0
- policyengine_us/variables/gov/states/co/tax/income/subtractions/co_subtractions.py +5 -1
- policyengine_us/variables/gov/states/ct/tax/income/ct_agi_subtractions.py +5 -1
- policyengine_us/variables/gov/states/ct/tax/income/subtractions/ct_social_security_benefit_adjustment.py +3 -1
- policyengine_us/variables/gov/states/ct/tax/income/subtractions/ct_subtractions.py +5 -1
- policyengine_us/variables/gov/states/dc/tax/income/subtractions/dc_income_subtractions.py +6 -1
- policyengine_us/variables/gov/states/de/tax/income/subtractions/de_subtractions.py +5 -1
- policyengine_us/variables/gov/states/ga/tax/income/credits/ctc/ga_ctc.py +25 -0
- policyengine_us/variables/gov/states/ga/tax/income/credits/ga_itemizer_credit.py +19 -0
- policyengine_us/variables/gov/states/ga/tax/income/credits/ga_surplus_tax_rebate.py +20 -0
- policyengine_us/variables/gov/states/ga/tax/income/ga_subtractions.py +6 -1
- policyengine_us/variables/gov/states/ga/tax/income/subtractions/retirement/ga_retirement_exclusion_countable_earned_income.py +5 -2
- policyengine_us/variables/gov/states/hi/tax/income/credits/cdcc/hi_cdcc.py +1 -1
- policyengine_us/variables/gov/states/hi/tax/income/credits/cdcc/hi_cdcc_eligible.py +14 -0
- policyengine_us/variables/gov/states/hi/tax/income/credits/hi_act_115_rebate.py +32 -0
- policyengine_us/variables/gov/states/hi/tax/income/hi_subtractions.py +6 -1
- policyengine_us/variables/gov/states/ia/tax/income/consolidated/taxable_income/ia_subtractions_consolidated.py +5 -1
- policyengine_us/variables/gov/states/ia/tax/income/credits/{ia_nonrefundable_credits.py → ia_non_refundable_credits.py} +1 -1
- policyengine_us/variables/gov/states/ia/tax/income/ia_income_tax_before_refundable_credits.py +1 -1
- policyengine_us/variables/gov/states/ia/tax/income/including_married_filing_separately/deductions/ia_standard_deduction_indiv.py +0 -2
- policyengine_us/variables/gov/states/id/tax/income/credits/2022_rebate/id_2022_rebate.py +18 -0
- policyengine_us/variables/gov/states/id/tax/income/credits/2022_rebate/id_2022_rebate_floor.py +11 -0
- policyengine_us/variables/gov/states/id/tax/income/credits/id_special_season_rebate.py +21 -0
- policyengine_us/variables/gov/states/id/tax/income/subtractions/id_subtractions.py +6 -1
- policyengine_us/variables/gov/states/il/dceo/liheap/eligibility/il_liheap_eligible.py +24 -0
- policyengine_us/variables/gov/states/il/dceo/liheap/eligibility/il_liheap_eligible_for_crisis_assistance.py +14 -0
- policyengine_us/variables/gov/states/il/dceo/liheap/eligibility/il_liheap_income_eligible.py +30 -0
- policyengine_us/variables/gov/states/il/dceo/liheap/il_liheap.py +13 -0
- policyengine_us/variables/gov/states/il/dceo/liheap/payment/il_liheap_base_payment.py +28 -0
- policyengine_us/variables/gov/states/il/dceo/liheap/payment/il_liheap_crisis_assistance_amount.py +13 -0
- policyengine_us/variables/gov/states/il/dhs/tanf/assistance_unit/il_tanf_assistance_unit_fpg.py +10 -3
- policyengine_us/variables/gov/states/il/dhs/tanf/il_tanf_payment_level_for_initial_eligibility.py +1 -1
- policyengine_us/variables/gov/states/il/dhs/tanf/income/deductions/il_tanf_initial_employment_deduction_fpg.py +24 -0
- policyengine_us/variables/gov/states/il/dhs/tanf/income/deductions/il_tanf_initial_employment_deduction_person.py +4 -3
- policyengine_us/variables/gov/states/il/tax/income/base_income/il_base_income_subtractions.py +5 -1
- policyengine_us/variables/gov/states/il/tax/income/credits/il_income_tax_rebate.py +27 -0
- policyengine_us/variables/gov/states/il/tax/income/credits/il_income_tax_rebate_eligible.py +24 -0
- policyengine_us/variables/gov/states/il/tax/income/credits/{il_nonrefundable_credits.py → il_non_refundable_credits.py} +1 -1
- policyengine_us/variables/gov/states/il/tax/income/il_income_tax_before_refundable_credits.py +1 -1
- policyengine_us/variables/gov/states/in/tax/income/credits/in_automatic_refund_rebate.py +26 -0
- policyengine_us/variables/gov/states/ks/tax/income/credits/ks_fstc.py +1 -1
- policyengine_us/variables/gov/states/ks/tax/income/credits/{ks_nonrefundable_credits.py → ks_non_refundable_credits.py} +1 -1
- policyengine_us/variables/gov/states/ks/tax/income/ks_income_tax_before_refundable_credits.py +1 -1
- policyengine_us/variables/gov/states/ky/tax/income/ky_subtractions.py +6 -1
- policyengine_us/variables/gov/states/la/tax/income/credits/cdcc/la_non_refundable_cdcc.py +1 -1
- policyengine_us/variables/gov/states/la/tax/income/deductions/la_standard_deduction.py +4 -2
- policyengine_us/variables/gov/states/ma/dta/ssp/ma_maximum_state_supplement.py +1 -1
- policyengine_us/variables/gov/states/ma/dta/tcap/eaedc/dependent_care_deduction/ma_eaedc_dependent_care_deduction_person.py +1 -1
- policyengine_us/variables/gov/states/ma/dta/tcap/tafdc/income/deductions/ma_tafdc_dependent_care_deduction_person.py +1 -1
- policyengine_us/variables/gov/states/ma/eec/ccfa/copay/ma_ccfa_base_copay.py +27 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/copay/ma_ccfa_copay_level.py +30 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/copay/ma_ccfa_total_copay.py +35 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_activity_eligible.py +45 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_asset_eligible.py +15 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_eligible.py +34 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_eligible_child.py +23 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_immigration_status_eligible.py +19 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/eligibility/ma_ccfa_income_eligible.py +27 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa.py +25 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_care_provider_type.py +22 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_child_age_category.py +45 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_countable_income.py +15 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_enrolled.py +9 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_fpg.py +27 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_is_in_relatives_home_care.py +9 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_maximum_benefit_amount.py +19 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_region.py +45 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/ma_ccfa_schedule_type.py +21 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/ma_child_care_subsidies.py +11 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_center_based_early_education_reimbursement.py +19 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_center_based_school_age_reimbursement.py +20 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_family_child_care_reimbursement.py +21 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_head_start_partner_and_kindergarten_reimbursement.py +17 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_informal_child_care_reimbursement.py +20 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_maximum_reimbursement.py +23 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_reimbursement_ratio.py +17 -0
- policyengine_us/variables/gov/states/ma/eec/ccfa/reimbursement/ma_ccfa_uncapped_daily_payment.py +66 -0
- policyengine_us/variables/gov/states/ma/tax/income/credits/ma_taxpayer_refund_rebate.py +29 -0
- policyengine_us/variables/gov/states/md/tax/income/agi/subtractions/md_total_subtractions.py +6 -1
- policyengine_us/variables/gov/states/me/tax/income/credits/dependent_exemption/me_dependent_exemption_credit.py +3 -3
- policyengine_us/variables/gov/states/me/tax/income/credits/dependent_exemption/me_dependent_exemption_credit_amount_person.py +20 -0
- policyengine_us/variables/gov/states/me/tax/income/credits/fairness/property_tax_fairness_credit/me_property_tax_fairness_credit_veterans_cap.py +13 -1
- policyengine_us/variables/gov/states/me/tax/income/credits/me_relief_rebate.py +16 -0
- policyengine_us/variables/gov/states/me/tax/income/credits/me_relief_rebate_eligible.py +17 -0
- policyengine_us/variables/gov/states/me/tax/income/taxable_income/deductions/me_itemized_deductions_pre_phaseout.py +1 -3
- policyengine_us/variables/gov/states/me/tax/income/taxable_income/me_deductions.py +5 -2
- policyengine_us/variables/gov/states/mi/tax/income/mi_household_resources.py +16 -2
- policyengine_us/variables/gov/states/mi/tax/income/mi_subtractions.py +5 -1
- policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc.py +47 -0
- policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_dependent_count.py +27 -0
- policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_eligible.py +23 -0
- policyengine_us/variables/gov/states/mn/tax/income/credits/cdcc/mn_cdcc_phase_out.py +25 -0
- policyengine_us/variables/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits.py +5 -1
- policyengine_us/variables/gov/states/mn/tax/income/credits/mn_child_and_working_families_credits_ctc_eligible_child.py +24 -0
- policyengine_us/variables/gov/states/mn/tax/income/credits/{mn_nonrefundable_credits.py → mn_non_refundable_credits.py} +1 -1
- policyengine_us/variables/gov/states/mn/tax/income/mn_income_tax_before_refundable_credits.py +1 -1
- policyengine_us/variables/gov/states/mn/tax/income/subtractions/mn_subtractions.py +6 -1
- policyengine_us/variables/gov/states/ms/tax/income/taxable_income/ms_taxable_income_joint.py +1 -4
- policyengine_us/variables/gov/states/mt/tax/income/base/{mt_agi.py → mt_agi_indiv.py} +2 -2
- policyengine_us/variables/gov/states/mt/tax/income/base/mt_agi_joint.py +43 -0
- policyengine_us/variables/gov/states/mt/tax/income/base/mt_taxable_social_security.py +9 -4
- policyengine_us/variables/gov/states/mt/tax/income/capital_gains/mt_capital_gains_tax_joint.py +27 -9
- policyengine_us/variables/gov/states/mt/tax/income/credits/rebate/mt_income_tax_rebate.py +1 -2
- policyengine_us/variables/gov/states/mt/tax/income/deductions/cdcc/mt_child_dependent_care_expense_deduction.py +1 -1
- policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/README.md +1 -0
- policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_federal_income_tax_deduction_for_federal_itemization.py +26 -0
- policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_federal_income_tax_deduction_for_federal_itemization_indiv.py +34 -0
- policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_indiv.py +41 -0
- policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_joint.py +37 -0
- policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_tax/mt_federal_income_tax_deduction_indiv.py +1 -1
- policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/medical/mt_medical_expense_deduction_indiv.py +1 -1
- policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/medical/mt_medical_expense_deduction_joint.py +3 -1
- policyengine_us/variables/gov/states/mt/tax/income/deductions/standard/mt_standard_deduction_indiv.py +2 -2
- policyengine_us/variables/gov/states/mt/tax/income/deductions/standard/mt_standard_deduction_joint.py +2 -2
- policyengine_us/variables/gov/states/mt/tax/income/filing/mt_files_separately.py +6 -3
- policyengine_us/variables/gov/states/mt/tax/income/subtractions/mt_subtractions.py +6 -1
- policyengine_us/variables/gov/states/mt/tax/income/tax_calculation/mt_pre_dependent_exemption_taxable_income_indiv.py +1 -1
- policyengine_us/variables/gov/states/mt/tax/income/tax_calculation/mt_taxable_income_joint.py +7 -3
- policyengine_us/variables/gov/states/nc/ncdhhs/scca/nc_scca.py +6 -9
- policyengine_us/variables/gov/states/nc/ncdhhs/scca/nc_scca_market_rate.py +1 -1
- policyengine_us/variables/gov/states/nc/ncdhhs/scca/nc_scca_maximum_payment.py +17 -0
- policyengine_us/variables/gov/states/nc/ncdhhs/tanf/nc_demographic_tanf_eligible.py +3 -1
- policyengine_us/variables/gov/states/nc/ncdhhs/tanf/nc_tanf_household_size.py +18 -0
- policyengine_us/variables/gov/states/nc/ncdhhs/tanf/nc_tanf_income_eligible.py +3 -2
- policyengine_us/variables/gov/states/nc/ncdhhs/tanf/nc_tanf_need_standard.py +2 -2
- policyengine_us/variables/gov/states/nd/tax/income/nd_income_tax_before_refundable_credits.py +1 -1
- policyengine_us/variables/gov/states/nd/tax/income/{nd_nonrefundable_credits.py → nd_non_refundable_credits.py} +1 -1
- policyengine_us/variables/gov/states/nd/tax/income/subtractions/nd_subtractions.py +8 -1
- policyengine_us/variables/gov/states/ne/tax/income/adjusted_gross_income/ne_agi_subtractions.py +5 -1
- policyengine_us/variables/gov/states/ne/tax/income/ne_income_tax_before_refundable_credits.py +1 -1
- policyengine_us/variables/gov/states/ne/tax/income/{ne_nonrefundable_credits.py → ne_non_refundable_credits.py} +1 -1
- policyengine_us/variables/gov/states/nj/tax/income/adjusted_gross_income/nj_agi_subtractions.py +5 -1
- policyengine_us/variables/gov/states/nj/tax/income/exclusions/nj_other_retirement_income_exclusion.py +4 -4
- policyengine_us/variables/gov/states/nm/tax/income/deductions/nm_deductions.py +1 -1
- policyengine_us/variables/gov/states/nm/tax/income/deductions/nm_itemized_deductions.py +13 -0
- policyengine_us/variables/gov/states/ny/tax/income/adjusted_gross_income/ny_agi_subtractions.py +5 -1
- policyengine_us/variables/gov/states/ny/tax/income/credits/ctc/ny_ctc_pre_2024.py +15 -3
- policyengine_us/variables/gov/states/ny/tax/income/credits/ctc/ny_ctc_pre_2024_eligible.py +1 -1
- policyengine_us/variables/gov/states/oh/tax/income/credits/oh_cdcc.py +2 -2
- policyengine_us/variables/gov/states/ok/tax/income/credits/ok_child_care_child_tax_credit.py +1 -1
- policyengine_us/variables/gov/states/ok/tax/income/credits/{ok_nonrefundable_credits.py → ok_non_refundable_credits.py} +1 -1
- policyengine_us/variables/gov/states/ok/tax/income/ok_agi_subtractions.py +5 -1
- policyengine_us/variables/gov/states/ok/tax/income/ok_income_tax_before_refundable_credits.py +1 -1
- policyengine_us/variables/gov/states/or/tax/income/subtractions/or_income_subtractions.py +5 -1
- policyengine_us/variables/gov/states/pa/tax/income/credits/pa_eitc.py +16 -0
- policyengine_us/variables/gov/states/pa/tax/income/forgiveness/pa_tax_forgiveness_rate.py +1 -3
- policyengine_us/variables/gov/states/ri/tax/income/agi/subtractions/ri_subtractions.py +6 -1
- policyengine_us/variables/gov/states/sc/tax/income/credits/cdcc/sc_cdcc.py +1 -1
- policyengine_us/variables/gov/states/sc/tax/income/credits/sc_2022_rebate.py +29 -0
- policyengine_us/variables/gov/states/sc/tax/income/subtractions/sc_subtractions.py +6 -1
- policyengine_us/variables/gov/states/tax/income/state_agi.py +47 -0
- policyengine_us/variables/gov/states/tax/income/state_itemized_deductions.py +64 -0
- policyengine_us/variables/gov/states/tax/income/state_non_refundable_credits.py +10 -0
- policyengine_us/variables/gov/states/tax/income/state_standard_deduction.py +68 -1
- policyengine_us/variables/gov/states/tx/dart/free_ride/tx_dart_free_ride_benefit.py +18 -0
- policyengine_us/variables/gov/states/tx/dart/free_ride/tx_dart_free_ride_eligible_young_child.py +19 -0
- policyengine_us/variables/gov/states/tx/dart/reduced_fare/eligibility/tx_dart_reduced_fare_age_eligible.py +23 -0
- policyengine_us/variables/gov/states/tx/dart/reduced_fare/eligibility/tx_dart_reduced_fare_eligible.py +40 -0
- policyengine_us/variables/gov/states/tx/dart/reduced_fare/eligibility/tx_dart_reduced_fare_program_eligible.py +18 -0
- policyengine_us/variables/gov/states/tx/dart/reduced_fare/tx_dart_reduced_fare_benefit.py +17 -0
- policyengine_us/variables/gov/states/tx/dart/tx_dart_benefit_person.py +18 -0
- policyengine_us/variables/gov/states/tx/dta/csfp/tx_dta_csfp_income_eligible.py +14 -0
- policyengine_us/variables/gov/states/tx/fpp/tx_fpp_age_eligible.py +16 -0
- policyengine_us/variables/gov/states/tx/fpp/tx_fpp_benefit.py +15 -0
- policyengine_us/variables/gov/states/tx/fpp/tx_fpp_eligible.py +18 -0
- policyengine_us/variables/gov/states/tx/fpp/tx_fpp_income_eligible.py +18 -0
- policyengine_us/variables/gov/states/tx/fpp/tx_fpp_income_limit.py +24 -0
- policyengine_us/variables/gov/states/tx/tanf/assistance_unit/tx_tanf_age_eligible_child.py +27 -0
- policyengine_us/variables/gov/states/tx/tanf/assistance_unit/tx_tanf_assistance_unit_size.py +18 -0
- policyengine_us/variables/gov/states/tx/tanf/assistance_unit/tx_tanf_categorically_eligible_person.py +19 -0
- policyengine_us/variables/gov/states/tx/tanf/assistance_unit/tx_tanf_eligible_child.py +24 -0
- policyengine_us/variables/gov/states/tx/tanf/assistance_unit/tx_tanf_eligible_parent.py +24 -0
- policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_budgetary_needs.py +57 -0
- policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_budgetary_needs_test.py +21 -0
- policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_caretaker_type.py +50 -0
- policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_eligible.py +29 -0
- policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_income_eligible.py +40 -0
- policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_recognizable_needs_test.py +23 -0
- policyengine_us/variables/gov/states/tx/tanf/eligibility/tx_tanf_resources_eligible.py +19 -0
- policyengine_us/variables/gov/states/tx/tanf/income/deductions/tx_tanf_child_support_deduction.py +21 -0
- policyengine_us/variables/gov/states/tx/tanf/income/deductions/tx_tanf_dependent_care_deduction.py +39 -0
- policyengine_us/variables/gov/states/tx/tanf/income/earned/tx_tanf_countable_earned_income.py +28 -0
- policyengine_us/variables/gov/states/tx/tanf/income/earned/tx_tanf_earned_income_after_disregard_person.py +52 -0
- policyengine_us/variables/gov/states/tx/tanf/income/earned/tx_tanf_gross_earned_income.py +16 -0
- policyengine_us/variables/gov/states/tx/tanf/income/tx_tanf_countable_income.py +19 -0
- policyengine_us/variables/gov/states/tx/tanf/income/tx_tanf_income_for_budgetary_needs_test.py +47 -0
- policyengine_us/variables/gov/states/tx/tanf/income/unearned/tx_tanf_countable_unearned_income.py +27 -0
- policyengine_us/variables/gov/states/tx/tanf/income/unearned/tx_tanf_gross_unearned_income.py +16 -0
- policyengine_us/variables/gov/states/tx/tanf/ottanf/tx_ottanf.py +17 -0
- policyengine_us/variables/gov/states/tx/tanf/ottanf/tx_ottanf_crisis_criteria.py +21 -0
- policyengine_us/variables/gov/states/tx/tanf/ottanf/tx_ottanf_eligible.py +36 -0
- policyengine_us/variables/gov/states/tx/tanf/resources/tx_tanf_countable_resources.py +31 -0
- policyengine_us/variables/gov/states/tx/tanf/tx_regular_tanf.py +27 -0
- policyengine_us/variables/gov/states/tx/tanf/tx_tanf.py +25 -0
- policyengine_us/variables/gov/states/tx/tanf/tx_tanf_payment_standard.py +51 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/copay/tx_ccs_copay.py +40 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_asset_eligible.py +16 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_eligible.py +28 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_eligible_child.py +22 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_income_eligible.py +19 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_work_exempt.py +26 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_work_requirement_eligible.py +44 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/payment/tx_ccs_care_schedule.py +18 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/payment/tx_ccs_payment_rate.py +36 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/payment/tx_ccs_provider_rating.py +21 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/payment/tx_ccs_provider_type.py +19 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs.py +21 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs_child_age_category.py +41 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs_countable_income.py +13 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs_maximum_payment.py +15 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs_workforce_board_region.py +68 -0
- policyengine_us/variables/gov/states/tx/uct/lifeline/tx_lifeline_supplement.py +13 -0
- policyengine_us/variables/gov/states/va/tax/income/va_subtractions.py +5 -1
- policyengine_us/variables/gov/states/vt/tax/income/adjusted_gross_income/subtractions/vt_subtractions.py +6 -1
- policyengine_us/variables/gov/states/vt/tax/income/vt_child_care_contributions.py +20 -0
- policyengine_us/variables/gov/states/vt/tax/income/vt_income_tax.py +4 -1
- policyengine_us/variables/gov/states/wi/tax/income/credits/married_couple/wi_married_couple_credit.py +7 -5
- policyengine_us/variables/gov/states/wi/tax/income/credits/{wi_nonrefundable_credits.py → wi_non_refundable_credits.py} +1 -1
- policyengine_us/variables/gov/states/wi/tax/income/subtractions/wi_income_subtractions.py +6 -1
- policyengine_us/variables/gov/states/wi/tax/income/wi_income_tax_before_refundable_credits.py +1 -1
- policyengine_us/variables/gov/states/wv/tax/income/wv_subtractions.py +6 -1
- policyengine_us/variables/gov/territories/pr/pr_is_tax_unit_dependent.py +42 -0
- policyengine_us/variables/gov/territories/pr/tax/income/credits/low_income/pr_low_income_credit_eligible.py +1 -1
- policyengine_us/variables/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc.py +34 -0
- policyengine_us/variables/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc_social_security_tax.py +16 -0
- policyengine_us/variables/gov/territories/pr/tax/income/pr_gross_income_person.py +1 -1
- policyengine_us/variables/gov/territories/pr/tax/income/pr_normal_tax.py +16 -0
- policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/pr_dependents_exemption.py +27 -0
- policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/pr_eligible_dependent_for_exemption.py +18 -0
- policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/pr_exemptions_is_eligible_nonstudent.py +21 -0
- policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/pr_exemptions_is_eligible_student.py +24 -0
- policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/exemptions/pr_personal_exemption.py +19 -0
- policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/exemptions/pr_veteran_exemption.py +19 -0
- policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/pr_net_taxable_income.py +11 -0
- policyengine_us/variables/gov/usda/csfp/commodity_supplemental_food_program_eligible.py +7 -2
- policyengine_us/variables/gov/usda/snap/eligibility/student/is_snap_ineligible_student.py +1 -1
- policyengine_us/variables/gov/usda/snap/eligibility/work_requirements/meets_snap_abawd_work_requirements.py +15 -35
- policyengine_us/variables/gov/usda/snap/eligibility/work_requirements/meets_snap_general_work_requirements.py +3 -1
- policyengine_us/variables/gov/usda/snap/income/deductions/self_employment/snap_self_employment_expense_deduction.py +1 -1
- policyengine_us/variables/gov/usda/snap/income/deductions/self_employment/snap_self_employment_income_after_expense_deduction.py +1 -1
- policyengine_us/variables/gov/usda/snap/income/deductions/snap_dependent_care_deduction.py +5 -1
- policyengine_us/variables/gov/usda/snap/income/snap_countable_earner.py +13 -0
- policyengine_us/variables/gov/usda/snap/income/snap_earned_income.py +1 -1
- policyengine_us/variables/gov/usda/snap/income/snap_earned_income_person.py +14 -0
- policyengine_us/variables/gov/usda/snap/income/snap_excluded_child_earner.py +17 -0
- policyengine_us/variables/household/demographic/geographic/county/county.py +21 -7
- policyengine_us/variables/household/demographic/geographic/county/first_county_in_state.py +47 -0
- policyengine_us/variables/household/demographic/geographic/in_nyc.py +12 -3
- policyengine_us/variables/household/demographic/geographic/zip_code/zip_code.py +1 -1
- policyengine_us/variables/household/demographic/person/is_citizen_or_legal_immigrant.py +22 -0
- policyengine_us/variables/household/expense/childcare/childcare_attending_days_per_month.py +9 -0
- policyengine_us/variables/household/expense/childcare/childcare_expenses.py +1 -1
- policyengine_us/variables/household/expense/housing/tenant_pays_utilities.py +8 -0
- policyengine_us/variables/household/expense/person/pre_subsidy_transportation_expense.py +9 -0
- policyengine_us/variables/household/healthcare_benefit_value.py +5 -1
- policyengine_us/variables/household/income/person/us_govt_interest_person.py +10 -0
- policyengine_us/variables/household/income/tax_unit/us_govt_interest.py +2 -0
- policyengine_us/variables/input/geography.py +24 -0
- {policyengine_us-1.360.0.dist-info → policyengine_us-1.437.0.dist-info}/METADATA +1 -2
- {policyengine_us-1.360.0.dist-info → policyengine_us-1.437.0.dist-info}/RECORD +1054 -412
- policyengine_us/parameters/gov/aca/ptc_phase_out_rate.yaml +0 -60
- policyengine_us/parameters/gov/contrib/harris/capital_gains/brackets.yaml +0 -194
- policyengine_us/parameters/gov/irs/capital_gains/brackets.yaml +0 -188
- policyengine_us/parameters/gov/irs/social_security/taxability/rate/additional.yaml +0 -11
- policyengine_us/parameters/gov/irs/social_security/taxability/rate/base.yaml +0 -11
- policyengine_us/parameters/gov/states/tx/index.yaml +0 -4
- policyengine_us/parameters/gov/states/tx/tanf/monthly_income_limit.yaml +0 -31
- policyengine_us/parameters/gov/usda/snap/work_requirements/abawd/amended_structure/in_effect.yaml +0 -13
- policyengine_us/parameters/gov/usda/snap/work_requirements/abawd/amended_structure/sunset_provisions_apply.yaml +0 -13
- policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_ptc_phase_out_rate.yaml +0 -71
- policyengine_us/tests/policy/baseline/gov/ssa/ssi/integration.yaml +0 -58
- policyengine_us/tests/policy/baseline/gov/states/hi/tax/income/credits/hi_low_income_household_renters/integration.yaml +0 -61
- policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/agi/subtractions/taxable_retirement_income/integration.yaml +0 -45
- policyengine_us/tests/policy/baseline/gov/states/tx/tanf/tx_tanf_income_limit.yaml +0 -17
- policyengine_us/tests/utilities/test_ucgid_hierarchical.py +0 -58
- policyengine_us/variables/gov/states/mn/tax/income/credits/mn_cdcc.py +0 -49
- policyengine_us/variables/gov/states/tx/tanf/tx_tanf_income_limit.py +0 -18
- policyengine_us/variables/household/demographic/geographic/ucgid/ucgid.py +0 -97
- policyengine_us/variables/household/demographic/geographic/ucgid/ucgid_enum.py +0 -551
- policyengine_us/variables/household/demographic/geographic/ucgid/ucgid_str.py +0 -12
- /policyengine_us/variables/gov/states/oh/tax/income/{oh_modifed_agi.py → oh_modified_agi.py} +0 -0
- {policyengine_us-1.360.0.dist-info → policyengine_us-1.437.0.dist-info}/WHEEL +0 -0
- {policyengine_us-1.360.0.dist-info → policyengine_us-1.437.0.dist-info}/entry_points.txt +0 -0
- {policyengine_us-1.360.0.dist-info → policyengine_us-1.437.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
"""
|
|
3
|
+
Generic test runner that can split tests into batches for memory management.
|
|
4
|
+
Can be used for any test folder with configurable batch count.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import subprocess
|
|
8
|
+
import sys
|
|
9
|
+
import os
|
|
10
|
+
import gc
|
|
11
|
+
import time
|
|
12
|
+
import argparse
|
|
13
|
+
from pathlib import Path
|
|
14
|
+
from typing import List, Dict
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def count_yaml_files(directory: Path) -> int:
|
|
18
|
+
"""Count YAML files in a directory recursively."""
|
|
19
|
+
if not directory.exists():
|
|
20
|
+
return 0
|
|
21
|
+
return len(list(directory.rglob("*.yaml")))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def get_test_directories(base_path: Path) -> Dict[str, int]:
|
|
25
|
+
"""Get all subdirectories and their test counts."""
|
|
26
|
+
dir_counts = {}
|
|
27
|
+
|
|
28
|
+
# Check for yaml files directly in base directory
|
|
29
|
+
root_count = len(list(base_path.glob("*.yaml")))
|
|
30
|
+
if root_count > 0:
|
|
31
|
+
dir_counts["."] = root_count
|
|
32
|
+
|
|
33
|
+
# Get all subdirectories with their test counts
|
|
34
|
+
for item in base_path.iterdir():
|
|
35
|
+
if item.is_dir():
|
|
36
|
+
yaml_count = count_yaml_files(item)
|
|
37
|
+
if yaml_count > 0:
|
|
38
|
+
dir_counts[item.name] = yaml_count
|
|
39
|
+
|
|
40
|
+
return dir_counts
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def split_into_batches(base_path: Path, num_batches: int) -> List[List[str]]:
|
|
44
|
+
"""
|
|
45
|
+
Split test directories into specified number of batches.
|
|
46
|
+
Special handling for baseline tests to separate states.
|
|
47
|
+
Special handling for contrib tests to divide by folder count.
|
|
48
|
+
"""
|
|
49
|
+
# Special handling for contrib tests - each folder is its own batch
|
|
50
|
+
# Only apply to policy/contrib (structural tests), not baseline/contrib
|
|
51
|
+
if str(base_path).endswith("policy/contrib"):
|
|
52
|
+
# Get all subdirectories and sort them alphabetically
|
|
53
|
+
subdirs = sorted(
|
|
54
|
+
[item for item in base_path.iterdir() if item.is_dir()]
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
# Get root level YAML files and sort them
|
|
58
|
+
root_files = sorted(list(base_path.glob("*.yaml")))
|
|
59
|
+
|
|
60
|
+
# Create one batch per subdirectory
|
|
61
|
+
batches = []
|
|
62
|
+
for subdir in subdirs:
|
|
63
|
+
batches.append([str(subdir)])
|
|
64
|
+
|
|
65
|
+
# If there are root files, group them together in their own batch
|
|
66
|
+
if root_files:
|
|
67
|
+
root_batch = [str(file) for file in root_files]
|
|
68
|
+
batches.append(root_batch)
|
|
69
|
+
|
|
70
|
+
return batches
|
|
71
|
+
|
|
72
|
+
# Special handling for reform tests - run all together in one batch
|
|
73
|
+
if "reform" in str(base_path):
|
|
74
|
+
return [[str(base_path)]]
|
|
75
|
+
|
|
76
|
+
# Special handling for baseline tests with 2 batches
|
|
77
|
+
if "baseline" in str(base_path) and num_batches == 2:
|
|
78
|
+
states_path = base_path / "gov" / "states"
|
|
79
|
+
if states_path.exists() and count_yaml_files(states_path) > 0:
|
|
80
|
+
# Batch 1: Only states
|
|
81
|
+
batch1 = [str(states_path)]
|
|
82
|
+
|
|
83
|
+
# Batch 2: Everything else (excluding states, household, and contrib)
|
|
84
|
+
batch2 = []
|
|
85
|
+
|
|
86
|
+
# Add root level files if any
|
|
87
|
+
for yaml_file in base_path.glob("*.yaml"):
|
|
88
|
+
batch2.append(str(yaml_file))
|
|
89
|
+
|
|
90
|
+
# Add all directories except gov/states, household, and contrib
|
|
91
|
+
for item in base_path.iterdir():
|
|
92
|
+
if item.is_dir():
|
|
93
|
+
# Skip household and contrib directories (they'll be run separately)
|
|
94
|
+
if item.name in ["household", "contrib"]:
|
|
95
|
+
continue
|
|
96
|
+
elif item.name == "gov":
|
|
97
|
+
# Add gov subdirectories except states
|
|
98
|
+
for gov_item in item.iterdir():
|
|
99
|
+
if gov_item.is_dir() and gov_item.name != "states":
|
|
100
|
+
batch2.append(str(gov_item))
|
|
101
|
+
elif gov_item.suffix == ".yaml":
|
|
102
|
+
batch2.append(str(gov_item))
|
|
103
|
+
else:
|
|
104
|
+
# Other non-gov directories
|
|
105
|
+
batch2.append(str(item))
|
|
106
|
+
|
|
107
|
+
return [batch1, batch2] if batch2 else [batch1]
|
|
108
|
+
|
|
109
|
+
# Default behavior for non-baseline or different batch counts
|
|
110
|
+
dir_counts = get_test_directories(base_path)
|
|
111
|
+
|
|
112
|
+
if num_batches <= 0:
|
|
113
|
+
num_batches = 1
|
|
114
|
+
|
|
115
|
+
# If only 1 batch, return everything
|
|
116
|
+
if num_batches == 1:
|
|
117
|
+
return [[str(base_path)]]
|
|
118
|
+
|
|
119
|
+
# Sort directories by test count (largest first)
|
|
120
|
+
sorted_dirs = sorted(dir_counts.items(), key=lambda x: x[1], reverse=True)
|
|
121
|
+
|
|
122
|
+
# Initialize batches
|
|
123
|
+
batches = [[] for _ in range(num_batches)]
|
|
124
|
+
batch_counts = [0] * num_batches
|
|
125
|
+
|
|
126
|
+
# Distribute directories to batches (greedy algorithm - add to smallest batch)
|
|
127
|
+
for dir_name, count in sorted_dirs:
|
|
128
|
+
# Find batch with fewest tests
|
|
129
|
+
min_batch_idx = batch_counts.index(min(batch_counts))
|
|
130
|
+
|
|
131
|
+
# Add directory to that batch
|
|
132
|
+
if dir_name == ".":
|
|
133
|
+
# Root level files - add individually
|
|
134
|
+
for yaml_file in base_path.glob("*.yaml"):
|
|
135
|
+
batches[min_batch_idx].append(str(yaml_file))
|
|
136
|
+
else:
|
|
137
|
+
batches[min_batch_idx].append(str(base_path / dir_name))
|
|
138
|
+
|
|
139
|
+
batch_counts[min_batch_idx] += count
|
|
140
|
+
|
|
141
|
+
# Filter out empty batches
|
|
142
|
+
return [batch for batch in batches if batch]
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
def run_batch(test_paths: List[str], batch_name: str) -> Dict:
|
|
146
|
+
"""Run a batch of tests in an isolated subprocess."""
|
|
147
|
+
|
|
148
|
+
python_exe = sys.executable
|
|
149
|
+
|
|
150
|
+
start_time = time.time()
|
|
151
|
+
|
|
152
|
+
# Build command - direct policyengine-core with timeout protection
|
|
153
|
+
cmd = (
|
|
154
|
+
[
|
|
155
|
+
python_exe,
|
|
156
|
+
"-m",
|
|
157
|
+
"policyengine_core.scripts.policyengine_command",
|
|
158
|
+
"test",
|
|
159
|
+
]
|
|
160
|
+
+ test_paths
|
|
161
|
+
+ ["-c", "policyengine_us"]
|
|
162
|
+
)
|
|
163
|
+
|
|
164
|
+
print(f" Running {batch_name}...")
|
|
165
|
+
print(f" Paths: {len(test_paths)} items")
|
|
166
|
+
print()
|
|
167
|
+
|
|
168
|
+
# Use Popen for more control over process lifecycle
|
|
169
|
+
process = subprocess.Popen(
|
|
170
|
+
cmd,
|
|
171
|
+
stdout=subprocess.PIPE,
|
|
172
|
+
stderr=subprocess.STDOUT,
|
|
173
|
+
text=True,
|
|
174
|
+
bufsize=1, # Line buffered
|
|
175
|
+
)
|
|
176
|
+
|
|
177
|
+
try:
|
|
178
|
+
test_completed = False
|
|
179
|
+
test_passed = False
|
|
180
|
+
output_lines = []
|
|
181
|
+
|
|
182
|
+
# Monitor output line by line
|
|
183
|
+
while True:
|
|
184
|
+
line = process.stdout.readline()
|
|
185
|
+
if not line:
|
|
186
|
+
# No more output, check if process is done
|
|
187
|
+
poll_result = process.poll()
|
|
188
|
+
if poll_result is not None:
|
|
189
|
+
# Process terminated
|
|
190
|
+
break
|
|
191
|
+
# Process still running but no output
|
|
192
|
+
time.sleep(0.1)
|
|
193
|
+
continue
|
|
194
|
+
|
|
195
|
+
# Print line in real-time
|
|
196
|
+
print(line, end="")
|
|
197
|
+
output_lines.append(line)
|
|
198
|
+
|
|
199
|
+
# Detect pytest completion
|
|
200
|
+
# Look for patterns like "====== 5638 passed in 491.24s ======"
|
|
201
|
+
# or "====== 2 failed, 5636 passed in 500s ======"
|
|
202
|
+
import re
|
|
203
|
+
|
|
204
|
+
if re.search(r"=+.*\d+\s+(passed|failed).*in\s+[\d.]+s.*=+", line):
|
|
205
|
+
test_completed = True
|
|
206
|
+
# Check if tests passed (no failures mentioned or 0 failed)
|
|
207
|
+
if "failed" not in line or "0 failed" in line:
|
|
208
|
+
test_passed = True
|
|
209
|
+
else:
|
|
210
|
+
test_passed = False
|
|
211
|
+
|
|
212
|
+
print(f"\n Tests completed, terminating process...")
|
|
213
|
+
|
|
214
|
+
# Give 5 seconds grace period for cleanup
|
|
215
|
+
time.sleep(5)
|
|
216
|
+
|
|
217
|
+
# Terminate the process
|
|
218
|
+
process.terminate()
|
|
219
|
+
try:
|
|
220
|
+
process.wait(timeout=5)
|
|
221
|
+
except subprocess.TimeoutExpired:
|
|
222
|
+
# Force kill if it won't terminate
|
|
223
|
+
print(f" Force killing process...")
|
|
224
|
+
process.kill()
|
|
225
|
+
process.wait()
|
|
226
|
+
break
|
|
227
|
+
|
|
228
|
+
# If we didn't detect completion, wait for process with timeout
|
|
229
|
+
if not test_completed:
|
|
230
|
+
try:
|
|
231
|
+
# Wait up to 30 minutes total
|
|
232
|
+
elapsed = time.time() - start_time
|
|
233
|
+
remaining_timeout = max(1800 - elapsed, 1)
|
|
234
|
+
process.wait(timeout=remaining_timeout)
|
|
235
|
+
except subprocess.TimeoutExpired:
|
|
236
|
+
print(f"\n ⏱️ Timeout - terminating process...")
|
|
237
|
+
process.terminate()
|
|
238
|
+
try:
|
|
239
|
+
process.wait(timeout=5)
|
|
240
|
+
except subprocess.TimeoutExpired:
|
|
241
|
+
process.kill()
|
|
242
|
+
process.wait()
|
|
243
|
+
|
|
244
|
+
elapsed = time.time() - start_time
|
|
245
|
+
return {
|
|
246
|
+
"elapsed": elapsed,
|
|
247
|
+
"status": "timeout",
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
elapsed = time.time() - start_time
|
|
251
|
+
|
|
252
|
+
if test_completed:
|
|
253
|
+
print(f"\n Batch completed in {elapsed:.1f}s")
|
|
254
|
+
return {
|
|
255
|
+
"elapsed": elapsed,
|
|
256
|
+
"status": "passed" if test_passed else "failed",
|
|
257
|
+
}
|
|
258
|
+
else:
|
|
259
|
+
# Process ended without detecting test completion
|
|
260
|
+
returncode = process.poll()
|
|
261
|
+
print(f"\n Batch completed in {elapsed:.1f}s")
|
|
262
|
+
return {
|
|
263
|
+
"elapsed": elapsed,
|
|
264
|
+
"status": "passed" if returncode == 0 else "failed",
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
except Exception as e:
|
|
268
|
+
elapsed = time.time() - start_time
|
|
269
|
+
print(f"\n ❌ Error: {str(e)[:100]}")
|
|
270
|
+
|
|
271
|
+
# Clean up process if still running
|
|
272
|
+
try:
|
|
273
|
+
process.terminate()
|
|
274
|
+
process.wait(timeout=5)
|
|
275
|
+
except:
|
|
276
|
+
try:
|
|
277
|
+
process.kill()
|
|
278
|
+
process.wait()
|
|
279
|
+
except:
|
|
280
|
+
pass
|
|
281
|
+
|
|
282
|
+
return {
|
|
283
|
+
"elapsed": elapsed,
|
|
284
|
+
"status": "error",
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
def main():
|
|
289
|
+
"""Main entry point for the generic test runner."""
|
|
290
|
+
|
|
291
|
+
parser = argparse.ArgumentParser(
|
|
292
|
+
description="Run tests in batches with memory cleanup between batches"
|
|
293
|
+
)
|
|
294
|
+
parser.add_argument("test_path", help="Path to the test directory")
|
|
295
|
+
parser.add_argument(
|
|
296
|
+
"--batches",
|
|
297
|
+
type=int,
|
|
298
|
+
default=2,
|
|
299
|
+
help="Number of batches to split tests into (default: 2)",
|
|
300
|
+
)
|
|
301
|
+
|
|
302
|
+
args = parser.parse_args()
|
|
303
|
+
|
|
304
|
+
if not os.path.exists("policyengine_us"):
|
|
305
|
+
print("Error: Must run from PolicyEngine US root directory")
|
|
306
|
+
sys.exit(1)
|
|
307
|
+
|
|
308
|
+
test_path = Path(args.test_path)
|
|
309
|
+
if not test_path.exists():
|
|
310
|
+
print(f"Error: Test path does not exist: {args.test_path}")
|
|
311
|
+
sys.exit(1)
|
|
312
|
+
|
|
313
|
+
print(f"PolicyEngine Test Runner")
|
|
314
|
+
print("=" * 60)
|
|
315
|
+
print(f"Test path: {test_path}")
|
|
316
|
+
print(f"Requested batches: {args.batches}")
|
|
317
|
+
|
|
318
|
+
# Count total tests
|
|
319
|
+
total_tests = count_yaml_files(test_path)
|
|
320
|
+
print(f"Total test files: {total_tests}")
|
|
321
|
+
|
|
322
|
+
# Split into batches
|
|
323
|
+
batches = split_into_batches(test_path, args.batches)
|
|
324
|
+
if len(batches) != args.batches:
|
|
325
|
+
print(
|
|
326
|
+
f"Actual batches: {len(batches)} (optimized for {total_tests} files)"
|
|
327
|
+
)
|
|
328
|
+
else:
|
|
329
|
+
print(f"Actual batches: {len(batches)}")
|
|
330
|
+
print("=" * 60)
|
|
331
|
+
|
|
332
|
+
# Run batches
|
|
333
|
+
all_failed = False
|
|
334
|
+
total_elapsed = 0
|
|
335
|
+
|
|
336
|
+
for i, batch_paths in enumerate(batches, 1):
|
|
337
|
+
print(f"\n[Batch {i}/{len(batches)}]")
|
|
338
|
+
|
|
339
|
+
# Show what's in this batch
|
|
340
|
+
batch_test_count = sum(
|
|
341
|
+
count_yaml_files(Path(p)) if Path(p).is_dir() else 1
|
|
342
|
+
for p in batch_paths
|
|
343
|
+
)
|
|
344
|
+
print(f" Test files: ~{batch_test_count}")
|
|
345
|
+
print("-" * 60)
|
|
346
|
+
|
|
347
|
+
result = run_batch(batch_paths, f"Batch {i}")
|
|
348
|
+
total_elapsed += result["elapsed"]
|
|
349
|
+
|
|
350
|
+
if result["status"] != "passed":
|
|
351
|
+
all_failed = True
|
|
352
|
+
|
|
353
|
+
# Memory cleanup after each batch
|
|
354
|
+
print(" Cleaning up memory...")
|
|
355
|
+
gc.collect()
|
|
356
|
+
|
|
357
|
+
# Final summary
|
|
358
|
+
print("\n" + "=" * 60)
|
|
359
|
+
print("TEST SUMMARY")
|
|
360
|
+
print("=" * 60)
|
|
361
|
+
print(f"Total test files: {total_tests}")
|
|
362
|
+
print(f"Total time: {total_elapsed:.1f}s")
|
|
363
|
+
|
|
364
|
+
# Exit code
|
|
365
|
+
sys.exit(1 if all_failed else 0)
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
if __name__ == "__main__":
|
|
369
|
+
main()
|
|
@@ -5,7 +5,6 @@ import pandas as pd
|
|
|
5
5
|
import subprocess
|
|
6
6
|
import stat
|
|
7
7
|
from io import StringIO
|
|
8
|
-
from policyengine_us_data import CPS_2024
|
|
9
8
|
from policyengine_core.data import Dataset
|
|
10
9
|
from policyengine_core.taxbenefitsystems import TaxBenefitSystem
|
|
11
10
|
from policyengine_us import Microsimulation
|
|
@@ -284,6 +283,9 @@ class TaxSim35:
|
|
|
284
283
|
return test_str
|
|
285
284
|
|
|
286
285
|
|
|
286
|
+
DEFAULT_DATASET = "hf://policyengine/policyengine-us-data/enhanced_cps_2024.h5"
|
|
287
|
+
|
|
288
|
+
|
|
287
289
|
if __name__ == "__main__":
|
|
288
290
|
parser = ArgumentParser(description="Generate tests from TAXSIM35")
|
|
289
291
|
parser.add_argument(
|
|
@@ -299,6 +301,6 @@ if __name__ == "__main__":
|
|
|
299
301
|
taxsim = TaxSim35()
|
|
300
302
|
taxsim.OUTPUT_VARIABLES = args.outputs
|
|
301
303
|
result = taxsim.generate_from_microsimulation(
|
|
302
|
-
|
|
304
|
+
DEFAULT_DATASET, args.year, number=args.num
|
|
303
305
|
)
|
|
304
306
|
print(result)
|
|
@@ -13,7 +13,9 @@ class aca_ptc(Variable):
|
|
|
13
13
|
def formula(tax_unit, period, parameters):
|
|
14
14
|
plan_cost = tax_unit("slcsp", period)
|
|
15
15
|
income = tax_unit("aca_magi", period)
|
|
16
|
-
applicable_figure = tax_unit(
|
|
16
|
+
applicable_figure = tax_unit(
|
|
17
|
+
"aca_required_contribution_percentage", period
|
|
18
|
+
)
|
|
17
19
|
takes_up_aca_if_eligible = tax_unit("takes_up_aca_if_eligible", period)
|
|
18
20
|
return (
|
|
19
21
|
max_(0, plan_cost - income * applicable_figure)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from policyengine_us.model_api import *
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
class
|
|
4
|
+
class aca_required_contribution_percentage(Variable):
|
|
5
5
|
value_type = float
|
|
6
6
|
entity = TaxUnit
|
|
7
7
|
label = "ACA PTC phase-out rate (i.e., IRS Form 8962 'applicable figure')"
|
|
@@ -11,5 +11,5 @@ class aca_ptc_phase_out_rate(Variable):
|
|
|
11
11
|
|
|
12
12
|
def formula(tax_unit, period, parameters):
|
|
13
13
|
magi_frac = tax_unit("aca_magi_fraction", period)
|
|
14
|
-
p = parameters(period).gov.aca.
|
|
14
|
+
p = parameters(period).gov.aca.required_contribution_percentage
|
|
15
15
|
return np.interp(magi_frac, p.thresholds, p.amounts)
|
|
@@ -12,6 +12,5 @@ class pell_grant_simplified_formula_applies(Variable):
|
|
|
12
12
|
head_income = tax_unit("pell_grant_primary_income", period)
|
|
13
13
|
p = parameters(period).gov.ed.pell_grant.efc.simplified
|
|
14
14
|
income_eligible = head_income < p.income_limit
|
|
15
|
-
|
|
16
|
-
has_benefits = np.any(total_benefits > 0)
|
|
15
|
+
has_benefits = add(tax_unit, period, p.benefits) > 0
|
|
17
16
|
return income_eligible & has_benefits & p.applies
|
|
@@ -21,10 +21,9 @@ class is_lifeline_eligible(Variable):
|
|
|
21
21
|
)
|
|
22
22
|
categorically_eligible = np.where(
|
|
23
23
|
is_on_tribal_land,
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
tribal_lifeline_programs > 0,
|
|
25
|
+
non_tribal_lifeline_programs > 0,
|
|
26
26
|
)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
return categorically_eligible | fpg_eligible
|
|
27
|
+
# Use the new unified income eligibility variable
|
|
28
|
+
income_eligible = spm_unit("is_lifeline_income_eligible", period)
|
|
29
|
+
return categorically_eligible | income_eligible
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class is_lifeline_income_eligible(Variable):
|
|
5
|
+
value_type = bool
|
|
6
|
+
entity = SPMUnit
|
|
7
|
+
label = "Income-eligible for Lifeline"
|
|
8
|
+
documentation = (
|
|
9
|
+
"Meets income requirements for Lifeline (federal or state-expanded)"
|
|
10
|
+
)
|
|
11
|
+
definition_period = YEAR
|
|
12
|
+
reference = (
|
|
13
|
+
"https://www.law.cornell.edu/cfr/text/47/54.409",
|
|
14
|
+
"https://statutes.capitol.texas.gov/Docs/UT/htm/UT.55.htm#55.015",
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
def formula(spm_unit, period, parameters):
|
|
18
|
+
p = parameters(period).gov.fcc.lifeline
|
|
19
|
+
fpg_ratio = spm_unit("fcc_fpg_ratio", period)
|
|
20
|
+
|
|
21
|
+
# Some states expand eligibility beyond federal limit
|
|
22
|
+
state = spm_unit.household("state_code_str", period)
|
|
23
|
+
is_tx = state == "TX"
|
|
24
|
+
|
|
25
|
+
# Texas expands to 150% FPG per Texas Utilities Code § 55.015(d-1)
|
|
26
|
+
tx_p = parameters(period).gov.states.tx.uct.lifeline
|
|
27
|
+
|
|
28
|
+
# Use state-specific limit where applicable, otherwise federal (135%)
|
|
29
|
+
# Convert to float32 to match fpg_ratio dtype for comparison
|
|
30
|
+
# Without this, float32(1.35) > float64(1.35) due to precision differences
|
|
31
|
+
fpg_limit = where(is_tx, tx_p.fpg_limit, p.fpg_limit).astype(
|
|
32
|
+
np.float32
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
return fpg_ratio <= fpg_limit
|
|
@@ -33,11 +33,14 @@ class lifeline(Variable):
|
|
|
33
33
|
base_amount,
|
|
34
34
|
)
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
federal_monthly_amount = (
|
|
37
37
|
base_amount
|
|
38
38
|
+ is_rural_tribal * p.fcc.lifeline.amount.rural_tribal_supplement
|
|
39
39
|
)
|
|
40
|
-
|
|
40
|
+
# Get TX supplement for the specific month (now properly defined as MONTH period)
|
|
41
|
+
tx_supplement = spm_unit("tx_lifeline_supplement", period.first_month)
|
|
42
|
+
total_monthly_amount = federal_monthly_amount + tx_supplement
|
|
43
|
+
max_amount = total_monthly_amount * MONTHS_IN_YEAR
|
|
41
44
|
phone_broadband_cost = add(
|
|
42
45
|
spm_unit, period, ["phone_cost", "broadband_cost"]
|
|
43
46
|
)
|
|
@@ -4,6 +4,18 @@ from policyengine_us.model_api import *
|
|
|
4
4
|
class early_head_start(Variable):
|
|
5
5
|
value_type = float
|
|
6
6
|
entity = Person
|
|
7
|
-
label = "
|
|
7
|
+
label = "Early Head Start"
|
|
8
|
+
unit = USD
|
|
8
9
|
definition_period = YEAR
|
|
9
10
|
defined_for = "is_early_head_start_eligible"
|
|
11
|
+
reference = "https://headstart.gov/program-data/article/head-start-program-facts-fiscal-year-2022"
|
|
12
|
+
|
|
13
|
+
def formula(person, period, parameters):
|
|
14
|
+
p = parameters(period).gov.hhs.head_start.early_head_start
|
|
15
|
+
state = person.household("state_code_str", period)
|
|
16
|
+
spending = p.spending[state]
|
|
17
|
+
enrollment = p.enrollment[state]
|
|
18
|
+
mask = enrollment > 0
|
|
19
|
+
result = np.zeros_like(p.spending[state])
|
|
20
|
+
result[mask] = spending[mask] / enrollment[mask]
|
|
21
|
+
return result
|
|
@@ -4,6 +4,18 @@ from policyengine_us.model_api import *
|
|
|
4
4
|
class head_start(Variable):
|
|
5
5
|
value_type = float
|
|
6
6
|
entity = Person
|
|
7
|
-
label = "
|
|
7
|
+
label = "Head Start"
|
|
8
|
+
unit = USD
|
|
8
9
|
definition_period = YEAR
|
|
9
10
|
defined_for = "is_head_start_eligible"
|
|
11
|
+
reference = "https://headstart.gov/program-data/article/head-start-program-facts-fiscal-year-2022"
|
|
12
|
+
|
|
13
|
+
def formula(person, period, parameters):
|
|
14
|
+
p = parameters(period).gov.hhs.head_start
|
|
15
|
+
state = person.household("state_code_str", period)
|
|
16
|
+
spending = p.spending[state]
|
|
17
|
+
enrollment = p.enrollment[state]
|
|
18
|
+
mask = enrollment > 0
|
|
19
|
+
result = np.zeros_like(p.spending[state])
|
|
20
|
+
result[mask] = spending[mask] / enrollment[mask]
|
|
21
|
+
return result
|
|
@@ -12,7 +12,5 @@ class is_head_start_categorically_eligible(Variable):
|
|
|
12
12
|
)
|
|
13
13
|
|
|
14
14
|
def formula(person, period, parameters):
|
|
15
|
-
tax_unit = person.tax_unit
|
|
16
15
|
p = parameters(period).gov.hhs.head_start
|
|
17
|
-
|
|
18
|
-
return np.any(programs)
|
|
16
|
+
return add(person.tax_unit, period, p.categorical_eligibility) > 0
|
|
@@ -14,17 +14,11 @@ class is_medicaid_eligible(Variable):
|
|
|
14
14
|
def formula(person, period, parameters):
|
|
15
15
|
category = person("medicaid_category", period)
|
|
16
16
|
categorically_eligible = category != category.possible_values.NONE
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
state = person.household("state_code_str", period)
|
|
20
|
-
p = parameters(period).gov.hhs.medicaid.eligibility
|
|
21
|
-
state_covers_undocumented = p.undocumented_immigrant[state].astype(
|
|
22
|
-
bool
|
|
23
|
-
)
|
|
24
|
-
immigration_status_eligible = (
|
|
25
|
-
~undocumented | undocumented & state_covers_undocumented
|
|
17
|
+
immigration_status_eligible = person(
|
|
18
|
+
"is_medicaid_immigration_status_eligible", period
|
|
26
19
|
)
|
|
27
20
|
ca_ffyp_eligible = person("ca_ffyp_eligible", period)
|
|
21
|
+
p = parameters(period).gov.hhs.medicaid.eligibility
|
|
28
22
|
if p.work_requirements.applies:
|
|
29
23
|
work_requirement_eligible = person(
|
|
30
24
|
"medicaid_work_requirement_eligible", period
|
policyengine_us/variables/gov/hhs/medicaid/eligibility/is_medicaid_immigration_status_eligible.py
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class is_medicaid_immigration_status_eligible(Variable):
|
|
5
|
+
value_type = bool
|
|
6
|
+
entity = Person
|
|
7
|
+
label = "Person is eligible for Medicaid due to immigration status"
|
|
8
|
+
definition_period = YEAR
|
|
9
|
+
reference = [
|
|
10
|
+
"https://www.law.cornell.edu/uscode/text/42/1396b#v",
|
|
11
|
+
"https://www.law.cornell.edu/uscode/text/8/1641",
|
|
12
|
+
"https://www.kff.org/racial-equity-and-health-policy/fact-sheet/key-facts-on-health-coverage-of-immigrants/",
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
def formula(person, period, parameters):
|
|
16
|
+
p = parameters(period).gov.hhs.medicaid.eligibility
|
|
17
|
+
immigration_status = person("immigration_status", period)
|
|
18
|
+
immigration_status_str = immigration_status.decode_to_str()
|
|
19
|
+
|
|
20
|
+
# Check if immigration status is in the eligible list
|
|
21
|
+
eligible_immigration_status = np.isin(
|
|
22
|
+
immigration_status_str, p.eligible_immigration_statuses
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
# Special handling for undocumented immigrants in states that cover them
|
|
26
|
+
undocumented = (
|
|
27
|
+
immigration_status
|
|
28
|
+
== immigration_status.possible_values.UNDOCUMENTED
|
|
29
|
+
)
|
|
30
|
+
state = person.household("state_code_str", period)
|
|
31
|
+
state_covers_undocumented = p.undocumented_immigrant[state].astype(
|
|
32
|
+
bool
|
|
33
|
+
)
|
|
34
|
+
undocumented_eligible = undocumented & state_covers_undocumented
|
|
35
|
+
|
|
36
|
+
ca_eligible_regardless_of_immigration_status = person(
|
|
37
|
+
"is_ca_medicaid_immigration_status_eligible", period
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
return (
|
|
41
|
+
eligible_immigration_status
|
|
42
|
+
| undocumented_eligible
|
|
43
|
+
| ca_eligible_regardless_of_immigration_status
|
|
44
|
+
)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class tanf_gross_earned_income(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = Person
|
|
7
|
+
label = (
|
|
8
|
+
"Temporary Assistance for Needy Families (TANF) gross earned income"
|
|
9
|
+
)
|
|
10
|
+
unit = USD
|
|
11
|
+
definition_period = MONTH
|
|
12
|
+
|
|
13
|
+
adds = "gov.hhs.tanf.cash.income.sources.earned"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class tanf_gross_unearned_income(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = Person
|
|
7
|
+
label = (
|
|
8
|
+
"Temporary Assistance for Needy Families (TANF) gross unearned income"
|
|
9
|
+
)
|
|
10
|
+
unit = USD
|
|
11
|
+
definition_period = MONTH
|
|
12
|
+
|
|
13
|
+
adds = "gov.hhs.tanf.cash.income.sources.unearned"
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class tanf_fpg(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = SPMUnit
|
|
7
|
+
label = "TANF federal poverty guideline"
|
|
8
|
+
unit = USD
|
|
9
|
+
documentation = (
|
|
10
|
+
"The federal poverty guideline used to determine TANF eligibility."
|
|
11
|
+
)
|
|
12
|
+
definition_period = MONTH
|
|
13
|
+
reference = "https://www.law.cornell.edu/uscode/text/42/9902"
|
|
14
|
+
|
|
15
|
+
def formula(spm_unit, period, parameters):
|
|
16
|
+
# We can use tanf_unit_size for more accurate model in the future
|
|
17
|
+
n = spm_unit("spm_unit_size", period.this_year)
|
|
18
|
+
state_group = spm_unit.household("state_group_str", period.this_year)
|
|
19
|
+
year = period.start.year
|
|
20
|
+
month = period.start.month
|
|
21
|
+
if month >= 10:
|
|
22
|
+
instant_str = f"{year}-10-01"
|
|
23
|
+
else:
|
|
24
|
+
instant_str = f"{year - 1}-10-01"
|
|
25
|
+
p_fpg = parameters(instant_str).gov.hhs.fpg
|
|
26
|
+
p1 = p_fpg.first_person[state_group] / MONTHS_IN_YEAR
|
|
27
|
+
pn = p_fpg.additional_person[state_group] / MONTHS_IN_YEAR
|
|
28
|
+
return p1 + pn * (n - 1)
|