Skip to content

feat: regime joins the profiling-summary@3 one-current key (size variants) - #80

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/rectangular-28sq-profiling-rows
Oct 26, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/rectangular-28sq-profiling-rows

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

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 current record per key, and that key now includes regime (source size). A rectangular source_pixels_784 row, the 28² production preset the SLaM inference runs use, can therefore be current beside the 35² standard row 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.

  • New 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_measured uses covers. The detail pages, history and constant-column rule were already regime-aware.
  • REFERENCE documents the rule. There is no version bump: the rule only relaxes, so every previously valid capture stays valid.

Scripts Changed

  • pulse/catalogue.py: lifecycle_key + regime; covers()
  • pulse/setup_browser.py: not_measured via covers
  • REFERENCE.md: one-current rule; optional planned-cell regime
  • tests/: 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; covers unit test

Test Plan

  • ruff check / ruff format --check; pytest: 369 passed; pyauto-pulse check --offline OK. The browser test is left to CI (fixtures unchanged).
  • Producer branch build_catalogue.py --check --validate-with ../PyAutoPulse passes; a synthetic 1225 + 784 catalogue validates (and fails with this change stashed)
  • Independent review: CLEAN (3 low nits, none in this diff's scope)

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 dirty

This PR does not fix Heart. No release. Merge needs a fresh human /prm and green CI. Merge this before the autolens_profiling 28² rows PR.

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

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>
@Jammy2211
Jammy2211 merged commit 5474e3c into main Oct 26, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/rectangular-28sq-profiling-rows branch October 26, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant