Repository navigation
Add a school meal take-up input - #10834
Merged
Merged
Conversation
Preserve participation by default and gate annual net, free and reduced-price school meal benefits when users or datasets opt out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Convert decoded tiers to Python strings before scalar parameter lookups. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Preserve the CPI-U projection cases and school meal take-up cases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Distinguish paid-tier zeros from declined benefits and describe the participation input beyond formal declines. Remove the stale commit reference from the invariant test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
US + core hub merge audit, us#10834 at
🤖 Generated with Claude Code |
This was referenced Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
takes_up_school_meals_if_eligibleso users and datasets can decline computed school-meal benefits. The input defaults to true, preserving existing amounts when callers omit it. Callers can supply false to model nonparticipation.When a household tells the local educational agency that it doesn't want free or reduced-price benefits, its children "must have their benefits discontinued as soon as possible" under 7 CFR 245.6(c)(6)(iii).
School-meal totals and USDA participation
In the prior 2025-rules analysis, we estimated $31.670 billion in free school meals and $1.680 billion in reduced-price meals, or $33.350 billion combined.
USDA publishes both costs and participation through FY2025 in its October 9, 2026 tables. USDA reports these federal costs:
Our prior combined estimate exceeds that amount by $8.385 billion, or 33.6%. USDA reports average daily participation of 30.0 million for lunch and 15.7 million for breakfast.
USDA averages participation across nine school months, excluding summer. The comparison spans annual modeled benefits and federal fiscal-year spending; USDA includes paid-meal reimbursements and commodities. USDA excludes federal support for state administration and breakfast start-up costs.
The gap does not identify a take-up rate or measure this PR's impact. Microcosm should supply participation assumptions through the new input. This PR retains full take-up defaults and leaves the modeled number of school days unchanged.
Invariants and validation
For households whose school-meal amounts the model computes from current-law rates:
All 44 YAML cases passed:
policyengine_us/tests/policy/baseline/gov/usda/school_meals/school_meal_net_subsidy.yamlfree_school_meals.yamlreduced_price_school_meals.yamlpolicyengine_us/tests/core/test_school_meal_takeup_invariants.pypassed with six generated examples. It checks Core's per-unit masks and default preservation across mixed group sizes, school ages, states, meal tiers and participation settings.Pull request run 43920337549 at
f33d52067epassed all 37 jobs on GitHub's merge with main8e1837790b.For computed benefits, setting take-up to false removes school-meal contributions to
spm_unit_benefits, household benefits and CBO means-tested transfers. It also removes the school-meal routes to ACP/EBB categorical eligibility and the Pell simplified-formula benefit list.Methodology choices
Related work
#10842 adds CSFP take-up separately. #10766 overlaps the free/reduced benefit files and their YAML cases. Merged #10838 splits free and reduced-price values by each child's meal tiers in the same two files, and the take-up gates apply to its formulas.
Microsimulation impact
We estimate that this branch changes none of the outputs below in 2026 on the default dataset. The new
takes_up_school_meals_if_eligibleinput defaults to true, and the default dataset holds no column for it, so every SPM unit keeps the school-meal amounts it gets onmain. When a caller or dataset sets the input to false for an SPM unit, the model computes $0 of free and reduced-price school meals for that unit. We comparedmainata29c73d587with this branch atf33d52067e.school_meal_net_subsidyfree_school_mealsreduced_price_school_mealsspm_unit_benefitscbo_household_means_tested_transfersstate_income_taxincome_taxhousehold_benefitshousehold_net_incomeaxiom: TheAxiomFoundation/rulespec-us#2296 queued (7 CFR 245.6(c)(6)(iii); the corpus lacks 7 CFR part 245, so the signed encoder can't run yet)
🤖 Generated with Claude Code