Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct meets_school_meal_categorical_eligibility for vectorized inputs #5318

Merged
merged 2 commits into from
Nov 10, 2024

Conversation

anth-volk
Copy link
Contributor

Fixes #5317

See the write-up in #5317 that explains how this bug functions. This PR changes how we evaluate whether or not someone is categorically eligible for free school meals, checking whether the total value they receive from eligible programs is greater than 0. This is supported for Booleans (since True is cast to 1) and supported by an added test.

@anth-volk anth-volk requested a review from MaxGhenis November 10, 2024 17:11
@anth-volk
Copy link
Contributor Author

Pushed the changes and confirmed they ran locally

@MaxGhenis MaxGhenis merged commit fb94921 into master Nov 10, 2024
3 checks passed
@MaxGhenis MaxGhenis deleted the fix/cat-elig branch November 10, 2024 18:07
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.

Bug in meets_school_meal_categorical_eligibility
2 participants