You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Score: issue-density adjustment over-penalises one shared chrome element repeated on every page #2256
bugSomething isn't workingenginepackages/audit-engine, crawler, page-classifierin-progressclaimed by a lane; see ops/state/claims.tsvsize: Shamsterwheel
The issue-density adjustment cuts the overall score hard when one shared site-chrome element (a header logo link, a nav icon, a footer social link) has a finding repeated on every crawled page. One quick audit of 25 pages (internal MCP feedback, 2026-11-23) earned 87 before the adjustment (overallBeforeAdjustment). issueDensityAdjustment then removed 45 points, for a published score of 33.
Most of that density came from three single components counted on all 25 pages:
an a11y/aria-command-name logo link;
an a11y/link-text icon link with no name;
an a11y/label-content-name-mismatch social icon.
The report already knows these are one shared component each (fixOnce). For a prospect-facing report, 33/100 for one unnamed logo link reads as unfair, and it hides the real per-page quality.
Acceptance Criteria
The issue-density adjustment counts a finding that fixOnce (or the shared-component grouping) identifies as one shared component ONCE, not once per page it appears on. Or it caps how many points repeated-chrome occurrences can move the overall, with the cap documented.
Fixture test: one shared chrome finding repeated on N pages moves the overall by the same amount for N = 2 and N = 25, within the documented tolerance. Genuinely per-page findings still scale with page count.
The report's score breakdown shows how much of the adjustment came from shared components.
Decided: yes. The issue-density adjustment counts a shared component (fixOnce) once, or caps its effect, so one logo link on every page can't sink the score. Scores will move, and the release notes should say so.
bugSomething isn't workingenginepackages/audit-engine, crawler, page-classifierin-progressclaimed by a lane; see ops/state/claims.tsvsize: Shamsterwheel
Activity
nc9 commentedon Nov 22, 2026
Decided: yes. The issue-density adjustment counts a shared component (
fixOnce) once, or caps its effect, so one logo link on every page can't sink the score. Scores will move, and the release notes should say so.nik
test(rules): component evidence may raise the health score, never low…
feat(engine): count a shared chrome component once in the issue-densi…
test(rules): component evidence may raise the health score, never low…
docs(engine): describe the shared-component cap as one pool per score…
feat(engine): count a shared chrome component once in the issue-densi…