Skip to content

feat(baseline): close setup-baseline by day zero; runtime_estimates export #503

Closed

Description

@Jammy2211

Likelihood lifecycle phase 3, day-zero write 4/4 (epic: PyAutoMind draft/research/autolens_profiling/likelihood_lifecycle_epic.md; ruling R10). It follows #502, the day_zero rule pages.

Heart RED override: invoked by the human on 2026-11-01 ("Override + create issue"). It covers development only; each PR merges only by the human's /prm.

High-level plan

  • Close setup-baseline (R10).
    • baseline/campaign.json becomes the closed manifest, superseded by day zero. It records the tag, catalogue/day_zero.json, the PyAutoPulse snapshots/day_zero/lens.json path and commit, the counts, and how day zero answers the draft's six unknowns.
    • The old 1,044-slot draft moves to archive/2026/11/setup_baseline_draft/.
    • scripts/misc/tooling/baseline_readiness.py and its tests are retired (human ruling).
    • baseline/README.md, wiki/campaigns/misc/setup_baseline.md and its index row are updated.
  • Confirm coverage. PyAutoPulse setup_browser.not_measured already reports 0 of 148 optimal planned cells, and the coverage matrix shows 232/232 current. A test makes that a standing witness.
  • runtime_estimates export (consumed in phase 5E).
    • A new scripts/misc/tooling/export_runtime_estimates.py --pulse ../PyAutoPulse reads the frozen day-zero snapshot and writes catalogue/runtime_estimates.yaml (human ruling).
    • It has one entry per stamped runtime cell (116): setup, role, decision_id, ms per evaluation and its source, resources, workers and projected calls/s per node, parallel efficiency (1.0, declared and unmeasured), and the record id.
    • CI runs it with --check.
  • PyAutoPulse (PR 2): the setup-baseline campaign and task go to complete with the closure note, and the board is regenerated.

Tier: judge. Merge mode: human /prm, separately for each PR, autolens_profiling first.

Detailed plan

  1. baseline/campaign.json, schema setup-baseline-closure v1: status: closed, superseded_by (tag, files, snapshot, counts), answers (the six unknowns → day zero), and draft (the archived path plus its sha256).
  2. git mv baseline/campaign.json archive/2026/11/setup_baseline_draft/campaign.json, then write the new closure file. Delete scripts/misc/tooling/baseline_readiness.py and scripts/misc/tooling/test/test_baseline_readiness.py, and remove any README or registry references to them.
  3. export_runtime_estimates.py: stdlib only. A deterministic YAML emitter. --check re-derives the file from the snapshot and compares. The snapshot's records_sha256 is verified.
  4. .github/workflows/lint.yml gains an export_runtime_estimates.py --check --pulse ../PyAutoPulse step.
  5. Tests: the export (116 cells, 39 decisions, the held cell included with no decision, --check drift), the closure manifest, and coverage (no not-measured optimal cell).

Branch: claude/awesome-rubin-ejb234 (restarted from main).

Activity

  1. Jammy2211 commented on Nov 1, 2026

    @Jammy2211
    ContributorAuthor

    Shipped. Both PRs were merged by the human's /prm on 2026-11-01.

    With this, likelihood lifecycle phase 3's day-zero write (4/4) is complete.


    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