Skip to content

feat(site): cross-category score cards (CPU/GPU/SoC) with tier + provenance#93

Merged
Seungpyo1007 merged 1 commit into
mainfrom
feat/score-cards
Jun 24, 2026
Merged

feat(site): cross-category score cards (CPU/GPU/SoC) with tier + provenance#93
Seungpyo1007 merged 1 commit into
mainfrom
feat/score-cards

Conversation

@Seungpyo1007

@Seungpyo1007 Seungpyo1007 commented Jun 24, 2026

Copy link
Copy Markdown
Member

Surfaces the new hybrid scores (engine v2.0.0) on the homepage. deviceCard(d, category) is generalized so CPUs, GPUs and SoCs render alongside phones: overall ring + per-category bars (CPU single/multi · GPU graphics · SoC cpu/system), a within-generation tier badge (S–F), the era, and a via <benchmark> provenance line. Featured shows a phone + CPU + GPU + SoC mix; the hero terminal streams overall/tier/source.

Merge after the dump-refresh PR (so the cpu/gpu/soc /score files exist). Refs #1

Closes #19

@github-actions github-actions Bot added enhancement New feature or request site Homepage and public site changes labels Jun 24, 2026
@Seungpyo1007 Seungpyo1007 moved this from Todo to In Progress in TechAPI-Project Jun 24, 2026
@TechEngineBot

TechEngineBot commented Jun 24, 2026

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 3 0

Modified site files

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

@TechEngineBot

TechEngineBot commented Jun 24, 2026

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:

09:21:33 [build] 2 page(s) built in 45.20s
09:21:33 [build] Complete!

The featured cards and playground were smartphone-only. Generalize deviceCard(d,
category) so CPUs, GPUs and SoCs render their hybrid scores too — the overall ring
plus per-category bars (CPU single/multi, GPU graphics, SoC cpu/system), a within-
generation tier badge (S–F), the era, and a "via <benchmark>" provenance line. The
featured section now showcases a phone + CPU + GPU + SoC mix, and the hero terminal
surfaces overall/tier/source. Adds a footer credit: validated, scored & served by
TechEngine. Pairs with engine scoring v2.0.0.

Refs #1
@Seungpyo1007 Seungpyo1007 merged commit 2aa4302 into main Jun 24, 2026
2 checks passed
@Seungpyo1007 Seungpyo1007 deleted the feat/score-cards branch June 24, 2026 09:25
@github-project-automation github-project-automation Bot moved this from In Progress to Done in TechAPI-Project Jun 24, 2026
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