Skip to content

feat: accept setup-based profiling evidence #10

Closed

Description

@Jammy2211

Overview

Prepare Pulse to read the setup-oriented profiling catalogue used by the planned scientist-facing dashboard and assistant. Retain v1 ingestion and require explicit, compatible evidence selections. This is the first bounded phase of the approved full profiling refactor.

Accept setup-based profiling evidence

Type: feature
Target: pyautopulse
Repos: PyAutoPulse
Difficulty: medium
Consequence: judge
Autonomy: human-required
Priority: high
Filed: 2026-10-05

Primary repo: @PyAutoPulse
Classification: workspace/organ; no library changes.
Branch: feature/profiling-setup-contract
Worktree: /home/jammy/Code/PyAutoLabs/.worktrees/profiling-setup-contract

Approved high-level plan

  1. Add the v2 setup/evidence exchange contract while retaining v1 support.
  2. Validate typed measurements, setup links, explicit selections, coverage,
    hazards and recommendation applicability without scientific judgement.
  3. Exercise both versions through the existing ingestion/rendering pipeline,
    document the producer contract and test invalid/mismatched evidence.

Tier: judge — merge mode: human /prm.

Detailed plan

Phase 1: Pulse contract reader (PyAutoPulse)

Suggested issue: feat: accept setup-based profiling evidence
Suggested branch: feature/profiling-setup-contract

  • Extend pulse/summary.py, REFERENCE.md, and contract fixtures/tests with a
    new version for setup-oriented multi-axis evidence. Continue accepting v1
    during migration; deploy the reader before the new producer.
  • Separate setup identity (dataset family, model family, instrument, exact
    dataset/configuration identity) from measurement identity (axis, method,
    hardware, backend, precision, measured revision, run ID).
  • Include explicit units, statistic/repetitions where available, configuration
    dimensions, evidence anchors, validation status, missing-data reasons,
    recommendations and their applicability. Preserve captured commit semantics.
  • Keep runtime seconds, compile seconds, component timings, host memory and
    VRAM as different typed metrics. A component is never a full likelihood;
    device total/allocated memory is not inferred to be peak process VRAM.
  • Selection belongs to the project: a reference maps each setup/metric to a
    specific record. Expose absent/unreviewed evidence honestly. Do not silently
    join different solvers, regularizations, revisions or hardware configurations.
  • Test v1/v2 coexistence, unknown versions, empty projects, invalid references,
    units, non-finite values, unsafe evidence paths, duplicate IDs and mismatches.

Parent and authorization

The complete architecture and original verbatim request are in
draft/feature/pyautopulse/profiling_setup_browser.md. User approved the full
plan and continuation on 2026-10-05. The reader must land before the producer
begins publishing v2. Keep the registry on v1 until the producer migration;
the setup browser itself is a later phase. No measurements are submitted.

Original follow-up authorization (verbatim):

yeah I authorize you to contonue, can you even remove its worttree?

Routing correction: the Feature CLI inferred library for this single-organ task.
PyAutoPulse is a stdlib/YAML organ, not a scientific library; use the approved
standalone workspace/organ route. This is the bounded reader phase of the epic.

Branch survey

PyAutoPulse: main, clean, no competing claim. Plan and continuation approved in the current session.

Activity

  1. Jammy2211 commented on Oct 5, 2026

    @Jammy2211
    ContributorAuthor

    Development-only Heart RED override for this task

    Heart

    The authoritative readiness query reports RED: release validation FAILED (stage integrate).
    Live user authorization (2026-10-05), in response to the explicit Pulse #10 development-only override request: “I authorize”. This authorizes commit, push, and opening this pending-release PR despite that exact RED reason. Applicable gates passed: 184 tests, Ruff lint/format, and offline snapshot/dashboard/state checks. No separate independent review was required or claimed on this human-approved path. Merge remains a separate human action with green required CI; no release, rehearsal, or baseline acceptance is authorized.

  2. Jammy2211 commented on Oct 5, 2026

    @Jammy2211
    ContributorAuthor

    Workspace PR Created: #11

    Head: d9d2377. Phase 1 reader implemented; 184 tests, Ruff checks and offline snapshot/dashboard checks passed. Development-only Heart RED override recorded above and in PR/Mind/calibration log. Pending human merge and green required CI. Producer/catalogue, browser, source migration, wiki/assistant and baseline preparation remain in the parent plan.

  3. Jammy2211 commented on Oct 5, 2026

    @Jammy2211
    ContributorAuthor

    Shipped: #11

    Merged as caa500f after the human invoked $prm. Both exact-head CI jobs passed (lint 37285494916; dashboard dry run 37285495040). 184 local tests, Ruff checks and offline contract/dashboard validation passed. Phase 1 is complete; the project exporter, setup browser and subsequent refactor phases remain in the parent plan. Heart RED development override remains recorded; this was not a release.

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