# Results: BootLoops test 1, half-split order gain (Gorder) on ZL IVTFF 2b

## The short version

Both controls passed their preregistered bars in all four hand-fold cells, so the primary was run. Gorder (bag bits minus chain bits per token, A fit, B scored) is 0.00990 for hand 1 fold 1, 0.00553 for hand 1 fold 2, 0.02178 for hand 2 fold 1, 0.02110 for hand 2 fold 2. Against the bar [0.005, 0.030] bits per token, all four cells are replicated by the point-estimate rule. Hand 1 fold 2 sits 0.0005 above the lower edge and its 95 percent page-bootstrap interval reaches below zero. The TP-001 KN trigram trained on A costs more bits than the bag in every cell, and the all-hands leave-one-folio-out book score also costs more than the bag in every cell; it costs less than the A-only trigram for hand 2 and more for hand 1. Neither carries a bar.

## Setup as run

PREREG.md (sha256 abe01a9f0876b57ef63255c68cf04a507e852cde91076fb682ae91a073eb9324, unchanged through every run, checked by the script and by sha256sum -c) fixes everything below. Hand 1 is $H=1 (112 pages with paragraph text), hand 2 is $H=2 (46 pages), paragraph-text lines only, pages in ZL file order, fold 1 odd positions fit and even positions score, fold 2 the reverse. Token counts per fold: hand 1 fold 1 fits 5482 and scores 5102; hand 1 fold 2 fits 5102 and scores 5482; hand 2 fold 1 fits 5586 and scores 5260; hand 2 fold 2 fits 5260 and scores 5586. Bootstrap: 10,000 page resamples of the B pages, seed 20261013, percentile 2.5 and 97.5.

## Controls (run first)

Shuffle control, 20 draws per cell, whole pipeline refit including kappa, bar mean within +/-0.002 and every draw within +/-0.005:

| Cell | Mean Gorder | Min draw | Max draw | Bar met |
|---|---|---|---|---|
| hand 1 fold 1 | -0.00001 | -0.00001 | 0.00000 | yes |
| hand 1 fold 2 | -0.00005 | -0.00086 | -0.00000 | yes |
| hand 2 fold 1 | -0.00006 | -0.00063 | 0.00000 | yes |
| hand 2 fold 2 | -0.00012 | -0.00064 | 0.00000 | yes |

Injected-order positive control (probability 0.05, 10 draws per cell), bar mean Gorder at least 0.010:

| Cell | Mean Gorder | Min draw | Max draw | Bar met |
|---|---|---|---|---|
| hand 1 fold 1 | 0.02897 | 0.02203 | 0.03797 | yes |
| hand 1 fold 2 | 0.02690 | 0.02054 | 0.03520 | yes |
| hand 2 fold 1 | 0.03964 | 0.03063 | 0.04926 | yes |
| hand 2 fold 2 | 0.03711 | 0.02535 | 0.04327 | yes |

## Primary: Gorder per hand and fold against the bar

| Cell | Gorder (bits/token) | 95% page-bootstrap interval | kappa chosen on A | Pages where chain beats bag | Bar [0.005, 0.030] |
|---|---|---|---|---|---|
| hand 1 fold 1 | 0.00990 | [0.00543, 0.01491] | 1000 | 40 of 56 | replicated |
| hand 1 fold 2 | 0.00553 | [-0.00126, 0.01250] | 500 | 26 of 56 | replicated |
| hand 2 fold 1 | 0.02178 | [0.01446, 0.02824] | 500 | 18 of 23 | replicated |
| hand 2 fold 2 | 0.02110 | [0.01219, 0.02949] | 500 | 17 of 23 | replicated |

BootLoops' published comparator is 0.010 and 0.012 (folded and atomic parsing) for Scribe 1 and 0.019 and 0.022 for Scribe 2.

## All four scores on the same B tokens (bits per token, 95% page-bootstrap interval)

| Cell | Bag (A only) | Chain (A only, tuned) | TP-001 KN trigram (A only) | TP-001 book, leave-one-folio-out, all hands |
|---|---|---|---|---|
| hand 1 fold 1 | 11.620 [11.318, 11.936] | 11.610 [11.305, 11.928] | 12.074 [11.757, 12.404] | 12.307 [12.024, 12.612] |
| hand 1 fold 2 | 11.820 [11.566, 12.065] | 11.814 [11.560, 12.061] | 12.330 [12.072, 12.586] | 12.491 [12.250, 12.732] |
| hand 2 fold 1 | 10.796 [10.359, 11.310] | 10.774 [10.332, 11.294] | 11.221 [10.782, 11.752] | 10.952 [10.642, 11.304] |
| hand 2 fold 2 | 10.830 [10.435, 11.304] | 10.809 [10.411, 11.286] | 11.225 [10.809, 11.725] | 10.929 [10.631, 11.284] |

