Repository navigation
feat: regime joins the profiling-summary@3 one-current key (size variants) - #80
Merged
Merged
Conversation
A producer-declared size variant (regime source_pixels_<n>, e.g. the rectangular 28x28 = 784 production preset) is now current beside its standard row on otherwise equal key fields; two current rows of the same regime are still refused, and the error names all seven fields. Planned cells may declare a regime; without one they stay covered by a current record of any regime, so coverage is unchanged. The board was already regime-aware (SIBLING_KEY, row order, constant columns); tests pin both sizes rendering, Source size staying visible, and detail pages never mixing sizes. A relaxation only: no schema version bump. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 of 5 tasks
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
Part of PyAutoLabs/autolens_profiling#468, a scope addition the human approved on 2026-10-26: "Yes, small Pulse PR first".
The profiling-summary@3 rule allows one
currentrecord per key, and that key now includes regime (source size). A rectangularsource_pixels_784row, the 28² production preset the SLaM inference runs use, can therefore be current beside the 35²standardrow on an otherwise equal key. Two current rows with the same regime are still refused, and the error message lists all seven key fields. Every v3 record already declares a regime; @2 and walltime keys are unchanged.catalogue.covers(record, cell): a planned cell may optionally declare a regime. Without one, any current record covers it, so coverage results for today's data are unchanged.setup_browser.not_measuredusescovers. The detail pages, history and constant-column rule were already regime-aware.Scripts Changed
pulse/catalogue.py:lifecycle_key+ regime;covers()pulse/setup_browser.py:not_measuredviacoversREFERENCE.md: one-current rule; optional planned-cell regimetests/: a current standard + current 784 pair validates, a same-regime pair fails; board shows both sizes with the Source size column visible; detail pages don't mix sizes;coversunit testTest Plan
ruff check/ruff format --check;pytest: 369 passed;pyauto-pulse check --offlineOK. The browser test is left to CI (fixtures unchanged).build_catalogue.py --check --validate-with ../PyAutoPulsepasses; a synthetic 1225 + 784 catalogue validates (and fails with this change stashed)Heart RED override (development only)
Authorization (live human, 2026-10-26): "I approve of the override" for the rectangular 28² task. The human then extended it to this Pulse PR by choosing the option "Yes, small Pulse PR first", whose text read "Same RED override extended to it."
Exact RED reasons (published Heart feed):
release validation FAILED (stage integrate)·PyAutoHeart/workflows/Release Integrate: failure·PyAutoHeart/workflows/Workspace Smoke: failure·manifest_drift/checks/workspace checkouts (manifest ↔ disk): red·Release readiness: release validation FAILED (stage integrate)·autolens: red·Workspace validation: NOT ready — 1429p / 1f / 125s @ cloud#40294511523·test_run: red·Release validation: NOT release_ready — v? profile=? (2026-10-26T07:48:52+00:00)·validation_report/stages/integrate: fail·PyAutoBrain: red·PyAutoLens: red·autolens_profiling: red·Worktree drift: 1 orphan / 0 missing / 3 dirtyThis PR does not fix Heart. No release. Merge needs a fresh human
/prmand green CI. Merge this before the autolens_profiling 28² rows PR.Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code