data(laptop): link cpu/gpu to the component catalog (1287 CPU + 509 GPU)#104
Conversation
Resolve laptop cpu_name/gpu_name strings to existing CPU/GPU records and set the optional `cpu`/`gpu` FKs (1287 CPU + 509 GPU links across 1467 laptops). Matching is exact on the model code (e.g. 7200U, RTX 3050) with a family cross-check; integrated GPUs and unmatched chips stay name-only. Raw cpu_name/gpu_name are kept. Refs #1
🤖 Review — PASS
Change: 1,287 CPU + 509 GPU foreign keys added across 1,467 laptops (of 1,935). Exact model-code match (7200U, RTX 3050) + family cross-check; integrated GPUs and catalog-missing chips stay name-only. No new records. Dump limited to the 1,467 affected laptop detail files. |
🔎 Data verification — Tier 0 (offline existence/trust)Scored by Changed records in this PRNo records scored. Full-dataset baseline105671 record(s) scored. %%{init: {"theme":"base","themeVariables":{"pie1":"#3fb950","pie2":"#d29922","pie3":"#f85149","pieStrokeWidth":"0px","pieOpacity":"1"}}}%%
pie showData
title Verification bands — all records
"Green" : 10029
"Yellow" : 93177
"Red" : 2465
green = authoritative source + complete + consistent · yellow = plausible, needs confirmation · red = sparse/weak source or a hard contradiction. Promotion to |
TechEngine change review: PASS
Changed data
Changed record examples
Heuristic review
|
TechEngine validation stats: PASS
Data summary
Warning Tracked verified coverage is below 50% for watch 2.5% (11/433), tablet 5.0% (174/3455), brand 5.3% (10/189), soc 5.8% (123/2104), smartphone 9.1% (8453/93343), all 9.5% (10028/105671), gpu 12.0% (244/2030), pda 19.3% (27/140), and 1 more. Validation notes
Key output:
|
What & why
Quality pass on the
laptopcategory: resolve each laptop'scpu_name/gpu_namestring to an existing CPU/GPU record and set the optionalcpu/gpuforeign keys. Laptop detail pages now link to the component catalog (e.g. a laptop → its Core i7-6700HQ and RTX 1060).cpu_name/gpu_nameare preserved.Commits (each
Refs #1): the FK-linking data commit + a surgical laptop-dump refresh.Closes #1
Checklist
python -m app.validate— ✅ passed (all cpu/gpu FKs resolve to real records)git diff --check— ✅ clean