Skip to content

Commit 5e30e8b

Browse files
committed
fix(data): un-pair 7 genuinely different smartphone devices sharing a base slug
The brand-prefix scan across #329/#330/#334 kept flagging some pairs as duplicates that are actually two DIFFERENT products which happen to share a base name — the mechanical slug-matching couldn't tell them apart. A focused pass for that specific pattern (name divergence, not the "same device / data conflict" or "needs a source" patterns already handled) found 7, each confirmed against a source as a distinct real device. Un-paired by giving the mis-slugged variant a distinct slug/filename /name so it is no longer a false duplicate of the base model. No merges; both records stay as separate devices. - HTC U11+ vs U11 — distinct fall-2017 model, smaller bezels, SD835/6GB/3930mAh vs the summer U11 (androidcentral). `u11` -> `u11-plus` (name "HTC U11+"). - HTC One M9+ vs One M9 — the M9+ uses a Helio X10 and QHD display, separate from the SD810 One M9. `one-m9` -> `one-m9-plus`. - Huawei P40 Pro+ vs P40 Pro — distinct higher model (pocket-lint, CNET). `p40-pro` -> `p40-pro-plus`. - Sony Xperia Z3+ vs Xperia Z3 — the Z3+ (a.k.a. Xperia Z4) is a distinct 2015 Snapdragon 810 model with its own Wikipedia page, vs the 2014 Z3 (Snapdragon 801). `xperia-z3` -> `xperia-z3-plus`. - Motorola Razr (2023) vs Razr (2019) — different foldable generations (SD 8+ Gen 1 vs SD 710). `razr` -> `razr-2023`. - Fairphone 3+ (2020) vs Fairphone 3 (2019) — successor model. The 3+ record -> `fairphone-3-plus-dual-sim-lte-fp3plus`. - Gigabyte GSmart GS202+ vs GS202 — distinct + variant. The + record -> `gsmart-gs202-plus`. Each renamed record keeps its own specs and sources untouched (nothing merged, nothing invented); only slug, base_model_slug, name and filename change so the two devices no longer collide as a false pair. New slugs are collision-free. Both gates pass: `python -m app.validate` and `integrity_check.py <data> --strict` (0 hard anomalies). Residual brand-prefix pairs drop from 183 to 176. Refs #296
1 parent ff811f5 commit 5e30e8b

7 files changed

Lines changed: 20 additions & 20 deletions

File tree

data/smartphone/fairphone/2020/fairphone-3-dual-sim-lte-fp3.json renamed to data/smartphone/fairphone/2020/fairphone-3-plus-dual-sim-lte-fp3plus.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"slug": "fairphone-3-dual-sim-lte-fp3",
3-
"base_model_slug": "fairphone-3-dual-sim-lte-fp3",
2+
"slug": "fairphone-3-plus-dual-sim-lte-fp3plus",
3+
"base_model_slug": "fairphone-3-plus-dual-sim-lte-fp3plus",
44
"name": "Fairphone 3+ Dual SIM LTE FP3+",
55
"brand": "fairphone",
66
"soc": "qualcomm-snapdragon-632-sdm632",

data/smartphone/gigabyte/2013/gigabyte-gsmart-gs202.json renamed to data/smartphone/gigabyte/2013/gsmart-gs202-plus.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"slug": "gigabyte-gsmart-gs202",
3-
"base_model_slug": "gigabyte-gsmart-gs202",
4-
"name": "Gigabyte GSmart GS202+",
2+
"slug": "gsmart-gs202-plus",
3+
"base_model_slug": "gsmart-gs202-plus",
4+
"name": "GSmart GS202+",
55
"brand": "gigabyte",
66
"soc": "mediatek-mt6577",
77
"release_date": "2013-01-01",
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"slug": "one-m9",
3-
"base_model_slug": "one-m9",
4-
"name": "One M9+",
2+
"slug": "one-m9-plus",
3+
"base_model_slug": "one-m9-plus",
4+
"name": "HTC One M9+",
55
"brand": "htc",
66
"soc": "mediatek-mt6795t-helio-x10",
77
"release_date": "2015-01-01",
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"slug": "u11",
3-
"base_model_slug": "u11",
4-
"name": "U11+",
2+
"slug": "u11-plus",
3+
"base_model_slug": "u11-plus",
4+
"name": "HTC U11+",
55
"brand": "htc",
66
"soc": "qualcomm-msm8998-snapdragon-835",
77
"release_date": "2017-01-01",

data/smartphone/huawei/2020/p40-pro.json renamed to data/smartphone/huawei/2020/p40-pro-plus.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"slug": "p40-pro",
3-
"base_model_slug": "p40-pro",
4-
"name": "P40 Pro+",
2+
"slug": "p40-pro-plus",
3+
"base_model_slug": "p40-pro-plus",
4+
"name": "Huawei P40 Pro+",
55
"brand": "huawei",
66
"soc": "kirin-990-5g",
77
"release_date": "2020-01-01",

data/smartphone/motorola/2023/razr.json renamed to data/smartphone/motorola/2023/razr-2023.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"slug": "razr",
3-
"base_model_slug": "razr",
4-
"name": "Razr",
2+
"slug": "razr-2023",
3+
"base_model_slug": "razr-2023",
4+
"name": "Motorola Razr (2023)",
55
"brand": "motorola",
66
"soc": "snapdragon-8-plus-gen-1",
77
"release_date": "2023-01-01",

data/smartphone/sony/2015/xperia-z3.json renamed to data/smartphone/sony/2015/xperia-z3-plus.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"slug": "xperia-z3",
3-
"base_model_slug": "xperia-z3",
4-
"name": "Xperia Z3+",
2+
"slug": "xperia-z3-plus",
3+
"base_model_slug": "xperia-z3-plus",
4+
"name": "Sony Xperia Z3+",
55
"brand": "sony",
66
"soc": "qualcomm-msm8994-snapdragon-810",
77
"release_date": "2015-01-01",

0 commit comments

Comments
 (0)