# Deviations from PREREGISTRATION-PART2.md

Each item is dated and says what it changed. Items 1 and 2, and item 3 up to "only in floating-point rounding",
were written on 1 November, before any model with a repaired vocabulary had finished training. The rest of item 3
was added on 2 November as the runs went: the stop at 00:02 at 00:23 UTC (when R749 seed 0 had finished), the full
disk at 00:52, the restart at 02:33, all before any model was scored on FLORES devtest (the first score was written
at 07:05); its checkpoint steps, the R100 seed 0 retries and the last sentence were added at 12:12, after the
registered analysis. Items 4 and 5 were written on 2 November after the registered analysis, in answer to an audit
of the result; item 6 the same day, after the WEB-TEST scores, in answer to two claims passes on the page's account of them.

1. **Erratum: the step counts are one higher than the pre-registration says** (2026-11-01). `prereg-part2.json`
   and the text give V 3,380 steps, R100 2,692 and R749 2,035. The trainer committed with the pre-registration
   (`part2/lm.py`, unchanged in this respect) cuts each arm's token stream into windows of 513 tokens moving 512
   at a time and takes one step per 8 windows, dropping the last partial batch. The text's figures divide each
   arm's tokens by 8 x 512 without the `<|begin_of_text|>` that starts every document (V: 13,847,391 tokens
   without, 13,851,481 with, over 4,090 documents); the trainer's stream includes them, which gives one step
   more in each arm: V
   3,381 (as the pilot's seeds 0 and 1 had already recorded in their `seed*.train.json` before the
   pre-registration was written), R100 2,693, R749 2,036. The models train for the trainer's count. Nothing
   about any prediction changes.

