Skip to content

fix: compare unit timings against robust runner-adjusted medians - #308

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/unit-timing-robust-baseline
Oct 17, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/unit-timing-robust-baseline

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

A single unusually fast run was becoming the timing baseline. The CI collector now uses the median of seven distinct prior comparable runs, honoring Python, epoch, chronology and known cache boundaries. It estimates common runner speed only with at least five shared tests having three prior samples each. Raw seconds, normalization factor, sample counts and baseline run IDs remain available; the dashboard identifies normalized comparisons.

Scripts Changed

heart/timings.py, heart/checks/unit_timings.py, heart/dashboard.py, and synthetic regression tests. Import thresholds and legacy 1.5×/3× test thresholds are unchanged.

Validation

All 1,259 Heart tests and tenant firewall passed. Synthetic isolated 4× slowdown remains red with both normal and 2.1× slower runners. Replay of the committed October 16 PyAutoFit record: Python 3.12 has zero yellow/red test findings; NSS 3.13 uses a 6.1965 s median (four recorded test samples), yielding normalized ratio 1.20 instead of 3.56. Two unrelated 3.13 yellow findings remain (1.78 and 1.61), not suppressed. Sparse top-N data still limits normalization; fewer than five sufficiently sampled common tests uses factor 1.

Heart / authorization

Published Heart state at 2026-10-17 09:00 UTC: STALE — release validation stale: source moved since rehearsal (PyAutoFit, PyAutoGalaxy, PyAutoLens). Development PR only; no release-readiness claim. User requested four linked Mind tasks; one task per PR, stop at human /prm.

Closes #304

@Jammy2211
Jammy2211 merged commit 73696f8 into main Oct 17, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/unit-timing-robust-baseline branch October 17, 2026 18:48
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.

fix: use robust comparable-run unit timing baselines

1 participant