feat(site): add a Verification section to the homepage#86
Merged
Conversation
Surfaces the verification layer the dataset now ships with. A new "05 — Verification" section shows a live snapshot — the verified ratio (currently ~9.8%) and the green/yellow/red band distribution — alongside a short T0–T3 explainer (offline trust score → source liveness → Wikidata cross-reference → reality-based promotion). The snapshot is exposed at build time: build-verification.mjs copies a trimmed view of data/_verify/status.json into site/public/v1/verification.json (build-only, gitignored). The page reads that one static file. Adds a "verified" nav link and a backward-compatible decimals/suffix option to countUp. Refs #1
Member
TechEngine change review: PASS
Changed data
Changed record examples
Heuristic review
Changed site
Modified site files
|
Member
TechEngine validation stats: PASS
Data summary
Warning Tracked verified coverage is below 50% for watch 2.9% (11/378), brand 5.3% (10/189), tablet 5.7% (174/3048), soc 5.8% (123/2104), smartphone 9.4% (8453/90118), all 9.8% (10028/101954), gpu 12.0% (244/2030), pda 24.5% (27/110), and 1 more. Validation notes
Key output:
Homepage build: |
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.
Adds a 05 — Verification section to the homepage that introduces the dataset's verification layer.
What it shows
data/_verify/status.json): the verified ratio (~9.8%) with an animated count-up, and a green / yellow / red band distribution bar + legend counts, plus the snapshot date.How the data reaches the page
site/scripts/build-verification.mjscopies a trimmed, render-ready view ofstatus.jsonintosite/public/v1/verification.jsonat build time (build-only, gitignored — same pattern as the history timeline). The page reads that one static file; no API calls.Also: a
verifiednav link, and a backward-compatibledecimals/suffixoption oncountUp.Verified locally:
npm run buildpasses; verification.json rendersverified 9.84% (g10029 / y89462 / r2463).Refs #1
Closes #19