diff --git a/changelog.d/va-liheap-wave1c.added.md b/changelog.d/va-liheap-wave1c.added.md new file mode 100644 index 00000000000..ab4505c32b4 --- /dev/null +++ b/changelog.d/va-liheap-wave1c.added.md @@ -0,0 +1 @@ +Add Virginia Energy Assistance Program Fuel Assistance (va_eap): FFY2026 regular heating benefit from the points matrix and the latest published value per point, with the 150% federal poverty guideline income test. diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/age/elderly.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/age/elderly.yaml new file mode 100644 index 00000000000..1e4e3750657 --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/age/elderly.yaml @@ -0,0 +1,15 @@ +description: Virginia treats household members at or above this age as elderly for the medical deduction and vulnerability points under the Energy Assistance Program. +values: + 2003-01-01: 60 + +metadata: + unit: year + period: year + label: Virginia EAP elderly age threshold + reference: + - title: "Virginia Energy Assistance Manual, Volume IX, Chapter B.6.c Income Disregard/Medical Deduction and Chapter D.5 Benefit Determinations #page 31,52" + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=31 + - title: LIHEAP Clearinghouse Virginia FY2026 benefit matrix, Appendix B (01/03, vulnerability "Elderly (60 and over)") + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=7 + - title: 22VAC40-680-10 Definitions ("Elderly person") + href: https://law.lis.virginia.gov/admincode/title22/agency40/chapter680/section10/ diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/benefit/value_per_point.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/benefit/value_per_point.yaml new file mode 100644 index 00000000000..d62895cb987 --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/benefit/value_per_point.yaml @@ -0,0 +1,24 @@ +description: Virginia pays this amount per benefit point under the Energy Assistance Program. +# The value per point is the season's heating allocation divided by the total +# points of all approved households, computed in December and reported in the +# following year's state plan (Section 2.5). Each value is dated to the start +# of its federal fiscal year. The FFY2026 value is not yet published, so the +# model carries the latest published (FFY2025) value forward for period 2026. +values: + 2022-10-01: 4.226444 + 2023-10-01: 4.957075 + 2024-10-01: 4.531665 + +metadata: + unit: currency-USD + period: year + label: Virginia EAP value per point + reference: + - title: LIHEAP FY2024 Virginia Detailed Model Plan, Section 2.5 (FFY2023 dollar value per matrix point $4.226444) + href: https://liheapch.acf.gov/docs/2024/state-plans/VA_Plan_2024.pdf#page=9 + - title: LIHEAP FY2025 Virginia Detailed Model Plan, Section 2.5 (FFY2024 dollar value per matrix point $4.957075) + href: https://liheapch.acf.gov/docs/2025/state-plans/VA_Plan_2025.pdf#page=9 + - title: LIHEAP FY2026 Virginia Detailed Model Plan, Section 2.5 (FFY2025 dollar value per matrix point $4.531665) + href: https://liheapch.acf.gov/docs/2026/state-plans/VA_Plan_2026.pdf#page=9 + - title: 22VAC40-680-30 Benefits (point dollar value and benefit amount) + href: https://law.lis.virginia.gov/admincode/title22/agency40/chapter680/section30/ diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/climate_zone/central_mountain.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/climate_zone/central_mountain.yaml new file mode 100644 index 00000000000..3dbc257f9e2 --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/climate_zone/central_mountain.yaml @@ -0,0 +1,35 @@ +description: Virginia assigns these counties and independent cities to the Central Mountain climate zone under the Energy Assistance Program. +# Salem City comes from the 01/03 Appendix A ("Salem 775", manual page +# 62) because the 06/17 page omits it without assigning it another zone; Salem +# is an independent city surrounded by Roanoke County. Clifton Forge (560) has +# been a town in Alleghany County since 2001 and has no county value of its +# own; Alleghany County is listed here. +values: + 2017-06-01: + - ALLEGHANY_COUNTY_VA + - AUGUSTA_COUNTY_VA + - BATH_COUNTY_VA + - BOTETOURT_COUNTY_VA + - CRAIG_COUNTY_VA + - HIGHLAND_COUNTY_VA + - ROANOKE_COUNTY_VA + - ROCKBRIDGE_COUNTY_VA + - ROCKINGHAM_COUNTY_VA + - BUENA_VISTA_CITY_VA + - COVINGTON_CITY_VA + - HARRISONBURG_CITY_VA + - LEXINGTON_CITY_VA + - ROANOKE_CITY_VA + - SALEM_CITY_VA + - STAUNTON_CITY_VA + - WAYNESBORO_CITY_VA + +metadata: + unit: list + period: year + label: Virginia EAP Central Mountain climate zone localities + reference: + - title: LIHEAP Clearinghouse Virginia FY2026 benefit matrix, Chapter D, Appendix A Climate Zones, Central Mountain + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=3 + - title: Virginia Energy Assistance Manual, Volume IX, Chapter D, Appendix A Climate Zones, Central Mountain + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=62 diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/climate_zone/eastern_piedmont.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/climate_zone/eastern_piedmont.yaml new file mode 100644 index 00000000000..4a3fda1cb1b --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/climate_zone/eastern_piedmont.yaml @@ -0,0 +1,35 @@ +description: Virginia assigns these counties and independent cities to the Eastern Piedmont climate zone under the Energy Assistance Program. +values: + 2017-06-01: + - AMELIA_COUNTY_VA + - BRUNSWICK_COUNTY_VA + - BUCKINGHAM_COUNTY_VA + - CAROLINE_COUNTY_VA + - CHESTERFIELD_COUNTY_VA + - CUMBERLAND_COUNTY_VA + - DINWIDDIE_COUNTY_VA + - FLUVANNA_COUNTY_VA + - GOOCHLAND_COUNTY_VA + - HANOVER_COUNTY_VA + - HENRICO_COUNTY_VA + - LOUISA_COUNTY_VA + - LUNENBURG_COUNTY_VA + - MECKLENBURG_COUNTY_VA + - NOTTOWAY_COUNTY_VA + - POWHATAN_COUNTY_VA + - PRINCE_EDWARD_COUNTY_VA + - SPOTSYLVANIA_COUNTY_VA + - COLONIAL_HEIGHTS_CITY_VA + - FREDERICKSBURG_CITY_VA + - PETERSBURG_CITY_VA + - RICHMOND_CITY_VA + +metadata: + unit: list + period: year + label: Virginia EAP Eastern Piedmont climate zone localities + reference: + - title: LIHEAP Clearinghouse Virginia FY2026 benefit matrix, Chapter D, Appendix A Climate Zones, Eastern Piedmont + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=4 + - title: Virginia Energy Assistance Manual, Volume IX, Chapter D, Appendix A Climate Zones, Eastern Piedmont + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=63 diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/climate_zone/northern.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/climate_zone/northern.yaml new file mode 100644 index 00000000000..efd8d6251f9 --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/climate_zone/northern.yaml @@ -0,0 +1,34 @@ +description: Virginia assigns these counties and independent cities to the Northern climate zone under the Energy Assistance Program. +values: + 2017-06-01: + - ARLINGTON_COUNTY_VA + - CLARKE_COUNTY_VA + - CULPEPER_COUNTY_VA + - FAIRFAX_COUNTY_VA + - FAUQUIER_COUNTY_VA + - FREDERICK_COUNTY_VA + - GREENE_COUNTY_VA + - LOUDOUN_COUNTY_VA + - MADISON_COUNTY_VA + - ORANGE_COUNTY_VA + - PAGE_COUNTY_VA + - PRINCE_WILLIAM_COUNTY_VA + - RAPPAHANNOCK_COUNTY_VA + - SHENANDOAH_COUNTY_VA + - WARREN_COUNTY_VA + - ALEXANDRIA_CITY_VA + - FAIRFAX_CITY_VA + - FALLS_CHURCH_CITY_VA + - MANASSAS_CITY_VA + - MANASSAS_PARK_CITY_VA + - WINCHESTER_CITY_VA + +metadata: + unit: list + period: year + label: Virginia EAP Northern climate zone localities + reference: + - title: LIHEAP Clearinghouse Virginia FY2026 benefit matrix, Chapter D, Appendix A Climate Zones, Northern + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=3 + - title: Virginia Energy Assistance Manual, Volume IX, Chapter D, Appendix A Climate Zones, Northern + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=62 diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/climate_zone/southwestern_mountain.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/climate_zone/southwestern_mountain.yaml new file mode 100644 index 00000000000..3050c5b8a58 --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/climate_zone/southwestern_mountain.yaml @@ -0,0 +1,34 @@ +description: Virginia assigns these counties and independent cities to the Southwestern Mountain climate zone under the Energy Assistance Program. +values: + 2017-06-01: + - BLAND_COUNTY_VA + - BUCHANAN_COUNTY_VA + - CARROLL_COUNTY_VA + - DICKENSON_COUNTY_VA + - FLOYD_COUNTY_VA + - GILES_COUNTY_VA + - GRAYSON_COUNTY_VA + - LEE_COUNTY_VA + - MONTGOMERY_COUNTY_VA + - PULASKI_COUNTY_VA + - RUSSELL_COUNTY_VA + - SCOTT_COUNTY_VA + - SMYTH_COUNTY_VA + - TAZEWELL_COUNTY_VA + - WASHINGTON_COUNTY_VA + - WISE_COUNTY_VA + - WYTHE_COUNTY_VA + - BRISTOL_CITY_VA + - GALAX_CITY_VA + - NORTON_CITY_VA + - RADFORD_CITY_VA + +metadata: + unit: list + period: year + label: Virginia EAP Southwestern Mountain climate zone localities + reference: + - title: LIHEAP Clearinghouse Virginia FY2026 benefit matrix, Chapter D, Appendix A Climate Zones, Southwestern Mountain + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=4 + - title: Virginia Energy Assistance Manual, Volume IX, Chapter D, Appendix A Climate Zones, Southwestern Mountain + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=63 diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/climate_zone/tidewater.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/climate_zone/tidewater.yaml new file mode 100644 index 00000000000..a33247c98e2 --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/climate_zone/tidewater.yaml @@ -0,0 +1,49 @@ +description: Virginia assigns these counties and independent cities to the Tidewater climate zone under the Energy Assistance Program. +values: + 2017-06-01: + - ACCOMACK_COUNTY_VA + - CHARLES_CITY_COUNTY_VA + - ESSEX_COUNTY_VA + - GLOUCESTER_COUNTY_VA + - GREENSVILLE_COUNTY_VA + - ISLE_OF_WIGHT_COUNTY_VA + - JAMES_CITY_COUNTY_VA + - KING_AND_QUEEN_COUNTY_VA + - KING_GEORGE_COUNTY_VA + - KING_WILLIAM_COUNTY_VA + - LANCASTER_COUNTY_VA + - MATHEWS_COUNTY_VA + - MIDDLESEX_COUNTY_VA + - NEW_KENT_COUNTY_VA + - NORTHAMPTON_COUNTY_VA + - NORTHUMBERLAND_COUNTY_VA + - PRINCE_GEORGE_COUNTY_VA + - RICHMOND_COUNTY_VA + - SOUTHAMPTON_COUNTY_VA + - STAFFORD_COUNTY_VA + - SURRY_COUNTY_VA + - SUSSEX_COUNTY_VA + - WESTMORELAND_COUNTY_VA + - YORK_COUNTY_VA + - CHESAPEAKE_CITY_VA + - EMPORIA_CITY_VA + - FRANKLIN_CITY_VA + - HAMPTON_CITY_VA + - HOPEWELL_CITY_VA + - NEWPORT_NEWS_CITY_VA + - NORFOLK_CITY_VA + - POQUOSON_CITY_VA + - PORTSMOUTH_CITY_VA + - SUFFOLK_CITY_VA + - VIRGINIA_BEACH_CITY_VA + - WILLIAMSBURG_CITY_VA + +metadata: + unit: list + period: year + label: Virginia EAP Tidewater climate zone localities + reference: + - title: LIHEAP Clearinghouse Virginia FY2026 benefit matrix, Chapter D, Appendix A Climate Zones, Tidewater + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=5 + - title: Virginia Energy Assistance Manual, Volume IX, Chapter D, Appendix A Climate Zones, Tidewater + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=64 diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/climate_zone/western_piedmont.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/climate_zone/western_piedmont.yaml new file mode 100644 index 00000000000..b9b511eed22 --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/climate_zone/western_piedmont.yaml @@ -0,0 +1,32 @@ +description: Virginia assigns these counties and independent cities to the Western Piedmont climate zone under the Energy Assistance Program. +# Appendix A (06/17, Transmittal 17-1) lists Bedford County only; the +# 01/03 page also listed Bedford City, which became a town in Bedford County in +# 2013. +values: + 2017-06-01: + - ALBEMARLE_COUNTY_VA + - AMHERST_COUNTY_VA + - APPOMATTOX_COUNTY_VA + - BEDFORD_COUNTY_VA + - CAMPBELL_COUNTY_VA + - CHARLOTTE_COUNTY_VA + - FRANKLIN_COUNTY_VA + - HALIFAX_COUNTY_VA + - HENRY_COUNTY_VA + - NELSON_COUNTY_VA + - PATRICK_COUNTY_VA + - PITTSYLVANIA_COUNTY_VA + - CHARLOTTESVILLE_CITY_VA + - DANVILLE_CITY_VA + - LYNCHBURG_CITY_VA + - MARTINSVILLE_CITY_VA + +metadata: + unit: list + period: year + label: Virginia EAP Western Piedmont climate zone localities + reference: + - title: LIHEAP Clearinghouse Virginia FY2026 benefit matrix, Chapter D, Appendix A Climate Zones, Western Piedmont + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=3 + - title: Virginia Energy Assistance Manual, Volume IX, Chapter D, Appendix A Climate Zones, Western Piedmont + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=62 diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/eligibility/fpg_rate.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/eligibility/fpg_rate.yaml new file mode 100644 index 00000000000..b2e6a8ae07a --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/eligibility/fpg_rate.yaml @@ -0,0 +1,15 @@ +description: Virginia limits countable income to this multiple of the federal poverty guidelines under the Energy Assistance Program. +values: + 2021-05-01: 1.5 + +metadata: + unit: /1 + period: year + label: Virginia EAP federal poverty guideline rate + reference: + - title: LIHEAP FY2026 Virginia Detailed Model Plan, Section 2.1 (eligibility threshold 150.00% of the HHS Poverty Guidelines) + href: https://liheapch.acf.gov/docs/2026/state-plans/VA_Plan_2026.pdf#page=8 + - title: "LIHEAP Clearinghouse Virginia FY2026 benefit matrix, income limits (150% FPL) and Appendix B (05/21, income levels based on 150% of the Poverty Income Guidelines) #page 1,6" + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=1 + - title: 22VAC40-680-20(B)(1) Income limits + href: https://law.lis.virginia.gov/admincode/title22/agency40/chapter680/section20/ diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/eligibility/fpg_year_lag.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/eligibility/fpg_year_lag.yaml new file mode 100644 index 00000000000..40a0c498db6 --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/eligibility/fpg_year_lag.yaml @@ -0,0 +1,18 @@ +description: Virginia uses federal poverty guidelines from this many years before the modeled heating season for the income limit under the Energy Assistance Program. +# Verified for FFY2026: floor(150% x 2025 guideline / 12) reproduces all twenty +# published monthly limits ($1,956 to $15,018) and the $687 increment, and +# Virginia adopts each year's new limits in June (2025 guideline from June +# 2025, used for heating in FFY2026). This is a relative year selection, not a +# fixed guideline year. Earlier and later Virginia seasons are unverified. +values: + 2025-05-01: 1 + +metadata: + unit: year + period: year + label: Virginia EAP federal poverty guideline year lag + reference: + - title: Virginia Energy Assistance Manual, Volume IX, Chapter B.6.a Income Levels (05/25, Transmittal 25-1) + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=28 + - title: LIHEAP Clearinghouse Virginia FY2026 benefit matrix, income limits note ("Virginia begins to use the new income limits ... in June of each year") + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=1 diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/eligibility/heating_types.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/eligibility/heating_types.yaml new file mode 100644 index 00000000000..92af44ec915 --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/eligibility/heating_types.yaml @@ -0,0 +1,26 @@ +description: Virginia limits fuel assistance to households whose primary heating fuel is one of these types under the Energy Assistance Program. +# Manual B.5.c.1.a: "The primary fuel will be one of the following: +# electricity, oil, kerosene, natural gas, LP gas, wood, or coal." The +# application lists clear and dyed kerosene and liquid propane (LP) or bottled +# gas. SOLAR, OTHER and NONE are not eligible primary fuels. UNSPECIFIED is +# left out, so callers must send heating_type, including households whose heat +# is included in rent. +values: + 2011-06-01: + - ELECTRICITY + - NATURAL_GAS + - FUEL_OIL + - KEROSENE + - PROPANE + - WOOD + - COAL + +metadata: + unit: list + period: year + label: Virginia EAP eligible primary heating fuels + reference: + - title: Virginia Energy Assistance Manual, Volume IX, Chapter B.5.c.1.a Types of households + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=26 + - title: Virginia Fuel Assistance Application, question 12 primary heat fuel + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/403-errors/FUEL-ASSISTANCE-APPLICATION.pdf#page=2 diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/eligibility/max_table_size.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/eligibility/max_table_size.yaml new file mode 100644 index 00000000000..57e4627c43b --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/eligibility/max_table_size.yaml @@ -0,0 +1,13 @@ +description: Virginia sets income limits through this household size, with an increment for each additional member, under the Energy Assistance Program. +values: + 2025-05-01: 20 + +metadata: + unit: person + period: year + label: Virginia EAP maximum tabulated household size + reference: + - title: Virginia Energy Assistance Manual, Volume IX, Chapter B.6.a Income Levels (sizes 1 to 20; "for each extra member over 20, add $687") + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=28 + - title: Virginia EAP Information Sheet 032-03-0661-26 (05/25), maximum monthly income for household sizes 1 to 20 + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/032-03-00661-26_EAP_Information_Sheet_eng.pdf diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/income/child_earnings_age_limit.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/income/child_earnings_age_limit.yaml new file mode 100644 index 00000000000..bb3ea758064 --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/income/child_earnings_age_limit.yaml @@ -0,0 +1,16 @@ +description: Virginia exempts the earned income of household members younger than this age under the Energy Assistance Program. +# Exemption 20 applies to "dependent children under 18 years of age (in or out +# of school) living with a parent or guardian"; the model applies it to every +# member under 18. +values: + 2021-10-01: 18 + +metadata: + unit: year + period: year + label: Virginia EAP child earned income exemption age limit + reference: + - title: Virginia Energy Assistance Manual, Volume IX, Chapter B.6.b.20 Exempt Income + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=30 + - title: LIHEAP FY2026 Virginia Detailed Model Plan, Section 1.9 (earned income of a child under the age of 18 not counted) + href: https://liheapch.acf.gov/docs/2026/state-plans/VA_Plan_2026.pdf#page=6 diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/income/medical_disregard.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/income/medical_disregard.yaml new file mode 100644 index 00000000000..2e6daa82c2c --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/income/medical_disregard.yaml @@ -0,0 +1,12 @@ +description: Virginia deducts this monthly amount from household gross income for each elderly or disabled member under the Energy Assistance Program. +# One deduction per person, even when the member is both elderly and disabled. +values: + 2014-11-01: 50 + +metadata: + unit: currency-USD + period: month + label: Virginia EAP medical deduction per elderly or disabled member + reference: + - title: Virginia Energy Assistance Manual, Volume IX, Chapter B.6.c Income Disregard/Medical Deduction + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=31 diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/income/sources/earned.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/income/sources/earned.yaml new file mode 100644 index 00000000000..84cddf09fcd --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/income/sources/earned.yaml @@ -0,0 +1,29 @@ +description: Virginia counts these earned income sources under the Energy Assistance Program. +# Manual C.5.a.3: "Gross earned income or gross pay (not the 'take home' pay) +# regardless of deductions or garnisheed wages, withholding, or work expenses +# is the countable income" and "Profit from self-employment is the countable +# income." Contract income and commissions (plan Section 1.9) are reported as +# wages. The existing net self-employment, farm and pass-through inputs stand +# for profit without a further business-expense deduction, and each source is +# floored at zero in the formula so a business loss does not offset other +# income. C.5.a.4.b lists rental property among the self-employment profit +# determinations. Rental and farm rental income stay in the unearned list, +# which the formula also floors per person and source, so a rental loss does +# not offset other income either. +values: + 2025-05-01: + - employment_income + - self_employment_income + - sstb_self_employment_income + - farm_operations_income + - partnership_s_corp_income + +metadata: + unit: list + period: year + label: Virginia EAP countable earned income sources + reference: + - title: "Virginia Energy Assistance Manual, Volume IX, Chapter B.6 Income and Chapter C.5.a.3-4 Countable Income #page 28,38-40" + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=28 + - title: "LIHEAP FY2026 Virginia Detailed Model Plan, Sections 1.8-1.9 (gross income; wages, self-employment income, contract income and commissions counted) #page 5-6" + href: https://liheapch.acf.gov/docs/2026/state-plans/VA_Plan_2026.pdf#page=5 diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/income/sources/unearned.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/income/sources/unearned.yaml new file mode 100644 index 00000000000..a99dae3a392 --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/income/sources/unearned.yaml @@ -0,0 +1,58 @@ +description: Virginia counts these unearned income sources under the Energy Assistance Program. +# Manual C.5.a.3.c: "Gross unearned income (regardless of deductions such as +# recoupments) received by individuals is the countable income"; C.5.a.4.c: +# "Unearned income includes all other income received by the household that is +# not received in exchange for labor, services, or produce." Plan Section 1.9 +# checks unemployment insurance, strike pay, SSA benefits excluding the +# Medicare deduction, SSI, retirement and pensions, General Assistance, TANF, +# rental income, alimony, child support and VA benefits. The plan leaves +# interest, dividends and royalties unchecked, but the manual counts all gross +# unearned income and its 27 exemptions do not include them, so the manual +# controls and they count. The household's TANF is added, and exemption 15 +# Medicare premiums are deducted from gross income, in the +# va_eap_countable_income formula. +values: + 2025-05-01: + - total_unemployment_compensation + - strike_benefits + - social_security + - railroad_benefits + - ssi + # Manual B.5.a names "auxiliary grants to the aged, blind and disabled" as + # public assistance, and no exemption covers them. + - va_ag + - pension_income + # Military retirement pay and survivor benefit payments. + - military_retirement_income + - retirement_distributions + - survivor_benefits + - general_assistance + - rental_income + - farm_rent_income + - alimony_income + - child_support_received + # Manual C.5.a.4.c names "cash contributions" as unearned income, so + # recurring cash help from outside the household counts. + - financial_assistance + # Exemption 23 (VA Aid and Attendance) cannot be separated from other + # veterans' benefits and is counted. + - veterans_benefits + - interest_income + - ordinary_dividend_income + - workers_compensation + - disability_benefits + # Exemption 19 excludes only non-recurring one-time income such as a + # one-time gift, so financial_assistance should hold recurring + # contributions only. Loans, tax refunds, scholarships, SNAP, WIC, foster + # care payments, utility or rental allowances and the other exemptions are + # not counted. + +metadata: + unit: list + period: year + label: Virginia EAP countable unearned income sources + reference: + - title: "Virginia Energy Assistance Manual, Volume IX, Chapter B.5.a Public Assistance, Chapter B.6.b Exempt Income and Chapter C.5.a.3-4 Countable Income #page 25,28-31,38,40" + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=25 + - title: "LIHEAP FY2026 Virginia Detailed Model Plan, Section 1.9 (countable income sources) #page 5-6" + href: https://liheapch.acf.gov/docs/2026/state-plans/VA_Plan_2026.pdf#page=5 diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/points/climate_zone.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/points/climate_zone.yaml new file mode 100644 index 00000000000..cd70327179d --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/points/climate_zone.yaml @@ -0,0 +1,27 @@ +description: Virginia awards these benefit points by climate zone under the Energy Assistance Program. +CENTRAL_MOUNTAIN: + 2003-01-01: 20 +SOUTHWESTERN_MOUNTAIN: + 2003-01-01: 18 +NORTHERN: + 2003-01-01: 16 +WESTERN_PIEDMONT: + 2003-01-01: 13 +EASTERN_PIEDMONT: + 2003-01-01: 12 +TIDEWATER: + 2003-01-01: 8 + +metadata: + unit: /1 + period: year + breakdown: + - va_eap_climate_zone + label: Virginia EAP climate zone points + reference: + - title: LIHEAP Clearinghouse Virginia FY2026 benefit matrix, Appendix B (05/21, Transmittal 21-1), climate zones + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=6 + - title: Virginia Energy Assistance Manual, Volume IX, Chapter D, Appendix B (01/03, Transmittal 03-1), climate zones + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=65 + - title: 22VAC40-680-30 Benefits (six NOAA climate zones) + href: https://law.lis.virginia.gov/admincode/title22/agency40/chapter680/section30/ diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/points/energy_burden.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/points/energy_burden.yaml new file mode 100644 index 00000000000..24b9070a529 --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/points/energy_burden.yaml @@ -0,0 +1,27 @@ +description: Virginia awards this many benefit points for energy burden under the Energy Assistance Program. +# PLACEHOLDER: this value is a PolicyEngine placeholder set pending VDSS +# publication, not a published figure. The energy burden is the average fuel +# cost for the household's fuel type from the annual vendor survey divided by +# household income, scored 0-19% 0 points, 20-29% 5, 30-39% 8, 40-49% 10, +# 50-69% 13, 70-79% 18, 80-89% 20, 90-94% 24 and 95-100% 25. The average fuel +# costs and the income period are not published, so the 50%-69% band value of +# 13 points applies to every eligible household. Plan Section 2.5 reports that +# the published FFY2025 benefits ran from $181.26 (40 points) to $634.43 (140 +# points); with these placeholders the model ranges from $271.90 (60 points) +# to $557.39 (123 points). +values: + 2022-10-01: 13 + +metadata: + unit: /1 + period: year + label: Virginia EAP energy burden points placeholder + reference: + - title: LIHEAP Clearinghouse Virginia FY2026 benefit matrix, Appendix B (01/03, Transmittal 03-1), energy burden + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=7 + - title: Virginia Energy Assistance Manual, Volume IX, Chapter D, Appendix B (01/03, Transmittal 03-1), energy burden + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=66 + - title: LIHEAP FY2026 Virginia Detailed Model Plan, Section 2.5 (FFY2025 maximum benefit $634.43 and minimum benefit $181.26) + href: https://liheapch.acf.gov/docs/2026/state-plans/VA_Plan_2026.pdf#page=9 + - title: 22VAC40-680-10 Definitions ("Energy burden") + href: https://law.lis.virginia.gov/admincode/title22/agency40/chapter680/section10/ diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/points/household_size.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/points/household_size.yaml new file mode 100644 index 00000000000..f506e3c88fd --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/points/household_size.yaml @@ -0,0 +1,28 @@ +description: Virginia awards these benefit points by household size under the Energy Assistance Program. +# Appendix B: 1 to 2 persons 9 points, 3 to 5 persons 12, 6 or more 15. The +# size counts only citizens and qualified aliens. +brackets: + - threshold: + 2003-01-01: 1 + amount: + 2003-01-01: 9 + - threshold: + 2003-01-01: 3 + amount: + 2003-01-01: 12 + - threshold: + 2003-01-01: 6 + amount: + 2003-01-01: 15 + +metadata: + type: single_amount + threshold_unit: person + amount_unit: /1 + period: year + label: Virginia EAP household size points + reference: + - title: LIHEAP Clearinghouse Virginia FY2026 benefit matrix, Appendix B (05/21, Transmittal 21-1), household size + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=6 + - title: Virginia Energy Assistance Manual, Volume IX, Chapter D, Appendix B (01/03, Transmittal 03-1), household size + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=65 diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/points/income.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/points/income.yaml new file mode 100644 index 00000000000..134e07c599f --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/points/income.yaml @@ -0,0 +1,64 @@ +description: Virginia awards these benefit points by countable income as a whole percent of the maximum income level for the household size under the Energy Assistance Program. +# Appendix B: "Income as % of Max Level" 0 to 19 25 points, 20 to 29 20, 30 to +# 39 18, 40 to 49 15, 50 to 59 13, 60 to 69 10, 70 to 79 8, 80 to 89 5, 90 to +# 94 3, 95 to 100 1. The bands are whole percents, so thresholds are the band +# starts and the formula floors the percent before the default (lower +# inclusive) lookup; flooring is an inference, as the table gives no rule for +# fractions. The table has no row above 100 percent: only a household in which +# all members receive SSI can exceed the maximum, and it is given 0 points +# (inference). +brackets: + - threshold: + 2021-05-01: 0 + amount: + 2021-05-01: 25 + - threshold: + 2021-05-01: 20 + amount: + 2021-05-01: 20 + - threshold: + 2021-05-01: 30 + amount: + 2021-05-01: 18 + - threshold: + 2021-05-01: 40 + amount: + 2021-05-01: 15 + - threshold: + 2021-05-01: 50 + amount: + 2021-05-01: 13 + - threshold: + 2021-05-01: 60 + amount: + 2021-05-01: 10 + - threshold: + 2021-05-01: 70 + amount: + 2021-05-01: 8 + - threshold: + 2021-05-01: 80 + amount: + 2021-05-01: 5 + - threshold: + 2021-05-01: 90 + amount: + 2021-05-01: 3 + - threshold: + 2021-05-01: 95 + amount: + 2021-05-01: 1 + - threshold: + 2021-05-01: 101 + amount: + 2021-05-01: 0 + +metadata: + type: single_amount + threshold_unit: int + amount_unit: /1 + period: year + label: Virginia EAP income points + reference: + - title: LIHEAP Clearinghouse Virginia FY2026 benefit matrix, Appendix B (05/21, Transmittal 21-1), household income as a percent of the maximum level based on 150% of the Poverty Income Guidelines + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=6 diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/points/living_arrangement.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/points/living_arrangement.yaml new file mode 100644 index 00000000000..dd706044297 --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/points/living_arrangement.yaml @@ -0,0 +1,17 @@ +description: Virginia awards this many benefit points for the living arrangement of an eligible household under the Energy Assistance Program. +# Every eligible living arrangement code (A, C, E, G and P) has the same value, +# so every eligible household receives these points. +values: + 2003-01-01: 20 + +metadata: + unit: /1 + period: year + label: Virginia EAP living arrangement points + reference: + - title: LIHEAP Clearinghouse Virginia FY2026 benefit matrix, Appendix B (01/03, Transmittal 03-1), living arrangements + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=7 + - title: Virginia Energy Assistance Manual, Volume IX, Chapter D, Appendix B (01/03, Transmittal 03-1), living arrangements + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=66 + - title: Virginia Fuel Assistance Application, question 2 living arrangement codes + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/403-errors/FUEL-ASSISTANCE-APPLICATION.pdf#page=1 diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/points/primary_fuel.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/points/primary_fuel.yaml new file mode 100644 index 00000000000..6addd14ddb0 --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/points/primary_fuel.yaml @@ -0,0 +1,25 @@ +description: Virginia awards this many benefit points for the primary heating fuel under the Energy Assistance Program. +# PLACEHOLDER: this value is a PolicyEngine placeholder set pending VDSS +# publication, not a published figure. VDSS sets the primary fuel points each +# year from an annual vendor price survey and a Virginia Tech cost and +# consumption study: the highest-cost fuel receives 20 points and each other +# fuel receives points by its cost as a percentage of all fuel costs. The +# survey results and the resulting points are not published, so 10 points +# apply to every eligible household and fuel. Plan Section 2.5 reports that +# the published FFY2025 benefits ran from $181.26 (40 points) to $634.43 (140 +# points); with these placeholders the model ranges from $271.90 (60 points) +# to $557.39 (123 points). +values: + 2022-10-01: 10 + +metadata: + unit: /1 + period: year + label: Virginia EAP primary fuel points placeholder + reference: + - title: LIHEAP Clearinghouse Virginia FY2026 benefit matrix, Appendix B (01/03, Transmittal 03-1), primary fuel + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=7 + - title: Virginia Energy Assistance Manual, Volume IX, Chapter D, Appendix B (01/03, Transmittal 03-1), primary fuel + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=66 + - title: LIHEAP FY2026 Virginia Detailed Model Plan, Section 2.5 (FFY2025 maximum benefit $634.43 and minimum benefit $181.26) + href: https://liheapch.acf.gov/docs/2026/state-plans/VA_Plan_2026.pdf#page=9 diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/points/vulnerability/child.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/points/vulnerability/child.yaml new file mode 100644 index 00000000000..8c499683cb9 --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/points/vulnerability/child.yaml @@ -0,0 +1,15 @@ +description: Virginia awards this many vulnerability points for a household member who is a young child under the Energy Assistance Program. +# Vulnerability points are not cumulative: the household receives the value of +# the one condition present with the highest point value. +values: + 2003-01-01: 12 + +metadata: + unit: /1 + period: year + label: Virginia EAP young child vulnerability points + reference: + - title: LIHEAP Clearinghouse Virginia FY2026 benefit matrix, Appendix B (01/03, Transmittal 03-1), vulnerability "Child under 6" + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=7 + - title: Virginia Energy Assistance Manual, Volume IX, Chapter D, Appendix B (01/03, Transmittal 03-1), vulnerability + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=66 diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/points/vulnerability/child_age_limit.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/points/vulnerability/child_age_limit.yaml new file mode 100644 index 00000000000..de37e1d611e --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/points/vulnerability/child_age_limit.yaml @@ -0,0 +1,15 @@ +description: Virginia awards young child vulnerability points when a household member is younger than this age under the Energy Assistance Program. +values: + 2003-01-01: 6 + +metadata: + unit: year + period: year + label: Virginia EAP young child vulnerability age limit + reference: + - title: LIHEAP Clearinghouse Virginia FY2026 benefit matrix, Appendix B (01/03, Transmittal 03-1), vulnerability "Child under 6" + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=7 + - title: "Virginia Energy Assistance Manual, Volume IX, Chapter D.5 Benefit Determinations and Appendix B (child under 6) #page 52,66" + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=52 + - title: 22VAC40-680-10 Definitions ("Vulnerability factor", a child under the age of six) + href: https://law.lis.virginia.gov/admincode/title22/agency40/chapter680/section10/ diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/points/vulnerability/disabled.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/points/vulnerability/disabled.yaml new file mode 100644 index 00000000000..3d1cef05a63 --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/points/vulnerability/disabled.yaml @@ -0,0 +1,15 @@ +description: Virginia awards this many vulnerability points for a disabled household member under the Energy Assistance Program. +# Vulnerability points are not cumulative: the household receives the value of +# the one condition present with the highest point value. +values: + 2003-01-01: 15 + +metadata: + unit: /1 + period: year + label: Virginia EAP disabled vulnerability points + reference: + - title: LIHEAP Clearinghouse Virginia FY2026 benefit matrix, Appendix B (01/03, Transmittal 03-1), vulnerability "Disabled" + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=7 + - title: Virginia Energy Assistance Manual, Volume IX, Chapter D, Appendix B (01/03, Transmittal 03-1), vulnerability + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=66 diff --git a/policyengine_us/parameters/gov/states/va/dss/eap/points/vulnerability/elderly.yaml b/policyengine_us/parameters/gov/states/va/dss/eap/points/vulnerability/elderly.yaml new file mode 100644 index 00000000000..403f20b29b1 --- /dev/null +++ b/policyengine_us/parameters/gov/states/va/dss/eap/points/vulnerability/elderly.yaml @@ -0,0 +1,15 @@ +description: Virginia awards this many vulnerability points for a household member aged 60 or older under the Energy Assistance Program. +# Vulnerability points are not cumulative: the household receives the value of +# the one condition present with the highest point value. +values: + 2003-01-01: 20 + +metadata: + unit: /1 + period: year + label: Virginia EAP elderly vulnerability points + reference: + - title: LIHEAP Clearinghouse Virginia FY2026 benefit matrix, Appendix B (01/03, Transmittal 03-1), vulnerability "Elderly (60 and over)" + href: https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=7 + - title: Virginia Energy Assistance Manual, Volume IX, Chapter D, Appendix B (01/03, Transmittal 03-1), vulnerability + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=66 diff --git a/policyengine_us/programs.yaml b/policyengine_us/programs.yaml index 86c8759b02d..760eaddefa0 100644 --- a/policyengine_us/programs.yaml +++ b/policyengine_us/programs.yaml @@ -987,7 +987,7 @@ programs: category: Benefits agency: HHS status: partial - coverage: AR, AL, DC, GA, Riverside County, MA, FL, IL, IN, KS, KY, MD, MS, NC, NE, NJ, NY, OH, OK, OR, SD, RI, TX + coverage: AR, AL, AZ, DC, GA, Riverside County, MA, FL, IL, IA, IN, KS, KY, MD, MS, NC, NE, NJ, NY, OH, OK, OR, SD, RI, TX, VA state_implementations: - state: AL status: partial @@ -1154,6 +1154,14 @@ programs: variable: tx_ceap parameter_prefix: gov.states.tx.tdhca.ceap notes: Models the 150% FPG income limit, the alternative 60% SMI limit from the FY2024 state plan (applied through 2024), benefit amounts, and categorical eligibility through TANF enrollment, SNAP eligibility, and SSI receipt. Not modeled - net rather than gross gambling winnings, the Medicare premium deduction from counted Social Security, and the exclusion of means-tested veterans' pensions from counted income (10 TAC 6.4(c)) + - state: VA + status: partial + name: Virginia EAP + full_name: Virginia Energy Assistance Program + variable: va_eap + parameter_prefix: gov.states.va.dss.eap + verified_years: "2026" + notes: FFY2026 Fuel Assistance only, using the latest published (FFY2025) value per point and placeholder fuel-type and energy-burden points until VDSS publishes its survey. Crisis, cooling and weatherization assistance are out of scope. # --- SSA programs --- - id: ssi diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/integration.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/integration.yaml new file mode 100644 index 00000000000..471bf69fc85 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/integration.yaml @@ -0,0 +1,292 @@ +# Virginia EAP Fuel Assistance end-to-end integration tests. +# Sources: Complete EAP Manual, Volume IX (household and income B.5-B.7, +# medical deduction B.6.c, climate zones Appendix A, point values Appendix B); +# 22VAC40-680-30 (points x value per point); LIHEAP FY2026 Virginia plan item +# 2.5 (FFY2025 value per point $4.531665, used for period 2026). +# FFY2026 annual limits (monthly x 12): 23,472 (1) / 31,716 (2) / +# 39,972 (3) / 64,716 (6) / 72,972 (7). +# Points = household size + income + climate zone + vulnerability + 43 +# (living arrangement 20, primary fuel placeholder 10, energy burden +# placeholder 13). + +- name: Case 1, retiree in Fairfax County with natural gas heat receives 466.76. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 65 + social_security_retirement: 11_736 + ssi: 0 + spm_units: + spm_unit: + members: [head] + heating_type: NATURAL_GAS + gas_expense: 1_200 + households: + household: + members: [head] + state_code: VA + county: FAIRFAX_COUNTY_VA + output: + va_eap_household_size: 1 + va_eap_income_limit: 23_472 + # 11,736 - 600 elderly deduction. + va_eap_countable_income: 11_136 + va_eap_income_eligible: true + va_eap_eligible: true + va_eap_climate_zone: NORTHERN + # floor(100 x 11,136 / 23,472) = 47 -> 15. + va_eap_income_points: 15 + va_eap_vulnerability_points: 20 + # 9 + 15 + 16 + 20 + 43 = 103. + va_eap_points: 103 + # 103 x 4.531665 = 466.761495. + va_eap: 466.76 + +- name: Case 2, single parent in Norfolk with heat included in rent receives 376.13. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 28 + employment_income: 26_562 + child_support_received: 3_600 + child1: + age: 4 + child2: + age: 1 + spm_units: + spm_unit: + members: [head, child1, child2] + heating_type: ELECTRICITY + heat_expense_included_in_rent: true + tanf: 0 + households: + household: + members: [head, child1, child2] + state_code: VA + county: NORFOLK_CITY_VA + output: + va_eap_household_size: 3 + va_eap_income_limit: 39_972 + # Full-time minimum wage 12.77 x 2,080 = 26,562 plus child support 3,600. + va_eap_countable_income: 30_162 + va_eap_income_eligible: true + va_eap_eligible: true + va_eap_climate_zone: TIDEWATER + # floor(100 x 30,162 / 39,972) = 75 -> 8. + va_eap_income_points: 8 + va_eap_vulnerability_points: 12 + # 12 + 8 + 8 + 12 + 43 = 83. + va_eap_points: 83 + # 83 x 4.531665 = 376.128195. + va_eap: 376.13 + +- name: Case 3, family of seven in Chesterfield County receives 407.85. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 38 + employment_income: 52_000 + spouse: + age: 36 + child1: + age: 16 + employment_income: 4_000 + child2: + age: 12 + child3: + age: 9 + child4: + age: 6 + child5: + age: 2 + spm_units: + spm_unit: + members: [head, spouse, child1, child2, child3, child4, child5] + heating_type: ELECTRICITY + pre_subsidy_electricity_expense: 2_400 + tanf: 0 + households: + household: + members: [head, spouse, child1, child2, child3, child4, child5] + state_code: VA + county: CHESTERFIELD_COUNTY_VA + output: + va_eap_household_size: 7 + va_eap_income_limit: 72_972 + # The 16-year-old's 4,000 of wages is exempt. + va_eap_countable_income: 52_000 + va_eap_income_eligible: true + va_eap_eligible: true + va_eap_climate_zone: EASTERN_PIEDMONT + # floor(100 x 52,000 / 72,972) = 71 -> 8. + va_eap_income_points: 8 + va_eap_vulnerability_points: 12 + # 15 + 8 + 12 + 12 + 43 = 90. + va_eap_points: 90 + # 90 x 4.531665 = 407.84985. + va_eap: 407.85 + +- name: Case 4, subsidized disability recipient in Richmond paying an electric bill receives 394.25. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 50 + social_security_disability: 18_960 + ssi: 0 + spm_units: + spm_unit: + members: [head] + heating_type: ELECTRICITY + pre_subsidy_electricity_expense: 1_300 + receives_housing_assistance: true + households: + household: + members: [head] + state_code: VA + county: RICHMOND_CITY_VA + output: + va_eap_household_size: 1 + va_eap_income_limit: 23_472 + # 18,960 - 600 disability deduction. + va_eap_countable_income: 18_360 + va_eap_income_eligible: true + va_eap_eligible: true + va_eap_climate_zone: EASTERN_PIEDMONT + # floor(100 x 18,360 / 23,472) = 78 -> 8. + va_eap_income_points: 8 + va_eap_vulnerability_points: 15 + # 9 + 8 + 12 + 15 + 43 = 87. + va_eap_points: 87 + # 87 x 4.531665 = 394.254855. + va_eap: 394.25 + +- name: Case 5, working SSI recipient in Wise County above the limit receives 385.19. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 35 + employment_income: 24_000 + ssi: 438 + is_ssi_disabled: true + spm_units: + spm_unit: + members: [head] + heating_type: KEROSENE + fuel_oil_expense: 1_100 + households: + household: + members: [head] + state_code: VA + county: WISE_COUNTY_VA + output: + va_eap_household_size: 1 + va_eap_income_limit: 23_472 + # 24,000 + 438 SSI - 600 disability deduction. + va_eap_countable_income: 23_838 + # Over the limit, but every member receives SSI. + va_eap_income_eligible: true + va_eap_eligible: true + va_eap_climate_zone: SOUTHWESTERN_MOUNTAIN + # floor(100 x 23,838 / 23,472) = 101 -> 0. + va_eap_income_points: 0 + va_eap_vulnerability_points: 15 + # 9 + 0 + 18 + 15 + 43 = 85. + va_eap_points: 85 + # 85 x 4.531665 = 385.191525. + va_eap: 385.19 + +- name: Case 6, undocumented parent with two citizen children in Prince William County receives 398.79. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 34 + immigration_status: UNDOCUMENTED + employment_income: 25_000 + child1: + age: 7 + child2: + age: 3 + spm_units: + spm_unit: + members: [head, child1, child2] + heating_type: NATURAL_GAS + gas_expense: 1_000 + tanf: 0 + households: + household: + members: [head, child1, child2] + state_code: VA + county: PRINCE_WILLIAM_COUNTY_VA + output: + # The parent is left out of the size but the parent's wages count. + va_eap_household_size: 2 + va_eap_income_limit: 31_716 + va_eap_countable_income: 25_000 + va_eap_income_eligible: true + va_eap_eligible: true + va_eap_climate_zone: NORTHERN + # floor(100 x 25,000 / 31,716) = 78 -> 8. + va_eap_income_points: 8 + va_eap_vulnerability_points: 12 + # 9 + 8 + 16 + 12 + 43 = 88. + va_eap_points: 88 + # 88 x 4.531665 = 398.78652. + va_eap: 398.79 + +- name: Case 7, three-generation household in Augusta County with wood heat receives 557.39. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + grandparent: + age: 66 + social_security_retirement: 12_000 + ssi: 0 + head: + age: 40 + spouse: + age: 38 + child1: + age: 12 + child2: + age: 9 + child3: + age: 2 + spm_units: + spm_unit: + members: [grandparent, head, spouse, child1, child2, child3] + heating_type: WOOD + wood_expense: 800 + tanf: 0 + households: + household: + members: [grandparent, head, spouse, child1, child2, child3] + state_code: VA + county: AUGUSTA_COUNTY_VA + output: + va_eap_household_size: 6 + va_eap_income_limit: 64_716 + # 12,000 - 600 elderly deduction. + va_eap_countable_income: 11_400 + va_eap_income_eligible: true + va_eap_eligible: true + va_eap_climate_zone: CENTRAL_MOUNTAIN + # floor(100 x 11,400 / 64,716) = 17 -> 25. + va_eap_income_points: 25 + va_eap_vulnerability_points: 20 + # 15 + 25 + 20 + 20 + 43 = 123. + va_eap_points: 123 + # 123 x 4.531665 = 557.394795. + va_eap: 557.39 diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap.yaml new file mode 100644 index 00000000000..2a41db9d8af --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap.yaml @@ -0,0 +1,277 @@ +# Virginia EAP Fuel Assistance benefit: household points x the statewide value +# per point (22VAC40-680-30; Complete EAP Manual D.5). Period 2026 uses the +# latest published value, FFY2025 $4.531665 (FY2026 LIHEAP plan item 2.5). No +# minimum, maximum or bill cap. Points add 43 for every eligible household: +# living arrangement 20, primary fuel 10 (placeholder) and energy burden 13 +# (placeholder). End-to-end eligible households are in integration.yaml. +# Annual limits: FFY2026 size 1 23,472 and size 3 39,972; FFY2025 size 1 +# 22,584. + +- name: Case 1, unspecified heating type receives nothing. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 65 + social_security_retirement: 11_736 + ssi: 0 + spm_units: + spm_unit: + members: [head] + heating_type: UNSPECIFIED + gas_expense: 1_200 + households: + household: + members: [head] + state_code: VA + county: FAIRFAX_COUNTY_VA + output: + va_eap_income_eligible: true + va_eap_eligible: false + va_eap: 0 + +- name: Case 2, solar heat receives nothing. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 65 + social_security_retirement: 11_736 + ssi: 0 + spm_units: + spm_unit: + members: [head] + heating_type: SOLAR + pre_subsidy_electricity_expense: 900 + households: + household: + members: [head] + state_code: VA + county: FAIRFAX_COUNTY_VA + output: + va_eap_eligible: false + va_eap: 0 + +- name: Case 3, public housing tenant with heat included in rent receives nothing. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 65 + social_security_retirement: 11_736 + ssi: 0 + spm_units: + spm_unit: + members: [head] + heating_type: NATURAL_GAS + heat_expense_included_in_rent: true + households: + household: + members: [head] + state_code: VA + county: NORFOLK_CITY_VA + is_in_public_housing: true + output: + va_eap_eligible: false + va_eap: 0 + +- name: Case 4, family of three one dollar over the limit receives nothing. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 34 + employment_income: 39_973 + child1: + age: 9 + child2: + age: 4 + spm_units: + spm_unit: + members: [head, child1, child2] + heating_type: NATURAL_GAS + gas_expense: 1_100 + tanf: 0 + households: + household: + members: [head, child1, child2] + state_code: VA + county: HENRICO_COUNTY_VA + output: + va_eap_income_eligible: false + va_eap_eligible: false + va_eap: 0 + +- name: Case 5, FFY2025 period retiree in Henrico County with propane heat receives 439.57 (historical estimate). + period: 2025 + absolute_error_margin: 0.01 + input: + people: + head: + age: 67 + social_security_retirement: 13_200 + ssi: 0 + spm_units: + spm_unit: + members: [head] + heating_type: PROPANE + bottled_gas_expense: 1_500 + households: + household: + members: [head] + state_code: VA + county: HENRICO_COUNTY_VA + output: + # 2024 guideline: floor(15,060 x 1.5 / 12) = 1,882; x 12 = 22,584. + va_eap_income_limit: 22_584 + va_eap_countable_income: 12_600 + # floor(100 x 12,600 / 22,584) = 55 -> 13. + va_eap_income_points: 13 + # 9 + 13 + 12 + 20 + 43 = 97. + va_eap_points: 97 + # 97 x 4.531665 (FFY2025 value, in effect from 2024-10-01) = 439.571505. + va_eap: 439.57 + +- name: Case 6, household outside Virginia receives nothing. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 65 + social_security_retirement: 11_736 + ssi: 0 + spm_units: + spm_unit: + members: [head] + heating_type: NATURAL_GAS + gas_expense: 1_200 + households: + household: + members: [head] + state_code: MD + output: + va_eap: 0 + +- name: Case 7, a large self-employment loss does not inflate the benefit. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 45 + employment_income: 15_000 + self_employment_income: -60_000 + spm_units: + spm_unit: + members: [head] + heating_type: NATURAL_GAS + gas_expense: 900 + households: + household: + members: [head] + state_code: VA + county: HENRICO_COUNTY_VA + output: + # The loss is floored at zero, so countable income stays 15,000. + va_eap_countable_income: 15_000 + # floor(100 x 15,000 / 23,472) = 63 -> 10. + va_eap_income_points: 10 + # 9 + 10 + 12 + 0 + 43 = 74. + va_eap_points: 74 + # 74 x 4.531665 = 335.34321. + va_eap: 335.34 + +- name: Case 8, military retiree in Fairfax County with natural gas heat receives 344.41. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 55 + military_retirement_pay: 18_000 + ssi: 0 + spm_units: + spm_unit: + members: [head] + heating_type: NATURAL_GAS + gas_expense: 1_100 + households: + household: + members: [head] + state_code: VA + county: FAIRFAX_COUNTY_VA + output: + va_eap_countable_income: 18_000 + va_eap_eligible: true + # floor(100 x 18,000 / 23,472) = 76 -> 8. + va_eap_income_points: 8 + # 9 + 8 + 16 + 0 + 43 = 76. + va_eap_points: 76 + # 76 x 4.531665 = 344.40654. + va_eap: 344.41 + +- name: Case 9, a retiree's out-of-pocket Medicare Part B premium is deducted from Social Security. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 66 + social_security_retirement: 25_000 + # 2026 standard Part B premium 202.90 x 12 = 2,434.80. Income is above + # the Medicare Savings Program limits, so the enrollee pays it. + medicare_part_b_premium: 2_434.80 + ssi: 0 + spm_units: + spm_unit: + members: [head] + heating_type: NATURAL_GAS + gas_expense: 1_200 + households: + household: + members: [head] + state_code: VA + county: FAIRFAX_COUNTY_VA + output: + # Manual B.6.b.15: 25,000 - 2,434.80 - 600 elderly deduction = 21,965.20 + # <= 23,472. Counted gross, 25,000 - 600 = 24,400 > 23,472 and pays 0. + va_eap_countable_income: 21_965.20 + va_eap_income_eligible: true + va_eap_eligible: true + # floor(100 x 21,965.20 / 23,472) = floor(93.58) = 93 -> 3. + va_eap_income_points: 3 + # 9 + 3 + 16 + 20 + 43 = 91. + va_eap_points: 91 + # 91 x 4.531665 = 412.381515. + va_eap: 412.38 + +- name: Case 10, a rental loss does not offset wages. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 40 + employment_income: 30_000 + rental_income: -8_000 + spm_units: + spm_unit: + members: [head] + heating_type: NATURAL_GAS + gas_expense: 900 + households: + household: + members: [head] + state_code: VA + county: HENRICO_COUNTY_VA + output: + # 30,000 + max(-8,000, 0) = 30,000 > 23,472. Netting the loss would give + # 22,000 (93%, 3 income points, 67 points, 303.62). + va_eap_countable_income: 30_000 + va_eap_income_eligible: false + va_eap: 0 diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_climate_zone.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_climate_zone.yaml new file mode 100644 index 00000000000..1e7b866dbc7 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_climate_zone.yaml @@ -0,0 +1,162 @@ +# Virginia EAP climate zone from the household's locality (Complete EAP +# Manual Chapter D, Appendix A: 06/17 page 1 and 01/03 pages 2-3). Bedford +# City (now part of Bedford County) and Clifton Forge (now a town in +# Alleghany County) have no county value. Salem city (775) is listed under +# Central Mountain on the 01/03 page 1 but omitted from the 06/17 page 1; it +# is expected in Central Mountain, the latest page that lists it. + +- name: Case 1, Fairfax County is Northern. + period: 2026 + input: + state_code: VA + county: FAIRFAX_COUNTY_VA + output: + va_eap_climate_zone: NORTHERN + +- name: Case 2, Fairfax city and Alexandria city are Northern. + period: 2026 + input: + state_code: [VA, VA] + county: [FAIRFAX_CITY_VA, ALEXANDRIA_CITY_VA] + output: + va_eap_climate_zone: [NORTHERN, NORTHERN] + +- name: Case 3, Roanoke city and Roanoke County are both Central Mountain. + period: 2026 + input: + state_code: [VA, VA] + county: [ROANOKE_CITY_VA, ROANOKE_COUNTY_VA] + output: + va_eap_climate_zone: [CENTRAL_MOUNTAIN, CENTRAL_MOUNTAIN] + +- name: Case 4, Salem city is Central Mountain. + period: 2026 + input: + state_code: VA + county: SALEM_CITY_VA + output: + va_eap_climate_zone: CENTRAL_MOUNTAIN + +- name: Case 5, Wise County and Norton city are Southwestern Mountain. + period: 2026 + input: + state_code: [VA, VA] + county: [WISE_COUNTY_VA, NORTON_CITY_VA] + output: + va_eap_climate_zone: [SOUTHWESTERN_MOUNTAIN, SOUTHWESTERN_MOUNTAIN] + +- name: Case 6, Bedford County is Western Piedmont. + period: 2026 + input: + state_code: VA + county: BEDFORD_COUNTY_VA + output: + va_eap_climate_zone: WESTERN_PIEDMONT + +- name: Case 7, Franklin County is Western Piedmont while Franklin city is Tidewater. + period: 2026 + input: + state_code: [VA, VA] + county: [FRANKLIN_COUNTY_VA, FRANKLIN_CITY_VA] + output: + va_eap_climate_zone: [WESTERN_PIEDMONT, TIDEWATER] + +- name: Case 8, Richmond city is Eastern Piedmont while Richmond County is Tidewater. + period: 2026 + input: + state_code: [VA, VA] + county: [RICHMOND_CITY_VA, RICHMOND_COUNTY_VA] + output: + va_eap_climate_zone: [EASTERN_PIEDMONT, TIDEWATER] + +- name: Case 9, Virginia Beach city and Stafford County are Tidewater. + period: 2026 + input: + state_code: [VA, VA] + county: [VIRGINIA_BEACH_CITY_VA, STAFFORD_COUNTY_VA] + output: + va_eap_climate_zone: [TIDEWATER, TIDEWATER] + +- name: Case 10, all 133 Virginia counties and independent cities map to their Appendix A zone. + period: 2026 + input: + # Central Mountain 17; Southwestern Mountain 21; Northern 21; Western Piedmont 16; Eastern Piedmont 22; Tidewater 36. + state_code: + [VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, + VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, + VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, + VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, + VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, + VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, + VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA] + county: + [ALLEGHANY_COUNTY_VA, AUGUSTA_COUNTY_VA, BATH_COUNTY_VA, BOTETOURT_COUNTY_VA, + BUENA_VISTA_CITY_VA, COVINGTON_CITY_VA, CRAIG_COUNTY_VA, HARRISONBURG_CITY_VA, + HIGHLAND_COUNTY_VA, LEXINGTON_CITY_VA, ROANOKE_CITY_VA, ROANOKE_COUNTY_VA, + ROCKBRIDGE_COUNTY_VA, ROCKINGHAM_COUNTY_VA, SALEM_CITY_VA, STAUNTON_CITY_VA, + WAYNESBORO_CITY_VA, BLAND_COUNTY_VA, BRISTOL_CITY_VA, BUCHANAN_COUNTY_VA, + CARROLL_COUNTY_VA, DICKENSON_COUNTY_VA, FLOYD_COUNTY_VA, GALAX_CITY_VA, + GILES_COUNTY_VA, GRAYSON_COUNTY_VA, LEE_COUNTY_VA, MONTGOMERY_COUNTY_VA, + NORTON_CITY_VA, PULASKI_COUNTY_VA, RADFORD_CITY_VA, RUSSELL_COUNTY_VA, + SCOTT_COUNTY_VA, SMYTH_COUNTY_VA, TAZEWELL_COUNTY_VA, WASHINGTON_COUNTY_VA, + WISE_COUNTY_VA, WYTHE_COUNTY_VA, ALEXANDRIA_CITY_VA, ARLINGTON_COUNTY_VA, + CLARKE_COUNTY_VA, CULPEPER_COUNTY_VA, FAIRFAX_CITY_VA, FAIRFAX_COUNTY_VA, + FALLS_CHURCH_CITY_VA, FAUQUIER_COUNTY_VA, FREDERICK_COUNTY_VA, + GREENE_COUNTY_VA, LOUDOUN_COUNTY_VA, MADISON_COUNTY_VA, MANASSAS_CITY_VA, + MANASSAS_PARK_CITY_VA, ORANGE_COUNTY_VA, PAGE_COUNTY_VA, + PRINCE_WILLIAM_COUNTY_VA, RAPPAHANNOCK_COUNTY_VA, SHENANDOAH_COUNTY_VA, + WARREN_COUNTY_VA, WINCHESTER_CITY_VA, ALBEMARLE_COUNTY_VA, AMHERST_COUNTY_VA, + APPOMATTOX_COUNTY_VA, BEDFORD_COUNTY_VA, CAMPBELL_COUNTY_VA, + CHARLOTTESVILLE_CITY_VA, CHARLOTTE_COUNTY_VA, DANVILLE_CITY_VA, + FRANKLIN_COUNTY_VA, HALIFAX_COUNTY_VA, HENRY_COUNTY_VA, LYNCHBURG_CITY_VA, + MARTINSVILLE_CITY_VA, NELSON_COUNTY_VA, PATRICK_COUNTY_VA, + PITTSYLVANIA_COUNTY_VA, AMELIA_COUNTY_VA, BRUNSWICK_COUNTY_VA, + BUCKINGHAM_COUNTY_VA, CAROLINE_COUNTY_VA, CHESTERFIELD_COUNTY_VA, + COLONIAL_HEIGHTS_CITY_VA, CUMBERLAND_COUNTY_VA, DINWIDDIE_COUNTY_VA, + FLUVANNA_COUNTY_VA, FREDERICKSBURG_CITY_VA, GOOCHLAND_COUNTY_VA, + HANOVER_COUNTY_VA, HENRICO_COUNTY_VA, LOUISA_COUNTY_VA, LUNENBURG_COUNTY_VA, + MECKLENBURG_COUNTY_VA, NOTTOWAY_COUNTY_VA, PETERSBURG_CITY_VA, + POWHATAN_COUNTY_VA, PRINCE_EDWARD_COUNTY_VA, RICHMOND_CITY_VA, + SPOTSYLVANIA_COUNTY_VA, ACCOMACK_COUNTY_VA, CHARLES_CITY_COUNTY_VA, + CHESAPEAKE_CITY_VA, EMPORIA_CITY_VA, ESSEX_COUNTY_VA, FRANKLIN_CITY_VA, + GLOUCESTER_COUNTY_VA, GREENSVILLE_COUNTY_VA, HAMPTON_CITY_VA, HOPEWELL_CITY_VA, + ISLE_OF_WIGHT_COUNTY_VA, JAMES_CITY_COUNTY_VA, KING_AND_QUEEN_COUNTY_VA, + KING_GEORGE_COUNTY_VA, KING_WILLIAM_COUNTY_VA, LANCASTER_COUNTY_VA, + MATHEWS_COUNTY_VA, MIDDLESEX_COUNTY_VA, NEWPORT_NEWS_CITY_VA, + NEW_KENT_COUNTY_VA, NORFOLK_CITY_VA, NORTHAMPTON_COUNTY_VA, + NORTHUMBERLAND_COUNTY_VA, POQUOSON_CITY_VA, PORTSMOUTH_CITY_VA, + PRINCE_GEORGE_COUNTY_VA, RICHMOND_COUNTY_VA, SOUTHAMPTON_COUNTY_VA, + STAFFORD_COUNTY_VA, SUFFOLK_CITY_VA, SURRY_COUNTY_VA, SUSSEX_COUNTY_VA, + VIRGINIA_BEACH_CITY_VA, WESTMORELAND_COUNTY_VA, WILLIAMSBURG_CITY_VA, + YORK_COUNTY_VA] + output: + va_eap_climate_zone: + [CENTRAL_MOUNTAIN, CENTRAL_MOUNTAIN, CENTRAL_MOUNTAIN, CENTRAL_MOUNTAIN, + CENTRAL_MOUNTAIN, CENTRAL_MOUNTAIN, CENTRAL_MOUNTAIN, CENTRAL_MOUNTAIN, + CENTRAL_MOUNTAIN, CENTRAL_MOUNTAIN, CENTRAL_MOUNTAIN, CENTRAL_MOUNTAIN, + CENTRAL_MOUNTAIN, CENTRAL_MOUNTAIN, CENTRAL_MOUNTAIN, CENTRAL_MOUNTAIN, + CENTRAL_MOUNTAIN, SOUTHWESTERN_MOUNTAIN, SOUTHWESTERN_MOUNTAIN, + SOUTHWESTERN_MOUNTAIN, SOUTHWESTERN_MOUNTAIN, SOUTHWESTERN_MOUNTAIN, + SOUTHWESTERN_MOUNTAIN, SOUTHWESTERN_MOUNTAIN, SOUTHWESTERN_MOUNTAIN, + SOUTHWESTERN_MOUNTAIN, SOUTHWESTERN_MOUNTAIN, SOUTHWESTERN_MOUNTAIN, + SOUTHWESTERN_MOUNTAIN, SOUTHWESTERN_MOUNTAIN, SOUTHWESTERN_MOUNTAIN, + SOUTHWESTERN_MOUNTAIN, SOUTHWESTERN_MOUNTAIN, SOUTHWESTERN_MOUNTAIN, + SOUTHWESTERN_MOUNTAIN, SOUTHWESTERN_MOUNTAIN, SOUTHWESTERN_MOUNTAIN, + SOUTHWESTERN_MOUNTAIN, NORTHERN, NORTHERN, NORTHERN, NORTHERN, NORTHERN, + NORTHERN, NORTHERN, NORTHERN, NORTHERN, NORTHERN, NORTHERN, NORTHERN, NORTHERN, + NORTHERN, NORTHERN, NORTHERN, NORTHERN, NORTHERN, NORTHERN, NORTHERN, NORTHERN, + WESTERN_PIEDMONT, WESTERN_PIEDMONT, WESTERN_PIEDMONT, WESTERN_PIEDMONT, + WESTERN_PIEDMONT, WESTERN_PIEDMONT, WESTERN_PIEDMONT, WESTERN_PIEDMONT, + WESTERN_PIEDMONT, WESTERN_PIEDMONT, WESTERN_PIEDMONT, WESTERN_PIEDMONT, + WESTERN_PIEDMONT, WESTERN_PIEDMONT, WESTERN_PIEDMONT, WESTERN_PIEDMONT, + EASTERN_PIEDMONT, EASTERN_PIEDMONT, EASTERN_PIEDMONT, EASTERN_PIEDMONT, + EASTERN_PIEDMONT, EASTERN_PIEDMONT, EASTERN_PIEDMONT, EASTERN_PIEDMONT, + EASTERN_PIEDMONT, EASTERN_PIEDMONT, EASTERN_PIEDMONT, EASTERN_PIEDMONT, + EASTERN_PIEDMONT, EASTERN_PIEDMONT, EASTERN_PIEDMONT, EASTERN_PIEDMONT, + EASTERN_PIEDMONT, EASTERN_PIEDMONT, EASTERN_PIEDMONT, EASTERN_PIEDMONT, + EASTERN_PIEDMONT, EASTERN_PIEDMONT, TIDEWATER, TIDEWATER, TIDEWATER, TIDEWATER, + TIDEWATER, TIDEWATER, TIDEWATER, TIDEWATER, TIDEWATER, TIDEWATER, TIDEWATER, + TIDEWATER, TIDEWATER, TIDEWATER, TIDEWATER, TIDEWATER, TIDEWATER, TIDEWATER, + TIDEWATER, TIDEWATER, TIDEWATER, TIDEWATER, TIDEWATER, TIDEWATER, TIDEWATER, + TIDEWATER, TIDEWATER, TIDEWATER, TIDEWATER, TIDEWATER, TIDEWATER, TIDEWATER, + TIDEWATER, TIDEWATER, TIDEWATER, TIDEWATER] diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_countable_income.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_countable_income.yaml new file mode 100644 index 00000000000..82a0834c7da --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_countable_income.yaml @@ -0,0 +1,543 @@ +# Virginia EAP countable income: gross earned and unearned income of every +# member, including members left out of the household size (Complete EAP +# Manual B.6, B.7, C.5.a.3). Earned income of members under 18 is exempt +# (B.6.b item 20). Each self-employment source, rental income and farm rent +# income is floored at zero per person. Each member's out-of-pocket Medicare +# Part B premium is deducted from gross income (B.6.b item 15). $50 a month +# ($600 a year) is deducted once per member who is 60 or older or disabled +# (B.6.c), and the result is floored at zero. ssi and tanf are set where the +# model would otherwise compute a payment the household does not receive. + +- name: Case 1, full-time wages count in full. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 40 + employment_income: 30_000 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + va_eap_countable_income: 30_000 + +- name: Case 2, earnings of a 17-year-old are exempt while an 18-year-old's count. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 44 + employment_income: 28_000 + child1: + age: 18 + employment_income: 5_000 + child2: + age: 17 + employment_income: 6_000 + spm_units: + spm_unit: + members: [head, child1, child2] + tanf: 0 + households: + household: + members: [head, child1, child2] + state_code: VA + output: + # 28,000 + 5,000; the 17-year-old's 6,000 is exempt. + va_eap_countable_income: 33_000 + +- name: Case 3, a self-employment loss does not offset wages. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 45 + employment_income: 22_000 + self_employment_income: -4_000 + spouse: + age: 43 + self_employment_income: 6_000 + spm_units: + spm_unit: + members: [head, spouse] + households: + household: + members: [head, spouse] + state_code: VA + output: + # 22,000 + max(-4,000, 0) + 6,000 = 28,000. + va_eap_countable_income: 28_000 + +- name: Case 4, interest and dividends count as unearned income. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 55 + employment_income: 20_000 + taxable_interest_income: 300 + qualified_dividend_income: 450 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # The manual counts all gross unearned income; 20,000 + 300 + 450. + va_eap_countable_income: 20_750 + +- name: Case 5, retiree with Social Security and a pension receives one elderly deduction. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 72 + social_security_retirement: 15_600 + taxable_private_pension_income: 2_400 + ssi: 0 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # 15,600 + 2,400 - 600 = 17,400. + va_eap_countable_income: 17_400 + +- name: Case 6, member reported as disabled receives the deduction. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 45 + is_disabled: true + employment_income: 12_000 + ssi: 0 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # 12,000 - 600 = 11,400. + va_eap_countable_income: 11_400 + +- name: Case 7, Social Security disability counts as income and earns the deduction. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 52 + social_security_disability: 18_960 + ssi: 0 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # 18,960 - 600 = 18,360. + va_eap_countable_income: 18_360 + +- name: Case 8, SSI counts as income and SSI disability earns the deduction. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 40 + ssi: 11_928 + is_ssi_disabled: true + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # 994 x 12 = 11,928 SSI; 11,928 - 600 = 11,328. + va_eap_countable_income: 11_328 + +- name: Case 9, member who is both elderly and disabled receives one deduction. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 68 + is_disabled: true + social_security_retirement: 14_400 + ssi: 0 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # 14,400 - 600 = 13,800, not 14,400 - 1,200. + va_eap_countable_income: 13_800 + +- name: Case 10, elderly couple receives one deduction per member. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 70 + social_security_retirement: 18_000 + ssi: 0 + spouse: + age: 67 + social_security_retirement: 9_600 + ssi: 0 + spm_units: + spm_unit: + members: [head, spouse] + households: + household: + members: [head, spouse] + state_code: VA + output: + # 18,000 + 9,600 - 2 x 600 = 26,400. + va_eap_countable_income: 26_400 + +- name: Case 11, member aged 60 receives the deduction and a member aged 59 does not. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 60 + employment_income: 30_000 + spouse: + age: 59 + employment_income: 10_000 + spm_units: + spm_unit: + members: [head, spouse] + households: + household: + members: [head, spouse] + state_code: VA + output: + # 30,000 + 10,000 - 600 = 39,400. + va_eap_countable_income: 39_400 + +- name: Case 12, the deduction cannot push countable income below zero. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 75 + taxable_interest_income: 300 + ssi: 0 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # max(300 - 600, 0) = 0. + va_eap_countable_income: 0 + +- name: Case 13, income of an undocumented parent counts though the parent is not in the size. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 38 + immigration_status: UNDOCUMENTED + employment_income: 32_000 + spouse: + age: 35 + employment_income: 8_000 + child1: + age: 9 + child2: + age: 4 + spm_units: + spm_unit: + members: [head, spouse, child1, child2] + tanf: 0 + households: + household: + members: [head, spouse, child1, child2] + state_code: VA + output: + # 32,000 + 8,000 = 40,000 with a household size of 3. + va_eap_household_size: 3 + va_eap_countable_income: 40_000 + +- name: Case 14, child support received counts with wages. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 31 + employment_income: 18_000 + child_support_received: 4_800 + child1: + age: 6 + spm_units: + spm_unit: + members: [head, child1] + tanf: 0 + households: + household: + members: [head, child1] + state_code: VA + output: + # 18,000 + 4,800 = 22,800. + va_eap_countable_income: 22_800 + +- name: Case 15, household outside Virginia is not computed. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 40 + employment_income: 30_000 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: MD + output: + va_eap_countable_income: 0 + +- name: Case 16, recurring cash help from a relative outside the household counts. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 40 + employment_income: 20_000 + financial_assistance: 4_000 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # Manual C.5.a.4 counts contributions: 20,000 + 4,000 = 24,000. + va_eap_countable_income: 24_000 + +- name: Case 17, a fully disabled service-connected veteran receives the disability deduction. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 45 + veterans_benefits: 47_256 + is_fully_disabled_service_connected_veteran: true + is_disabled: false + ssi: 0 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # 2026 100 percent VA compensation for a veteran alone is about 3,938 a + # month (47,256 a year); the rating makes the member disabled: + # 47,256 - 600 = 46,656. + va_eap_countable_income: 46_656 + +- name: Case 18, military retired pay counts as unearned retirement income. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 55 + military_retirement_pay: 18_000 + ssi: 0 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # Retirement benefits are gross unearned income; no deduction under 60. + va_eap_countable_income: 18_000 + +- name: Case 19, a surviving spouse's military annuity and Social Security survivor benefits both count. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 62 + military_retirement_pay_survivors: 9_600 + social_security_survivors: 12_000 + ssi: 0 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # 9,600 + 12,000 - 600 elderly deduction = 21,000. + va_eap_countable_income: 21_000 + +- name: Case 20, a farm rent loss does not offset rental income or wages. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 50 + employment_income: 24_000 + rental_income: 4_800 + farm_rent_income: -2_500 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # Each rental source is floored per person: 24,000 + 4,800 + + # max(-2,500, 0) = 28,800. Netting the loss against the rental income or + # the unearned total would give 26,300. + va_eap_countable_income: 28_800 + +- name: Case 21, every income source not set in another case counts, including TANF and the Auxiliary Grant. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 45 + # Earned sources. + sstb_self_employment_income: 2_100 + farm_operations_income: 1_300 + partnership_s_corp_income: 1_700 + # Unearned sources. Unemployment compensation is reported, so + # total_unemployment_compensation passes it through. + unemployment_compensation: 3_100 + strike_benefits: 900 + railroad_benefits: 4_200 + # The Part B premium is deducted from household gross income; + # pinning it at 0 means no deduction applies here. + medicare_part_b_premium: 0 + retirement_distributions: 1_500 + survivor_benefits: 2_400 + general_assistance: 600 + rental_income: 3_600 + farm_rent_income: 1_100 + alimony_income: 2_700 + workers_compensation: 3_300 + disability_benefits: 2_900 + # va_ag is MONTH-defined: 100 a month, summed back over the year. + va_ag: 1_200 + child1: + age: 10 + spm_units: + spm_unit: + members: [head, child1] + tanf: 1_800 + households: + household: + members: [head, child1] + state_code: VA + output: + # Person-level: head, child1. + total_unemployment_compensation: [3_100, 0] + # Earned 2,100 + 1,300 + 1,700 = 5,100. Unearned 3,100 + 900 + 4,200 + + # 1,500 + 2,400 + 600 + 1,800 TANF + 3,600 + 1,100 + 2,700 + 3,300 + + # 2,900 + 1,200 = 29,300. No member is elderly or disabled (employer + # disability benefits are not a B.6.c disability), so 5,100 + 29,300 = + # 34,400. + va_eap_countable_income: 34_400 + +- name: Case 22, a retiree's Medicare Part B premium is deducted when the household has no Social Security. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 67 + taxable_private_pension_income: 24_000 + # 2026 standard Part B premium 202.90 x 12 = 2,434.80, paid by the + # member; the pension is above the Medicare Savings Program limits. + medicare_part_b_premium: 2_434.80 + ssi: 0 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # Exemption 15 covers a premium the member is responsible for, not only + # one withheld from Social Security: 24,000 - 2,434.80 - 600 elderly + # deduction = 20,965.20. + va_eap_countable_income: 20_965.20 + +- name: Case 23, a retiree's Medicare Part A premium is deducted along with Part B. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 67 + taxable_private_pension_income: 24_000 + # 30 to 39 quarters of coverage: the 2026 reduced Part A premium + # 311 x 12 = 3,732, paid by the member. + medicare_part_a_premium: 3_732 + medicare_part_b_premium: 2_434.80 + ssi: 0 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # Exemption 15 covers "Medicare Premiums": 24,000 - 3,732 - 2,434.80 - + # 600 elderly deduction = 17,233.20. + va_eap_countable_income: 17_233.20 diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_disabled.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_disabled.yaml new file mode 100644 index 00000000000..f3d46b975fb --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_disabled.yaml @@ -0,0 +1,189 @@ +# Virginia EAP disabled member: a person receiving Social Security +# disability, SSI as disabled, or otherwise disabled (Complete EAP Manual +# B.6.c). Modeled as is_disabled, positive social_security_disability, or SSI +# receipt (ssi > 0 or receives_ssi) together with is_ssi_disabled. + +- name: Case 1, person reported as disabled qualifies. + period: 2026 + input: + people: + head: + age: 45 + is_disabled: true + ssi: 0 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + va_eap_disabled: true + +- name: Case 2, Social Security disability recipient qualifies without the disability flag. + period: 2026 + input: + people: + head: + age: 52 + social_security_disability: 18_960 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + va_eap_disabled: true + +- name: Case 3, SSI recipient who is SSI-disabled qualifies. + period: 2026 + input: + people: + head: + age: 40 + ssi: 11_928 + is_ssi_disabled: true + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + va_eap_disabled: true + +- name: Case 4, reported SSI receipt with SSI disability qualifies when no SSI amount is supplied. + period: 2026 + input: + people: + head: + age: 40 + ssi: 0 + receives_ssi: true + is_ssi_disabled: true + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + va_eap_disabled: true + +- name: Case 5, aged SSI recipient who is not SSI-disabled does not qualify. + period: 2026 + input: + people: + head: + age: 70 + ssi: 11_928 + is_ssi_disabled: false + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + va_eap_disabled: false + +- name: Case 6, SSI disability status without SSI receipt does not qualify. + period: 2026 + input: + people: + head: + age: 48 + employment_income: 30_000 + ssi: 0 + receives_ssi: false + is_ssi_disabled: true + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + va_eap_disabled: false + +- name: Case 7, Social Security retirement alone is not disability. + period: 2026 + input: + people: + head: + age: 66 + social_security_retirement: 21_600 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + va_eap_disabled: false + +- name: Case 8, only the disabled spouse qualifies in a couple. + period: 2026 + input: + people: + head: + age: 47 + employment_income: 36_000 + spouse: + age: 45 + social_security_disability: 15_600 + spm_units: + spm_unit: + members: [head, spouse] + households: + household: + members: [head, spouse] + state_code: VA + output: + va_eap_disabled: [false, true] + +- name: Case 9, disabled person outside Virginia is not computed. + period: 2026 + input: + people: + head: + age: 45 + is_disabled: true + ssi: 0 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: MD + output: + va_eap_disabled: false + +- name: Case 10, a fully disabled service-connected veteran qualifies without the disability flag. + period: 2026 + input: + people: + head: + age: 55 + veterans_benefits: 23_800 + is_fully_disabled_service_connected_veteran: true + is_disabled: false + ssi: 0 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + va_eap_disabled: true diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_eligible.yaml new file mode 100644 index 00000000000..ffdf1ad3575 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_eligible.yaml @@ -0,0 +1,455 @@ +# Virginia EAP Fuel Assistance eligibility: at least one citizen or qualified +# alien, income eligible, a primary fuel of electricity, natural gas, oil, +# kerosene, LP gas (propane), wood or coal, and a heating expense paid +# directly or included in rent. Subsidized households whose heat is included +# in rent, and homeless persons, are ineligible; subsidized households that +# pay their own heating bill are eligible (Complete EAP Manual B.5.c, B.7, +# D.1.c). UNSPECIFIED, SOLAR, OTHER and NONE heating types are ineligible. +# Unless noted, the household is one adult with $20,000 of wages (under the +# $23,472 one-person limit). + +- name: Case 1, natural gas heat with a gas bill is eligible. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: NATURAL_GAS + gas_expense: 1_200 + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: true + +- name: Case 2, electric heat with an electric bill is eligible. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: ELECTRICITY + pre_subsidy_electricity_expense: 1_500 + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: true + +- name: Case 3, fuel oil heat with an oil bill is eligible. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: FUEL_OIL + fuel_oil_expense: 1_800 + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: true + +- name: Case 4, kerosene heat with a kerosene bill is eligible. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: KEROSENE + fuel_oil_expense: 1_000 + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: true + +- name: Case 5, propane heat with a bottled gas bill is eligible. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: PROPANE + bottled_gas_expense: 1_400 + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: true + +- name: Case 6, wood heat with a wood expense is eligible. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: WOOD + wood_expense: 600 + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: true + +- name: Case 7, coal heat with a coal expense is eligible. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: COAL + coal_expense: 700 + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: true + +- name: Case 8, unspecified heating type is ineligible even with a gas bill. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: UNSPECIFIED + gas_expense: 1_200 + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: false + +- name: Case 9, solar heat is not an eligible primary fuel. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: SOLAR + pre_subsidy_electricity_expense: 900 + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: false + +- name: Case 10, a home with no heating is ineligible. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: NONE + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: false + +- name: Case 11, other heating fuel is not an eligible primary fuel. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: OTHER + other_heating_fuel_expense: 500 + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: false + +- name: Case 12, natural gas heat with no bill and no heat in rent is ineligible. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: NATURAL_GAS + gas_expense: 0 + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: false + +- name: Case 13, unsubsidized renter with heat included in rent is eligible. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: NATURAL_GAS + heat_expense_included_in_rent: true + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: true + +- name: Case 14, heat included in rent with an unspecified fuel is ineligible. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: UNSPECIFIED + heat_expense_included_in_rent: true + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: false + +- name: Case 15, voucher household with heat included in rent is ineligible. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: NATURAL_GAS + heat_expense_included_in_rent: true + receives_housing_assistance: true + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: false + +- name: Case 16, public housing tenant with heat included in rent is ineligible. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: ELECTRICITY + heat_expense_included_in_rent: true + households: + household: + members: [head] + state_code: VA + is_in_public_housing: true + output: + va_eap_eligible: false + +- name: Case 17, subsidized household paying its own electric heating bill is eligible. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: ELECTRICITY + pre_subsidy_electricity_expense: 1_300 + receives_housing_assistance: true + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: true + +- name: Case 18, person living in a vehicle with a propane heater is homeless and ineligible. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: PROPANE + bottled_gas_expense: 300 + households: + household: + members: [head] + state_code: VA + is_homeless: true + output: + va_eap_eligible: false + +- name: Case 19, household with no citizen or qualified alien is ineligible. + period: 2026 + input: + people: + head: + age: 40 + immigration_status: UNDOCUMENTED + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: NATURAL_GAS + gas_expense: 1_200 + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: false + +- name: Case 20, wages over the one-person limit make the household ineligible. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 30_000 + spm_units: + spm_unit: + members: [head] + heating_type: NATURAL_GAS + gas_expense: 1_200 + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: false + +- name: Case 21, working SSI recipient over the limit is eligible through the all-SSI exception. + period: 2026 + input: + people: + head: + age: 35 + employment_income: 24_000 + ssi: 438 + is_ssi_disabled: true + spm_units: + spm_unit: + members: [head] + heating_type: KEROSENE + fuel_oil_expense: 1_100 + households: + household: + members: [head] + state_code: VA + output: + va_eap_eligible: true + +- name: Case 22, household outside Virginia is not computed. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + spm_units: + spm_unit: + members: [head] + heating_type: NATURAL_GAS + gas_expense: 1_200 + households: + household: + members: [head] + state_code: MD + output: + va_eap_eligible: false + +- name: Case 23, cash help from a relative pushes a one-person household over the limit. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 20_000 + financial_assistance: 4_000 + spm_units: + spm_unit: + members: [head] + heating_type: NATURAL_GAS + gas_expense: 1_200 + households: + household: + members: [head] + state_code: VA + output: + # 20,000 + 4,000 = 24,000 > 23,472. + va_eap_income_eligible: false + va_eap_eligible: false diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_household_size.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_household_size.yaml new file mode 100644 index 00000000000..5e538908828 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_household_size.yaml @@ -0,0 +1,129 @@ +# Virginia EAP household size: members who are U.S. citizens or qualified +# aliens. Other members are left out of the size, but their income still +# counts (Complete EAP Manual B.7; see va_eap_countable_income.yaml). + +- name: Case 1, single citizen counts as one. + period: 2026 + input: + people: + head: + age: 40 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + va_eap_household_size: 1 + +- name: Case 2, family of four citizens counts four. + period: 2026 + input: + people: + head: + age: 36 + spouse: + age: 34 + child1: + age: 9 + child2: + age: 4 + spm_units: + spm_unit: + members: [head, spouse, child1, child2] + households: + household: + members: [head, spouse, child1, child2] + state_code: VA + output: + va_eap_household_size: 4 + +- name: Case 3, undocumented parent is excluded while a permanent resident parent counts. + period: 2026 + input: + people: + head: + age: 38 + immigration_status: UNDOCUMENTED + employment_income: 32_000 + spouse: + age: 35 + immigration_status: LEGAL_PERMANENT_RESIDENT + child1: + age: 10 + child2: + age: 7 + child3: + age: 3 + spm_units: + spm_unit: + members: [head, spouse, child1, child2, child3] + households: + household: + members: [head, spouse, child1, child2, child3] + state_code: VA + output: + va_eap_household_size: 4 + +- name: Case 4, refugee counts while TPS and DACA holders are not qualified aliens. + period: 2026 + input: + people: + head: + age: 41 + immigration_status: REFUGEE + spouse: + age: 39 + immigration_status: TPS + child1: + age: 19 + immigration_status: DACA + child2: + age: 8 + spm_units: + spm_unit: + members: [head, spouse, child1, child2] + households: + household: + members: [head, spouse, child1, child2] + state_code: VA + output: + va_eap_household_size: 2 + +- name: Case 5, household with no citizen or qualified alien has size zero. + period: 2026 + input: + people: + head: + age: 33 + immigration_status: UNDOCUMENTED + spouse: + age: 31 + immigration_status: UNDOCUMENTED + spm_units: + spm_unit: + members: [head, spouse] + households: + household: + members: [head, spouse] + state_code: VA + output: + va_eap_household_size: 0 + +- name: Case 6, household outside Virginia is not computed. + period: 2026 + input: + people: + head: + age: 40 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: MD + output: + va_eap_household_size: 0 diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_income_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_income_eligible.yaml new file mode 100644 index 00000000000..2fa51d468df --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_income_eligible.yaml @@ -0,0 +1,201 @@ +# Virginia EAP income test: countable income at or below the maximum for the +# household size, except households in which all members are SSI recipients +# (Complete EAP Manual B.6.a, Transmittal 25-1). SSI receipt is ssi > 0 or +# receives_ssi. + +- name: Case 1, family of three exactly at the limit is income eligible. + period: 2026 + input: + people: + head: + age: 34 + employment_income: 39_972 + child1: + age: 9 + child2: + age: 4 + spm_units: + spm_unit: + members: [head, child1, child2] + tanf: 0 + households: + household: + members: [head, child1, child2] + state_code: VA + output: + # Size 3 limit 3,331 x 12 = 39,972; 39,972 <= 39,972. + va_eap_income_eligible: true + +- name: Case 2, family of three one dollar over the limit is not income eligible. + period: 2026 + input: + people: + head: + age: 34 + employment_income: 39_973 + child1: + age: 9 + child2: + age: 4 + spm_units: + spm_unit: + members: [head, child1, child2] + tanf: 0 + households: + household: + members: [head, child1, child2] + state_code: VA + output: + va_eap_income_eligible: false + +- name: Case 3, the elderly deduction brings a retiree under the one-person limit. + period: 2026 + input: + people: + head: + age: 66 + social_security_retirement: 23_700 + # No out-of-pocket Part B premium, so the elderly deduction alone + # decides; the model would otherwise charge 2,434.80 at this income. + medicare_part_b_premium: 0 + ssi: 0 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # 23,700 - 600 = 23,100 <= 23,472. + va_eap_income_eligible: true + +- name: Case 4, the same income without the deduction is over the one-person limit. + period: 2026 + input: + people: + head: + age: 59 + taxable_private_pension_income: 23_700 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # 23,700 > 23,472. + va_eap_income_eligible: false + +- name: Case 5, a working SSI recipient living alone is income eligible above the limit. + period: 2026 + input: + people: + head: + age: 35 + employment_income: 24_000 + ssi: 438 + is_ssi_disabled: true + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # SSI 994 - (2,000 - 20 - 65) / 2 = 36.50 a month = 438 a year. + # 24,000 + 438 - 600 = 23,838 > 23,472, but every member receives SSI. + va_eap_countable_income: 23_838 + va_eap_income_eligible: true + +- name: Case 6, reported SSI receipt also triggers the all-SSI exception. + period: 2026 + input: + people: + head: + age: 35 + employment_income: 25_000 + ssi: 0 + receives_ssi: true + is_ssi_disabled: true + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # 25,000 - 600 = 24,400 > 23,472, but the only member receives SSI. + va_eap_income_eligible: true + +- name: Case 7, a household with one SSI recipient and one earner is held to the limit. + period: 2026 + input: + people: + head: + age: 70 + ssi: 11_928 + is_ssi_disabled: false + adult_child: + age: 42 + employment_income: 30_000 + spm_units: + spm_unit: + members: [head, adult_child] + households: + household: + members: [head, adult_child] + state_code: VA + output: + # 11,928 + 30,000 - 600 = 41,328 > 31,716; not every member receives SSI. + va_eap_countable_income: 41_328 + va_eap_income_eligible: false + +- name: Case 8, household outside Virginia is not computed. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 10_000 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: MD + output: + va_eap_income_eligible: false + +- name: Case 9, a working disabled couple who both receive SSI is income eligible above the two-person limit. + period: 2026 + input: + people: + head: + age: 45 + employment_income: 17_000 + ssi: 701 + is_ssi_disabled: true + spouse: + age: 42 + employment_income: 17_000 + ssi: 701 + is_ssi_disabled: true + spm_units: + spm_unit: + members: [head, spouse] + households: + household: + members: [head, spouse] + state_code: VA + output: + # SSI with earnings below SGA: couple rate 1,491 x 12 = 17,892 minus + # (34,000 - 240 - 780) / 2 = 16,490 leaves 1,402, or 701 each. + # 34,000 + 1,402 - 2 x 600 (both disabled) = 34,202 > 31,716, but every + # member receives SSI. + va_eap_countable_income: 34_202 + va_eap_income_eligible: true diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_income_limit.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_income_limit.yaml new file mode 100644 index 00000000000..4d8ca850eb1 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_income_limit.yaml @@ -0,0 +1,89 @@ +# Virginia EAP maximum countable income: monthly limit = floor(150% of the +# prior-year HHS poverty guideline / 12) for sizes 1-20, plus a floored +# additional-person increment ($687 for FFY2026) for each member over 20, +# annualized x 12 (Complete EAP Manual B.6.a, Transmittal 25-1; EAP +# Information Sheet 032-03-0661-26). Published FFY2026 monthly limits: 1 +# $1,956; 2 $2,643; 3 $3,331; 4 $4,018; 5 $4,706; 8 $6,768; 20 $15,018. + +- name: Case 1, FFY2026 published limits annualized for sizes 1 to 22, and zero outside Virginia. + period: 2026 + absolute_error_margin: 0.01 + input: + state_code: [VA, VA, VA, VA, VA, VA, VA, VA, VA, MD] + va_eap_household_size: [1, 2, 3, 4, 5, 8, 20, 21, 22, 1] + output: + # Monthly 1,956 / 2,643 / 3,331 / 4,018 / 4,706 / 6,768 / 15,018; + # size 21 = 15,018 + 687 = 15,705; size 22 = 15,018 + 2 x 687 = 16,392. + va_eap_income_limit: [23_472, 31_716, 39_972, 48_216, 56_472, 81_216, 180_216, 188_460, 196_704, 0] + +- name: Case 2, household size of zero is clipped to the one-person limit. + period: 2026 + absolute_error_margin: 0.01 + input: + state_code: VA + va_eap_household_size: 0 + output: + # floor(15,650 x 1.5 / 12) = floor(1,956.25) = 1,956; x 12 = 23,472. + va_eap_income_limit: 23_472 + +- name: Case 3, limit follows the computed size of a mixed-status household. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + head: + age: 30 + immigration_status: UNDOCUMENTED + employment_income: 26_000 + child1: + age: 6 + child2: + age: 2 + spm_units: + spm_unit: + members: [head, child1, child2] + tanf: 0 + households: + household: + members: [head, child1, child2] + state_code: VA + output: + # Two qualified members: floor((15,650 + 5,500) x 1.5 / 12) = 2,643; + # x 12 = 31,716. + va_eap_household_size: 2 + va_eap_income_limit: 31_716 + +- name: Case 4, FFY2025 period uses the 2024 guideline (historical estimate, not checked against a FFY2025 table). + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: [VA, VA, VA, VA, VA, VA] + va_eap_household_size: [1, 2, 3, 4, 20, 21] + output: + # 2024 guideline 15,060 + 5,380 per person: monthly floor(x 1.5 / 12) = + # 1,882 / 2,555 / 3,227 / 3,900 / 14,660; size 21 adds + # floor(5,380 x 1.5 / 12) = 672 -> 15,332. + va_eap_income_limit: [22_584, 30_660, 38_724, 46_800, 175_920, 183_984] + +- name: Case 5, a poverty-guideline rate reform changes the derived limit. + period: 2026 + absolute_error_margin: 0.01 + input: + gov.states.va.dss.eap.eligibility.fpg_rate: 2 + state_code: VA + va_eap_household_size: 1 + output: + # floor(15,650 x 2 / 12) = floor(2,608.33) = 2,608; x 12 = 31,296. + va_eap_income_limit: 31_296 + +- name: Case 6, a guideline-year lag reform selects an earlier guideline. + period: 2026 + absolute_error_margin: 0.01 + input: + gov.states.va.dss.eap.eligibility.fpg_year_lag: 2 + state_code: VA + va_eap_household_size: 1 + output: + # 2024 guideline: floor(15,060 x 1.5 / 12) = floor(1,882.50) = 1,882; + # x 12 = 22,584. + va_eap_income_limit: 22_584 diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_income_points.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_income_points.yaml new file mode 100644 index 00000000000..40f1ab3f1bc --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_income_points.yaml @@ -0,0 +1,96 @@ +# Virginia EAP income points: countable income as a whole percent of the +# maximum income level for the household size (Complete EAP Manual Chapter D, +# Appendix B, 05/21 page: 0-19 25, 20-29 20, 30-39 18, 40-49 15, 50-59 13, +# 60-69 10, 70-79 8, 80-89 5, 90-94 3, 95-100 1). The percent is floored to a +# whole number (inference); only an all-SSI household can exceed 100 percent, +# and it scores 0 (inference). The band-edge cases use the size-21 limit of +# $188,460 (15,705 x 12) because every band start is then a whole-dollar +# income. + +- name: Case 1, each band start scores that band's points. + period: 2026 + input: + state_code: [VA, VA, VA, VA, VA, VA, VA, VA, VA, VA, VA] + va_eap_income_limit: [188_460, 188_460, 188_460, 188_460, 188_460, 188_460, 188_460, 188_460, 188_460, 188_460, 188_460] + # 0, 20, 30, 40, 50, 60, 70, 80, 90, 95 and 100 percent of 188,460. + va_eap_countable_income: [0, 37_692, 56_538, 75_384, 94_230, 113_076, 131_922, 150_768, 169_614, 179_037, 188_460] + output: + va_eap_income_points: [25, 20, 18, 15, 13, 10, 8, 5, 3, 1, 1] + +- name: Case 2, one dollar below each band start stays in the lower band. + period: 2026 + input: + state_code: [VA, VA, VA, VA, VA, VA, VA, VA, VA] + va_eap_income_limit: [188_460, 188_460, 188_460, 188_460, 188_460, 188_460, 188_460, 188_460, 188_460] + # 19.9995, 29.9995, ... 94.9995 percent floor to 19, 29, ... 94. + va_eap_countable_income: [37_691, 56_537, 75_383, 94_229, 113_075, 131_921, 150_767, 169_613, 179_036] + output: + va_eap_income_points: [25, 20, 18, 15, 13, 10, 8, 5, 3] + +- name: Case 3, one-person incomes at half the limit, at the limit and above it. + period: 2026 + input: + state_code: [VA, VA, VA, VA] + va_eap_income_limit: [23_472, 23_472, 23_472, 23_472] + va_eap_countable_income: [11_736, 23_472, 23_473, 23_838] + output: + # 50 percent -> 13; 100 percent -> 1; 100.004 percent floors to 100 -> 1; + # 101.56 percent (all-SSI household) -> 0. + va_eap_income_points: [13, 1, 1, 0] + +- name: Case 4, a zero income limit scores zero points. + period: 2026 + input: + state_code: VA + va_eap_income_limit: 0 + va_eap_countable_income: 0 + output: + va_eap_income_points: 0 + +- name: Case 5, retiree with half the limit in Social Security scores 15 after the elderly deduction. + period: 2026 + input: + people: + head: + age: 65 + social_security_retirement: 11_736 + ssi: 0 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # 11,736 - 600 = 11,136; floor(100 x 11,136 / 23,472) = floor(47.44) = 47 -> 15. + va_eap_income_points: 15 + +- name: Case 6, a working SSI recipient above the limit scores zero. + period: 2026 + input: + people: + head: + age: 35 + employment_income: 24_000 + ssi: 438 + is_ssi_disabled: true + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + # 24,000 + 438 - 600 = 23,838; floor(101.56) = 101 -> 0. + va_eap_income_points: 0 + +- name: Case 7, household outside Virginia is not computed. + period: 2026 + input: + state_code: MD + va_eap_income_limit: 23_472 + va_eap_countable_income: 4_000 + output: + va_eap_income_points: 0 diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_points.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_points.yaml new file mode 100644 index 00000000000..3840b6721c4 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_points.yaml @@ -0,0 +1,198 @@ +# Virginia EAP benefit points (Complete EAP Manual Chapter D, Appendix B): +# household size (1-2: 9, 3-5: 12, 6 or more: 15) + income points + climate +# zone (Central Mountain 20, Southwestern Mountain 18, Northern 16, Western +# Piedmont 13, Eastern Piedmont 12, Tidewater 8) + vulnerability points + +# living arrangement 20 + primary fuel 10 (placeholder) + energy burden 13 +# (placeholder, 50-69 percent band). The last three add 43 for every +# household. FFY2026 limits: size 1 23,472; 2 31,716; 3 39,972; 5 56,472; +# 6 64,716. + +- name: Case 1, retiree in Fairfax County scores 103 points. + period: 2026 + input: + people: + head: + age: 65 + social_security_retirement: 11_736 + ssi: 0 + spm_units: + spm_unit: + members: [head] + heating_type: NATURAL_GAS + gas_expense: 1_200 + households: + household: + members: [head] + state_code: VA + county: FAIRFAX_COUNTY_VA + output: + # Size 9 + income 15 (47 percent) + Northern 16 + elderly 20 + 43 = 103. + va_eap_points: 103 + +- name: Case 2, two-person household in Fairfax County scores 9 size points. + period: 2026 + input: + people: + head: + age: 35 + employment_income: 24_000 + spouse: + age: 33 + spm_units: + spm_unit: + members: [head, spouse] + heating_type: NATURAL_GAS + gas_expense: 1_100 + households: + household: + members: [head, spouse] + state_code: VA + county: FAIRFAX_COUNTY_VA + output: + # 24,000 / 31,716 = 75.67 percent -> 8. 9 + 8 + 16 + 0 + 43 = 76. + va_eap_points: 76 + +- name: Case 3, the same couple with a school-age child scores 12 size points. + period: 2026 + input: + people: + head: + age: 35 + employment_income: 24_000 + spouse: + age: 33 + child1: + age: 8 + spm_units: + spm_unit: + members: [head, spouse, child1] + heating_type: NATURAL_GAS + gas_expense: 1_100 + tanf: 0 + households: + household: + members: [head, spouse, child1] + state_code: VA + county: FAIRFAX_COUNTY_VA + output: + # 24,000 / 39,972 = 60.04 percent -> 10. 12 + 10 + 16 + 0 + 43 = 81. + va_eap_points: 81 + +- name: Case 4, five-person household in Chesterfield County scores 12 size points. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 45_000 + spouse: + age: 38 + child1: + age: 14 + child2: + age: 11 + child3: + age: 8 + spm_units: + spm_unit: + members: [head, spouse, child1, child2, child3] + heating_type: ELECTRICITY + pre_subsidy_electricity_expense: 2_000 + tanf: 0 + households: + household: + members: [head, spouse, child1, child2, child3] + state_code: VA + county: CHESTERFIELD_COUNTY_VA + output: + # 45,000 / 56,472 = 79.69 percent -> 8. 12 + 8 + 12 + 0 + 43 = 75. + va_eap_points: 75 + +- name: Case 5, six-person household in Chesterfield County scores 15 size points. + period: 2026 + input: + people: + head: + age: 40 + employment_income: 45_000 + spouse: + age: 38 + child1: + age: 14 + child2: + age: 11 + child3: + age: 8 + child4: + age: 7 + spm_units: + spm_unit: + members: [head, spouse, child1, child2, child3, child4] + heating_type: ELECTRICITY + pre_subsidy_electricity_expense: 2_000 + tanf: 0 + households: + household: + members: [head, spouse, child1, child2, child3, child4] + state_code: VA + county: CHESTERFIELD_COUNTY_VA + output: + # 45,000 / 64,716 = 69.53 percent -> 10. 15 + 10 + 12 + 0 + 43 = 80. + va_eap_points: 80 + +- name: Case 6, a working SSI recipient in Wise County scores no income points. + period: 2026 + input: + people: + head: + age: 35 + employment_income: 24_000 + ssi: 438 + is_ssi_disabled: true + spm_units: + spm_unit: + members: [head] + heating_type: KEROSENE + fuel_oil_expense: 1_100 + households: + household: + members: [head] + state_code: VA + county: WISE_COUNTY_VA + output: + # 23,838 / 23,472 = 101.56 percent -> 0. 9 + 0 + 18 + 15 + 43 = 85. + va_eap_points: 85 + +- name: Case 7, three-generation household in Augusta County reaches 123 points. + period: 2026 + input: + people: + grandparent: + age: 66 + social_security_retirement: 12_000 + ssi: 0 + head: + age: 40 + spouse: + age: 38 + child1: + age: 12 + child2: + age: 9 + child3: + age: 2 + spm_units: + spm_unit: + members: [grandparent, head, spouse, child1, child2, child3] + heating_type: WOOD + wood_expense: 800 + tanf: 0 + households: + household: + members: [grandparent, head, spouse, child1, child2, child3] + state_code: VA + county: AUGUSTA_COUNTY_VA + output: + # 12,000 - 600 = 11,400; 11,400 / 64,716 = 17.62 percent -> 25. + # 15 + 25 + Central Mountain 20 + elderly 20 + 43 = 123. + va_eap_points: 123 diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_vulnerability_points.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_vulnerability_points.yaml new file mode 100644 index 00000000000..989f025cd75 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/va/dss/eap/va_eap_vulnerability_points.yaml @@ -0,0 +1,234 @@ +# Virginia EAP vulnerability points: elderly (60 or older) 20, disabled 15, +# child under 6 12; not cumulative, the household receives the single highest +# condition present (Complete EAP Manual Chapter D, Appendix B, page 2). + +- name: Case 1, single person aged 65 scores 20. + period: 2026 + input: + people: + head: + age: 65 + ssi: 0 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + va_eap_vulnerability_points: 20 + +- name: Case 2, single person aged exactly 60 scores 20. + period: 2026 + input: + people: + head: + age: 60 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + va_eap_vulnerability_points: 20 + +- name: Case 3, single person aged 59 scores 0. + period: 2026 + input: + people: + head: + age: 59 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + va_eap_vulnerability_points: 0 + +- name: Case 4, elderly grandparent outranks a disabled parent and a young child. + period: 2026 + input: + people: + grandparent: + age: 63 + head: + age: 34 + is_disabled: true + ssi: 0 + child1: + age: 4 + spm_units: + spm_unit: + members: [grandparent, head, child1] + tanf: 0 + households: + household: + members: [grandparent, head, child1] + state_code: VA + output: + # max(20, 15, 12) = 20, not 47. + va_eap_vulnerability_points: 20 + +- name: Case 5, disabled parent outranks a child under 6. + period: 2026 + input: + people: + head: + age: 30 + is_disabled: true + ssi: 0 + child1: + age: 3 + spm_units: + spm_unit: + members: [head, child1] + tanf: 0 + households: + household: + members: [head, child1] + state_code: VA + output: + va_eap_vulnerability_points: 15 + +- name: Case 6, a five-year-old child scores 12. + period: 2026 + input: + people: + head: + age: 31 + spouse: + age: 29 + child1: + age: 5 + spm_units: + spm_unit: + members: [head, spouse, child1] + households: + household: + members: [head, spouse, child1] + state_code: VA + output: + va_eap_vulnerability_points: 12 + +- name: Case 7, a six-year-old child scores 0. + period: 2026 + input: + people: + head: + age: 31 + spouse: + age: 29 + child1: + age: 6 + spm_units: + spm_unit: + members: [head, spouse, child1] + households: + household: + members: [head, spouse, child1] + state_code: VA + output: + va_eap_vulnerability_points: 0 + +- name: Case 8, Social Security disability recipient scores 15. + period: 2026 + input: + people: + head: + age: 50 + social_security_disability: 18_960 + ssi: 0 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + va_eap_vulnerability_points: 15 + +- name: Case 9, a person who is both elderly and disabled scores 20, not 35. + period: 2026 + input: + people: + head: + age: 70 + is_disabled: true + ssi: 0 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: VA + output: + va_eap_vulnerability_points: 20 + +- name: Case 10, an infant scores 12. + period: 2026 + input: + people: + head: + age: 28 + spouse: + age: 27 + child1: + age: 0 + spm_units: + spm_unit: + members: [head, spouse, child1] + households: + household: + members: [head, spouse, child1] + state_code: VA + output: + va_eap_vulnerability_points: 12 + +- name: Case 11, a child receiving SSI as disabled outranks a younger sibling. + period: 2026 + input: + people: + head: + age: 36 + employment_income: 34_000 + spouse: + age: 34 + child1: + age: 8 + ssi: 11_928 + is_ssi_disabled: true + child2: + age: 3 + spm_units: + spm_unit: + members: [head, spouse, child1, child2] + households: + household: + members: [head, spouse, child1, child2] + state_code: VA + output: + va_eap_vulnerability_points: 15 + +- name: Case 12, household outside Virginia is not computed. + period: 2026 + input: + people: + head: + age: 65 + spm_units: + spm_unit: + members: [head] + households: + household: + members: [head] + state_code: MD + output: + va_eap_vulnerability_points: 0 diff --git a/policyengine_us/variables/gov/states/va/dss/eap/va_eap.py b/policyengine_us/variables/gov/states/va/dss/eap/va_eap.py new file mode 100644 index 00000000000..ba90f77e51a --- /dev/null +++ b/policyengine_us/variables/gov/states/va/dss/eap/va_eap.py @@ -0,0 +1,37 @@ +from policyengine_us.model_api import * + + +class va_eap(Variable): + value_type = float + entity = SPMUnit + definition_period = YEAR + unit = USD + label = "Virginia EAP fuel assistance" + documentation = ( + "Annual Virginia Energy Assistance Program fuel assistance (regular " + "heating) benefit: the household's benefit points times the statewide " + "value per point. For period 2026 (FFY2026) the value per point is the " + "latest published value, $4.531665 for FFY2025, because VDSS reports " + "each season's value only after the December calculation. The primary " + "fuel and energy burden points are PolicyEngine placeholders (10 and " + "13 points). No minimum, maximum or cap at heating charges is applied; " + "the March 31 vendor-payment limit is not modeled. Eligibility and the " + "published point tables are verified for FFY2026; earlier years use " + "parameter backfilling and are unverified historical estimates. Crisis, " + "cooling, weatherization and equipment assistance are excluded." + ) + reference = ( + "https://law.lis.virginia.gov/admincode/title22/agency40/chapter680/section30/", + "https://liheapch.acf.gov/docs/2026/state-plans/VA_Plan_2026.pdf#page=9", + # PDF pages 52-53 + "https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=52", + # PDF pages 6-7 + "https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=6", + ) + defined_for = "va_eap_eligible" + + def formula(spm_unit, period, parameters): + p = parameters(period).gov.states.va.dss.eap.benefit + # 22VAC40-680-30(4): "The household's benefit amount will be calculated + # by multiplying the household's point total by the value per point." + return spm_unit("va_eap_points", period) * p.value_per_point diff --git a/policyengine_us/variables/gov/states/va/dss/eap/va_eap_climate_zone.py b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_climate_zone.py new file mode 100644 index 00000000000..05b9a5e4365 --- /dev/null +++ b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_climate_zone.py @@ -0,0 +1,51 @@ +from policyengine_us.model_api import * + + +class VAEAPClimateZone(Enum): + CENTRAL_MOUNTAIN = "Central Mountain" + SOUTHWESTERN_MOUNTAIN = "Southwestern Mountain" + NORTHERN = "Northern" + WESTERN_PIEDMONT = "Western Piedmont" + EASTERN_PIEDMONT = "Eastern Piedmont" + TIDEWATER = "Tidewater" + + +class va_eap_climate_zone(Variable): + value_type = Enum + entity = SPMUnit + possible_values = VAEAPClimateZone + default_value = VAEAPClimateZone.TIDEWATER + definition_period = YEAR + label = "Virginia EAP climate zone" + documentation = "Climate zone of the household's county or independent city under Appendix A. All 133 Virginia localities are assigned; a household without a recognized Virginia county takes the Tidewater default." + reference = ( + # PDF pages 3-5 + "https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=3", + # PDF pages 62-64 + "https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=62", + "https://law.lis.virginia.gov/admincode/title22/agency40/chapter680/section30/", + ) + defined_for = StateCode.VA + + def formula(spm_unit, period, parameters): + p = parameters(period).gov.states.va.dss.eap.climate_zone + county = spm_unit.household("county_str", period) + return select( + [ + np.isin(county, p.central_mountain), + np.isin(county, p.southwestern_mountain), + np.isin(county, p.northern), + np.isin(county, p.western_piedmont), + np.isin(county, p.eastern_piedmont), + np.isin(county, p.tidewater), + ], + [ + VAEAPClimateZone.CENTRAL_MOUNTAIN, + VAEAPClimateZone.SOUTHWESTERN_MOUNTAIN, + VAEAPClimateZone.NORTHERN, + VAEAPClimateZone.WESTERN_PIEDMONT, + VAEAPClimateZone.EASTERN_PIEDMONT, + VAEAPClimateZone.TIDEWATER, + ], + default=VAEAPClimateZone.TIDEWATER, + ) diff --git a/policyengine_us/variables/gov/states/va/dss/eap/va_eap_countable_income.py b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_countable_income.py new file mode 100644 index 00000000000..f900cc66e36 --- /dev/null +++ b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_countable_income.py @@ -0,0 +1,77 @@ +from policyengine_us.model_api import * + + +class va_eap_countable_income(Variable): + value_type = float + entity = SPMUnit + definition_period = YEAR + unit = USD + label = "Virginia EAP countable income" + documentation = ( + "Annual gross earned and unearned income of all household members, including " + "members who are not citizens or qualified aliens, less $50 a month for each " + "elderly or disabled member and less each member's out-of-pocket Medicare Part " + "A and Part B premiums. Manual exemption 15 (Complete_Manual.pdf#page=30) exempts " + "'Medicare Premiums when deducted from Social Security or Railroad Retirement " + "checks or when the household member is responsible for payment of the " + "premium' and has them deducted from gross income; Part D has no premium " + "variable and is not deducted. Earned income of members under 18 is exempt. " + "Each earned and unearned source is floored at zero, so a business or rental " + "loss does not offset other income. Annual amounts stand for twelve times the " + "prior month's income; the weekly and biweekly conversions, per-member " + "rounding, roomer and boarder profit rules and the other exemptions without an " + "input are not modeled." + ) + reference = ( + # PDF pages 28-31, 37-41, 52 + "https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=28", + # PDF pages 5-6 + "https://liheapch.acf.gov/docs/2026/state-plans/VA_Plan_2026.pdf#page=5", + ) + defined_for = StateCode.VA + + def formula(spm_unit, period, parameters): + p = parameters(period).gov.states.va.dss.eap + person = spm_unit.members + age = person("age", period) + # Manual C.5.a.3: gross earnings and self-employment profit count. + earned = 0 + for source in p.income.sources.earned: + earned = earned + max_(person(source, period), 0) + # Exemption 20: "Earned income (regardless of amount) of dependent + # children under 18 years of age". + adult_earned = where(age >= p.income.child_earnings_age_limit, earned, 0) + # C.5.a.3 counts income received and C.5.a.4.b lists rental property + # among the self-employment profit determinations, so each unearned + # source is floored like the earned sources: a rental loss does not + # offset other income. + unearned = 0 + for source in p.income.sources.unearned: + # ADD sums the MONTH-defined ssi and va_ag over the year. + unearned = unearned + max_(person(source, period, options=[ADD]), 0) + # TANF the household receives: the take-up-gated aggregate, which + # includes va_tanf. + tanf = spm_unit("tanf", period) + gross_income = spm_unit.sum(adult_earned + unearned) + tanf + # Manual B.6.b exemption 15 (Complete_Manual.pdf#page=30): "Medicare + # Premiums when deducted from Social Security or Railroad Retirement + # checks or when the household member is responsible for payment of + # the premium. NOTE: This is not an automatic exemption and therefore + # must be manually deducted from gross income." Plan Section 1.9 counts + # SSA benefits "Excluding MediCare deduction". The Part A and Part B + # premium variables are each member's out-of-pocket premiums, zero + # when a Medicare Savings Program pays them or (for Part A) when Part A + # is premium-free; no Part D premium variable exists. + medicare_premiums = add( + spm_unit, + period, + ["medicare_part_a_premium", "medicare_part_b_premium"], + ) + # Manual B.6.c: "$50.00 per elderly or disabled individual is deducted + # from the total gross income of the household ... If an individual is + # both aged and disabled, only one $50 deduction will be given". + disregard_members = spm_unit.sum( + (age >= p.age.elderly) | person("va_eap_disabled", period) + ) + disregard = disregard_members * p.income.medical_disregard * MONTHS_IN_YEAR + return max_(gross_income - medicare_premiums - disregard, 0) diff --git a/policyengine_us/variables/gov/states/va/dss/eap/va_eap_disabled.py b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_disabled.py new file mode 100644 index 00000000000..ef73f67ba24 --- /dev/null +++ b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_disabled.py @@ -0,0 +1,34 @@ +from policyengine_us.model_api import * + + +class va_eap_disabled(Variable): + value_type = bool + entity = Person + definition_period = YEAR + label = "Disabled under Virginia EAP" + documentation = "Person with a disability, a Social Security disability benefit, SSI received on the basis of disability, or a 100% service-connected Veterans Administration disability. Railroad Retirement disability and Medicaid certification of permanent and total disability are covered only through is_disabled." + reference = ( + # PDF pages 31, 52 + "https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=31", + "https://law.lis.virginia.gov/admincode/title22/agency40/chapter680/section10/", + ) + defined_for = StateCode.VA + + def formula(person, period, parameters): + # Manual B.6.c: "A disabled individual is a person who is receiving + # Social Security disability, Railroad Retirement disability, + # Supplemental Security Income as disabled, 100% Veterans + # Administration disability benefits, or who has been certified as + # permanently and totally disabled for Medicaid purposes." + social_security_disability = person("social_security_disability", period) > 0 + receives_ssi = (person("ssi", period) > 0) | person("receives_ssi", period) + ssi_disabled = receives_ssi & person("is_ssi_disabled", period) + full_va_disability = person( + "is_fully_disabled_service_connected_veteran", period + ) + return ( + person("is_disabled", period) + | social_security_disability + | ssi_disabled + | full_va_disability + ) diff --git a/policyengine_us/variables/gov/states/va/dss/eap/va_eap_eligible.py b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_eligible.py new file mode 100644 index 00000000000..dc8341a533d --- /dev/null +++ b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_eligible.py @@ -0,0 +1,61 @@ +from policyengine_us.model_api import * + + +class va_eap_eligible(Variable): + value_type = bool + entity = SPMUnit + definition_period = YEAR + label = "Eligible for Virginia EAP fuel assistance" + documentation = ( + "Virginia household with at least one citizen or qualified alien member " + "that is income eligible, heats with electricity, natural gas, oil, " + "kerosene, propane, wood or coal, and pays for heat directly or through " + "rent. Subsidized households whose heat is included in rent and homeless " + "households are ineligible. heating_type is a required input: an " + "unspecified fuel is ineligible, including when heat is included in " + "rent. Licensed facilities, group homes, one-room occupants and the " + "excess-usage-only subsidized arrangement have no inputs and are not " + "modeled. There is no asset test." + ) + reference = ( + # PDF pages 25-27, 31, 50 + "https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=25", + "https://liheapch.acf.gov/docs/2026/state-plans/VA_Plan_2026.pdf#page=8", + "https://law.lis.virginia.gov/admincode/title22/agency40/chapter680/section20/", + # PDF pages 1-2 + "https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/403-errors/FUEL-ASSISTANCE-APPLICATION.pdf#page=1", + ) + defined_for = StateCode.VA + + def formula(spm_unit, period, parameters): + p = parameters(period).gov.states.va.dss.eap.eligibility + # Manual B.7: household members must be citizens or qualified aliens. + has_eligible_member = spm_unit("va_eap_household_size", period) > 0 + income_eligible = spm_unit("va_eap_income_eligible", period) + # Manual B.5.c.1.a: "The primary fuel will be one of the following: + # electricity, oil, kerosene, natural gas, LP gas, wood, or coal." + heating_type = spm_unit("heating_type", period) + eligible_fuel = np.isin(heating_type.decode_to_str(), p.heating_types) + # Manual D.1.c: a heating expense is incurred directly (billed) or + # indirectly, "such as: an undesignated portion of the rent"; B.5.c.1.b + # admits households whose total heating expenses are included in their + # rent, "except for those in subsidized housing". + heat_in_rent = spm_unit("heat_expense_included_in_rent", period) + pays_for_heat = spm_unit("has_heating_expense", period) | heat_in_rent + # Manual B.5.c.2.a: "Subsidized households whose total heating costs + # are included in their rent" are ineligible; subsidized households + # paying their own heating bills remain eligible (B.5.c.1.c, code G). + subsidized = spm_unit( + "receives_housing_assistance", period + ) | spm_unit.household("is_in_public_housing", period) + # Manual B.5.c.2.f-g: persons with no physical address or who are + # homeless are ineligible. + homeless = spm_unit.household("is_homeless", period) + return ( + has_eligible_member + & income_eligible + & eligible_fuel + & pays_for_heat + & ~(heat_in_rent & subsidized) + & ~homeless + ) diff --git a/policyengine_us/variables/gov/states/va/dss/eap/va_eap_household_size.py b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_household_size.py new file mode 100644 index 00000000000..fd708a0c8b4 --- /dev/null +++ b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_household_size.py @@ -0,0 +1,21 @@ +from policyengine_us.model_api import * + + +class va_eap_household_size(Variable): + value_type = int + entity = SPMUnit + definition_period = YEAR + label = "Virginia EAP household size" + documentation = "Number of household members who are U.S. citizens or qualified aliens. Other members are not counted in household size, although their income counts toward household income. The Social Security number requirement for adult members has no input and is not modeled." + reference = ( + # PDF pages 31-32, 41 + "https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=31", + "https://law.lis.virginia.gov/admincode/title22/agency40/chapter680/section20/", + ) + defined_for = StateCode.VA + + # Manual B.7: "An individual is not counted in the Energy Assistance + # household size, if he/she does not meet either of these criteria + # [citizen or qualified alien]. However, his/her income is counted in the + # Energy Assistance household's total income." + adds = ["is_citizen_or_legal_immigrant"] diff --git a/policyengine_us/variables/gov/states/va/dss/eap/va_eap_income_eligible.py b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_income_eligible.py new file mode 100644 index 00000000000..0c752da6e76 --- /dev/null +++ b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_income_eligible.py @@ -0,0 +1,27 @@ +from policyengine_us.model_api import * + + +class va_eap_income_eligible(Variable): + value_type = bool + entity = SPMUnit + definition_period = YEAR + label = "Virginia EAP income eligible" + documentation = "Countable income is at or below the income limit for the household size, or every household member receives SSI." + reference = ( + "https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=28", + "https://liheapch.acf.gov/docs/2026/state-plans/VA_Plan_2026.pdf#page=8", + "https://law.lis.virginia.gov/admincode/title22/agency40/chapter680/section20/", + ) + defined_for = StateCode.VA + + def formula(spm_unit, period, parameters): + income = spm_unit("va_eap_countable_income", period) + limit = spm_unit("va_eap_income_limit", period) + # Manual B.6.a: "No eligible household shall exceed the income maximums + # set by the VDSS, except households in which all members are SSI + # recipients." 22VAC40-680-20(B)(1): income "must be at or below" the + # limit. + person = spm_unit.members + receives_ssi = (person("ssi", period) > 0) | person("receives_ssi", period) + all_ssi = spm_unit.all(receives_ssi) + return (income <= limit) | all_ssi diff --git a/policyengine_us/variables/gov/states/va/dss/eap/va_eap_income_limit.py b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_income_limit.py new file mode 100644 index 00000000000..9dc156996fb --- /dev/null +++ b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_income_limit.py @@ -0,0 +1,46 @@ +from policyengine_us.model_api import * +from policyengine_us.variables.gov.hhs.tax_unit_fpg import fpg + + +class va_eap_income_limit(Variable): + value_type = float + entity = SPMUnit + definition_period = YEAR + unit = USD + label = "Virginia EAP annual income limit" + documentation = "Twelve times the maximum monthly countable income for the household size: 150% of the federal poverty guideline floored to whole monthly dollars for sizes up to 20, plus the floored monthly increment for each member over 20." + reference = ( + "https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=28", + "https://liheapch.acf.gov/docs/2026/state-plans/VA_Plan_2026.pdf#page=8", + "https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=1", + "https://law.lis.virginia.gov/admincode/title22/agency40/chapter680/section20/", + ) + defined_for = StateCode.VA + + def formula(spm_unit, period, parameters): + p = parameters(period).gov.states.va.dss.eap.eligibility + size = spm_unit("va_eap_household_size", period) + state_group = spm_unit.household("state_group_str", period) + capped_size = clip(size, 1, p.max_table_size) + guideline = fpg( + capped_size, state_group, period, parameters, year_lag=p.fpg_year_lag + ) + additional_guideline = ( + fpg( + capped_size + 1, + state_group, + period, + parameters, + year_lag=p.fpg_year_lag, + ) + - guideline + ) + # Manual B.6.a prints monthly limits for sizes 1 to 20 and "for each + # extra member over 20, add $687". Flooring 150% of the 2025 guideline + # over twelve months reproduces every printed amount and the $687 + # increment; this is a reconciled numerical pattern, not an express + # rounding rule. + monthly_limit = np.floor(p.fpg_rate * guideline / MONTHS_IN_YEAR) + monthly_increment = np.floor(p.fpg_rate * additional_guideline / MONTHS_IN_YEAR) + additional_people = max_(size - p.max_table_size, 0) + return (monthly_limit + additional_people * monthly_increment) * MONTHS_IN_YEAR diff --git a/policyengine_us/variables/gov/states/va/dss/eap/va_eap_income_points.py b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_income_points.py new file mode 100644 index 00000000000..77dfc51d809 --- /dev/null +++ b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_income_points.py @@ -0,0 +1,45 @@ +from policyengine_us.model_api import * + + +class va_eap_income_points(Variable): + value_type = int + entity = SPMUnit + definition_period = YEAR + label = "Virginia EAP income points" + documentation = "Benefit points from countable income as a whole percent of the income limit for the household size: 25 points from 0% to 19%, falling to 1 point from 95% to 100%. Income above the limit, reachable only when every member receives SSI, scores 0 points." + # The Complete Manual's copy of this page (01/03) still bases the table on + # 130% of the guidelines; the 05/21 page in the benefit matrix controls. + reference = ( + "https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=6", + # PDF pages 31, 52 + "https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=31", + ) + defined_for = StateCode.VA + + def formula(spm_unit, period, parameters): + p = parameters(period).gov.states.va.dss.eap.points + # The percent uses countable income after the $50 medical deduction. + # This is an inference: Appendix B does not name the income, but the + # system deducts the medical amount "to determine the countable income + # for screening purposes" (manual D.4, page 52), and B.6.c (page 31) + # calls it a "programmatic income disregard". + income = spm_unit("va_eap_countable_income", period) + limit = spm_unit("va_eap_income_limit", period) + # Appendix B: "The system calculates the percentage of the maximum + # income level for the household's income to determine the point + # assignment." The quotient is formed in float64 and the percent is + # rounded to four decimals before the whole-percent floor. Incomes are + # stored as float32, so an exact band start such as 40% can arrive as + # 39.999999%; four decimals absorb that error while one dollar below a + # band start (at least 0.0005% for any limit up to $200,000) stays + # below it. + share = np.divide( + income.astype(np.float64), + limit, + out=np.zeros(income.shape), + where=limit > 0, + ) + # NOTE: 100 converts the share to a percent; the band edges are whole + # percents in the parameter. + percent = np.floor(np.round(share * 100, 4)) + return where(limit > 0, p.income.calc(percent), 0) diff --git a/policyengine_us/variables/gov/states/va/dss/eap/va_eap_points.py b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_points.py new file mode 100644 index 00000000000..4a19edc1a91 --- /dev/null +++ b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_points.py @@ -0,0 +1,40 @@ +from policyengine_us.model_api import * + + +class va_eap_points(Variable): + value_type = int + entity = SPMUnit + definition_period = YEAR + label = "Virginia EAP benefit points" + documentation = ( + "Total benefit matrix points: household size, income, climate zone, " + "vulnerability, living arrangement, primary fuel and energy burden. The " + "primary fuel (10) and energy burden (13) points are PolicyEngine " + "placeholders applied to every household, because VDSS sets them each " + "year from an unpublished vendor fuel survey." + ) + reference = ( + # PDF pages 6-7 + "https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=6", + # PDF pages 52-53, 65-66 + "https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=52", + "https://liheapch.acf.gov/docs/2026/state-plans/VA_Plan_2026.pdf#page=9", + "https://law.lis.virginia.gov/admincode/title22/agency40/chapter680/section30/", + ) + defined_for = StateCode.VA + + def formula(spm_unit, period, parameters): + p = parameters(period).gov.states.va.dss.eap.points + size = spm_unit("va_eap_household_size", period) + zone = spm_unit("va_eap_climate_zone", period) + # Every eligible living arrangement code (A, C, E, G, P) scores the + # same, so the living arrangement points apply to every household. + return ( + p.household_size.calc(size) + + spm_unit("va_eap_income_points", period) + + p.climate_zone[zone] + + spm_unit("va_eap_vulnerability_points", period) + + p.living_arrangement + + p.primary_fuel + + p.energy_burden + ) diff --git a/policyengine_us/variables/gov/states/va/dss/eap/va_eap_vulnerability_points.py b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_vulnerability_points.py new file mode 100644 index 00000000000..ca832a466aa --- /dev/null +++ b/policyengine_us/variables/gov/states/va/dss/eap/va_eap_vulnerability_points.py @@ -0,0 +1,33 @@ +from policyengine_us.model_api import * + + +class va_eap_vulnerability_points(Variable): + value_type = int + entity = SPMUnit + definition_period = YEAR + label = "Virginia EAP vulnerability points" + documentation = "Points for the one vulnerability condition present in the household with the highest value: a member aged 60 or older (20), a disabled member (15) or a child under 6 (12). Points are not cumulative." + reference = ( + "https://liheapch.acf.gov/docs/2026/benefits-matricies/VA_BenefitMatrix_2026.pdf#page=7", + # PDF pages 52, 66 + "https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/eap/Complete_Manual.pdf#page=52", + "https://liheapch.acf.gov/docs/2026/state-plans/VA_Plan_2026.pdf#page=8", + "https://law.lis.virginia.gov/admincode/title22/agency40/chapter680/section30/", + ) + defined_for = StateCode.VA + + def formula(spm_unit, period, parameters): + p = parameters(period).gov.states.va.dss.eap + person = spm_unit.members + age = person("age", period) + elderly = spm_unit.any(age >= p.age.elderly) + disabled = spm_unit.any(person("va_eap_disabled", period)) + p_vulnerability = p.points.vulnerability + young_child = spm_unit.any(age < p_vulnerability.child_age_limit) + # Appendix B: "Points are not cumulative, but are assigned by the system + # for the one condition present in the household with the highest + # point value." + elderly_points = where(elderly, p_vulnerability.elderly, 0) + disabled_points = where(disabled, p_vulnerability.disabled, 0) + child_points = where(young_child, p_vulnerability.child, 0) + return max_(max_(elderly_points, disabled_points), child_points)