The Fivefold Exception: A Ball Bearing's Bore Code Multiplies by Five — Except for the Four Codes That Do Not
The harness register for group AN167 reads: forms=24, parser=trailing_two_digits_times_five, ok=7, wrong_value=12, parse_failure=5 (Source: this batch...
The harness register for group AN167 reads: forms=24, parser=trailing_two_digits_times_five, ok=7, wrong_value=12, parse_failure=5 (Source: this batch's SD harness register, evidence/sd-results-batch53.json). The group is a run of deep-groove ball bearing designations — 6000-series, 6200-series and 6300-series part numbers, some carrying shield or seal suffixes. Every designation hides its bore diameter in the last two digits, and the trade's rule for reading them is almost simple: multiply the code by five to get millimetres. Almost, because the four smallest codes are exceptions with memorized values, and a cleaning pass that applies the multiplication uniformly manufactures wrong bores for half the file. This piece upgrades the cleaning in stages, showing what each stage buys.
What the harness does
The harness holds one ground truth per form, fixed by the published bearing convention: the last two digits of the base designation are the bore code; code 00 means a 10 mm bore, 01 means 12 mm, 02 means 15 mm, 03 means 17 mm, and codes from 04 upward mean the code times five millimetres. Suffixes such as -2RS and -ZZ describe seals and shields and carry no bore information. Against that truth it runs the naive cleaner a spreadsheet import typically performs: take the trailing two digits of the string and multiply by five, always. A form whose string ends in letters yields no trailing digits and is recorded as a parse failure; a form whose computed bore differs from the truth is a wrong value; the rest are ok. Every count below is the register's output, reproduced by re-running the harness script kept with this batch.
Stage one: the raw multiplication, and its twelve wrong bores
Applied to the 24 forms, the uniform rule gets 7 right — exactly the forms whose codes are 04 through 10 in the 6000 series: 6004, 6005, 6006, 6007, 6008, 6009, 6010 (Source: this batch's SD harness register). It gets 12 wrong, and the wrongness is perfectly systematic: every form carrying code 00, 01, 02 or 03, in any series. The rule reads 6000 as a 0 mm bore where the truth is 10 mm; 6001 as 5 mm where the truth is 12 mm; 6002 as 10 mm where the truth is 15 mm; 6003 as 15 mm where the truth is 17 mm — and then repeats the same four errors through the 6200 and 6300 series, because the series digit sits in front of the code and the naive read never notices it. A buyer matching a replacement bearing by the cleaned column would order a shaft fit that does not exist (0 mm) or that binds (15 mm offered for a 17 mm shaft).
Stage two: add the exception table, and the wrong values fall to zero
The first upgrade is a lookup, not a formula: codes 00–03 map to 10, 12, 15, 17, and only codes 04 and above go through the multiplication. With that single change, all 12 wrong values in the register's set become correct, because the group's entire error population lives in those four codes. The upgrade generalizes beyond this file in one specific way worth stating: the exception codes are not a quirk of one series. They are the bottom of the shared code table, so they recur in the 6200s, the 6300s and any other series built on the same convention — which is why the naive rule's error count scales with the number of series in the catalogue rather than with the number of small bearings in it.
Stage three: strip the suffixes, and the parse failures close
Five forms end in suffixes — 6200-2RS, 6201-2RS, 6204-2RS, 6202-ZZ, 6203-ZZ — and the naive cleaner fails on all five, because the string's trailing characters are letters (Source: this batch's SD harness register). The second upgrade is to cut the designation at the hyphen before reading the code, treating everything after it as a separate attribute column (seal and shield configuration) rather than as noise to discard. After the cut, 6204-2RS reads code 04 and yields its true 20 mm; 6200-2RS reads code 00 and, through the stage-two table, its true 10 mm. Note the ordering dependency: stage three without stage two would convert three of the five failures into fresh wrong values, because two of the suffixed forms carry exception codes. Upgrades to a code parser compose in a fixed order — semantics of the code first, syntax of the string second.
Worked identifications: three designations read end to end
Take 6203, the register's cleanest demonstration. Truth: series 62, bore code 03, which the exception table maps to 17 mm. Naive: trailing digits 03, times five, 15 mm — a wrong value, off by 2 mm, in a domain where 2 mm is the difference between a press fit and a loose one. Take 6001: code 01, truth 12 mm; naive gives 5 mm, an error of 7 mm and the register's largest proportional miss, since the naive value is not even half the truth. Take 6204-2RS: the suffix defeats the naive read outright (parse failure), while the upgraded read — cut at the hyphen, code 04, multiply — returns the true 20 mm. Each row was round-tripped through this batch's harness before being written here, and the register's row for each form agrees with the readings above.
What this group adds to the cleaning rules
The group's lesson is that a code with a mostly-true arithmetic rule is more dangerous than a code with none. A fully arbitrary code forces the cleaner to build a lookup table; a code that is 04-and-above arithmetic invites a formula, and the formula silently annexes the four codes it does not fit. The register's shape is the tell: wrong values concentrated at one end of the code range, in whole series at a time. When a cleaned measurement column shows errors clustered at the smallest values of a code, suspect an exception table before suspecting the data.
How this group's counts were verified
The harness was run twice for this batch and produced byte-identical result files (sha256 68d73ec714c1dc091b3e1ccf7dbb5c276823e522a77cd6c7a8964bf0c63b1968), and the register lines quoted above are read from that output, not estimated. The ground-truth bore values follow the standard designation convention stated in the harness itself, applied uniformly by script rather than typed per row. The three worked designations were selected from the register's rows after the run, one per outcome class — wrong value by a small margin, wrong value by a large margin, parse failure — and each was re-checked against its register row before drafting.
Frequently asked questions
Q: How many of the 24 bearing designations does the naive rule read correctly? A: Seven — the 6000-series forms with bore codes 04 to 10. Twelve forms receive a wrong bore and five fail to parse (Source: this batch's SD harness register, evidence/sd-results-batch53.json).
Q: Which bore codes break the multiply-by-five rule? A: Codes 00, 01, 02 and 03, which mean 10, 12, 15 and 17 mm respectively. Codes 04 and upward do multiply by five: 04 is 20 mm, 10 is 50 mm.
Q: Why do the suffix forms fail instead of reading wrong? A: The naive rule looks for trailing digits, and forms such as 6200-2RS end in letters. The register records them as parse failures; cutting the string at the hyphen before reading the code resolves all five.
Q: What bore does the designation 6203 specify? A: 17 mm — code 03 is one of the four exceptions. The naive multiplication returns 15 mm, which the register records as a wrong value.
Cleaning checklist for bearing designations: split the suffix at the hyphen into its own column; read the last two digits of the base as the bore code; map 00–03 through the exception table (10, 12, 15, 17); multiply only codes 04 and above by five; and spot-check one form per series before trusting the column.