Repository navigation
fix(ui): label dashboard figures for what they measure - #4368
Merged
Merged
Conversation
Contributor
|
Reviewed the whole diff: nothing to fix. ✅ Health of changed files: 8.38 → 8.39 (+0.01; structure +0.01)
CoveragePatch coverage 100.0% (6 of 6 changed executable lines covered)
Report from this run for Doc drift
🧾 Evidence: 6 not known
📊 See the full report for this PR Settings and updatesUpdated 2026-10-22 07:46 UTC |
RaghavChamadiya
force-pushed
the
fix/dashboard-label-truth
branch
from
October 22, 2026 04:31
1032c7b to
3c9d402
Compare
The workspace "Doc freshness" figure averaged page confidence; it is now fresh pages over all pages, from a fresh_page_count on each workspace repo entry. The repo card and graph node name that confidence figure as doc confidence instead of docs or coverage. A workspace repo that health has not scored had a stand-in score built from doc confidence and hotspot share, drawn on the system map as code health. The graph sends null for it instead, and the map reads "No health score". The Overview's code health door and inventory row print open_findings, the total get_overview and `repowise health` print, instead of the queue inventory, which leaves zero-impact findings out.
RaghavChamadiya
force-pushed
the
fix/dashboard-label-truth
branch
from
October 22, 2026 07:44
3c9d402 to
b1713a8
Compare
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 dashboard figures said something their data did not measure.
doc_coverage_pct). Confidence records how a page was written (template 1.0, model 0.8); it does not say whether the page is current.get_overview,repowise healthand the same payload'sopen_findingsall say 13,563. The UI read the queue inventory, which leaves out zero-impact findings: 1,401 performance and 791 governance, 2,192 in total.How
/api/workspacerepo entries carryfresh_page_count. The pages, fresh pages and confidence come from one query, so each repo costs 6 sqlite statements instead of 7, and the pinned budget is updated to match. The workspace ribbon is fresh pages over all pages, floored, which is the share the single-repo overview reports. Repo rows also get "% of N doc pages fresh"./api/workspace/graphsendshealth_score: nullwhen health has not scored a repo, and the stand-in score andhealth_score_sourceare removed. The system map leaves such repos out of its health join, so their nodes read "No health score".RepoCardreads "N% doc confidence" instead of "N% docs".WorkspaceGraphNodereads "N% doc conf." instead of "N% cov".inventoryRowsandbuildExplorereadhealth.open_findings.repowise healthwas already on the same definition (open_finding_count): 13,563 on the same index. No CLI change.Verification
repowise serveon a copy of this repository's index, set up as a one-repo workspace, with curl of the routes and the overview model functions run on the served payload:open_findings/repowise healthTests: workspace router (fresh pages, null health, query budget), generated HTTP types, overview and workspace pytest suites (371 passed); ui vitest (2,781 passed); new web test for the freshness helper and both locales. Type-check is clean for ui, web and api-client.
health --score --against origin/mainon the touched files shows no drop.