Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them.
Page: /drakestapleton/aien-sovereign-core-mv/patches/45513c9a32f87bae
# aien-sovereign-core-mv
AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.
Brought by drakestapleton
Sign in to star 0 stars 0 watching
About Files History Releases Proposed changes Issues For developers
## GitHub aien-dev/aien-sovereign-core-mv#836 (code only)
closed derived `45513c9a32f87bae` #836
Imported from GitHub aien-dev/aien-sovereign-core-mv#836 (code only)
GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).
Base `85a185816307d435e89a77666de327c293c26961` · Head `54db9d7f857d7253f814551e0f7cf6087413bd0a`
### Apply it
```
git checkout -b patch-45513c9a32f87bae 85a185816307d435e89a77666de327c293c26961
curl -fsSL https://interplane.io/drakestapleton/aien-sovereign-core-mv/patches/45513c9a32f87bae.patch | git am
```
Raw patch (mbox) · Diff
### Provenance
This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:
```
github-import 1
aien-dev/aien-sovereign-core-mv
836
54db9d7f857d7253f814551e0f7cf6087413bd0a
```
```
{"kind":"github-import","owner":"aien-dev","repo":"aien-sovereign-core-mv","number":836,"url":"https://github.com/aien-dev/aien-sovereign-core-mv/pull/836","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:38:06Z","metadata":"unavailable","state_derived":true}
```
### Changes
```
diff --git a/.crumb b/.crumb
index a1d85d4c..29558bae 100644
--- a/.crumb
+++ b/.crumb
@@ -125,14 +125,14 @@
}
],
"children_root": "sha256:05d34c0deec7c4a6cd3aa12640dca0c20bd8b2d4a4df809b234090822f422b4f",
- "compiled_at": "2026-10-30T16:18:51Z",
+ "compiled_at": "2026-10-30T19:12:40Z",
"compiler": "crumb-compile/1",
- "digest": "sha256:af06cb85279b46470d7276e59a224e62adca55445ced89329d916e34a5374eda",
+ "digest": "sha256:8567fdf0eeaa4407552328350420c39480765fddf586128736a8d5cea714ba10",
"evidence_files": 3602,
"evidence_root": "sha256:1b8069934a4cc67803874ebd2ad5de32671fae5ccce1a3ea70aeb532fe8ea86b",
- "files": 8110,
- "generated_at_commit": "37c2d29a321eaf169288f2b32403eff2e37197b7",
- "source_tree": "sha256:66f00cf6eeab30f6701a7ec8f8a42484bfd8c2125336c6cdf39e9804f90c7e46"
+ "files": 8114,
+ "generated_at_commit": "9a5f3613cec74ab1d52b1e9fc8947649019ed8dd",
+ "source_tree": "sha256:889bc8e35d7ff85c93b6784e8f0ac259f67e8289f48196d5fd27c18cdf5fc014"
}
},
"history": [],
diff --git a/om/flint/PROFILE.md b/om/flint/PROFILE.md
index f04ede04..1f717ad1 100644
--- a/om/flint/PROFILE.md
+++ b/om/flint/PROFILE.md
@@ -48,8 +48,24 @@ rehashed and matched the source capture before this work. Storage is BF16, with
no quantization descriptor/scales in this checkpoint. No lossy repack was applied.
Generation defaults in the pinned capture: do_sample=true, temperature=1.0,
top_p=0.95, top_k=20. The forward referee does not sample: token IDs [1001,8920]
-are fixed, not produced by a chat template. The tokenizer/template are frozen
-for future task workloads but not exercised by this tensor-only fixture.
+are fixed, not produced by a chat template. Tokenizer and control-token identity
+(ids, special flags, bytes, ByteLevel decode), the encode of UTF-8 text (ids and
+pre_tokenizer piece ends) are exercised on host by `tok.om`; invalid UTF-8 is refused
+(81). The chat template remains NOT_RUN.
+
+Unicode version of the reference: the pinned tokenizers 0.23.2 extension links
+oniguruma 6.5.3, and an exhaustive probe of its `\p{Lu}`, `\p{Ll}`, `\p{Lt}`,
+`\p{Lm}`, `\p{Lo}`, `\p{M}`, `\p{N}`, `\p{P}`, `\p{S}` and `\p{L}` over every code point
+matched UCD 16.0.0 with 0 differences (it differs from Python's `unicodedata` 15.0.0);
+`\s` equals White_Space, and under `(?i)` `s` also matches U+017F while t, r, e, v, m,
+l, d fold within ASCII. `tok.om`'s class table is generated by `test/ucdgen.py` from
+https://www.unicode.org/Public/16.0.0/ucd/:
+
+| File | SHA256 |
+|---|---|
+| UnicodeData.txt | ff58e5823bd095166564a006e47d111130813dcf8bf234ef79fa51a870edb48f |
+| PropList.txt | 53d614508e2a0b2305a8aa21cd60d993de9326cdf65993660dfcce4503548583 |
+| generated block in tok.om (UCD_PIN) | e56ba64df874bee73f2ff576ef498dc1283d02e9c258f9a1d945a9a605fd1b39 |
## Architecture audit
diff --git a/om/flint/README.md b/om/flint/README.md
index 11687ac2..dc19ccc3 100644
--- a/om/flint/README.md
+++ b/om/flint/README.md
@@ -206,17 +206,76 @@ layer, expert index permuted (255 - e), and window 514.
chained layer/intermediate/logit parity is now covered by the optional arm below;
- weight streaming and repacking, with peak allocation and residency measured during load;
- per-expert layout checks before fusing;
-- tokenizer and control-token identity, and a load report.
+- a load report;
+- tokenizer: the chat template is not rendered, and `(?i)` case folds are checked only for the
+ contraction letters (s t r e v m l d).
This unit has no GPU arm. A GGUF importer, if added, will be a separate optional unit.
+## Tokenizer and control-token identity: `tok.om`
+
+`tok.om` reads the pinned `tokenizer.json` (own strict JSON scanner: 150000 BPE vocab ids, 144
+added tokens, ByteLevel decoder), `tokenizer_config.json` and `generation_config.json` (both via
+`om/vendor/json.om`) and checks every record of `test/tok-fixture.txt`, which `test/tokref.py`
+writes from the pinned tokenizers 0.23.2 backend and which the gate regenerates and compares
+byte for byte. Records: vocab and added counts; BOS/EOS from tokenizer_config and BOS/EOS/pad
+ids from generation_config; 19 control tokens (text, roles, think, tools, tool-call, argument
+and response tags) by id, special flag and exact bytes, each the unique added token with that
+content and matching `added_tokens_decoder`; the ByteLevel decode of 5 reference-encoded
+texts (ASCII, multibyte UTF-8, whitespace, a chat turn, a tool-call turn) to their exact bytes;
+the encode of 440 UTF-8 texts to the reference's exact ids (35 hand cases including CJK and
+katakana runs, accented and decomposed Latin, combining marks, Devanagari, Arabic, Hebrew,
+Thai, Hangul, emoji with ZWJ and variation selectors, Arabic-Indic and other Unicode digits,
+Unicode spaces and line separators, `ſ` in contractions, titlecase and modifier letters,
+U+10000 and up; the 5 decode texts; 240 ASCII strings composed by `random.Random(834)`
+covering digit runs longer than 3, the contractions in mixed case and near misses, punctuation
+runs, whitespace and newline runs inside and at the end, control bytes and added tokens inside
+text; 160 strings by `random.Random(835)` mixing those fragments with non-ASCII ones); the byte
+end of every pre_tokenizer piece of the 258 of those texts without added tokens (`pre`
+records: BPE seldom merges across a piece boundary, so a wrong boundary often leaves the ids
+unchanged); and the reference regex engine's class of every code point (`ucd` record).
+Encode follows tokenizers 0.23.2 with `add_special_tokens=False`: added tokens cut out
+leftmost-longest as raw substrings at character starts, the `\p{N}{1,3}` Split, the CJK Split
+`[一-龥-ゟ゠-ヿ]+`, the main Split pattern (all six alternatives, Oniguruma backtracking and
+`\s+(?!\S)` evaluated per piece, `(?i)` contractions including `ſ` for `s`), ByteLevel, and BPE
+by lowest merge rank through 149744 merges held in a pair hash table (vocab strings in a second
+hash table). The text is decoded as UTF-8 to code points; each code point's class (other, Lu,
+Ll, Lt, Lm, Lo, M, N, P, S, White_Space) comes from a run-length table that `test/ucdgen.py`
+generates from UCD 16.0.0, the Unicode version of the reference's regex engine (onig 6.5.3;
+the `ucd` record compares it with the engine itself). The table sits between generated
+markers in `tok.om`; `check.sh` pins the block's sha256 (`UCD_PIN`) and, with
+`FLINT_UCD=
`, regenerates it with
+`ucdgen.py` and compares (NOT_RUN without it). The pre_tokenizer JSON is
+pinned by FNV-1a 64 of its text; a null-valued normalizer, truncation, padding, dropout,
+unk_token or affixes and false fuse_unk, byte_fallback, ignore_merges and added-token
+lstrip/rstrip/single_word/normalized are required, anything else is refused (52 or 55), so the
+encoder never runs on settings it does not implement.
+Usage: `flint-tok TOKENIZER_JSON TOKENIZER_CONFIG GENERATION_CONFIG FIXTURE`; one
+`flint-tok KIND NAME PASS|FAIL` line per record, a summary, exit 0 only when all pass.
+Refusals: 2 usage, 3 io, 4 not a regular file, 50 tokenizer.json size, 51 syntax, 52 schema,
+53 vocab id, 54 vocab key outside the ByteLevel alphabet, 55 added token, 56
+tokenizer_config, 57 generation_config, 58 fixture syntax, 59 capacity, 81 an `enc` text that
+is not valid UTF-8 (bad lead or continuation byte, overlong form, surrogate, above U+10FFFF,
+truncated). Codes 60-80 belong to the GGUF unit; the tokenizer has 81-89. `check.sh` runs
+fixture, input and source mutants (each must turn its named record to FAIL: among them a wrong
+expected id or piece end, a wrong class in the `ucd` record or in the table, digit pieces of 4,
+the `\s+(?!\S)` branch dropped, BPE by highest rank, the 3-letter contractions dropped, a
+wrong UTF-8 continuation decode, White_Space misread, `\p{M}` dropped from either letter
+class, katakana left out of the CJK Split, no backtracking in the first letter alternative and
+no `ſ` fold) and removes each refusal guard in turn (its fixture must stop producing the code):
+five invalid UTF-8 texts for 81 and a 16385-byte text of 8193 tokens for 59.
+No pinned token has characters outside the ByteLevel alphabet, so `check.sh` derives a
+tokenizer.json whose added token 150143 holds `<|reserved 150143\t|>` (space and tab) and checks
+the referee's `test/tok-fixture-raw.txt` decode against it; the `raw-bytes` source mutant must
+turn that case to FAIL.
+
## Complete bounded host forward
`FLINT_FORWARD=1` adds a full 49-layer chained computation to the same check command.
It starts from two token IDs, loads real BF16 embedding rows and all selected expert weights,
and compares five intermediate tensors per layer, final normalization and every vocabulary logit.
The reference tensors are comparison targets, never teacher-forced inputs.
-The full gate prints `OM-FLINT-MANIFEST PASS (92)` with real checkpoint inputs; wrong-token
+The full gate printed `OM-FLINT-MANIFEST PASS (158)` with real checkpoint inputs before the tokenizer encode work; on the encode head the gate without `FLINT_FORWARD` prints `PASS (886)` (89 before the 797 `tok.om` checks, with `FLINT_UCD`), and the forward arm was not rerun there; wrong-token
and skipped-final-normalization source mutants must fail the comparison.
See [PROFILE.md](PROFILE.md) for the frozen weight/runtime/tokenizer/template identities
diff --git a/om/flint/check.sh b/om/flint/check.sh
index 0c2b585a..2ec5abfd 100755
--- a/om/flint/check.sh
+++ b/om/flint/check.sh
@@ -197,6 +197,153 @@ else
echo "NOT_RUN FLINT_SHARDS (the 15 downloaded shards; needs FLINT_SRC too)"
fi
+# 4b. tokenizer and control-token identity (#834): tok.om reads the pinned tokenizer.json,
+# tokenizer_config.json and generation_config.json and checks every record of
+# test/tok-fixture.txt (vocab size, BOS/EOS/pad roles, 19 control tokens by id, special flag
+# and bytes, the decode of 5 reference-encoded texts back to their exact bytes, the encode of
+# 440 UTF-8 texts (ASCII and CJK, accented Latin, combining marks, emoji, other digits and
+# spaces; 400 of them from the seeded corpora) to the reference's exact ids, the piece ends of
+# the 258 of them without added tokens, and the reference's class of every code point).
+# test/tokref.py (FLINT_PY: tokenizers 0.23.2, transformers a672eb5f) must reproduce the
+# committed fixture byte for byte. Every fixture, input and source mutant must turn its named
+# record to FAIL (exit 1); every refusal must come from the guard named for it.
+# The Unicode class table in tok.om is generated by test/ucdgen.py from UCD 16.0.0 (the
+# reference's Unicode version): the block must hash to UCD_PIN, and with FLINT_UCD (the
+# directory holding UnicodeData.txt and PropList.txt of 16.0.0) ucdgen.py must reproduce it.
+UCD_PIN=e56ba64df874bee73f2ff576ef498dc1283d02e9c258f9a1d945a9a605fd1b39
+sed -n '/^note ======== unicode classes/,/^note ======== end of generated unicode classes/p' "$here/tok.om" > "$b/ucdblk.txt"
+if [ "$(sha "$b/ucdblk.txt")" = "$UCD_PIN" ]; then ok "tok: generated Unicode class block, sha $UCD_PIN"
+else bad "tok: Unicode class block in tok.om does not hash to UCD_PIN"; fi
+if [ -n "${FLINT_UCD:-}" ]; then
+ if ${FLINT_PY:-python3} "$here/test/ucdgen.py" "$FLINT_UCD" > "$b/ucdgen.txt" 2>&1 < /dev/null && cmp -s "$b/ucdgen.txt" "$b/ucdblk.txt"; then
+ ok "tok: test/ucdgen.py reproduces the Unicode class block from UCD 16.0.0"
+ else bad "tok: test/ucdgen.py does not reproduce the Unicode class block: $(head -c 200 "$b/ucdgen.txt")"; fi
+else
+ echo "NOT_RUN ucdgen (regenerating the Unicode class block; needs FLINT_UCD)"
+fi
+TOKJ_PIN=a263cce0b7e2b03f7ee07ce809783ef4b47f160c3f268a4ea1524f638da45b68
+TOKC_PIN=159ac88217e90ffd0a4a294726048bb302829e82e1958dc85bb203aa79138fbf
+GENC_PIN=a499c71895e008abd572558a5ad5904feaed92cf2a3b6e2cb0e9cabf03b96ed3
+TPL_PIN=7940f4ffa3275c36caa4a582f845aaad79da11018b3961e8fbcad6ae29733466
+TOK_SUM='flint-tok summary vocab 150000 added 144 records 729 pass 729 fail 0 PASS'
+TOK_MUT='eos-id#x#s/^role eos 150001$/role eos 150002/#role eos
+think-id#x#s/^ctl think-open 150006 /ctl think-open 150007 /#ctl think-open
+think-special#x#s/^ctl think-close 150007 0 /ctl think-close 150007 1 /#ctl think-close
+chat-id#x#s/^case chat 41 150002 /case chat 41 150003 /#case chat
+ascii-byte#x#s/ 48656c6c6f2c2077/ 49656c6c6f2c2077/#case ascii
+vocab-size#x#s/^size 150000 144$/size 150000 143/#size
+json-think-swap#j#s/"content": ""/"content": "@T@"/; s/"content": "<\/think>"/"content": ""/; s/"content": "@T@"/"content": "<\/think>"/#ctl think-open
+json-vocab-swap#j#s/"Hello": 9479,/"Hello": 1571,/; s/"Ġworld": 1571,/"Ġworld": 9479,/#case ascii
+cfg-eos#c#s/"eos_token": "<|end_of_text|>"/"eos_token": "<|user|>"/#role eos
+gen-eos#g#s/150005,/150005/; /^ *150018$/d#role geneos
+enc-id#x#s/^enc hello 1 9479 /enc hello 1 9480 /#enc hello
+pre-end#x#s/^pre hello 1 5 /pre hello 1 4 /#pre hello
+ucd-class#x#s/^ucd unicode-16.0.0 8013 61396b35/ucd unicode-16.0.0 8013 62396b35/#ucd unicode-16.0.0'
+TOK_FIX='json-size#j#d#50
+json-syntax#j#$s/}$//#51
+json-decoder#j#s/"type": "ByteLevel"/"type": "Metaspace"/#52
+json-vocab-dup#j#s/"Hello": 9479,/"Hello": 11,/#53
+json-vocab-char#j#s/"Hello": 9479,/"\\u4e00": 9479,/#54
+json-added-gap#j#s/"id": 150006,/"id": 150099,/#55
+cfg-json#c#$s/}$//#56
+gen-num#g#s/"pad_token_id": 150001/"pad_token_id": -1/#57
+fixture-record#x#$a bogus x#58
+json-pretok-regex#j#s/p{N}{1,3}/p{N}{1,4}/#52
+enc-bad-cont#x#$a enc badcont 1 0 2 c328#81
+enc-overlong#x#$a enc overlong 1 0 2 c0af#81
+enc-surrogate#x#$a enc surrogate 1 0 3 eda080#81
+enc-past-max#x#$a enc pastmax 1 0 4 f4908080#81
+enc-truncated#x#$a enc truncated 1 0 2 e381#81'
+if [ -n "${FLINT_SRC:-}" ]; then
+ tj=$FLINT_SRC/tokenizer.json tc=$FLINT_SRC/tokenizer_config.json tg=$FLINT_SRC/generation_config.json
+ tfx=$here/test/tok-fixture.txt
+ tok() { # binary tokjson tokcfg gencfg fixture; sets rc, leaves $b/tok.out and $b/tok.err
+ timeout 60 "$1" "$2" "$3" "$4" "$5" > "$b/tok.out" 2> "$b/tok.err" < /dev/null
+ rc=$?
+ }
+ tokmut() { # kind sed: writes the four inputs with one of them edited to $b/tm.{j,c,g,x}
+ cp "$tj" "$b/tm.j"; cp "$tc" "$b/tm.c"; cp "$tg" "$b/tm.g"; cp "$tfx" "$b/tm.x"
+ if [ "$2" = d ]; then : > "$b/tm.$1"; else sed -i "$2" "$b/tm.$1"; fi
+ ! cmp -s "$b/tm.$1" "$( case $1 in j) echo "$tj";; c) echo "$tc";; g) echo "$tg";; x) echo "$tfx";; esac )"
+ }
+ if [ "$(sha "$tj")" != "$TOKJ_PIN" ] || [ "$(sha "$tc")" != "$TOKC_PIN" ] || [ "$(sha "$tg")" != "$GENC_PIN" ] || [ "$(sha "$FLINT_SRC/chat_template.jinja")" != "$TPL_PIN" ]; then
+ bad "tok: tokenizer files in FLINT_SRC are not the pinned revision 2a247be0"
+ elif ! build "$b/tok" "$here/tok.om"; then bad "tok: tok.om does not compile"
+ else
+ trj="$b/tokraw.json"
+ sed 's/"content": "<|reserved_150143|>"/"content": "<|reserved 150143\\t|>"/' "$tj" > "$trj"
+ if ${FLINT_PY:-python3} "$here/test/tokref.py" "$FLINT_SRC" "$b/tokfx.txt" "$trj" "$b/tokfxr.txt" > "$b/tokref.out" 2>&1 < /dev/null && cmp -s "$b/tokfx.txt" "$tfx" && cmp -s "$b/tokfxr.txt" "$here/test/tok-fixture-raw.txt"; then
+ ok "tok: test/tokref.py reproduces test/tok-fixture.txt and test/tok-fixture-raw.txt"
+ else
+ bad "tok: test/tokref.py does not reproduce the fixtures: $(head -c 300 "$b/tokref.out")"
+ fi
+ tok "$b/tok" "$trj" "$tc" "$tg" "$here/test/tok-fixture-raw.txt"
+ if [ "$rc" = 0 ] && grep -qx "flint-tok case raw-added PASS" "$b/tok.out"; then ok "tok: raw-added decode (token outside the ByteLevel alphabet) PASS"
+ else bad "tok: raw-added decode rc $rc, $(tail -n 1 "$b/tok.out")"; fi
+ tok "$b/tok" "$tj" "$tc" "$tg" "$tfx"
+ if [ "$rc" = 0 ] && [ "$(tail -n 1 "$b/tok.out")" = "$TOK_SUM" ] && [ ! -s "$b/tok.err" ]; then
+ while read -r line; do ok "$line"; done < <(grep -v '^flint-tok summary ' "$b/tok.out")
+ else
+ bad "tok: rc $rc, $(tail -n 1 "$b/tok.out") $(head -c 200 "$b/tok.err")"
+ fi
+ while IFS='#' read -r m k e want; do
+ tokmut "$k" "$e" || { bad "tok mutant $m: edit changed nothing"; continue; }
+ tok "$b/tok" "$b/tm.j" "$b/tm.c" "$b/tm.g" "$b/tm.x"
+ if [ "$rc" = 1 ] && grep -qx "flint-tok $want FAIL" "$b/tok.out"; then ok "tok mutant $m: $want FAIL"
+ else bad "tok mutant $m: want $want FAIL, rc $rc, $(grep -m1 ' FAIL$' "$b/tok.out") $(head -c 120 "$b/tok.err")"; fi
+ done <<< "$TOK_MUT"
+ "$b/tok" "$tj" "$tc" "$tg" > "$b/tok.out" 2> /dev/null < /dev/null
+ r=$?
+ if [ "$r" = 2 ] && [ ! -s "$b/tok.out" ]; then ok "tok usage: 2"; else bad "tok usage: $r"; fi
+ tok "$b/tok" "$b/absent.json" "$tc" "$tg" "$tfx"
+ if [ "$rc" = 3 ] && [ ! -s "$b/tok.out" ]; then ok "tok absent tokenizer.json: 3"; else bad "tok absent tokenizer.json: $rc"; fi
+ tok "$b/tok" "$b" "$tc" "$tg" "$tfx"
+ if [ "$rc" = 4 ] && [ ! -s "$b/tok.out" ]; then ok "tok directory as tokenizer.json: 4"; else bad "tok directory as tokenizer.json: $rc"; fi
+ st=$(cat "$here/tok.om")
+ { printf 'enc capacity 1 0 16385 61'; printf '2061%.0s' $(seq 8192); echo; } > "$b/tokcap.txt"
+ TOK_FIX="$TOK_FIX"$'\n'"enc-capacity#x#\$r $b/tokcap.txt#59"
+ while IFS='#' read -r m k e want; do
+ tokmut "$k" "$e" || { bad "tok refusal $m: edit changed nothing"; continue; }
+ tok "$b/tok" "$b/tm.j" "$b/tm.c" "$b/tm.g" "$b/tm.x"
+ if [ "$rc" = "$want" ] && [ ! -s "$b/tok.out" ] && grep -q "^refused $want " "$b/tok.err"; then ok "tok refusal $m: $want"
+ else bad "tok refusal $m: want $want, got $rc ($(head -c 120 "$b/tok.err"))"; continue; fi
+ t=${st//"tk_die $want tr$want$nl"/"put gs 63 get gs 63$nl"}
+ if [ "$t" = "$st" ]; then bad "tok mutant die-$want: no guard text found"; continue; fi
+ printf '%s\n' "$t" > "$b/tmut.om"
+ if ! build "$b/tmut" "$b/tmut.om"; then bad "tok mutant die-$want: does not compile"; continue; fi
+ tok "$b/tmut" "$b/tm.j" "$b/tm.c" "$b/tm.g" "$b/tm.x"
+ if [ "$rc" = "$want" ]; then bad "tok mutant die-$want: still exits $want on $m"; else ok "tok mutant die-$want: $m now exits $rc, not $want"; fi
+ done <<< "$TOK_FIX"
+ TOK_SRC='byte-map|ret add k 94|ret add k 93|case utf8|pin
+special-flag|b = eq ulong get gsp id add sp 1|b = eq ulong get gsp id 1|ctl begin-text|pin
+raw-bytes|tk_dput ulong get gpool add o i|tk_dput ulong get gpool add o 0|case raw-added|raw
+digit-split|const NDIG ulong 3|const NDIG ulong 4|enc digits|pin
+no-lookahead|r = te_a5 p e w|r = p|enc ws-word|pin
+bpe-max-rank|if or eq bi NOINT lt r br|if or eq bi NOINT gt r br|enc hello|pin
+contraction-3|ret add l 3|ret l|enc contract|pin
+a1-no-x|r = te_a1 p e 0|r = NOINT|enc contract|pin
+utf8-cp|c = add mul c 64 sub x 128|c = add mul c 64 sub x 127|enc cjk|pin
+ws-class|ret eq k 10|ret eq k 0|enc r025|pin
+no-mark-w|ret or eq k 2 and ge k 4 le k 6|ret or eq k 2 and ge k 4 le k 5|pre decomp|pin
+no-mark-u|ret or eq k 1 and ge k 3 le k 6|ret or eq k 1 and ge k 3 le k 5|pre u031|pin
+cjk-kata|and ge c 12448 le c 12543|and ge c 12544 le c 12543|pre cjk-kata|pin
+a1-no-backtrack|q = sub u j|q = u|pre decomp|pin
+long-s-fold|if eq c 383|if eq c 384|pre long-s|pin
+ucd-table|text ucd "a9k5|text ucd "a9a5|ucd unicode-16.0.0|pin'
+ while IFS='|' read -r m from to want fx; do
+ [ "$(grep -cF "$from" "$here/tok.om")" = 1 ] || { bad "tok mutant $m: site not found exactly once"; continue; }
+ printf '%s\n' "${st/"$from"/"$to"}" > "$b/tmut.om"
+ if ! build "$b/tmut" "$b/tmut.om"; then bad "tok mutant $m: does not compile"; continue; fi
+ if [ "$fx" = raw ]; then tok "$b/tmut" "$trj" "$tc" "$tg" "$here/test/tok-fixture-raw.txt"
+ else tok "$b/tmut" "$tj" "$tc" "$tg" "$tfx"; fi
+ if [ "$rc" = 1 ] && grep -qx "flint-tok $want FAIL" "$b/tok.out"; then ok "tok mutant $m: $want FAIL"
+ else bad "tok mutant $m: want $want FAIL, rc $rc, $(head -c 120 "$b/tok.err")"; fi
+ done <<< "$TOK_SRC"
+ fi
+else
+ echo "NOT_RUN tok (tokenizer identity; needs FLINT_SRC)"
+fi
+
# 5. forward operators (Core #802): ops.om recomputes, from the real BF16 shard weights, the
# outputs that test/opref.py takes from the pinned reference modules, and must land within twice
# the reference's own f32 error bound; each mutant must turn its operator's verdict to FAIL
diff --git a/om/flint/test/tok-fixture-raw.txt b/om/flint/test/tok-fixture-raw.txt
new file mode 100644
index 00000000..c7d9388d
--- /dev/null
+++ b/om/flint/test/tok-fixture-raw.txt
@@ -0,0 +1,2 @@
+# derived tokenizer.json: id 150143 content 3c7c726573657276656420313530313433097c3e
+case raw-added 3 9479 150143 15737 30 48656c6c6f3c7c726573657276656420313530313433097c3e776f726c64
diff --git a/om/flint/test/tok-fixture.txt b/om/flint/test/tok-fixture.txt
new file mode 100644
index 00000000..89908f65
--- /dev/null
+++ b/om/flint/test/tok-fixture.txt
@@ -0,0 +1,738 @@
+# flint tokenizer fixture v1, written by om/flint/test/tokref.py
+# source RecursiveSI/flint@2a247be0c0aec895ccb0ac7ca92229ec6df37288
+# transformers 5.21.0.dev0 backend tokenization_utils_tokenizers.py sha256 9ca05b9e41dbd73b53e2c6521eb28194f1f3ae55c153b9f3e8fd6b0ef450e1ea
+# tokenizers 0.23.2 tokenizers.abi3.so sha256 999ab0b786c4c73eeadda6420e6048b22e0c465fc06587aa8eb0d341a287c1f3
+# tokenizer class TokenizersBackend
+# tokenizer.json sha256 a263cce0b7e2b03f7ee07ce809783ef4b47f160c3f268a4ea1524f638da45b68
+# tokenizer_config.json sha256 159ac88217e90ffd0a4a294726048bb302829e82e1958dc85bb203aa79138fbf
+# chat_template.jinja sha256 7940f4ffa3275c36caa4a582f845aaad79da11018b3961e8fbcad6ae29733466
+# generation_config.json sha256 a499c71895e008abd572558a5ad5904feaed92cf2a3b6e2cb0e9cabf03b96ed3
+size 150000 144
+role bos 150000
+role eos 150001
+role genbos 150000
+role geneos 150001 150003 150005 150018
+role genpad 150001
+ctl begin-text 150000 1 3c7c626567696e5f6f665f746578747c3e
+ctl end-text 150001 1 3c7c656e645f6f665f746578747c3e
+ctl system 150002 1 3c7c73797374656d7c3e
+ctl user 150003 1 3c7c757365727c3e
+ctl assistant 150004 1 3c7c617373697374616e747c3e
+ctl observation 150005 1 3c7c6f62736572766174696f6e7c3e
+ctl developer 150018 1 3c7c646576656c6f7065727c3e
+ctl think-open 150006 0 3c7468696e6b3e
+ctl think-close 150007 0 3c2f7468696e6b3e
+ctl tools-open 150008 0 3c746f6f6c733e
+ctl tools-close 150009 0 3c2f746f6f6c733e
+ctl call-open 150010 0 3c746f6f6c5f63616c6c3e
+ctl call-close 150011 0 3c2f746f6f6c5f63616c6c3e
+ctl argkey-open 150012 0 3c6172675f6b65793e
+ctl argkey-close 150013 0 3c2f6172675f6b65793e
+ctl argval-open 150014 0 3c6172675f76616c75653e
+ctl argval-close 150015 0 3c2f6172675f76616c75653e
+ctl resp-open 150016 0 3c746f6f6c5f726573706f6e73653e
+ctl resp-close 150017 0 3c2f746f6f6c5f726573706f6e73653e
+case ascii 19 9479 11 1571 0 450 3030 12810 34325 31949 849 220 721 22184 11676 26 782 28 2021 13 64 48656c6c6f2c20776f726c64212054686520717569636b2062726f776e20666f78206a756d7073206f766572203133206c617a7920646f67733b20783d34322e
+case utf8 22 2876 69556 59029 2911 220 86487 43925 30406 24653 11 10001 29095 117 3883 40341 0 220 22229 121964 60991 242 246 70 6e61c3af766520636166c3a920e2809420e697a5e69cace8aa9e20f09f998220d09fd180d0b8d0b2d0b5d1822c20cebae1bdb9cf83cebcceb52120c2bd20e2889120f09d9498
+case ws 21 10068 34566 198 131019 359 220 1045 220 8802 653 6633 220 188 77 342 221 10287 215 58 15 76 47 746162096c696e650a43524c460d0a202074776f2020737061636573c2a06e62737020006e756c7f64656c1b5b306d
+case chat 41 150002 2356 422 73089 13 150003 2387 332 220 776 9 1003 30 150004 150006 776 9 1003 311 220 14550 11 2319 220 776 9 460 311 220 10333 299 220 776 9 18 311 220 3243 13 150007 14550 122 3c7c73797374656d7c3e596f752061726520466c696e742e3c7c757365727c3e576861742069732031372a32333f3c7c617373697374616e747c3e3c7468696e6b3e31372a3233203d203339312c2073696e63652031372a3230203d2033343020616e642031372a33203d2035312e3c2f7468696e6b3e333931
+case chat-tool 154 150002 198 2 15147 284 2356 949 1841 703 424 690 3587 295 5996 386 269 1464 4696 346 2356 422 3532 386 838 30717 2003 220 150008 150009 12086 10458 537 150008 5482 794 1129 368 558 87055 542 368 7700 1129 368 7636 7655 340 260 3705 16110 368 13204 1129 8960 2092 1129 368 2900 542 368 25724 1129 8960 11682 1129 8960 2092 1129 368 1248 121195 368 11391 1129 6817 11682 1937 2358 150009 284 2199 1218 838 1841 11 2544 269 838 1060 299 7200 2003 269 2017 12086 3706 537 150010 90 2117 16065 92 150012 90 1021 21627 12 16 92 150013 150014 90 1021 17195 12 16 92 150015 1410 150011 198 150003 25975 293 12834 30 150004 150006 6259 269 2284 13 150007 150010 558 87055 150012 11682 150013 150014 51574 150015 150011 150005 150016 5482 7416 954 1129 220 729 92 150017 150004 777 3c7c73797374656d7c3e0a2320546f6f6c730a0a596f75206d61792063616c6c206f6e65206f72206d6f72652066756e6374696f6e7320746f2061737369737420776974682074686520757365722071756572792e0a0a596f75206172652070726f766964656420776974682066756e6374696f6e207369676e6174757265732077697468696e203c746f6f6c733e3c2f746f6f6c733e20584d4c20746167733a0a3c746f6f6c733e7b226e616d65223a20226765745f77656174686572222c20226465736372697074696f6e223a202243757272656e74207765617468657220666f72206120636974792e222c2022706172616d6574657273223a207b2274797065223a20226f626a656374222c202270726f70657274696573223a207b2263697479223a207b2274797065223a2022737472696e67227d7d2c20227265717569726564223a205b2263697479225d7d7d3c2f746f6f6c733e0a0a466f7220656163682066756e6374696f6e2063616c6c2c206f7574707574207468652066756e6374696f6e206e616d6520616e6420617267756d656e74732077697468696e2074686520666f6c6c6f77696e6720584d4c20666f726d61743a0a3c746f6f6c5f63616c6c3e7b66756e6374696f6e2d6e616d657d3c6172675f6b65793e7b6172672d6b65792d317d3c2f6172675f6b65793e3c6172675f76616c75653e7b6172672d76616c75652d317d3c2f6172675f76616c75653e2e2e2e3c2f746f6f6c5f63616c6c3e0a3c7c757365727c3e5765617468657220696e2050617269733f3c7c617373697374616e747c3e3c7468696e6b3e43616c6c2074686520746f6f6c2e3c2f7468696e6b3e3c746f6f6c5f63616c6c3e6765745f776561746865723c6172675f6b65793e636974793c2f6172675f6b65793e3c6172675f76616c75653e50617269733c2f6172675f76616c75653e3c2f746f6f6c5f63616c6c3e3c7c6f62736572766174696f6e7c3e3c746f6f6c5f726573706f6e73653e7b2274656d705f63223a2031387d3c2f746f6f6c5f726573706f6e73653e3c7c617373697374616e747c3e
+enc hello 1 9479 5 48656c6c6f
+pre hello 1 5 5 48656c6c6f
+enc digits 23 4051 9470 2976 220 4051 19 782 3274 960 88 220 15 220 6041 220 18 13 6416 2491 220 16 68 978 41 31323334353637382031323334207839393939397920302030303720332e3134313539203165313030
+pre digits 23 3 6 8 9 12 13 15 18 20 21 22 23 24 27 28 29 30 33 35 36 37 38 41 41 31323334353637382031323334207839393939397920302030303720332e3134313539203165313030
+enc ws-word 9 64 220 286 256 270 197 3467 8943 315 15 612020622020206309096420092065
+pre ws-word 9 1 2 4 6 8 9 11 13 15 15 612020622020206309096420092065
+enc trail-ws 2 426 279 6 656e64202020
+pre trail-ws 2 3 6 6 656e64202020
+enc trail-nl 2 974 284 6 6c696e650a0a
+pre trail-nl 2 4 6 6 6c696e650a0a
+enc lead-ws 2 256 1739 7 2020206c656164
+pre lead-ws 2 2 7 7 2020206c656164
+enc contract 7 24121 1827 6609 11249 2503 6099 21992 40 6974277320646f6e277420746865792772652077652776652049276d20796f75276c6c2068652764
+pre contract 7 4 10 18 24 28 35 40 40 6974277320646f6e277420746865792772652077652776652049276d20796f75276c6c2068652764
+enc contract-uc 21 1470 17288 86856 82786 142791 30519 6 3429 1567 44 22460 6 784 14884 43763 799 17288 276 36 6 25810 51 4954275320444f4e275420544845592752452057452756452049274d20594f55274c4c20484527442049742753207745275665
+pre contract-uc 10 4 10 18 24 28 35 40 45 47 51 51 4954275320444f4e275420544845592752452057452756452049274d20594f55274c4c20484527442049742753207745275665
+enc contract-no 16 15068 35319 6 1869 285 50661 375 62064 782 6 375 50 4803 82 13759 1208 43 726f636b276e27726f6c6c206f27636c6f636b2027746973207827202753202727732073686527736e2774
+pre contract-no 15 4 6 11 13 19 21 24 26 27 29 30 33 34 40 43 43 726f636b276e27726f6c6c206f27636c6f636b2027746973207827202753202727732073686527736e2774
+enc punct 46 10340 19558 3953 2050 0 25903 330 64 8 566 65 60 380 66 92 476 67 29 1396 68 318 77346 69 4930 260 19680 17929 26 454 20 827 87 726 88 1152 89 7432 86 602 85 63 688 84 91 434 83 75 4869212121202e2e2e203f213f2120286129205b625d207b637d203c643e202d2d652d2d207e7e667e7e20612b623d633b20243520407820237920257a205e7720607660207c757c205c74
+pre punct 44 2 5 9 14 16 17 18 20 21 22 24 25 26 28 29 30 33 34 36 39 40 42 44 46 48 49 51 52 54 55 57 58 60 61 63 64 66 67 68 70 71 72 74 75 75 4869212121202e2e2e203f213f2120286129205b625d207b637d203c643e202d2d652d2d207e7e667e7e20612b623d633b20243520407820237920257a205e7720607660207c757c205c74
+enc newline 13 64 198 65 359 66 57394 67 2182 68 764 280 2646 9004 21 610a620d0a630d0d640a0a0a65200a2066090a0967
+pre newline 13 1 2 3 5 6 8 9 12 13 15 17 19 21 21 610a620d0a630d0d640a0a0a65200a2066090a0967
+enc punct-nl 6 87 14610 88 4709 1084 1135 14 782e0d0a0d0a79210a207a3f0a0a
+pre punct-nl 6 1 6 7 9 11 14 14 782e0d0a0d0a79210a207a3f0a0a
+enc added 8 87 150006 88 150007 1084 150003 5921 150004 42 783c7468696e6b3e793c2f7468696e6b3e207a3c7c757365727c3e68693c7c617373697374616e747c3e
+enc added-adj 8 150010 150012 74 150013 150014 85 150015 150011 67 3c746f6f6c5f63616c6c3e3c6172675f6b65793e6b3c2f6172675f6b65793e3c6172675f76616c75653e763c2f6172675f76616c75653e3c2f746f6f6c5f63616c6c3e
+enc added-part 14 5374 259 476 25832 476 91 1486 91 220 150003 64176 476 150006 29 41 3c7468696e203c7468696e6b203c7c757365727c203c7c757365727c3e7c3e203c3c7468696e6b3e3e
+enc ctl-bytes 18 64 188 65 189 270 216 219 67 221 315 199 69 200 70 215 58 15 76 20 6100620120631c1f647f20650b660c671b5b306d
+pre ctl-bytes 14 1 3 4 6 7 9 10 12 14 16 17 18 19 20 20 6100620120631c1f647f20650b660c671b5b306d
+enc caps 13 17111 7612 596 7720 23137 1182 260 5455 54729 3460 344 416 8009 50 48545450536572766572206950686f6e65204142436465662061424320584d4c487474705265717565737420412042204344
+pre caps 11 10 12 17 24 26 28 36 43 45 47 50 50 48545450536572766572206950686f6e65204142436465662061424320584d4c487474705265717565737420412042204344
+enc long 47 5835 2438 275 339 18091 312 2975 6595 492 313 73488 58890 275 339 18091 312 2975 6595 492 313 73488 58890 275 339 18091 312 2975 6595 492 313 73488 260 87968 87968 87968 87968 59435 24124 3274 3274 3274 3274 3274 3274 3274 3274 24 240 737570657263616c6966726167696c697374696365787069616c69646f63696f757320737570657263616c6966726167696c697374696365787069616c69646f63696f757320737570657263616c6966726167696c697374696365787069616c69646f63696f757320616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161612020202020202020202020202020202020202020202020202020202020202020202020202020202039393939393939393939393939393939393939393939393939
+pre long 14 34 69 104 175 215 218 221 224 227 230 233 236 239 240 240 737570657263616c6966726167696c697374696365787069616c69646f63696f757320737570657263616c6966726167696c697374696365787069616c69646f63696f757320737570657263616c6966726167696c697374696365787069616c69646f63696f757320616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161612020202020202020202020202020202020202020202020202020202020202020202020202020202039393939393939393939393939393939393939393939393939
+enc cjk 10 86487 1665 108232 13673 1050 50749 37492 852 22139 1050 57 e697a5e69cace8aa9ee381aee38386e382ade382b9e38388e381a7e38199e38082e4b8ade69687e69687e69cacefbc8ce6b58be8af95e38082
+pre cjk 6 30 33 45 48 54 57 57 e697a5e69cace8aa9ee381aee38386e382ade382b9e38388e381a7e38199e38082e4b8ade69687e69687e69cacefbc8ce6b58be8af95e38082
+enc cjk-mix 18 99000 45306 14070 220 45306 220 1240 19 3345 782 6878 88 220 6878 85140 260 1833 65 51 546f6b796fe69db1e4baac61626320e69db1e4baac2032303234e5b9b42078e381827920e38182e38184e381862061e4b88062
+pre cjk-mix 17 5 11 14 15 21 22 25 26 29 31 34 35 36 45 47 50 51 51 546f6b796fe69db1e4baac61626320e69db1e4baac2032303234e5b9b42078e381827920e38182e38184e381862061e4b88062
+enc cjk-kata 12 220 12728 9635 140454 220 18872 260 665 254 65 220 6890 30 20e382abe382bfe382abe3838a20e383bce383892061e382a06220e383bb
+pre cjk-kata 9 1 13 14 20 22 25 26 27 30 30 20e382abe382bfe382abe3838a20e383bce383892061e382a06220e383bb
+enc cjk-edge 26 1833 21732 98 21732 99 165 123 123 159 238 222 487 222 665 253 665 254 700 123 128114 222 220 19864 114 73312 222 37 e4b880e9bea5e9bea6e9bfbfe39080e38180e3829fe382a0e383bfe3848020efbdb6efbe80
+pre cjk-edge 6 6 15 21 27 30 37 37 e4b880e9bea5e9bea6e9bfbfe39080e38180e3829fe382a0e383bfe3848020efbdb6efbe80
+enc latin 19 104377 805 60901 49074 11 82867 149743 21316 2784 1100 21316 38081 1785 253 78 32042 48556 75497 139752 67 436166c3a92064c3a96ac3a02076752c206e61c3af76652072c3a973756dc3a920c389434f4c4520c38974c3a920c39f6f20c4b07374616e62756c20c581c3b364c5ba
+pre latin 11 5 12 15 16 23 32 39 45 49 59 67 67 436166c3a92064c3a96ac3a02076752c206e61c3af76652072c3a973756dc3a920c389434f4c4520c38974c3a920c39f6f20c4b07374616e62756c20c581c3b364c5ba
+enc decomp 16 68 40152 656 40152 58853 40152 442 40152 2784 1100 344 107571 5455 260 107571 65 33 65cc817465cc812043616665cc812045cc81434f4c452041cc8842432061cc8862
+pre decomp 7 7 14 18 22 26 28 33 33 65cc817465cc812043616665cc812045cc81434f4c452041cc8842432061cc8862
+enc marks 24 40152 14070 220 40152 87 782 220 40152 220 40152 92078 80763 344 40152 2744 225 251 0 375 40152 82 813 40152 40152 41 cc8161626320cc8178207820cc8120cc81cc82cc832041cc8120e2839d212027cc8173202ecc81cc81
+pre marks 12 5 9 11 14 21 25 29 30 32 35 37 41 41 cc8161626320cc8178207820cc8120cc81cc82cc832041cc8120e2839d212027cc8173202ecc81cc81
+enc emoji 33 40 122738 25057 11810 235 243 299 56235 101 25191 46966 102 25191 46966 100 0 43925 126893 224 126893 224 11810 229 107 64325 113 64325 118 64325 116 139723 52142 121 76 4920e29da4efb88f20f09f8d9520616e6420f09f91a8e2808df09f91a9e2808df09f91a72120f09f9982f09f9982f09f998220f09f87aff09f87b5f09f87baf09f87b820f09f918df09f8fbd
+pre emoji 13 1 5 8 13 17 22 25 29 32 37 50 67 76 76 4920e29da4efb88f20f09f8d9520616e6420f09f91a8e2808df09f91a9e2808df09f91a72120f09f9982f09f9982f09f998220f09f87aff09f87b5f09f87baf09f87b820f09f918df09f8fbd
+enc digits-u 36 149 96 149 97 149 98 149 99 149 100 220 34617 42211 56617 70549 220 68969 104 220 22229 220 11878 16054 220 3053 100 3053 101 3053 102 3053 103 782 149 96 88 53 d9a3d9a4d9a5d9a6d9a720efbc91efbc92efbc93efbc9420e285ab20c2bd20c2b2c2b320e0a5a7e0a5a8e0a5a9e0a5aa2078d9a379
+pre digits-u 17 6 10 11 20 23 24 27 28 30 31 35 36 45 48 50 52 53 53 d9a3d9a4d9a5d9a6d9a720efbc91efbc92efbc93efbc9420e285ab20c2bd20c2b2c2b320e0a5a7e0a5a8e0a5a9e0a5aa2078d9a379
+enc ws-u 20 64 85438 8310 66 86599 67 34452 68 373 102 69 157 248 222 70 9009 35942 71 220 24276 37 61c2a062e3808063e280a864c28565e280a966e19a8067e28089e2808a6820e38080e38080
+pre ws-u 10 1 4 8 12 15 19 23 26 30 37 37 61c2a062e3808063e280a864c28565e280a966e19a8067e28089e2808a6820e38080e38080
+enc ws-u-nl 8 87 81615 335 8310 359 86599 89 5402 19 7820c2a00a2079e380800d0ae280a87a20c2a0
+pre ws-u-nl 6 1 5 7 12 16 19 19 7820c2a00a2079e380800d0ae280a87a20c2a0
+enc not-ws 11 64 9189 65 55086 66 7266 67 157 254 236 68 17 61e2808b62e2808e63efbbbf64e1a08e65
+pre not-ws 5 1 5 9 13 17 17 61e2808b62e2808e63efbbbf64e1a08e65
+enc long-s 13 272 6 55129 7908 17288 381 6 55129 83 375 55129 85889 353 26 697427c5bf204954275320697427c5bf742027c5bf20c5bf756e
+pre long-s 7 5 10 16 17 19 21 26 26 697427c5bf204954275320697427c5bf742027c5bf20c5bf756e
+enc lt-lm 24 131 227 363 275 220 131 230 441 142497 220 134 108 134 110 64 782 134 108 23269 122 120 157 122 230 33 c785656d616c20c78875626c6a616e6120cab0cab2612078cab020e1bebce1be88
+pre lt-lm 5 6 16 22 26 33 33 c785656d616c20c78875626c6a616e6120cab0cab2612078cab020e1bebce1be88
+enc scripts 30 52944 132514 61535 30406 24653 11 119182 0 36490 7164 123829 33250 4386 55713 42027 20544 104922 13152 135540 59337 23724 23149 23051 62984 43800 243 90708 126454 22825 251 127 ce95cebbcebbceb7cebdceb9cebaceac20d09fd180d0b8d0b2d0b5d1822c20d0bcd0b8d1802120d985d8b1d8add8a8d8a720d8a8d8a7d984d8b9d8a7d984d98520e0a4a8e0a4aee0a4b8e0a58de0a4a4e0a58720e0b8aae0b8a7e0b8b1e0b8aae0b894e0b8b520ec9588eb8595ed9598ec84b8ec9a9420d7a9d79cd795d79d
+pre scripts 11 16 29 30 37 38 49 64 83 102 118 127 127 ce95cebbcebbceb7cebdceb9cebaceac20d09fd180d0b8d0b2d0b5d1822c20d0bcd0b8d1802120d985d8b1d8add8a8d8a720d8a8d8a7d984d8b9d8a7d984d98520e0a4a8e0a4aee0a4b8e0a58de0a4a4e0a58720e0b8aae0b8a7e0b8b1e0b8aae0b894e0b8b520ec9588eb8595ed9598ec84b8ec9a9420d7a9d79cd795d79d
+enc u16 15 120706 113 238 120706 113 108 220 120706 98 222 87 66895 252 245 238 19 f090b590f090b5b020f090a5807820f09e9790
+pre u16 4 8 9 14 19 19 f090b590f090b5b020f090a5807820f09e9790
+enc punct-u 16 17562 6826 1244 80 975 2911 2074 6846 17648 20 16431 11193 121964 55602 37759 25349 45 c2abc2bb20e2809c71e2809d20e28094e2809320e280a620e282ac3520c2a9c2ae20e28891e2889e20c2bfc2a1
+pre punct-u 11 4 8 9 12 19 23 27 28 33 40 45 45 c2abc2bb20e2809c71e2809d20e28094e2809320e280a620e282ac3520c2a9c2ae20e28891e2889e20c2bfc2a1
+enc ascii 19 9479 11 1571 0 450 3030 12810 34325 31949 849 220 721 22184 11676 26 782 28 2021 13 64 48656c6c6f2c20776f726c64212054686520717569636b2062726f776e20666f78206a756d7073206f766572203133206c617a7920646f67733b20783d34322e
+pre ascii 19 5 6 12 13 17 23 29 33 39 44 45 47 52 57 58 60 61 63 64 64 48656c6c6f2c20776f726c64212054686520717569636b2062726f776e20666f78206a756d7073206f766572203133206c617a7920646f67733b20783d34322e
+enc utf8 22 2876 69556 59029 2911 220 86487 43925 30406 24653 11 10001 29095 117 3883 40341 0 220 22229 121964 60991 242 246 70 6e61c3af766520636166c3a920e2809420e697a5e69cace8aa9e20f09f998220d09fd180d0b8d0b2d0b5d1822c20cebae1bdb9cf83cebcceb52120c2bd20e2889120f09d9498
+pre utf8 14 6 12 16 17 26 31 44 45 57 58 59 61 65 70 70 6e61c3af766520636166c3a920e2809420e697a5e69cace8aa9e20f09f998220d09fd180d0b8d0b2d0b5d1822c20cebae1bdb9cf83cebcceb52120c2bd20e2889120f09d9498
+enc ws 21 10068 34566 198 131019 359 220 1045 220 8802 653 6633 220 188 77 342 221 10287 215 58 15 76 47 746162096c696e650a43524c460d0a202074776f2020737061636573c2a06e62737020006e756c7f64656c1b5b306d
+pre ws 17 3 8 9 13 15 16 20 21 28 34 35 39 43 44 45 46 47 47 746162096c696e650a43524c460d0a202074776f2020737061636573c2a06e62737020006e756c7f64656c1b5b306d
+enc chat 41 150002 2356 422 73089 13 150003 2387 332 220 776 9 1003 30 150004 150006 776 9 1003 311 220 14550 11 2319 220 776 9 460 311 220 10333 299 220 776 9 18 311 220 3243 13 150007 14550 122 3c7c73797374656d7c3e596f752061726520466c696e742e3c7c757365727c3e576861742069732031372a32333f3c7c617373697374616e747c3e3c7468696e6b3e31372a3233203d203339312c2073696e63652031372a3230203d2033343020616e642031372a33203d2035312e3c2f7468696e6b3e333931
+enc chat-tool 154 150002 198 2 15147 284 2356 949 1841 703 424 690 3587 295 5996 386 269 1464 4696 346 2356 422 3532 386 838 30717 2003 220 150008 150009 12086 10458 537 150008 5482 794 1129 368 558 87055 542 368 7700 1129 368 7636 7655 340 260 3705 16110 368 13204 1129 8960 2092 1129 368 2900 542 368 25724 1129 8960 11682 1129 8960 2092 1129 368 1248 121195 368 11391 1129 6817 11682 1937 2358 150009 284 2199 1218 838 1841 11 2544 269 838 1060 299 7200 2003 269 2017 12086 3706 537 150010 90 2117 16065 92 150012 90 1021 21627 12 16 92 150013 150014 90 1021 17195 12 16 92 150015 1410 150011 198 150003 25975 293 12834 30 150004 150006 6259 269 2284 13 150007 150010 558 87055 150012 11682 150013 150014 51574 150015 150011 150005 150016 5482 7416 954 1129 220 729 92 150017 150004 777 3c7c73797374656d7c3e0a2320546f6f6c730a0a596f75206d61792063616c6c206f6e65206f72206d6f72652066756e6374696f6e7320746f2061737369737420776974682074686520757365722071756572792e0a0a596f75206172652070726f766964656420776974682066756e6374696f6e207369676e6174757265732077697468696e203c746f6f6c733e3c2f746f6f6c733e20584d4c20746167733a0a3c746f6f6c733e7b226e616d65223a20226765745f77656174686572222c20226465736372697074696f6e223a202243757272656e74207765617468657220666f72206120636974792e222c2022706172616d6574657273223a207b2274797065223a20226f626a656374222c202270726f70657274696573223a207b2263697479223a207b2274797065223a2022737472696e67227d7d2c20227265717569726564223a205b2263697479225d7d7d3c2f746f6f6c733e0a0a466f7220656163682066756e6374696f6e2063616c6c2c206f7574707574207468652066756e6374696f6e206e616d6520616e6420617267756d656e74732077697468696e2074686520666f6c6c6f77696e6720584d4c20666f726d61743a0a3c746f6f6c5f63616c6c3e7b66756e6374696f6e2d6e616d657d3c6172675f6b65793e7b6172672d6b65792d317d3c2f6172675f6b65793e3c6172675f76616c75653e7b6172672d76616c75652d317d3c2f6172675f76616c75653e2e2e2e3c2f746f6f6c5f63616c6c3e0a3c7c757365727c3e5765617468657220696e2050617269733f3c7c617373697374616e747c3e3c7468696e6b3e43616c6c2074686520746f6f6c2e3c2f7468696e6b3e3c746f6f6c5f63616c6c3e6765745f776561746865723c6172675f6b65793e636974793c2f6172675f6b65793e3c6172675f76616c75653e50617269733c2f6172675f76616c75653e3c2f746f6f6c5f63616c6c3e3c7c6f62736572766174696f6e7c3e3c746f6f6c5f726573706f6e73653e7b2274656d705f63223a2031387d3c2f746f6f6c5f726573706f6e73653e3c7c617373697374616e747c3e
+enc r000 8 35851 269 1363 13735 688 93 73911 220 17 2c280a2074686520515558207c7e3e7d20
+pre r000 5 3 7 11 16 17 17 2c280a2074686520515558207c7e3e7d20
+enc r001 10 17111 7612 101378 12 220 215 18266 7211 220 200 22 4854545053657276657227722d201b5a5a546f70200c
+pre r001 6 10 12 13 14 20 22 22 4854545053657276657227722d201b5a5a546f70200c
+enc r002 8 150069 2646 126847 10240 43208 58449 63 0 36 3c7c72657365727665645f3135303036397c3e090a20534e414b455f434153457c5b6021
+enc r003 13 23074 27345 1458 27 60 216 128546 150027 221 220 215 220 12025 42 54484520200920583c5d1c48454c4c4f3c7c72657365727665645f3135303032377c3e7f201b20363530
+enc r004 13 219 18266 7211 23685 1286 102113 11424 189 359 220 150042 692 256 43 1f5a5a546f702754746865205a5a252e010d0a203c7c72657365727665645f3135303034327c3e31362020
+enc r005 7 12524 13207 150132 54332 9 220 199 30 3333373333383c7c72657365727665645f3135303133327c3e3f3c2a200b
+enc r006 21 150042 54 36502 10045 7612 128546 220 1229 2646 220 126847 10240 43208 1567 3429 200 40 17288 18266 2646 2620 73 3c7c72657365727665645f3135303034327c3e574f524c44204854545053657276657248454c4c4f203830090a2020534e414b455f4341534520492756450c4927535a5a090a200a0a
+enc r007 3 4940 438 220 6 466c696e7420
+pre r007 2 5 6 6 466c696e7420
+enc r008 8 150050 150087 13462 17896 782 60425 28608 220 57 3c7c72657365727665645f3135303035307c3e3c7c72657365727665645f3135303038377c3e3432313833342078736e616b655f6361736520
+enc r009 9 15329 24 54 36502 4428 150099 216 150082 256 52 39393539574f524c4427643c7c72657365727665645f3135303039397c3e1c3c7c72657365727665645f3135303038327c3e2020
+enc r010 4 10203 150143 198 220 24 3536323c7c72657365727665645f3135303134337c3e0a20
+enc r011 3 220 150108 60318 24 203c7c72657365727665645f3135303130387c3e20202009
+enc r012 2 150072 220 20 3c7c72657365727665645f3135303037327c3e20
+enc r013 7 50 2417 10240 43208 145778 2926 220 19 534e414b455f434153456e61697665276c6c20
+pre r013 3 5 18 19 19 534e414b455f434153456e61697665276c6c20
+enc r014 13 256 150086 200 150137 260 3361 189 196 1286 220 188 196 220 55 20203c7c72657365727665645f3135303038367c3e0c3c7c72657365727665645f3135303133377c3e2061277665010874686520000820
+enc r015 8 219 22828 150108 189 18266 60425 28608 220 40 1f2048656c6c6f3c7c72657365727665645f3135303130387c3e015a5a736e616b655f6361736520
+enc r016 10 9 11405 11074 3845 99550 35228 199 40 17288 200 19 2a5d7d273b43414d454c434153450b4927530c
+pre r016 4 5 14 18 19 19 2a5d7d273b43414d454c434153450b4927530c
+enc r017 8 2021 220 197 18266 7211 10071 9159 20 16 343220095a5a546f7032343533303135
+pre r017 6 2 3 9 12 15 16 16 343220095a5a546f7032343533303135
+enc r018 15 7547 4959 145778 201 375 220 150128 189 14701 15403 39568 128546 150093 3798 55 73 464c494e546e616976650d2027203c7c72657365727665645f3135303132387c3e01343636353236206e6169766548454c4c4f3c7c72657365727665645f3135303039337c3e515558
+enc r019 3 15817 13776 1177 9 37373534393120200a
+pre r019 3 3 6 9 9 37373534393120200a
+enc r020 4 216 5 30 220 4 1c263f20
+pre r020 3 1 3 4 4 1c263f20
+enc r021 11 370 23685 374 87 6327 40634 64 6 85 2620 220 21 61622754717578276d646f6e2774612776200a0a20
+pre r021 7 4 9 14 15 17 20 21 21 61622754717578276d646f6e2774612776200a0a20
+enc r022 22 199 150003 2646 311 31 87465 54 36502 6 37524 87 417 27 2257 5 90 1619 89 3421 16672 122809 19 45 0b3c7c757365727c3e090a203d405d26574f524c44274c6c78202d3c273a267b205a7a27273738362020092034
+enc r023 18 93062 6252 220 188 220 199 279 197 374 87 6 3429 21382 4959 219 9165 1065 64 36 43616d656c436173652000200b2020200971757827564520464c494e541f333032323861
+pre r023 11 5 9 10 11 16 23 29 30 33 35 36 36 43616d656c436173652000200b2020200971757827564520464c494e541f333032323861
+enc r024 6 61221 82181 1286 6 3429 66904 19 544f4b454e495a455274686527564520494f53
+pre r024 2 15 19 19 544f4b454e495a455274686527564520494f53
+enc r025 13 2712 10 201 627 87 74407 150061 1768 200 2417 11222 101120 220 40 5c5b2b0d20717578276c3c7c72657365727665645f3135303036317c3e41420c4e414956457f7f20
+enc r026 11 16140 219 258 150016 150060 112542 3045 110433 554 150090 220 78 3538331f202020203c746f6f6c5f726573706f6e73653e3c7c72657365727665645f3135303036307c3e746f6b656e697a6572203b60232061623c7c72657365727665645f3135303039307c3e20
+enc r027 4 40 2801 31069 220 8 495f466c696e7420
+pre r027 3 1 7 8 8 495f466c696e7420
+enc r028 24 54 36502 220 15986 18564 23 220 221 220 199 57424 1749 9240 12382 1751 17111 7612 43763 150076 112542 74407 150021 150117 1768 120 574f524c442038303639373638207f200b20746f6b656e697a657227726532313633303930344854545053657276657227443c7c72657365727665645f3135303037367c3e746f6b656e697a6572276c3c7c72657365727665645f3135303032317c3e3c7c72657365727665645f3135303131377c3e4142
+enc r029 2 12 256 3 2d2020
+pre r029 2 1 3 3 2d2020
+enc r030 17 219 1794 62 103734 216 269 45688 198 352 10324 43 35228 98260 26 93062 6252 150005 52 1f202c5f263a1c207468652752650a2043414d454c4341534524403b43616d656c436173653c7c6f62736572766174696f6e7c3e
+enc r031 18 189 220 150089 21382 4959 150115 216 112542 2926 200 140703 9592 189 269 6 3429 93062 6252 81 01203c7c72657365727665645f3135303038397c3e20464c494e543c7c72657365727665645f3135303131357c3e1c746f6b656e697a6572276c6c0c233d5f28012074686527564543616d656c43617365
+enc r032 2 198 145778 6 0a6e61697665
+pre r032 2 1 6 6 0a6e61697665
+enc r033 9 9479 1990 726 256 759 35697 7365 15350 16125 24 48656c6c6f5e7b20232020202f7d3e313336393131383039
+pre r033 8 5 7 9 11 15 18 21 24 24 48656c6c6f5e7b20232020202f7d3e313336393131383039
+enc r034 17 9479 750 54 36502 12474 6 85 359 220 216 220 215 5854 1619 147434 1177 220 34 48656c6c6f2774574f524c44204f4b27760d0a201c201b4f4b205a7a277320200a20
+pre r034 12 7 12 15 17 19 20 21 22 25 30 33 34 34 48656c6c6f2774574f524c44204f4b27760d0a201c201b4f4b205a7a277320200a20
+enc r035 2 4940 438 5 466c696e74
+pre r035 1 5 5 466c696e74
+enc r036 13 93062 6252 150051 50 2417 10240 43208 596 2694 123796 220 200 1177 49 43616d656c436173653c7c72657365727665645f3135303035317c3e534e414b455f4341534520694f532778200c20200a
+enc r037 11 150002 359 1376 2926 72 2694 503 370 220 189 279 31 3c7c73797374656d7c3e0d0a20646f6e276c6c694f53277361622001202020
+enc r038 1 11205 3 323932
+pre r038 1 3 3 323932
+enc r039 16 5854 58 92 220 215 4484 1768 220 219 198 220 627 87 48271 60 764 24 4f4b5b7d201b39324142201f0a2020717578207c3e5d200a
+pre r039 13 2 4 5 6 8 10 11 12 13 14 18 22 24 24 4f4b5b7d201b39324142201f0a2020717578207c3e5d200a
+enc r040 9 1286 503 14881 24 279 71652 6252 220 150131 42 7468652773343734392020202043616d656c43617365203c7c72657365727665645f3135303133317c3e
+enc r041 3 284 150073 279 24 0a0a3c7c72657365727665645f3135303037337c3e202020
+enc r042 8 5854 6 3429 5854 503 87 220 199 12 4f4b2756454f4b277378200b
+pre r042 4 5 9 10 12 12 4f4b2756454f4b277378200b
+enc r043 20 150005 220 196 220 16328 2396 220 189 145778 6 461 63855 61 2417 11222 2050 3845 99550 35228 220 53 3c7c6f62736572766174696f6e7c3e200820353338383620016e6169766527202a2d7b5e4e41495645203f43414d454c4341534520
+enc r044 14 64 23685 72235 220 221 220 150053 13887 15597 4864 71652 6252 34865 220 54 61275420574f524c44207f203c7c72657365727665645f3135303035337c3e3537323732323235302043616d656c4361736520090a20
+enc r045 18 197 35255 6327 55 220 150136 189 3707 220 126847 10240 43208 219 220 188 150035 17111 7612 74 095a7a276d58203c7c72657365727665645f3135303133367c3e01200d0a2020534e414b455f434153451f20003c7c72657365727665645f3135303033357c3e48545450536572766572
+enc r046 8 15 61221 82181 782 101378 1619 31912 4095 20 30544f4b454e495a455220782772205a5a544f50
+pre r046 5 1 10 12 14 20 20 30544f4b454e495a455220782772205a5a544f50
+enc r047 7 87 43597 150143 18754 1932 22 220 30 78274d3c7c72657365727665645f3135303134337c3e3839313030313720
+enc r048 4 54 36502 2646 220 8 574f524c44090a20
+pre r048 3 5 7 8 8 574f524c44090a20
+enc r049 10 221 87 21760 28608 74407 62119 627 87 6 37524 25 7f7820736e616b655f63617365276c207e2820717578274c6c
+pre r049 6 2 8 13 15 18 25 25 7f7820736e616b655f63617365276c207e2820717578274c6c
+enc r050 3 150070 2646 256 23 3c7c72657365727665645f3135303037307c3e090a2020
+enc r051 1 221 1 7f
+pre r051 1 1 1 7f
+enc r052 14 49493 196 3707 220 150141 220 14926 15744 16784 150041 14884 75985 112542 150101 90 494f5308200d0a203c7c72657365727665645f3135303134317c3e203433363938323634313c7c72657365727665645f3135303034317c3e2048454c4c4f746f6b656e697a65723c7c72657365727665645f3135303130317c3e
+enc r053 7 284 88186 256 220 216 150124 220 29 0a0a444f4e2020201c3c7c72657365727665645f3135303132347c3e20
+enc r054 18 2417 11222 220 15 198 61221 82181 16062 22828 150080 1286 53009 26 2417 11222 90257 263 4428 64 4e4149564520300a544f4b454e495a4552646f6e2048656c6c6f3c7c72657365727665645f3135303038307c3e7468652e213b4e41495645646f6e7468652764
+enc r055 13 90 61 142990 220 150042 269 2926 256 13958 17858 6916 13236 9102 48 7b5e7c2b203c7c72657365727665645f3135303034327c3e20746865276c6c2020343139383535313535343735333737
+enc r056 11 49493 2620 150110 150129 9788 15631 19 256 6136 786 220 59 494f53200a0a3c7c72657365727665645f3135303131307c3e3c7c72657365727665645f3135303132397c3e323432363930342020313533333220
+enc r057 10 49493 32 150042 17111 15107 12034 15214 1317 23074 220 45 494f53413c7c72657365727665645f3135303034327c3e48545450534552564552333332363439343454484520
+enc r058 19 83668 140703 220 150117 220 101120 28246 32810 220 1619 89 8569 4073 29295 150138 90 61 20771 220 66 5f7e233d203c7c72657365727665645f3135303131377c3e207f7f2c5f2b2920205a7a20273c5d3d2d2c3c7c72657365727665645f3135303133387c3e7b5e2f2520
+enc r059 21 1286 23685 3845 99550 35228 189 370 101378 10045 15107 50 2417 10240 43208 150100 14884 75985 215 150035 198 220 87 746865275443414d454c4341534501616227722048545450534552564552534e414b455f434153453c7c72657365727665645f3135303130307c3e2048454c4c4f1b3c7c72657365727665645f3135303033357c3e0a20
+enc r060 23 17111 7612 74407 220 150002 126847 10240 43208 4940 438 220 150087 9479 189 18266 42934 220 15817 279 197 48767 27773 201 83 48545450536572766572276c203c7c73797374656d7c3e20534e414b455f43415345466c696e74203c7c72657365727665645f3135303038377c3e48656c6c6f015a5a544f5020373735202020092c2b3a2a0d
+enc r061 23 1286 6327 66904 25 256 197 18266 7211 198 126847 10240 43208 220 150141 17111 15107 35255 6 220 9329 15 35255 750 72 746865276d20494f533a2020095a5a546f700a20534e414b455f43415345203c7c72657365727665645f3135303134317c3e485454505345525645525a7a2720323335305a7a2774
+enc r062 8 40 6 85 17046 16171 18 196 1177 14 492776393337353538330820200a
+pre r062 7 1 3 6 9 10 11 14 14 492776393337353538330820200a
+enc r063 3 7917 9479 123796 9 5d3a48656c6c6f2778
+pre r063 3 2 7 9 9 5d3a48656c6c6f2778
+enc r064 14 2417 11222 150082 215 764 55 69783 102113 744 5482 61221 82181 5854 220 50 4e414956453c7c72657365727665645f3135303038327c3e1b200a58286162205a5a203a7b22544f4b454e495a45524f4b20
+enc r065 19 112542 750 7432 47638 22828 750 88186 150043 220 9729 10994 8685 62 18266 7211 220 16187 16100 72235 74 746f6b656e697a65722774205e5f2f2048656c6c6f2774444f4e3c7c72657365727665645f3135303034337c3e2033313432363220282d5f5a5a546f702030383835353320574f524c44
+enc r066 11 17111 7612 220 150099 26 93 60 596 2694 6 220 39 48545450536572766572203c7c72657365727665645f3135303039397c3e3b7e5d20694f532720
+enc r067 3 198 331 199 4 0a20490b
+pre r067 3 1 3 4 4 0a20490b
+enc r068 2 61221 82181 9 544f4b454e495a4552
+pre r068 1 9 9 544f4b454e495a4552
+enc r069 15 374 87 3361 3388 93062 6252 359 17111 15107 1458 14884 75985 18816 7229 1239 45 717578277665353443616d656c436173650d0a4854545053455256455220582048454c4c4f3938363234303334
+pre r069 11 6 8 13 17 19 29 31 37 40 43 45 45 717578277665353443616d656c436173650d0a4854545053455256455220582048454c4c4f3938363234303334
+enc r070 9 56330 17178 14186 508 220 150024 216 198 220 33 273d3939313437313130203c7c72657365727665645f3135303032347c3e1c0a20
+enc r071 5 54 36502 3361 90968 25903 12 574f524c442776653b5f3f21
+pre r071 2 8 12 12 574f524c442776653b5f3f21
+enc r072 9 201 71652 6252 58 28878 7 72 2694 101378 20 0d2043616d656c436173655b293c28694f532772
+pre r072 7 1 7 11 15 16 18 20 20 0d2043616d656c436173655b293c28694f532772
+enc r073 7 150126 2646 220 196 196 2646 220 27 3c7c72657365727665645f3135303132367c3e090a200808090a20
+enc r074 5 221 331 123796 30784 60 8 7f20492778272d5d
+pre r074 4 1 3 5 8 8 7f20492778272d5d
+enc r075 9 1 3204 5854 101378 36 199 215 128546 220 16 2224244f4b2772450b1b48454c4c4f20
+pre r075 5 3 8 9 15 16 16 2224244f4b2772450b1b48454c4c4f20
+enc r076 10 60425 28608 750 220 15964 7998 15826 150143 40 200 43 736e616b655f636173652774203936393231323930363c7c72657365727665645f3135303134337c3e490c
+enc r077 9 59 21068 51667 63 61 220 18835 18125 574 16 5c3d3c3a40605e203933383734313139
+pre r077 5 7 8 11 14 16 16 5c3d3c3a40605e203933383734313139
+enc r078 9 198 220 150133 3230 2694 220 196 12315 279 32 0a203c7c72657365727665645f3135303133337c3e49494f532008293d202020
+enc r079 1 18266 2 5a5a
+pre r079 1 2 2 5a5a
+enc r080 5 37849 36502 219 344 566 11 49574f524c441f2041205b
+pre r080 4 6 7 9 11 11 49574f524c441f2041205b
+enc r081 11 219 5854 43597 54 36502 284 112542 7547 4959 219 220 28 1f4f4b274d574f524c440a0a746f6b656e697a6572464c494e541f20
+pre r081 7 5 10 12 21 26 27 28 28 1f4f4b274d574f524c440a0a746f6b656e697a6572464c494e541f20
+enc r082 17 40 220 16525 1932 35255 503 284 72235 150132 21760 28608 88186 18266 42934 13960 2426 220 64 49203037373030315a7a27730a0a20574f524c443c7c72657365727665645f3135303133327c3e20736e616b655f63617365444f4e5a5a544f50363032343320
+enc r083 1 189 1 01
+pre r083 1 1 1 01
+enc r084 21 189 102113 220 9418 3790 905 220 150092 220 189 220 221 220 189 59 220 200 27345 66904 2417 11222 55 01205a5a20383032313230323030203c7c72657365727665645f3135303039327c3e2001207f20015c200c20200920494f534e41495645
+enc r085 16 374 87 150096 14902 6640 6456 17281 17 220 1197 80742 21 150045 3845 99550 35228 69 7175783c7c72657365727665645f3135303039367c3e3037383138373138393834383220205f7d3f363c7c72657365727665645f3135303034357c3e43414d454c43415345
+enc r086 8 18266 7211 17288 220 220 189 18266 42934 15 5a5a546f7027532020015a5a544f50
+pre r086 4 7 8 9 15 15 5a5a546f7027532020015a5a544f50
+enc r087 14 1405 107512 5510 35325 40 45688 216 18266 7211 3361 220 189 3707 256 28 2c22402d242c3d21492752651c5a5a546f702776652001200d0a2020
+pre r087 7 8 12 21 22 23 26 28 28 2c22402d242c3d21492752651c5a5a546f702776652001200d0a2020
+enc r088 13 4013 26 72 2694 6 85 18266 7211 73089 3361 2 189 220 25 3e283b694f5327765a5a546f7020466c696e74277665230120
+pre r088 9 3 4 6 8 13 22 23 24 25 25 3e283b694f5327765a5a546f7020466c696e74277665230120
+enc r089 5 17111 15107 688 25 2222 15 48545450534552564552207c3a2729
+pre r089 2 10 15 15 48545450534552564552207c3a2729
+enc r090 10 17111 7612 43763 220 7915 4501 220 150051 112542 359 49 485454505365727665722744203136323731203c7c72657365727665645f3135303035317c3e746f6b656e697a65720d0a
+enc r091 13 150012 10045 15107 189 16615 220 150030 196 3845 99550 35228 1376 45688 61 3c6172675f6b65793e204854545053455256455201373636203c7c72657365727665645f3135303033307c3e0843414d454c4341534520646f6e275265
+enc r092 11 150050 150029 18266 7211 6 3429 474 476 60548 7 220 54 3c7c72657365727665645f3135303035307c3e3c7c72657365727665645f3135303032397c3e5a5a546f702756452829203c3b602820
+enc r093 21 150071 375 23742 124155 150038 2917 50 2417 10240 43208 18 54 36502 102113 7211 101378 36 220 150023 34865 220 96 3c7c72657365727665645f3135303037317c3e2027287c094f4b3c7c72657365727665645f3135303033387c3e3936534e414b455f4341534533574f524c44205a5a546f70277245203c7c72657365727665645f3135303032337c3e20090a20
+enc r094 6 150035 9813 220 216 220 150096 47 3c7c72657365727665645f3135303033357c3e202020200d0a201c203c7c72657365727665645f3135303039367c3e
+enc r095 4 216 65977 82181 189 12 1c20544f4b454e495a455201
+pre r095 3 1 11 12 12 1c20544f4b454e495a455201
+enc r096 13 198 220 219 216 216 1363 13735 4 150017 1768 5854 17288 220 33 0a201f1c1c20515558253c2f746f6f6c5f726573706f6e73653e41424f4b275320
+enc r097 16 9479 17288 15241 7722 15910 189 48519 93 145778 74407 43 8 220 216 221 220 33 48656c6c6f2753343538313731363639012f5e7e6e61697665276c4c29201c7f20
+pre r097 11 7 10 13 16 17 20 28 29 30 32 33 33 48656c6c6f2753343538313731363639012f5e7e6e61697665276c4c29201c7f20
+enc r098 12 374 87 72235 17288 220 10997 17329 2084 220 150039 150103 27345 62 71757820574f524c442753203334343933343938203c7c72657365727665645f3135303033397c3e3c7c72657365727665645f3135303130337c3e202009
+enc r099 4 1286 198 10045 7612 15 7468650a2048545450536572766572
+pre r099 3 3 4 15 15 7468650a2048545450536572766572
+enc r100 3 27 72235 220 8 3c20574f524c4420
+pre r100 3 1 7 8 8 3c20574f524c4420
+enc r101 11 216 80742 150072 17212 6950 2976 88186 14225 11511 20 279 43 1c7d3f3c7c72657365727665645f3135303037327c3e3931383233303738444f4e35333732393435202020
+enc r102 1 188 1 00
+pre r102 1 1 1 00
+enc r103 16 8873 31561 4 16759 5 93062 6252 101378 216 279 454 726 5 93062 6252 279 40 3e5c2e60257d5b2643616d656c4361736527721c202020202420232643616d656c43617365202020
+pre r103 11 8 13 17 19 20 23 25 28 33 37 40 40 3e5c2e60257d5b2643616d656c4361736527721c202020202420232643616d656c43617365202020
+enc r104 15 17704 13101 1286 123796 220 71652 6252 503 150013 80423 30 54 36502 1749 28 47 3933313730367468652778202043616d656c4361736527733c2f6172675f6b65793e203c243f574f524c442772653d
+enc r105 16 370 45688 331 200 13923 3998 40857 220 3623 12125 59 602 220 150005 1376 1749 50 616227526520490c343739383220444f4e203139363237385c2060203c7c6f62736572766174696f6e7c3e20646f6e277265
+enc r106 15 12622 1094 14 14338 220 150119 1458 150143 18266 7211 128546 220 150037 14273 19 84 36333633372f363937203c7c72657365727665645f3135303131397c3e20583c7c72657365727665645f3135303134337c3e5a5a546f7048454c4c4f203c7c72657365727665645f3135303033377c3e34373334
+enc r107 4 150053 9479 2050 220 27 3c7c72657365727665645f3135303035337c3e48656c6c6f203f20
+enc r108 15 150057 220 16328 18 4940 438 6 22828 221 85040 150131 220 6783 17975 220 67 3c7c72657365727665645f3135303035377c3e2035333833466c696e74272048656c6c6f7f2040243c7c72657365727665645f3135303133317c3e2031333136373920
+enc r109 17 88734 2646 220 199 40857 256 197 58 16 100092 1794 9 72 2694 128546 17380 17 33 607c090a200b20444f4e2020095b31202b2c202c2a694f5348454c4c4f30393732
+pre r109 14 2 4 6 10 12 13 14 15 18 21 22 29 32 33 33 607c090a200b20444f4e2020095b31202b2c202c2a694f5348454c4c4f30393732
+enc r110 8 21502 127714 196 279 28717 764 554 6327 17 3a5b3c5e082020200949200a206162276d
+pre r110 6 4 5 8 10 12 17 17 3a5b3c5e082020200949200a206162276d
+enc r111 19 3798 55 61221 82181 60425 28608 101378 36 1619 89 189 764 433 3097 5854 101378 9479 4428 220 47 515558544f4b454e495a4552736e616b655f63617365277245205a7a01200a207d37304f4b277248656c6c6f276420
+pre r111 11 17 25 28 29 31 33 35 37 39 46 47 47 515558544f4b454e495a4552736e616b655f63617365277245205a7a01200a207d37304f4b277248656c6c6f276420
+enc r112 3 2646 39568 101378 10 090a206e616976652772
+pre r112 3 2 8 10 10 090a206e616976652772
+enc r113 4 150081 4920 7505 17 26 3c7c72657365727665645f3135303038317c3e39303031333832
+enc r114 12 27345 220 215 150069 370 750 21760 28608 74407 150024 256 11241 65 202009201b3c7c72657365727665645f3135303036397c3e6162277420736e616b655f63617365276c3c7c72657365727665645f3135303032347c3e2020092020
+enc r115 8 5854 269 150006 198 220 150058 201 220 36 4f4b207468653c7468696e6b3e0a203c7c72657365727665645f3135303035387c3e0d20
+enc r116 15 54 36502 220 216 279 15438 24 2620 188 64 221 54 36502 221 1961 28 574f524c44201c20202038363039200a0a00617f574f524c447f3835
+pre r116 11 5 6 7 10 13 14 17 19 25 26 28 28 574f524c44201c20202038363039200a0a00617f574f524c447f3835
+enc r117 10 4363 1749 17111 7612 189 627 87 4222 196 220 24 787827726548545450536572766572012071757838340820
+pre r117 7 5 15 16 20 22 23 24 24 787827726548545450536572766572012071757838340820
+enc r118 14 900 17111 7612 43597 17353 15896 14042 374 87 73089 71652 6252 2926 1844 47 343048545450536572766572274d37353436343536383671757820466c696e742043616d656c43617365276c6c3537
+pre r118 10 2 14 17 20 23 26 32 38 45 47 47 343048545450536572766572274d37353436343536383671757820466c696e742043616d656c43617365276c6c3537
+enc r119 3 201 219 284 4 0d1f0a0a
+pre r119 3 1 2 4 4 0d1f0a0a
+enc r120 8 15712 688 26173 764 256 18103 14814 19 17 2623207c2225200a202039313534343934
+pre r120 7 2 6 8 10 13 16 17 17 2623207c2225200a202039313534343934
+enc r121 19 198 72 2694 750 150039 461 100092 14496 359 2417 11222 15278 15778 20 220 6775 13941 15184 40 57 0a694f5327743c7c72657365727665645f3135303033397c3e202a202b2c2e3c0d0a4e41495645383131353939352031353136383036373749
+enc r122 13 150108 4940 438 101378 199 198 627 87 1749 54 36502 16062 220 44 3c7c72657365727665645f3135303130387c3e466c696e7427720b0a20717578277265574f524c44646f6e20
+enc r123 15 14496 1799 220 188 150009 216 72 2694 220 150028 150062 54 36502 199 5854 65 2e3c5b2220003c2f746f6f6c733e1c694f53203c7c72657365727665645f3135303032387c3e3c7c72657365727665645f3135303036327c3e574f524c440b4f4b
+enc r124 12 145778 74407 43 60318 150003 150015 60 220 150123 3845 99550 35228 62 6e61697665276c4c202020093c7c757365727c3e3c2f6172675f76616c75653e5d203c7c72657365727665645f3135303132337c3e43414d454c43415345
+enc r125 10 196 150052 9240 17697 1065 150017 199 10045 7612 220 57 083c7c72657365727665645f3135303035327c3e32313637343932383c2f746f6f6c5f726573706f6e73653e0b204854545053657276657220
+enc r126 10 220 16 90 216 60425 28608 4428 220 150030 40 37 20317b1c736e616b655f636173652764203c7c72657365727665645f3135303033307c3e49
+enc r127 16 1768 220 150106 596 2694 215 150113 258 8464 12007 18110 8943 150022 18266 7211 215 86 4142203c7c72657365727665645f3135303130367c3e20694f531b3c7c72657365727665645f3135303131337c3e2020202032373033353839353320093c7c72657365727665645f3135303032327c3e5a5a546f701b
+enc r128 2 93062 6252 9 43616d656c43617365
+pre r128 2 5 9 9 43616d656c43617365
+enc r129 13 13390 10333 679 150136 454 5 30 63943 92 53567 1458 22 220 41 3531363334303230313c7c72657365727665645f3135303133367c3e2024263f7b5b7d213c20583720
+enc r130 8 40 43597 5854 49493 1768 764 73089 196 19 49274d4f4b494f534142200a20466c696e7408
+pre r130 5 3 10 12 18 19 19 49274d4f4b494f534142200a20466c696e7408
+enc r131 8 150002 35255 196 279 330 80639 2 220 22 3c7c73797374656d7c3e5a7a0820202020287c602320
+enc r132 16 8756 279 220 219 764 14892 220 427 8248 3429 216 220 1458 60425 28608 42898 39 323039202020201f200a20200d0a20204e414956451c202058736e616b655f63617365200a200a
+pre r132 12 3 6 7 8 14 15 21 22 23 30 35 39 39 323039202020201f200a20200d0a20204e414956451c202058736e616b655f63617365200a200a
+enc r133 3 284 199 220 4 0a0a0b20
+pre r133 2 2 4 4 0a0a0b20
+enc r134 11 15787 189 216 7895 2599 16400 15 220 200 215 188 19 353639011c30333331393838363430200c1b00
+pre r134 9 3 5 8 11 14 15 16 17 19 19 353639011c30333331393838363430200c1b00
+enc r135 16 16306 3394 72 2694 150093 216 54 1219 43 4416 43 4959 150128 260 31 1170 62 3539343533694f533c7c72657365727665645f3135303039337c3e1c574f524c44464c494e543c7c72657365727665645f3135303132387c3e2061405d2e
+enc r136 3 189 150099 196 21 013c7c72657365727665645f3135303039397c3e08
+enc r137 2 216 220 2 1c20
+pre r137 2 1 2 2 1c20
+enc r138 15 6626 5887 150002 40857 374 87 74407 196 220 196 258 9972 1459 221 220 39 3131373130393c7c73797374656d7c3e20444f4e717578276c0820082020202033363336377f20
+enc r139 21 4940 438 6 85 8943 150113 57424 4428 126847 10240 43208 331 330 15712 359 220 16347 11305 11928 150104 3170 90 466c696e74277620093c7c72657365727665645f3135303131337c3e20746f6b656e697a6572276420534e414b455f434153452049202826230d0a203732393032353535303c7c72657365727665645f3135303130347c3e3532
+enc r140 15 150118 16924 4604 17035 61221 82181 215 256 150115 35255 1768 764 9995 692 256 72 3c7c72657365727665645f3135303131387c3e393834303035383836544f4b454e495a45521b20203c7c72657365727665645f3135303131357c3e5a7a4142200a33373231362020
+enc r141 2 215 220 2 1b20
+pre r141 2 1 2 2 1b20
+enc r142 15 3845 99550 35228 220 196 150134 39568 40 6 145778 1749 150124 2861 94341 2 70 43414d454c4341534520083c7c72657365727665645f3135303133347c3e206e6169766549276e616976652772653c7c72657365727665645f3135303132347c3e205d243f23
+enc r143 15 200 198 1768 18266 61221 82181 220 188 17474 16708 22 279 150128 2646 220 49 0c0a41425a5a544f4b454e495a45522000373137373135372020203c7c72657365727665645f3135303132387c3e090a20
+enc r144 7 764 627 87 93062 6252 93062 6252 24 200a2071757843616d656c4361736543616d656c43617365
+pre r144 6 2 6 11 15 20 24 24 200a2071757843616d656c4361736543616d656c43617365
+enc r145 19 150109 44862 90 216 337 23074 12 12274 2005 61 87 43763 1619 89 6 85 200 17111 7612 54 3c7c72657365727665645f3135303130397c3e5f7c7b1c30305448452d2a2e3e3c2f5e782744205a7a27760c48545450536572766572
+enc r146 18 11395 380 216 220 201 2646 220 188 57424 23685 50 2417 10240 43208 215 331 9 1286 40 2529207b1c200d090a200020746f6b656e697a65722754534e414b455f434153451b20492a746865
+pre r146 12 2 4 5 9 10 11 23 28 33 34 36 40 40 2529207b1c200d090a200020746f6b656e697a65722754534e414b455f434153451b20492a746865
+enc r147 16 14054 14269 4501 189 220 199 7954 7941 60425 28608 2242 220 13903 3998 35255 74407 39 343334303532373101200b313637323131736e616b655f6361736520292035373038325a7a276c
+pre r147 15 3 6 8 9 11 14 17 22 27 29 30 33 35 37 39 39 343334303532373101200b313637323131736e616b655f6361736520292035373038325a7a276c
+enc r148 17 17697 374 87 150055 269 101378 375 35255 123796 220 150001 54 36502 220 150135 18266 7211 83 3734397175783c7c72657365727665645f3135303035357c3e20746865277220275a7a2778203c7c656e645f6f665f746578747c3e574f524c44203c7c72657365727665645f3135303133357c3e5a5a546f70
+enc r149 14 198 596 2694 74407 102113 7211 6116 16580 38665 28608 6 85 198 5854 38 0a20694f53276c205a5a546f7020746f6b656e697a6572736e616b655f6361736527760a4f4b
+pre r149 10 1 3 5 7 13 28 33 35 36 38 38 0a20694f53276c205a5a546f7020746f6b656e697a6572736e616b655f6361736527760a4f4b
+enc r150 19 17111 7612 6041 220 196 12789 16940 11117 29100 1129 150064 219 5854 43763 15486 12042 150025 359 764 81 485454505365727665723030372008343639363631343430283f223a3c7c72657365727665645f3135303036347c3e1f4f4b27443932303838383c7c72657365727665645f3135303032357c3e0d0a200a
+enc r151 15 221 434 12752 3652 1239 150051 220 215 61221 82181 1619 89 6 74758 220 52 7f205c273e31353033343c7c72657365727665645f3135303035317c3e201b544f4b454e495a4552205a7a27202020200a0a0a20
+enc r152 3 16728 16919 960 8 3833313738353939
+pre r152 3 3 6 8 8 3833313738353939
+enc r153 15 11609 12531 2021 23076 27 92 220 24 34565 60 220 4522 19 188 201 25 323539323736343229273c7d20394927645d2030303634000d
+pre r153 13 3 6 8 12 13 14 17 18 19 22 23 24 25 25 323539323736343229273c7d20394927645d2030303634000d
+enc r154 9 112542 17111 15107 220 216 15194 17 112542 6 35 746f6b656e697a657248545450534552564552201c35313732746f6b656e697a657227
+pre r154 8 9 19 20 21 24 25 34 35 35 746f6b656e697a657248545450534552564552201c35313732746f6b656e697a657227
+enc r155 8 150100 31214 29 16853 14892 256 150042 220 51 3c7c72657365727665645f3135303130307c3e2b3a3e30363920200d0a20203c7c72657365727665645f3135303034327c3e20
+enc r156 6 150072 200 220 221 219 49493 26 3c7c72657365727665645f3135303037327c3e0c207f1f494f53
+enc r157 12 219 10045 7612 12566 20 199 39568 150015 8943 15063 196 150087 60 1f2048545450536572766572303332350b206e616976653c2f6172675f76616c75653e2009383033083c7c72657365727665645f3135303038377c3e
+enc r158 18 256 197 66622 9595 14705 93 5 92 87 63 5924 12676 6421 14189 7954 4484 219 256 35 2020092a7c222b3533367e267d786031313532373933363034383231363739321f2020
+pre r158 15 2 3 7 10 13 14 15 18 21 24 27 30 32 33 35 35 2020092a7c222b3533367e267d786031313532373933363034383231363739321f2020
+enc r159 12 88186 60425 28608 6 85 1826 9 189 150101 189 150111 284 60 444f4e736e616b655f6361736527767d2c2a013c7c72657365727665645f3135303130317c3e013c7c72657365727665645f3135303131317c3e0a0a
+enc r160 15 64 7763 3798 55 9479 7362 112542 45688 199 7547 4959 219 764 220 200 39 6131373951555848656c6c6f20200a0a746f6b656e697a65722752650b464c494e541f200a200c
+pre r160 9 1 4 12 16 28 34 35 37 39 39 6131373951555848656c6c6f20200a0a746f6b656e697a65722752650b464c494e541f200a200c
+enc r161 9 16062 188 21760 28608 3361 2050 28 61 220 23 646f6e0020736e616b655f63617365277665203f3d5e20
+pre r161 6 3 4 10 18 22 23 23 646f6e0020736e616b655f63617365277665203f3d5e20
+enc r162 15 6721 17808 11924 4940 438 3798 55 269 6 37524 220 199 16238 17704 220 33 313834383432363936466c696e7451555820746865274c6c200b38303739333120
+pre r162 10 3 6 9 14 17 24 26 29 32 33 33 313834383432363936466c696e7451555820746865274c6c200b38303739333120
+enc r163 3 3845 99550 35228 9 43414d454c43415345
+pre r163 1 9 9 43414d454c43415345
+enc r164 25 17111 7612 23685 220 150099 150133 10997 14505 692 4940 438 220 188 220 221 596 2694 57424 220 1932 15334 220 188 220 150021 111 485454505365727665722754203c7c72657365727665645f3135303039397c3e3c7c72657365727665645f3135303133337c3e3334343435353136466c696e742000207f20694f5320746f6b656e697a6572203030313631312000203c7c72657365727665645f3135303032317c3e
+enc r165 12 150141 150129 150113 220 18 85981 9773 40839 541 58 8 220 71 3c7c72657365727665645f3135303134317c3e3c7c72657365727665645f3135303132397c3e3c7c72657365727665645f3135303131337c3e2033247d202223257b202b5b2920
+enc r166 22 219 17111 7612 4428 7547 4959 90 61 93 25 40 45688 112542 2390 979 150114 14993 15377 20 220 215 199 68 1f485454505365727665722764464c494e547b5e7e3a49275265746f6b656e697a65722e444f4e3c7c72657365727665645f3135303131347c3e36333237343035201b0b
+enc r167 20 60425 28608 43597 150032 1286 679 3388 196 220 219 7547 4959 88186 220 933 216 17111 7612 220 199 66 736e616b655f63617365274d3c7c72657365727665645f3135303033327c3e746865323031353408201f464c494e54444f4e2035301c48545450536572766572200b
+enc r168 11 221 220 11725 9958 959 55550 60 221 188 370 73089 23 7f203235383234343234237e5d7f00616220466c696e74
+pre r168 9 1 2 5 8 10 13 14 17 23 23 7f203235383234343234237e5d7f00616220466c696e74
+enc r169 11 150111 374 87 216 4923 2257 2418 220 189 279 8129 36 3c7c72657365727665645f3135303131317c3e7175781c7861273a602c20012020200920
+enc r170 5 1286 6 220 15184 1823 10 74686527203637373838
+pre r170 5 3 4 5 8 10 10 74686527203637373838
+enc r171 6 14186 18129 11035 150143 221 220 30 3437313833373336363c7c72657365727665645f3135303134337c3e7f20
+enc r172 13 150040 112542 6327 627 87 1054 59 61 30 61221 82181 221 279 52 3c7c72657365727665645f3135303034307c3e746f6b656e697a6572276d20717578203e5c5e3f544f4b454e495a45527f202020
+enc r173 12 87 503 26 12474 74407 43 220 3865 1286 45372 74407 43 21 7827733b204f4b276c4c2036317468655861276c4c
+pre r173 7 3 4 10 11 13 16 21 21 7827733b204f4b276c4c2036317468655861276c4c
+enc r174 14 219 1054 2414 4 126847 10240 43208 3798 55 17111 15107 55 128546 220 37 1f203e5c292520534e414b455f43415345515558485454505345525645525848454c4c4f20
+pre r174 5 1 6 12 36 37 37 1f203e5c292520534e414b455f43415345515558485454505345525645525848454c4c4f20
+enc r175 21 54 36502 74407 43 220 201 87 150023 40 220 150035 199 126847 10240 43208 199 10296 1524 12 1682 220 73 574f524c44276c4c200d783c7c72657365727665645f3135303032337c3e49203c7c72657365727665645f3135303033357c3e0b20534e414b455f434153450b30353030382d293a20
+enc r176 7 93062 6252 2417 11222 196 215 219 17 43616d656c436173654e41495645081b1f
+pre r176 4 5 9 14 17 17 43616d656c436173654e41495645081b1f
+enc r177 10 25 150090 40857 73089 6 3429 150077 17040 3129 14522 61 3a3c7c72657365727665645f3135303039307c3e20444f4e20466c696e742756453c7c72657365727665645f3135303037377c3e373133323535353633
+enc r178 15 54 36502 61221 4520 62072 21191 6252 150135 220 201 5472 16197 12460 60425 28608 63 574f524c44544f4b454e495a455243616d656c436173653c7c72657365727665645f3135303133357c3e200d313237353837363532736e616b655f63617365
+enc r179 25 18011 16639 2492 112542 503 4940 438 23685 64176 12070 3604 15133 3187 813 219 220 14642 8864 220 189 150047 5854 39568 6 3429 80 3739343930343536746f6b656e697a65722773466c696e7427547c3e5b5b3131313435373739202e1f2037343833333020013c7c72657365727665645f3135303034377c3e4f4b206e61697665275645
+enc r180 17 27345 17988 4 374 87 215 150083 782 74407 220 150071 1363 13735 1114 284 220 215 64 202009205d2c257175781b3c7c72657365727665645f3135303038337c3e2078276c203c7c72657365727665645f3135303037317c3e2051555836300a0a201b
+enc r181 4 50 2417 10240 43208 10 534e414b455f43415345
+pre r181 2 5 10 10 534e414b455f43415345
+enc r182 14 150134 17111 7612 123796 1458 201 220 150083 13 219 14642 3187 49493 220 65 3c7c72657365727665645f3135303133347c3e48545450536572766572277820580d203c7c72657365727665645f3135303038337c3e2e1f3734383739494f5320
+enc r183 14 15341 4484 279 352 10324 43 35228 93062 6252 93062 6252 43763 220 16085 42 38313639322020202043414d454c4341534543616d656c4361736543616d656c43617365274420363938
+pre r183 9 3 5 8 23 27 32 38 39 42 42 38313639322020202043414d454c4341534543616d656c4361736543616d656c43617365274420363938
+enc r184 1 9479 5 48656c6c6f
+pre r184 1 5 5 48656c6c6f
+enc r185 13 5854 220 150106 150037 764 10045 7612 6 59469 6 37524 3707 256 66 4f4b203c7c72657365727665645f3135303130367c3e3c7c72657365727665645f3135303033377c3e200a204854545053657276657227726162274c6c200d0a2020
+enc r186 6 10 13919 10 150102 2646 220 26 2b2d252b3c7c72657365727665645f3135303130327c3e090a20
+enc r187 9 221 219 220 216 220 17040 2426 14892 256 16 7f1f201c20373133343320200d0a2020
+pre r187 8 2 3 4 5 8 10 14 16 16 7f1f201c20373133343320200d0a2020
+enc r188 7 55 189 8007 61221 82181 12474 220 17 58013f3f544f4b454e495a4552204f4b20
+pre r188 6 1 2 4 13 16 17 17 58013f3f544f4b454e495a4552204f4b20
+enc r189 8 18266 39568 101378 36 198 220 16405 20 17 5a5a206e616976652772450a2039303935
+pre r189 6 2 11 12 13 16 17 17 5a5a206e616976652772450a2039303935
+enc r190 20 145778 43763 150091 39173 8204 220 12622 15 18266 7211 6 3429 4940 438 101378 57424 2926 87 6 85 66 6e6169766527443c7c72657365727665645f3135303039317c3e222d5d2a20363336305a5a546f70275645466c696e74277220746f6b656e697a6572276c6c782776
+enc r191 17 150056 5854 220 11691 17996 24 112542 150061 3707 256 11541 14951 1530 49493 150049 150026 554 114 3c7c72657365727665645f3135303035367c3e4f4b2037333739393339746f6b656e697a65723c7c72657365727665645f3135303036317c3e200d0a20203235373039323437494f533c7c72657365727665645f3135303034397c3e3c7c72657365727665645f3135303032367c3e206162
+enc r192 7 359 4940 438 215 220 216 370 12 0d0a466c696e741b201c6162
+pre r192 5 2 7 8 9 12 12 0d0a466c696e741b201c6162
+enc r193 20 3707 256 1619 31912 4095 145778 43763 220 269 14759 17040 60425 28608 1749 196 145778 216 3 70491 764 54 200d0a2020205a5a544f506e6169766527442020746865303435373133736e616b655f63617365277265086e616976651c24405b200a
+pre r193 13 3 5 18 19 23 26 29 34 42 48 49 52 54 54 200d0a2020205a5a544f506e6169766527442020746865303435373133736e616b655f63617365277265086e616976651c24405b200a
+enc r194 22 220 269 2926 427 8248 3429 150120 15574 11334 4214 14884 75985 2021 201 2620 220 16472 14924 744 13 23074 220 68 2020746865276c6c204e414956453c7c72657365727665645f3135303132307c3e3732343331353031302048454c4c4f34320d200a0a20353438303633203a2e54484520
+enc r195 12 764 1286 1286 12067 11790 220 1524 220 150042 14872 1768 197 43 200a746865746865323931343036203038203c7c72657365727665645f3135303034327c3e363033414209
+enc r196 16 150004 1768 200 5854 6 764 220 150111 5854 220 197 188 90 60425 28608 220 58 3c7c617373697374616e747c3e41420c4f4b27200a203c7c72657365727665645f3135303131317c3e4f4b2009007b736e616b655f6361736520
+enc r197 10 5854 7547 76577 256 427 8248 3429 72 144704 150036 39 4f4b464c494e54492020204e41495645694f53493c7c72657365727665645f3135303033367c3e
+enc r198 15 54 36502 782 145778 123796 220 150010 220 215 112542 735 83941 26 215 150104 62 574f524c4420786e616976652778203c746f6f6c5f63616c6c3e201b746f6b656e697a657220262b263b1b3c7c72657365727665645f3135303130347c3e
+enc r199 14 216 40857 37849 36502 6 3429 17111 7612 3421 50 2417 10240 43208 220 37 1c20444f4e49574f524c44275645485454505365727665722727534e414b455f4341534520
+pre r199 7 1 14 24 26 31 36 37 37 1c20444f4e49574f524c44275645485454505365727665722727534e414b455f4341534520
+enc r200 21 197 3798 55 5 63 32810 3856 219 150070 145778 150040 150107 102113 7211 43763 220 215 374 87 4428 359 90 0951555826602b2937321f3c7c72657365727665645f3135303037307c3e6e616976653c7c72657365727665645f3135303034307c3e3c7c72657365727665645f3135303130377c3e205a5a546f702744201b71757827640d0a
+enc r201 12 35255 123796 15887 19 9479 6327 26148 23804 126847 10240 43208 220 31 5a7a27783637303448656c6c6f276d7d7c7d3d20534e414b455f4341534520
+pre r201 9 2 4 7 8 15 19 25 30 31 31 5a7a27783637303448656c6c6f276d7d7c7d3d20534e414b455f4341534520
+enc r202 9 199 18266 22828 220 150128 150004 150046 3707 256 66 0b5a5a2048656c6c6f203c7c72657365727665645f3135303132387c3e3c7c617373697374616e747c3e3c7c72657365727665645f3135303034367c3e200d0a2020
+enc r203 16 8056 30 39908 17682 6041 1459 9479 101378 36 1376 43597 1286 17288 554 3421 256 40 292d3f202623373339303037363748656c6c6f27724520646f6e274d746865275320616227272020
+pre r203 11 3 6 9 12 14 22 28 33 36 38 40 40 292d3f202623373339303037363748656c6c6f27724520646f6e274d746865275320616227272020
+enc r204 3 54 36502 220 6 574f524c4420
+pre r204 2 5 6 6 574f524c4420
+enc r205 3 5854 1499 188 5 4f4b303600
+pre r205 3 2 4 5 5 4f4b303600
+enc r206 17 2417 11222 1286 72 2694 68142 611 220 17363 4501 375 12315 18266 7211 627 87 359 37 4e41495645746865694f53207c222d3e2036373337312027293d5a5a546f70207175780d0a
+pre r206 10 9 11 16 17 20 22 26 31 35 37 37 4e41495645746865694f53207c222d3e2036373337312027293d5a5a546f70207175780d0a
+enc r207 4 188 65977 82181 220 12 0020544f4b454e495a455220
+pre r207 3 1 11 12 12 0020544f4b454e495a455220
+enc r208 14 122809 15241 11253 3243 1286 6 37524 627 87 189 66904 220 201 196 30 202009203435383330373531746865274c6c207175780120494f53200d08
+pre r208 10 4 7 10 12 18 22 23 27 29 30 30 202009203435383330373531746865274c6c207175780120494f53200d08
+enc r209 14 370 200 220 150046 16062 220 188 150126 3896 150047 215 220 150085 220 91 61620c203c7c72657365727665645f3135303034367c3e646f6e20003c7c72657365727665645f3135303132367c3e3130323c7c72657365727665645f3135303034377c3e1b203c7c72657365727665645f3135303038357c3e20
+enc r210 5 15 256 220 196 128546 10 302020200848454c4c4f
+pre r210 4 1 3 4 10 10 302020200848454c4c4f
+enc r211 4 9729 1164 112542 6327 16 3331343031746f6b656e697a6572276d
+pre r211 3 3 5 16 16 3331343031746f6b656e697a6572276d
+enc r212 22 14722 12090 2021 220 188 30 10 220 150014 59837 220 199 279 197 221 73089 93 611 10 150136 200 220 64 343839353031343220003f2b203c6172675f76616c75653e213f200b202020097f20466c696e747e2d3e2b3c7c72657365727665645f3135303133367c3e0c20
+enc r213 18 189 150061 54 36502 221 3707 215 4799 772 2621 4578 6 3429 188 220 188 219 220 50 013c7c72657365727665645f3135303036317c3e574f524c447f200d0a1b494f53746f6b656e697a65722756450020001f20
+enc r214 14 679 9053 93 6 220 189 220 11625 16882 13262 9479 43597 258 150047 49 3230313b267e2720012039373839343234363048656c6c6f274d202020203c7c72657365727665645f3135303034377c3e
+enc r215 5 4214 13766 35255 101378 36 11 3031303939365a7a277245
+pre r215 3 3 6 11 11 3031303939365a7a277245
+enc r216 3 17111 7612 45688 13 48545450536572766572275265
+pre r216 1 13 13 48545450536572766572275265
+enc r217 5 219 220 196 16256 1094 8 1f20083737303337
+pre r217 5 1 2 3 6 8 8 1f20083737303337
+enc r218 14 219 17561 5157 15602 57424 72235 150110 14175 6276 9473 835 2646 220 24 60 1f37363731393135393020746f6b656e697a657220574f524c443c7c72657365727665645f3135303131307c3e3437323131363236303330090a2039
+enc r219 3 18129 17 220 5 3833373220
+pre r219 3 3 4 5 5 3833373220
+enc r220 9 79530 31643 65977 82181 29675 91 30 9479 3421 25 2526222720544f4b454e495a45523c3e7c3f48656c6c6f2727
+pre r220 5 4 14 18 23 25 25 2526222720544f4b454e495a45523c3e7c3f48656c6c6f2727
+enc r221 13 40 43763 50 2417 10240 43208 220 219 216 220 150042 782 220 39 492744534e414b455f43415345201f1c203c7c72657365727665645f3135303034327c3e207820
+enc r222 8 12064 1459 28469 126847 10240 43208 1177 220 22 34343736373c4920534e414b455f4341534520200a20
+pre r222 7 3 5 7 13 18 21 22 22 34343736373c4920534e414b455f4341534520200a20
+enc r223 8 150105 220 15 216 216 596 2694 23685 29 3c7c72657365727665645f3135303130357c3e20301c1c20694f532754
+enc r224 2 1768 220 3 414220
+pre r224 2 2 3 3 414220
+enc r225 18 199 5887 21 9 14602 62 352 10324 43 35228 18109 10464 19 1619 89 150042 764 2620 53 0b313039362a3d605f2043414d454c4341534539373234323034205a7a3c7c72657365727665645f3135303034327c3e200a200a0a
+enc r226 1 150123 19 3c7c72657365727665645f3135303132337c3e
+enc r227 19 128546 256 15 41522 10045 15107 90 11582 62 1286 23685 4940 128118 2694 43763 16742 216 220 200 46 48454c4c4f2020302f3c20485454505345525645527b293f5f7468652754466c696e74694f5327442041421c200c
+pre r227 12 5 7 8 10 21 25 30 36 40 43 44 46 46 48454c4c4f2020302f3c20485454505345525645527b293f5f7468652754466c696e74694f5327442041421c200c
+enc r228 5 14048 18153 1207 1458 284 12 373237383237323120580a0a
+pre r228 5 3 6 8 10 12 12 373237383237323120580a0a
+enc r229 2 198 220 2 0a20
+pre r229 2 1 2 2 0a20
+enc r230 10 88186 150121 1619 89 375 30999 12619 1376 23685 220 39 444f4e3c7c72657365727665645f3135303132317c3e205a7a20275d3c30323820646f6e275420
+enc r231 3 23074 200 220 5 5448450c20
+pre r231 2 3 5 5 5448450c20
+enc r232 19 8 19819 0 1619 89 14892 256 220 188 744 40 150013 38049 18942 11957 16236 3856 49493 198 44 29237b21205a7a20200d0a20202000203a493c2f6172675f6b65793e3c2d7b283332363835373732494f530a
+enc r233 13 3845 99550 35228 40 220 188 20 216 764 216 54 36502 344 24 43414d454c43415345492000351c200a1c574f524c442041
+pre r233 8 10 11 12 13 14 16 22 24 24 43414d454c43415345492000351c200a1c574f524c442041
+enc r234 7 16062 7582 43645 112542 220 1619 89 20 646f6e5d2b282b746f6b656e697a657220205a7a
+pre r234 5 3 7 16 17 20 20 646f6e5d2b282b746f6b656e697a657220205a7a
+enc r235 3 11074 21460 1177 7 273b3a2420200a
+pre r235 2 4 7 7 273b3a2420200a
+enc r236 6 150119 7085 28892 27 26 279 30 3c7c72657365727665645f3135303131397c3e20222f2b2b2c3c3b202020
+enc r237 4 150081 258 11216 22 27 3c7c72657365727665645f3135303038317c3e2020202033393037
+enc r238 17 58559 35697 279 3790 16590 18754 21 6292 102113 7211 215 64 1749 1286 17288 1768 27345 42 3c7c7d3e2020203132303639393839313620544845205a5a546f701b6127726574686527534142202009
+pre r238 12 4 7 10 13 16 17 21 27 32 37 39 42 42 3c7c7d3e2020203132303639393839313620544845205a5a546f701b6127726574686527534142202009
+enc r239 16 150086 18266 7211 150036 150092 220 188 370 201 18 93062 6252 74407 43 5854 10770 85 3c7c72657365727665645f3135303038367c3e5a5a546f703c7c72657365727665645f3135303033367c3e3c7c72657365727665645f3135303039327c3e200061620d3343616d656c43617365276c4c4f4b323735
+enc u000 18 126893 224 220 68969 104 3798 55 10045 7612 60659 123829 68969 104 692 12524 17805 20 24276 47 f09f998220e285ab515558204854545053657276657227c389d8a8d8a7e285ab313633333739383335e38080e38080
+pre u000 11 4 5 8 11 22 29 34 37 40 41 47 47 f09f998220e285ab515558204854545053657276657227c389d8a8d8a7e285ab313633333739383335e38080e38080
+enc u001 2 653 17904 8 c2a0e697a5e69cac
+pre u001 2 2 8 8 c2a0e697a5e69cac
+enc u002 10 17197 20544 19923 5365 220 189 125684 1665 5854 201 22 e0a4a8e0a4aee0a4b8e0a58d20015e3de381ae4f4b0d
+pre u002 7 12 13 14 16 19 21 22 22 e0a4a8e0a4aee0a4b8e0a58d20015e3de381ae4f4b0d
+enc u003 8 7585 72833 43800 243 256 197 6005 220 15 c39fec9588eb8595202009e282ac20
+pre u003 5 8 10 11 14 15 15 c39fec9588eb8595202009e282ac20
+enc u004 6 55129 220 12728 9635 54 36502 14 c5bf20e382abe382bf574f524c44
+pre u004 4 2 3 9 14 14 c5bf20e382abe382bf574f524c44
+enc u005 6 107571 220 68969 104 220 17904 13 cc8820e285ab20e697a5e69cac
+pre u005 5 2 3 6 7 13 13 cc8820e285ab20e697a5e69cac
+enc u006 11 120706 98 222 18266 42934 134 108 220 150114 34617 200 35 f090a5805a5a544f50cab0203c7c72657365727665645f3135303131347c3eefbc910c
+enc u007 2 113931 25057 6 e29da4efb88f
+pre u007 1 6 6 e29da4efb88f
+enc u008 7 216 42027 20544 19923 5365 43925 2911 23 1c20e0a4a8e0a4aee0a4b8e0a58d20f09f998220e28094
+pre u008 4 1 14 19 23 23 1c20e0a4a8e0a4aee0a4b8e0a58d20f09f998220e28094
+enc u009 15 7585 68969 104 56892 68969 104 150038 370 101378 40152 216 1785 253 2911 260 49 c39fe285abd09fd180d0b8e285ab3c7c72657365727665645f3135303033387c3e61622772cc811c20c39f20e280942061
+enc u010 8 68 40152 122738 25057 68 40152 1799 3423 17 65cc8120e29da4efb88f65cc815b22285b
+pre u010 4 3 7 13 17 17 65cc8120e29da4efb88f65cc815b22285b
+enc u011 7 126893 224 200 34452 22229 8310 21316 15 f09f99820cc285c2bde3808020c389
+pre u011 5 4 7 9 12 15 15 f09f99820cc285c2bde3808020c389
+enc u012 9 4 16130 221 46966 101 25191 46966 102 107571 17 255b5f7ff09f91a8e2808df09f91a9cc88
+pre u012 5 3 4 8 11 17 17 255b5f7ff09f91a8e2808df09f91a9cc88
+enc u013 15 805 196 42027 20544 19923 5365 22229 220 107571 107571 8310 220 86599 196 10 32 c3a90820e0a4a8e0a4aee0a4b8e0a58dc2bd20cc88cc88e3808020e280a8082b
+pre u013 9 2 3 16 18 23 27 30 31 32 32 c3a90820e0a4a8e0a4aee0a4b8e0a58dc2bd20cc88cc88e3808020e280a8082b
+enc u014 15 219 220 17732 3097 150012 43925 58 9592 23074 805 93062 6252 101378 36 220 42 1f2038333537303c6172675f6b65793e20f09f99825b5f28544845c3a943616d656c4361736527724520
+enc u015 2 198 220 2 0a20
+pre u015 2 1 2 2 0a20
+enc u016 8 7268 21191 6252 107571 220 120706 98 222 17 2f43616d656c43617365cc8820f090a580
+pre u016 4 6 12 13 17 17 2f43616d656c43617365cc8820f090a580
+enc u017 17 72833 43800 243 150067 21760 28608 3361 126893 224 5854 627 87 56892 359 30406 21760 28608 75 ec9588eb85953c7c72657365727665645f3135303036377c3e20736e616b655f63617365277665f09f99824f4b20717578d09fd180d0b80d0a20d09fd180d0b820736e616b655f63617365
+enc u018 10 805 331 150126 219 40152 12474 220 6421 32 201 35 c3a920493c7c72657365727665645f3135303132367c3e1fcc81204f4b20333630410d
+enc u019 21 149 96 149 97 102113 7211 5854 6 37524 68969 104 220 131 227 33392 55129 150084 374 87 17904 220 55 d9a3d9a4205a5a546f704f4b274c6ce285ab20c785c2a049c5bf3c7c72657365727665645f3135303038347c3e717578e697a5e69cac20
+enc u020 2 134 108 2 cab0
+pre u020 1 2 2 cab0
+enc u021 22 17111 15107 220 22229 120706 98 222 16742 220 86599 37579 220 134 108 88186 131 227 68969 104 1363 13735 220 42 4854545053455256455220c2bdf090a58020414220e280a8c4b020cab0444f4ec785e285ab2051555820
+pre u021 12 10 11 13 17 20 21 26 29 34 37 41 42 42 4854545053455256455220c2bdf090a58020414220e280a8c4b020cab0444f4ec785e285ab2051555820
+enc u022 15 17111 15107 7432 1472 9479 101378 34617 62832 220 131 227 149 96 149 97 35 48545450534552564552205e5d5b48656c6c6f2772efbc91200a090a20c785d9a3d9a4
+pre u022 8 10 14 19 21 24 28 31 35 35 48545450534552564552205e5d5b48656c6c6f2772efbc91200a090a20c785d9a3d9a4
+enc u023 6 150033 653 72833 43800 243 216 28 3c7c72657365727665645f3135303033337c3ec2a0ec9588eb85951c
+enc u024 4 54300 4 27 150082 23 7e24253c3c7c72657365727665645f3135303038327c3e
+enc u025 3 123829 12728 9635 10 d8a8d8a7e382abe382bf
+pre u025 2 4 10 10 d8a8d8a7e382abe382bf
+enc u026 12 1974 102113 7211 101378 220 17904 21760 28608 34452 68969 104 220 35 e28094205a5a546f70277220e697a5e69cac20736e616b655f63617365c285e285ab20
+pre u026 10 3 9 11 12 18 24 29 31 34 35 35 e28094205a5a546f70277220e697a5e69cac20736e616b655f63617365c285e285ab20
+enc u027 8 56892 220 150125 43925 220 2540 1177 220 39 d09fd180d0b8203c7c72657365727665645f3135303132357c3e20f09f998220e383bc20200a20
+enc u028 5 1665 60425 28608 2926 220 17 e381ae736e616b655f63617365276c6c20
+pre u028 4 3 8 16 17 17 e381ae736e616b655f63617365276c6c20
+enc u029 13 34617 220 201 220 17904 32042 220 189 188 215 150023 216 279 42 efbc91200d20e697a5e69cac20c4b02001001b3c7c72657365727665645f3135303032337c3e1c202020
+enc u030 16 150004 315 40152 2540 9189 11424 61 2 220 221 782 74407 315 40152 38932 220 41 3c7c617373697374616e747c3e2065cc81e383bce2808b252e5e23207f2078276c2065cc8141424120
+enc u031 14 17197 20544 19923 5365 56892 1974 72235 6 85 220 554 5402 197 215 38 e0a4a8e0a4aee0a4b8e0a58dd09fd180d0b8e2809420574f524c4427762020616220c2a0091b
+pre u031 9 18 21 27 29 30 33 36 37 38 38 e0a4a8e0a4aee0a4b8e0a58dd09fd180d0b8e2809420574f524c4427762020616220c2a0091b
+enc u032 5 134 108 3707 35255 123829 11 cab0200d0a5a7ad8a8d8a7
+pre u032 3 2 5 11 11 cab0200d0a5a7ad8a8d8a7
+enc u033 13 221 54 36502 74407 43 3859 150056 11810 229 107 64325 113 8310 43 7f574f524c44276c4c20c3a93c7c72657365727665645f3135303035367c3e20f09f87aff09f87b5e38080
+enc u034 10 22229 16062 40152 6005 196 150114 220 134 108 220 34 c2bd646f6ecc81e282ac083c7c72657365727665645f3135303131347c3e20cab020
+enc u035 9 134 108 344 220 8310 64325 107 64325 113 16 cab0204120e38080f09f87aff09f87b5
+pre u035 5 2 4 5 8 16 16 cab0204120e38080f09f87aff09f87b5
+enc u036 20 20288 63 9 805 221 3707 220 220 131 227 10045 7612 12752 15505 1 220 8175 23 123829 198 40 227b602ac3a97f200d0a2020c7852048545450536572766572273e3f24222031373438d8a8d8a70a
+pre u036 13 4 6 7 10 11 14 25 30 31 34 35 39 40 40 227b602ac3a97f200d0a2020c7852048545450536572766572273e3f24222031373438d8a8d8a70a
+enc u037 11 150013 220 131 227 131 227 15362 6454 22 215 220 24 3c2f6172675f6b65793e20c785c785353531373030371b20
+enc u038 4 18127 15532 220 150005 22 373935353738203c7c6f62736572766174696f6e7c3e
+enc u039 2 113931 25057 6 e29da4efb88f
+pre u039 1 6 6 e29da4efb88f
+enc u040 5 198 220 196 8310 32042 9 0a2008e3808020c4b0
+pre u040 5 1 2 3 6 9 9 0a2008e3808020c4b0
+enc u041 11 88186 1974 220 9189 126893 224 32042 50 2417 10240 43208 27 444f4ee2809420e2808bf09f998220c4b0534e414b455f43415345
+pre u041 7 3 6 7 10 14 22 27 27 444f4ee2809420e2808bf09f998220c4b0534e414b455f43415345
+enc u042 5 216 220 68969 104 86599 8 1c20e285abe280a8
+pre u042 4 1 2 5 8 8 1c20e285abe280a8
+enc u043 2 126893 224 4 f09f9982
+pre u043 1 4 4 f09f9982
+enc u044 14 1653 17111 7612 85889 2837 91 220 4331 68969 104 220 3731 805 17904 35 3d274854545053657276657220c5bf7b5c7c203734e285ab203633c3a9e697a5e69cac
+pre u044 10 2 12 15 18 19 24 25 27 29 35 35 3d274854545053657276657220c5bf7b5c7c203734e285ab203633c3a9e697a5e69cac
+enc u045 17 27345 13949 10187 2917 5854 29297 2431 1974 596 2694 4428 221 220 216 39568 123796 40152 43 20200937343234333039364f4b20d8a8d8a7e2809ce2809420694f5327647f201c206e616976652778cc81
+pre u045 14 3 6 9 11 13 18 24 26 30 31 32 33 39 43 43 20200937343234333039364f4b20d8a8d8a7e2809ce2809420694f5327647f201c206e616976652778cc81
+enc u046 9 6005 60425 28608 74407 37579 17904 16655 17753 13467 32 e282ac736e616b655f63617365276cc4b0e697a5e69cac363438393638303434
+pre u046 8 8 13 15 17 23 26 29 32 32 e282ac736e616b655f63617365276cc4b0e697a5e69cac363438393638303434
+enc u047 13 1 93 2 60 2911 764 220 216 221 68 40152 17904 256 24 227e235d20e28094200a201c7f65cc81e697a5e69cac2020
+pre u047 8 4 8 10 11 12 16 22 24 24 227e235d20e28094200a201c7f65cc81e697a5e69cac2020
+enc u048 5 55129 220 131 227 220 6 c5bf20c78520
+pre u048 3 2 5 6 6 c5bf20c78520
+enc u049 3 22229 220 199 4 c2bd200b
+pre u049 2 2 4 4 c2bd200b
+enc u050 27 55129 16 149 96 149 97 9189 220 12191 13183 13312 74485 220 134 108 46966 101 25191 46966 102 220 9189 220 150134 40 123796 220 64 c5bf31d9a3d9a4e2808b20333535393938353034602f20cab0f09f91a8e2808df09f91a920e2808b203c7c72657365727665645f3135303133347c3e49277820
+enc u051 19 131 227 17618 22 1974 35255 150064 21760 28608 220 216 688 6292 52970 64 4428 68969 104 220 59 c78537343337e280945a7a3c7c72657365727665645f3135303036347c3e20736e616b655f63617365201c207c20544845207d7b612764e285ab20
+enc u052 7 25 220 13247 24 150053 126893 224 29 3a20363436393c7c72657365727665645f3135303035337c3ef09f9982
+enc u053 2 34617 220 4 efbc9120
+pre u053 2 3 4 4 efbc9120
+enc u054 22 653 7585 6005 284 40 12493 18475 17 93062 6252 6 85 40152 220 2540 113931 25057 56235 101 25191 46966 102 52 c2a0c39fe282ac0a0a493734363936313243616d656c436173652776cc8120e383bce29da4efb88f20f09f91a8e2808df09f91a9
+pre u054 15 4 9 10 13 16 17 22 26 30 31 34 40 45 48 52 52 c2a0c39fe282ac0a0a493734363936313243616d656c436173652776cc8120e383bce29da4efb88f20f09f91a8e2808df09f91a9
+enc u055 4 1974 8310 7585 220 9 e28094e38080c39f20
+pre u055 3 3 8 9 9 e28094e38080c39f20
+enc u056 2 7585 17904 8 c39fe697a5e69cac
+pre u056 2 2 8 8 c39fe697a5e69cac
+enc u057 19 12728 9635 72 2694 220 107571 17044 27 34617 9189 220 107571 120706 98 222 9189 6005 102113 7211 40 e382abe382bf694f5320cc883f2c3cefbc91e2808b20cc88f090a580e2808be282ac205a5a546f70
+pre u057 11 6 7 9 12 15 18 21 24 31 34 40 40 e382abe382bf694f5320cc883f2c3cefbc91e2808b20cc88f090a580e2808be282ac205a5a546f70
+enc u058 18 5090 15478 14156 541 220 14627 18836 15802 13485 1980 6005 8310 93 22229 150121 12728 9635 220 61 313038373038363132202b203437373837393533333033363737e282ace380807ec2bd3c7c72657365727665645f3135303132317c3ee382abe382bf20
+enc u059 16 8310 39568 23685 19844 22229 220 201 93 35746 5854 101378 36 150005 1768 17904 220 49 e38080206e616976652754c389c2bd200d7e3e5b4f4b2772453c7c6f62736572766174696f6e7c3e4142e697a5e69cac20
+enc u060 24 64325 107 64325 113 126847 10240 43208 35255 374 87 17197 20544 19923 5365 215 220 1665 1286 279 18139 29 9479 1749 256 61 f09f87aff09f87b520534e414b455f434153455a7a717578e0a4a8e0a4aee0a4b8e0a58d1b20e381ae74686520202020225f3e48656c6c6f2772652020
+pre u060 11 8 14 36 37 38 41 44 47 51 59 61 61 f09f87aff09f87b520534e414b455f434153455a7a717578e0a4a8e0a4aee0a4b8e0a58d1b20e381ae74686520202020225f3e48656c6c6f2772652020
+enc u061 12 64325 107 64325 113 49493 22828 6327 107571 9189 16935 9329 4214 33 f09f87aff09f87b5494f532048656c6c6f276dcc88e2808b363934323335303130
+pre u061 8 8 11 19 21 24 27 30 33 33 f09f87aff09f87b5494f532048656c6c6f276dcc88e2808b363934323335303130
+enc u062 4 68969 104 196 220 5 e285ab0820
+pre u062 3 3 4 5 5 e285ab0820
+enc u063 8 196 370 750 220 150066 7547 4959 220 31 0861622774203c7c72657365727665645f3135303036367c3e464c494e5420
+enc u064 14 19844 68969 104 112542 220 221 220 18 150121 34617 3845 99550 35228 220 50 c389e285ab746f6b656e697a6572207f20333c7c72657365727665645f3135303132317c3eefbc9143414d454c4341534520
+enc u065 18 17197 20544 19923 5365 35255 150044 1619 31912 4095 12728 9635 19844 220 68969 104 7585 85066 25107 58 e0a4a8e0a4aee0a4b8e0a58d5a7a3c7c72657365727665645f3135303034347c3e205a5a544f50e382abe382bfc38920e285abc39f20245e253b
+enc u066 13 93062 6252 4428 5854 43597 6005 220 201 17111 7612 72833 43800 243 36 43616d656c4361736527644f4b274de282ac200d48545450536572766572ec9588eb8595
+pre u066 6 5 11 15 18 20 36 36 43616d656c4361736527644f4b274de282ac200d48545450536572766572ec9588eb8595
+enc u067 15 9189 150096 150094 764 199 126893 224 16019 16 2417 11222 2620 9479 750 6005 70 e2808b3c7c72657365727665645f3135303039367c3e3c7c72657365727665645f3135303039347c3e200a0bf09f9982363635314e41495645200a0a48656c6c6f2774e282ac
+enc u068 17 805 145778 45688 56235 101 25191 46966 102 32 34617 68 40152 14 56892 1665 4104 6181 45 c3a96e6169766527526520f09f91a8e2808df09f91a941efbc9165cc812fd09fd180d0b8e381ae5f48656c6c6f
+pre u068 9 10 15 18 23 26 29 36 39 45 45 c3a96e6169766527526520f09f91a8e2808df09f91a941efbc9165cc812fd09fd180d0b8e381ae5f48656c6c6f
+enc u069 3 764 7585 220 5 200ac39f20
+pre u069 3 2 4 5 5 200ac39f20
+enc u070 4 134 108 805 19844 6 cab0c3a9c389
+pre u070 2 4 6 6 cab0c3a9c389
+enc u071 20 112542 6 107571 5436 58 16472 16 17648 3859 126893 224 46966 101 25191 46966 102 34452 16742 16 9189 51 746f6b656e697a657227cc8820222c5b3534383120e282ac20c3a9f09f9982f09f91a8e2808df09f91a9c28520414231e2808b
+pre u071 14 9 12 16 19 20 24 27 35 38 42 44 47 48 51 51 746f6b656e697a657227cc8820222c5b3534383120e282ac20c3a9f09f9982f09f91a8e2808df09f91a9c28520414231e2808b
+enc u072 4 113931 25057 19844 220 9 e29da4efb88fc38920
+pre u072 3 6 8 9 9 e29da4efb88fc38920
+enc u073 19 20 220 134 108 150067 319 150091 21760 28608 3361 220 34617 34452 86599 149 96 149 97 34452 78 3520cab03c7c72657365727665645f3135303036377c3e202020202020203c7c72657365727665645f3135303039317c3e20736e616b655f6361736527766520efbc91c285e280a8d9a3d9a4c285
+enc u074 15 126893 224 370 17288 26514 17904 18266 7211 17111 15107 5854 45688 55129 2911 220 44 f09f998261622753c2a020e697a5e69cac5a5a546f70485454505345525645524f4b275265c5bf20e2809420
+pre u074 8 8 11 17 22 37 39 43 44 44 f09f998261622753c2a020e697a5e69cac5a5a546f70485454505345525645524f4b275265c5bf20e2809420
+enc u075 4 60425 28608 126893 224 14 736e616b655f63617365f09f9982
+pre u075 3 5 10 14 14 736e616b655f63617365f09f9982
+enc u076 17 64 9189 220 6648 18921 460 199 91 374 87 74407 43 220 201 40152 1974 220 29 61e2808b2031343437373932300b7c717578276c4c200dcc81e2809420
+pre u076 12 1 4 5 8 11 13 14 21 23 25 28 29 29 61e2808b2031343437373932300b7c717578276c4c200dcc81e2809420
+enc u077 12 6005 107571 220 34617 1937 68969 104 219 17904 220 197 55129 25 e282accc8820efbc91225de285ab1fe697a5e69cac2009c5bf
+pre u077 9 5 6 9 11 14 15 21 22 25 25 e282accc8820efbc91225de285ab1fe697a5e69cac2009c5bf
+enc u078 26 61221 82181 120706 98 222 18266 42934 56235 101 25191 46966 102 17111 15107 12728 9635 374 87 120706 98 222 123829 220 14452 18564 21 65 544f4b454e495a4552f090a5805a5a544f5020f09f91a8e2808df09f91a948545450534552564552e382abe382bf717578f090a580d8a8d8a72034343239373636
+pre u078 12 9 18 23 26 40 46 49 57 58 61 64 65 65 544f4b454e495a4552f090a5805a5a544f5020f09f91a8e2808df09f91a948545450534552564552e382abe382bf717578f090a580d8a8d8a72034343239373636
+enc u079 13 17231 1463 220 653 72833 43800 243 220 2540 220 200 17904 220 27 383235343820c2a0ec9588eb859520e383bc200ce697a5e69cac20
+pre u079 9 3 5 6 14 15 18 20 26 27 27 383235343820c2a0ec9588eb859520e383bc200ce697a5e69cac20
+enc u080 6 198 220 150064 200 7221 3859 28 0a203c7c72657365727665645f3135303036347c3e0c32323920c3a9
+enc u081 3 19844 131 227 4 c389c785
+pre u081 1 4 4 c389c785
+enc u082 17 2646 220 34617 1212 24 68 40152 12256 64325 107 64325 113 11810 229 107 64325 113 32 090a20efbc9136353965cc81363430f09f87aff09f87b520f09f87aff09f87b5
+pre u082 8 2 3 8 9 12 15 23 32 32 090a20efbc9136353965cc81363430f09f87aff09f87b520f09f87aff09f87b5
+enc u083 18 284 60789 62948 9178 220 216 149 96 149 97 653 199 196 17281 17141 220 150072 16130 47 0a0a282222232d3d5b201cd9a3d9a4c2a00b08383438303936203c7c72657365727665645f3135303037327c3e5b5f
+enc u084 14 40152 220 9189 219 150068 359 112542 220 216 12 474 5 216 197 45 cc8120e2808b1f3c7c72657365727665645f3135303036387c3e0d0a746f6b656e697a6572201c2d2829261c09
+enc u085 13 374 87 220 8310 344 258 22828 220 2540 4 12271 150020 653 47 71757820e380802041202020202048656c6c6f20e383bc253f2e3c7c72657365727665645f3135303032307c3ec2a0
+enc u086 5 66165 8310 80639 3 220 9 5b60e380807c602420
+pre u086 4 2 5 8 9 9 5b60e380807c602420
+enc u087 25 34452 4940 438 74407 220 149 96 149 97 8310 220 68969 104 7547 4959 12893 113931 25057 805 32042 64325 107 64325 113 220 49 c285466c696e74276c20d9a3d9a4e3808020e285ab464c494e54353630e29da4efb88fc3a920c4b0f09f87aff09f87b520
+pre u087 12 7 9 10 14 18 21 26 29 37 40 48 49 49 c285466c696e74276c20d9a3d9a4e3808020e285ab464c494e54353630e29da4efb88fc3a920c4b0f09f87aff09f87b520
+enc u088 19 55129 199 107571 14884 75985 427 8248 3429 331 62984 43800 243 219 126893 224 56892 7585 2646 256 43 c5bf0bcc882048454c4c4f204e41495645204920ec9588eb85951ff09f9982d09fd180d0b8c39f090a2020
+pre u088 10 2 5 11 17 19 26 27 39 41 43 43 c5bf0bcc882048454c4c4f204e41495645204920ec9588eb85951ff09f9982d09fd180d0b8c39f090a2020
+enc u089 4 4 9189 113931 25057 10 25e2808be29da4efb88f
+pre u089 3 1 4 10 10 25e2808be29da4efb88f
+enc u090 15 113931 25057 1974 55129 220 134 108 196 220 150021 150041 40 1785 253 37579 60 e29da4efb88fe28094c5bf20cab008203c7c72657365727665645f3135303032317c3e3c7c72657365727665645f3135303034317c3e4920c39fc4b0
+enc u091 1 215 1 1b
+pre u091 1 1 1 1b
+enc u092 3 107571 7 220 4 cc882820
+pre u092 3 2 3 4 4 cc882820
+enc u093 14 22229 220 120706 98 222 40 150125 50 2417 10240 43208 10381 6327 220 42 c2bd20f090a580493c7c72657365727665645f3135303132357c3e534e414b455f434153450961276d20
+enc u094 5 149 96 149 97 221 5 d9a3d9a47f
+pre u094 2 4 5 5 d9a3d9a47f
+enc u095 4 64325 107 64325 113 8 f09f87aff09f87b5
+pre u095 1 8 8 f09f87aff09f87b5
+enc u096 5 16062 6005 653 1974 2911 15 646f6ee282acc2a0e2809420e28094
+pre u096 5 3 6 8 11 15 15 646f6ee282acc2a0e2809420e28094
+enc u097 5 150143 220 221 131 227 23 3c7c72657365727665645f3135303134337c3e207fc785
+enc u098 25 17111 7612 750 220 786 216 68 40152 150028 220 12524 18317 16903 2540 61221 82181 17111 7612 315 40152 54 36502 220 22229 220 83 4854545053657276657227742033321c65cc813c7c72657365727665645f3135303032387c3e20333337383437383233e383bc544f4b454e495a4552485454505365727665722065cc81574f524c4420c2bd20
+enc u099 17 198 30406 35255 503 42027 20544 19923 5365 215 220 68969 104 145778 2926 1034 56892 279 49 0a20d09fd180d0b85a7a277320e0a4a8e0a4aee0a4b8e0a58d1b20e285ab6e61697665276c6c3237d09fd180d0b8202020
+pre u099 11 1 8 12 25 26 27 30 38 40 46 49 49 0a20d09fd180d0b85a7a277320e0a4a8e0a4aee0a4b8e0a58d1b20e285ab6e61697665276c6c3237d09fd180d0b8202020
+enc u100 15 14424 150061 17 126893 224 13663 150126 7585 7585 220 10788 14523 9418 54 36502 67 3537353c7c72657365727665645f3135303036317c3e32f09f99827e5c3c7c72657365727665645f3135303132367c3ec39fc39f20333035363432383032574f524c44
+enc u101 6 4940 438 764 805 43925 150046 33 466c696e74200ac3a920f09f99823c7c72657365727665645f3135303034367c3e
+enc u102 23 150082 72 2694 3361 220 86599 9479 4428 55129 1785 253 122738 25057 18266 7211 198 220 150075 134 108 220 1665 220 81 3c7c72657365727665645f3135303038327c3e694f5327766520e280a848656c6c6f2764c5bf20c39f20e29da4efb88f5a5a546f700a203c7c72657365727665645f3135303037357c3ecab020e381ae20
+enc u103 4 256 197 219 220 5 2020091f20
+pre u103 4 2 3 4 5 5 2020091f20
+enc u104 1 150130 19 3c7c72657365727665645f3135303133307c3e
+enc u105 16 18266 42934 7 40231 91 10045 7612 3361 93 10 40152 150095 150072 17648 32042 220 73 5a5a544f50283b277c20485454505365727665722776657e2bcc813c7c72657365727665645f3135303039357c3e3c7c72657365727665645f3135303037327c3e20e282ac20c4b020
+enc u106 24 5854 56235 101 25191 46966 102 433 102790 7547 4959 126847 10240 43208 198 417 121423 30 131 227 102113 7211 215 14473 219 53 4f4b20f09f91a8e2808df09f91a9207d3f7d464c494e5420534e414b455f434153450a202d605f3fc785205a5a546f701b3536361f
+pre u106 15 2 7 10 14 18 23 29 34 35 40 42 48 49 52 53 53 4f4b20f09f91a8e2808df09f91a9207d3f7d464c494e5420534e414b455f434153450a202d605f3fc785205a5a546f701b3536361f
+enc u107 8 113931 25057 220 653 651 8175 1240 1582 19 e29da4efb88f20c2a0292c3137343230323039
+pre u107 7 6 7 9 11 14 17 19 19 e29da4efb88f20c2a0292c3137343230323039
+enc u108 9 1286 764 220 50694 979 64325 107 64325 113 19 746865200a20c2a0444f4ef09f87aff09f87b5
+pre u108 5 3 5 6 11 19 19 746865200a20c2a0444f4ef09f87aff09f87b5
+enc u109 17 189 40 43597 23074 150098 220 3623 34452 6 113931 25057 113931 25057 805 2431 17648 220 55 0149274d5448453c7c72657365727665645f3135303039387c3e20313936c28527e29da4efb88fe29da4efb88fc3a9e2809c20e282ac20
+enc u110 9 27773 220 189 29295 56892 56892 126893 224 220 23 3a2a20012d2cd09fd180d0b8d09fd180d0b8f09f998220
+pre u110 8 2 3 4 6 12 18 22 23 23 3a2a20012d2cd09fd180d0b8d09fd180d0b8f09f998220
+enc u111 17 150096 134 108 1974 8007 11246 68 40152 220 189 6292 126847 10240 43208 417 63 61 52 3c7c72657365727665645f3135303039367c3ecab0e280943f3f5d5f65cc8120012054484520534e414b455f43415345202d605e
+enc u112 6 72 2694 66904 782 8521 933 14 694f5320494f5320783636363530
+pre u112 6 1 3 7 9 12 14 14 694f5320494f5320783636363530
+enc u113 2 2540 220 4 e383bc20
+pre u113 2 3 4 4 e383bc20
+enc u114 10 126893 224 150056 34617 220 221 220 34452 19836 56892 39 f09f99823c7c72657365727665645f3135303035367c3eefbc91207f20c2852a3ed09fd180d0b8
+enc u115 3 68 40152 8310 6 65cc81e38080
+pre u115 2 3 6 6 65cc81e38080
+enc u116 20 107571 43925 72833 43800 243 46966 101 25191 46966 102 198 220 34617 220 221 2431 150025 22229 3798 55 58 cc8820f09f9982ec9588eb8595f09f91a8e2808df09f91a90a20efbc91207fe2809c3c7c72657365727665645f3135303032357c3ec2bd515558
+enc u117 10 1286 112542 86599 18266 42934 6616 1600 1286 220 21 30 746865746f6b656e697a6572e280a85a5a544f5032303435357468652036
+pre u117 7 12 20 23 25 28 29 30 30 746865746f6b656e697a6572e280a85a5a544f5032303435357468652036
+enc u118 11 7547 4959 1244 64325 107 64325 113 54 36502 2646 256 26 464c494e5420e2809cf09f87aff09f87b5574f524c44090a2020
+pre u118 5 5 17 22 24 26 26 464c494e5420e2809cf09f87aff09f87b5574f524c44090a2020
+enc u119 7 17197 20544 19923 5365 22828 215 220 20 e0a4a8e0a4aee0a4b8e0a58d2048656c6c6f1b20
+pre u119 4 12 18 19 20 20 e0a4a8e0a4aee0a4b8e0a58d2048656c6c6f1b20
+enc u120 11 149 96 149 97 17648 220 5633 32042 17648 220 1435 22 d9a3d9a420e282ac2031303720c4b020e282ac203037
+pre u120 8 4 8 9 12 15 19 20 22 22 d9a3d9a420e282ac2031303720c4b020e282ac203037
+enc u121 18 107571 19844 56892 54 36502 113931 25057 220 22229 12474 198 220 1665 220 68969 104 17904 220 43 cc88c389d09fd180d0b8574f524c44e29da4efb88f20c2bd204f4b0a20e381ae20e285abe697a5e69cac20
+pre u121 13 10 15 21 22 24 27 28 29 32 33 36 42 43 43 cc88c389d09fd180d0b8574f524c44e29da4efb88f20c2bd204f4b0a20e381ae20e285abe697a5e69cac20
+enc u122 23 764 27 63 68 40152 6292 127714 38904 215 46966 101 25191 46966 102 1665 23307 91 34452 220 219 131 227 220 40 200a3c6065cc81205448453c5e3b3c1bf09f91a8e2808df09f91a9e381ae2f2b7cc285201fc78520
+pre u122 15 2 4 7 11 15 16 20 23 27 30 33 35 36 39 40 40 200a3c6065cc81205448453c5e3b3c1bf09f91a8e2808df09f91a9e381ae2f2b7cc285201fc78520
+enc u123 17 149 96 149 97 2431 188 112542 220 215 370 68969 104 220 134 108 48774 2540 32 d9a3d9a4e2809c00746f6b656e697a6572201b6162e285ab20cab0285ee383bc
+pre u123 9 4 7 17 18 21 24 27 29 32 32 d9a3d9a4e2809c00746f6b656e697a6572201b6162e285ab20cab0285ee383bc
+enc u124 11 8310 107571 34617 220 68969 104 220 34617 653 65741 22229 22 e38080cc88efbc9120e285ab20efbc91c2a0273fc2bd
+pre u124 9 5 8 9 12 13 16 18 20 22 22 e38080cc88efbc9120e285ab20efbc91c2a0273fc2bd
+enc u125 9 199 17904 12728 9635 150066 220 150064 63 90 54 0be697a5e69cace382abe382bf3c7c72657365727665645f3135303036367c3e203c7c72657365727665645f3135303036347c3e607b
+enc u126 9 196 220 86599 56892 63 93062 6252 3421 220 24 0820e280a8d09fd180d0b86043616d656c43617365272720
+pre u126 7 1 2 11 17 21 23 24 24 0820e280a8d09fd180d0b86043616d656c43617365272720
+enc u127 9 198 4532 34617 220 189 220 17904 220 219 18 0a202822efbc91200120e697a5e69cac201f
+pre u127 9 1 4 7 8 9 10 16 17 18 18 0a202822efbc91200120e697a5e69cac201f
+enc u128 5 17391 34617 8310 220 2540 13 383936efbc91e3808020e383bc
+pre u128 4 3 6 10 13 13 383936efbc91e3808020e383bc
+enc u129 12 189 34617 131 227 34617 11 196 1286 260 2926 2540 37579 24 01efbc91c785efbc912c087468652061276c6ce383bcc4b0
+pre u129 9 1 4 6 9 10 14 19 22 24 24 01efbc91c785efbc912c087468652061276c6ce383bcc4b0
+enc u130 13 221 220 2540 22229 64 74407 7547 4959 219 5854 3421 57424 6327 32 7f20e383bcc2bd61276c464c494e541f4f4b272720746f6b656e697a6572276d
+pre u130 10 1 2 5 7 8 10 15 18 20 32 32 7f20e383bcc2bd61276c464c494e541f4f4b272720746f6b656e697a6572276d
+enc u131 5 5854 7585 22229 3707 220 10 4f4bc39fc2bd200d0a20
+pre u131 4 4 6 9 10 10 4f4bc39fc2bd200d0a20
+enc u132 5 131 227 54 36502 86599 10 c785574f524c44e280a8
+pre u132 2 7 10 10 c785574f524c44e280a8
+enc u133 7 3798 55 221 107571 54 36502 220 12 5155587fcc88574f524c4420
+pre u133 4 3 6 11 12 12 5155587fcc88574f524c4420
+enc u134 11 123829 150141 220 7891 16882 16066 19 113931 25057 85889 220 44 d8a8d8a73c7c72657365727665645f3135303134317c3e2033323039343235383934e29da4efb88f20c5bf20
+enc u135 17 8310 220 12728 9635 220 34617 4010 17807 3755 40 150034 220 150045 40857 34865 2620 150056 91 e3808020e382abe382bf20efbc913632383433313238493c7c72657365727665645f3135303033347c3e203c7c72657365727665645f3135303034357c3e20444f4e20090a200a0a3c7c72657365727665645f3135303035367c3e
+enc u136 18 16062 74407 15213 17896 30406 220 9189 57424 74407 43 220 215 269 2417 11222 122738 25057 1665 56 646f6e276c35353238333420d09fd180d0b820e2808b20746f6b656e697a6572276c4c201b207468654e4149564520e29da4efb88fe381ae
+pre u136 15 3 5 8 11 18 19 22 35 36 37 41 46 50 53 56 56 646f6e276c35353238333420d09fd180d0b820e2808b20746f6b656e697a6572276c4c201b207468654e4149564520e29da4efb88fe381ae
+enc u137 3 61221 82181 220 10 544f4b454e495a455220
+pre u137 2 9 10 10 544f4b454e495a455220
+enc u138 1 8310 3 e38080
+pre u138 1 3 3 e38080
+enc u139 11 150010 17197 20544 19923 5365 1974 37579 17111 7612 23685 32 41 3c746f6f6c5f63616c6c3ee0a4a8e0a4aee0a4b8e0a58de28094c4b048545450536572766572275441
+enc u140 13 131 227 374 87 101378 38861 65213 805 220 134 108 32042 221 20 c785717578277223225f3cc3a920cab020c4b07f
+pre u140 7 5 7 11 13 16 19 20 20 c785717578277223225f3cc3a920cab020c4b07f
+enc u141 12 46966 101 25191 46966 102 122738 25057 2620 2911 220 134 108 28 f09f91a8e2808df09f91a920e29da4efb88f200a0a20e2809420cab0
+pre u141 8 4 7 11 15 18 21 25 28 28 f09f91a8e2808df09f91a920e29da4efb88f200a0a20e2809420cab0
+enc u142 8 86599 220 200 370 126893 224 2540 220 15 e280a8200c6162f09f9982e383bc20
+pre u142 5 4 7 11 14 15 15 e280a8200c6162f09f9982e383bc20
+enc u143 8 196 9519 14881 3394 26350 94767 12728 9635 19 0834353034373435335c7b2b3fe382abe382bf
+pre u143 6 1 4 7 9 13 19 19 0834353034373435335c7b2b3fe382abe382bf
+enc u144 14 374 87 2911 29 315 40152 216 2646 220 17904 17111 15107 34617 220 36 71757820e280943e2065cc811c090a20e697a5e69cac48545450534552564552efbc9120
+pre u144 10 3 8 12 13 15 16 22 32 35 36 36 71757820e280943e2065cc811c090a20e697a5e69cac48545450534552564552efbc9120
+enc u145 20 7585 149 96 149 97 220 188 64325 107 64325 113 17904 56235 101 25191 46966 102 54 36502 221 40 c39fd9a3d9a42000f09f87aff09f87b5e697a5e69cac20f09f91a8e2808df09f91a9574f524c447f
+pre u145 10 2 6 7 8 16 22 27 30 39 40 40 c39fd9a3d9a42000f09f87aff09f87b5e697a5e69cac20f09f91a8e2808df09f91a9574f524c447f
+enc u146 10 120706 98 222 279 199 2431 21316 17904 12 26 22 f090a5802020200be2809c20c389e697a5e69cac2d3b
+pre u146 7 4 7 8 11 14 20 22 22 f090a5802020200be2809c20c389e697a5e69cac2d3b
+enc u147 12 19844 17197 20544 19923 5365 1974 7585 68969 104 150132 331 34452 45 c389e0a4a8e0a4aee0a4b8e0a58de28094c39fe285ab3c7c72657365727665645f3135303133327c3e2049c285
+enc u148 2 134 108 2 cab0
+pre u148 1 2 2 cab0
+enc u149 24 2431 1054 57944 7432 43463 220 216 196 17700 1529 220 12728 9635 150012 56235 101 25191 46966 102 220 219 112542 101378 56892 66 e2809c203e217d205e2823201c08373838343920e382abe382bf3c6172675f6b65793e20f09f91a8e2808df09f91a9201f746f6b656e697a65722772d09fd180d0b8
+enc u150 15 215 68 40152 220 34452 9479 150026 40152 16118 959 150105 19844 68 40152 215 63 1b65cc8120c28548656c6c6f3c7c72657365727665645f3135303032367c3ecc8135353432343c7c72657365727665645f3135303130357c3ec38965cc811b
+enc u151 9 7547 4959 66089 30406 1054 1785 253 2540 220 23 464c494e542c2f20d09fd180d0b8203e20c39fe383bc20
+pre u151 7 5 7 14 16 19 22 23 23 464c494e542c2f20d09fd180d0b8203e20c39fe383bc20
+enc u152 10 19844 34617 5854 34452 120706 98 222 54 36502 220 19 c389efbc914f4bc285f090a580574f524c4420
+pre u152 6 2 5 7 9 18 19 19 c389efbc914f4bc285f090a580574f524c4420
+enc u153 12 1665 220 653 221 220 6406 4323 7585 12728 9635 68 40152 25 e381ae20c2a07f20313234303033c39fe382abe382bf65cc81
+pre u153 10 3 4 6 7 8 11 14 16 22 25 25 e381ae20c2a07f20313234303033c39fe382abe382bf65cc81
+enc u154 10 4940 438 43763 56235 101 25191 46966 102 27 10 21 466c696e74274420f09f91a8e2808df09f91a93c2b
+pre u154 4 7 12 15 21 21 466c696e74274420f09f91a8e2808df09f91a93c2b
+enc u155 18 35255 220 199 37579 220 2540 56892 93062 6252 74407 215 9189 61221 82181 123829 220 20 215 47 5a7a200bc4b020e383bcd09fd180d0b843616d656c43617365276c1be2808b544f4b454e495a4552d8a8d8a720351b
+pre u155 14 2 3 6 7 10 16 21 25 27 28 44 45 46 47 47 5a7a200bc4b020e383bcd09fd180d0b843616d656c43617365276c1be2808b544f4b454e495a4552d8a8d8a720351b
+enc u156 15 6005 34452 1974 220 2540 220 22229 16742 220 189 17111 7612 150119 9189 32 53 e282acc285e2809420e383bc20c2bd2041422001485454505365727665723c7c72657365727665645f3135303131397c3ee2808b41
+enc u157 2 40 30406 8 4920d09fd180d0b8
+pre u157 2 1 8 8 4920d09fd180d0b8
+enc u158 12 134 108 219 1244 87 220 131 227 220 8756 13066 150105 37 cab01f20e2809c7820c785203230393532353c7c72657365727665645f3135303130357c3e
+enc u159 12 189 199 122738 25057 2431 220 219 15523 1435 9595 16947 31 24 010b20e29da4efb88fe2809c201f3534363037222b3b2d40
+pre u159 10 1 2 6 9 12 13 14 17 19 24 24 010b20e29da4efb88fe2809c201f3534363037222b3b2d40
+ucd unicode-16.0.0 8013 61396b356131386b3169336a3169366a31693468313069326a33693262323669336a3169316a3163323669316a3169316a3161366b316132366b3169316a3569316a32663169316a3161316a3468326a31633169326a31683166316931683369316232336a3162376332346a3163386231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633262316331623163316231633162316331623163316231633162316331623163326231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623263316231633162316333623263316231633162326331623363326234633162326331623363336232633162326331623163316231633162326331623163326231633162326331623363316231633162326332663162316333663462316431633162316431633162316431633162316331623163316231633162316331623163316231633162316331623163326231633162316331623163316231633162316331623163316231633162316331623163326231643163316231633162336331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633762326331623263326231633162346331623163316231633162316331623163363966316332376531386a346531326a313465356a3765316a3165316a313767313132623163316231633165316a31623163316132653163336931623161346a3262316931623361316231613162326331623137613162396333356231633262336333623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316335623163316a31623163316232633262353163343862316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316a316737623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623263316231633162316331623163316231633162316331623163326231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316131623338613265316936633431693261326a3361316734356931673169316732693167326931673161386632376134663469326131376a3369326a3169326a32673131693161316933663332653166313067323168313069346632673166393969316631673761316a316736653267326a316734663268313066336a32663169313461326631673166333067323761326638396731316631613134683130663333673965326a3169336531613267316a32663232673465316739653167336531673561326931356131663235673361326931613166313161356632346a3166366138673966343165316732346131673333663534673366316731386631673766313067326932683130693165316631356733613166386132663261326632326131663761316631613366346132673166316737613267326132673366316138673161346632613166336732613268313066326a3268366a326631693167316132673361316636613466326132663232613166376131663261316632613166326132673161316735613467326132673361336731613766346131663161376831306732663367316931613130673361316639613166336131663232613166376131663261316635613267316631673861316733613167336132663161313566326732613268313069316a31613766316736613167336131663861326632613266323261316637613166326131663561326731663167376132673261326733613767336134663261316633673261326831306a3166316836613130673166316131663661336633613166346133663261316631613166326133663261336633613366313261346735613367336131673461326631613667316131346831336a3861356735663861316633613166323361316631366132673166316737613167336131673461376732613166336132663161326632673261326831306137693168376a316631673369316638613166336131663233613166313061316635613267316631673761316733613167346137673261366632613166326732613268313061316632673161313267346639613166336131663431673266316737613167336131673466316a3161346633673168376633673261326831396a316636613167336131663138613366323461316639613166316132663761336731613467366131673161316738613668313061326732693161313266343867316632673761346a3166366531673869316831306932613337663261316631613166356131663234613166316131663130673166326739663161326635613165316131673761316831306132663461333266316a336931356a3169316a3367326a366832306a3167316a3167316a31673169346732663861316633366134673230693167326635673131613167333661316a3867316a3661316a3269356a3469326133376634336732306631683130693666366734663467336631673366326737663367346631336731326631673168313067346a326233386131623161356231613263343369316531633366333239613166346132663761316631613166346132663431613166346132663333613166346132663761316631613166346132663135613166353761316634613266363761326733693968323061336631366a313061366238366132633661326931663632306a3169316631376b3166323669326133663735693368336638613766313867346139663139673369326139663138673261313266313361316633613167326131326635326733326933653169336a3166316731613268313061366831306136693131673361316731683130613666333565316635336137663567326633346731663161356637306131306633316131673132613467313261346a3161336932683130663330613266356131316634346134663236613668313161336a3334663233673561326932663533673130613167323961326731683130613668313061366937653169366132673331613439673566343767313766386131693268313069376a313067396a39693367336633306731336632683130663434673134613869346633366732306133693568313061336633683130663330653669326339623163316135623433613262336938613867336931673231663467316636673166326733663161356334346536336331336531633334653337673634623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316339623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163396238633661326236613263386238633862386336613262366132633861316231613162316131623161316231633862386331346132633864386338643863386438633561316332623464316a3163316a33633361316332623464316a33633461326332623461316a33633862356a336132633361316332623464316a3261316b313161356932346b3261356b316932306a316931336a316931326b3161313668316531613268366a33693265316831306a336932613165313361336a33336131356733336131356a3262316a3462316a32633162336332623363316a3162316a3362356a3662316a3162316a3162316a3162346a31633162346331663463316a32633262326a35623163346a3463316a316835316231633168356a3261346a33373669346a323969326a3235356132326a31316132316836306a37386832326a3631366931346833306a343969326a33316931306a3430336932326a363369346a333269326a33373461326a333261316a3130356234386334386231633162336332623163316231633162316331623463316231633262316336653262336331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163326a36623163316231633167336231633161356934683169326333386131633161356331613266353661376531693161313467316632336139663761316637613166376131663761316637613166376131663761316637613167333269343765316933326a326931326133346a323661316a38396131326a3231346132366a31366b3169336a316531663168316931306a326931326a3168396736693165356a3268336531663169316a326131663836613267326a326532663169316639306931653366316135663433613166393461316a3268346a31306633326a333861396a316631366a333161316831306a333068386a316831356a33326831306a33396831356a33323066363539326a36346632313031336531663131343361336a3535613966343065366932663236386531693366313668313066326132306231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331663167346931673130693165316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331653267326637306831306732693661386a323365396a326231633162316331623163316231633162316331623163316231633362316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331623163316231633162316331653163386231633162316331623263316231633162316331623163316231633165316a32623163316231633166316231633162316333623163316231633162316331623163316231633162316331623163316231633162316331623163316235633162356331623163316231633162316331623163316231633162316331623163316234633162316331623263316132623163316131633161316331623163316231633162316331623161323165336231633166316532633166376731663367316634673166323367356a346731613368366a34613666353269346138673266353067313861386932683130613667313866366933663169316632673168313066323867386932663233673133613131693166323961336734663437673134693133613165316831306134693266356731653166396831306635613166343167313461396633673166386732613268313061326934663136653166366a336631673366353067316631673366326732663567326631673166316132346632653169326631316735693266316532673261313066366132663661326636613966376131663761316334336a316534633965316a326134633830663335673869316732613268313061366631313137326131326632336134663439613834353266333636613266313036613338633761313263356135663167316631306a31663133613166356131663161316632613166326131663130386a31376131366633363369326a3136663634613266353461376a316133326631326a34673136693130613667313669333561316931346a3169316a33613169316a31693261346635613166313335613469336a3169366a31693468313069326a33693262323669336a3169316a3163323669316a3169316a316937663130653166343565326633316133663661326636613266366132663361336a3761316a376131336a3261326631326131663236613166313961316632613166313561326631346133346631323361356933613468343561336a396835376a313768326a3361316a313361336a316134376a343567316131333066323961336634396131356731683237613466333268346139663230683166386831613566333867356135663330613169316633366134663869316835613432623430633430663738613268313061366233366134633336613466343061386635326131316931623131613162313561316237613162326131633131613163313561316337613163326133663532613132663331316139663232613130663861323465366131653432613165396136396636613266316131663434613166326133663161326632336131693168386632336a32683766333161386839613438663139613166326135683566323268366133693166323661356931613634663536613468326632683136613268343666316733613167326135673466346131663361316632396132673361346731683961376939613766323968326931663239683361333266386a316632386732613468356937613966353461336937663232613268386631396135683866313861376934613132683761383066373361353562353161313363353161376836663336673461386831306136683130663465316631623232613367356931653163323261386a3261323038683331613166343261316732693161326632613136663361353567346632396831306631613866323267313168346935613232663138673469346133386632316837613230663233613967336635336731356937613468333067316632673266316139673466343567313169326131693467316131336632356137683130613667336633366731346131683130693466316732663161386633356731693266316139673366343867313466346934673469316732683130663169316631693361316832306131316631386131663235673132693667316632673161363266376131663161316634613166313561316631306931613666343767313261356831306136673461316638613266326132663232613166376131663261316635613167326631673761326732613267336132663161366731613566356732613267376133673561313166313061316631613266316131663338613166316739613167316132673161316734613167356631673166316932613169326138673261323966353367313866346935683130693261316931673166336133306634386732306632693166316138683130613136366634376737613267396932336634673261333466343867313769336631613131683130613669313361313966343367313366316931613668313061366832306132386632376132673135613468313269336a31663761313835663434673135693161313030623332633332683139613132663861326631613266386131663261316632346736613167326132673466316731663167326933613968313061373066386132663339673761326737663169316631673161323766316731306634306737663167346938673161386631673131663436673136693366316935613133663733613769313061313832663333693161313468313061366639613166333767386131673866316935613130683239613369326633306132673232613167313461373366376131663261316633386736613367316131673261316737663167316138683130613666366131663261316633326735613167326131673566316137683130613331306631396734693261376732663167316631336131663334673761336735693133683130673161383566316131356832316a3239613133693166393232613130326831313161316935613131663139366132363336663937693261313366313037326131366731663667313561313066333939356135663538336136383431663330673138683130613137333466353639613766333161316831306134693266373961316831306136663330613267356931613130663438673769356a34653469316a3161313068313061316837613166323161356631396134333265336634306532693368313061313938623332633332683233693461313031663735613467316631673535613767346531336136346532693165316731613131673261313466363133366138663132333861343166313061383933356534613165376131653261316632393161313566316132396633613266316131346634613866333936613233303866313037613566313361336639613766313061326a316732693161333933366a32343068313061366a343336613736673436613267323361396a3131366136306a3234366131306a333961326a363067356a336736613867386a3267376a333067346a36316132316a363667336a31613132326832306131326832306131326a3837613968323561313335623236633236623236633761316331386232366332366231613162326132623161326232613262346131623863346131633161316337613163313162323663323662326131623461326238613162376131633236623261316234613162356131623161336237613163323662323663323662323663323662323663323662323663323662323663323662323663323861326232356a316332356a3163366232356a316332356a3163366232356a316332356a3163366232356a316332356a3163366232356a316332356a3163366231633161326835306a3531326735356a346735306a3867316a313467316a326935613135673561316731356131313034633130663163323061366336613231336737613167313761326737613167326131673561356536326133336731613131326634356133673765376132683130613466316a31613332306633306731613137663434673468313061356a3161343634663237653167346831306132313466333067326631683130613469316134383066376131663461316632613166313561316631393761326839673761343162333463333467376531613468313061346932613738356835396a3168336a3168346137366834356a31683135613139346634613166323761316632613166316132663161316631306131663461316631613166316136663161346631613166316131663161316633613166326131663161326631613166316131663161316631613166316131663261316631613266346131663761316634613166346131663161316631306131663137613566336131663561316631376135326a32613237306a343461346a3130306131326a313561326a313561316a313561316a33376131306831336a3136316135366a32396131336a343461346a3961376a326131346a36613135346a39383461346a313761336a313361336a31313961346a393561366a313261346a316131356a313261346a353661386a313061366a343061386a333061326a313261346a326136326a3334306131326a313461326a313361336a313061356a353661376a313561326a313161366a3961376a31343761316a393268313061313033306634323732306133326634313534613666323232613266353736326131346637343733613135663632326132343636663534326131353036663439333961356634313932613731323031366732343061313936313132
diff --git a/om/flint/test/tokref.py b/om/flint/test/tokref.py
new file mode 100755
index 00000000..d9570739
--- /dev/null
+++ b/om/flint/test/tokref.py
@@ -0,0 +1,342 @@
+#!/usr/bin/env python3
+"""Flint tokenizer and control-token fixture. TEST REFEREE ONLY, never an implementation dependency.
+
+Loads the pinned tokenizer of RecursiveSI/flint@2a247be0 with the pinned reference runtime
+(transformers a672eb5f AutoTokenizer, Rust tokenizers backend) and GenerationConfig, and writes the
+text fixture that om/flint/tok.om checks against the tokenizer files on its own. check.sh reruns this
+script and requires its output to equal the committed test/tok-fixture.txt byte for byte, so a
+different transformers file, tokenizers build or source file shows up as a FAIL.
+
+Usage: tokref.py SRC OUT [RAWJSON RAWOUT]
+ SRC the pinned source capture (tokenizer.json, tokenizer_config.json, chat_template.jinja,
+ generation_config.json)
+ OUT the fixture file to write
+
+Fixture: ASCII lines, fields separated by one space; lines starting with '#' are provenance only.
+ size NV NA base vocabulary size and number of added tokens
+ role NAME ID... bos/eos as the tokenizer resolves them; genbos/geneos/genpad from
+ GenerationConfig (geneos is the ordered stop list)
+ ctl NAME ID SPECIAL HEX a control token: id, its added_tokens_decoder special flag, content bytes
+ case NAME N ID*N NB HEX ids the reference encodes for the NB bytes HEX (no special tokens added);
+ the reference must decode them back to the same bytes
+ enc NAME N ID*N NB HEX ids the reference encodes for the UTF-8 text HEX (no special tokens
+ added); the hand cases of ENC_HAND, the CASES, then ENC_N strings
+ composed by random.Random(ENC_SEED) from the ENC_* fragment lists and
+ ENC_UN strings by random.Random(ENC_SEED + 1) that add non-ASCII fragments
+ pre NAME N END*N NB HEX for an enc text without added tokens: the byte end of each piece the
+ reference pre_tokenizer cuts HEX into
+ ucd NAME NB HEX the class of every code point, as test/ucdgen.py runs, read from the
+ reference's own regex engine (one Split per class over all code points)
+"""
+import hashlib
+import inspect
+import os
+import random
+import sys
+
+import tokenizers
+import transformers
+
+sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
+import ucdgen # noqa: E402
+from transformers import AutoTokenizer, GenerationConfig
+
+PINS = {
+ "tokenizer.json": "a263cce0b7e2b03f7ee07ce809783ef4b47f160c3f268a4ea1524f638da45b68",
+ "tokenizer_config.json": "159ac88217e90ffd0a4a294726048bb302829e82e1958dc85bb203aa79138fbf",
+ "chat_template.jinja": "7940f4ffa3275c36caa4a582f845aaad79da11018b3961e8fbcad6ae29733466",
+ "generation_config.json": "a499c71895e008abd572558a5ad5904feaed92cf2a3b6e2cb0e9cabf03b96ed3",
+}
+BACKEND_SHA = "9ca05b9e41dbd73b53e2c6521eb28194f1f3ae55c153b9f3e8fd6b0ef450e1ea" # a672eb5f
+
+CONTROL = [
+ ("begin-text", "<|begin_of_text|>"),
+ ("end-text", "<|end_of_text|>"),
+ ("system", "<|system|>"),
+ ("user", "<|user|>"),
+ ("assistant", "<|assistant|>"),
+ ("observation", "<|observation|>"),
+ ("developer", "<|developer|>"),
+ ("think-open", ""),
+ ("think-close", ""),
+ ("tools-open", ""),
+ ("tools-close", ""),
+ ("call-open", ""),
+ ("call-close", ""),
+ ("argkey-open", ""),
+ ("argkey-close", ""),
+ ("argval-open", ""),
+ ("argval-close", ""),
+ ("resp-open", ""),
+ ("resp-close", ""),
+]
+
+
+def sha(path):
+ return hashlib.sha256(open(path, "rb").read()).hexdigest()
+
+
+src, out = sys.argv[1:3]
+for name, pin in PINS.items():
+ got = sha(os.path.join(src, name))
+ if got != pin:
+ sys.exit("tokref: %s sha256 %s, pinned %s" % (name, got, pin))
+tok = AutoTokenizer.from_pretrained(src)
+gen = GenerationConfig.from_pretrained(src)
+backend = inspect.getfile(type(tok))
+if sha(backend) != BACKEND_SHA:
+ sys.exit("tokref: %s sha256 %s, pinned %s" % (backend, sha(backend), BACKEND_SHA))
+so = [f for f in os.listdir(os.path.dirname(tokenizers.__file__)) if f.endswith(".so")]
+if len(so) != 1:
+ sys.exit("tokref: expected one tokenizers extension, found %r" % so)
+so_sha = sha(os.path.join(os.path.dirname(tokenizers.__file__), so[0]))
+
+chat = [
+ {"role": "system", "content": "You are Flint."},
+ {"role": "user", "content": "What is 17*23?"},
+ {"role": "assistant", "reasoning_content": "17*23 = 391, since 17*20 = 340 and 17*3 = 51.",
+ "content": "391"},
+]
+tools = [{"type": "function", "function": {
+ "name": "get_weather", "description": "Current weather for a city.",
+ "parameters": {"type": "object", "properties": {"city": {"type": "string"}},
+ "required": ["city"]}}}]
+chat_tool = [
+ {"role": "user", "content": "Weather in Paris?"},
+ {"role": "assistant", "reasoning_content": "Call the tool.", "content": "",
+ "tool_calls": [{"type": "function", "function": {
+ "name": "get_weather", "arguments": {"city": "Paris"}}}]},
+ {"role": "tool", "content": "{\"temp_c\": 18}"},
+]
+CASES = [
+ ("ascii", "Hello, world! The quick brown fox jumps over 13 lazy dogs; x=42."),
+ ("utf8", "na\u00efve caf\u00e9 \u2014 \u65e5\u672c\u8a9e \U0001F642 \u041f\u0440\u0438\u0432\u0435\u0442, "
+ "\u03ba\u1f79\u03c3\u03bc\u03b5! \u00bd \u2211 \U0001D518"),
+ ("ws", "tab\tline\nCRLF\r\n two spaces\u00a0nbsp \x00nul\x7fdel\x1b[0m"),
+ ("chat", tok.apply_chat_template(chat, tokenize=False)),
+ ("chat-tool", tok.apply_chat_template(chat_tool, tools=tools, tokenize=False,
+ add_generation_prompt=True)),
+]
+
+lines = [
+ "# flint tokenizer fixture v1, written by om/flint/test/tokref.py",
+ "# source RecursiveSI/flint@2a247be0c0aec895ccb0ac7ca92229ec6df37288",
+ "# transformers %s backend %s sha256 %s" % (transformers.__version__,
+ os.path.basename(backend), BACKEND_SHA),
+ "# tokenizers %s %s sha256 %s" % (tokenizers.__version__, so[0], so_sha),
+ "# tokenizer class %s" % type(tok).__name__,
+]
+for name, pin in PINS.items():
+ lines.append("# %s sha256 %s" % (name, pin))
+
+nv = tok.backend_tokenizer.get_vocab_size(with_added_tokens=False)
+lines.append("size %d %d" % (nv, len(tok) - nv))
+
+
+def ids(v):
+ v = v if isinstance(v, list) else [v]
+ if not v or not all(isinstance(i, int) and i >= 0 for i in v):
+ sys.exit("tokref: not a token id list: %r" % (v,))
+ return " ".join(str(i) for i in v)
+
+
+lines.append("role bos " + ids(tok.bos_token_id))
+lines.append("role eos " + ids(tok.eos_token_id))
+lines.append("role genbos " + ids(gen.bos_token_id))
+lines.append("role geneos " + ids(gen.eos_token_id))
+lines.append("role genpad " + ids(gen.pad_token_id))
+dec = tok.added_tokens_decoder
+for name, content in CONTROL:
+ i = tok.convert_tokens_to_ids(content)
+ if tok.convert_ids_to_tokens(i) != content or dec[i].content != content:
+ sys.exit("tokref: %s does not round-trip through id %d" % (content, i))
+ lines.append("ctl %s %d %d %s" % (name, i, int(dec[i].special), content.encode().hex()))
+for name, text in CASES:
+ v = tok.encode(text, add_special_tokens=False)
+ back = tok.decode(v, skip_special_tokens=False, clean_up_tokenization_spaces=False)
+ if back != text:
+ sys.exit("tokref: case %s does not decode back to its text: %r" % (name, back))
+ raw = text.encode()
+ lines.append("case %s %d %s %d %s" % (name, len(v), " ".join(map(str, v)), len(raw), raw.hex()))
+
+# Encode corpus. It covers N runs longer than 3, the contractions in mixed case (and near misses),
+# punctuation runs, whitespace and newline runs, inside and at the end of the text, control bytes,
+# added tokens inside text, and outside ASCII: the CJK Split ranges and their edges, accented and
+# decomposed Latin, combining marks (also first, after a space and after a capital, where a1/a2
+# backtrack), emoji with variation selectors and ZWJ, flags, non-ASCII N (Arabic-Indic, fullwidth,
+# Nl, No), every non-ASCII White_Space kind, Lt, Lm, other scripts, the fold of U+017F in a
+# contraction, a Unicode 16 letter and a code point unassigned in Unicode 16.
+ENC_SEED = 834
+ENC_N = 240
+ENC_HAND = [
+ ("hello", "Hello"),
+ ("digits", "12345678 1234 x99999y 0 007 3.14159 1e100"),
+ ("ws-word", "a b c\t\td \t e"),
+ ("trail-ws", "end "),
+ ("trail-nl", "line\n\n"),
+ ("lead-ws", " lead"),
+ ("contract", "it's don't they're we've I'm you'll he'd"),
+ ("contract-uc", "IT'S DON'T THEY'RE WE'VE I'M YOU'LL HE'D It'S wE'Ve"),
+ ("contract-no", "rock'n'roll o'clock 'tis x' 'S ''s she'sn't"),
+ ("punct", "Hi!!! ... ?!?! (a) [b] {c} --e-- ~~f~~ a+b=c; $5 @x #y %z ^w `v` |u| \\t"),
+ ("newline", "a\nb\r\nc\r\rd\n\n\ne \n f\t\n\tg"),
+ ("punct-nl", "x.\r\n\r\ny!\n z?\n\n"),
+ ("added", "xy z<|user|>hi<|assistant|>"),
+ ("added-adj", "kv"),
+ ("added-part", "|> <>"),
+ ("ctl-bytes", "a\x00b\x01 c\x1c\x1fd\x7f e\x0bf\x0cg\x1b[0m"),
+ ("caps", "HTTPServer iPhone ABCdef aBC XMLHttpRequest A B CD"),
+ ("long", "supercalifragilisticexpialidocious " * 3 + "a" * 70 + " " * 40 + "9" * 25),
+ ("cjk", "\u65e5\u672c\u8a9e\u306e\u30c6\u30ad\u30b9\u30c8\u3067\u3059\u3002\u4e2d\u6587\u6587\u672c\uff0c\u6d4b\u8bd5\u3002"),
+ ("cjk-mix", "Tokyo\u6771\u4eacabc \u6771\u4eac 2024\u5e74 x\u3042y \u3042\u3044\u3046 a\u4e00b"),
+ ("cjk-kata", " \u30ab\u30bf\u30ab\u30ca \u30fc\u30c9 a\u30a0b \u30fb"),
+ ("cjk-edge", "\u4e00\u9fa5\u9fa6\u9fff\u3400\u3040\u309f\u30a0\u30ff\u3100 \uff76\uff80"),
+ ("latin", "Caf\u00e9 d\u00e9j\u00e0 vu, na\u00efve r\u00e9sum\u00e9 \u00c9COLE \u00c9t\u00e9 \u00dfo \u0130stanbul \u0141\u00f3d\u017a"),
+ ("decomp", "e\u0301te\u0301 Cafe\u0301 E\u0301COLE A\u0308BC a\u0308b"),
+ ("marks", "\u0301abc \u0301x x \u0301 \u0301\u0302\u0303 A\u0301 \u20dd! '\u0301s .\u0301\u0301"),
+ ("emoji", "I \u2764\ufe0f \U0001f355 and \U0001f468\u200d\U0001f469\u200d\U0001f467! \U0001f642\U0001f642\U0001f642 \U0001f1ef\U0001f1f5\U0001f1fa\U0001f1f8 \U0001f44d\U0001f3fd"),
+ ("digits-u", "\u0663\u0664\u0665\u0666\u0667 \uff11\uff12\uff13\uff14 \u216b \u00bd \u00b2\u00b3 \u0967\u0968\u0969\u096a x\u0663y"),
+ ("ws-u", "a\u00a0b\u3000c\u2028d\u0085e\u2029f\u1680g\u2009\u200ah \u3000\u3000"),
+ ("ws-u-nl", "x \u00a0\n y\u3000\r\n\u2028z \u00a0"),
+ ("not-ws", "a\u200bb\u200ec\ufeffd\u180ee"),
+ ("long-s", "it'\u017f IT'S it'\u017ft '\u017f \u017fun"),
+ ("lt-lm", "\u01c5emal \u01c8ubljana \u02b0\u02b2a x\u02b0 \u1fbc\u1f88"),
+ ("scripts", "\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac \u041f\u0440\u0438\u0432\u0435\u0442, \u043c\u0438\u0440! "
+ "\u0645\u0631\u062d\u0628\u0627 \u0628\u0627\u0644\u0639\u0627\u0644\u0645 \u0928\u092e\u0938\u094d\u0924\u0947 "
+ "\u0e2a\u0e27\u0e31\u0e2a\u0e14\u0e35 \uc548\ub155\ud558\uc138\uc694 \u05e9\u05dc\u05d5\u05dd"),
+ ("u16", "\U00010d50\U00010d70 \U00010940x \U0001e5d0"),
+ ("punct-u", "\u00ab\u00bb \u201cq\u201d \u2014\u2013 \u2026 \u20ac5 \u00a9\u00ae \u2211\u221e \u00bf\u00a1"),
+]
+ENC_WORDS = ["the", "Hello", "WORLD", "x", "I", "a", "don", "CamelCase", "iOS", "HTTPServer",
+ "snake_case", "ab", "Zz", "qux", "OK", "tokenizer", "Flint", "naive", "ZZTop"]
+ENC_CONTR = ["'s", "'t", "'re", "'ve", "'m", "'ll", "'d", "'S", "'T", "'Re", "'rE", "'VE", "'M",
+ "'Ll", "'lL", "'D", "'x", "'", "''", "'r", "'v", "'l"]
+ENC_PUNCT = "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"
+ENC_WS = [" ", " ", " ", "\t", "\n", "\n\n", "\r\n", " \n", "\t\n ", "\x0b", "\x0c", " \r\n ",
+ "\r", "\n ", " \t"]
+ENC_CTRL = ["\x00", "\x01", "\x08", "\x1b", "\x1c", "\x1f", "\x7f"]
+ENC_ADDED = [dec[i].content for i in sorted(dec)]
+rng = random.Random(ENC_SEED)
+
+
+def enc_frag():
+ k = rng.randrange(8)
+ if k == 0:
+ return rng.choice(ENC_WORDS)
+ if k == 1:
+ return rng.choice(ENC_WORDS) + rng.choice(ENC_CONTR)
+ if k == 2:
+ return "".join(rng.choice("0123456789") for _ in range(rng.randrange(1, 10)))
+ if k == 3:
+ return "".join(rng.choice(ENC_PUNCT) for _ in range(rng.randrange(1, 5)))
+ if k == 4:
+ return rng.choice(ENC_WS)
+ if k == 5:
+ return rng.choice(ENC_CTRL)
+ if k == 6:
+ return rng.choice(ENC_ADDED)
+ return rng.choice(ENC_WORDS).upper()
+
+
+enc = list(ENC_HAND) + list(CASES)
+for k in range(ENC_N):
+ parts = [enc_frag() for _ in range(rng.randrange(1, 13))]
+ text = "".join(p + rng.choice(["", "", " "]) for p in parts)
+ if rng.randrange(4) == 0:
+ text += rng.choice(ENC_WS)
+ enc.append(("r%03d" % k, text))
+# Non-ASCII fragments for a second random corpus (its own generator, so r000.. stay as they were).
+ENC_UN = 160
+ENC_UFRAG = ["\u00e9", "\u00c9", "e\u0301", "\u0301", "\u0308", "\u00df", "\u0130", "\u017f", "\u01c5",
+ "\u02b0", "\u65e5\u672c", "\u306e", "\u30ab\u30bf", "\u30fc", "\u3000", "\u00a0", "\u2028",
+ "\u0085", "\u0663\u0664", "\uff11", "\u00bd", "\u216b", "\u2764\ufe0f", "\U0001f642",
+ "\U0001f468\u200d\U0001f469", "\U0001f1ef\U0001f1f5", "\u041f\u0440\u0438", "\u0628\u0627",
+ "\u0928\u092e\u0938\u094d", "\uc548\ub155", "\u2014", "\u201c", "\u20ac", "\u200b", "\U00010940"]
+urng = random.Random(ENC_SEED + 1)
+for k in range(ENC_UN):
+ rng = urng
+ parts = []
+ for _ in range(urng.randrange(1, 13)):
+ parts.append(urng.choice(ENC_UFRAG) if urng.randrange(2) == 0 else enc_frag())
+ text = "".join(p + urng.choice(["", "", " "]) for p in parts)
+ enc.append(("u%03d" % k, text))
+# A text without added tokens also gets a pre record: the byte end of every piece the reference
+# pre_tokenizer (the three Splits) cuts it into. BPE seldom merges across a piece boundary, so a
+# wrong boundary (a mark class, a CJK range, a fold, backtracking) often leaves the ids unchanged;
+# the pre record shows it.
+npre = 0
+for name, text in enc:
+ if not 0 < len(text.encode()) <= 16384:
+ sys.exit("tokref: enc %s is empty or longer than 16384 bytes" % name)
+ v = tok.encode(text, add_special_tokens=False)
+ if v != tok.backend_tokenizer.encode(text, add_special_tokens=False).ids:
+ sys.exit("tokref: enc %s: transformers and tokenizers disagree" % name)
+ if tok.decode(v, skip_special_tokens=False, clean_up_tokenization_spaces=False) != text:
+ sys.exit("tokref: enc %s does not decode back to its text" % name)
+ raw = text.encode()
+ lines.append("enc %s %d %s %d %s" % (name, len(v), " ".join(map(str, v)), len(raw), raw.hex()))
+ if any(a in text for a in ENC_ADDED):
+ continue
+ ends = []
+ for _, (a, b) in tok.backend_tokenizer.pre_tokenizer.pre_tokenize_str(text):
+ if a != (ends[-1] if ends else 0):
+ sys.exit("tokref: pre %s: pieces do not cover the text" % name)
+ ends.append(b)
+ if ends[-1] != len(text):
+ sys.exit("tokref: pre %s: pieces do not cover the text" % name)
+ e = [len(text[:b].encode()) for b in ends]
+ lines.append("pre %s %d %s %d %s" % (name, len(e), " ".join(map(str, e)), len(raw), raw.hex()))
+ npre += 1
+
+# Code point classes of the reference regex engine, as ucdgen.py runs: each class is one Split
+# (behavior removed) over every code point but the surrogates (left in class a, as in the UCD
+# build), whose removed spans are its members. The classes must not overlap. The (?i) contraction
+# letters must fold as tok.om's te_low assumes: s also to U+017F, the others within ASCII.
+CPS = [c for c in range(ucdgen.NCP) if not 0xD800 <= c <= 0xDFFF]
+ALL = "".join(map(chr, CPS))
+
+
+def members(rx):
+ kept = bytearray(len(CPS))
+ for _, (a, b) in tokenizers.pre_tokenizers.Split(tokenizers.Regex(rx), "removed").pre_tokenize_str(ALL):
+ kept[a:b] = b"\x01" * (b - a)
+ return [CPS[i] for i in range(len(CPS)) if not kept[i]]
+
+
+cls = bytearray(b"a" * ucdgen.NCP)
+for letter, rx, _ in ucdgen.CLASSES:
+ for c in members(rx):
+ if cls[c] != ord("a"):
+ sys.exit("tokref: U+%04X is in %s and class %c" % (c, rx, cls[c]))
+ cls[c] = ord(letter)
+for x in "strvmld":
+ want = {ord(x), ord(x.upper())} | ({0x17F} if x == "s" else set())
+ if set(members("(?i:%s)" % x)) != want:
+ sys.exit("tokref: (?i:%s) folds to %r" % (x, sorted(members("(?i:%s)" % x))))
+u = ucdgen.runs(cls).encode()
+lines.append("ucd unicode-%s %d %s" % (ucdgen.UCD_VERSION, len(u), u.hex()))
+with open(out, "w") as f:
+ f.write("\n".join(lines) + "\n")
+print("tokref: %d control tokens, %d cases, %d enc (seed %d), %d pre, ucd %d runs, tokenizers %s" % (
+ len(CONTROL), len(CASES), len(enc), ENC_SEED, npre,
+ len(u) - len(u.translate(None, b"abcdefghijk")), tokenizers.__version__))
+
+# Optional: RAWJSON RAWOUT. RAWJSON is the pinned tokenizer.json with one added token's content
+# changed by check.sh to hold characters outside the ByteLevel alphabet (space, tab), which no
+# pinned token has; the decoder must then emit that content's own UTF-8 bytes.
+if len(sys.argv) == 5:
+ raw_json, raw_out = sys.argv[3:5]
+ rt = tokenizers.Tokenizer.from_file(raw_json)
+ content = "<|reserved 150143\t|>"
+ if rt.token_to_id(content) != 150143:
+ sys.exit("tokref: %s does not hold the derived added token" % raw_json)
+ text = "Hello" + content + "world"
+ v = rt.encode(text, add_special_tokens=False).ids
+ if 150143 not in v or rt.decode(v, skip_special_tokens=False) != text:
+ sys.exit("tokref: raw-added case does not round-trip: %r" % (v,))
+ raw = text.encode()
+ with open(raw_out, "w") as f:
+ f.write("# derived tokenizer.json: id 150143 content %s\n" % content.encode().hex())
+ f.write("case raw-added %d %s %d %s\n" % (len(v), " ".join(map(str, v)), len(raw), raw.hex()))
+elif len(sys.argv) != 3:
+ sys.exit("usage: tokref.py SRC OUT [RAWJSON RAWOUT]")
diff --git a/om/flint/test/ucdgen.py b/om/flint/test/ucdgen.py
new file mode 100755
index 00000000..3fced7bc
--- /dev/null
+++ b/om/flint/test/ucdgen.py
@@ -0,0 +1,102 @@
+#!/usr/bin/env python3
+"""Unicode class table of om/flint/tok.om. GENERATOR ONLY, never an implementation dependency.
+
+The encode pre_tokenizer of the pinned Flint tokenizer (tokenizers 0.23.2, Oniguruma through the
+onig 6.5.3 crate) uses \\p{Lu} \\p{Ll} \\p{Lt} \\p{Lm} \\p{Lo} \\p{L} \\p{M} \\p{N} \\p{P} \\p{S}
+and \\s. tok.om classifies every code point into one of 11 classes:
+ a other (C*, Z* that is not White_Space, unassigned, surrogates), b Lu, c Ll, d Lt, e Lm, f Lo,
+ g M (Mn Mc Me), h N (Nd Nl No), i P (Pc Pd Ps Pe Pi Pf Po), j S (Sm Sc Sk So),
+ k White_Space (PropList; every such code point is Cc, Zs, Zl or Zp, so it has no other class)
+and stores them as runs over 0 .. 1114111: a class letter, then the run length in decimal.
+
+Usage: ucdgen.py UCD_DIR prints the generated block of tok.om (from its marker line to its end
+ line); UCD_DIR holds UnicodeData.txt and PropList.txt of Unicode 16.0.0
+ (https://www.unicode.org/Public/16.0.0/ucd/), checked against UCD_PINS.
+tokref.py imports runs() to write the same string from the referee's own regex engine.
+"""
+import hashlib
+import os
+import sys
+
+NCP = 0x110000
+UCD_VERSION = "16.0.0"
+UCD_PINS = {
+ "UnicodeData.txt": "ff58e5823bd095166564a006e47d111130813dcf8bf234ef79fa51a870edb48f",
+ "PropList.txt": "53d614508e2a0b2305a8aa21cd60d993de9326cdf65993660dfcce4503548583",
+}
+# class letter -> the referee regex of that class (tokref.py) and its General Categories (here)
+CLASSES = [
+ ("b", r"\p{Lu}", ["Lu"]),
+ ("c", r"\p{Ll}", ["Ll"]),
+ ("d", r"\p{Lt}", ["Lt"]),
+ ("e", r"\p{Lm}", ["Lm"]),
+ ("f", r"\p{Lo}", ["Lo"]),
+ ("g", r"\p{M}", ["Mn", "Mc", "Me"]),
+ ("h", r"\p{N}", ["Nd", "Nl", "No"]),
+ ("i", r"\p{P}", ["Pc", "Pd", "Ps", "Pe", "Pi", "Pf", "Po"]),
+ ("j", r"\p{S}", ["Sm", "Sc", "Sk", "So"]),
+ ("k", r"\s", None),
+]
+BEGIN = "note ======== unicode classes (generated by test/ucdgen.py from UCD %s; do not edit) ========" % UCD_VERSION
+END = "note ======== end of generated unicode classes ========"
+
+
+def runs(cls):
+ """cls: bytearray of NCP class letters; the run string."""
+ out = []
+ s = 0
+ for c in range(1, NCP + 1):
+ if c == NCP or cls[c] != cls[s]:
+ out.append("%c%d" % (cls[s], c - s))
+ s = c
+ return "".join(out)
+
+
+def from_ucd(d):
+ for name, pin in UCD_PINS.items():
+ got = hashlib.sha256(open(os.path.join(d, name), "rb").read()).hexdigest()
+ if got != pin:
+ sys.exit("ucdgen: %s sha256 %s, pinned %s" % (name, got, pin))
+ gc = {}
+ rows = open(os.path.join(d, "UnicodeData.txt")).read().splitlines()
+ i = 0
+ while i < len(rows):
+ f = rows[i].split(";")
+ c = int(f[0], 16)
+ e = c
+ if f[1].endswith(", First>"):
+ e = int(rows[i + 1].split(";")[0], 16)
+ i += 1
+ for x in range(c, e + 1):
+ gc[x] = f[2]
+ i += 1
+ letter = {g: k for k, _, gs in CLASSES if gs for g in gs}
+ cls = bytearray(b"a" * NCP)
+ for c, g in gc.items():
+ if g in letter:
+ cls[c] = ord(letter[g])
+ for row in open(os.path.join(d, "PropList.txt")):
+ f = [x.strip() for x in row.split("#")[0].split(";")]
+ if len(f) == 2 and f[1] == "White_Space":
+ a, _, b = f[0].partition("..")
+ for c in range(int(a, 16), int(b or a, 16) + 1):
+ if cls[c] != ord("a"):
+ sys.exit("ucdgen: White_Space U+%04X has class %c" % (c, cls[c]))
+ cls[c] = ord("k")
+ return cls
+
+
+def block(s):
+ return "\n".join([
+ BEGIN,
+ "note ucd: the class of every code point 0 .. 1114111 as runs, each a class letter then its",
+ "note length in decimal: a other, b Lu, c Ll, d Lt, e Lm, f Lo, g M, h N, i P, j S, k White_Space",
+ 'text ucd "%s"' % s,
+ END,
+ ])
+
+
+if __name__ == "__main__":
+ if len(sys.argv) != 2:
+ sys.exit("usage: ucdgen.py UCD_DIR")
+ print(block(runs(from_ucd(sys.argv[1]))))
diff --git a/om/flint/tok.om b/om/flint/tok.om
new file mode 100644
index 00000000..f1b0685d
--- /dev/null
+++ b/om/flint/tok.om
@@ -0,0 +1,2558 @@
+note flint-tok: tokenizer and control-token identity for the pinned Flint tokenizer (Core #834 item 1).
+note Usage: flint-tok TOKENIZER_JSON TOKENIZER_CONFIG GENERATION_CONFIG FIXTURE. It admits tokenizer.json
+note with its own strict JSON scanner (the file is 10.9 MB, past json.om's 983040-byte limit), keeps the
+note added tokens and the BPE vocabulary as id -> UTF-8 string, reads tokenizer_config.json and
+note generation_config.json with om/vendor/json.om, then checks every record of the fixture that
+note test/tokref.py wrote with the pinned reference:
+note size NV NA base vocabulary and added-token counts
+note role NAME ID... bos/eos from tokenizer_config.json, genbos/geneos/genpad from generation_config.json
+note ctl NAME ID SPECIAL HEX the control token's content and special flag in tokenizer.json, the same in
+note tokenizer_config.json added_tokens_decoder, and that no other added token has it
+note case NAME N IDS NB HEX the ids decode, through the vocabulary and the ByteLevel decoder, to exactly HEX
+note enc NAME N IDS NB HEX the UTF-8 text HEX encodes to exactly the ids: added tokens (leftmost longest),
+note then the pre_tokenizer Splits, ByteLevel and BPE (see ======== encode ========)
+note ucd NAME NB HEX HEX, the referee's code point classes as runs, equals this file's ucd table
+note Stdout: one "flint-tok KIND NAME ... PASS|FAIL" line per record, then a summary line. Exit 0 when every
+note record passes, 1 when any fails. Refusal: nothing on stdout, stderr "refused N reason", exit N.
+note Compose: { printf 'om2\n'; cat om/vendor/json.om om/flint/tok.om; } | omc
+note Encode takes any valid UTF-8 text; a text that is not valid UTF-8 is refused with 81 (see om/flint/README.md).
+
+const TMAX ulong 263168
+const NOINT ulong 18446744073709551615
+const HMASK ulong 524287
+const FNVO ulong 14695981039346656037
+const FNVP ulong 1099511628211
+const FIB ulong 11400714819323198485
+const NDIG ulong 3
+const PRETOK ulong 15801867561988946408
+const NOCP ulong 1114112
+global ga uchar 16384
+global gas ulong 8
+global gal ulong 8
+global gpth uchar 4352
+global gstb uchar 128
+global gtj uchar 16777216
+global gfx uchar 1048576
+global gs ulong 64
+global gkb uchar 65536
+global gpool uchar 2097152
+global gto ulong 263168
+global gtl ulong 263168
+global gsp uchar 263168
+global gid ulong 8192
+global gxb uchar 65536
+global gdb uchar 65536
+global gob uchar 1048576
+global geb uchar 512
+global gdg uchar 24
+global gvh ulong 524288
+global gmk ulong 524288
+global gmv ulong 524288
+global gbid ulong 256
+global gw ulong 65536
+global geo ulong 8192
+global gcp ulong 65536
+global gco ulong 65537
+global gcl uchar 65536
+global gur ulong 4096
+global guk uchar 4096
+
+note gs: 0 tokenizer.json cursor, 1 its length, 2 depth, 3 string end, 4 string start, 5 pool fill,
+note 6 vocab entries, 7 vocab max id + 1, 8 added tokens, 9 last fstat size, 10 root keys seen,
+note 11 model keys seen, 12 decoder keys seen, 13 added id, 14 added content offset, 15 added content
+note length, 16 added special + 1, 17 added keys seen, 18 stdout fill, 19 stderr fill, 20 fixture length,
+note 21 fixture cursor, 22 records passed, 23 records failed, 24 decoded string length, 26 first added id,
+note 28 decode fill, 29 expected bytes, 30 fixture word length, 31 fixture ids, 32 name
+note offset, 33 name length, 34 encoded ids, 35 merges, 36 added-token match length, 37 merged id,
+note 38 ucd runs, 39 UTF-8 length of the last decoded character, 40 pre record (piece ends, no BPE).
+note gvh: vocab string hash -> id + 1. gmk/gmv: merge pair key (A * TMAX + B) + 1 -> rank * TMAX + merged id.
+note gcp/gco/gcl: the enc text's code points, their byte offsets (gco[n] = its length) and classes.
+note gur/guk: start and class (0 other .. 10 White_Space, ucd letter - 97) of each ucd run.
+
+text tr2 "usage: flint-tok TOKENIZER_JSON TOKENIZER_CONFIG GENERATION_CONFIG FIXTURE"
+text tr3 "io"
+text tr4 "not-regular-file"
+text tr50 "tokenizer-json-size"
+text tr51 "tokenizer-json-syntax"
+text tr52 "tokenizer-json-schema"
+text tr53 "vocab-id"
+text tr54 "vocab-not-byte-level"
+text tr55 "added-token"
+text tr56 "tokenizer-config"
+text tr57 "generation-config"
+text tr58 "fixture-syntax"
+text tr59 "capacity"
+text tr81 "encode-not-utf8"
+text tref "refused "
+text tpre "flint-tok "
+text tpass " PASS"
+text tfail " FAIL"
+text tsum "flint-tok summary vocab "
+text tsadd " added "
+text tsrec " records "
+text tspass " pass "
+text tsfail " fail "
+text ttrue "true"
+text tfalse "false"
+text tnull "null"
+text tbpe "BPE"
+text tblev "ByteLevel"
+text kver "version"
+text ktrunc "truncation"
+text kpad "padding"
+text kadded "added_tokens"
+text knorm "normalizer"
+text kpret "pre_tokenizer"
+text kpost "post_processor"
+text kdec "decoder"
+text kmodel "model"
+text ktype "type"
+text kvocab "vocab"
+text kmerges "merges"
+text kdrop "dropout"
+text kunk "unk_token"
+text kcsp "continuing_subword_prefix"
+text keow "end_of_word_suffix"
+text kfuse "fuse_unk"
+text kbfb "byte_fallback"
+text kignm "ignore_merges"
+text kaps "add_prefix_space"
+text ktrim "trim_offsets"
+text kregex "use_regex"
+text kid "id"
+text kcont "content"
+text kspec "special"
+text ksword "single_word"
+text klstrip "lstrip"
+text krstrip "rstrip"
+text knormd "normalized"
+text kbos "bos_token"
+text keos "eos_token"
+text katd "added_tokens_decoder"
+text kgbos "bos_token_id"
+text kgeos "eos_token_id"
+text kgpad "pad_token_id"
+text fsize "size"
+text frole "role"
+text fctl "ctl"
+text fcase "case"
+text fenc "enc"
+text fucd "ucd"
+text fpre "pre"
+text rbos "bos"
+text reos "eos"
+text rgbos "genbos"
+text rgeos "geneos"
+text rgpad "genpad"
+
+note ======== output ========
+
+fn tk_eput c uchar to void
+p = get gs 19
+if lt p len geb
+put geb p c
+put gs 19 add p 1
+end
+end
+
+fn tk_etx t view uchar * to void
+for i ulong len t
+tk_eput get t i
+end
+end
+
+note tk_digs: decimal digits of v into gdg, least significant first; returns the digit count
+fn tk_digs v ulong to ulong
+n = ulong 0
+x = v
+while true bound 25
+put gdg n add 48 uchar rem x 10
+n = add n 1
+x = div x 10
+if eq x 0
+break
+end
+end
+ret n
+end
+
+fn tk_eflush to void
+o = ulong 0
+m = get gs 19
+while lt o m bound 1024
+w = write 2 geb o sub m o
+if le w 0
+exit 3
+end
+o = add o ulong w
+end
+put gs 19 0
+end
+
+fn tk_die c ulong t view uchar * to void
+put gs 19 0
+tk_etx tref
+n = tk_digs c
+for i ulong n
+tk_eput get gdg sub sub n i 1
+end
+tk_eput 32
+tk_etx t
+tk_eput 10
+tk_eflush
+exit int c
+end
+
+fn tk_ob c uchar to void
+p = get gs 18
+if ge p len gob
+tk_die 59 tr59
+end
+put gob p c
+put gs 18 add p 1
+end
+
+fn tk_otx t view uchar * to void
+for i ulong len t
+tk_ob get t i
+end
+end
+
+fn tk_ou v ulong to void
+n = tk_digs v
+for i ulong n
+tk_ob get gdg sub sub n i 1
+end
+end
+
+fn tk_oflush to void
+o = ulong 0
+m = get gs 18
+while lt o m bound 999999
+w = write 1 gob o sub m o
+if le w 0
+tk_die 3 tr3
+end
+o = add o ulong w
+end
+put gs 18 0
+end
+
+note ======== files ========
+
+fn tk_le64 o ulong to ulong
+v = ulong 0
+for i ulong 8
+v = or v shl ulong get gstb add o i mul 8 i
+end
+ret v
+end
+
+note tk_open: argument a with O_RDONLY | O_CLOEXEC | O_NOFOLLOW (arm64 557056), a regular file
+note (st_mode & S_IFMT 61440 == S_IFREG 32768); leaves st_size in gs 9
+fn tk_open a ulong to long
+n = get gal a
+if or eq n 0 gt n 4095
+tk_die 2 tr2
+end
+o = get gas a
+for i ulong n
+put gpth i get ga add o i
+end
+fd = fopen gpth 0 n 557056 0
+if lt fd 0
+if eq fd -40
+tk_die 4 tr4
+end
+tk_die 3 tr3
+end
+r = fstat int fd gstb 0 128
+if ne r 0
+tk_die 3 tr3
+end
+md = or ulong get gstb 16 shl ulong get gstb 17 8
+if ne and md 61440 32768
+tk_die 4 tr4
+end
+put gs 9 tk_le64 48
+ret fd
+end
+
+fn tk_close fd long to void
+r = fclose int fd
+if ne r 0
+tk_die 3 tr3
+end
+end
+
+note tk_rtj: tokenizer.json into gtj; at least 64 zero bytes stay after it, so every lookahead of the
+note scanner reads a 0 at the end, which no rule accepts
+fn tk_rtj to void
+fd = tk_open 1
+n = get gs 9
+if or eq n 0 gt n sub len gtj 64
+tk_die 50 tr50
+end
+o = ulong 0
+while lt o n bound 999999
+r = pread int fd gtj o sub n o long o
+if le r 0
+tk_die 3 tr3
+end
+o = add o ulong r
+end
+tk_close fd
+put gs 0 0
+put gs 1 n
+end
+
+fn tk_rfx to void
+fd = tk_open 4
+n = get gs 9
+if or eq n 0 gt n sub len gfx 64
+tk_die 58 tr58
+end
+o = ulong 0
+while lt o n bound 999999
+r = pread int fd gfx o sub n o long o
+if le r 0
+tk_die 3 tr3
+end
+o = add o ulong r
+end
+tk_close fd
+put gs 20 n
+put gs 21 0
+end
+
+note tk_rloc: argument a into the local buffer b (a json.om source); 0 when empty or bigger than b
+fn tk_rloc a ulong b edit uchar * to ulong
+fd = tk_open a
+n = get gs 9
+if or eq n 0 gt n len b
+tk_close fd
+ret 0
+end
+o = ulong 0
+while lt o n bound 999999
+r = pread int fd b o sub n o long o
+if le r 0
+tk_die 3 tr3
+end
+o = add o ulong r
+end
+tk_close fd
+ret n
+end
+
+note ======== tokenizer.json scanner (RFC 8259, strict) ========
+
+fn tk_dig c uchar to bool
+ret and ge c 48 le c 57
+end
+
+fn tj_at to uchar
+p = get gs 0
+if ge p get gs 1
+tk_die 51 tr51
+end
+ret get gtj p
+end
+
+fn tj_ws to void
+while lt get gs 0 get gs 1 bound 999999
+c = get gtj get gs 0
+if not or or eq c 32 eq c 10 or eq c 13 eq c 9
+ret
+end
+put gs 0 add get gs 0 1
+end
+end
+
+fn tj_eat c uchar to void
+tj_ws
+if ne tj_at c
+tk_die 51 tr51
+end
+put gs 0 add get gs 0 1
+end
+
+fn tj_hex4 p ulong to ulong
+v = ulong 0
+for i ulong 4
+h = js_hexv get gtj add p i
+if eq h 16
+tk_die 51 tr51
+end
+v = or shl v 4 h
+end
+ret v
+end
+
+note tj_esc: the escape whose backslash is at p is well formed (a surrogate only as one high-low pair);
+note returns the position after it
+fn tj_esc p ulong to ulong
+q = add p 1
+c = get gtj q
+if ne c 117
+if eq js_esv c jsnone
+tk_die 51 tr51
+end
+ret add q 1
+end
+h = tj_hex4 add q 1
+if and ge h 56320 le h 57343
+tk_die 51 tr51
+end
+if or lt h 55296 gt h 56319
+ret add q 5
+end
+r = add q 5
+if or ne get gtj r 92 ne get gtj add r 1 117
+tk_die 51 tr51
+end
+l = tj_hex4 add r 2
+if or lt l 56320 gt l 57343
+tk_die 51 tr51
+end
+ret add r 6
+end
+
+note tj_str: a string at the cursor (after whitespace); its content is gtj[gs 4 .. gs 3). Controls,
+note bad escapes and ill-formed UTF-8 (js_u8st) are refused.
+fn tj_str to void
+tj_ws
+if ne tj_at 34
+tk_die 51 tr51
+end
+p = add get gs 0 1
+put gs 4 p
+st = ulong 0
+n = get gs 1
+while lt p n bound 999999
+c = get gtj p
+if and eq st 0 eq c 34
+put gs 3 p
+put gs 0 add p 1
+ret
+end
+if and eq st 0 eq c 92
+p = tj_esc p
+continue
+end
+if and eq st 0 lt c 32
+tk_die 51 tr51
+end
+st = js_u8st st c
+if eq st 9
+tk_die 51 tr51
+end
+p = add p 1
+end
+tk_die 51 tr51
+end
+
+fn tj_ecp p ulong to ulong
+c = get gtj add p 1
+if ne c 117
+ret js_esv c
+end
+h = tj_hex4 add p 2
+if or lt h 55296 gt h 56319
+ret h
+end
+l = tj_hex4 add p 8
+ret add 65536 add shl sub h 55296 10 sub l 56320
+end
+
+fn tk_kput w ulong c ulong to ulong
+if ge w len gkb
+tk_die 59 tr59
+end
+put gkb w uchar and c 255
+ret add w 1
+end
+
+fn tk_putcp w ulong cp ulong to ulong
+k = js_cplen cp
+if eq k 1
+ret tk_kput w cp
+end
+if eq k 2
+x = tk_kput w or 192 shr cp 6
+ret tk_kput x or 128 and cp 63
+end
+if eq k 3
+x = tk_kput w or 224 shr cp 12
+y = tk_kput x or 128 and shr cp 6 63
+ret tk_kput y or 128 and cp 63
+end
+x = tk_kput w or 240 shr cp 18
+y = tk_kput x or 128 and shr cp 12 63
+z = tk_kput y or 128 and shr cp 6 63
+ret tk_kput z or 128 and cp 63
+end
+
+note tj_sdec: the last scanned string, unescaped, into gkb[0 .. gs 24)
+fn tj_sdec to void
+p = get gs 4
+e = get gs 3
+w = ulong 0
+while lt p e bound 999999
+c = get gtj p
+if ne c 92
+w = tk_kput w ulong c
+p = add p 1
+continue
+end
+cp = tj_ecp p
+w = tk_putcp w cp
+if ne get gtj add p 1 117
+p = add p 2
+else
+if ge cp 65536
+p = add p 12
+else
+p = add p 6
+end
+end
+end
+put gs 24 w
+end
+
+fn tj_digs p ulong to ulong
+if not tk_dig get gtj p
+tk_die 51 tr51
+end
+q = p
+while tk_dig get gtj q bound 999999
+q = add q 1
+end
+ret q
+end
+
+note tj_num: a number at the cursor; its value when it is a non-negative integer of at most 18 digits
+note without fraction or exponent, else NOINT
+fn tj_num to ulong
+tj_ws
+p = get gs 0
+ok = true
+if eq get gtj p 45
+ok = false
+p = add p 1
+end
+s = p
+if eq get gtj p 48
+p = add p 1
+if tk_dig get gtj p
+tk_die 51 tr51
+end
+else
+p = tj_digs p
+end
+v = ulong 0
+if gt sub p s 18
+ok = false
+else
+for i ulong sub p s
+v = add mul v 10 ulong sub get gtj add s i 48
+end
+end
+if eq get gtj p 46
+ok = false
+p = tj_digs add p 1
+end
+if or eq get gtj p 101 eq get gtj p 69
+ok = false
+p = add p 1
+if or eq get gtj p 43 eq get gtj p 45
+p = add p 1
+end
+p = tj_digs p
+end
+put gs 0 p
+if ok
+ret v
+end
+ret NOINT
+end
+
+fn tj_word t view uchar * to bool
+p = get gs 0
+for i ulong len t
+if ne get gtj add p i get t i
+ret false
+end
+end
+put gs 0 add p len t
+ret true
+end
+
+note tj_bool: 1 true, 0 false, 2 not a boolean (cursor unmoved)
+fn tj_bool to ulong
+tj_ws
+if tj_word ttrue
+ret 1
+end
+if tj_word tfalse
+ret 0
+end
+ret 2
+end
+
+fn tj_skip to void
+tj_ws
+c = tj_at
+if eq c 123
+tj_obj 0
+ret
+end
+if eq c 91
+tj_arr 0
+ret
+end
+if eq c 34
+tj_str
+ret
+end
+if or eq c 45 tk_dig c
+v = tj_num
+ret
+end
+if tj_word ttrue
+ret
+end
+if tj_word tfalse
+ret
+end
+if tj_word tnull
+ret
+end
+tk_die 51 tr51
+end
+
+fn tj_down to void
+d = add get gs 2 1
+if gt d 64
+tk_die 51 tr51
+end
+put gs 2 d
+end
+
+note tj_obj: an object; ctx 0 skips members, else tj_mem dispatches each decoded key
+fn tj_obj ctx ulong to void
+tj_eat 123
+tj_down
+tj_beg ctx
+tj_ws
+if eq tj_at 125
+put gs 0 add get gs 0 1
+else
+while true bound 999999
+tj_str
+if ne ctx 0
+tj_sdec
+end
+tj_eat 58
+tj_mem ctx
+tj_ws
+c = tj_at
+put gs 0 add get gs 0 1
+if eq c 125
+break
+end
+if ne c 44
+tk_die 51 tr51
+end
+end
+end
+put gs 2 sub get gs 2 1
+tj_end ctx
+end
+
+note tj_arr: an array; ctx 2 holds added-token objects, ctx 7 merge pairs, any other ctx skips its elements
+fn tj_arr ctx ulong to void
+tj_eat 91
+tj_down
+tj_ws
+if eq tj_at 93
+put gs 0 add get gs 0 1
+else
+while true bound 999999
+if eq ctx 2
+tj_ws
+if ne tj_at 123
+tk_die 55 tr55
+end
+tj_obj 3
+else
+if eq ctx 7
+tm_pair
+else
+tj_skip
+end
+end
+tj_ws
+c = tj_at
+put gs 0 add get gs 0 1
+if eq c 93
+break
+end
+if ne c 44
+tk_die 51 tr51
+end
+end
+end
+put gs 2 sub get gs 2 1
+end
+
+note ======== tokenizer.json schema ========
+
+fn tk_kis t view uchar * to bool
+l = get gs 24
+if ne l len t
+ret false
+end
+for i ulong l
+if ne get gkb i get t i
+ret false
+end
+end
+ret true
+end
+
+note tk_once: set bit b of gs cell c, refusing code e when the key was already seen
+fn tk_once c ulong b ulong e ulong t view uchar * to void
+m = get gs c
+if ne and m b 0
+tk_die e t
+end
+put gs c or m b
+end
+
+fn tj_beg ctx ulong to void
+if eq ctx 3
+put gs 17 0
+put gs 16 0
+end
+end
+
+fn tj_mem ctx ulong to void
+if eq ctx 0
+tj_skip
+ret
+end
+if eq ctx 5
+tv_ent
+ret
+end
+if eq ctx 1
+tr_mem
+ret
+end
+if eq ctx 3
+ta_mem
+ret
+end
+if eq ctx 4
+tm_mem
+ret
+end
+if eq ctx 6
+td_mem
+ret
+end
+tk_die 52 tr52
+end
+
+fn tr_skip b ulong to void
+tk_once 10 b 52 tr52
+tj_skip
+end
+
+note tk_null: member bit b of gs cell c holds null (a setting that would change encode is refused)
+fn tk_null c ulong b ulong to void
+tk_once c b 52 tr52
+tj_ws
+if not tj_word tnull
+tk_die 52 tr52
+end
+end
+
+note tr_pre: the pre_tokenizer value, byte for byte the pinned one (FNV-1a 64 of its JSON text is
+note PRETOK): the three Isolated Splits and the ByteLevel step that the encode section implements
+fn tr_pre to void
+tk_once 10 32 52 tr52
+tj_ws
+s = get gs 0
+tj_skip
+h = FNVO
+for i ulong sub get gs 0 s
+h = mul xor h ulong get gtj add s i FNVP
+end
+if ne h PRETOK
+tk_die 52 tr52
+end
+end
+
+fn tr_mem to void
+if tk_kis kver
+tr_skip 1
+ret
+end
+if tk_kis ktrunc
+tk_null 10 2
+ret
+end
+if tk_kis kpad
+tk_null 10 4
+ret
+end
+if tk_kis knorm
+tk_null 10 16
+ret
+end
+if tk_kis kpret
+tr_pre
+ret
+end
+if tk_kis kpost
+tr_skip 64
+ret
+end
+if tk_kis kadded
+tk_once 10 8 52 tr52
+tj_ws
+if ne tj_at 91
+tk_die 52 tr52
+end
+tj_arr 2
+ret
+end
+if tk_kis kdec
+tk_once 10 128 52 tr52
+tj_ws
+if ne tj_at 123
+tk_die 52 tr52
+end
+tj_obj 6
+ret
+end
+if tk_kis kmodel
+tk_once 10 256 52 tr52
+tj_ws
+if ne tj_at 123
+tk_die 52 tr52
+end
+tj_obj 4
+ret
+end
+tk_die 52 tr52
+end
+
+fn tk_sval t view uchar * to void
+tj_str
+tj_sdec
+if not tk_kis t
+tk_die 52 tr52
+end
+end
+
+fn tm_false b ulong to void
+tk_once 11 b 52 tr52
+if ne tj_bool 0
+tk_die 52 tr52
+end
+end
+
+fn tm_mem to void
+if tk_kis ktype
+tk_once 11 1 52 tr52
+tk_sval tbpe
+ret
+end
+if tk_kis kvocab
+tk_once 11 2 52 tr52
+tj_ws
+if ne tj_at 123
+tk_die 52 tr52
+end
+tj_obj 5
+ret
+end
+if tk_kis kmerges
+tk_once 11 4 52 tr52
+tj_ws
+if or eq and get gs 11 2 0 ne tj_at 91
+tk_die 52 tr52
+end
+tj_arr 7
+ret
+end
+if tk_kis kdrop
+tk_null 11 8
+ret
+end
+if tk_kis kunk
+tk_null 11 16
+ret
+end
+if tk_kis kcsp
+tk_null 11 32
+ret
+end
+if tk_kis keow
+tk_null 11 64
+ret
+end
+if tk_kis kfuse
+tm_false 128
+ret
+end
+if tk_kis kbfb
+tm_false 256
+ret
+end
+if tk_kis kignm
+tm_false 512
+ret
+end
+tk_die 52 tr52
+end
+
+fn td_mem to void
+if tk_kis ktype
+tk_once 12 1 52 tr52
+tk_sval tblev
+ret
+end
+if tk_kis kaps
+tk_once 12 2 52 tr52
+tj_skip
+ret
+end
+if tk_kis ktrim
+tk_once 12 4 52 tr52
+tj_skip
+ret
+end
+if tk_kis kregex
+tk_once 12 8 52 tr52
+tj_skip
+ret
+end
+tk_die 52 tr52
+end
+
+note tk_pput: gkb[0 .. gs 24) appended to the string pool; returns its offset
+fn tk_pput to ulong
+l = get gs 24
+o = get gs 5
+if gt add o l len gpool
+tk_die 59 tr59
+end
+for i ulong l
+put gpool add o i get gkb i
+end
+put gs 5 add o l
+ret o
+end
+
+note tk_bind: pool bytes [o, o + l) become token id's string; false for an id out of range or bound twice
+fn tk_bind id ulong o ulong l ulong to bool
+if ge id TMAX
+ret false
+end
+if ne get gtl id 0
+ret false
+end
+put gto id o
+put gtl id l
+ret true
+end
+
+note ta_flag: special is kept; single_word, lstrip, rstrip and normalized must be false (the encode
+note section matches added tokens as raw, unnormalized substrings)
+fn ta_flag b ulong to void
+tk_once 17 b 55 tr55
+f = tj_bool
+if eq f 2
+tk_die 55 tr55
+end
+if eq b 4
+put gs 16 add f 1
+else
+if ne f 0
+tk_die 55 tr55
+end
+end
+end
+
+fn ta_mem to void
+if tk_kis kid
+tk_once 17 1 55 tr55
+v = tj_num
+if ge v TMAX
+tk_die 55 tr55
+end
+put gs 13 v
+ret
+end
+if tk_kis kcont
+tk_once 17 2 55 tr55
+tj_str
+tj_sdec
+if eq get gs 24 0
+tk_die 55 tr55
+end
+put gs 14 tk_pput
+put gs 15 get gs 24
+ret
+end
+if tk_kis kspec
+ta_flag 4
+ret
+end
+if tk_kis ksword
+ta_flag 8
+ret
+end
+if tk_kis klstrip
+ta_flag 16
+ret
+end
+if tk_kis krstrip
+ta_flag 32
+ret
+end
+if tk_kis knormd
+ta_flag 64
+ret
+end
+tk_die 55 tr55
+end
+
+fn ta_end to void
+if ne get gs 17 127
+tk_die 55 tr55
+end
+id = get gs 13
+n = get gs 8
+if eq n 0
+put gs 26 id
+end
+if ne id add get gs 26 n
+tk_die 55 tr55
+end
+if not tk_bind id get gs 14 get gs 15
+tk_die 55 tr55
+end
+put gsp id uchar get gs 16
+put gs 8 add n 1
+end
+
+fn tj_end ctx ulong to void
+if eq ctx 3
+ta_end
+end
+end
+
+note ======== ByteLevel ========
+
+note bl_inv: the byte that GPT-2 bytes_to_unicode maps to code point cp, 256 when cp is outside its image.
+note Bytes 33..126, 161..172 and 174..255 map to themselves; the other 68 (0..32, 127..160, 173) map in
+note order to 256..323.
+fn bl_inv cp ulong to ulong
+if and ge cp 33 le cp 126
+ret cp
+end
+if and ge cp 161 le cp 172
+ret cp
+end
+if and ge cp 174 le cp 255
+ret cp
+end
+if or lt cp 256 gt cp 323
+ret 256
+end
+k = sub cp 256
+if lt k 33
+ret k
+end
+if lt k 67
+ret add k 94
+end
+ret 173
+end
+
+fn tk_u8n c uchar to ulong
+if lt c 128
+ret 1
+end
+if lt c 224
+ret 2
+end
+if lt c 240
+ret 3
+end
+ret 4
+end
+
+note tk_u8cp: the code point at pool offset p (pool strings are well-formed UTF-8, checked by tj_str)
+fn tk_u8cp p ulong to ulong
+c = get gpool p
+k = tk_u8n c
+v = ulong c
+if eq k 2
+v = and v 31
+end
+if eq k 3
+v = and v 15
+end
+if eq k 4
+v = and v 7
+end
+for i ulong sub k 1
+v = or shl v 6 and ulong get gpool add p add i 1 63
+end
+ret v
+end
+
+note tk_allmap: every character of pool bytes [o, o + l) is in the ByteLevel alphabet
+fn tk_allmap o ulong l ulong to bool
+p = o
+e = add o l
+while lt p e bound 999999
+if eq bl_inv tk_u8cp p 256
+ret false
+end
+p = add p tk_u8n get gpool p
+end
+ret true
+end
+
+note tv_ent: one vocab member (key in gkb): a fresh id below TMAX whose string is all ByteLevel characters
+fn tv_ent to void
+l = get gs 24
+if eq l 0
+tk_die 54 tr54
+end
+v = tj_num
+if ge v TMAX
+tk_die 53 tr53
+end
+o = tk_pput
+if not tk_allmap o l
+tk_die 54 tr54
+end
+if not tk_bind v o l
+tk_die 53 tr53
+end
+tk_vput v o l
+put gs 6 add get gs 6 1
+if ge v get gs 7
+put gs 7 add v 1
+end
+end
+
+note tk_doc: the whole document; vocab ids must be exactly 0 .. NV - 1 and added ids NV .. NV + NA - 1
+fn tk_doc to void
+tj_ws
+if ne tj_at 123
+tk_die 51 tr51
+end
+tj_obj 1
+tj_ws
+if ne get gs 0 get gs 1
+tk_die 51 tr51
+end
+if ne and get gs 10 424 424
+tk_die 52 tr52
+end
+if ne and get gs 11 7 7
+tk_die 52 tr52
+end
+if ne and get gs 12 1 1
+tk_die 52 tr52
+end
+if or eq get gs 6 0 ne get gs 6 get gs 7
+tk_die 53 tr53
+end
+if or eq get gs 8 0 ne get gs 26 get gs 6
+tk_die 55 tr55
+end
+end
+
+note ======== vocab and merge tables ========
+
+note tk_hp: FNV-1a 64 of pool bytes [o, o + l), masked to a gvh slot
+fn tk_hp o ulong l ulong to ulong
+h = FNVO
+for i ulong l
+h = mul xor h ulong get gpool add o i FNVP
+end
+ret and h HMASK
+end
+
+note tk_hk: the same hash of gkb[0 .. n)
+fn tk_hk n ulong to ulong
+h = FNVO
+for i ulong n
+h = mul xor h ulong get gkb i FNVP
+end
+ret and h HMASK
+end
+
+note tk_keq: token id's string is gkb[0 .. n)
+fn tk_keq id ulong n ulong to bool
+if ne get gtl id n
+ret false
+end
+o = get gto id
+for i ulong n
+if ne get gpool add o i get gkb i
+ret false
+end
+end
+ret true
+end
+
+note tk_ppeq: token id's string is pool bytes [o, o + l)
+fn tk_ppeq id ulong o ulong l ulong to bool
+if ne get gtl id l
+ret false
+end
+q = get gto id
+for i ulong l
+if ne get gpool add q i get gpool add o i
+ret false
+end
+end
+ret true
+end
+
+note tk_vput: vocab id (string at pool [o, o + l)) into gvh; a second id with the same string is refused
+fn tk_vput id ulong o ulong l ulong to void
+h = tk_hp o l
+for k ulong 524288
+v = get gvh h
+if eq v 0
+put gvh h add id 1
+ret
+end
+if tk_ppeq sub v 1 o l
+tk_die 53 tr53
+end
+h = and add h 1 HMASK
+end
+tk_die 59 tr59
+end
+
+note tk_vget: the vocab id whose string is gkb[0 .. n), NOINT when there is none
+fn tk_vget n ulong to ulong
+h = tk_hk n
+for k ulong 524288
+v = get gvh h
+if eq v 0
+ret NOINT
+end
+if tk_keq sub v 1 n
+ret sub v 1
+end
+h = and add h 1 HMASK
+end
+ret NOINT
+end
+
+note tk_hm: the gmk slot of merge key x (Fibonacci hashing, top 19 bits)
+fn tk_hm x ulong to ulong
+ret and shr mul x FIB 45 HMASK
+end
+
+note tk_mput: merge (a, b) -> c with the next rank; a repeated pair is refused
+fn tk_mput a ulong b ulong c ulong to void
+x = add mul a TMAX b
+h = tk_hm x
+r = get gs 35
+for k ulong 524288
+v = get gmk h
+if eq v 0
+put gmk h add x 1
+put gmv h add mul r TMAX c
+put gs 35 add r 1
+ret
+end
+if eq v add x 1
+tk_die 52 tr52
+end
+h = and add h 1 HMASK
+end
+tk_die 59 tr59
+end
+
+note tk_mget: rank * TMAX + merged id of pair (a, b), NOINT when the pair does not merge
+fn tk_mget a ulong b ulong to ulong
+x = add mul a TMAX b
+h = tk_hm x
+for k ulong 524288
+v = get gmk h
+if eq v 0
+ret NOINT
+end
+if eq v add x 1
+ret get gmv h
+end
+h = and add h 1 HMASK
+end
+ret NOINT
+end
+
+note tm_tok: the next string of a merge pair as its vocab id (a string outside the vocab is refused)
+fn tm_tok to ulong
+tj_str
+tj_sdec
+v = tk_vget get gs 24
+if eq v NOINT
+tk_die 52 tr52
+end
+ret v
+end
+
+note tm_pair: one merge [A, B] (the vocab is complete by then); its rank is its index in merges and
+note its result the vocab id of A + B, which must exist (tokenizers refuses such a file too)
+fn tm_pair to void
+tj_eat 91
+a = tm_tok
+tj_eat 44
+b = tm_tok
+tj_eat 93
+la = get gtl a
+lb = get gtl b
+if gt add la lb len gkb
+tk_die 59 tr59
+end
+for i ulong la
+put gkb i get gpool add get gto a i
+end
+for i ulong lb
+put gkb add la i get gpool add get gto b i
+end
+c = tk_vget add la lb
+if eq c NOINT
+tk_die 52 tr52
+end
+tk_mput a b c
+end
+
+note bl_fwd: GPT-2 bytes_to_unicode, the code point byte b stands for (bl_inv is its inverse)
+fn bl_fwd b ulong to ulong
+if and ge b 33 le b 126
+ret b
+end
+if and ge b 161 le b 172
+ret b
+end
+if ge b 174
+ret b
+end
+if lt b 33
+ret add b 256
+end
+if lt b 161
+ret add sub b 127 289
+end
+ret 323
+end
+
+note tk_bytes: gbid[b] = the vocab id of byte b's ByteLevel character; a missing one is refused
+fn tk_bytes to void
+for b ulong 256
+n = tk_putcp 0 bl_fwd b
+v = tk_vget n
+if eq v NOINT
+tk_die 54 tr54
+end
+put gbid b v
+end
+end
+
+note ======== encode ========
+note tokenizers 0.23.2 encode with add_special_tokens false, for UTF-8 text gxb[0 .. nb):
+note 0. te_dec decodes the text into code points gcp with byte offsets gco and classes gcl; a text that
+note is not valid UTF-8 (overlong, surrogate, past U+10FFFF, cut short) is refused with 81. Positions
+note below are character indices, as Oniguruma steps by character;
+note 1. added tokens: all 144 are normalized=false without lstrip/rstrip/single_word, so they are cut
+note out as raw substrings, leftmost first and longest at that position (aho-corasick
+note LeftmostLongest); every other span goes on;
+note 2. Split \p{N}{1,3} Isolated: N runs in pieces of at most NDIG characters;
+note 3. Split [一-龥-ゟ゠-ヿ]+ Isolated (U+4E00..U+9FA5, U+3040..U+309F, U+30A0..U+30FF, te_cjk) on
+note each non-N piece;
+note 4. Split of the third pattern, Isolated, on each piece separately (so (?!\S) sees the piece
+note end), alternatives tried in order at each position with Oniguruma backtracking:
+note a1 [^\r\n\p{L}\p{N}]?[\p{Lu}\p{Lt}\p{Lm}\p{Lo}\p{M}]*[\p{Ll}\p{Lm}\p{Lo}\p{M}]+C?
+note a2 [^\r\n\p{L}\p{N}]?[\p{Lu}\p{Lt}\p{Lm}\p{Lo}\p{M}]+[\p{Ll}\p{Lm}\p{Lo}\p{M}]*C?
+note a3 ' ?[\p{P}\p{S}]+[\r\n]*' a4 \s*[\r\n]+ a5 \s+(?!\S) a6 \s+, C = (?i:'s|'t|'re|'ve|'m|'ll|'d);
+note an N piece matches none of them and stays whole;
+note 5. ByteLevel (use_regex false): each byte becomes its character, gbid gives its id;
+note 6. BPE, ignore_merges false: merge the adjacent pair of lowest rank, leftmost on ties, until none
+note merges (the order tokenizers' heap of (rank, position) produces).
+note Classes come from the generated ucd table below (Unicode 16.0.0, the referee's own Oniguruma
+note tables, checked code point by code point by the fixture's ucd record). \s is White_Space; under
+note (?i) the only non-ASCII character folding to a contraction letter is U+017F (to s).
+
+note ======== unicode classes (generated by test/ucdgen.py from UCD 16.0.0; do not edit) ========
+note ucd: the class of every code point 0 .. 1114111 as runs, each a class letter then its
+note length in decimal: a other, b Lu, c Ll, d Lt, e Lm, f Lo, g M, h N, i P, j S, k White_Space
+text ucd "a9k5a18k1i3j1i6j1i4h10i2j3i2b26i3j1i1j1c26i1j1i1j1a6k1a26k1i1j5i1j2f1i1j1a1j4h2j1c1i2j1h1f1i1h3i1b23j1b7c24j1c8b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c2b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c2b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b2c1b1c1b1c3b2c1b1c1b2c1b3c2b4c1b2c1b3c3b2c1b2c1b1c1b1c1b2c1b1c2b1c1b2c1b3c1b1c1b2c2f1b1c3f4b1d1c1b1d1c1b1d1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c2b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c2b1d1c1b1c1b3c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c7b2c1b2c2b1c1b4c1b1c1b1c1b1c1b1c69f1c27e18j4e12j14e5j7e1j1e1j17g112b1c1b1c1e1j1b1c1a2e1c3i1b1a4j2b1i1b3a1b1a1b2c1b17a1b9c35b1c2b3c3b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c5b1c1j1b1c1b2c2b51c48b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1j1g7b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b2c1b1c1b1c1b1c1b1c1b1c1b1c2b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1a1b38a2e1i6c41i2a2j3a1g45i1g1i1g2i1g2i1g1a8f27a4f4i2a17j3i2j1i2j2g11i1a1i3f32e1f10g21h10i4f2g1f99i1f1g7a1j1g6e2g2j1g4f2h10f3j2f1i14a2f1g1f30g27a2f89g11f1a14h10f33g9e2j1i3e1a2g1j2f22g4e1g9e1g3e1g5a2i15a1f25g3a2i1a1f11a5f24j1f6a8g9f41e1g24a1g33f54g3f1g18f1g7f10g2i2h10i1e1f15g3a1f8a2f2a2f22a1f7a1f1a3f4a2g1f1g7a2g2a2g3f1a8g1a4f2a1f3g2a2h10f2j2h6j2f1i1g1a2g3a1f6a4f2a2f22a1f7a1f2a1f2a1f2a2g1a1g5a4g2a2g3a3g1a7f4a1f1a7h10g2f3g1i1a10g3a1f9a1f3a1f22a1f7a1f2a1f5a2g1f1g8a1g3a1g3a2f1a15f2g2a2h10i1j1a7f1g6a1g3a1f8a2f2a2f22a1f7a1f2a1f5a2g1f1g7a2g2a2g3a7g3a4f2a1f3g2a2h10j1f1h6a10g1f1a1f6a3f3a1f4a3f2a1f1a1f2a3f2a3f3a3f12a4g5a3g3a1g4a2f1a6g1a14h13j8a5g5f8a1f3a1f23a1f16a2g1f1g7a1g3a1g4a7g2a1f3a2f1a2f2g2a2h10a7i1h7j1f1g3i1f8a1f3a1f23a1f10a1f5a2g1f1g7a1g3a1g4a7g2a6f2a1f2g2a2h10a1f2g1a12g4f9a1f3a1f41g2f1g7a1g3a1g4f1j1a4f3g1h7f3g2a2h19j1f6a1g3a1f18a3f24a1f9a1f1a2f7a3g1a4g6a1g1a1g8a6h10a2g2i1a12f48g1f2g7a4j1f6e1g8i1h10i2a37f2a1f1a1f5a1f24a1f1a1f10g1f2g9f1a2f5a1e1a1g7a1h10a2f4a32f1j3i15j1i1j3g2j6h20j1g1j1g1j1g1i4g2f8a1f36a4g20i1g2f5g11a1g36a1j8g1j6a1j2i5j4i2a37f43g20f1h10i6f6g4f4g3f1g3f2g7f3g4f13g12f1g1h10g4j2b38a1b1a5b1a2c43i1e1c3f329a1f4a2f7a1f1a1f4a2f41a1f4a2f33a1f4a2f7a1f1a1f4a2f15a1f57a1f4a2f67a2g3i9h20a3f16j10a6b86a2c6a2i1f620j1i1f17k1f26i2a3f75i3h3f8a7f18g4a9f19g3i2a9f18g2a12f13a1f3a1g2a12f52g32i3e1i3j1f1g1a2h10a6h10a6i11g3a1g1h10a6f35e1f53a7f5g2f34g1f1a5f70a10f31a1g12a4g12a4j1a3i2h10f30a2f5a11f44a4f26a6h11a3j34f23g5a2i2f53g10a1g29a2g1h10a6h10a6i7e1i6a2g31a49g5f47g17f8a1i2h10i7j10g9j9i3g3f30g13f2h10f44g14a8i4f36g20a3i5h10a3f3h10f30e6i2c9b1c1a5b43a2b3i8a8g3i1g21f4g1f6g1f2g3f1a5c44e63c13e1c34e37g64b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c9b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c9b8c6a2b6a2c8b8c8b8c6a2b6a2c8a1b1a1b1a1b1a1b1c8b8c14a2c8d8c8d8c8d8c5a1c2b4d1j1c1j3c3a1c2b4d1j3c4a2c2b4a1j3c8b5j3a2c3a1c2b4d1j2a1k11a5i24k2a5k1i20j1i13j1i12k1a16h1e1a2h6j3i2e1h10j3i2a1e13a3j33a15g33a15j2b1j4b1j2c1b3c2b3c1j1b1j3b5j6b1j1b1j1b1j1b4j1c1b4c1f4c1j2c2b2j5b1c4j4c1j1h51b1c1h5j2a4j376i4j29i2j255a22j11a21h60j78h22j616i14h30j49i2j31i10j403i22j63i4j32i2j374a2j32a1j105b48c48b1c1b3c2b1c1b1c1b1c1b4c1b1c2b1c6e2b3c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c2j6b1c1b1c1g3b1c1a5i4h1i2c38a1c1a5c1a2f56a7e1i1a14g1f23a9f7a1f7a1f7a1f7a1f7a1f7a1f7a1f7a1g32i47e1i32j2i12a34j26a1j89a12j214a26j16k1i3j1e1f1h1i10j2i12j1h9g6i1e5j2h3e1f1i1j2a1f86a2g2j2e2f1i1f90i1e3f1a5f43a1f94a1j2h4j10f32j38a9j1f16j31a1h10j30h8j1h15j32h10j39h15j320f6592j64f21013e1f1143a3j55a9f40e6i2f268e1i3f16h10f2a20b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1f1g4i1g10i1e1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1e2g2f70h10g2i6a8j23e9j2b1c1b1c1b1c1b1c1b1c1b1c1b1c3b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1e1c8b1c1b1c1b2c1b1c1b1c1b1c1b1c1e1j2b1c1b1c1f1b1c1b1c3b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b5c1b5c1b1c1b1c1b1c1b1c1b1c1b1c1b1c1b4c1b1c1b2c1a2b1c1a1c1a1c1b1c1b1c1b1c1b1a21e3b1c1f1e2c1f7g1f3g1f4g1f23g5j4g1a3h6j4a6f52i4a8g2f50g18a8i2h10a6g18f6i3f1i1f2g1h10f28g8i2f23g13a11i1f29a3g4f47g14i13a1e1h10a4i2f5g1e1f9h10f5a1f41g14a9f3g1f8g2a2h10a2i4f16e1f6j3f1g3f50g1f1g3f2g2f5g2f1g1f1a24f2e1i2f11g5i2f1e2g2a10f6a2f6a2f6a9f7a1f7a1c43j1e4c9e1j2a4c80f35g8i1g2a2h10a6f11172a12f23a4f49a8452f366a2f106a38c7a12c5a5f1g1f10j1f13a1f5a1f1a1f2a1f2a1f108j17a16f363i2j16f64a2f54a7j1a32f12j4g16i10a6g16i35a1i14j1i1j3a1i1j1i2a4f5a1f135a4i3j1i6j1i4h10i2j3i2b26i3j1i1j1c26i1j1i1j1i7f10e1f45e2f31a3f6a2f6a2f6a2f3a3j7a1j7a13j2a2f12a1f26a1f19a1f2a1f15a2f14a34f123a5i3a4h45a3j9h57j17h2j3a1j13a3j1a47j45g1a130f29a3f49a15g1h27a4f32h4a9f20h1f8h1a5f38g5a5f30a1i1f36a4f8i1h5a42b40c40f78a2h10a6b36a4c36a4f40a8f52a11i1b11a1b15a1b7a1b2a1c11a1c15a1c7a1c2a3f52a12f311a9f22a10f8a24e6a1e42a1e9a69f6a2f1a1f44a1f2a3f1a2f23a1i1h8f23j2h7f31a8h9a48f19a1f2a5h5f22h6a3i1f26a5i1a64f56a4h2f2h16a2h46f1g3a1g2a5g4f4a1f3a1f29a2g3a4g1h9a7i9a7f29h2i1f29h3a32f8j1f28g2a4h5i7a9f54a3i7f22a2h8f19a5h8f18a7i4a12h7a80f73a55b51a13c51a7h6f36g4a8h10a6h10f4e1f1b22a3g5i1e1c22a8j2a208h31a1f42a1g2i1a2f2a16f3a55g4f29h10f1a8f22g11h4i5a22f18g4i4a38f21h7a20f23a9g3f53g15i7a4h30g1f2g2f1a9g4f45g11i2a1i4g1a13f25a7h10a6g3f36g14a1h10i4f1g2f1a8f35g1i2f1a9g3f48g14f4i4g4i1g2h10f1i1f1i3a1h20a11f18a1f25g12i6g1f2g1a62f7a1f1a1f4a1f15a1f10i1a6f47g12a5h10a6g4a1f8a2f2a2f22a1f7a1f2a1f5a1g2f1g7a2g2a2g3a2f1a6g1a5f5g2a2g7a3g5a11f10a1f1a2f1a1f38a1f1g9a1g1a2g1a1g4a1g5f1g1f1i2a1i2a8g2a29f53g18f4i5h10i2a1i1g1f3a30f48g20f2i1f1a8h10a166f47g7a2g9i23f4g2a34f48g17i3f1a11h10a6i13a19f43g13f1i1a6h10a6h20a28f27a2g15a4h12i3j1f7a185f44g15i1a100b32c32h19a12f8a2f1a2f8a1f2a1f24g6a1g2a2g4f1g1f1g2i3a9h10a70f8a2f39g7a2g7f1i1f1g1a27f1g10f40g7f1g4i8g1a8f1g11f46g16i3f1i5a13f73a7i10a182f33i1a14h10a6f9a1f37g8a1g8f1i5a10h29a3i2f30a2g22a1g14a73f7a1f2a1f38g6a3g1a1g2a1g7f1g1a8h10a6f6a1f2a1f32g5a1g2a1g5f1a7h10a310f19g4i2a7g2f1g1f13a1f34g7a3g5i13h10g1a85f1a15h21j29a13i1f922a102h111a1i5a11f196a2636f97i2a13f1072a16g1f6g15a10f3995a5f583a6841f30g18h10a1734f569a7f31a1h10a4i2f79a1h10a6f30a2g5i1a10f48g7i5j4e4i1j1a10h10a1h7a1f21a5f19a432e3f40e2i3h10a198b32c32h23i4a101f75a4g1f1g55a7g4e13a64e2i1e1g1a11g2a14f6136a8f1238a41f10a8935e4a1e7a1e2a1f291a15f1a29f3a2f1a14f4a8f396a2308f107a5f13a3f9a7f10a2j1g2i1a3936j240h10a6j436a76g46a2g23a9j116a60j246a10j39a2j60g5j3g6a8g8j2g7j30g4j61a21j66g3j1a122h20a12h20a12j87a9h25a135b26c26b26c7a1c18b26c26b1a1b2a2b1a2b2a2b4a1b8c4a1c1a1c7a1c11b26c26b2a1b4a2b8a1b7a1c26b2a1b4a1b5a1b1a3b7a1c26b26c26b26c26b26c26b26c26b26c26b26c28a2b25j1c25j1c6b25j1c25j1c6b25j1c25j1c6b25j1c25j1c6b25j1c25j1c6b1c1a2h50j512g55j4g50j8g1j14g1j2i5a15g5a1g15a1104c10f1c20a6c6a213g7a1g17a2g7a1g2a1g5a5e62a33g1a112f45a3g7e7a2h10a4f1j1a320f30g1a17f44g4h10a5j1a464f27e1g4h10a214f30g2f1h10a4i1a480f7a1f4a1f2a1f15a1f197a2h9g7a41b34c34g7e1a4h10a4i2a785h59j1h3j1h4a76h45j1h15a194f4a1f27a1f2a1f1a2f1a1f10a1f4a1f1a1f1a6f1a4f1a1f1a1f1a1f3a1f2a1f1a2f1a1f1a1f1a1f1a1f1a1f2a1f1a2f4a1f7a1f4a1f4a1f1a1f10a1f17a5f3a1f5a1f17a52j2a270j44a4j100a12j15a2j15a1j15a1j37a10h13j161a56j29a13j44a4j9a7j2a14j6a154j984a4j17a3j13a3j119a4j95a6j12a4j1a15j12a4j56a8j10a6j40a8j30a2j12a4j2a62j340a12j14a2j13a3j10a5j56a7j15a2j11a6j9a7j147a1j92h10a1030f42720a32f4154a6f222a2f5762a14f7473a15f622a2466f542a1506f4939a5f4192a712016g240a196112"
+note ======== end of generated unicode classes ========
+
+note tk_ucd: the ucd runs into gur (start) and guk (class)
+fn tk_ucd to void
+n = ulong 0
+s = ulong 0
+i = ulong 0
+while lt i len ucd bound 99999
+if ge n len gur
+tk_die 59 tr59
+end
+put gur n s
+put guk n uchar sub ulong get ucd i 97
+i = add i 1
+l = ulong 0
+while lt i len ucd bound 99
+d = ulong get ucd i
+if gt d 57
+break
+end
+l = add mul l 10 sub d 48
+i = add i 1
+end
+s = add s l
+n = add n 1
+end
+put gs 38 n
+end
+
+note te_cls: the class of code point c, by binary search over the runs
+fn te_cls c ulong to ulong
+lo = ulong 0
+hi = get gs 38
+while gt sub hi lo 1 bound 64
+m = div add lo hi 2
+if le get gur m c
+lo = m
+else
+hi = m
+end
+end
+ret ulong get guk lo
+end
+
+note te_ulen: the UTF-8 length a lead byte b announces, 0 for a byte that cannot lead
+fn te_ulen b ulong to ulong
+if and ge b 194 le b 223
+ret 2
+end
+if and ge b 224 le b 239
+ret 3
+end
+if and ge b 240 le b 244
+ret 4
+end
+ret 0
+end
+
+note te_cp: the code point at byte p of gxb[0 .. nb), its length in gs 39; refused (81) unless it is
+note well-formed UTF-8 (Unicode Table 3-7: no overlong form, surrogate or value past U+10FFFF)
+fn te_cp p ulong nb ulong to ulong
+b = ulong get gxb p
+put gs 39 1
+if lt b 128
+ret b
+end
+l = te_ulen b
+if or eq l 0 gt add p l nb
+tk_die 81 tr81
+end
+lo = ulong 128
+hi = ulong 191
+if eq b 224
+lo = 160
+end
+if eq b 237
+hi = 159
+end
+if eq b 240
+lo = 144
+end
+if eq b 244
+hi = 143
+end
+c = and b 31
+if eq l 3
+c = and b 15
+end
+if eq l 4
+c = and b 7
+end
+for i ulong sub l 1
+x = ulong get gxb add add p 1 i
+if or lt x lo gt x hi
+tk_die 81 tr81
+end
+lo = 128
+hi = 191
+c = add mul c 64 sub x 128
+end
+put gs 39 l
+ret c
+end
+
+note te_dec: decode gxb[0 .. nb) into gcp, gco and gcl; the character count
+fn te_dec nb ulong to ulong
+n = ulong 0
+p = ulong 0
+while lt p nb bound 99999
+c = te_cp p nb
+put gco n p
+put gcp n c
+put gcl n uchar te_cls c
+n = add n 1
+p = add p get gs 39
+end
+put gco n nb
+ret n
+end
+
+note te_at: code point p of the piece ending at e, NOCP past its end; te_k: its class, 11 past the end
+fn te_at p ulong e ulong to ulong
+if ge p e
+ret NOCP
+end
+ret get gcp p
+end
+
+fn te_k p ulong e ulong to ulong
+if ge p e
+ret 11
+end
+ret ulong get gcl p
+end
+
+note te_up: [\p{Lu}\p{Lt}\p{Lm}\p{Lo}\p{M}]; te_lo: [\p{Ll}\p{Lm}\p{Lo}\p{M}]; te_lt: \p{L}; te_dg: \p{N};
+note te_ws: \s; te_ps: [\p{P}\p{S}] (classes of te_cls)
+fn te_up k ulong to bool
+ret or eq k 1 and ge k 3 le k 6
+end
+
+fn te_lo k ulong to bool
+ret or eq k 2 and ge k 4 le k 6
+end
+
+fn te_lt k ulong to bool
+ret and ge k 1 le k 5
+end
+
+fn te_dg k ulong to bool
+ret eq k 7
+end
+
+fn te_ws k ulong to bool
+ret eq k 10
+end
+
+fn te_nl c ulong to bool
+ret or eq c 10 eq c 13
+end
+
+fn te_ps k ulong to bool
+ret or eq k 8 eq k 9
+end
+
+note te_x: [^\r\n\p{L}\p{N}] at p (false past the end)
+fn te_x p ulong e ulong to bool
+k = te_k p e
+if eq k 11
+ret false
+end
+ret not or or te_lt k te_dg k te_nl te_at p e
+end
+
+note te_cjk: code point c is in [一-龥-ゟ゠-ヿ]
+fn te_cjk c ulong to bool
+a = and ge c 19968 le c 40869
+b = and ge c 12352 le c 12447
+ret or a or b and ge c 12448 le c 12543
+end
+
+note te_low: the case fold of c for the contraction letters (A-Z, and U+017F long s to s)
+fn te_low c ulong to ulong
+if and ge c 65 le c 90
+ret add c 32
+end
+if eq c 383
+ret 115
+end
+ret c
+end
+note te_ctr: the end of the optional contraction C at l
+fn te_ctr l ulong e ulong to ulong
+if ne te_at l e 39
+ret l
+end
+a = te_low te_at add l 1 e
+if or or eq a 115 eq a 116 or eq a 109 eq a 100
+ret add l 2
+end
+b = te_low te_at add l 2 e
+if or or and eq a 114 eq b 101 and eq a 118 eq b 101 and eq a 108 eq b 108
+ret add l 3
+end
+ret l
+end
+
+note te_a1: the end of a1 at p with the optional class taken (x 1) or not (x 0), NOINT when it fails.
+note The upper run [s, u) is greedy; W+ needs a W character at q, so q backtracks from u towards s
+note (Lm, Lo and M are in both classes); W+ then runs to its end and C? is optional.
+fn te_a1 p ulong e ulong x ulong to ulong
+s = add p x
+u = s
+while te_up te_k u e bound 99999
+u = add u 1
+end
+for j ulong add sub u s 1
+q = sub u j
+if te_lo te_k q e
+l = q
+while te_lo te_k l e bound 99999
+l = add l 1
+end
+ret te_ctr l e
+end
+end
+ret NOINT
+end
+
+note te_a2: the end of a2 at p with the optional class taken (x 1) or not (x 0), NOINT when it fails
+fn te_a2 p ulong e ulong x ulong to ulong
+s = add p x
+u = s
+while te_up te_k u e bound 99999
+u = add u 1
+end
+if eq u s
+ret NOINT
+end
+l = u
+while te_lo te_k l e bound 99999
+l = add l 1
+end
+ret te_ctr l e
+end
+
+note te_a12: the end of a1, else of a2, at p (each with its optional first class taken first); p when
+note neither matches. Not taking it matters only for a mark, which is in that class and in both runs.
+fn te_a12 p ulong e ulong to ulong
+x = te_x p e
+r = NOINT
+if x
+r = te_a1 p e 1
+end
+if eq r NOINT
+r = te_a1 p e 0
+end
+if and eq r NOINT x
+r = te_a2 p e 1
+end
+if eq r NOINT
+r = te_a2 p e 0
+end
+if eq r NOINT
+ret p
+end
+ret r
+end
+
+note te_a3: the end of a3 at p, p when it does not match
+fn te_a3 p ulong e ulong to ulong
+q = p
+if eq te_at p e 32
+q = add p 1
+end
+r = q
+while te_ps te_k r e bound 99999
+r = add r 1
+end
+if eq r q
+ret p
+end
+while te_nl te_at r e bound 99999
+r = add r 1
+end
+ret r
+end
+
+note te_a5: \s+(?!\S) over the whitespace run [p, w): all of it at the piece end, else all but its
+note last character when that leaves one, else no match (p)
+fn te_a5 p ulong e ulong w ulong to ulong
+if eq w e
+ret w
+end
+if ge sub w p 2
+ret sub w 1
+end
+ret p
+end
+
+note te_aws: a4, a5 or a6 at p. \s* backtracks to the last \r or \n of the run, so a4 ends just after it.
+fn te_aws p ulong e ulong to ulong
+w = p
+n = p
+while te_ws te_k w e bound 99999
+if te_nl te_at w e
+n = add w 1
+end
+w = add w 1
+end
+if eq w p
+ret p
+end
+if gt n p
+ret n
+end
+r = te_a5 p e w
+if gt r p
+ret r
+end
+ret w
+end
+
+fn te_m3 p ulong e ulong to ulong
+r = te_a12 p e
+if gt r p
+ret r
+end
+r = te_a3 p e
+if gt r p
+ret r
+end
+ret te_aws p e
+end
+
+fn te_emit id ulong to void
+n = get gs 34
+if ge n len geo
+tk_die 59 tr59
+end
+put geo n id
+put gs 34 add n 1
+end
+
+note te_best: the leftmost adjacent pair of gw[0 .. m) with the lowest merge rank; its index, NOINT
+note when no pair merges; the merged id goes to gs 37
+fn te_best m ulong to ulong
+bi = NOINT
+br = ulong 0
+for i ulong sub m 1
+v = tk_mget get gw i get gw add i 1
+if ne v NOINT
+r = div v TMAX
+if or eq bi NOINT lt r br
+bi = i
+br = r
+put gs 37 rem v TMAX
+end
+end
+end
+ret bi
+end
+
+note te_mrg: one BPE step over gw[0 .. m); the new symbol count, m when no pair merges
+fn te_mrg m ulong to ulong
+j = te_best m
+if eq j NOINT
+ret m
+end
+put gw j get gs 37
+for i ulong sub sub m j 2
+put gw add add j 1 i get gw add add j 2 i
+end
+ret sub m 1
+end
+
+note te_bpe: the ids of the piece of characters [a, b), bytes gxb[gco a .. gco b), appended to geo;
+note for a pre record (gs 40 = 1) only the piece's byte end is appended
+fn te_bpe a ulong b ulong to void
+o = get gco a
+n = sub get gco b o
+if eq get gs 40 1
+te_emit get gco b
+n = 0
+end
+for i ulong n
+put gw i get gbid ulong get gxb add o i
+end
+m = n
+while gt m 1 bound 99999
+k = te_mrg m
+if eq k m
+break
+end
+m = k
+end
+for i ulong m
+te_emit get gw i
+end
+end
+
+note te_pre: the third Split over piece [s, e); unmatched spans between matches are pieces too
+fn te_pre s ulong e ulong to void
+p = s
+g = s
+while lt p e bound 99999
+m = te_m3 p e
+if gt m p
+if gt p g
+te_bpe g p
+end
+te_bpe p m
+p = m
+g = m
+else
+p = add p 1
+end
+end
+if gt e g
+te_bpe g e
+end
+end
+
+note te_sc: the CJK Split over the non-N piece [s, e); every piece goes on to te_pre
+fn te_sc s ulong e ulong to void
+p = s
+g = s
+while lt p e bound 99999
+if te_cjk te_at p e
+if gt p g
+te_pre g p
+end
+k = p
+while te_cjk te_at k e bound 99999
+k = add k 1
+end
+te_pre p k
+p = k
+g = k
+else
+p = add p 1
+end
+end
+if gt e g
+te_pre g e
+end
+end
+
+note te_seg: the N Split over span [s, e) between added tokens; N pieces skip te_sc and te_pre
+fn te_seg s ulong e ulong to void
+p = s
+g = s
+while lt p e bound 99999
+if te_dg te_k p e
+if gt p g
+te_sc g p
+end
+k = p
+while and te_dg te_k k e lt sub k p NDIG bound 99999
+k = add k 1
+end
+te_bpe p k
+p = k
+g = k
+else
+p = add p 1
+end
+end
+if gt e g
+te_sc g e
+end
+end
+
+note te_aeq: added token id's string is gxb[p .. p + its length)
+fn te_aeq id ulong p ulong to bool
+o = get gto id
+for i ulong get gtl id
+if ne get gpool add o i get gxb add p i
+ret false
+end
+end
+ret true
+end
+
+note te_add: the longest added token starting at p that ends by e; its id (length in gs 36), NOINT for none
+fn te_add p ulong e ulong to ulong
+b = get gs 26
+r = NOINT
+put gs 36 0
+for i ulong get gs 8
+id = add b i
+l = get gtl id
+if and gt l get gs 36 le add p l e
+if te_aeq id p
+r = id
+put gs 36 l
+end
+end
+end
+ret r
+end
+
+note te_adv: the character index after an added token of l bytes at character p
+fn te_adv p ulong l ulong to ulong
+b = add get gco p l
+q = add p 1
+while lt get gco q b bound 99999
+q = add q 1
+end
+ret q
+end
+
+note te_run: encode gxb[0 .. nb) into geo[0 .. gs 34); text that is not UTF-8 is refused (81).
+note Added tokens are matched on bytes at character starts (UTF-8 never matches inside a character).
+fn te_run nb ulong to void
+put gs 34 0
+n = te_dec nb
+p = ulong 0
+g = ulong 0
+while lt p n bound 99999
+id = te_add get gco p nb
+if eq id NOINT
+p = add p 1
+else
+if gt p g
+te_seg g p
+end
+te_emit id
+p = te_adv p get gs 36
+g = p
+end
+end
+if gt n g
+te_seg g n
+end
+end
+
+note ======== decode ========
+
+fn tk_dput c ulong to void
+p = get gs 28
+if ge p len gdb
+tk_die 59 tr59
+end
+put gdb p uchar and c 255
+put gs 28 add p 1
+end
+
+note tk_dtok: token id's bytes appended to gdb by the ByteLevel decoder rule (tokenizers
+note pre_tokenizers/byte_level.rs decode_chain): a string whose every character is in the alphabet
+note becomes those bytes, any other string is emitted as its own UTF-8 bytes; false for an unknown id
+fn tk_dtok id ulong to bool
+if ge id TMAX
+ret false
+end
+l = get gtl id
+if eq l 0
+ret false
+end
+o = get gto id
+if tk_allmap o l
+p = o
+while lt p add o l bound 999999
+tk_dput bl_inv tk_u8cp p
+p = add p tk_u8n get gpool p
+end
+else
+for i ulong l
+tk_dput ulong get gpool add o i
+end
+end
+ret true
+end
+
+note tk_peq: token id's string is gxb[0 .. nb)
+fn tk_peq id ulong nb ulong to bool
+if ge id TMAX
+ret false
+end
+l = get gtl id
+if ne l nb
+ret false
+end
+o = get gto id
+for i ulong l
+if ne get gpool add o i get gxb i
+ret false
+end
+end
+ret true
+end
+
+note tk_find: the one added token whose string is gxb[0 .. nb); jsnone for none, NOINT for several
+fn tk_find nb ulong to ulong
+b = get gs 26
+r = jsnone
+for i ulong get gs 8
+id = add b i
+if tk_peq id nb
+if ne r jsnone
+ret NOINT
+end
+r = id
+end
+end
+ret r
+end
+
+note ======== tokenizer_config.json and generation_config.json (om/vendor/json.om) ========
+
+note tc_parse: json.om tape of src[0 .. n); false unless it parses to one object
+fn tc_parse src view uchar 65536 tape edit uint 65536 n ulong to bool
+if eq n 0
+ret false
+end
+r = js_init tape n 64
+if lt r 0
+ret false
+end
+q = js_parse src tape n
+if lt q 0
+ret false
+end
+ret eq js_type tape 0 jsobj
+end
+
+note tc_key: the value token of member t of object token o; jsnone when o is no object or t is absent
+fn tc_key src view uchar 65536 tape view uint 65536 o ulong t view uchar * to ulong
+if ne js_type tape o jsobj
+ret jsnone
+end
+k = js_first tape o
+while ne k jsnone bound 999999
+if js_streq src js_off tape k t
+ret add k 1
+end
+k = js_mnext tape k
+end
+ret jsnone
+end
+
+note tc_tokid: the added token named by the string member t of tokenizer_config.json
+fn tc_tokid src view uchar 65536 tape view uint 65536 t view uchar * to ulong
+v = tc_key src tape 0 t
+if ne js_type tape v jsstr
+tk_die 56 tr56
+end
+ob = new uchar 4096 0
+r = js_sget src js_off tape v ob
+if lt r 0
+tk_die 56 tr56
+end
+n = ulong r
+for i ulong n
+put gxb i get ob i
+end
+ret tk_find n
+end
+
+note tc_kid: a decimal key of added_tokens_decoder as a number, NOINT when it is not one
+fn tc_kid src view uchar 65536 tape view uint 65536 k ulong to ulong
+kb = new uchar 16 0
+r = js_sget src js_off tape k kb
+if or le r 0 gt r 9
+ret NOINT
+end
+v = ulong 0
+for i ulong ulong r
+c = get kb i
+if not tk_dig c
+ret NOINT
+end
+v = add mul v 10 ulong sub c 48
+end
+ret v
+end
+
+note tc_ent: added_tokens_decoder member v has content gxb[0 .. nb) and special flag sp
+fn tc_ent src view uchar 65536 tape view uint 65536 v ulong nb ulong sp ulong to bool
+c = tc_key src tape v kcont
+if ne js_type tape c jsstr
+tk_die 56 tr56
+end
+ob = new uchar 4096 0
+r = js_sget src js_off tape c ob
+if lt r 0
+tk_die 56 tr56
+end
+same = eq ulong r nb
+if same
+for i ulong nb
+if ne get ob i get gxb i
+same = false
+end
+end
+end
+s = tc_key src tape v kspec
+ty = js_type tape s
+if and ne ty jstrue ne ty jsfalse
+tk_die 56 tr56
+end
+ret and same eq ty sub jsfalse sp
+end
+
+note tc_ctl: tokenizer_config.json added_tokens_decoder holds id once, with content gxb[0 .. nb) and flag sp
+fn tc_ctl src view uchar 65536 tape view uint 65536 id ulong nb ulong sp ulong to bool
+d = tc_key src tape 0 katd
+if ne js_type tape d jsobj
+tk_die 56 tr56
+end
+hit = jsnone
+k = js_first tape d
+while ne k jsnone bound 999999
+if eq tc_kid src tape k id
+if ne hit jsnone
+ret false
+end
+hit = add k 1
+end
+k = js_mnext tape k
+end
+if eq hit jsnone
+ret false
+end
+ret tc_ent src tape hit nb sp
+end
+
+note tg_num: number token v of generation_config.json as an id (refuses anything but an unsigned integer)
+fn tg_num src view uchar 65536 tape view uint 65536 v ulong to ulong
+if ne js_type tape v jsnum
+tk_die 57 tr57
+end
+o = js_off tape v
+if not js_isu src o
+tk_die 57 tr57
+end
+ret js_tou src o
+end
+
+note tg_list: array token v of generation_config.json holds exactly the ids gid[0 .. n) in order
+fn tg_list src view uchar 65536 tape view uint 65536 v ulong n ulong to bool
+same = eq js_nkids tape v n
+e = js_first tape v
+i = ulong 0
+while ne e jsnone bound 8192
+x = tg_num src tape e
+if lt i n
+if ne x get gid i
+same = false
+end
+end
+i = add i 1
+e = js_enext tape e
+end
+ret and same eq i n
+end
+
+note tg_ids: generation_config.json member t (one id or a list) equals gid[0 .. gs 31) in order
+fn tg_ids src view uchar 65536 tape view uint 65536 t view uchar * to bool
+v = tc_key src tape 0 t
+n = get gs 31
+if eq js_type tape v jsarr
+ret tg_list src tape v n
+end
+x = tg_num src tape v
+ret and eq n 1 eq x get gid 0
+end
+
+note ======== fixture ========
+
+fn fx_word to ulong
+s = get gs 21
+p = s
+while lt p get gs 20 bound 999999
+c = get gfx p
+if or eq c 32 eq c 10
+break
+end
+if or lt c 33 gt c 126
+tk_die 58 tr58
+end
+p = add p 1
+end
+if eq p s
+tk_die 58 tr58
+end
+put gs 30 sub p s
+if eq get gfx p 32
+p = add p 1
+end
+put gs 21 p
+ret s
+end
+
+fn fx_wis s ulong l ulong t view uchar * to bool
+if ne l len t
+ret false
+end
+for i ulong l
+if ne get gfx add s i get t i
+ret false
+end
+end
+ret true
+end
+
+fn fx_uint to ulong
+s = fx_word
+l = get gs 30
+if gt l 9
+tk_die 58 tr58
+end
+v = ulong 0
+for i ulong l
+c = get gfx add s i
+if not tk_dig c
+tk_die 58 tr58
+end
+v = add mul v 10 ulong sub c 48
+end
+ret v
+end
+
+note fx_hex: one hex word into gxb; returns the byte count
+fn fx_hex to ulong
+s = fx_word
+l = get gs 30
+nb = div l 2
+if or ne rem l 2 0 gt nb len gxb
+tk_die 58 tr58
+end
+for i ulong nb
+h = js_hexv get gfx add s mul 2 i
+o = js_hexv get gfx add add s mul 2 i 1
+if or eq h 16 eq o 16
+tk_die 58 tr58
+end
+put gxb i uchar or shl h 4 o
+end
+ret nb
+end
+
+fn fx_end to bool
+ret eq get gfx get gs 21 10
+end
+
+fn fx_eol to void
+if not fx_end
+tk_die 58 tr58
+end
+put gs 21 add get gs 21 1
+end
+
+fn fx_skip to void
+p = get gs 21
+while lt p get gs 20 bound 999999
+p = add p 1
+if eq get gfx sub p 1 10
+break
+end
+end
+put gs 21 p
+end
+
+note fx_ids: the rest of the line as ids into gid[0 .. gs 31)
+fn fx_ids to void
+n = ulong 0
+while not fx_end bound 8192
+put gid n fx_uint
+n = add n 1
+end
+put gs 31 n
+fx_eol
+end
+
+fn fx_name to void
+s = fx_word
+put gs 32 s
+put gs 33 get gs 30
+end
+
+fn fx_size to bool
+put gs 33 0
+v = fx_uint
+a = fx_uint
+fx_eol
+ret and eq v get gs 6 eq a get gs 8
+end
+
+fn fx_role cs view uchar 65536 ct view uint 65536 gsr view uchar 65536 gtp view uint 65536 to bool
+fx_name
+s = get gs 32
+l = get gs 33
+fx_ids
+n = get gs 31
+if fx_wis s l rbos
+ret and eq n 1 eq get gid 0 tc_tokid cs ct kbos
+end
+if fx_wis s l reos
+ret and eq n 1 eq get gid 0 tc_tokid cs ct keos
+end
+if fx_wis s l rgbos
+ret tg_ids gsr gtp kgbos
+end
+if fx_wis s l rgeos
+ret tg_ids gsr gtp kgeos
+end
+if fx_wis s l rgpad
+ret tg_ids gsr gtp kgpad
+end
+tk_die 58 tr58
+ret false
+end
+
+fn fx_ctl cs view uchar 65536 ct view uint 65536 to bool
+fx_name
+id = fx_uint
+sp = fx_uint
+if gt sp 1
+tk_die 58 tr58
+end
+nb = fx_hex
+fx_eol
+if ge id TMAX
+ret false
+end
+a = tk_peq id nb
+b = eq ulong get gsp id add sp 1
+c = eq tk_find nb id
+d = tc_ctl cs ct id nb sp
+ret and and a b and c d
+end
+
+fn tk_xeq nb ulong to bool
+if ne get gs 28 nb
+ret false
+end
+st = ulong 0
+for i ulong nb
+if ne get gdb i get gxb i
+ret false
+end
+st = js_u8st st get gdb i
+end
+ret eq st 0
+end
+
+fn fx_case to bool
+fx_name
+n = fx_uint
+if gt n len gid
+tk_die 58 tr58
+end
+for i ulong n
+put gid i fx_uint
+end
+w = fx_uint
+nb = fx_hex
+fx_eol
+if ne w nb
+tk_die 58 tr58
+end
+put gs 28 0
+known = true
+for j ulong n
+if not tk_dtok get gid j
+known = false
+end
+end
+ret and known tk_xeq nb
+end
+
+note fx_enc: enc NAME N IDS NB HEX (pc 0), the text HEX encodes to exactly the N ids; pre NAME N ENDS
+note NB HEX (pc 1), the three Splits cut the text HEX into pieces ending at exactly the N byte offsets
+fn fx_enc pc ulong to bool
+fx_name
+n = fx_uint
+if gt n len gid
+tk_die 58 tr58
+end
+for i ulong n
+put gid i fx_uint
+end
+w = fx_uint
+nb = fx_hex
+fx_eol
+if ne w nb
+tk_die 58 tr58
+end
+put gs 40 pc
+if eq pc 0
+te_run nb
+else
+put gs 34 0
+te_seg 0 te_dec nb
+end
+put gs 40 0
+if ne get gs 34 n
+ret false
+end
+for j ulong n
+if ne get geo j get gid j
+ret false
+end
+end
+ret true
+end
+
+note fx_ucd: ucd NAME NB HEX, the referee's class runs HEX equal the ucd table byte for byte
+fn fx_ucd to bool
+fx_name
+w = fx_uint
+nb = fx_hex
+fx_eol
+if ne w nb
+tk_die 58 tr58
+end
+if ne nb len ucd
+ret false
+end
+for i ulong nb
+if ne get gxb i get ucd i
+ret false
+end
+end
+ret true
+end
+
+fn tk_ofx s ulong l ulong to void
+for i ulong l
+tk_ob get gfx add s i
+end
+end
+
+fn fx_rec cs view uchar 65536 ct view uint 65536 gsr view uchar 65536 gtp view uint 65536 to void
+k = fx_word
+kl = get gs 30
+ok = false
+if fx_wis k kl fsize
+ok = fx_size
+else
+if fx_wis k kl frole
+ok = fx_role cs ct gsr gtp
+else
+if fx_wis k kl fctl
+ok = fx_ctl cs ct
+else
+if fx_wis k kl fcase
+ok = fx_case
+else
+if fx_wis k kl fenc
+ok = fx_enc 0
+else
+if fx_wis k kl fpre
+ok = fx_enc 1
+else
+if fx_wis k kl fucd
+ok = fx_ucd
+else
+tk_die 58 tr58
+end
+end
+end
+end
+end
+end
+end
+tk_otx tpre
+tk_ofx k kl
+if ne get gs 33 0
+tk_ob 32
+tk_ofx get gs 32 get gs 33
+end
+if ok
+tk_otx tpass
+put gs 22 add get gs 22 1
+else
+tk_otx tfail
+put gs 23 add get gs 23 1
+end
+tk_ob 10
+end
+
+fn fx_run cs view uchar 65536 ct view uint 65536 gsr view uchar 65536 gtp view uint 65536 to void
+while lt get gs 21 get gs 20 bound 999999
+if eq get gfx get gs 21 35
+fx_skip
+else
+fx_rec cs ct gsr gtp
+end
+end
+end
+
+fn tk_sum to void
+tk_otx tsum
+tk_ou get gs 6
+tk_otx tsadd
+tk_ou get gs 8
+tk_otx tsrec
+tk_ou add get gs 22 get gs 23
+tk_otx tspass
+tk_ou get gs 22
+tk_otx tsfail
+tk_ou get gs 23
+if and eq get gs 23 0 gt get gs 22 0
+tk_otx tpass
+else
+tk_otx tfail
+end
+tk_ob 10
+end
+
+fn main to int
+c = argcnt
+if ne c 5
+tk_die 2 tr2
+end
+o = ulong 0
+for i ulong 5
+r = argread i ga o sub len ga o
+if lt r 0
+tk_die 2 tr2
+end
+put gas i o
+put gal i ulong r
+o = add o ulong r
+end
+csrc = new uchar 65536 0
+ctape = new uint 65536 0
+gsrc = new uchar 65536 0
+gtape = new uint 65536 0
+tk_rtj
+tk_doc
+tk_bytes
+tk_ucd
+cn = tk_rloc 2 csrc
+if not tc_parse csrc ctape cn
+tk_die 56 tr56
+end
+gn = tk_rloc 3 gsrc
+if not tc_parse gsrc gtape gn
+tk_die 57 tr57
+end
+tk_rfx
+fx_run csrc ctape gsrc gtape
+tk_sum
+tk_oflush
+if or ne get gs 23 0 eq get gs 22 0
+ret 1
+end
+ret 0
+end
```