Monthlyize SSI payments and resource stocks#8375
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #8375 +/- ##
============================================
- Coverage 100.00% 83.57% -16.43%
============================================
Files 2 89 +87
Lines 57 1321 +1264
Branches 1 4 +3
============================================
+ Hits 57 1104 +1047
- Misses 0 216 +216
- Partials 0 1 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
MaxGhenis
force-pushed
the
monthly-ssi-fiscal-outlays
branch
2 times, most recently
from
May 22, 2026 12:15
654e91f to
6af0d13
Compare
MaxGhenis
force-pushed
the
monthly-ssi-fiscal-outlays
branch
from
May 22, 2026 12:59
6af0d13 to
c3dc940
Compare
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
Refs #7968.
This PR:
ssi_federal_fiscal_year_outlaysto capture SSI payment-date timing across fiscal yearsSTOCK, including SSI resources and TANF/resource variables that should not annualize balancesNotes
The resource-stock bug did not appear to break the standard annual SSI asset-limit eligibility path: upstream still failed SSI eligibility for a $2,100 resource case. It did affect direct monthly resource outputs and could affect monthly or annual conversions for resource intermediates, so this PR fixes the broader stock/flow issue.
State supplement tests were updated to assert monthly program outputs directly now that SSI and SSP-style payments are monthly.
Validation
uv run pytest policyengine_us/tests/core/test_resource_stock_variables.py policyengine_us/tests/test_build_metadata.py -q(6 passed, 1 skipped)uv run python -m policyengine_core.scripts.policyengine_command test policyengine_us/tests/policy/baseline/gov/ssa/ssi -c policyengine_us(161 passed)uv run python -m policyengine_core.scripts.policyengine_command test ...state SSP/OSS/OSSP paths... -c policyengine_us(397 passed)uv run ruff format .uv run ruff check .git diff --check