Skip to content

feat: unit-test trends on the Heart board (SIG-2, #338) - #339

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/dev-metrics-boards
Nov 12, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/dev-metrics-boards

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

This is the programme M1 side lane. Closes #338.

Finding SIG-2 was re-checked on 2026-11-12 and holds:

  • 27 of 27 gate cards have a chart, but 0 of 12 suite cards and 0 of 12 import cards do;
  • the main-branch ledger on 3.12 grew from 6,154 to 9,777 tests and from 534 s to 1,189 s.

What changed:

  • unit_history() keeps main-branch ledger lines only, one point per Python leg per run day, respecting the epoch.
  • timings append persists it beside the census.
  • Each suite card gets wall-clock and test-count charts, and each import card an import-seconds chart.
  • A new "Organism total" card is added.
  • The gate charts are unchanged; the reviewer fuzzed 3000 histories against both versions and got identical output.

SIG-3 also holds on re-check (the Brain hygiene history is always empty). It needs PyAutoBrain, so it is split into Mind draft/feature/pyautobrain/brain_board_hygiene_ledger.md.

Test plan

  • Heart pytest tests/: 1334 passed, 7 of them new.
  • Tenant firewall OK.
  • Witness, reshaped because the live board updates only after the daily job: a local cloud-style render from the published data gives 12 of 12 suite cards with 2 charts, 12 of 12 import cards with 1 chart, and an organism total of 9,777.
  • Independent review: CLEAN. It checked for no leaked paths and a render that survives malformed or missing history.

Heart RED override (development only)

Authorization from the live human at the programme block gate, 2026-11-12: "Override + merge both". This authorizes the development-only RED override for #338 and gives the merge command, conditional on every required check being green within the turn.

Heart verdict RED (pyauto-heart readiness, ts 2026-11-12T19:30:21Z). The current RED reasons, verbatim: "PyAutoNerves: 2 commit(s) behind origin"; "PyAutoArray: 2 commit(s) behind origin"; "PyAutoGalaxy: 10 commit(s) behind origin"; "PyAutoLens: on branch feature/last-imaging-features-review (not main)"; "PyAutoLens: 3 uncommitted source change(s)"; "PyAutoCTI: 2 commit(s) behind origin"; "install verification FAILED (testpypi; checks F)"; "release validation FAILED (stage integrate)"

None of these is in the repos this PR changes. Branch gates passed: tests, review CLEAN, smoke not applicable. This PR does not fix Heart, and Heart stays RED for release.

Tier: glance. Merge mode: auto-merge on green if the Witness passes, with a post-merge summary. A RED override additionally needs the human's merge command, which was given in the same turn.

🤖 Generated with Claude Code

…sm total

The unit record (timings/unit/<repo>.jsonl) has been written daily since
2026-09-06, but the board drew a trend only for CI gates: 27 of 27 gate
cards carried a chart, 0 of 12 unit-suite and 0 of 12 import cards did.

- heart.timings.unit_history: main-branch lines only, one point per
  (python leg, run day), last run of the day wins, epoch-bounded.
- `timings append` writes it beside the census (timings_record.json),
  after today's lines land, so the charts end on today. census() and
  `show` are unchanged.
- timing_display: chart() generalised into plot(); gate output unchanged.
  Suite cards draw wall-clock and test count; import cards draw import
  seconds; one "Organism total" card with the summed test count trend.
- A render handed no record (dev box) draws nothing rather than "no history".

Refs #338 (SIG-2). SIG-3 (Brain hygiene ledger) is
out of this worktree's scope and left for a PyAutoBrain task.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit de77d0d into main Nov 12, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/dev-metrics-boards branch November 12, 2026 19:53
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.

feat: unit-test trends + hygiene ledger on the boards (side lane, re-check first)

1 participant