L14 Mixed Q5 · Rebuilt from the written spec

E24: the spec never says which Unicode version defines a letter

QuestionCan two programs that follow the spec exactly still split the same text differently?

Run by us; no unaffiliated reproduction

The test in one picture

Question, method, result and meaning, in plain words. The sourced detail is further down the page.

E24: the spec never says which Unicode version defines a letter: the test explained in one pictureQuestion: Can two programs that follow the spec exactly still split the same text differently? How we tested: 1. Notice our own CI check fail the same way on x86_64 and aarch64. 2. Generate the letter, number and whitespace tables under Unicode 15.0.0 and 15.1.0 and compare them. 3. Encode four test strings with both tables. What we found (Mixed): Spec names no Unicode version. The set of letters grew by 622 characters between Unicode 15.0.0 and 15.1.0 (136,104 to 136,726); numbers and whitespace did not change. Spec v0.3b names no Unicode version. For the pinned vocabulary the four test strings encoded identically, so no published digest moves. What it means: A spec can be exact about arithmetic and still leave the input text under-specified. A bounded finding, not a reproduction failure. The fix is proposed for v0.4 and is a maintainer decision.L14MIXEDE24: the spec never says which Unicode version defines a letter1 · THE QUESTIONCan two programsthat follow thespec exactlystill split thesame textdifferently?WHY IT MATTERSSplitting text into tokensdepends on whichcharacters count asletters. Two programs thatfollow the spec couldsplit differently.2 · HOW WE TESTED IT1Notice our own CI check failthe same way on x86_64 andaarch64.2Generate the letter, numberand whitespace tables underUnicode 15.0.0 and 15.1.0 andcompare them.3Encode four test strings withboth tables.3 · WHAT WE FOUNDMIXEDSpec names noUnicodeversionThe set of letters grew by 622characters between Unicode15.0.0 and 15.1.0 (136,104 to136,726); numbers andwhitespace did not change.Spec v0.3b names no Unicodeversion. For the pinnedvocabulary the four teststrings encoded identically,so no published digest moves.4 · WHAT IT MEANSA spec can be exactabout arithmetic andstill leave the inputtext under-specified.A bounded finding,not a reproductionfailure. The fix isproposed for v0.4 andis a maintainerdecision.Like a game rule that says 'words only' but never says which dictionary edition.aefinityai.com/labs/e24-unicode-gap/Run by us; no unaffiliated reproductionE24: the spec never says which Unicode version defines a letter: the test explained in one pictureQuestion: Can two programs that follow the spec exactly still split the same text differently? How we tested: 1. Notice our own CI check fail the same way on x86_64 and aarch64. 2. Generate the letter, number and whitespace tables under Unicode 15.0.0 and 15.1.0 and compare them. 3. Encode four test strings with both tables. What we found (Mixed): Spec names no Unicode version. The set of letters grew by 622 characters between Unicode 15.0.0 and 15.1.0 (136,104 to 136,726); numbers and whitespace did not change. Spec v0.3b names no Unicode version. For the pinned vocabulary the four test strings encoded identically, so no published digest moves. What it means: A spec can be exact about arithmetic and still leave the input text under-specified. A bounded finding, not a reproduction failure. The fix is proposed for v0.4 and is a maintainer decision.L14MIXEDE24: the spec never says whichUnicode version defines a letter1 · THE QUESTIONCan two programs that follow thespec exactly still split the sametext differently?WHY IT MATTERSSplitting text into tokens depends on whichcharacters count as letters. Two programsthat follow the spec could split differently.2 · HOW WE TESTED IT1Notice our own CI check fail the sameway on x86_64 and aarch64.2Generate the letter, number andwhitespace tables under Unicode 15.0.0and 15.1.0 and compare them.3Encode four test strings with bothtables.3 · WHAT WE FOUNDMIXEDSpec names no UnicodeversionThe set of letters grew by 622 charactersbetween Unicode 15.0.0 and 15.1.0 (136,104to 136,726); numbers and whitespace did notchange. Spec v0.3b names no Unicodeversion. For the pinned vocabulary the fourtest strings encoded identically, so nopublished digest moves.4 · WHAT IT MEANSA spec can be exact about arithmetic andstill leave the input text under-specified.A bounded finding, not a reproductionfailure. The fix is proposed for v0.4 andis a maintainer decision.Like a game rule that says 'words only' butnever says which dictionary edition.aefinityai.com/labs/e24-unicode-gap/

