Skip to content

fix(verify): don't penalise devices for placeholder SoC dates - #51

Merged
Seungpyo1007 merged 2 commits into
mainfrom
fix/soc-date-placeholder-tolerance
Aug 3, 2026
Merged

fix(verify): don't penalise devices for placeholder SoC dates#51
Seungpyo1007 merged 2 commits into
mainfrom
fix/soc-date-placeholder-tolerance

Conversation

@Seungpyo1007

Copy link
Copy Markdown
Member

Problem

The verification layer's soc_not_after_device consistency signal compares the device's release year against its SoC's release year exactly.

Measured against the current dataset:

SoC records with a date 2,104
…carrying a placeholder YYYY-01-01 1,954 (92.9%)
…day-precise (real) 150
smartphones currently failing the signal 5,488

A placeholder year is imprecise by up to ~2 years (Snapdragon 888, shipped Nov 2020, is stored as 2022-01-01). So for ~93% of comparisons the signal measures the placeholder, not the device.

Cost per affected record: consistency is 35 × passed/evaluated, so one failing signal out of ~6 removes ~5.8 points. The near-miss pool (yellow, T1/T2 host, score 65–74) has a consistency mean of 29.3/35 — exactly one failure — and sits just under the green threshold of 75.

Change

When the SoC's date is a placeholder, allow 2 years of slack and flag only a gross mismatch. A day-precise SoC date keeps the strict comparison, so genuine ordering errors are still caught.

Two regression tests cover both halves; the existing softness test now uses a gross mismatch so it still exercises what it was written for.

Refs #1

`soc_not_after_device` compared the device's release year against the
SoC's exactly. 1,954 of the 2,104 SoC records (92.9%) carry a
placeholder "YYYY-01-01" date whose year itself runs up to ~2 years
late, so for almost every phone that check measured the placeholder
rather than the device: it fails 5,488 otherwise-sound smartphones,
costing each ~5.8 consistency points and holding a large near-miss
pool just under the green threshold.

Where the SoC date is a placeholder we now allow 2 years of slack and
only flag a gross mismatch. A real, day-precise SoC date keeps the
strict comparison, so the genuine signal is preserved.

Refs #1
@Seungpyo1007
Seungpyo1007 merged commit 42decca into main Aug 3, 2026
1 check passed
@Seungpyo1007
Seungpyo1007 deleted the fix/soc-date-placeholder-tolerance branch August 3, 2026 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant