Advertisement
Data Processing

SmartDataAI Lab Notes: Rounding the Speed Loses Nothing; Dropping It Loses Half the Register — The Half Key

The comparison that should embarrass every catalogue importer: take the vinyl register — six formats keyed by size and speed, 7 in at 45 rpm, 7 in at...

The comparison that should embarrass every catalogue importer: take the vinyl register — six formats keyed by size and speed, 7 in at 45 rpm, 7 in at 33, 10 in at 78, 10 in at 33, 12 in at 33, 12 in at 45 — and damage the data two ways. Damage one: round every speed to the nearest ten, so 45 becomes 50, 33 becomes 30, 78 becomes 80, then snap back to the nearest printed speed. Damage two: simply delete the speed field and keep the size, perfectly accurate. The rounded data recovers 60 of 60 rows. The accurate-but-incomplete data recovers 30 of 60 (Source: batch 75 SD measurement results, group AN260). A corrupted second field beats a missing one, because the register's key is a pair and half of it is not a weaker key — it is no key at all. This piece is the quick fix: the one-line repair first, then the evidence, then the exact conditions under which the repair holds.

What The Half Key means

The Half Key is the pattern in which a register's identity is a pair of independent fields, each value shared by exactly two entries, so that either field alone narrows the register to a pair and can never select within it — records filed on one field collapse onto whichever entry the tie rule reaches first, and half the register is misidentified with complete consistency. The nearest prior concept in this register is The Table Key (AN98, batch 39), the load-index pattern of "an identifier whose value is exhausted by a lookup" (SmartDataAI register notes, batch 39 of this series): no unit, no arithmetic, only equality and the table read. The Half Key is what happens when two such lookups are bolted together. A Table Key at least identifies: one value, one table row. A half key does not identify at all — 7 inches names two formats, 33 rpm names three entries in this register's speed ladder (the 7, 10 and 12 in pressings), and the reader's first-match rule, not the record, decides which one a given row becomes. The Table Key's failure mode is a lost table. The Half Key's failure mode is a present table read with half its key missing, which is worse, because it fails silently and at scale.

SmartDataAI Lab Notes: Rounding the Speed Loses Nothing; Dropping It Loses Half the Register — The Half Key

The quick fix

Restore the second field, from any source, before any other cleaning. That is the whole repair, and its order matters: no deduplication, normalisation or unit pass should run on a half-keyed register, because every such pass treats the collapsed identities as real and builds on them. In practice the second field is rarely lost — it survives in the supplier's filename, the product title, the shelf category, the price band. Vinyl speeds in particular leak into titles ("LP", "single") and into size conventions, so the recovery pass is a lookup against the source catalogue, not a measurement campaign. Once the pair is restored, the register verifies immediately: the pair spelling recovers 60 of 60, and the full parse of a repaired catalogue should read 300 of 300 against the faulted original's 213 (Source: batch 75 SD measurement results, group AN260).

The evidence: every single-field spelling fails the same way

The register's three single-field spellings fail with near-identical scores, which is the fingerprint of the mechanism. Size only: 30 of 60 — the first-entry rule files every 7-inch record as the 45 rpm single, every 10-inch as the 78, every 12-inch as the 33 rpm LP, so the 7-inch EP, the 10-inch LP and the 12-inch maxi-single vanish as identities while their rows live on under other names. Speed only: 32 of 60 — 45 files everything as the 7-inch single, 33 files everything as the 7-inch EP, and only 78 is safe, because it names exactly one format in the register. Diameter in centimetres only: 31 of 60 — 17.8, 25.4 and 30.5 cm reproduce the size ladder exactly and inherit its ambiguity in full; conversion is not completion. Three different fields, three different units and roles, one score band — because the loss is not in any field's quality but in the pair's incompleteness. The staged totals make the same point cumulatively: 60 of 60 on the pair, 90 of 120 once size-only rows join (stage two attempts the first two spellings), and 213 of 300 under the full parse.

Why the rounded pair survives — and when it would not

The rounded-speed spelling's perfect score deserves its explanation, because it looks like a licence to round. It survives for one structural reason: within each size, the register's speeds are far apart — 33 and 45 differ by 12, 78 stands alone — so a speed rounded to the nearest ten still snaps back to its own value when the size is known (50 snaps to 45, 30 to 33, 80 to 78). The pair's surviving field does the disambiguating work. The licence expires the moment speeds crowd: had the register held 33 and 38 rpm pressings of the same size, rounding to the nearest ten would merge them at 40 and the spelling would fail like the others. The general rule the register supports is narrow: a degraded field is safe exactly when the surviving fields still separate every entry the degraded field confuses. Test that condition per register; do not inherit it from this one's luck.

The conclusion, with its conditions

Half a key is not a key: a register identified by a field pair must be imported, joined and deduplicated on the pair, and any single-field version of it will misidentify about half its rows — provided the fields are independent lookups, as size and speed are here; restore the missing field from the source before any other cleaning, and the same register reads back perfectly.

Q: Why does size-only recover exactly half the rows? A: Each size names two formats, and the first-entry rule is right for one of them and wrong for the other. Across the three sizes, three formats survive as identities (7 in 45, 10 in 78, 12 in 33) and three are absorbed (7 in 33, 10 in 33, 12 in 45) — 30 of 60 rows, the register's structure expressed as a score.

Q: Is any single field safer than the others? A: Barely, and only by accident. Speed-only recovers 32 of 60 against size-only's 30, because one speed — 78 rpm — names a single format and is safe, while every size names two formats. The difference is the register's, not the field's; neither is a working key.

Q: My catalogue has sizes only. Can I infer speeds from prices or titles? A: Titles, yes, as a recovery source to be verified against the pair register — "single" and "LP" conventions carry real information. Prices, no: a price is not a field of the key, and inferring identity from it manufactures the same silent misidentification the fix exists to remove.

Q: Does the centimetre diameter help at all? A: No. It recovers 31 of 60, statistically the size-only result: 17.8, 25.4 and 30.5 cm are the same three ambiguous sizes in another unit. A unit conversion restates a field; it does not complete a pair.

Know someone who needs this? Share it.

Advertisement