The same picture, in words

Question
Can two programs that follow the spec exactly still split the same text differently?
Why it matters
Splitting text into tokens depends on which characters count as letters. Two programs that follow the spec could split differently.
How the test works
  1. Notice our own CI check fail the same way on x86_64 and aarch64.
  2. Generate the letter, number and whitespace tables under Unicode 15.0.0 and 15.1.0 and compare them.
  3. Encode four test strings with both tables.
What we found
Spec names no Unicode version. The set of letters grew by 622 characters between Unicode 15.0.0 and 15.1.0 (136,104 to 136,726); numbers and whitespace did not change. Spec v0.3b names no Unicode version. For the pinned vocabulary the four test strings encoded identically, so no published digest moves.
What it means
A spec can be exact about arithmetic and still leave the input text under-specified. A bounded finding, not a reproduction failure. The fix is proposed for v0.4 and is a maintainer decision.
Everyday comparison
Like a game rule that says 'words only' but never says which dictionary edition.
Where the facts come from

Share this picture: SVG · PNG (1200 x 630)

01Why it matters

Splitting text into tokens depends on which characters count as letters. Two programs that follow the spec could split differently.

02Method, step by step

  1. Notice our own CI check fail the same way on x86_64 and aarch64.
  2. Generate the letter, number and whitespace tables under Unicode 15.0.0 and 15.1.0 and difference the sets.
  3. Encode four test strings with both tables.

Method as recorded

A CI check that regenerates the verifier's Unicode tables (cis2-verify/tools/gen_unicode.py) failed identically on the x86_64 and aarch64 GitHub runners (run 34340397775), so it was not an ISA difference. The difference between Unicode 15.0.0 and 15.1.0 was then measured by generating the LETTER, NUMBER and WHITESPACE tables twice in one session (unicodedata2==15.0.0 vs the interpreter's own 15.1.0 database) and differencing the codepoint sets. Measured on the development box (Debian 13, x86_64, crosvm guest) and GitHub ubuntu-24.04 / ubuntu-24.04-arm runners. Run by us. Concerns spec v0.3b section 3.1.4.

03Results, exact and sourced

  1. R1The LETTER table grew by 622 codepoints between Unicode 15.0.0 and 15.1.0 (CJK Unified Ideographs Extension I). The NUMBER and WHITESPACE tables did not change.

    | LETTER | `\p{L}`, `char::is_alphabetic` | 136,104 cp | 136,726 cp | **+622: U+2EBF0..U+2EE5D** |

    Verbatim source cis2-spec / E24_UNICODE_VERSION_GAP.md
  2. R2Spec v0.3b names no Unicode version for the pre-tokenizer's property classes.

    Neither the clause nor any other part of the document names a Unicode version.

    Verbatim source cis2-spec / E24_UNICODE_VERSION_GAP.md
  3. R3Bounded: this is a finding, not a reproduction failure, and no published digest moves.

    **Status:** finding, bounded. Not a reproduction failure. No published digest moves.

    Verbatim source cis2-spec / E24_UNICODE_VERSION_GAP.md

04What it does NOT show

Any change to the published digests; the finding is bounded. The spec text itself is unchanged and the fix is proposed for v0.4.

05Scope and caveats

  • Found by our own CI, not an outside report.
  • Run by us; no unaffiliated reproduction.
  • Harmless for the pinned artifacts: for the pinned SmolLM2-135M vocabulary, four test strings encoded to identical token ids with the 15.0.0 and 15.1.0 tables. The source says this holds by property of the vocabulary, not by anything the spec states, and a future Unicode release could diverge.
  • The spec amendment pinning Unicode 15.1.0 is only proposed for v0.4; the fix is a maintainer decision.
  • Only the checkability of the generated file was fixed (REQUIRED_UCD pin and CI install of unicodedata2==15.1.0); the spec text itself is unchanged.
  • The source states no timing number from these runs may be used.

06Outcome

Mixed

Some parts held, some did not, or we corrected ourselves.

07What we learned

A spec can be exact about arithmetic and still leave the input text under-specified. Claims like 'generated from the Unicode database' need a check pinned to the environment.

08Check it yourself

Read the finding (link above).