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/omega-mv/blob/main/calibration/preregistration/EXP-001.md # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / calibration / preregistration / EXP-001.md` 211 lines ยท 16158 bytes Raw Blame History Rendered 1 # EXP-001 preregistration 2 3 ## 0. B3 fixed heuristic predictor (declared before any candidate is fit) 4 5 Declared 2026-09-29, before `tools/turing_cal_candidates.c` was written or run. No number in B3 comes from data. 6 Every number comes from the outcome alphabet in `src/turing/ty_ctr1.h` (symbols 0..6 are EXPAND outcomes, 7..8 are 7 SUBMIT outcomes, op feature 15 marks SUBMIT events) and the 16-bit quantization rule of the profile. 8 9 - Feature mask: `TY_F_OP` (= 1). Key = op feature (0..14 EXPAND, 15 SUBMIT). Key space 16, key bits 4. 10 - Rows: 16 rows, keys 0..15, all stored. 11 - Keys 0..14 (EXPAND): symbols 0..6 get 9362 each, symbols 7 and 8 get the floor 1. Sum 7 x 9362 + 2 = 65536. 12 Meaning: an EXPAND event is one of the seven EXPAND outcomes, each equally likely; a SUBMIT outcome is 13 impossible except for the floor. 14 - Key 15 (SUBMIT): symbols 0..6 get the floor 1, symbol 7 gets 32765, symbol 8 gets 32764. Sum 7 + 65529 = 65536. 15 Meaning: a SUBMIT is accepted or rejected with equal odds (the odd unit goes to the lower symbol index, the same 16 tie rule as `ty_quantize_kt`). 17 - Default row (never reached, since every key has a row, but the TYM0 format requires one): the quantized uniform 18 row, symbols 0..6 = 7282, symbols 7..8 = 7281 (1 + floor(65527 / 9) = 7281 each, 7 leftover units to the lowest 19 indices). Sum 65536. 20 - L(M) = 104 + 16 x 8 + 16 x (4 + 16 x 8) = 2,344 bits. 21 22 ## 1. Question 23 24 Does a model that describes the crumbline control traces (M_candidate, mask 93) compress fresh, never-seen control 25 traces better than the order-1 baseline B2 after paying for its own description, measured with real entropy 26 coders as well as ideal code lengths, while two memorizers that cannot generalize are correctly scored as losing? 27 EXP-001 is a calibration: it tests that the Turing-profile-v1.0 instrument gives the right sign to a known-good 28 model and to known-bad models before the instrument is used on anything new. 29 30 Profile: calibration/profiles/Turing-profile-v1.0.toml (digest in the .sha256 sidecar). Model code: 31 calibration/docs/MODEL_DESCRIPTION_ENCODING.md. Statistics: calibration/docs/UNCERTAINTY_PROTOCOL.md. Failures: 32 calibration/docs/FAILURE_REPORTING.md. Coders: calibration/docs/CODER_SPEC.md (lane B). Sealed data and blinding: 33 calibration/docs/BLINDING_PROTOCOL.md (lane C). 34 35 ## 2. Candidate set (frozen before any sealed seed exists) 36 37 All fitted on dev seeds 1-7 of exp-`20260927`-rep10 control only (manifest sha256 `6efc04b5`...). Seeds 8-10 and 38 final-`20260927` are burned and never used. Digests and L(M) are in candidate_manifest.json. 39 40 | name | what it is | mask | rows | L(M) bits | role | 41 |---|---|---|---|---|---| 42 | B0_uniform | quantized uniform over 9 symbols | 0 | 0 | 232 | floor reference | 43 | B1_order0 | symbol frequencies, MDL | 0 | 0 | 232 | weak baseline | 44 | B2_order1 | previous symbol, MDL (ty2_baseline.tym, unchanged bytes) | 4 | 7 | 1,156 | **the baseline of the verdict** | 45 | B3_heuristic | fixed rule above, no data | 1 | 16 | 2,344 | data-free baseline | 46 | M_candidate | op, prev1, prev2, prev3, prev4, MDL (ty2_candidate.tym, unchanged bytes) | 93 | 1,237 | 180,834 | **the candidate** | 47 | M_mem | position table, all 7 dev seeds, keep all rows | 32 | 3,706,331 | 607,838,516 | memorizer control | 48 | M_mem_seed1 | position table of dev seed 1 alone, each row sharpened to its most frequent symbol | 32 | 2,172,776 | 356,335,496 | exact memorizer control | 49 50 Why two memorizers: M_mem is the brief's memorizer, but positions are shared across seeds, so each row averages 7 51 different worlds and it does not memorize (dev in-sample 1.3097 bits/event, worse than B2). M_mem_seed1 is a true 52 memorizer of one world: 0.000176 bits/event on dev seed 1, 3.17 bits/event elsewhere. Both must lose. 53 Orchestrator decision 2026-09-29: both memorizers are kept. Their .tym files (76 MB and 45 MB) are not in git; they 54 are pinned by SHA-256 in candidate_manifest.json, rebuild deterministically, and a copy is kept at 55 ~/aien-data/turing-cal/candidates/. 56 57 ## 3. Dev results (in-sample, seeds 1-7, 14,376,405 events; not evidence, only for the predictions) 58 59 | name | L(M) bits | L(D|M) bits | DL bits | bits/event | seed 1 bits/event | 60 |---|---|---|---|---|---| 61 | B0_uniform | 232 | 45,571,493.300 | 45,571,725.300 | 3.1699 | 3.1699 | 62 | B1_order0 | 232 | 24,559,362.384 | 24,559,594.384 | 1.7083 | 1.7064 | 63 | B2_order1 | 1,156 | 18,379,920.294 | 18,381,076.294 | 1.2785 | 1.2753 | 64 | B3_heuristic | 2,344 | 40,358,094.761 | 40,360,438.761 | 2.8072 | 2.8073 | 65 | M_candidate | 180,834 | 11,632,692.544 | 11,813,526.544 | 0.8092 | 0.8066 | 66 | M_mem | 607,838,516 | 18,828,523.887 | 626,667,039.887 | 1.3097 | 1.3621 | 67 | M_mem_seed1 | 356,335,496 | 45,582,483.218 | 401,917,979.218 | 3.1706 | 0.0002 | 68 69 ## 4. Predictions 70 71 - P1: DL order on each sealed group, ideal and both coders: 72 M_candidate < B2 < B1 < B3 < B0 < M_mem_seed1 < M_mem. 73 - P2: M_mem does not beat B2 even on dev data (already observed: 1.3097 vs 1.2785 bits/event before L(M)). 74 - P3: M_mem_seed1 wins on its own seed (observed on dev seed 1) and loses on every sealed seed, by roughly L(M). 75 - P4: T(M_candidate) per event on each sealed group is near the dev validation gain of 0.4703 bits/event 76 (seed 7 held out from a seeds 1-6 refit: B2 2,499,920.598 bits vs M_candidate 1,582,420.133 bits on seed 7). 77 78 Predictions P1-P4 are reported and are not part of the verdict: no prediction enters any criterion of section 5. 79 80 ## 5. Success criteria (all must be PASS for PASS) 81 82 - S1 lossless: every coded stream decodes to the exact input symbols (both coders, every candidate, every seed). 83 - S2 freeze first: the freeze commit C_f (the commit holding candidate_manifest.json with status frozen, the 84 filled profile and its sidecar) is an ancestor of origin/main, is committed before the sealed data release, the 85 candidate manifest and profile used are the files at C_f, every sealed seed is the turing.cal.sealed.v1 seed for 86 C_f, frozen_at is before the release, and overlap_audit.json names C_f with result PASS (BLINDING_PROTOCOL.md 87 section 2). 88 - S3 same input: all candidates and coders score byte-identical symbol streams (one stream digest per sealed file, 89 recorded before scoring and equal in every receipt). 90 - S4 envelope: for each coder, every whole sealed file and every crumb (coded as its own file) satisfies the 91 two-sided band |overhead - 448| <= 64 + 1.0e-3 x N bits, integer form |overhead_ub - 448,000,000| <= 92 64,000,000 + 1,000 x N (profile coder_envelope, CODER_SPEC.md section 9). Declared now: rANS codes below ideal on 93 rows skewed toward low-index symbols, and the slope 1.0e-3 was measured on dev seeds 1-7, not proven. 94 - S5 no unexplained material reversal. Exact rule in FAILURE_REPORTING.md section 5: a DL ordering reversal 95 between the ideal and a coder is explained if the ideal DL gap is <= 2 x the summed envelope band of the group; a 96 T sign reversal ideal vs coded (intervals exclude each other's point estimates) is explained if |T_ideal - T_coded| 97 <= 2 x that band; a material T sign reversal between group 1 and group 2 is never explained. Spearman rho reported only. 98 No cause label was preregistered, so any unexplained reversal is FAIL whatever cause is found later. 99 - S6 candidate wins: in group 1, the 95% interval lower bound of T(M_candidate) against B2 is > 0, for the ideal 100 code length and for both coders. 101 - S7 memorizers lose: in group 1, the 95% interval upper bound of T(M_mem) and of T(M_mem_seed1) against B2 is < 0, 102 ideal and both coders. 103 - S8 independent scorer: the lane D scorer recomputes L(M), every probability (its TPS1 bytes), ideal code lengths, 104 T and the interval bounds from the traces and models, reads the coded sizes as the byte sizes of the coded files 105 after decoding and checking each one, reports "problems": 0, and every value equals the primary exactly 106 (EVALUATOR.md section 6 states what S8 can and cannot catch; profile independent_verification_requirements). 107 - S9 replication: S6 and S7 also hold in group 2. 108 109 ## 5a. Verdict rule and INCONCLUSIVE trigger (declared before any sealed data exist) 110 111 S1-S5 and S8 are PASS or FAIL. S6, S7 and S9 are PASS, FAIL or INCONCLUSIVE on the 95% intervals of T against B2 112 (ideal, coder A, coder B): 113 114 - S6: PASS if every lower bound is > 0; FAIL if any upper bound is < 0; otherwise INCONCLUSIVE. 115 - S7: PASS if every upper bound (both memorizers) is < 0; FAIL if any lower bound is > 0; otherwise INCONCLUSIVE. 116 - S9: the S6 and S7 rules on group 2, taking the worse of the two. 117 - A criterion that cannot be evaluated is NOT_REACHED and counts as FAIL. 118 119 EXP_001_COMPRESSION_BRIDGE = FAIL if any criterion is FAIL or NOT_REACHED; else INCONCLUSIVE if any is 120 INCONCLUSIVE; else PASS. 121 122 VOID and FAIL (FAILURE_REPORTING.md section 2 is the rule, EVALUATOR.md section 3 maps every code). VOID (no 123 verdict, void receipt kept and published) is only for an infrastructure failure before any sealed score exists; 124 all voids of EXP-001 (sealed generation, frozen-tree tests, evaluation) share one counter, and the third ends 125 EXP-001 as INCONCLUSIVE INFRA. Once scoring has started the verdict is final and a failure is a terminal FAIL of its criterion: a 126 coder or decoder failure is S1; a freeze-order violation (overlap FAIL, manifest or profile not the files at C_f, 127 a seed not derived from C_f, C_f or frozen_at not before the release) is S2; a stream, binding or serialization 128 failure is S3; a per-crumb sum mismatch is S4; a group without crumbs is S6 (group 1) or S9 (group 2); a lane D mismatch, 129 crash or missing output is S8, with no retry. A crash after 130 scoring started is FAIL of the criterion whose step crashed. A development dry run 131 is labelled DRY_RUN_NOT_EVIDENCE. INCONCLUSIVE is final for this sealed set: no seeds are added and nothing is 132 rerun to resolve it (FAILURE_REPORTING.md sections 2 and 4). 133 134 Evaluator (calibration/docs/EVALUATOR.md): `turing-cal-eval run` computes everything and writes the bundle with 135 a pending receipt; lane D writes scorer_independent.json; `turing-cal-eval gate` compares it with 136 scorer_primary.json (S8) and writes final_receipt.json once. 137 138 ## 6. Design, minimum effect and sample size 139 140 - 2 sealed groups x 3 sealed control seeds, generated by lane C after the freeze, never seen by any fit. 141 - Declared minimum effect: f = 0.1 of the dev validation gain, 0.047035 bits/event. Reason: at this size a 142 model with L(M) = 180,834 bits pays for itself after 1.96 seeds, so a 3-seed group can see it; smaller effects of a 143 model this size are not worth its description on a group this size (breakeven 3.92 seeds at f = 0.05). 144 - Sample size: power_simulation.c (seed 0x4558503030315053, 500 worlds, 1000 resamples, seed 7 per-crumb gains 145 from a seeds 1-6 refit) finds joint power (S6 and S7 together) at f = 0.1 of 0.000 at n = 1, 0.062 at n = 2, 146 1.000 at n = 3 (shift model); 0.092 / 1.000 at n = 2 / 3 (scale model); 0.028 / 1.000 with the spread inflated 147 x2.04 (assumption A3). Chosen n = 3 seeds per group, the smallest n with power >= 0.95. Memorizers: interval below 148 0 in 100% of simulated worlds at every n. 149 - Error rates at n = 3 (S6 alone, shift model, same output file): false-positive rate 0.018 when the true T is 0 150 (effect fraction f0 = 0.0653); at f = 0.1, FAIL rate 0.000, INCONCLUSIVE rate 0.000, so the false-negative rate 151 is 0.000; mean 95% interval width 42,982 bits. The simulation source and its output are pinned by SHA-256 in 152 candidate_manifest.json (shared_background_sha256). 153 - Honest limit: below f = 0.05 no n <= 10 has power, because the fixed L(M) charge dominates. EXP-001 cannot detect 154 a small real gain of a model this size. An S6 interval wholly below 0 is a FAIL; an interval that contains 0 is 155 INCONCLUSIVE (section 5a) and only says the gain, if any, is not resolvable at about 0.047 bits/event with 3 seeds. 156 157 ## 7. Stopping rule 158 159 Fixed design, no optional stopping (profile stopping_rule). Exactly 6 sealed seeds, derived from C_f, generated 160 once, each scored once. No seed added, dropped or replaced because of its result. An infrastructure failure 161 before any score exists (a seed failing to generate, a failed build or test of the frozen tree, a refused evaluator 162 check) is a VOID and is retried with the same C_f, the same seeds, the same frozen tree and a byte-identical 163 command, nothing edited in between. The limit is three voids for all of EXP-001, stages counted together; the 164 third void ends EXP-001 as INCONCLUSIVE INFRA, which is final. Sealed generation starts only after the PASS freeze 165 receipt naming C_f is on origin/main. Every failed attempt is published. After 166 scoring has started there is no retry (section 5a). 167 168 ## 8. Failure retention 169 170 Every outcome is committed and kept (FAILURE_REPORTING.md). The verdict is written once, as 171 final_receipt.json in the bundle ~/aien-data/turing-cal/eval//run/bundle (outside git), and never replaced. A 172 later publication commit copies it and the other files listed in FAILURE_REPORTING.md section 6 byte for byte into 173 calibration/experiments/EXP-001/, with published_manifest.sha256. 174 175 ## 9. Also reported, not part of the verdict 176 177 T of every candidate against B0, B1, B3 (profile baseline_sensitivity_plan); T with L(M) byte-rounded and doubled (the L(M) of both the candidate and B2 doubled, so T moves by -(L(M) - L(B2))), 178 and the data-only gain (model_code_sensitivity_plan); the x2.04 inflated interval (UNCERTAINTY_PROTOCOL.md A3); 179 P1-P4. 180 181 ## 10. Data lineage and blinding 182 183 LINEAGE NOTE (orchestrator decision 2026-09-29). The pinned generator (crumbs `72e396b1`..., crumbline-learner 184 `8159bdff`...) reproduces final-`20260927`/rep10 byte-exactly but not the development data exp-`20260927`-rep10: 16 of the 185 2,172,776 seed-1 records differ in result_class, because the learner was rebuilt at 12:00, after rep10 ran at 11:47. 186 Candidates stay fit on exp-`20260927`-rep10 unchanged. Sealed data use the pinned build (control condition only, 187 `crumbs experiment --learner L --seed S --out DIR`, fresh output directories). This is declared, before any sealed 188 data exist, as a known generator difference between development and sealed data. Its direction is not known: the 189 baseline B2 was fit on the same older data as the candidates and T is a difference against B2, so the shift can 190 move T either way. Its size is negligible (16 of 2,172,776 records, under 1e-5 of the data), far below the 191 minimum effect of section 6, so it cannot decide a verdict. The earlier wording ("can only hurt the candidates") 192 was not supported and is withdrawn. 193 194 Blinding (BLINDING_PROTOCOL.md): the primary non-access is temporal, since sealed seeds are derived from the freeze 195 commit and cannot exist before it. The bubblewrap jails are the second layer. All jails run as the same user id; the 196 optional separate sealed user is not used, and this limit is stated in the profile. 197 198 ## 11. Open at freeze 199 200 Only runtime_digest (calibration/scripts/runtime_digest.sh over the seven binaries, including turing-cal-eval and 201 the independent scorer, listed as turing-verify-indep, file build/turing-verify-indep/indep-scorer, built from the 202 freeze commit) and the profile sidecar. The runtime_sha256 block and runtime_digest already in candidate_manifest.json 203 are development values for the current build; freeze_candidate.sh --freeze regenerates them from the build of the 204 freeze commit, and the evaluator checks its own binary against the frozen value (RUNTIME_DIGEST). The operator sets 205 preregistration.json to status frozen in the same commit. Then check_profile.sh --freeze and freeze_candidate.sh 206 --freeze (which records frozen_at) must pass; that commit is C_f, and freeze_receipt.sh C_f records it 207 (TURING_PROFILE_V1_FROZEN). Lane D is the independent scorer in tools/turing_verify_indep (written from the 208 calibration documents only, source pinned by independent_scorer_source_sha256; EVALUATOR.md section 6). The CAL-0 209 fresh-reader reviews were done; calibration/docs/CAL0_REVIEW_RESOLUTION.md is a history record of their findings 210 and fixes. It is not needed to reconstruct the evaluation: the profile, this document and the calibration docs it 211 cites are the complete specification.