Advertisement
Data Processing

What Does a Four-Inch Grid Do to a Collar Register Built in Twos? The Four-Inch Grid

What happens when a supplier's size chart, printed in four-inch steps, is merged into a collar register built in two-inch steps? Half the register sur...

What happens when a supplier's size chart, printed in four-inch steps, is merged into a collar register built in two-inch steps? Half the register survives the merge exactly, and the other half is moved, silently, and always onto a genuine neighbouring size. The measurement behind this guide followed five spellings of a dog-collar size field through a cleaned register of ten true sizes, 8 to 26 inches in twos, and the four-inch-grid spelling resolved only 181 of 300 draws to the collar the value came from, against 300 of 300 for the size in inches as printed and 300 of 300 for a centimetre spelling converted back (Source: SD measurement group AN293, this batch's harness register, evidence/sd-results-batch82.json). This piece is the step-by-step guide for merging such a chart: how to map the supplier's grid onto the register before a single row is imported, how to mark the sizes the grid cannot represent, and how to verify the merge afterwards.

What The Four-Inch Grid means

The Four-Inch Grid is a coarser step pattern laid over a finer register, so that every register entry the grid passes through survives unchanged and every entry between grid points is absorbed by the nearest point, a loss that is invisible in the merged data because every absorbed value lands on a size that genuinely exists. The nearest prior concept in this series is The Erased Quarters, entries spaced a quarter unit apart that "a recording grid of half a unit cannot represent", so every quarter size ends up "filed as the half size above it" (SmartDataAI, batch 81 of this series). The two grids erase at different moments. The glove register's quarters were erased at the moment of measurement, by the trade's own recording grid, before any record existed. The collar register's off-grid sizes are measured perfectly and erased later, at the moment of import, by a foreign grid, a supplier's chart drawn for a different catalogue. An erasure at measurement can only be fixed by changing the instrument. An erasure at import can be fixed by changing a mapping table, which is what makes the collar version the more avoidable of the two.

What Does a Four-Inch Grid Do to a Collar Register Built in Twos? The Four-Inch Grid

Step 1: lay the grid over the register before importing

Write the two sequences side by side. The register: 8, 10, 12, 14, 16, 18, 20, 22, 24, 26. The supplier grid, four-inch steps anchored at the register's floor: 8, 12, 16, 20, 24, and the register's ceiling, 26, which sits off the grid's pattern entirely. Five entries coincide; five do not. That single comparison, done before the import, predicts the merge's whole behaviour: the harness's 181 correct draws are, to within sampling, the 150 draws of grid-point sizes plus the boundary cases the rounding rule happens to return, and the 119 failures are the off-grid sizes, absorbed upward or downward by twos.

Step 2: mark the sizes the grid cannot hold

For each off-grid size, record where the merge will send it, using the same round-half-up rule the harness applies: 10 files as 12, 14 as 16, 18 as 20, 22 as 24, and 26, past the grid's last point, as 26, returned to itself only because there is nothing above it to absorb it. Mark these five rows in the import file with their destination size before the merge runs. The marking is the entire audit trail: after the merge, a 12-inch row is indistinguishable from a true 12, and the only evidence that half of them arrived from 10 will be the map you made in this step.

Step 3: decide the fate of the absorbed sizes explicitly

The merge forces a business decision that the grid makes silently if you let it. Either the absorbed sizes are genuinely being discontinued, in which case the import should also retire their stock records, not just their size labels, or they are live sizes that the supplier's chart expresses coarsely, in which case the supplier's values must be stored in a supplier-size field of their own and mapped to the register only for display. What the data cannot support is the default: one field, overwritten. The harness quantifies the default's cost, 119 of 300 draws misfiled, every one of them onto a size a customer can actually order, so no downstream check based on "does this size exist" will ever fire.

Monitor the first month after the merge: sample twenty merged rows against the supplier's original chart and count how many carry a size the chart never printed for that product. In a clean merge of this register the count should be zero for grid-point sizes and exactly the mapped destinations for the rest; any third outcome means the import applied a different rounding rule than the one mapped in step 2, and the merge should be rolled back rather than patched.

Step 4: verify with the worked row, one 18 in collar, five fates

After the merge, trace one known item through every spelling, each fate round-trip verified through this batch's parsers. An 18 in collar, native: filed as the 18 in collar, correct. In centimetres, 45.72, converted back: the 18 in collar, correct. The same 45.72 read as inches: filed as the 26 in collar, the register's ceiling, a mid-size collar promoted to the largest size the shop sells. On the four-inch grid: filed as the 20 in collar. Halved and read as the size, 9: filed as the 8 in collar, the register's floor. One collar, five records, three of them wrong, and the grid's error, the 20, is the one that will survive every sanity check the shop runs, because 20-inch collars are real, stocked and unremarkable.

Frequently asked questions

Q: Why does the ceiling size survive the grid? A: The 26 sits above the grid's last point at 24, and nearest-point rounding returns it to itself, there is no higher grid point to absorb it. Its survival is an accident of position, not a property of the size.

Q: Does the centimetre spelling really cost nothing? A: On this register, yes: 300 of 300. Two inches is 5.08 centimetres, wide enough that a whole-centimetre round trip lands within 0.5 centimetres, about a fifth of an inch, of the true size, well inside the distance to any neighbour.

Q: Which spelling is most dangerous in this register? A: By count, the halved reading and the centimetres-read-as-inches tie at 28 of 300. By stealth, the grid: its errors are small, plausible and produced by a documented supplier format rather than by a mistake.

Q: Should the merged register keep the supplier's sizes at all? A: Only in a separate field. The register's own sizes must remain the ones measured; a supplier grid is a reporting view over them, and the moment it overwrites the measured field, the absorption in step 2 becomes permanent.

The pre-merge checklist

Before any size chart is merged into this register: the two sequences written side by side and the coincident points counted; every off-grid size mapped to its destination and marked in the import file; a written decision, per absorbed size, between retiring it and storing the supplier value separately; one known item traced through all five spellings after the merge; and the merge's expected loss, here, roughly two draws in five, stated in the import note, so the person who reads the merged data next year knows what the grid took.

Know someone who needs this? Share it.

Advertisement