Bump PolicyEngine US for data builds#987
Merged
Merged
Conversation
e769786 to
8ecaf0b
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
4fd79e6608bc2dac3a7fde0be37191cb4870bd85while PyPI publication is blockedWhy
PolicyEngine US PR #8298 fixed vectorized calculations that affect SNAP disability eligibility, Medicaid medically needy categories, TANF non-cash asset tests, and capital-gains flags. The latest PyPI release remains
1.691.3; PE-US1.691.10built but failed to upload because the PyPI project hit the 10 GB storage limit. I filed PolicyEngine/policyengine-us#8316 for that release blocker.On the current
enhanced_cps_2024.h5, comparing PE-US1.691.3to upstream1.691.10for 2024 shows the old vectorization bug was material before any recalibration:is_usda_disabledweighted mean: 1.000 -> 0.126has_qdiv_or_ltcgweighted mean: 1.000 -> 0.182That means the ECPS should be regenerated/recalibrated against the fixed model, not only rescored downstream.
Tests
uv sync --extra calibrationuv run pytest tests/unit/test_import.py tests/unit/test_enhanced_cps.py -quv lock --check