Differences among the scores (bits per token, positive means the first-named model costs more):

| Cell | Bag minus trigram-A | Chain minus trigram-A | Bag minus book | Trigram-A minus book |
|---|---|---|---|---|
| hand 1 fold 1 | -0.454 [-0.479, -0.428] | -0.464 [-0.486, -0.441] | -0.688 [-0.809, -0.568] | -0.234 [-0.355, -0.112] |
| hand 1 fold 2 | -0.510 [-0.543, -0.478] | -0.516 [-0.544, -0.488] | -0.672 [-0.779, -0.573] | -0.161 [-0.262, -0.065] |
| hand 2 fold 1 | -0.425 [-0.464, -0.387] | -0.446 [-0.482, -0.413] | -0.156 [-0.307, 0.030] | 0.268 [0.111, 0.474] |
| hand 2 fold 2 | -0.395 [-0.429, -0.368] | -0.416 [-0.444, -0.392] | -0.099 [-0.211, 0.042] | 0.295 [0.163, 0.465] |

Descriptive only, no bar: the chain with vp.KN's untuned absolute-discount bigram tier (discount 0.75), the smoothing TP-001 uses, gives Gorder of -0.139 (hand 1 fold 1), -0.160 (hand 1 fold 2), -0.120 (hand 2 fold 1), -0.121 (hand 2 fold 2). On shuffled text the same estimator gave -0.215 to -0.237 in the pilot, so that smoothing cannot read an order gain of this size on halves of about 5,000 tokens; the tuned Dirichlet chain was adopted before locking for that reason (PREREG.md, Floors).

## What the numbers say and do not say

Verdicts by the preregistered bar: hand 1 fold 1 replicated, hand 1 fold 2 replicated, hand 2 fold 1 replicated, hand 2 fold 2 replicated. These are statements about this estimator, this page selection and this tokenization, and nothing beyond that is claimed. Two facts bound them. The hand 1 fold 2 value (0.00553) is inside the bar by 0.00053 and its interval includes zero, and the chain beats the bag on 26 of 56 pages there against 40 of 56 in fold 1. The two folds of hand 1 differ by 0.0044, more than the fold difference for hand 2 (0.0007). The A-only trigram costs more than the bag in every cell. The all-hands book score costs more than the bag in every cell too (hand 1 by 0.67 to 0.69 bits, hand 2 by 0.10 to 0.16), and relative to the A-only trigram it costs less for hand 2 (by 0.27 to 0.30) and more for hand 1 (by 0.16 to 0.23). The pooled training pool therefore helps the trigram on hand 2 pages and hurts it on hand 1 pages, which this test does not explain.

## Commands, exit codes, runtime

All run from ../../../resources/tools/provenance/index.html#s-c15d262207a0938e with python3.

- python3 order_gain.py pilot (shuffled and injected data only, before PREREG was locked): exit 0, about 8 s.
- python3 order_gain.py control > control.log 2>&1: exit 0, 7 s.
- python3 order_gain.py primary > primary.log 2>&1: first attempt exit 1 after 1 s (NameError in the output-assembly line, no statistic written); second attempt exit 0, 1 s, with a metadata bug in the A_tokens field only; third attempt exit 0, under 1 s, final. The statistics of the second and third attempts are byte-identical in every cell (compared inline between the two files); the second attempt's file is kept as primary_attempt2_Atokens_bug.json.

Seeds: pilot 7; shuffle control 20261013; positive control 20261014; bootstrap 20261013. Final primary result file: primary.json.

## What could not be done

The BootLoops page lists (112 and 43 decisively pure pages) are not on disk, so hand 2 here is the full $H=2 set (46 pages, 3 more than the paper). The paper's code and Table 2 intervals for Gorder itself were not available; the intervals printed in Table 2 are for the largest gain over the bag across all model classes, not for Gorder, so the bar is a tolerance on the published point values, as PREREG.md states. Labels, rings and other non-paragraph loci are outside the token set by preregistered rule, and no run was made with them in.