2. **WEB-TEST scoring was written after the pre-registration** (2026-11-01). The pre-registration reports, not
   tests, WEB-TEST bits per byte: "first 200 KB per language in ascending h, scored in windows of 512 with 256
   tokens of context". The trainer had no such mode. `lm.py eval --split web` now takes each language's
   WEB-TEST documents in ascending h, whole, until the next would pass 200 KB (`lib/data.py`'s `cap`), encodes
   each alone after `<|begin_of_text|>`, and scores a document longer than the context in windows of 512 tokens
   moving 256 at a time, every token once, exactly as a long FLORES sentence is scored. The change touches only
   the evaluation's choice of text; training and the FLORES scoring are byte for byte as before. Sat (Ol Chiki)
   and Tamazight (Tifinagh) have less than 200 KB of WEB-TEST (138 KB and 141 KB) and are scored whole. WEB-TEST
   is TEST: the mode refuses to run without `PART2_TEST_OPEN=1`, and runs only after every model is trained and
   scored on devtest (`part2/web.sh`). `part2/analyse.py` gains `--split web`, which reports the per-language
   and group differences and decides nothing (each language resamples its own documents, since WEB-TEST
   documents, unlike FLORES sentences, are not parallel across languages), and per-language intervals on
   devtest, from the same draws as the group intervals (the pre-registration's reported "per-language Δ with
   intervals", which the analysis did not yet compute). Run on synthetic scores, the old and new versions give
   identical group means, intervals and Q1 to Q4 decisions.

3. **The runs were restarted in two workers** (2026-11-01). The container this study runs in was shut down at
   about 11:58 UTC on 30 October with `main.sh` (R749 seed 0, last logged step 500 of 2,036) and `pilot.sh` (V seed
   2, last logged step 500 of 3,381) running. Both resumed from their last checkpoints (steps 450 and 474) on
   1 November at 20:24 UTC.
   `part2/work.sh A|B` runs the same jobs as `main.sh` and `pilot.sh`, split evenly across two processes; every
   model is still trained before any is scored on devtest. Resuming is exact in what the model sees (document
   order, windows and window order are fixed by the seed and indexed by step; weights, optimiser state and step
   are restored); it can differ from an unbroken run only in floating-point rounding. On 2 November at 00:02 UTC
   the kernel stopped R749 seed 1 between steps 1,500 and 1,550 when a test of the slot-ledger tool on the same machine
   ran out of memory; `work.sh` restarted it within a minute and it resumed from its checkpoint at step 1,488.
   The training processes' out-of-memory priority was then lowered so that a test, not training, is stopped
   first. At about 00:45 UTC the disk filled (the tool's review workspaces); two checkpoint saves failed, and
   since a checkpoint is written to a temporary file and only then renamed, each run restarted from its last
   good checkpoint (R100 seed 0 at step 811, R749 seed 2 at step 81). Space was freed at 00:50. R100 seed 0 used
   up `work.sh`'s three tries on the full disk, so worker A went on to R100 seed 1 and seed 0 finished after the
   next restart, from its checkpoint. The container restarted again at about 02:30 UTC; at 02:31 worker B resumed
   R749 seed 2 from its checkpoint at step 1,565 and worker A resumed R100 seed 0 from step 811, then, once that
   finished at 04:56, R100 seed 1 from step 1,486. No resume repeated or skipped any training window.

4. **Erratum: the arms are paired on starting weights and document order, not on what each step sees**
   (2026-11-02). The pre-registration says "a seed fixes document order, windowing, window order and initial
   weights, so arms are paired by seed", and `lm.py`'s docstring that "two arms with the same seed see the same
   text in the same order". `windows()` draws the document order first (the same in every arm), then shuffles
   each arm's own 513-token windows, and the arms have different numbers of windows (V 27,053, R100 21,544, R749
   16,293), so each arm's window order is its own. Models with the same seed start from the same weights and
   concatenate the documents in the same order; they do not see the same text at the same step. Nothing about
   the comparison is unfair: every arm reads every document once, but for the stream's last partial window and
   batch (2,904 tokens under V, 104 under R100, 2,797 under R749). The pre-registration's thresholds already
   assumed that pairing removes no noise (its 0.006 x sqrt(2) / sqrt(3)); only its wording claimed more.

5. **What the registered analysis does not show, reported after it** (2026-11-02). The registered intervals
   resample test sentences with the three trained models fixed; they leave out how much retraining moves a
   result. An audit of the result asked for the seed-to-seed spread, and `part2/report_part2.py` reports it, with
   nothing decided on it: every language's and group's change per seed, t-intervals over the three seeds, how
   many languages moved the same way in every seed, Spearman's rho per seed, the heavy group's median; a byte
   4-gram counted from the same training text as a floor (exploratory: the transformers are small enough that
   counting bytes predicts most of these languages better than they do); zero-width characters that FLORES has
   and the training text does not; and devtest sentences sharing a 40-character string with the training text.
   The four decisions stand as registered: Q1, Q3 and Q4 held, Q2 failed. Seed by seed, the controls' change
   under R749 was +0.002, +0.022 and +0.040, so three seeds cannot say whether their cost is above the bar, below
   it, or zero.

6. **Four checks on the WEB-TEST scores, reported after them** (2026-11-02). Two claims passes on the page's
   paragraphs about web text found the heavy languages' web gain larger than on FLORES (0.232 against 0.204 bits
   per byte) and asked why. FLORES sentences are scored one at a time; WEB-TEST documents are scored whole, so most
   of their tokens are predicted from 257 to 512 tokens of the same document. `part2/report_web.py` reports, with
   nothing decided on it: every model's score on each scored document's first 500 bytes, alone; for each document
   of at least 1,000 bytes, its second 500 bytes scored alone and scored after the first 500, which separates what
   the text before a stretch adds from where in a document the stretch sits (though not wholly from how far back
   the window reaches: with the shipped vocabulary 56% of the heavy languages' tokens in that stretch lie more than
   512 tokens into the document, so the window scoring them no longer holds its start, against 18% with 100 slots
   and 0.2% with 749; from language to language the difference in what the text before gives does not follow that
   share); each language's WEB-TEST tokens under
   each vocabulary and how many fall more than 512 tokens into their document; and the scored documents against
   the training text by 40-character strings, as item 5 checks FLORES devtest, with each language's change under
   R749 without the documents that share any. It scores by `lm.py evaluate`'s own rule, copied unchanged: given
   whole documents and the same two threads as `part2/web.sh`, it gives the shipped vocabulary's seed 0 model the
   registered web score for Shan and English to a thousandth of a bit (`--check-only`). The training text was kept
   apart from WEB-TEST only document by document (no document is in both), so in some languages, Shan most, the
   two share menus, language lists and templates.
