Skip to content

feat(verify): report the verified rate per product, not just per SKU - #55

Merged
Seungpyo1007 merged 1 commit into
mainfrom
feat/model-level-verified-rate
Aug 6, 2026
Merged

feat(verify): report the verified rate per product, not just per SKU#55
Seungpyo1007 merged 1 commit into
mainfrom
feat/model-level-verified-rate

Conversation

@Seungpyo1007

@Seungpyo1007 Seungpyo1007 commented Aug 6, 2026

Copy link
Copy Markdown
Member

Why

The verified rate is measured per record, but most records are not distinct products. In the smartphone set:

records distinct models
host-blocked (no T1/T2 source) 73,386 24,043
— of which regional/RAM variants 57,216 20,594

Slugs look like lg-lmq630ha-k-series-k61-2020-td-lte-latam-q630ha-sady36-costa-rica-4gb-128gb. No source documents an individual SKU — manufacturer pages for one regional RAM configuration do not exist, and a probe of 200 sampled models found an exact-title Wikipedia article for 3% of them. So the per-record figure measures the shape of the import, not how well the products are sourced.

Measured over the current smartphone data:

records  93,396   verified 17,384  = 18.61%
models   52,309   verified 17,237  = 32.95%

What changed

status now also aggregates by model:

  • variants collapse onto their base model; a standalone record is its own model
  • a model counts as verified once any of its SKUs is, since the variants of one phone share a provenance
  • new fields: models, verified_models, verified_models_pct, in totals and per category

The per-record figures are unchanged and still reported — this is a second view of the same verifications, not a replacement, and nothing about promotion changes.

Additive fields only, so schema stays at 1 and existing consumers keep working. Two regression tests cover the variant collapse and the standalone case; tests/verify is 53 passed.

TechAPI side (homepage rendering): GetTechAPI/TechAPI#151

Refs #1

78% of the smartphone set is regional and RAM variants of the same
phone: 57,216 records stand for 20,594 actual models, with slugs like
"…k61-2020-latam-q630ha-…-costa-rica-4gb-128gb". No source documents an
individual SKU, so counting verification per record measures the shape
of the import rather than how well the products are sourced.

`status` now also aggregates by model — variants collapse onto their
base model, a standalone record is its own model, and a model counts as
verified once any of its SKUs is, since the variants of one phone share
a provenance. The per-record figures are unchanged and still reported;
this is a second view of the same verifications, not a replacement.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant