Skip to content

No US build stage or take-up contract entry covers takes_up_csfp_if_eligible, new in policyengine-us 2.142.0 #1658

Open

Description

@MaxGhenis

What the code does today

policyengine-us 2.142.0 adds takes_up_csfp_if_eligible (PolicyEngine/policyengine-us#10842), a person input that defaults to true and gates Commodity Supplemental Food Program (CSFP) payments. It enforces no caseload limit and leaves the flag to data construction or a household calculation.

Main locks policyengine-us 2.2.1, and nothing on main names the input (git grep at 0036b95b). The take-up contract lists 17 programs and none for CSFP. The stored-column inventory labels populace-us-2024-spm-20260915 the published national default and lists nine takes_up_* columns for it, none for CSFP.

What follows

Under policyengine-us 2.142.0, a dataset without the column leaves every flag true. The engine then pays every person aged 60 or more who passes its income and county tests (code read; no simulation run). It counts the payment in household_benefits from 2024.

USDA assigned 707,000 caseload slots for calendar 2025 and told state agencies to keep average monthly participation within their assignments. Its state-by-state participation table reports an average of 716,020 participants a month in fiscal 2024 and a preliminary 700,707 in fiscal 2025.

Once the lock moves to an engine with the input, the adapter discovers it by its takes_up prefix. A contract test then requires a contract entry for it (code read; no test run).

What would settle it

  • A simulation of the published default under policyengine-us 2.142.0 would show how many weighted people receive CSFP, against USDA's counts.
  • A check of the locked survey inputs for a CSFP receipt item would show whether a reported anchor exists.

The contract's treatments include seed from an administrative participation rate, count_calibrated to administrative counts from a survey-reported anchor, and rate_unsourced at the default. Both USDA sources give counts, and the contract records a ratio of an administrative count to modeled eligibility as rate_unsourced.

A comment on #593 lists CSFP as a same-class exposure under PolicyEngine/policyengine-us#9260, which PolicyEngine/policyengine-us#10842 closed. Issues #323 and #1551 cover other inputs that policyengine-us leaves to the dataset.

🤖 Generated with Claude Code

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions