Advertisement
Data Processing

SmartDataAI Lab Notes: Metric Screw Threads — The Silent Pitch

The safest-looking spelling in a thread register is the one that says least. We built a 300-row register of metric screw threads — diameter and pitch...

The safest-looking spelling in a thread register is the one that says least. We built a 300-row register of metric screw threads — diameter and pitch pairs drawn from the standard coarse-and-fine universe of 41 pairs — and spelled each row five ways. The full designation, "M14 x 1.5", returned every row. So did the hybrid that restates the pitch in threads per inch. But the bare designation, "M14", the form a hurried catalogue reaches for, returned only 25 of its 60 rows correctly and quietly converted the other 35 into different threads: a bare diameter is read as the coarse pitch by convention, so every fine-pitch row written bare comes back as its coarse namesake, with no error raised anywhere. The pitch alone, in millimetres or in TPI, returned nothing at all.

SmartDataAI Lab Notes: Metric Screw Threads — The Silent Pitch

How the register was built and read

The register holds 300 pairs drawn with replacement from the 41 (diameter, pitch) pairs of the standard metric universe: fifteen diameters from M3 to M30, each with its coarse pitch and up to three fine pitches — 191 of the 300 drawn rows carry a fine pitch. Each row is spelled five ways, 60 rows per spelling: the full designation; the hybrid with the pitch converted to threads per inch at one decimal; the bare designation; the pitch alone in millimetres; and the TPI figure alone. Parsers work in three stages — full designation first, then the hybrid, then all five — and the bare-designation parser applies the trade's own rule: no pitch written means the coarse pitch for that diameter. The code that built and read the register ships in this batch's evidence folder.

The stages recover 60 of 300 rows at the first pass, 120 with the hybrid spelling admitted, and 145 under the full parse.

SpellingStage addedRows recovered of 60Wrong pair returned
Full designation "M14 x 1.5"1600
Hybrid "M14 x 16.9 TPI"2600
Bare designation "M14"32535
Pitch only "1.5 mm pitch"300
TPI only "16.9 TPI"300

The Silent Pitch, defined

The Silent Pitch is the field a designation omits and a convention supplies: when the pitch is not written, the reader does not record an unknown — it records the coarse pitch, and the register's fine-pitch rows are rewritten in the act of being read. It is distinct from The Absent Default, the earlier concept for a field that has no default at all, where a missing value stays missing and the gap is at least visible. The silent pitch is worse than an absent default precisely because the default exists and is respectable: coarse-by-default is the correct reading of a bare "M14" in a purchasing catalogue, where the writer usually did mean the standard thread. In a register that also holds fine pitches, the same correct convention becomes a conversion rule that falsifies 35 of 60 bare rows. The two pitch-only spellings fail from the other side: a pitch names no diameter. The 1.5 mm pitch alone serves nine diameters in the universe (M10 through M27), and its TPI twin, 16.9, serves the same nine — so both return nothing, honestly, on all 60 rows each. The hybrid shows the way out: carry the diameter and any faithful restatement of the pitch, even in another unit, and the row survives — 25.4 divided by 16.9 TPI lands within a hundredth of a millimetre of 1.5, and snapping to the diameter's own pitch set returns the exact pair on all 60 rows.

The worked example, two threads

The register's first row is an M30 x 3.5, the coarse thread for its diameter. Every spelling behaves: the full designation and the hybrid ("M30 x 7.3 TPI") return it, and even the bare "M30" returns it, because the convention's guess happens to be the truth. The showcase row is an M14 x 1.5, a fine pitch under a diameter whose coarse is 2.0. The full designation returns it; the hybrid ("M14 x 16.9 TPI") returns it; the bare "M14" returns M14 x 2.0 — a real thread, a stocked thread, and not the thread in the row. Nothing in the bare spelling records that a choice was made. A register cleaned this way does not merely lose the fine rows; it gains coarse rows that were never in the source, inflating the coarse counts by exactly the number of fine rows it swallowed — 35 phantom M-coarse entries in this block alone.

A designation template that cannot go silent

The template for a register row has three fields, all mandatory. Field 1, diameter: the nominal diameter in millimetres, written as an integer after the M. Field 2, pitch: the pitch in millimetres, always written, including for coarse threads — the pass criterion is that the field is never empty, because empty is the failure this article measures. Field 3, source form: which spelling the row arrived in (full, hybrid, bare, pitch-only), so that rows which arrived bare can be quarantined rather than silently completed. Filling guidance: convert TPI arrivals to millimetres at intake (25.4 divided by the TPI figure) and snap to the diameter's standard pitch set, logging any arrival that snaps by more than a hundredth of a millimetre; transcribe bare arrivals into a holding table keyed by diameter, never into the main register. A filled example: diameter 14, pitch 1.5, source form hybrid — the row enters as M14 x 1.5 with its provenance attached. The common filling mistakes are the register's own findings restated: leaving the pitch blank for a coarse thread (it teaches the next reader that blank is safe), completing a bare arrival with the coarse pitch in the main table (35 of 60 wrong here), and discarding the source-form field, after which a completed guess is indistinguishable from a measured value forever.

The decision rule

A thread designation enters the register only with both fields written. If a source gives a bare designation, the row is held as diameter-known, pitch-unknown, and no convention is allowed to complete it in the main table — the coarse pitch may be shown as a suggestion in a separate column, clearly marked as assumed. The rule costs one holding table; the alternative, measured here, is a register in which more than half of the bare rows name the wrong thread and none of them say so.

FAQ

Why does the bare designation fail if coarse-by-default is the correct convention? Because the register holds fine pitches too. The convention is a good guess for a catalogue and a falsifying rule for a register: of the 60 bare rows here, 35 carried fine pitches and all 35 returned as their coarse namesakes.

Can threads per inch carry the pitch safely? Yes, when the diameter travels with it. The hybrid spelling returned all 60 rows: 25.4 divided by the 1-decimal TPI figure lands close enough to the true pitch that snapping to the diameter's standard set is exact. TPI alone, like pitch alone, returns nothing — it names no diameter.

How many diameters share one pitch? Up to nine: the 1.5 mm pitch appears under M10, M12, M14, M16, M18, M20, M22, M24 and M27 in the standard universe, which is why a pitch-only field can never identify a thread.

What should a register store? The pair, always: diameter and pitch as separate mandatory fields, plus the source form the row arrived in. A bare arrival is a holding-table row, not a coarse row.

Sources: own measurement — evidence/sd-harness-batch33.py ran the register and evidence/sd-results-batch33.json holds its output; evidence/sd-run-notes-batch33.md documents the pitch universe and the stage design. Figure: original recovery chart for the thread register, drawn from those results.

Know someone who needs this? Share it.

Advertisement