Add pre-calibration eCPS export schema checks#138
Merged
Conversation
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
fsla_overtime_premium,has_itin,has_tin,in_nyc,meets_ssi_disability_criteria)--entity-tablesand direct-override support tomicroplex-us-check-export-columnsValidation
uv run --python 3.13 --extra dev --extra policyengine ruff check src/microplex_us/__init__.py src/microplex_us/policyengine/__init__.py src/microplex_us/policyengine/us.py src/microplex_us/pipelines/check_export_columns.py src/microplex_us/pipelines/us.py src/microplex_us/pipelines/pe_us_data_rebuild_checkpoint.py tests/policyengine/test_us.py tests/pipelines/test_check_export_columns.pyuv run --python 3.13 --extra dev --extra policyengine ruff format --check src/microplex_us/__init__.py src/microplex_us/policyengine/__init__.py src/microplex_us/policyengine/us.py src/microplex_us/pipelines/check_export_columns.py src/microplex_us/pipelines/us.py src/microplex_us/pipelines/pe_us_data_rebuild_checkpoint.py tests/policyengine/test_us.py tests/pipelines/test_check_export_columns.pyuv run --python 3.13 --extra dev --extra policyengine pytest tests/policyengine/test_us.py tests/pipelines/test_check_export_columns.py -qGate-1 comparison note
The fixed export surface passes the contract, but MP does not yet beat latest local eCPS on the primary sound comparison. Matched 41,314-household symmetric-refit holdout comparison against latest local eCPS gives MP loss
0.4294876907206762vs eCPS0.1726525197190867; eCPS refit recovery passed.