Advertisement
Data Processing

SmartDataAI Lab Notes: Horse Height in Hands — The False Decimal

The register's own line reads "17.3 hh", and it does not mean seventeen point three of anything. We built a 300-row register of horse heights — whole...

The register's own line reads "17.3 hh", and it does not mean seventeen point three of anything. We built a 300-row register of horse heights — whole inches from 48 to 76 — and spelled each row five ways, two of them in the horse trade's own notation, in which a height is written as hands and inches with a point between them: 71 inches is 17 hands and 3 inches, written "17.3". The digit after the point counts inches, so it runs from 0 to 3, not 0 to 9. Read by a parser that knows the notation, the spelling returned all 60 of its rows. Read by a decimal parser — the same text, taken as a decimal number of hands — it returned 20 rows and falsified 40, taking "17.3" for 17.3 hands, 69.2 inches, and handing back a horse two inches shorter than the one in the register. And true decimal hands, spelled honestly as "17.75", are invalid notation: the notation parser returned nothing for most of them and a wrong height for the rest.

SmartDataAI Lab Notes: Horse Height in Hands — The False Decimal

How the register was built and read

The register holds 300 heights drawn with replacement from the whole inches between 48 and 76 — 12.0 to 19.0 hands. One hand is four inches. Each height is spelled five ways, 60 rows per spelling: inches as an integer; centimetres at one decimal; the trade notation read by a notation-aware parser; the identical notation text read by a decimal parser; and true decimal hands at two decimals, read by the notation parser. The two notation-shaped forms share their text byte for byte and are told apart only by their parsers, as in the earlier angle-of-view register. Parsers work in three stages — inches first, then centimetres, then all five. Across the 300 drawn rows, the inch counts divide almost evenly by their remainder modulo 4 (80 rows with remainder 0, then 75, 71 and 74), which is what decides the notation forms' fates. The harness and its result file are part of this batch's evidence.

By stage, the register returns 60 of 300, then 120, then 216 under the full parse.

SpellingStage addedRows recovered of 60Wrong height returned
Inches, integer1600
Centimetres, 1 decimal2600
Notation, read as notation3600
Notation, read as a decimal32040
Decimal hands, read as notation31613

The False Decimal, defined

The False Decimal is a fraction digit that is not a fraction: a count in a smaller unit, written after a decimal point, in a notation where the point separates two fields rather than dividing one number. In hands notation the part after the point counts inches — a base-four digit wearing decimal dress — so every piece of decimal machinery applied to it (parsing it as a float, sorting it as a number, averaging it) produces a value that is wrong by a rule, not by a rounding. It is distinct from The Compound Inch, the earlier concept for two-unit spellings that write both units side by side with their labels — feet and inches, each named, each honest about what it counts. The compound spelling's reader can see the two fields. The false decimal hides its second field behind the most familiar symbol in data: the point, which every general-purpose tool reads as a decimal separator. The decimal reader's arithmetic shows the damage precisely: it returns the true height only when the remainder is 0 (a whole number of hands, where the two readings coincide), and for remainders of 1, 2 and 3 inches it returns a height one or two inches short — "15.1" (61 inches) comes back as 60, "17.3" (71 inches) as 69. The mirror failure is just as systematic: decimal hands spelled at two decimals put digits of 5 and 7 after the point, which notation forbids, so the notation parser rejects most such rows outright (31 of 60 return nothing) and misreads the rest — "15.25" is parsed as 15 hands and 2 inches, 62, for a 61-inch horse. Two honest notations, each exact in its own reader, corrupt each other completely in the other's.

The worked example, two horses

The register's first height is 71 inches. In inches and in centimetres ("180.3 cm") it returns exactly. In notation, "17.3 hh", the notation-aware parser returns 71 — and the decimal parser, reading the same five characters, returns 69, two inches short, a different animal in any height class with a two-inch band. Its true decimal spelling, "17.75 hh", returns nothing at all under the notation parser, because a fraction digit of 7 is not an inch count. The showcase height is 61 inches: "15.1 hh" to the notation parser, 61 exactly; to the decimal parser, 60. Its decimal spelling, "15.25 hh", is read by the notation parser as 15 hands and 2 inches — 62 inches, an inch too tall. Neither example involves a careless writer or a broken parser. Each text is a correct spelling in its own system; the corruption happens at the border, when a value crosses from one reading of the point to the other, and it happens deterministically, to every row whose remainder is not zero.

Acceptance criteria for a height register

A register that holds hand-notation heights is acceptable when each of these criteria is met, and the self-check is mechanical. Deliverables: every row stored as whole inches (the register's canonical measure) with the original spelled text preserved beside it, and a notation flag recording which reading produced the stored value. Acceptance standards, itemised: the stored inches, respelled in notation, reproduce the preserved text exactly on 100 percent of rows whose flag says notation; no stored row's source text contains a fraction digit above 3 under the notation flag — a "17.75" under that flag is an automatic reject; and no row carries a decimal-hands value in the notation field, or a notation value in a decimal field, under any flag. Self-check method: re-run the round-trip on a 60-row sample per reading, exactly as this register's harness does — the notation reading must return 60 of 60, and the cross-readings (notation text through the decimal parser, decimal text through the notation parser) are computed and recorded, not assumed. Rework points when below standard: rows that fail the respelling check are quarantined with their original text, never corrected by arithmetic, because the correction depends on which reading wrote them — a "15.25" that arrived as decimal hands is a 61-inch horse, and the same characters arrived as corrupted notation are unrecoverable; provenance, not the text, decides.

The review point

Re-check the register at every import from a new source, and in any case quarterly: draw a fresh 60-row sample per spelling and confirm the notation reading still returns 60 of 60 and the stored-inches respelling still reproduces the preserved texts. The judgment to revisit is whether the register's sources still write heights in the trade notation at all — if a feed switches to decimal hands, the acceptance criteria above will start rejecting its rows wholesale, and that rejection spike, not a quiet drift in the numbers, is the signal to re-baseline the register's notation flag for that source.

FAQ

What does "17.3 hh" actually say? Seventeen hands and three inches: 71 inches. The figure after the point is an inch count, 0 to 3, because four inches make a hand. It is not seventeen and three-tenths hands, which would be 69.2 inches.

How much damage does a decimal reading do? In this register it returned 20 of 60 rows — exactly the rows standing at a whole number of hands, where the readings coincide — and returned a wrong height, one or two inches short, for the other 40. Heights are classed in bands as narrow as two inches, so a two-inch error is a different class.

Why do decimal-hands spellings fail under the notation parser? Because decimal fractions put digits the notation forbids after the point: "17.75" has a 7 where an inch count (0 to 3) belongs. Most such rows return nothing (31 of 60); rows whose first fraction digit is 0 to 3 are misread instead — "15.25" returns 62 inches for a 61-inch horse.

What should the register store? Whole inches as the measure, the original spelled text preserved, and a flag recording which notation the text uses. The point cannot be trusted to say which system wrote it; the flag has to.

Sources: own measurement. Evidence: sd-harness-batch33.py (the harness), sd-results-batch33.json (the results), sd-run-notes-batch33.md (design and stage counts), all in the batch evidence folder. Figure: original chart, recovery by spelling in the height register.

Know someone who needs this? Share it.

Advertisement