Add scoped Stage 3 fit result bundles#1046
Merged
Merged
Conversation
cf9ef1e to
a52a0e1
Compare
6791792 to
171322a
Compare
e3eca4d to
bc42eef
Compare
bc42eef to
8f41e8b
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 #1045
Summary
FittedWeightsInputBundle,FitResultBytes, andFittedWeightsOutputBundletypes for scoped fit inputs/results._collect_outputs(...)as the legacy stdout-marker adapter while routing through the transport model.Validation
ruff check modal_app/pipeline.py modal_app/remote_calibration_runner.py policyengine_us_data/fit_weights/__init__.py policyengine_us_data/fit_weights/bundles.py tests/unit/fit_weights/test_bundles.py tests/unit/fit_weights/test_pipeline_docs.py tests/unit/test_pipeline_source_contracts.pyruff format --check modal_app/pipeline.py modal_app/remote_calibration_runner.py policyengine_us_data/fit_weights/__init__.py policyengine_us_data/fit_weights/bundles.py tests/unit/fit_weights/test_bundles.py tests/unit/fit_weights/test_pipeline_docs.py tests/unit/test_pipeline_source_contracts.pyuv run --no-sync --with pytest --with pyyaml --with huggingface-hub python -m pytest tests/unit/fit_weights/test_bundles.py tests/unit/fit_weights/test_pipeline_docs.py tests/unit/test_pipeline.py tests/unit/test_pipeline_doc_guards.py tests/unit/test_pipeline_docs_extractor.py tests/unit/test_pipeline_source_contracts.py tests/unit/test_remote_calibration_runner.pyuv run --no-sync --with pyyaml python scripts/run_quality_guards.pyuv run --no-sync --with pyyaml python scripts/extract_pipeline_docs.py --json /private/tmp/stage3-pr3b-pipeline-docs/pipeline_map.json --api-json /private/tmp/stage3-pr3b-pipeline-docs/pipeline_api.json --markdown /private/tmp/stage3-pr3b-pipeline-docs/pipeline-map.mdmake lintuv run --no-sync --with towncrier towncrier check --compare-with agent/stage-3/pr-3a-specs-artifact-identitygit diff --check