Use WIC pregnancy count in family size - #8433
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8433 +/- ##
============================================
+ Coverage 77.77% 100.00% +22.22%
============================================
Files 1 2 +1
Lines 9 41 +32
============================================
+ Hits 7 41 +34
+ Misses 2 0 -2
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:
|
MaxGhenis
marked this pull request as draft
May 24, 2026 20:19
MaxGhenis
force-pushed
the
wic-pregnancy-count
branch
from
June 8, 2026 04:55
597db48 to
048727a
Compare
MaxGhenis
force-pushed
the
wic-pregnancy-count
branch
from
June 8, 2026 05:02
048727a to
534cf7b
Compare
MaxGhenis
marked this pull request as ready for review
June 8, 2026 05:04
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
current_pregnanciesinstead of a boolean pregnancy flag for WIC family-size adjustmentsis_pregnant-only path becausecurrent_pregnanciesdefaults fromis_pregnantFixes #8186.
Tests
uv run python -m policyengine_core.scripts.policyengine_command test policyengine_us/tests/policy/baseline/gov/usda/wic/wic_fpg.yaml policyengine_us/tests/policy/baseline/gov/usda/wic/wic_income_limit.yaml -c policyengine_usuv run ruff check policyengine_us/variables/gov/usda/wic/wic_fpg.py policyengine_us/variables/gov/usda/wic/wic_income_limit.pygit diff --check