Add Massachusetts CSFP county filtering#8625
Merged
Merged
Conversation
Gates federal CSFP eligibility for Massachusetts households by the counties served by The Greater Boston Food Bank, the sole local agency under the Massachusetts CSFP State Plan (DESE). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8625 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 29 36 +7
=========================================
+ Hits 29 36 +7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Summary
ma_dese_csfp_county_eligiblegating the Commodity Supplemental Food Program by Massachusetts county, following the Kansas ([codex] Add Kansas CSFP county filtering #8585) and Missouri precedents.gov/states/ma/dese/csfp/counties.yamllisting the six covered counties.state_codeisMA.Program research
Massachusetts CSFP is administered by the Department of Elementary and Secondary Education (DESE), Office for Food and Nutrition Programs — not MDAR (which runs MEFAP/SFMNP) — hence the
gov/states/ma/dese/csfp/path. The MA CSFP State Plan names DESE as the distributing agency and The Greater Boston Food Bank as the sole local agency; the DESE food distribution page confirms this.No government document enumerates counties directly, so the covered counties are derived from GBFB's 35+ CSFP distribution sites, each mapped to its county (same derivation approach as the KS site list and MO site map):
Counties verified as not served:
Changes
parameters/gov/states/ma/dese/csfp/counties.yaml— six covered counties, effective 2025-01-01variables/gov/states/ma/dese/csfp/ma_dese_csfp_county_eligible.py— household-level county check (mirrorsks_dcf_csfp_county_eligible)variables/gov/usda/csfp/commodity_supplemental_food_program_eligible.py— adds the MA county gate alongside KS and MOtests/policy/baseline/gov/states/ma/dese/csfp/ma_dese_csfp_county_eligible.yaml— covered counties (Suffolk, Plymouth) and uncovered counties (Barnstable, Worcester)tests/policy/baseline/gov/usda/csfp/commodity_supplemental_food_program_eligible.yaml— integrated MA casesTesting
make formatrun before commit🤖 Generated with Claude Code