Repository navigation
freeze: --measurement filter for a per-measurement frozen label (6d) - #87
Merged
Merged
Conversation
…nder its own label `pyauto-pulse freeze --label day_zero_gradient --measurement gradient` freezes only the gradient records the producer stamped, beside the runtime day_zero (which stays untouched). The snapshot records `measurement`; `check` enforces it. Without the flag nothing changes. Likelihood lifecycle 6d, autolens_profiling#512. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Jammy2211
deleted the
feature/likelihood-lifecycle-p6d-gradient-ingest
branch
November 2, 2026 11:27
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.
Likelihood lifecycle phase 6d (autolens_profiling#512). The human ruled on 2026-11-02 that gradients get a separate frozen label,
day_zero_gradient, leaving the runtimeday_zerountouched.What changes
pulse/freeze.py:build/freezetake an optionalmeasurement. When it is set, only theday_zero-stamped records of that measurement are kept: exactly one tag among them, or the freeze is refused (the message names the measurement). The snapshot carriesmeasurement, andverify_oneflags any record of another measurement.pulse/cli.py:freeze --measurement M.day_zero/lens.jsonstill verifies (check --offline: OK).Tests
4 new: the filtered freeze beside the default label, refusal when nothing of the measurement is stamped, verify catching a foreign record, and the CLI path.
pytest tests: 380 passed. ruff check and format are clean.Not in this PR
The actual
freeze --instance lens --label day_zero_gradient --measurement gradient --commit <sha>runs once the autolens_profiling gradient ingest (6d step 1) has merged.Tier: judge. Merge only by the human's /prm.
🤖 Generated with Claude Code