Skip to content

feat(catalogue): class records from the Pulse designations; retire provisional_designations.json #497

Closed

Description

@Jammy2211

Likelihood lifecycle phase 3, day-zero write 1/4 (epic: PyAutoMind draft/research/autolens_profiling/likelihood_lifecycle_epic.md). The 39 designations are recorded in PyAutoPulse (PyAutoLabs/PyAutoPulse#84, decisions.yaml kind: designation); this is the producer side.

Heart RED override: invoked by the human 2026-10-31 ("Override + create issue"), development only; merge by human /prm. (The local helper in this session read STALE because the published feed is blocked by the environment's network policy; the human reports RED for release-integrate reasons unrelated to this task.)

High-level plan

  • Mirror the Pulse designations into catalogue/pulse_designations.json (generated by build_catalogue.py --sync-designations ../PyAutoPulse; CI's --check --validate-with ../PyAutoPulse fails on drift). Tooling stays stdlib-only and offline.
  • Records on a designation's key (likelihood × standard regime × hardware class; hpc_ral_cpu→cpu_many_core, hpc_a100→gpu_a100) whose setup is the designated optimal get class: optimal + decision_id; named secondaries get class: secondary + decision_id. Current and superseded rows alike.
  • Unnamed setups on a designated key → experimental (human ruling).
  • Records no designation covers (local_gpu, local_laptop, source_pixels_* regimes) inherit the reference-host / standard role as secondary with an undesignated_regime_or_host limitation and no decision_id (human ruling).
  • datacube/delaunay hpc_a100 stays provisional (secondary + provisional_optimal: true) via catalogue/designation_holds.json, which also carries the planning metadata kept from the retired file (GPU hosts, instrument-scoped NUFFT-at-sma rule).
  • Delete catalogue/provisional_designations.json; planned_setups / coverage_matrix.py / planned_cells derive from designations + hold; regenerate catalogue, coverage, README; update tests, READMEs, V3 limitations.

Tier: judge — merge mode: human /prm

Detailed plan

  1. scripts/misc/tooling/build_catalogue.py: --sync-designations PATH reads PATH/decisions.yaml, keeps kind: designation rows (id, likelihood, regime, hardware_class, optimal, secondary, evidence), writes the sorted mirror; --check --validate-with PATH re-derives and compares. lifecycle_candidates / parity_candidate take (class, decision_id, notes) from lc.record_class. V3_LIMITATIONS text updated.
  2. scripts/misc/tooling/catalogue_lifecycle.py: replace the §3.3 table loader with the mirror + holds; record_class(dataset_type, variant, host_class, setup_id, regime); planned_setups from optimal + secondary (GPU setups only on GPU hosts; instrument scoping kept).
  3. scripts/misc/tooling/coverage_matrix.py: read designations + holds instead of the provisional file.
  4. Tests: scripts/misc/tooling/test/test_coverage_matrix.py and friends move to the designation source; new test asserts every optimal record's decision_id is in the mirror and every evidence id exists.
  5. Regenerate dashboard/catalogue.json (+ shards), dashboard/coverage.{json,md}, README; repoint docs/comments.

Witness: build_catalogue.py --check --validate-with ../PyAutoPulse passes; pyauto-pulse ingest resolves every decision_id; coverage_matrix.py --check and tests pass.

Branch: claude/awesome-rubin-ejb234

Activity

  1. Jammy2211 commented on Oct 31, 2026

    @Jammy2211
    ContributorAuthor

    Shipped. #498 was merged by the human's /prm on 2026-10-31 as 8c40e7d. CI (lint, one job on head 3b32642) was green.

    • catalogue/pulse_designations.json mirrors the 39 PyAutoPulse designations. build_catalogue.py --check --validate-with ../PyAutoPulse checks it for drift and resolves every decision_id.
    • 536 records are class: optimal (283 of them current) across all 39 decision_ids. 368 records are named secondaries with a decision_id.
    • datacube/delaunay hpc_a100 stays provisional, via catalogue/designation_holds.json.
    • catalogue/provisional_designations.json is retired. Planned cells went from 272 to 232, and all are current.

    Next in the epic: day-zero write 2/4, the day_zero stamp and the Pulse day_zero snapshot.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions