From 24e88fab37d5b6c4f9ecf2140f7199750fc5fda4 Mon Sep 17 00:00:00 2001 From: David Trimmer <178813244+DTrim99@users.noreply.github.com> Date: Wed, 2 Dec 2026 22:43:33 -0500 Subject: [PATCH] Use the 48-state guideline and published rates for school meals in the territories Guam, Puerto Rico and the Virgin Islands have a $0 spm_unit_fpg, so the school meal poverty ratio divided by zero, and the NSLP and SBP rate parameters had no keys for them, so every tier was worth $0. USDA's income eligibility guidelines apply the 48-state guideline to Guam and the territories (91 FR 17934), and its payment notices give them Hawaii's rate column from SY 2020-21 (Puerto Rico from SY 2016-17) and the contiguous column before. Add school_meal_fpg, use it in school_meal_fpg_ratio and school_meal_tier, and add GU, PR and VI keys to the NSLP and SBP rates. Fixes #10245 Co-Authored-By: Claude Opus 5.5 --- changelog.d/school-meals-territories.fixed.md | 1 + .../gov/usda/school_meals/amount/nslp.yaml | 125 ++++++++++++++++++ .../gov/usda/school_meals/amount/sbp.yaml | 125 ++++++++++++++++++ .../usda/school_meals/free_school_meals.yaml | 40 ++++++ .../reduced_price_school_meals.yaml | 39 ++++++ .../school_meal_daily_subsidy.yaml | 73 ++++++++++ .../usda/school_meals/school_meal_fpg.yaml | 32 +++++ .../school_meals/school_meal_fpg_ratio.yaml | 10 ++ .../school_meal_paid_daily_subsidy.yaml | 19 +++ .../usda/school_meals/school_meal_tier.yaml | 43 +++++- .../gov/usda/school_meals/school_meal_fpg.py | 32 +++++ .../school_meals/school_meal_fpg_ratio.py | 6 +- .../gov/usda/school_meals/school_meal_tier.py | 5 +- 13 files changed, 541 insertions(+), 9 deletions(-) create mode 100644 changelog.d/school-meals-territories.fixed.md create mode 100644 policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_fpg.yaml create mode 100644 policyengine_us/variables/gov/usda/school_meals/school_meal_fpg.py diff --git a/changelog.d/school-meals-territories.fixed.md b/changelog.d/school-meals-territories.fixed.md new file mode 100644 index 00000000000..13519897522 --- /dev/null +++ b/changelog.d/school-meals-territories.fixed.md @@ -0,0 +1 @@ +Give Guam, Puerto Rico and the Virgin Islands the 48-state poverty guideline and their published reimbursement rates for school meals. diff --git a/policyengine_us/parameters/gov/usda/school_meals/amount/nslp.yaml b/policyengine_us/parameters/gov/usda/school_meals/amount/nslp.yaml index 8789f0efd69..dee9faa7434 100644 --- a/policyengine_us/parameters/gov/usda/school_meals/amount/nslp.yaml +++ b/policyengine_us/parameters/gov/usda/school_meals/amount/nslp.yaml @@ -121,6 +121,131 @@ HI: 2024-07-01: 5.76 2025-07-01: 5.98 2026-07-01: 6.19 +# Guam, Puerto Rico and the Virgin Islands share Hawaii's rates from SY +# 2020-21, when the notices first list one column for "Guam, Hawaii, Puerto +# Rico, and the Virgin Islands". Puerto Rico shares Hawaii's rates from SY +# 2016-17 ("Hawaii and Puerto Rico"). Before then, the notices say these +# territories "use the figures specified for the contiguous States". +GU: + PAID: + 2015-07-01: 0.29 + 2016-07-01: 0.30 + 2017-07-01: 0.31 + 2018-07-01: 0.31 + 2019-07-01: 0.32 + 2020-07-01: 0.39 + 2021-07-01: 0.41 + 2022-07-01: 0.44 + 2023-07-01: 0.53 + 2024-07-01: 0.55 + 2025-07-01: 0.57 + 2026-07-01: 0.59 + REDUCED: + 2015-07-01: 2.67 + 2016-07-01: 2.76 + 2017-07-01: 2.83 + 2018-07-01: 2.91 + 2019-07-01: 3.01 + 2020-07-01: 3.71 + 2021-07-01: 3.88 + 2022-07-01: 4.20 + 2023-07-01: 5.14 + 2024-07-01: 5.36 + 2025-07-01: 5.58 + 2026-07-01: 5.79 + FREE: + 2015-07-01: 3.07 + 2016-07-01: 3.16 + 2017-07-01: 3.23 + 2018-07-01: 3.31 + 2019-07-01: 3.41 + 2020-07-01: 4.11 + 2021-07-01: 4.28 + 2022-07-01: 4.60 + 2023-07-01: 5.54 + 2024-07-01: 5.76 + 2025-07-01: 5.98 + 2026-07-01: 6.19 +PR: + PAID: + 2015-07-01: 0.29 + 2016-07-01: 0.35 + 2017-07-01: 0.36 + 2018-07-01: 0.37 + 2019-07-01: 0.38 + 2020-07-01: 0.39 + 2021-07-01: 0.41 + 2022-07-01: 0.44 + 2023-07-01: 0.53 + 2024-07-01: 0.55 + 2025-07-01: 0.57 + 2026-07-01: 0.59 + REDUCED: + 2015-07-01: 2.67 + 2016-07-01: 3.29 + 2017-07-01: 3.38 + 2018-07-01: 3.48 + 2019-07-01: 3.60 + 2020-07-01: 3.71 + 2021-07-01: 3.88 + 2022-07-01: 4.20 + 2023-07-01: 5.14 + 2024-07-01: 5.36 + 2025-07-01: 5.58 + 2026-07-01: 5.79 + FREE: + 2015-07-01: 3.07 + 2016-07-01: 3.69 + 2017-07-01: 3.78 + 2018-07-01: 3.88 + 2019-07-01: 4.00 + 2020-07-01: 4.11 + 2021-07-01: 4.28 + 2022-07-01: 4.60 + 2023-07-01: 5.54 + 2024-07-01: 5.76 + 2025-07-01: 5.98 + 2026-07-01: 6.19 +VI: + PAID: + 2015-07-01: 0.29 + 2016-07-01: 0.30 + 2017-07-01: 0.31 + 2018-07-01: 0.31 + 2019-07-01: 0.32 + 2020-07-01: 0.39 + 2021-07-01: 0.41 + 2022-07-01: 0.44 + 2023-07-01: 0.53 + 2024-07-01: 0.55 + 2025-07-01: 0.57 + 2026-07-01: 0.59 + REDUCED: + 2015-07-01: 2.67 + 2016-07-01: 2.76 + 2017-07-01: 2.83 + 2018-07-01: 2.91 + 2019-07-01: 3.01 + 2020-07-01: 3.71 + 2021-07-01: 3.88 + 2022-07-01: 4.20 + 2023-07-01: 5.14 + 2024-07-01: 5.36 + 2025-07-01: 5.58 + 2026-07-01: 5.79 + FREE: + 2015-07-01: 3.07 + 2016-07-01: 3.16 + 2017-07-01: 3.23 + 2018-07-01: 3.31 + 2019-07-01: 3.41 + 2020-07-01: 4.11 + 2021-07-01: 4.28 + 2022-07-01: 4.60 + 2023-07-01: 5.54 + 2024-07-01: 5.76 + 2025-07-01: 5.98 + 2026-07-01: 6.19 metadata: unit: currency-USD diff --git a/policyengine_us/parameters/gov/usda/school_meals/amount/sbp.yaml b/policyengine_us/parameters/gov/usda/school_meals/amount/sbp.yaml index 794c7cbcd7e..64f6dae87e8 100644 --- a/policyengine_us/parameters/gov/usda/school_meals/amount/sbp.yaml +++ b/policyengine_us/parameters/gov/usda/school_meals/amount/sbp.yaml @@ -121,6 +121,131 @@ HI: 2024-07-01: 3.06 2025-07-01: 3.18 2026-07-01: 3.29 +# Guam, Puerto Rico and the Virgin Islands share Hawaii's rates from SY +# 2020-21, when the notices first list one column for "Guam, Hawaii, Puerto +# Rico, and the Virgin Islands". Puerto Rico shares Hawaii's rates from SY +# 2016-17 ("Hawaii and Puerto Rico"). Before then, the notices say these +# territories "use the figures specified for the contiguous States". +GU: + PAID: + 2015-07-01: 0.29 + 2016-07-01: 0.29 + 2017-07-01: 0.30 + 2018-07-01: 0.31 + 2019-07-01: 0.31 + 2020-07-01: 0.37 + 2021-07-01: 0.38 + 2022-07-01: 0.40 + 2023-07-01: 0.47 + 2024-07-01: 0.49 + 2025-07-01: 0.51 + 2026-07-01: 0.52 + REDUCED: + 2015-07-01: 1.36 + 2016-07-01: 1.41 + 2017-07-01: 1.45 + 2018-07-01: 1.49 + 2019-07-01: 1.54 + 2020-07-01: 1.91 + 2021-07-01: 1.99 + 2022-07-01: 2.16 + 2023-07-01: 2.65 + 2024-07-01: 2.76 + 2025-07-01: 2.88 + 2026-07-01: 2.99 + FREE: + 2015-07-01: 1.66 + 2016-07-01: 1.71 + 2017-07-01: 1.75 + 2018-07-01: 1.79 + 2019-07-01: 1.84 + 2020-07-01: 2.21 + 2021-07-01: 2.29 + 2022-07-01: 2.46 + 2023-07-01: 2.95 + 2024-07-01: 3.06 + 2025-07-01: 3.18 + 2026-07-01: 3.29 +PR: + PAID: + 2015-07-01: 0.29 + 2016-07-01: 0.33 + 2017-07-01: 0.34 + 2018-07-01: 0.35 + 2019-07-01: 0.36 + 2020-07-01: 0.37 + 2021-07-01: 0.38 + 2022-07-01: 0.40 + 2023-07-01: 0.47 + 2024-07-01: 0.49 + 2025-07-01: 0.51 + 2026-07-01: 0.52 + REDUCED: + 2015-07-01: 1.36 + 2016-07-01: 1.69 + 2017-07-01: 1.73 + 2018-07-01: 1.79 + 2019-07-01: 1.85 + 2020-07-01: 1.91 + 2021-07-01: 1.99 + 2022-07-01: 2.16 + 2023-07-01: 2.65 + 2024-07-01: 2.76 + 2025-07-01: 2.88 + 2026-07-01: 2.99 + FREE: + 2015-07-01: 1.66 + 2016-07-01: 1.99 + 2017-07-01: 2.03 + 2018-07-01: 2.09 + 2019-07-01: 2.15 + 2020-07-01: 2.21 + 2021-07-01: 2.29 + 2022-07-01: 2.46 + 2023-07-01: 2.95 + 2024-07-01: 3.06 + 2025-07-01: 3.18 + 2026-07-01: 3.29 +VI: + PAID: + 2015-07-01: 0.29 + 2016-07-01: 0.29 + 2017-07-01: 0.30 + 2018-07-01: 0.31 + 2019-07-01: 0.31 + 2020-07-01: 0.37 + 2021-07-01: 0.38 + 2022-07-01: 0.40 + 2023-07-01: 0.47 + 2024-07-01: 0.49 + 2025-07-01: 0.51 + 2026-07-01: 0.52 + REDUCED: + 2015-07-01: 1.36 + 2016-07-01: 1.41 + 2017-07-01: 1.45 + 2018-07-01: 1.49 + 2019-07-01: 1.54 + 2020-07-01: 1.91 + 2021-07-01: 1.99 + 2022-07-01: 2.16 + 2023-07-01: 2.65 + 2024-07-01: 2.76 + 2025-07-01: 2.88 + 2026-07-01: 2.99 + FREE: + 2015-07-01: 1.66 + 2016-07-01: 1.71 + 2017-07-01: 1.75 + 2018-07-01: 1.79 + 2019-07-01: 1.84 + 2020-07-01: 2.21 + 2021-07-01: 2.29 + 2022-07-01: 2.46 + 2023-07-01: 2.95 + 2024-07-01: 3.06 + 2025-07-01: 3.18 + 2026-07-01: 3.29 metadata: unit: currency-USD diff --git a/policyengine_us/tests/policy/baseline/gov/usda/school_meals/free_school_meals.yaml b/policyengine_us/tests/policy/baseline/gov/usda/school_meals/free_school_meals.yaml index 06faaddd381..b695c29527a 100644 --- a/policyengine_us/tests/policy/baseline/gov/usda/school_meals/free_school_meals.yaml +++ b/policyengine_us/tests/policy/baseline/gov/usda/school_meals/free_school_meals.yaml @@ -267,3 +267,43 @@ output: # Both meals use the same tier, so its share of the net subsidy is one. free_school_meals: [100, 0] + +# A parent and a school-age child with no income in Guam and the Virgin +# Islands. The 48-state guideline for two people is $21,640 (91 FR 17934), +# so the ratio is 0 and the tier is FREE. Calendar 2026 reads the SY 2025-26 +# Guam, Hawaii, Puerto Rico and Virgin Islands rates (90 FR 34827, 34829): +# lunch FREE 5.98, PAID 0.57; breakfast FREE 3.18, PAID 0.51. Value above the +# paid rate: (5.98 - 0.57 + 3.18 - 0.51) * 180 school days = 8.08 * 180 = +# 1,454.40. +- name: Parent and child with no income in Guam and the Virgin Islands receive free meals at the territory rates in 2026. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 35 + employment_income: 0 + person2: + age: 10 + person3: + age: 35 + employment_income: 0 + person4: + age: 10 + spm_units: + spm_unit1: + members: [person1, person2] + meets_school_meal_categorical_eligibility: false + spm_unit2: + members: [person3, person4] + meets_school_meal_categorical_eligibility: false + households: + household1: + members: [person1, person2] + state_code: GU + household2: + members: [person3, person4] + state_code: VI + output: + school_meal_tier: [FREE, FREE] + free_school_meals: [1_454.40, 1_454.40] diff --git a/policyengine_us/tests/policy/baseline/gov/usda/school_meals/reduced_price_school_meals.yaml b/policyengine_us/tests/policy/baseline/gov/usda/school_meals/reduced_price_school_meals.yaml index 86ff618c894..d0d2bbce982 100644 --- a/policyengine_us/tests/policy/baseline/gov/usda/school_meals/reduced_price_school_meals.yaml +++ b/policyengine_us/tests/policy/baseline/gov/usda/school_meals/reduced_price_school_meals.yaml @@ -249,3 +249,42 @@ output: # Both meals use the same tier, so its share of the net subsidy is one. reduced_price_school_meals: [100, 0] + +# A parent earning $30,000 and a school-age child in Guam and the Virgin +# Islands. Two-person limits from the 48-state table (91 FR 17934): free +# $28,132, reduced price $40,034, so the tier is REDUCED. SY 2025-26 rates +# (90 FR 34827, 34829): lunch REDUCED 5.58, PAID 0.57; breakfast REDUCED +# 2.88, PAID 0.51. Value above the paid rate: (5.58 - 0.57 + 2.88 - 0.51) * +# 180 school days = 7.38 * 180 = 1,328.40. +- name: Parent and child earning $30,000 in Guam and the Virgin Islands receive reduced-price meals at the territory rates in 2026. + period: 2026 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 35 + employment_income: 30_000 + person2: + age: 10 + person3: + age: 35 + employment_income: 30_000 + person4: + age: 10 + spm_units: + spm_unit1: + members: [person1, person2] + meets_school_meal_categorical_eligibility: false + spm_unit2: + members: [person3, person4] + meets_school_meal_categorical_eligibility: false + households: + household1: + members: [person1, person2] + state_code: GU + household2: + members: [person3, person4] + state_code: VI + output: + school_meal_tier: [REDUCED, REDUCED] + reduced_price_school_meals: [1_328.40, 1_328.40] diff --git a/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_daily_subsidy.yaml b/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_daily_subsidy.yaml index 8f4da0696c3..4b4d3e7b630 100644 --- a/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_daily_subsidy.yaml +++ b/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_daily_subsidy.yaml @@ -260,3 +260,76 @@ school_meal_breakfast_tier: [FREE, FREE, FREE, FREE, FREE, FREE, FREE, FREE, FREE, FREE, FREE, PAID, PAID, PAID, PAID, PAID, PAID, PAID, FREE] school_meal_lunch_tier: [FREE, FREE, FREE, FREE, FREE, FREE, FREE, FREE, FREE, FREE, PAID, PAID, PAID, PAID, PAID, PAID, PAID, PAID, FREE] school_meal_daily_subsidy: [7.30, 7.30, 7.30, 7.30, 7.30, 7.30, 9.48, 11.81, 7.30, 7.30, 2.99, 0.87, 0.87, 0.87, 0.87, 1.11, 1.38, 0.87, 7.30] + +# Guam, Puerto Rico and the Virgin Islands share Hawaii's rate column from SY +# 2020-21; Puerto Rico shares it from SY 2016-17. Calendar 2026 reads SY +# 2025-26 (90 FR 34827, 34829): lunch FREE 5.98, REDUCED 5.58, PAID 0.57; +# breakfast FREE 3.18, REDUCED 2.88, PAID 0.51. FREE 5.98 + 3.18 = 9.16; +# REDUCED 5.58 + 2.88 = 8.46; PAID 0.57 + 0.51 = 1.08. +- name: Territories use the Guam, Hawaii, Puerto Rico and Virgin Islands rates in calendar 2026. + period: 2026 + absolute_error_margin: 0.001 + input: + state_code: [GU, GU, GU, PR, PR, PR, VI, VI, VI] + school_meal_tier: [FREE, REDUCED, PAID, FREE, REDUCED, PAID, FREE, REDUCED, PAID] + output: + school_meal_daily_subsidy: [9.16, 8.46, 1.08, 9.16, 8.46, 1.08, 9.16, 8.46, 1.08] + +# Calendar 2027 reads SY 2026-27 (91 FR 43597, 43599): FREE 6.19 + 3.29 = +# 9.48; REDUCED 5.79 + 2.99 = 8.78; PAID 0.59 + 0.52 = 1.11. +- name: Territories use the Guam, Hawaii, Puerto Rico and Virgin Islands rates in calendar 2027. + period: 2027 + absolute_error_margin: 0.001 + input: + state_code: [GU, GU, GU, PR, PR, PR, VI, VI, VI] + school_meal_tier: [FREE, REDUCED, PAID, FREE, REDUCED, PAID, FREE, REDUCED, PAID] + output: + school_meal_daily_subsidy: [9.48, 8.78, 1.11, 9.48, 8.78, 1.11, 9.48, 8.78, 1.11] + +# Guam and the Virgin Islands used the contiguous-state rates through SY +# 2019-20 (84 FR 38590: "The District of Columbia, Virgin Islands, and Guam +# use the figures specified for the contiguous States"), read in calendar +# 2020: lunch free 0.32 + 3.09 = 3.41, breakfast free 1.84, total 5.25. SY +# 2020-21 (85 FR 44270) lists one column for Guam, Hawaii, Puerto Rico and +# the Virgin Islands, read in calendar 2021: lunch free 0.39 + 3.72 = 4.11, +# breakfast free 2.21, total 6.32. +- name: Guam and the Virgin Islands receive the contiguous-state free rates in calendar 2020. + period: 2020 + absolute_error_margin: 0.001 + input: + state_code: [GU, VI] + school_meal_tier: [FREE, FREE] + output: + school_meal_daily_subsidy: [5.25, 5.25] + +- name: Guam and the Virgin Islands receive the Hawaii free rates in calendar 2021. + period: 2021 + absolute_error_margin: 0.001 + input: + state_code: [GU, VI] + school_meal_tier: [FREE, FREE] + output: + school_meal_daily_subsidy: [6.32, 6.32] + +# Puerto Rico used the contiguous-state rates in SY 2015-16 (80 FR 42470), +# read in calendar 2016: lunch free 0.29 + 2.78 = 3.07, breakfast free 1.66, +# total 4.73. From SY 2016-17 the notices list "Hawaii and Puerto Rico" +# together (81 FR 51842), read in calendar 2017: lunch free 0.35 + 3.34 = +# 3.69, breakfast free 1.99, total 5.68. +- name: Puerto Rico receives the contiguous-state free rates in calendar 2016. + period: 2016 + absolute_error_margin: 0.001 + input: + state_code: PR + school_meal_tier: FREE + output: + school_meal_daily_subsidy: 4.73 + +- name: Puerto Rico receives the Hawaii free rates in calendar 2017. + period: 2017 + absolute_error_margin: 0.001 + input: + state_code: PR + school_meal_tier: FREE + output: + school_meal_daily_subsidy: 5.68 diff --git a/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_fpg.yaml b/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_fpg.yaml new file mode 100644 index 00000000000..a0581ca7f16 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_fpg.yaml @@ -0,0 +1,32 @@ +# USDA's SY 2026-27 income eligibility guidelines (91 FR 17932, 17934) list +# one table for the "48 contiguous States, District of Columbia, Guam, and +# territories", with a one-person poverty guideline of $15,960 and a +# two-person guideline of $21,640; Alaska ($19,950) and Hawaii ($18,360) +# have their own tables. HHS defines no guideline for the territories, so +# spm_unit_fpg stays $0 there. +# https://www.govinfo.gov/content/pkg/FR-2026-04-09/pdf/2026-06842.pdf#page=3 +- name: Case 1, Guam, Puerto Rico and the Virgin Islands use the 48-state guideline for one person in 2026. + period: 2026 + input: + state_code: [GU, PR, VI, NC, AK, HI] + output: + spm_unit_fpg: [0, 0, 0, 15_960, 19_950, 18_360] + school_meal_fpg: [15_960, 15_960, 15_960, 15_960, 19_950, 18_360] + +- name: Case 2, a parent and child in Guam use the 48-state guideline for two people in 2026. + period: 2026 + input: + people: + person1: + age: 35 + person2: + age: 10 + spm_units: + spm_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: GU + output: + school_meal_fpg: 21_640 diff --git a/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_fpg_ratio.yaml b/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_fpg_ratio.yaml index 52170645f52..f8645aa678d 100644 --- a/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_fpg_ratio.yaml +++ b/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_fpg_ratio.yaml @@ -5,3 +5,13 @@ spm_unit_fpg: 2 output: school_meal_fpg_ratio: 0.5 + +# The territories divide by the 48-state guideline, $15,960 for one person in +# 2026 (91 FR 17934), rather than by their $0 spm_unit_fpg. +- name: Territories divide countable income by the 48-state guideline in 2026. + period: 2026 + input: + state_code: [GU, PR, VI] + school_meal_countable_income: [0, 7_980, 15_960] + output: + school_meal_fpg_ratio: [0, 0.5, 1] diff --git a/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_paid_daily_subsidy.yaml b/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_paid_daily_subsidy.yaml index 8a7333d9183..62e47be5b03 100644 --- a/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_paid_daily_subsidy.yaml +++ b/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_paid_daily_subsidy.yaml @@ -31,3 +31,22 @@ state_code: [NC, AK, HI] output: school_meal_paid_daily_subsidy: [0.87, 1.38, 1.11] + +# Guam, Puerto Rico and the Virgin Islands share Hawaii's rate column: SY +# 2025-26 NSLP paid 0.57 + SBP paid 0.51 = 1.08 (90 FR 34827, 34829); SY +# 2026-27 NSLP paid 0.59 + SBP paid 0.52 = 1.11 (91 FR 43597, 43599). +- name: Territories receive Hawaii's paid reimbursements in calendar 2026. + period: 2026 + absolute_error_margin: 0.001 + input: + state_code: [GU, PR, VI] + output: + school_meal_paid_daily_subsidy: [1.08, 1.08, 1.08] + +- name: Territories receive Hawaii's paid reimbursements in calendar 2027. + period: 2027 + absolute_error_margin: 0.001 + input: + state_code: [GU, PR, VI] + output: + school_meal_paid_daily_subsidy: [1.11, 1.11, 1.11] diff --git a/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_tier.yaml b/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_tier.yaml index bc7ac0e22e0..784247668c1 100644 --- a/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_tier.yaml +++ b/policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_tier.yaml @@ -1175,10 +1175,11 @@ spm_unit_fpg: [15_960, 15_960] school_meal_tier: [FREE, PAID] -# The territories have a $0 guideline in the model, so the federal limits fall -# back to the unrounded ratios: 1.3 is FREE, 1.85 is REDUCED and 1.8501 is -# PAID. -- name: Puerto Rico's zero guideline keeps the unrounded federal ratio limits in 2026. +# HHS defines no guideline for the territories, so spm_unit_fpg is $0, but +# USDA applies the 48-state guideline there (91 FR 17934): $15,960 for one +# person in 2026. 1.3 * 15,960 = 20,748 and 1.85 * 15,960 = 29,526 are whole +# dollars, so 1.3 is FREE, 1.85 is REDUCED and 1.8501 is PAID. +- name: Puerto Rico's federal ratio limits use the 48-state guideline in 2026. period: 2026 input: state_code: [PR, PR, PR] @@ -1186,4 +1187,38 @@ meets_school_meal_categorical_eligibility: [false, false, false] output: spm_unit_fpg: [0, 0, 0] + school_meal_fpg: [15_960, 15_960, 15_960] school_meal_tier: [FREE, REDUCED, PAID] + +# USDA's SY 2026-27 income eligibility guidelines apply the 48-state table to +# Guam and the territories (91 FR 17932, 17934). One person: free-meal limit +# 1.30 * 15,960 = 20,748; reduced-price limit 1.85 * 15,960 = 29,526. With no +# categorical eligibility, $0 and $20,748 are FREE, $20,749 and $29,526 are +# REDUCED and $29,527 is PAID. Puerto Rico supplies categorical eligibility +# as an input because the model computes no SNAP there. +- name: Guam one-person households at zero income and around the published free and reduced-price limits in 2026. + period: 2026 + input: + state_code: [GU, GU, GU, GU, GU] + school_meal_countable_income: [0, 20_748, 20_749, 29_526, 29_527] + meets_school_meal_categorical_eligibility: [false, false, false, false, false] + output: + school_meal_tier: [FREE, FREE, REDUCED, REDUCED, PAID] + +- name: Virgin Islands one-person households at zero income and around the published free and reduced-price limits in 2026. + period: 2026 + input: + state_code: [VI, VI, VI, VI, VI] + school_meal_countable_income: [0, 20_748, 20_749, 29_526, 29_527] + meets_school_meal_categorical_eligibility: [false, false, false, false, false] + output: + school_meal_tier: [FREE, FREE, REDUCED, REDUCED, PAID] + +- name: Puerto Rico one-person households at zero income and around the published free and reduced-price limits in 2026. + period: 2026 + input: + state_code: [PR, PR, PR, PR, PR] + school_meal_countable_income: [0, 20_748, 20_749, 29_526, 29_527] + meets_school_meal_categorical_eligibility: [false, false, false, false, false] + output: + school_meal_tier: [FREE, FREE, REDUCED, REDUCED, PAID] diff --git a/policyengine_us/variables/gov/usda/school_meals/school_meal_fpg.py b/policyengine_us/variables/gov/usda/school_meals/school_meal_fpg.py new file mode 100644 index 00000000000..ffeba03780f --- /dev/null +++ b/policyengine_us/variables/gov/usda/school_meals/school_meal_fpg.py @@ -0,0 +1,32 @@ +from policyengine_us.model_api import * +from policyengine_us.variables.gov.aca.eligibility.aca_fpg import ( + CONTIGUOUS_STATE_GROUP, + STATE_GROUPS_WITHOUT_GUIDELINE, +) +from policyengine_us.variables.gov.hhs.tax_unit_fpg import fpg + + +class school_meal_fpg(Variable): + value_type = float + entity = SPMUnit + label = "School meal federal poverty guideline" + definition_period = YEAR + unit = USD + documentation = ( + "Poverty guideline behind the school meal income eligibility " + "guidelines. USDA applies the guideline for the 48 contiguous states " + "and the District of Columbia to Guam and the territories, for which " + "HHS defines no guideline; Alaska and Hawaii keep their own." + ) + reference = ( + "https://www.law.cornell.edu/uscode/text/42/1758#b_1_A", + "https://www.govinfo.gov/content/pkg/FR-2026-04-09/pdf/2026-06842.pdf#page=3", + ) + + def formula(spm_unit, period, parameters): + guideline = spm_unit("spm_unit_fpg", period) + state_group = spm_unit.household("state_group_str", period) + in_territory = np.isin(state_group, STATE_GROUPS_WITHOUT_GUIDELINE) + size = spm_unit("spm_unit_size", period) + contiguous_guideline = fpg(size, CONTIGUOUS_STATE_GROUP, period, parameters) + return where(in_territory, contiguous_guideline, guideline) diff --git a/policyengine_us/variables/gov/usda/school_meals/school_meal_fpg_ratio.py b/policyengine_us/variables/gov/usda/school_meals/school_meal_fpg_ratio.py index 2ce76a5eb87..fe64dc4ed38 100644 --- a/policyengine_us/variables/gov/usda/school_meals/school_meal_fpg_ratio.py +++ b/policyengine_us/variables/gov/usda/school_meals/school_meal_fpg_ratio.py @@ -6,9 +6,11 @@ class school_meal_fpg_ratio(Variable): label = "School meal FPG ratio" entity = SPMUnit definition_period = YEAR - documentation = "SPM unit's federal poverty ratio for school meal program" + documentation = ( + "SPM unit's countable income as a share of the school meal poverty guideline." + ) unit = "/1" def formula(spm_unit, period, parameters): income = spm_unit("school_meal_countable_income", period) - return income / spm_unit("spm_unit_fpg", period) + return income / spm_unit("school_meal_fpg", period) diff --git a/policyengine_us/variables/gov/usda/school_meals/school_meal_tier.py b/policyengine_us/variables/gov/usda/school_meals/school_meal_tier.py index 3845b20014b..7f9d68bdb08 100644 --- a/policyengine_us/variables/gov/usda/school_meals/school_meal_tier.py +++ b/policyengine_us/variables/gov/usda/school_meals/school_meal_tier.py @@ -13,8 +13,7 @@ def whole_dollar_ratio_limit(limit, fpg, dtype): a fraction of a cent above a whole dollar, which projected guidelines can produce, still rounds up. Then divide the dollar limit by the guideline in the precision of school_meal_fpg_ratio, so a household exactly at the - published limit passes. A zero guideline (the territories) keeps the - unrounded limit. + published limit passes. A zero guideline keeps the unrounded limit. The product is rounded for each household size, the method the notice states. Above eight people, USDA's table instead adds a rounded @@ -74,7 +73,7 @@ class school_meal_tier(Variable): def formula(spm_unit, period, parameters): fpg_ratio = spm_unit("school_meal_fpg_ratio", period) - fpg = spm_unit("spm_unit_fpg", period) + fpg = spm_unit("school_meal_fpg", period) p = parameters(period).gov.usda.school_meals p_income_limit = p.income.limit state = spm_unit.household("state_code_str", period)