Add Stage 2 package payload reader#1075
Draft
anth-volk wants to merge 1 commit into
Draft
Conversation
5d9cde6 to
7c1c3e5
Compare
905ca62 to
712354b
Compare
712354b to
ae20bab
Compare
ae20bab to
2b97bdb
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.
Fixes #1073
Summary
CalibrationPackagePayload, reader, and writer helpers for typed access tocalibration_package.pklwhile preserving legacy dictionary pickle compatibility.ValidationReportrecords throughCalibrationPackagePayloadError.Validation
uv run --no-sync --with pyyaml python scripts/extract_pipeline_docs.pyruff check policyengine_us_data/calibration_package/__init__.py policyengine_us_data/calibration_package/payload.py tests/unit/calibration_package/test_payload.py tests/unit/test_calibration_package_stage_contract.py tests/unit/test_pipeline_docs_extractor.pyruff format --check policyengine_us_data/calibration_package/__init__.py policyengine_us_data/calibration_package/payload.py tests/unit/calibration_package/test_payload.py tests/unit/test_calibration_package_stage_contract.py tests/unit/test_pipeline_docs_extractor.pyuv run --no-sync --with sqlmodel python -m pytest tests/unit/calibration_package/test_payload.py tests/unit/test_calibration_package_stage_contract.py tests/unit/test_pipeline_doc_guards.py tests/unit/test_pipeline_docs_extractor.py tests/unit/test_remote_calibration_runner.py(58 passed)uv run --no-sync --with pyyaml python scripts/run_quality_guards.pymake lintgit diff --check origin/main...HEADgit diff --checkNotes