Skip to content

[codex] Add SNAP local proxy diagnostics scaffold#241

Draft
daphnehanse11 wants to merge 3 commits into
mainfrom
codex/snap-local-proxy-diagnostics
Draft

[codex] Add SNAP local proxy diagnostics scaffold#241
daphnehanse11 wants to merge 3 commits into
mainfrom
codex/snap-local-proxy-diagnostics

Conversation

@daphnehanse11

Copy link
Copy Markdown
Collaborator

Summary

Refs #240.

This starts the SNAP congressional-district validation path without changing calibration policy. It adds a validation-only snap_local_proxy diagnostics helper that can compare household-level Populace SNAP receipt/support against ACS S2201 district SNAP household estimates, including support and quality flags.

The release builder now recognizes an optional snap_local_proxy.json artifact in the release manifest when one is present, matching the optional diagnostics pattern used for demographics.json and reform_validation.json.

Notes

This PR intentionally does not promote ACS S2201 to a hard target and does not run formula SNAP by congressional district. It provides the testable payload builder and manifest hook so the next slice can wire the actual source/runtime inputs once we choose the cheapest build-time path.

Validation

  • uv run pytest packages/populace-build/tests/test_us_snap_local_proxy.py packages/populace-build/tests/test_us_fiscal_refresh_builder.py -q
  • uv run ruff check packages/populace-build/src/populace/build/us_runtime/snap_local_proxy.py packages/populace-build/src/populace/build/us_runtime/__init__.py tools/build_us_fiscal_refresh_release.py packages/populace-build/tests/test_us_snap_local_proxy.py packages/populace-build/tests/test_us_fiscal_refresh_builder.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant