SmartDataAI Lab Notes: Cylindrical Cell Models — The Ambiguous Split
"18 mm dia" names three different battery cells, and "65.0 mm long" names four. We built a 300-row register of cylindrical cell models — the twelve co...
"18 mm dia" names three different battery cells, and "65.0 mm long" names four. We built a 300-row register of cylindrical cell models — the twelve common models from the 10440 to the 4680, each a (diameter, length) pair in millimetres — and spelled each row five ways. The model code returned every row, the spelled-out dimensions returned every row, and even the nominal volume, a derived float, returned every row, because the twelve models' volumes at one decimal are all distinct. But neither field of the code can identify a cell on its own: the 18 mm diameter is shared by the 18350, the 18500 and the 18650, and the 65.0 mm length is shared by four models, so the single-field spellings return nothing on all 120 of their rows. The code works only as a whole — two fields packed with no separator, split at a boundary that convention, not the digits, decides.
How the register was built and read
The register holds 300 rows drawn with replacement from the twelve-model table: 10440 (10 x 44.0), 14500 (14 x 50.0), 16340 (16 x 34.0), 18350 (18 x 35.0), 18500 (18 x 50.0), 18650 (18 x 65.0), 20700 (20 x 70.0), 21700 (21 x 70.0), 22650 (22 x 65.0), 26650 (26 x 65.0), 32650 (32 x 65.0) and 4680 (46 x 80.0). Each row is spelled five ways, 60 rows per spelling: the model code; the dimensions spelled out ("18 x 65.0 mm"); the nominal cylindrical volume at one decimal of a cubic centimetre; the diameter alone; and the length alone. Parsers work in three stages — code first, then dimensions, then all five. The volume parser returns the model whose volume lies nearest the spelled figure; the single-field parsers return nothing, since no diameter or length in the table belongs to fewer than one model and most belong to several. Code and results for the register are filed in the batch evidence.
Recovered, by stage: 60 of 300 at the first, 120 at the second, 180 under the full parse.
| Spelling | Stage added | Rows recovered of 60 | Wrong model returned |
|---|---|---|---|
| Model code "18650" | 1 | 60 | 0 |
| Dimensions "18 x 65.0 mm" | 2 | 60 | 0 |
| Volume, 1 decimal "16.5 cm3" | 3 | 60 | 0 |
| Diameter only "18 mm dia" | 3 | 0 | 0 |
| Length only "65.0 mm long" | 3 | 0 | 0 |
The Ambiguous Split, defined
The Ambiguous Split is a packed code whose fields can only be recovered by knowing where one field ends and the next begins — knowledge the code itself does not carry. It is distinct from The Packed Cell, the earlier concept for a single storage cell that holds several values at once, where the problem is separating values that were stored together. Here nothing is stored together: the register holds one model per row, and the packing lives inside the model's own name. The five-digit models split as two digits of diameter, two of length and a trailing zero for the cylindrical shape — 18650 is 18, 65, 0. The 4680 breaks the pattern inside the same table: four digits, splitting 46 and 80, where the final zero belongs to the length and there is no shape digit at all. A parser that applies the five-digit rule to the whole table reads the 4680's length as 8.0 mm; a parser that splits every code two-and-two reads the 18650's shape zero into its length and gets 65.0 only by luck of the trailing zero's position. The split is a convention per model family, and the register that does not record it has codes it cannot decompose. The field collisions complete the picture: because neither field is unique across the table — three models at 18 mm, four at 65.0 mm, two each at 50.0 and 70.0 mm — a decomposed register that loses either field cannot be rebuilt from the other. The volume's perfect score deserves its caveat: the twelve volumes at one decimal (3.5 to 133.0 cm3) happen to be distinct, so nearest-match inversion is exact here, but it is exact by the table's courtesy, not by the spelling's nature — add a model whose volume rounds to an existing one and the volume spelling starts returning neighbours.
The worked example, two cells
The register's first row is the 4680, the table's pattern-breaker. Its code returns it; its dimensions, "46 x 80.0 mm", return it; its volume, "133.0 cm3", returns it — the largest cell in the table by a factor of two and a half, unmistakable in every derived spelling. Its diameter alone, "46 mm dia", returns nothing despite naming a diameter no other model shares: the parser cannot know that from the field, and the rule that a field shared in principle returns nothing protects the rows where sharing is real. The showcase row is the 18650, the table's most conventional citizen: code, dimensions and volume ("16.5 cm3") all return it, while "18 mm dia" and "65.0 mm long" return nothing — the two most crowded fields in the table, three models deep and four models deep respectively. The pair of rows brackets the register's lesson: the spellings that carry both fields, in any form — packed, spelled out, or folded into a volume — are exact, and the spellings that carry one field are silent, however famous the model or however lonely its diameter happens to be.
Keying a cell register by code: the steps
Goal: a register in which every row decomposes into diameter and length without loss. Prerequisites: the model table for the register's cell families, with each family's split rule recorded (five-digit two-two-shape for the mainstream models; four-digit two-two for the 4680 family), and a list of the models actually stocked. Step 1: store the code as the key and the two fields as separate columns at intake — pass criterion: every row's code, split by its family's rule, reproduces its two field columns exactly. Step 2: reject at intake any code whose family is not in the table — pass criterion: no row enters with an assumed split, because an assumed split is the failure this article is about. Step 3: record diameter and length as numbers, never as substrings — pass criterion: a query for 18 mm returns the three models that share it, proving the fields were parsed, not sliced by eye. Step 4: treat single-field arrivals (a supplier line that gives only a diameter or only a length) as partial rows in a holding table — pass criterion: no partial row reaches the main register, where it would be indistinguishable from a complete one. Completion check: pick the model with the most crowded fields (here the 18650: the 18 mm diameter shared by three, the 65.0 mm length shared by four) and confirm that its row, and only its row, answers to its code, its dimensions and its volume — and that neither of its fields, alone, answers to anything.
The red line for split codes
Do not let a model code into the register without its family's split rule recorded beside it. A code whose split is assumed — five digits read as two-two-shape across a table that also holds the four-digit 4680 — enters with a wrong length already inside it, and every field query built on that length inherits the error invisibly.
FAQ
Why does the volume spelling return every row when the fields return none? Because the volume is computed from both fields, so it carries both fields' information. The twelve models' volumes at one decimal — from 3.5 cm3 for the 10440 to 133.0 cm3 for the 4680 — are all distinct, so nearest-match inversion is exact for this table. It is the only derived spelling in the register that keeps the whole pair.
What is ambiguous about the split in "4680"? Its siblings are five digits: diameter, length, and a zero for the cylindrical shape, as in 18650. The 4680 has four digits — 46 mm by 80 mm — and its final zero is part of the length. One split rule applied to the whole table misreads one family or the other; the split has to be recorded per family.
Which fields collide most? The 65.0 mm length is shared by four models (18650, 22650, 26650, 32650) and the 18 mm diameter by three (18350, 18500, 18650). Lengths of 50.0 and 70.0 mm are shared by two each. Every other diameter in the table (nine of the ten) and every other length (four of the seven) belongs to exactly one model — which is why the shared fields, not the unique ones, set the register's rules.
What should the register store? The code as key, with diameter and length as parsed numeric fields beside it, and the split rule recorded for each model family. A diameter or a length on its own is a holding-table fragment, not a row.
Sources: own measurement — harness evidence/sd-harness-batch33.py, results evidence/sd-results-batch33.json, design notes evidence/sd-run-notes-batch33.md. Figure: original chart of the cell register's recovery by spelling.