The Half Step: A Filter Diameter of 40.5 mm Survives Neither an Integer Column Nor a Deleted Comma
The size that breaks this group is not an exotic one. Camera lens filter diameters climb in whole millimetres — 37, 39, 43, 46, 49, 52 — and then, in...
The size that breaks this group is not an exotic one. Camera lens filter diameters climb in whole millimetres — 37, 39, 43, 46, 49, 52 — and then, in the middle of the ladder, there is a half step: 40.5 mm, a real, stocked size. Feed the ladder to a strict integer column and 40.5 fails to parse; feed it to a lenient cleaner that strips punctuation, and its European twin "40,5" comes out the other side as 405 mm, a diameter no lens has ever had (Source: this batch's SD harness register, evidence/sd-results-batch53.json). This piece lists the ladder as a reference resource and gives the handling rule for each shape the size arrives in.
What the harness does
Group AN169 holds 23 forms of lens filter diameter as sellers print them: eighteen plain integers, the half step in two notations ("40.5" and "40,5"), and three decorated forms ("58mm", "Ø58", "52 mm"). Ground truth for every form is its diameter in millimetres as a decimal number — 40.5 for both half-step notations, 58 for "58mm" and "Ø58", 52 for "52 mm". Two cleaners are scored. The strict integer parser attempts an integer read of the raw string and fails on anything else. The lenient parser deletes every character that is not a digit or a dot — including the comma — and then reads a decimal. The register's verdicts: strict integer, ok=18, wrong_value=0, parse_failure=5; lenient, ok=22, wrong_value=1, parse_failure=0 (Source: this batch's SD harness register).
Resource entry one: the ladder itself, in the order a buyer meets it
The plain-integer rungs, ascending: 37, 39, 43, 46, 49, 52, 55, 58, 62, 67, 72, 77, 82, 86, 95, 105, 112, 127 mm. Both parsers read all eighteen correctly, and they are the group's stable core — the sizes a catalogue can hold in an integer column without incident, right up until the ladder's one fractional rung is added. The ladder's structure matters for the cleaning rules: the steps are irregular (2, 4, 3, 3, 3, 3, 4, 5, 5, 5, 5, 4, 9, 10, 7, 15 mm apart), so a missing or corrupted rung cannot be reconstructed from its neighbours. There is no formula to appeal to; the list is the authority, which is why this piece prints it in full.
Resource entry two: the half step, in its two notations
The fractional rung is 40.5 mm, and it arrives in two spellings. In dot notation, "40.5", the strict integer parser fails — a visible, countable failure, and the better outcome. In comma notation, "40,5", as continental European listings print decimal fractions, the lenient parser deletes the comma along with the other punctuation and returns 405.0: the register's single wrong value, and a dangerous one, because 405 passes every sanity check a pipeline applies to a number (it is positive, finite, numeric) while describing a filter wider than most telescopes. The strict parser fails on the comma form too, so across both cleaners the comma spelling is never read correctly. The handling rule that resolves both notations is a single character substitution — comma to dot — performed before any stripping, and it must happen while the string is still a string.
Resource entry three: the decorated forms
Three forms carry their unit or symbol with them: "58mm" (unit suffix, no space), "Ø58" (diameter symbol prefix), and "52 mm" (unit suffix after a space). The strict integer parser fails on all three; the lenient parser reads all three correctly, because stripping non-numeric characters is exactly the right treatment for decoration — as long as no decimal comma is present to be stripped with it. That conditional is the entry's whole lesson: the lenient strategy is correct for decoration and catastrophic for notation, and the two cases are distinguishable only before cleaning, by looking at which punctuation the string contains. A cleaner that decides per-form — symbols may go, commas become dots — reads all 23 forms in this group correctly.
Worked identifications: the register's five strict failures, resolved
The strict parser's five failures are "40.5", "40,5", "58mm", "Ø58" and "52 mm" (Source: this batch's SD harness register). Resolved by the rules above: "40.5" parses as the decimal it is, 40.5 mm, once the column accepts fractions. "40,5" becomes 40.5 mm after the comma-to-dot substitution — and under the lenient parser as actually run, it is the group's one wrong value at 405.0, the row to check first in any imported catalogue. "58mm" and "Ø58" both resolve to 58 mm, the ladder's most common rung, and "52 mm" to 52 mm. Each resolution was round-tripped through the harness's truth table before being written here; the register's rows agree.
Resource entry four: what the corrupted row does downstream
The 405 mm row deserves a trace, because its damage is quiet. Any catalogue filter of the form "diameter at most 130 mm" — a natural bound, since the ladder's genuine maximum here is 127 — excludes the corrupted row entirely: the 40.5 mm filter, a stocked size, becomes unfindable by diameter search, while remaining visible in an unfiltered listing where nobody thinks to look for it. One form in 23, 4.3% of the group, is enough to strand a product. The same row also poisons aggregates: a mean diameter computed over the lenient output is dragged upward by a value nearly ten times the true one, and a "largest filter we stock" report would crown a phantom.
What this group adds to the cleaning rules
Measurement columns fail at their notation boundaries, not their magnitudes. Every large, honest integer in this group cleaned perfectly under both parsers; all the damage concentrated in one fractional size and three decorated strings — five forms out of 23, all at the boundary between number and text. The group's second lesson is about parser temperament: the strict parser's five failures are recoverable in a way the lenient parser's one wrong value is not, because failures get reviewed and wrong values get shipped. A decimal comma is a locale's decimal point, and treating punctuation as dirt is how a 40.5 mm filter becomes a 405 mm one.
How this group's counts were verified
Two harness runs produced byte-identical result files (sha256 68d73ec714c1dc091b3e1ccf7dbb5c276823e522a77cd6c7a8964bf0c63b1968), and the register lines quoted in this piece — 23 forms; strict 18 ok, 0 wrong, 5 parse failures; lenient 22 ok, 1 wrong, 0 failures — are transcribed from that output. Ground truth is the harness's own per-form table, in which both half-step spellings map to 40.5 and the decorated forms map to their printed diameters. The five worked forms are the strict parser's exact failure set, taken from the register's rows after the run.
Frequently asked questions
Q: How many filter diameter forms does the group hold? A: Twenty-three: eighteen plain integers, the 40.5 mm half step in dot and comma notation, and three decorated forms — "58mm", "Ø58" and "52 mm" (Source: this batch's SD harness register, evidence/sd-results-batch53.json).
Q: Is 40.5 mm a real filter size? A: Yes — it is the ladder's one fractional rung in this group, sitting between 39 and 43 mm. No 40 mm rung appears in the set, so rounding the half step down invents a size the ladder does not contain.
Q: What does the lenient parser do to "40,5"? A: It deletes the comma as punctuation and reads 405.0 mm — the group's only wrong value. Substituting a dot for the comma before stripping reads it correctly as 40.5.
Q: Which parser is safer for this column? A: The strict integer parser fails visibly on five forms and is never wrong; the lenient parser fails never and is wrong once. For a measurement column, visible failure is the safer defect.
In one line: a diameter column is only as trustworthy as its treatment of the half step — accept decimals, convert decimal commas before stripping anything, and the whole ladder survives.