Add mp-300k artifact gates#18
Merged
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
mp300k_artifact_gates.jsonmicroplex-us-package-mp300k-gate-inputsso producer jobs can packageartifact.tar.gzplus evidence JSONs as one Actions artifactgate_inputs_artifactProducer handoff
A candidate-producing job can now do:
Then call this workflow with:
Local artifact run
Ran the new package command on
small-asec-acs40k-bea-lsr-v1using its real L0 candidate H5, existing PE-native broad-loss scores, and runtime smoke evidence. Then extracted the generated/tmp/mp300k_gate_inputs_small_asec_acs40k/artifact.tar.gzand ran artifact gates from the packaged archive.The packaged handoff report is at
/tmp/mp300k_gate_inputs_small_asec_acs40k/mp300k_artifact_gates.jsonand correctly fails the candidate on artifact size, runtime smoke, and eCPS comparison while passing artifact existence and structural compatibility.Key local result:
Checks
uv run --python 3.13 --extra dev python -m pytest tests/pipelines/test_mp300k_artifact_gates.py tests/pipelines/test_mp300k_gate_inputs.pyuv run --python 3.13 --extra dev --with pydantic --with-editable ../microplex pytest -q tests/pipelines/test_mp300k_artifact_gates.py tests/pipelines/test_mp300k_gate_inputs.pyuv run --python 3.13 --extra dev ruff check pyproject.toml src/microplex_us/pipelines/mp300k_artifact_gates.py src/microplex_us/pipelines/mp300k_gate_inputs.py tests/pipelines/test_mp300k_artifact_gates.py tests/pipelines/test_mp300k_gate_inputs.pyuv run --python 3.13 --extra dev ruff format --check src/microplex_us/pipelines/mp300k_artifact_gates.py src/microplex_us/pipelines/mp300k_gate_inputs.py tests/pipelines/test_mp300k_artifact_gates.py tests/pipelines/test_mp300k_gate_inputs.pygit diff --checkNotes
uv lock --check --python 3.13still wants to update the editable sibling../microplexfrom v0.1.0 to v0.2.0. This PR keepsuv.lockscoped to the new directh5pydependency instead of accepting unrelated local editable metadata churn.