Advertisement
Data Processing

The Assumed Inch: A Cymbal Listed in Centimetres Enters the Catalogue at Two and a Half Times Its Size

The harness register for group AN170 opens with the case file: 19 cymbal listings as sellers print them — eight with inch marks, four bare numbers, th...

The harness register for group AN170 opens with the case file: 19 cymbal listings as sellers print them — eight with inch marks, four bare numbers, three spelled "in", and four converted into centimetres by metric-market sellers (Source: this batch's SD harness register, evidence/sd-results-batch53.json). The cleaning rule under test is the one every spreadsheet applies by reflex: extract the number, assume the column's unit. Run against this file, the rule reads 15 listings correctly and 4 wrongly — and the four wrong ones are not slightly wrong. A 45.7 cm ride cymbal, which is an 18-inch cymbal, enters the catalogue as a 45.7-inch cymbal, an object that does not exist in the product category. This piece follows the case from listing to register line.

What the harness does

Ground truth for each form is the cymbal's nominal size class in inches, the unit the category trades in. The inch-marked forms ('10"', '12"', '14"', '16"', '18"', '20"', '22"', '24"') and the spelled forms ("14 in", "18 in", "20 in") state their unit outright; the bare numbers ("14", "16", "18", "20") are inch listings whose unit the column supplies. The centimetre forms are the metric printings of nominal sizes: 35.6 cm is the 14-inch class, 40.6 cm the 16, 45.7 cm the 18, and 50.8 cm the 20, each a rounded conversion of the nominal size rather than a separate product. The naive cleaner extracts the first number from each string and treats it as inches. The register scores it: ok=15, wrong_value=4, parse_failure=0 (Source: this batch's SD harness register).

The Assumed Inch: A Cymbal Listed in Centimetres Enters the Catalogue at Two and a Half Times Its Size

The case, step one: a kit is listed across two marketplaces

Follow one drum kit's cymbals as they are catalogued from two sources. The domestic marketplace prints the crashes and ride in inches: '16"', '18"', '20"'. The European marketplace prints the same physical cymbals from the same manufacturer's metric catalogue: 40.6 cm, 45.7 cm, 50.8 cm. A merged inventory import reads both feeds into one diameter column with the extract-and-assume rule. The domestic rows land correctly. The European rows land as 40.6, 45.7 and 50.8 in a column whose other entries run from 10 to 24 — each one larger than the largest genuine cymbal in the file, the 24-inch ride. Nothing in the import log complains; every extracted value is a clean, positive number.

The case, step two: the register separates the feeds

Scored against the truth table, the import's damage is exactly coextensive with the metric feed: the four centimetre forms are the register's four wrong values, and every inch-stated or bare form is ok (Source: this batch's SD harness register). The error factor is nearly constant — each metric value is the inch truth multiplied by 2.54 and rounded by the seller, so 35.6 stands for 14, 45.7 for 18 — which makes the corruption detectable after the fact by a simple screen: any value in an inch column that exceeds the category's plausible maximum, or that divides by 2.54 into a familiar nominal size, is a conversion that arrived unconverted. Detection, though, is not correction; the register's point is that the column should never have mixed the feeds without a unit field.

The case, step three: what the wrong rows do to a buyer

A shopper filtering the merged catalogue for a 20-inch ride finds the domestic '20"' and not the European 50.8 cm listing of the same cymbal, which is filed under a size no shopper selects. A shopper browsing "largest cymbals" meets a 50.8-inch phantom at the top of the sort. And a price-per-inch statistic over the column — the kind a marketplace computes automatically — is skewed by four rows claiming sizes two and a half times real. The column's own average makes the skew concrete: across the register's 19 rows, the naive column's mean diameter is 22.56 inches against a true mean of 17.05, an inflation of 32.3% contributed by four rows out of 19 (derived from the register's rows). The cymbals themselves are unharmed and correctly described on their own pages; the entire failure lives in the merged column's assumption that a number's unit is whatever the column is called.

Worked identifications: the four metric rows, converted back

Take 45.7 cm. Truth: the 18-inch class. The naive read files it at 45.7 inches, wrong by a factor of about 2.54. Take 35.6 cm: truth 14 inches, the smallest crash class in the file, filed by the naive read at 35.6 — larger than the file's genuine 24-inch maximum. Take 50.8 cm: truth 20 inches exactly (50.8 is 20 × 2.54 with no rounding), filed at 50.8. And 40.6 cm: truth 16 inches, filed at 40.6. Each row was round-tripped through the harness before drafting; the register's per-form rows record the same four as the group's only wrong values, and the fifteen remaining forms — inch-marked, spelled and bare — as ok.

What this group adds to the cleaning rules

Units are data, and a column name is not a unit field. The group's register shows the standard failure shape of unit assumption: a perfectly reliable extraction rule (the numbers were all read correctly, as numbers) producing wrong measurements at a constant factor, in exactly the rows sourced from the market that prints the other unit. The practical rules follow directly. Carry the unit as its own column through every merge; convert at the boundary where the source's unit is known, not in the analysis where it is guessed; and screen any merged measurement column for values that divide by a known conversion factor into rounder numbers — 2.54 here — because real products cluster at nominal sizes and unconverted imports betray themselves by almost doing so.

How this group's counts were verified

The harness ran twice with byte-identical output (sha256 68d73ec714c1dc091b3e1ccf7dbb5c276823e522a77cd6c7a8964bf0c63b1968). The counts quoted — 19 forms; 15 ok, 4 wrong values, 0 parse failures — are the register's summary for the number-assumed-inches parser, and the truth table is the harness's own: nominal inch classes, with the four centimetre forms mapped to the classes their conversions represent. The four worked rows are the register's complete wrong-value set, re-checked against their rows before this text was written.

Frequently asked questions

Q: How many cymbal listings are in the group, and how are they printed? A: Nineteen: eight with inch marks, four bare numbers, three spelled with "in", and four in centimetres (Source: this batch's SD harness register, evidence/sd-results-batch53.json).

Q: Which listings does the naive cleaner get wrong? A: Exactly the four centimetre forms — 35.6, 40.6, 45.7 and 50.8 cm — each read as inches. The register counts 15 ok, 4 wrong values and no parse failures.

Q: What size is a cymbal listed as 45.7 cm? A: An 18-inch cymbal. 45.7 cm is the metric printing of the 18-inch nominal class (18 × 2.54 = 45.72, printed rounded), not a 45.7-inch instrument.

Q: Why do the bare numbers read correctly while the centimetre forms do not? A: The bare numbers are inch listings, so the column's assumed unit happens to be right for them. The rule is not reading units at all — it is agreeing with the forms that already match its assumption.

Review node: after any catalogue merge that mixes marketplaces, re-run the unit screen — flag every diameter that exceeds the category maximum or divides by 2.54 into a nominal size — before the merged column feeds search, sorting or statistics.

Know someone who needs this? Share it.

Advertisement