Repository navigation
Select distinct prior runs for unit timing comparisons - #277
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Unit timing collection could select the current run as its own baseline, leaving all 300 observations without comparisons despite older recorded runs. Select the latest distinct, earlier observation for each repository/Python leg within the current epoch. An isolated replay restores 289 comparisons, retains 11 genuinely missing comparisons, and identifies one slowdown.
Closes #276. Continues dashboard repair #274.
API Changes
The internal timing reader accepts optional current-run metadata; callers that omit it retain their existing behavior. No scientific library API or workspace migration is involved. See full details below.
Test Plan
Heart release readiness is YELLOW (85): seven generated-hook mismatches, two organism-map mismatches, and missing current-source rehearsal evidence. These are acknowledged within the human-approved dashboard repair scope; release integration is running separately. No score policy or missing-evidence guard is relaxed. Merge remains human /prm.
Full API Changes (for automation & release notes)
Changed Signature
heart.timings.previous_unit_rows(unit_dir=UNIT_DIR, since="", current_runs=None)adds optional per-repository/Python current observation metadata.Changed Behaviour
Migration