Commit 34216a6
committed
fix(verify): don't penalise devices for placeholder SoC dates
`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 #11 parent 28e836e commit 34216a6
2 files changed
Lines changed: 36 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
80 | 89 | | |
81 | 90 | | |
82 | 91 | | |
| |||
209 | 218 | | |
210 | 219 | | |
211 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
212 | 227 | | |
| 228 | + | |
213 | 229 | | |
214 | | - | |
| 230 | + | |
215 | 231 | | |
216 | | - | |
| 232 | + | |
| 233 | + | |
217 | 234 | | |
218 | 235 | | |
219 | 236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
| 80 | + | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
86 | 101 | | |
87 | 102 | | |
88 | 103 | | |
0 commit comments