Repository navigation
feat(health): one severity per Do next row, one meaning of stale coverage, a band on every headline score - #4365
Merged
Merged
Conversation
…age, a band on every headline score A Do next row's severity is the worst of the findings it rests on, held at high, so a Fix first row no longer says medium beside a high finding and the week's code-shape row no longer reads medium over critical findings. Ordering is unchanged. Coverage rows say a report was measured at an earlier commit, and the refresh rule's reason says the same instead of calling it recent enough. repowise health prints the band beside Production code, Hotspot and Worst as well as Code health, and the docs sample matches the real line.
swati510
approved these changes
Oct 22, 2026
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.
What
Three places where Repowise printed two answers for one fact:
mediumwhile itsseverityfact saidhigh. The week's code-shape row was alwaysmedium, even when its findings werecritical.coverage_stalerule said "Coverage is recent enough." for the same report.repowise healthprinted a band only on the all-files score. Production code at 6.89 is Fair but showed no band beside a Good headline, and the docs sample left that figure out.How
actions.model.evidence_severityis the one mapping. A row's severity is the worst of the findings it rests on, held at high, because critical is kept for a live credential. A row with no findings keeps its rule's own default. Fix first reads its finding's severity fact, and everyfresh_regressionsrow reads its details. Ordering is unchanged: these rules already set their own value, and the Fix first ceiling still reads the tier.build_coverageand TEST_INTELLIGENCE.md define it. Rows say "(measured at an earlier commit)". The rule's reason says the same and names when it asks for a refresh: once the report is 14 days older than the latest commit.grading. If too little of the repo was analysed, all the bands are left off together. The CODE_HEALTH.md sample now matches the real line.Verification
Measured on a copy of this repository's index, with the actions view rebuilt from stored facts by main and by this branch.
Before:
After: