Skip to content

feat(site): add a Verification section to the homepage#86

Merged
Seungpyo1007 merged 1 commit into
mainfrom
feat/verify-section
Jun 23, 2026
Merged

feat(site): add a Verification section to the homepage#86
Seungpyo1007 merged 1 commit into
mainfrom
feat/verify-section

Conversation

@Seungpyo1007

@Seungpyo1007 Seungpyo1007 commented Jun 23, 2026

Copy link
Copy Markdown
Member

Adds a 05 — Verification section to the homepage that introduces the dataset's verification layer.

What it shows

  • Live snapshot (from 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.
  • T0–T3 explainer: offline trust score → source liveness → Wikidata cross-reference → reality-based promotion.

How the data reaches the page

site/scripts/build-verification.mjs copies a trimmed, render-ready view of status.json into site/public/v1/verification.json at build time (build-only, gitignored — same pattern as the history timeline). The page reads that one static file; no API calls.

Also: a verified nav link, and a backward-compatible decimals/suffix option on countUp.

Verified locally: npm run build passes; verification.json renders verified 9.84% (g10029 / y89462 / r2463).

Refs #1

Closes #19

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
@github-actions github-actions Bot added enhancement New feature or request site Homepage and public site changes labels Jun 23, 2026
@Seungpyo1007 Seungpyo1007 moved this from Todo to In Progress in TechAPI-Project Jun 23, 2026
@Seungpyo1007 Seungpyo1007 merged commit 670bd28 into main Jun 23, 2026
2 checks passed
@Seungpyo1007 Seungpyo1007 deleted the feat/verify-section branch June 23, 2026 18:14
@github-project-automation github-project-automation Bot moved this from In Progress to Done in TechAPI-Project Jun 23, 2026
@TechEngineBot

Copy link
Copy Markdown
Member

TechEngine change review: PASS

Check Result
python -m app.validate PASS
python integrity_check.py TechAPI/data --strict PASS
cd TechAPI/site && npm ci && npm run build PASS

Changed data

Category Added Modified Deleted Added verified Added unverified Added Kaggle-sourced
brand 0 0 0 0 0 0
soc 0 0 0 0 0 0
smartphone 0 0 0 0 0 0
tablet 0 0 0 0 0 0
watch 0 0 0 0 0 0
pda 0 0 0 0 0 0
gpu 0 0 0 0 0 0
cpu 0 0 0 0 0 0

Changed record examples

  • No data file changes detected.

Heuristic review

  • Heuristic warnings: none found.

Changed site

Area Added Modified Deleted
homepage/site 0 4 0

Modified site files

  • site/package.json
  • site/src/pages/index.astro
  • site/src/scripts/techapi.js
  • site/src/styles/techapi.css

@TechEngineBot

Copy link
Copy Markdown
Member

TechEngine validation stats: PASS

Data summary

Category Total Verified Unverified Missing verified Tracked Verified % of tracked
brand 189 10 179 0 189 5.3%
soc 2104 123 1981 0 2104 5.8%
smartphone 90118 8453 81665 0 90118 9.4%
tablet 3048 174 2874 0 3048 5.7%
watch 378 11 367 0 378 2.9%
pda 110 27 83 0 110 24.5%
gpu 2030 244 1786 0 2030 12.0%
cpu 3977 986 2991 0 3977 24.8%
all 101954 10028 91926 0 101954 9.8%

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.
Tracked coverage excludes records missing the verified field; see the Missing verified column for those records.
This does not fail validation. Keep imported records verified: false until manual audit, but treat this as follow-up verification work before relying on the affected categories as curated data.

Validation notes

  • Full advisory outlier listings are suppressed on successful runs because they are dataset-wide and mostly stable between PRs.
  • Failure runs still include a detailed log excerpt for debugging.

Key output:

## app.validate
## integrity_check.py --strict
loaded CPU=3977 GPU=2030
✅ integrity gate: no hard anomalies.
Integrity section Flagged lines
structural 0
CPU name/tier consistency (desktop mainstream only) 0
CPU single>multi (cinebench/geekbench — should be multi>=single) 0
CPU era-vs-score outliers 8
CPU cross-source ratio outliers (possible wrong-variant) 152
GPU cross-source ratio outliers + sanity 18

Homepage build:

18:20:48 [build] 2 page(s) built in 47.19s
18:20:48 [build] Complete!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request site Homepage and public site changes

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Track homepage and site improvements

2 participants