From 43a3fd27b6bddb83ded6be51cbe6c656a42abe56 Mon Sep 17 00:00:00 2001 From: PavelMakarchuk Date: Tue, 27 Oct 2026 14:01:45 -0400 Subject: [PATCH] Use the printed Virginia TANF Appendix 2 standards from July 2021 Store the 7/21 (Transmittal 71) and 7/22 (Transmittal 74) Section 304, Appendix 2 standards of assistance, amounts for each person above 10, and maximum reimbursable payments for Groups II and III as dated values, and read them for the period. The standard multiplier now scales the payment standards only before July 2020; the need standard and the TANF-UP schedule still use it in every period. Fixes #10450 Co-Authored-By: Claude Opus 5.5 --- ...x-10450-va-tanf-printed-standards.fixed.md | 1 + .../grant_standard/group2/addition.yaml | 6 + .../payment/grant_standard/group2/main.yaml | 34 ++++- .../payment/grant_standard/group2/max.yaml | 6 + .../grant_standard/group3/addition.yaml | 6 + .../payment/grant_standard/group3/main.yaml | 34 ++++- .../payment/grant_standard/group3/max.yaml | 6 + .../va/dss/tanf/standard_multiplier.yaml | 4 + .../gov/states/va/dss/tanf/va_tanf.yaml | 84 +++++++++-- .../va/dss/tanf/va_tanf_grant_standard.yaml | 130 +++++++++++++++++- .../gov/states/va/dss/tanf/va_tanf.py | 26 ++-- .../va/dss/tanf/va_tanf_grant_standard.py | 14 +- 12 files changed, 304 insertions(+), 47 deletions(-) create mode 100644 changelog.d/fix-10450-va-tanf-printed-standards.fixed.md diff --git a/changelog.d/fix-10450-va-tanf-printed-standards.fixed.md b/changelog.d/fix-10450-va-tanf-printed-standards.fixed.md new file mode 100644 index 00000000000..46b1ef383c0 --- /dev/null +++ b/changelog.d/fix-10450-va-tanf-printed-standards.fixed.md @@ -0,0 +1 @@ +Use the printed Virginia TANF Section 304, Appendix 2 standards of assistance and maximum payments from July 2021 and July 2022, instead of scaling the July 2020 amounts, which fell up to $1.59 a month short (Group II maximum $722 instead of $723). diff --git a/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group2/addition.yaml b/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group2/addition.yaml index 6e8a2f96bf4..5f0e4fdf94d 100644 --- a/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group2/addition.yaml +++ b/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group2/addition.yaml @@ -2,6 +2,8 @@ description: Virginia adds this amount to the grant standard for each additional values: 2020-07-01: 81 + 2021-07-01: 90 + 2022-07-01: 95 metadata: unit: currency-USD @@ -10,3 +12,7 @@ metadata: reference: - title: Virginia TANF Manual Section 302 - Grant Standards href: https://web.archive.org/web/20210719231146/https://www.dss.virginia.gov/files/division/bp/tanf/manual/300_11-20.pdf#page=25 + - title: Virginia TANF Manual (10/21), Section 304, Appendix 2 (7/21, Transmittal 71) + href: https://web.archive.org/web/20211227180044/https://www.dss.virginia.gov/files/division/bp/tanf/manual/Entire_Manual_as_One_Document_10-21.pdf#page=146 + - title: Virginia TANF Manual, Chapter 300, Section 304, Appendix 2 (7/22, Transmittal 74) + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/tanfview/tanf/Chapter-300---Need-and-Amount-of-Assistance.pdf#page=29 diff --git a/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group2/main.yaml b/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group2/main.yaml index 60d82cf3822..a00a871c6d9 100644 --- a/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group2/main.yaml +++ b/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group2/main.yaml @@ -10,24 +10,48 @@ metadata: reference: - title: Virginia TANF Manual Section 302 - Grant Standards href: https://web.archive.org/web/20210719231146/https://www.dss.virginia.gov/files/division/bp/tanf/manual/300_11-20.pdf#page=25 + - title: Virginia TANF Manual (10/21), Section 304, Appendix 2 (7/21, Transmittal 71) + href: https://web.archive.org/web/20211227180044/https://www.dss.virginia.gov/files/division/bp/tanf/manual/Entire_Manual_as_One_Document_10-21.pdf#page=146 + - title: Virginia TANF Manual, Chapter 300, Section 304, Appendix 2 (7/22, Transmittal 74) + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/tanfview/tanf/Chapter-300---Need-and-Amount-of-Assistance.pdf#page=29 1: 2020-07-01: 226 + 2021-07-01: 249 + 2022-07-01: 262 2: - 2020-07-01: 332 + 2020-07-01: 332 + 2021-07-01: 366 + 2022-07-01: 385 3: - 2020-07-01: 417 + 2020-07-01: 417 + 2021-07-01: 459 + 2022-07-01: 482 4: 2020-07-01: 499 + 2021-07-01: 549 + 2022-07-01: 577 5: - 2020-07-01: 589 + 2020-07-01: 589 + 2021-07-01: 648 + 2022-07-01: 681 6: - 2020-07-01: 658 + 2020-07-01: 658 + 2021-07-01: 724 + 2022-07-01: 761 7: - 2020-07-01: 736 + 2020-07-01: 736 + 2021-07-01: 810 + 2022-07-01: 851 8: 2020-07-01: 822 + 2021-07-01: 905 + 2022-07-01: 951 9: 2020-07-01: 895 + 2021-07-01: 985 + 2022-07-01: 1_035 10: 2020-07-01: 975 + 2021-07-01: 1_073 + 2022-07-01: 1_127 diff --git a/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group2/max.yaml b/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group2/max.yaml index 046005ea1a0..6388a9c94db 100644 --- a/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group2/max.yaml +++ b/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group2/max.yaml @@ -2,6 +2,8 @@ description: Virginia provides up to this maximum assistance for families living values: 2020-07-01: 625 + 2021-07-01: 688 + 2022-07-01: 723 metadata: unit: currency-USD @@ -10,3 +12,7 @@ metadata: reference: - title: Virginia TANF Manual Section 302 - Grant Standards href: https://web.archive.org/web/20210719231146/https://www.dss.virginia.gov/files/division/bp/tanf/manual/300_11-20.pdf#page=25 + - title: Virginia TANF Manual (10/21), Section 304, Appendix 2 (7/21, Transmittal 71) + href: https://web.archive.org/web/20211227180044/https://www.dss.virginia.gov/files/division/bp/tanf/manual/Entire_Manual_as_One_Document_10-21.pdf#page=146 + - title: Virginia TANF Manual, Chapter 300, Section 304, Appendix 2 (7/22, Transmittal 74) + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/tanfview/tanf/Chapter-300---Need-and-Amount-of-Assistance.pdf#page=29 diff --git a/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group3/addition.yaml b/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group3/addition.yaml index c2f1da7872a..1286f331a13 100644 --- a/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group3/addition.yaml +++ b/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group3/addition.yaml @@ -2,6 +2,8 @@ description: Virginia adds this amount to the grant standard for each additional values: 2020-07-01: 81 + 2021-07-01: 90 + 2022-07-01: 95 metadata: unit: currency-USD @@ -10,3 +12,7 @@ metadata: reference: - title: Virginia TANF Manual Section 304, Appendix 2 - TANF Assistance Standards href: https://web.archive.org/web/20210719231146/https://www.dss.virginia.gov/files/division/bp/tanf/manual/300_11-20.pdf#page=26 + - title: Virginia TANF Manual (10/21), Section 304, Appendix 2 (7/21, Transmittal 71) + href: https://web.archive.org/web/20211227180044/https://www.dss.virginia.gov/files/division/bp/tanf/manual/Entire_Manual_as_One_Document_10-21.pdf#page=147 + - title: Virginia TANF Manual, Chapter 300, Section 304, Appendix 2 (7/22, Transmittal 74) + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/tanfview/tanf/Chapter-300---Need-and-Amount-of-Assistance.pdf#page=30 diff --git a/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group3/main.yaml b/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group3/main.yaml index 2811663f197..c8c41c46fc2 100644 --- a/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group3/main.yaml +++ b/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group3/main.yaml @@ -10,24 +10,48 @@ metadata: reference: - title: Virginia TANF Manual Section 302 - Grant Standards href: https://web.archive.org/web/20210719231146/https://www.dss.virginia.gov/files/division/bp/tanf/manual/300_11-20.pdf#page=26 + - title: Virginia TANF Manual (10/21), Section 304, Appendix 2 (7/21, Transmittal 71) + href: https://web.archive.org/web/20211227180044/https://www.dss.virginia.gov/files/division/bp/tanf/manual/Entire_Manual_as_One_Document_10-21.pdf#page=147 + - title: Virginia TANF Manual, Chapter 300, Section 304, Appendix 2 (7/22, Transmittal 74) + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/tanfview/tanf/Chapter-300---Need-and-Amount-of-Assistance.pdf#page=30 1: 2020-07-01: 316 + 2021-07-01: 348 + 2022-07-01: 366 2: - 2020-07-01: 422 + 2020-07-01: 422 + 2021-07-01: 465 + 2022-07-01: 489 3: - 2020-07-01: 508 + 2020-07-01: 508 + 2021-07-01: 559 + 2022-07-01: 587 4: 2020-07-01: 589 + 2021-07-01: 648 + 2022-07-01: 681 5: - 2020-07-01: 701 + 2020-07-01: 701 + 2021-07-01: 772 + 2022-07-01: 811 6: - 2020-07-01: 767 + 2020-07-01: 767 + 2021-07-01: 844 + 2022-07-01: 887 7: - 2020-07-01: 847 + 2020-07-01: 847 + 2021-07-01: 932 + 2022-07-01: 979 8: 2020-07-01: 933 + 2021-07-01: 1_027 + 2022-07-01: 1_079 9: 2020-07-01: 1_007 + 2021-07-01: 1_108 + 2022-07-01: 1_164 10: 2020-07-01: 1_085 + 2021-07-01: 1_194 + 2022-07-01: 1_254 diff --git a/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group3/max.yaml b/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group3/max.yaml index c0d07f83d3d..0e1262e473a 100644 --- a/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group3/max.yaml +++ b/policyengine_us/parameters/gov/states/va/dss/tanf/payment/grant_standard/group3/max.yaml @@ -2,6 +2,8 @@ description: Virginia provides up to this maximum assistance for families living values: 2020-07-01: 745 + 2021-07-01: 820 + 2022-07-01: 861 metadata: unit: currency-USD @@ -10,3 +12,7 @@ metadata: reference: - title: Virginia TANF Manual Section 302 - Grant Standards href: https://web.archive.org/web/20210719231146/https://www.dss.virginia.gov/files/division/bp/tanf/manual/300_11-20.pdf#page=26 + - title: Virginia TANF Manual (10/21), Section 304, Appendix 2 (7/21, Transmittal 71) + href: https://web.archive.org/web/20211227180044/https://www.dss.virginia.gov/files/division/bp/tanf/manual/Entire_Manual_as_One_Document_10-21.pdf#page=147 + - title: Virginia TANF Manual, Chapter 300, Section 304, Appendix 2 (7/22, Transmittal 74) + href: https://www.dss.virginia.gov/media/vdss/benefit-programs/documents/tanfview/tanf/Chapter-300---Need-and-Amount-of-Assistance.pdf#page=30 diff --git a/policyengine_us/parameters/gov/states/va/dss/tanf/standard_multiplier.yaml b/policyengine_us/parameters/gov/states/va/dss/tanf/standard_multiplier.yaml index aafeb4cd91b..f5123011f40 100644 --- a/policyengine_us/parameters/gov/states/va/dss/tanf/standard_multiplier.yaml +++ b/policyengine_us/parameters/gov/states/va/dss/tanf/standard_multiplier.yaml @@ -24,6 +24,10 @@ metadata: # The 10% July 2023 increase (SB800 341#1s, Senate floor-approved) was NOT # enacted in the final 2023 budget (HB6001, 2023 Special Session I), so the # multiplier stops at 1.155. +# The standards of assistance and the maximum payment are stored as printed in +# Section 304, Appendix 2 from July 2020, so they use this multiplier only +# before July 2020. The need standard and the TANF-UP standards use it in +# every period. values: # Pre-2016 base (before any increases since 2016) 1996-01-01: 0.7691 diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/dss/tanf/va_tanf.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/dss/tanf/va_tanf.yaml index 842f02bd86f..c0811e05a22 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/va/dss/tanf/va_tanf.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/va/dss/tanf/va_tanf.yaml @@ -89,8 +89,9 @@ va_tanf: 6_000 # Max payment cap tests -- max payment = ceil(base_max * standard_multiplier) -# For 2023: multiplier is 1.155 for all 12 months -# Group III TANF: ceil(745*1.155)=861 +# From July 2020 base_max is the printed Section 304, Appendix 2 maximum for +# the period, and the multiplier is 1. +# Group III TANF, 7/22 (Transmittal 74): $861 # Annual max = 12*861 = 10_332 - name: Group III TANF capped at scaled max payment. @@ -106,8 +107,8 @@ # Payment 15000 capped at Group III max: 12*861 = 10_332 va_tanf: 10_332 -# Group II TANF: ceil(625*1.155)=722 -# Annual max = 12*722 = 8_664 +# Group II TANF, 7/22 (Transmittal 74): $723 (ceil(625 * 1.155) = 722) +# Annual max = 12*723 = 8_676 - name: Group II TANF capped at scaled max payment. period: 2023 @@ -119,8 +120,8 @@ va_tanf_countable_income: 0 county_str: PITTSYLVANIA_COUNTY_VA output: - # Payment 15000 capped at Group II max: 12*722 = 8_664 - va_tanf: 8_664 + # Payment 15000 capped at Group II max: 12*723 = 8_676 + va_tanf: 8_676 # TANF-UP units are capped at the TANF maximum. The 7/21 Section 304, # Appendix 2 (Transmittal 71) maximum reimbursable payment is $820 in @@ -136,7 +137,7 @@ va_tanf_countable_income: 0 county_str: ARLINGTON_COUNTY_VA output: - # ceil(745 * 1.1) = ceil(819.5) = 820 + # 7/21 Group III maximum: $820 # (the TANF-UP maximum would be ceil(648 * 1.1) = 713) va_tanf: 820 @@ -150,7 +151,7 @@ va_tanf_countable_income: 0 county_str: PITTSYLVANIA_COUNTY_VA output: - # ceil(625 * 1.1) = ceil(687.5) = 688 + # 7/21 Group II maximum: $688 # (the TANF-UP maximum would be ceil(544 * 1.1) = 599) va_tanf: 688 @@ -169,7 +170,8 @@ va_tanf: 8_400 # Since July 2021 Virginia has one schedule of standards (TANF Manual -# Section 304, Appendix 2) for all units. January 2025 multiplier: 1.155 +# Section 304, Appendix 2) for all units. January 2025 multiplier for the +# TANF-UP schedule: 1.155 - name: In January 2025 a TANF-UP unit gets the TANF grant standard. period: 2025-01 @@ -195,8 +197,8 @@ va_tanf_countable_income: 0 county_str: ARLINGTON_COUNTY_VA output: - # Group III TANF maximum: ceil(745 * 1.155) = ceil(860.475) = 861, the - # 7/22 Section 304, Appendix 2 (Transmittal 74) maximum of $861 + # Group III TANF maximum: the 7/22 Section 304, Appendix 2 + # (Transmittal 74) maximum of $861 # (the TANF-UP maximum would be ceil(648 * 1.155) = 749) va_tanf: 861 @@ -212,3 +214,63 @@ output: # TANF grant standard $500 - countable income $100 = $400 va_tanf: 400 + +# The grant standard and the maximum from the printed Section 304, Appendix 2 +# tables, computed rather than given as inputs. + +- name: In January 2025 a Group II unit of twelve with no income gets the 7/22 maximum. + period: 2025-01 + input: + state_code: VA + va_tanf_eligibility: true + va_up_tanf_eligibility: false + spm_unit_size: 12 + va_tanf_countable_income: 0 + county_str: PITTSYLVANIA_COUNTY_VA + output: + # Grant standard: 7/22 Group II size 10 $1,127 + 2 * $95 = $1,317 + # 7/22 Group II maximum: $723 + va_tanf_grant_standard: 1_317 + va_tanf: 723 + +- name: In January 2025 a Group II unit of three with no income gets the 7/22 standard. + period: 2025-01 + input: + state_code: VA + va_tanf_eligibility: true + va_up_tanf_eligibility: false + spm_unit_size: 3 + va_tanf_countable_income: 0 + county_str: PITTSYLVANIA_COUNTY_VA + output: + # 7/22 Group II, size 3: $482, below the $723 maximum + va_tanf: 482 + +- name: In January 2022 a Group II unit of twelve with no income gets the 7/21 maximum. + period: 2022-01 + input: + state_code: VA + va_tanf_eligibility: true + va_up_tanf_eligibility: false + spm_unit_size: 12 + va_tanf_countable_income: 0 + county_str: PITTSYLVANIA_COUNTY_VA + output: + # Grant standard: 7/21 Group II size 10 $1,073 + 2 * $90 = $1,253 + # 7/21 Group II maximum: $688 + va_tanf_grant_standard: 1_253 + va_tanf: 688 + +- name: In January 2019 the maximum still scales the 7/20 maximum. + period: 2019-01 + input: + state_code: VA + va_tanf_eligibility: true + va_up_tanf_eligibility: false + va_tanf_grant_standard: 1_500 + va_tanf_up_grant_standard: 0 + va_tanf_countable_income: 0 + county_str: PITTSYLVANIA_COUNTY_VA + output: + # January 2019 multiplier: 0.8282; ceil(625 * 0.8282) = ceil(517.625) = 518 + va_tanf: 518 diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/dss/tanf/va_tanf_grant_standard.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/dss/tanf/va_tanf_grant_standard.yaml index 6886f7d2748..4b9a3fa4acd 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/va/dss/tanf/va_tanf_grant_standard.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/va/dss/tanf/va_tanf_grant_standard.yaml @@ -1,5 +1,6 @@ -# Tests use 2021-01 period to validate base values (multiplier = 1.0) -# Parameter tables contain July 2020 values; multiplier adjusts for later periods +# Tests use 2021-01 period to validate the 7/20 Section 304, Appendix 2 values. +# The tables hold the printed 7/20, 7/21 and 7/22 standards; the standard +# multiplier scales the 7/20 standards only for periods before July 2020. - name: If one person and lives in Arlington, grant standard is $316/month. period: 2021-01 @@ -84,16 +85,17 @@ output: va_tanf_grant_standard: 0 -# Test multiplier effect for 2023 period (multiplier = 1.155) -- name: Grant standard in 2023 reflects 15.5% increase from base. - # Base $316 * 1.155 = $364.98/month +# From July 2022 the standard is the 7/22 Section 304, Appendix 2 amount +# (Chapter 300, Transmittal 74), not the 7/20 amount times 1.155. +- name: Grant standard in January 2023 is the printed 7/22 Group III amount for one person. + # 7/22 Group III, size 1: $366 (316 * 1.155 = 364.98) period: 2023-01 input: state_code: VA spm_unit_size: 1 county_str: ARLINGTON_COUNTY_VA output: - va_tanf_grant_standard: 364.98 + va_tanf_grant_standard: 366 # Test multiplier effect for 2018 period (multiplier = 0.8282) - name: Grant standard in 2018-01 for size 3 in Group III locality. @@ -105,3 +107,119 @@ county_str: ARLINGTON_COUNTY_VA output: va_tanf_grant_standard: 420.726 + +# Printed 7/21 standards (TANF Manual 10/21, Section 304, Appendix 2, +# Transmittal 71). Pittsylvania is a Group II locality, Arlington Group III. + +- name: In 2021 a Group II unit of three gets the 7/20 standard to June and the 7/21 standard from July. + period: 2021 + input: + state_code: VA + spm_unit_size: 3 + county_str: PITTSYLVANIA_COUNTY_VA + output: + # 6 * $417 (7/20) + 6 * $459 (7/21; 417 * 1.1 = 458.70) = 2,502 + 2,754 + va_tanf_grant_standard: 5_256 + +- name: In January 2022 a Group II unit of one gets the 7/21 standard. + period: 2022-01 + input: + state_code: VA + spm_unit_size: 1 + county_str: PITTSYLVANIA_COUNTY_VA + output: + # 7/21 Group II, size 1 (226 * 1.1 = 248.60) + va_tanf_grant_standard: 249 + +- name: In January 2022 a Group II unit of twelve gets the 7/21 standard. + period: 2022-01 + input: + state_code: VA + spm_unit_size: 12 + county_str: PITTSYLVANIA_COUNTY_VA + output: + # 7/21 Group II: size 10 $1,073 + 2 * $90 = $1,253 ((975 + 2 * 81) * 1.1 = 1,250.70) + va_tanf_grant_standard: 1_253 + +- name: In January 2022 a Group III unit of ten gets the 7/21 standard. + period: 2022-01 + input: + state_code: VA + spm_unit_size: 10 + county_str: ARLINGTON_COUNTY_VA + output: + # 7/21 Group III, size 10 (1,085 * 1.1 = 1,193.50) + va_tanf_grant_standard: 1_194 + +# Printed 7/22 standards (TANF Manual Chapter 300, Section 304, Appendix 2, +# Transmittal 74). + +- name: In 2022 a Group II unit of three gets the 7/21 standard to June and the 7/22 standard from July. + period: 2022 + input: + state_code: VA + spm_unit_size: 3 + county_str: PITTSYLVANIA_COUNTY_VA + output: + # 6 * $459 (7/21) + 6 * $482 (7/22; 417 * 1.155 = 481.635) = 2,754 + 2,892 + va_tanf_grant_standard: 5_646 + +- name: In January 2025 a Group II unit of one gets the 7/22 standard. + period: 2025-01 + input: + state_code: VA + spm_unit_size: 1 + county_str: PITTSYLVANIA_COUNTY_VA + output: + # 7/22 Group II, size 1 (226 * 1.155 = 261.03) + va_tanf_grant_standard: 262 + +- name: In January 2025 a Group II unit of eight gets the 7/22 standard. + period: 2025-01 + input: + state_code: VA + spm_unit_size: 8 + county_str: PITTSYLVANIA_COUNTY_VA + output: + # 7/22 Group II, size 8 (822 * 1.155 = 949.41) + va_tanf_grant_standard: 951 + +- name: In January 2025 a Group II unit of twelve gets the 7/22 standard. + period: 2025-01 + input: + state_code: VA + spm_unit_size: 12 + county_str: PITTSYLVANIA_COUNTY_VA + output: + # 7/22 Group II: size 10 $1,127 + 2 * $95 = $1,317 ((975 + 2 * 81) * 1.155 = 1,313.235) + va_tanf_grant_standard: 1_317 + +- name: In January 2025 a Group III unit of two gets the 7/22 standard. + period: 2025-01 + input: + state_code: VA + spm_unit_size: 2 + county_str: ARLINGTON_COUNTY_VA + output: + # 7/22 Group III, size 2 (422 * 1.155 = 487.41) + va_tanf_grant_standard: 489 + +- name: In January 2025 a Group III unit of eight gets the 7/22 standard. + period: 2025-01 + input: + state_code: VA + spm_unit_size: 8 + county_str: ARLINGTON_COUNTY_VA + output: + # 7/22 Group III, size 8 (933 * 1.155 = 1,077.615) + va_tanf_grant_standard: 1_079 + +- name: In January 2025 a Group III unit of eleven gets the 7/22 standard. + period: 2025-01 + input: + state_code: VA + spm_unit_size: 11 + county_str: ARLINGTON_COUNTY_VA + output: + # 7/22 Group III: size 10 $1,254 + $95 = $1,349 ((1,085 + 81) * 1.155 = 1,346.73) + va_tanf_grant_standard: 1_349 diff --git a/policyengine_us/variables/gov/states/va/dss/tanf/va_tanf.py b/policyengine_us/variables/gov/states/va/dss/tanf/va_tanf.py index a2fd21fdd84..bd54a3a84a7 100644 --- a/policyengine_us/variables/gov/states/va/dss/tanf/va_tanf.py +++ b/policyengine_us/variables/gov/states/va/dss/tanf/va_tanf.py @@ -25,25 +25,27 @@ def formula(spm_unit, period, parameters): # compute the maximum payment p = parameters(period).gov.states.va.dss.tanf - # Access July 2020 base values - p_payment = parameters.gov.states.va.dss.tanf.payment(f"2020-10-01") county = spm_unit.household("county_str", period) if_group3 = np.isin(county, p.localities.group3) + # The separate TANF-UP schedule has only July 2020 values, which the + # standard multiplier scales. + p_up_base = parameters.gov.states.va.dss.tanf.payment.up_grant_standard( + f"2020-10-01" + ) up_tanf_base_max = where( if_group3, - p_payment.up_grant_standard.group3.max, - p_payment.up_grant_standard.group2.max, + p_up_base.group3.max, + p_up_base.group2.max, ) + up_tanf_max = np.ceil(up_tanf_base_max * p.standard_multiplier) + # The TANF maximum is the printed Section 304, Appendix 2 amount from + # July 2020. Earlier periods scale the July 2020 maximum. tanf_base_max = where( if_group3, - p_payment.grant_standard.group3.max, - p_payment.grant_standard.group2.max, - ) - base_max = where( - uses_up_standards, - up_tanf_base_max, - tanf_base_max, + p.payment.grant_standard.group3.max, + p.payment.grant_standard.group2.max, ) - maximum = np.ceil(base_max * p.standard_multiplier) + tanf_max = np.ceil(tanf_base_max * min_(p.standard_multiplier, 1)) + maximum = where(uses_up_standards, up_tanf_max, tanf_max) return min_(payment, maximum) diff --git a/policyengine_us/variables/gov/states/va/dss/tanf/va_tanf_grant_standard.py b/policyengine_us/variables/gov/states/va/dss/tanf/va_tanf_grant_standard.py index fe45050634b..d5752e930ff 100644 --- a/policyengine_us/variables/gov/states/va/dss/tanf/va_tanf_grant_standard.py +++ b/policyengine_us/variables/gov/states/va/dss/tanf/va_tanf_grant_standard.py @@ -13,10 +13,7 @@ class va_tanf_grant_standard(Variable): def formula(spm_unit, period, parameters): unit_size = spm_unit("spm_unit_size", period.this_year) p = parameters(period).gov.states.va.dss.tanf - # Access July 2020 base values - p_grant_standard = parameters.gov.states.va.dss.tanf.payment.grant_standard( - f"2020-10-01" - ) + p_grant_standard = p.payment.grant_standard ceiling = min_(unit_size, p.max_unit_size) additional = unit_size - ceiling @@ -33,7 +30,8 @@ def formula(spm_unit, period, parameters): p_grant_standard.group2.addition, ) - base_amount = main + additional * addition - # Apply standard multiplier for increases since July 2020 base - - return base_amount * p.standard_multiplier + amount = main + additional * addition + # The tables hold the printed Section 304, Appendix 2 standards from + # July 2020. Earlier periods scale the July 2020 standards by the + # standard multiplier, which is below 1 only before July 2020. + return amount * min_(p.standard_multiplier, 1)