Skip to content

feat(data): add mobile device category foundations#31

Merged
Seungpyo1007 merged 3 commits into
mainfrom
data/import-staging
Jun 20, 2026
Merged

feat(data): add mobile device category foundations#31
Seungpyo1007 merged 3 commits into
mainfrom
data/import-staging

Conversation

@Seungpyo1007

@Seungpyo1007 Seungpyo1007 commented Jun 20, 2026

Copy link
Copy Markdown
Member

Summary

  • add tablet, watch, and PDA as first-class data categories with variant-folder validation
  • add tiny unverified fixture records for iPad Pro 11 M4, Galaxy Watch 42mm, and HP iPAQ H3600
  • expose the new collections in the public static dump, OpenAPI snapshot, homepage stats/history, and Playground selector
  • include tablet/watch/pda buckets in PR metadata summaries

Data policy

  • all new fixture records use verified: false
  • existing flat smartphone files are intentionally not moved in this PR
  • new/variant records use data/<category>/<brand>/<year>/<base_model_slug>/<variant_slug>.json

Verification

  • python -m app.validate
  • python TechEngine\integrity_check.py data --strict
  • cd site && npm.cmd run build
  • git diff --check origin/main...HEAD

Closes #1

Closes #19

@github-actions github-actions Bot added app Validator or application code changes ci CI and workflow changes data Dataset changes enhancement New feature or request site Homepage and public site changes labels Jun 20, 2026
@Seungpyo1007 Seungpyo1007 moved this from Todo to In Progress in TechAPI-Project Jun 20, 2026
@TechEngineBot

TechEngineBot commented Jun 20, 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 1 0 0 0 1 0
watch 1 0 0 0 1 0
pda 1 0 0 0 1 0
gpu 0 0 0 0 0 0
cpu 0 0 0 0 0 0

Changed record examples

tablet added

  • tablet/apple/2024/ipad-pro-11-m4/ipad-pro-11-m4-wifi-8gb-256gb.json - iPad Pro 11-inch (M4, Wi-Fi, 8GB/256GB)

watch added

  • watch/samsung/2018/galaxy-watch/galaxy-watch-global-bluetooth-42mm.json - Galaxy Watch (Bluetooth, 42mm)

pda added

  • pda/hp/2000/ipaq-h3600/ipaq-h3600-base.json - HP iPAQ H3600

Heuristic review

  • Added records by manufacturer/brand: apple: 1, samsung: 1, hp: 1
  • Added records by source class: other: 3
  • Heuristic warnings: none found.

Changed site

Area Added Modified Deleted
homepage/site 0 2 0

Modified site files

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

@TechEngineBot

TechEngineBot commented Jun 20, 2026

Copy link
Copy Markdown
Member

TechEngine validation stats: PASS

Data summary

Category Total Verified Unverified Missing verified Tracked Verified % of tracked
brand 189 0 60 129 60 0.0%
soc 2067 58 2009 0 2067 2.8%
smartphone 31671 184 31487 0 31671 0.6%
tablet 1 0 1 0 1 0.0%
watch 1 0 1 0 1 0.0%
pda 1 0 1 0 1 0.0%
gpu 2030 0 2030 0 2030 0.0%
cpu 3977 976 3001 0 3977 24.5%
all 39937 1218 38590 129 39808 3.1%

Warning

Tracked verified coverage is below 50% for brand 0.0% (0/60), tablet 0.0% (0/1), watch 0.0% (0/1), pda 0.0% (0/1), gpu 0.0% (0/2030), smartphone 0.6% (184/31671), soc 2.8% (58/2067), all 3.1% (1218/39808), 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:

07:13:40 [build] 2 page(s) built in 16.52s
07:13:40 [build] Complete!

@Seungpyo1007 Seungpyo1007 force-pushed the data/import-staging branch from c4484bd to 19762b6 Compare June 20, 2026 07:10
@Seungpyo1007 Seungpyo1007 merged commit 69d2916 into main Jun 20, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in TechAPI-Project Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app Validator or application code changes ci CI and workflow changes data Dataset changes 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 Massive dataset rebuild: CPU + brand + GPU + smartphone + SoC (1989-2026)

2 participants