Advertisement
Data Processing

Every Pair in the File Is One Size Too Big: The One Size Up

Compare two inventory files for the same skate rack and they disagree in the strangest way: not randomly, not at the edges, but uniformly - every pair...

Compare two inventory files for the same skate rack and they disagree in the strangest way: not randomly, not at the edges, but uniformly - every pair in one file is exactly one size larger than in the other, except the largest size, which agrees. That is the signature this batch's AN315 measurement produces. The register is ten ice skate sizes, 4 through 13, and each size carries a companion figure, the wearer's shoe size, which runs a constant 1.5 above the skate size on every rung: a 4 skate fits a 5.5 shoe, a 13 skate a 14.5. The harness filed 300 drawn records under five spellings: the skate size as printed, the shoe size converted back, the shoe size read as the skate size, rounding to the nearest two, and halving. The printed size and the honest conversion filed all 300 correctly. The shoe-size misreading filed 19 - and its 281 errors were not a collapse but a shift, the whole register picked up and set down one rung higher.

The case: one rack, followed through five spellings

Follow a single pair through the season: a size 9 skate, the rack's most-rented size, companion shoe size 10.5. As printed, the pair files as a 9, correctly, as all 300 drawn records do under the native spelling. Converted - the shoe size recorded, the 1.5 subtracted back before filing - it still files as a 9, and so does every record in the run: the offset is a constant, exactly known, and the round trip is lossless, 300 of 300. Then the season's second file is written by someone who records the shoe size in the skate column. The pair files as a 10. Nothing about the record looks wrong; a 10 is a real size, well stocked, one rung up. Repeat across the rack and the file describes a shop that has mysteriously traded every size for the next - and whose 13s, alone, are accurate, because above the 13 there is no rung for its 14.5 to land on, and it falls back home.

What The One Size Up means

The One Size Up is the uniform shift produced when a companion scale that runs at a constant offset from a register is read as the register itself: every record files exactly one rung too high, except the register's top entry, which has no rung above it and survives by default. The nearest prior concept in this series is The Tenfold Size, a designation "whose spellings differ by exactly a factor of ten", so the unit rather than the digits carried the magnitude (SmartDataAI, batch 55 of this series). The two dual-scale registers fail by different arithmetic. Mondopoint's spellings differ by multiplication, and confusing them scatters records by an order of magnitude - loud errors, easily caught. The skate scales differ by addition, a constant 1.5, and confusing them shifts records by one step - the quietest error a register can suffer, because the corrupted file is internally perfect: right shape, right range, right proportions, wrong size throughout. A factor error announces itself. An offset error gets ordered, shipped and rented.

The rest of the rack: grid and halving

The case pair meets two more spellings in the harness. Rounded to the nearest two, the 9 - an odd size, an exact midpoint of the two-grid - is promoted to the 10, the same destination the shoe misreading chose by another road. The grid files 178 of 300 correctly: the even sizes and the 13 stand still, and the odd sizes 5, 7, 9 and 11 are each promoted one rung, so a gridded file and a shoe-read file agree on the odds and differ on the evens, a fingerprint by which the two accidents can be told apart. Halved, the case pair's 4.5 ties between the 4 and the 5 and files to the earlier entry, the 4. Across the register, halving preserves only the 4 and the 8 - the sizes whose halves, 2 and 4, fall back or land home - 37 of 300 records between them. The full five-spelling pass files 834 of 1,500 attempts correctly. The chart below gives the five counts.

Every Pair in the File Is One Size Too Big: The One Size Up

Worked row: the 9 skate

SpellingValue filedEntry it lands onCorrect?
Skate size as printed99 skateYes
Shoe size converted back9.09 skateYes
Shoe size read as the skate size10.510 skateNo
Rounded to the nearest two1010 skateNo
Half the size4.54 skateNo

The row is the case in miniature. Two honest spellings keep the pair at its size. Two different accidents - the offset misreading and the midpoint promotion - independently move it to the 10, which is why a file can be doubly confirmed and still wrong: a cross-check between a shoe-read file and a gridded file agrees on every odd size. Only the halving, dropping the pair to the 4, disagrees loudly enough to start an argument.

How this register was measured

The harness for group AN315 draws 300 records at random from the register's ten entries, seeded by the group code for reproducibility, and files each under five spellings: the skate size as printed; the companion shoe size - the skate size plus a constant 1.5 - converted back by subtracting the offset; the shoe size read as the skate size; rounding half-up to the nearest two; and half the size read as the size. Filing is by nearest register entry, ties to the earlier entry. Two runs produced byte-identical result files; the script and results ship with this batch as evidence, and every count quoted is read from them.

FAQ

Which sizes survive the shoe-size misreading? Only the 13, 19 of 300 records. Its shoe size, 14.5, has no rung above the 13 to land on and falls back home; every other size files exactly one rung up.

Is the shoe size itself a safe thing to record? Yes, if it is converted back: subtracting the constant 1.5 offset files all 300 records correctly. The danger is reading it as the skate size.

How can a shifted file be told from a gridded file? By the even sizes. The shoe misreading shifts evens and odds alike; the nearest-two grid moves only the odd sizes, promoting 5, 7, 9 and 11 while the evens stand still.

What does halving do to skate sizes? It preserves only the 4 and the 8, 37 records between them; every other size files as a smaller real size, most of them landing on the 4 or the 5.

The review node for skate inventories

Once a season, before the rental rush, re-derive one file from the physical rack: count the pairs at three sizes - the smallest, a middle odd size and the 13 - and compare against the recorded counts at those sizes. The three-point check catches each accident in this group separately: a shifted file fails at the middle size, a gridded file fails there too but passes the smallest, and a halved file fails everywhere except the 4 and the 8. A register whose errors are this regular deserves a check just as regular.

Know someone who needs this? Share it.

Advertisement