Advertisement
Data Processing

Aquarium Sizes and the Grid That Barely Bites: The Rescued Rungs

A ten-gallon rounding grid sounds like a wrecking ball to aim at an aquarium catalogue. The standard tank sizes, 5, 10, 20, 29, 40, 55, 75, 90, 125 an...

A ten-gallon rounding grid sounds like a wrecking ball to aim at an aquarium catalogue. The standard tank sizes, 5, 10, 20, 29, 40, 55, 75, 90, 125 and 180 gallons, include four sizes that are not multiples of ten, and a grid that snaps every volume to the nearest ten should drag all four of them onto rounder, wronger neighbours. It does not. Measured across a 300-record test built for this piece, the grid misfiles exactly one size, the smallest, and returns the other three unharmed, because the cleaning pipeline's nearest-entry rule quietly undoes the grid's rounding wherever the rounded value is closer to home than to any real neighbour. This piece traces that rescue, rung by rung, and then asks the upgrade question properly: if the grid is not the catalogue's problem, what is?

What The Rescued Rungs means

The Rescued Rungs are register entries that a coarse rounding grid displaces on paper but that the nearest-entry filing rule returns to themselves, because the grid point they were rounded to is not itself an entry and the entry nearest that point is the one they came from. The nearest prior concept in this series is The Forgiving Ladder, "a register whose rung spacing is everywhere wider than twice the largest error its unit conversions can introduce" (SmartDataAI, batch 83 of this series). The plate register was forgiven by geometry: its spacing made error harmless before any filing happened. The tank register is forgiven after the error, by the filing rule itself: the grid's mistake is made in full, recorded in the data, and then reversed at the moment of matching, because the rounded value has nowhere closer to go than home. Forgiveness by spacing is a property of the ladder. Rescue by fallback is a property of the pipeline, and it holds only as long as the pipeline keeps a nearest-entry rule and the grid's points stay off the register.

Aquarium Sizes and the Grid That Barely Bites: The Rescued Rungs

The test and the register

The register is the ten standard aquarium sizes above. Three hundred draws sampled the register's ten sizes and were written in five forms, then matched back against the register by an automated cleaning harness (Source: SD measurement group AN303, this batch's harness register). The forms: the volume in gallons; its litre equivalent at 3.78541 litres to the gallon converted back; that litre figure read as gallons; the volume rounded to the nearest ten gallons; and half the volume read as the volume. The full run gave 927 clean filings out of a possible 1,500. Gallons and converted litres filed perfectly, 300 of 300 each. The ten-gallon grid filed 274 of 300. The litres-as-gallons form filed 27, and the half-volume form 26. The grid's 274 is the interesting number: a coarser treatment than the register's finest spacing lost only 26 records, all of them belonging to a single size.

The rescue, rung by rung

Round each non-multiple to the nearest ten and watch the filing. The 29 gal tank rounds to 30, which is not a register entry; the nearest entry to 30 is 29 itself, nine-tenths of the ladder's local spacing away from the 40, so the record files home. The 55 rounds to 60, nearest entry 55, rescued. The 75 rounds to 80, nearest entry 75, rescued. The 125 rounds to 130, nearest entry 125, rescued. Four displacements, four rescues, and the mechanism is visible: the grid's points fall in the gaps of this register, not on its rungs, so a displaced record stands closer to its own rung than to any other, and the nearest-entry rule is a homing device. Now the exception. The 5 gal tank rounds to 10, and 10 is an entry, the next rung up, so the record files as the 10 gal tank with no rescue available: the grid point and the neighbour coincide. All 26 of the 5's sampled records move up, and the grid form's 274 clean filings are exactly the other nine sizes' draws. One true victim, at the register's floor, where the grid's first point sits exactly on the second rung.

One tank, five ways

Follow the 29 gal tank, the size that should have been the grid's easiest victim. In gallons it files as itself. Its litre spelling, 110 litres rounded from 109.78, converts back to 29.0587 gallons and files as itself; the litre round trip is lossless across this register. Read those 110 litres as gallons and the record files as the 125 gal tank, a fourfold promotion: the litres-as-gallons form sends every tank upward, the 5 to the 20, the 10 to the 40, the 20 to the 75, the 29 and the 40 both to the 125, and everything from the 55 up to the 180, the register's ceiling, which is why only the ceiling's own records survive that form: its 27 draws are the form's 27 clean filings. Under the ten-gallon grid the 29 becomes 30 on paper and files home, as traced above. Halved, 14.5 gallons files as the 10 gal tank. The same tank is a 29 to its owner, a 125 to a unit-blind pipeline, a 10 to a halving error, and, to the grid that was supposed to destroy it, still a 29.

The upgrade path this register actually needs

Read the five forms as a priority list and the catalogue's real risks reorder themselves. The grid, the threat that looks coarsest, costs one size. The unit misread costs nine sizes out of ten, stacking the catalogue's top half onto its ceiling and inflating every mid-size tank by roughly the litre-gallon factor. The halving error costs nine sizes too, preserving only the 5 gal tank, whose half, 2.5, still rounds home. So the staged fix is not a finer grid; it is, first, unit discipline at intake, because a single misread field does more damage than any rounding policy in the pipeline; second, a factor check on ingest, since a halved volume is indistinguishable from a small tank once filed; and only third, grid policy, where the one genuine repair is to keep the 5 gal rung off the grid's first point, by storing the floor size exactly or by adding the rescue the other rungs get free. Upgrade in that order and each stage removes an order of magnitude more error than the one after it.

Frequently asked questions

Q: Which tank sizes does the ten-gallon grid misfile? A: Only the 5 gal tank, which rounds onto the 10 gal entry and files there. The 29, 55, 75 and 125 are rounded to non-entry values and rescued by the nearest-entry rule.

Q: Why are the rescued sizes rescued? A: Their rounded values, 30, 60, 80 and 130 gallons, are not register entries, and each stands closer to its own size than to any neighbour, so nearest-entry filing returns the record home.

Q: What does the litres-as-gallons error do? A: It promotes every tank: the 5 files as the 20, the 29 as the 125, and all sizes from 55 up file as the 180. Only 27 of 300 records, the ceiling's own, file correctly.

Q: How many records filed correctly overall? A: 927 of 1,500: 300 each for gallons and converted litres, 274 under the ten-gallon grid, 27 for litres read as gallons, and 26 for halved volumes.

The lesson of the rescued rungs

A rounding grid is only as dangerous as its points. Where the points fall between rungs, the filing rule quietly reverses the rounding and the register survives its own coarsening; where a point lands on a rung, the rung below it empties. Before fearing a grid, map its points against the register. The tanks teach that the map, not the grid width, decides the damage, and that the smallest rung, standing nearest the grid's first point, is the one to protect.

Know someone who needs this? Share it.

Advertisement