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/docs/turing/protocols/turing-laboratory-execution-protocol-v1-0.tex # 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 / docs / turing / protocols / turing-laboratory-execution-protocol-v1-0.tex` 2000 lines ยท 45092 bytes Raw Blame History 1 \documentclass[11pt]{article} 2 \usepackage[utf8]{inputenc} 3 \usepackage[T1]{fontenc} 4 \usepackage{lmodern} 5 \usepackage{amsmath,amssymb,amsthm} 6 \usepackage{geometry} 7 \usepackage{hyperref} 8 \usepackage{booktabs} 9 \geometry{margin=1in} 10 11 \title{Turing Laboratory Execution Protocol\\ 12 Version 1.0} 13 \author{M. Drake Stapleton\\AIEN Project} 14 \date{September 29, 2026} 15 16 \begin{document} 17 18 \maketitle 19 20 \noindent\textit{Engineering companion to ``Turing Instrument Calibration and Validation Program'' (v1.0). The calibration program defines the experiment order and scientific gates: EXP-001 validates the compression bridge; EXP-002A/B/C test false structure, additional complexity, and mechanism discrimination; EXP-002D tests unification; and EXP-003 tests active experiment selection. This document specifies the repository organization, schemas, command names, and statistical implementation that make those experiments executable.} 21 22 \section*{Scope} 23 24 This document converts the Turing calibration plan into an executable laboratory program for: 25 \begin{verbatim} 26 CAL-0 27 Measurement freeze 28 29 EXP-001 30 Actual compression bridge 31 32 EXP-002A 33 Pure diffusion / false-structure rejection 34 35 EXP-002B 36 Drift / Occam transition 37 38 EXP-002C 39 Mean-reversion / mechanism discrimination 40 41 EXP-002D 42 Unification 43 44 EXP-003 45 Active experiment selection 46 47 H3 48 Replay and statistical reproducibility 49 \end{verbatim} 50 H4 energy closure and H5 Turing yield should use the same artifact and receipt architecture but remain gated until the informational measurement has passed EXP-001 through EXP-003. 51 52 The laboratory must behave as though a skeptical outside group will receive the complete artifact bundle and attempt to reproduce every conclusion without access to the original implementation. 53 54 \part{Repository and Trust Structure} 55 56 \section{Canonical repository layout} 57 58 Recommended top-level repository: 59 \begin{verbatim} 60 turing-lab/ 61 | 62 |-- Cargo.toml 63 |-- README.md 64 |-- LICENSE 65 |-- rust-toolchain.toml 66 | 67 |-- profiles/ 68 | |-- schema/ 69 | | `-- turing-profile.schema.json 70 | | 71 | |-- draft/ 72 | | `-- Turing-profile-v1.0.toml 73 | | 74 | `-- frozen/ 75 | |-- Turing-profile-v1.0.toml 76 | |-- Turing-profile-v1.0.sha256 77 | `-- FREEZE_RECEIPT.json 78 | 79 |-- crates/ 80 | |-- turing-core/ 81 | |-- turing-artifact/ 82 | |-- turing-profile/ 83 | |-- turing-model-code/ 84 | |-- turing-probability/ 85 | |-- turing-score/ 86 | |-- turing-score-independent/ 87 | |-- turing-coder-range/ 88 | |-- turing-coder-rans/ 89 | |-- turing-generator/ 90 | |-- turing-stats/ 91 | |-- turing-blind/ 92 | |-- turing-receipt/ 93 | |-- turing-verify/ 94 | `-- turing-cli/ 95 | 96 |-- experiments/ 97 | |-- EXP-001/ 98 | |-- EXP-002A/ 99 | |-- EXP-002B/ 100 | |-- EXP-002C/ 101 | |-- EXP-002D/ 102 | `-- EXP-003/ 103 | 104 |-- generators/ 105 | |-- diffusion/ 106 | |-- drift_diffusion/ 107 | |-- ornstein_uhlenbeck/ 108 | `-- experiment_selection/ 109 | 110 |-- baselines/ 111 | |-- uniform/ 112 | |-- empirical/ 113 | |-- markov/ 114 | `-- fixed_heuristic/ 115 | 116 |-- controls/ 117 | |-- memorizer/ 118 | |-- polynomial/ 119 | `-- flexible_predictor/ 120 | 121 |-- scripts/ 122 | |-- power_simulation.py 123 | |-- verify_no_overlap.py 124 | |-- verify_candidate_freeze.py 125 | |-- seal_manifest.py 126 | `-- summarize_results.py 127 | 128 |-- schemas/ 129 | |-- candidate.schema.json 130 | |-- dataset.schema.json 131 | |-- probability-stream.schema.json 132 | |-- code-result.schema.json 133 | |-- score-result.schema.json 134 | |-- experiment-receipt.schema.json 135 | |-- intervention.schema.json 136 | `-- replication.schema.json 137 | 138 |-- preregistration/ 139 | |-- EXP-001.md 140 | |-- EXP-002A.md 141 | |-- EXP-002B.md 142 | |-- EXP-002C.md 143 | |-- EXP-002D.md 144 | `-- EXP-003.md 145 | 146 |-- sealed/ 147 | `-- .gitignore 148 | 149 |-- published/ 150 | `-- README.md 151 | 152 `-- docs/ 153 |-- MODEL_CODE.md 154 |-- BLINDING.md 155 |-- STATISTICS.md 156 |-- CODING.md 157 |-- REPLICATION.md 158 |-- FAILURE_POLICY.md 159 `-- CLAIM_LADDER.md 160 \end{verbatim} 161 The \texttt{sealed/} directory must never be available to candidate-development processes. In production, it should ideally live on a different account, process boundary, or physical machine. 162 163 \section{Process separation} 164 165 Define four security principals. 166 \begin{verbatim} 167 candidate 168 evaluator 169 verifier 170 replicator 171 \end{verbatim} 172 The candidate principal may read: 173 \begin{verbatim} 174 profile 175 development data 176 public generators where permitted 177 candidate APIs 178 \end{verbatim} 179 The candidate principal may not read: 180 \begin{verbatim} 181 sealed data 182 sealed seeds 183 sealed parameters 184 evaluator manifests 185 future interventions 186 counterfactual outcomes 187 \end{verbatim} 188 The evaluator principal owns hidden generation and scoring execution. The verifier receives frozen artifacts after evaluation. The replicator should be able to reproduce the experiment from published protocol without importing production scorer code. 189 190 \section{Git discipline} 191 192 Use immutable tags for every executed experiment. Example: 193 \begin{verbatim} 194 turing-profile-v1.0 195 exp001-preregistered-v1 196 exp001-candidate-freeze-v1 197 exp001-evaluation-v1 198 exp001-published-v1 199 \end{verbatim} 200 Never rewrite those tags. A failed run receives its own permanent tag. Example: 201 \begin{verbatim} 202 exp002b-evaluation-v1-FAIL 203 \end{verbatim} 204 A corrected run is: 205 \begin{verbatim} 206 exp002b-preregistered-v2 207 \end{verbatim} 208 not a force-push over v1. 209 210 \part{Canonical Artifacts} 211 212 \section{Digest rule} 213 214 Every durable artifact receives: 215 \begin{verbatim} 216 sha256 217 byte_length 218 media_type 219 schema_version 220 created_by 221 created_at 222 \end{verbatim} 223 Canonical serialization should be deterministic. For JSON artifacts: 224 \begin{verbatim} 225 UTF-8 226 normalized numeric representation 227 sorted map keys 228 no insignificant whitespace 229 newline termination defined by profile 230 \end{verbatim} 231 Prefer a canonical JSON encoding or canonical CBOR for signed objects. Do not hash pretty-printed documents whose serialization may vary. 232 233 \section{Measurement profile schema} 234 235 Conceptual schema: 236 \begin{verbatim} 237 { 238 "profile_id": "Turing-profile-v1.0", 239 "profile_version": 1, 240 "profile_digest": "sha256:...", 241 242 "model_code": { 243 "format": "turing-model-code-v1", 244 "parameter_quantization": "...", 245 "shared_background_digest": "sha256:...", 246 "dependency_accounting": "explicit" 247 }, 248 249 "probability": { 250 "representation": "...", 251 "quantization_bits": 0, 252 "normalization": "...", 253 "zero_probability_policy": "..." 254 }, 255 256 "coding": { 257 "coder_a": "range-v1", 258 "coder_b": "rans-v1", 259 "header_accounting": true, 260 "side_information_accounting": true 261 }, 262 263 "statistics": { 264 "confidence_level": 0.95, 265 "resampling_unit": "trajectory", 266 "method": "...", 267 "stopping_rule": "fixed-n" 268 }, 269 270 "blinding": { 271 "candidate_freeze_required": true, 272 "sealed_release_after_freeze": true 273 } 274 } 275 \end{verbatim} 276 The literal values must come from the preregistered methodology rather than this illustrative schema. 277 278 \section{Candidate manifest} 279 280 Every candidate receives a manifest before test release. 281 \begin{verbatim} 282 { 283 "candidate_id": "M_diffusion_001", 284 "candidate_family": "diffusion", 285 "artifact_digest": "sha256:...", 286 "model_code_digest": "sha256:...", 287 "model_bits": 812, 288 "dependencies": [ 289 { 290 "digest": "sha256:...", 291 "charged_bits": 0, 292 "reason": "declared shared background" 293 } 294 ], 295 "frozen_at": "2026-...", 296 "profile_digest": "sha256:..." 297 } 298 \end{verbatim} 299 No mutable dependency may be referenced by branch name, URL, \texttt{latest}, or local path. 300 301 \section{Dataset manifest} 302 303 \begin{verbatim} 304 { 305 "dataset_id": "EXP002A-test-001", 306 "experiment": "EXP-002A", 307 "split": "sealed_test", 308 309 "generator_digest": "sha256:...", 310 "parameter_commitment": "sha256:...", 311 "seed_commitment": "sha256:...", 312 313 "trajectory_count": 0, 314 "trajectory_length": 0, 315 316 "payload_digest": "sha256:...", 317 "profile_digest": "sha256:..." 318 } 319 \end{verbatim} 320 During blinding, the parameter and seed values remain private. Their commitments are public. After the predetermined release condition, disclose them so anyone can verify the commitment. 321 322 \section{Probability-stream format} 323 324 The probability stream is one of the most important artifacts. The model produces it once. Coders consume it without invoking the model. 325 326 Header: 327 \begin{verbatim} 328 { 329 "format": "turing-probability-stream-v1", 330 "candidate_digest": "sha256:...", 331 "dataset_digest": "sha256:...", 332 "profile_digest": "sha256:...", 333 "alphabet_digest": "sha256:...", 334 "record_count": 0 335 } 336 \end{verbatim} 337 Record: 338 \begin{verbatim} 339 { 340 "index": 1281, 341 "context_digest": "sha256:...", 342 "observed_symbol": 17, 343 344 "probabilities": [ 345 ["0", "0.0010"], 346 ["1", "0.0061"] 347 ], 348 349 "normalization_error": "0.0" 350 } 351 \end{verbatim} 352 For a continuous process, define the predictive coding representation explicitly. Possible approaches include: 353 \begin{verbatim} 354 fixed quantization bins 355 registered residual quantizer 356 registered density discretization 357 \end{verbatim} 358 but exactly one method must be frozen in the profile before evaluation. Never discretize differently for different candidates. 359 360 \section{Coder result} 361 362 \begin{verbatim} 363 { 364 "coder": "range-v1", 365 "probability_stream_digest": "sha256:...", 366 "source_dataset_digest": "sha256:...", 367 368 "payload_bits": 0, 369 "header_bits": 0, 370 "side_information_bits": 0, 371 372 "total_bits": 0, 373 374 "encoded_digest": "sha256:...", 375 "decoded_digest": "sha256:...", 376 377 "lossless_roundtrip": true 378 } 379 \end{verbatim} 380 All headers and required side information must be counted. 381 382 \section{Score record} 383 384 \begin{verbatim} 385 { 386 "candidate_id": "M1", 387 "baseline_id": "B0", 388 389 "L_baseline_model": 0, 390 "L_candidate_model": 0, 391 392 "L_baseline_data_ideal": 0, 393 "L_candidate_data_ideal": 0, 394 395 "L_baseline_data_coder_a": 0, 396 "L_candidate_data_coder_a": 0, 397 398 "T_ideal": 0, 399 "T_coder_a": 0, 400 401 "uncertainty": { 402 "lower": 0, 403 "upper": 0, 404 "method": "..." 405 } 406 } 407 \end{verbatim} 408 409 \section{Final experiment receipt} 410 411 \begin{verbatim} 412 { 413 "experiment_id": "EXP-001", 414 "run_id": "EXP001-EVAL-0001", 415 416 "profile_digest": "sha256:...", 417 "preregistration_digest": "sha256:...", 418 419 "candidate_root": "sha256:...", 420 "dataset_root": "sha256:...", 421 "probability_root": "sha256:...", 422 "coding_root": "sha256:...", 423 "analysis_root": "sha256:...", 424 425 "primary_endpoint": "...", 426 "gate": "PASS", 427 428 "signed_by": "...", 429 "signature": "..." 430 } 431 \end{verbatim} 432 433 \part{Common Command-Line Interface} 434 435 \section{CLI design} 436 437 Use a single control-plane CLI: 438 \begin{verbatim} 439 turing 440 \end{verbatim} 441 Suggested top-level commands: 442 \begin{verbatim} 443 turing profile 444 turing prereg 445 turing power 446 turing data 447 turing candidate 448 turing predict 449 turing code 450 turing score 451 turing verify 452 turing stats 453 turing experiment 454 turing replicate 455 turing publish 456 \end{verbatim} 457 458 \section{Profile commands} 459 460 Draft validation: 461 \begin{verbatim} 462 turing profile validate \ 463 profiles/draft/Turing-profile-v1.0.toml 464 \end{verbatim} 465 Freeze: 466 \begin{verbatim} 467 turing profile freeze \ 468 profiles/draft/Turing-profile-v1.0.toml \ 469 --out profiles/frozen/ 470 \end{verbatim} 471 Verify: 472 \begin{verbatim} 473 turing profile verify \ 474 profiles/frozen/Turing-profile-v1.0.toml 475 \end{verbatim} 476 After freeze, editing the profile requires a new version. 477 478 \section{Power simulation} 479 480 Example: 481 \begin{verbatim} 482 turing power run \ 483 --experiment EXP-002B \ 484 --config preregistration/EXP-002B.power.toml \ 485 --replicates 10000 \ 486 --out experiments/EXP-002B/power/ 487 \end{verbatim} 488 Output must include: 489 \begin{verbatim} 490 assumed effect sizes 491 sample size 492 estimated interval width 493 estimated false-positive rate 494 estimated false-negative rate 495 simulation seed 496 simulation code digest 497 \end{verbatim} 498 The output becomes part of preregistration. 499 500 \section{Candidate freeze} 501 502 \begin{verbatim} 503 turing candidate freeze \ 504 --candidate build/candidates/M1 \ 505 --profile profiles/frozen/Turing-profile-v1.0.toml \ 506 --out experiments/EXP-001/frozen_candidates/M1/ 507 \end{verbatim} 508 Then: 509 \begin{verbatim} 510 turing candidate verify-freeze \ 511 experiments/EXP-001/frozen_candidates/M1/ 512 \end{verbatim} 513 The evaluator must refuse any candidate whose freeze receipt is newer than the sealed-data release timestamp. 514 515 \section{Hidden data generation} 516 517 Evaluator-only command: 518 \begin{verbatim} 519 turing data generate \ 520 --experiment EXP-002A \ 521 --split sealed_test \ 522 --profile profiles/frozen/Turing-profile-v1.0.toml \ 523 --secret-config /secure/EXP002A-secret.toml \ 524 --out /secure/sealed/EXP-002A/ 525 \end{verbatim} 526 Publish only commitments: 527 \begin{verbatim} 528 turing data commit \ 529 /secure/sealed/EXP-002A/ \ 530 --publish experiments/EXP-002A/commitments/ 531 \end{verbatim} 532 533 \section{Prediction} 534 535 After candidate freeze: 536 \begin{verbatim} 537 turing predict \ 538 --candidate experiments/EXP-001/frozen_candidates/M1/ \ 539 --dataset /secure/sealed/EXP-001/test.bin \ 540 --profile profiles/frozen/Turing-profile-v1.0.toml \ 541 --out /secure/results/EXP-001/M1.prob 542 \end{verbatim} 543 Freeze the probability stream immediately. 544 545 \section{Coding} 546 547 Range coder: 548 \begin{verbatim} 549 turing code range \ 550 --probabilities M1.prob \ 551 --observations test.bin \ 552 --out M1.range 553 \end{verbatim} 554 rANS: 555 \begin{verbatim} 556 turing code rans \ 557 --probabilities M1.prob \ 558 --observations test.bin \ 559 --out M1.rans 560 \end{verbatim} 561 Verify: 562 \begin{verbatim} 563 turing code verify M1.range 564 turing code verify M1.rans 565 \end{verbatim} 566 567 \section{Scoring} 568 569 Primary scorer: 570 \begin{verbatim} 571 turing score primary \ 572 --candidate M1 \ 573 --baseline B0 \ 574 --dataset test.bin \ 575 --profile Turing-profile-v1.0.toml \ 576 --out score-primary.json 577 \end{verbatim} 578 Independent scorer: 579 \begin{verbatim} 580 turing score independent \ 581 --candidate-artifacts published/... \ 582 --out score-independent.json 583 \end{verbatim} 584 The independent scorer must be a separate crate/package with no dependency on \texttt{turing-score}. 585 586 \section{Gate execution} 587 588 \begin{verbatim} 589 turing experiment gate EXP-001 \ 590 --prereg preregistration/EXP-001.md \ 591 --artifacts experiments/EXP-001/run-0001/ 592 \end{verbatim} 593 Output: 594 \begin{verbatim} 595 PASS 596 FAIL 597 INCONCLUSIVE 598 \end{verbatim} 599 \texttt{INCONCLUSIVE} must exist. Not every non-pass is proof of a false hypothesis. 600 601 \part{Statistical Analysis} 602 603 \section{Experimental unit} 604 605 For stochastic-process experiments, the primary independent unit should normally be the independently generated trajectory or hidden world rather than each time step. Observations inside a trajectory are correlated. Do not calculate confidence intervals by pretending every time sample is an independent replicate. This follows the calibration program's instruction to use block resampling for correlated observations rather than treating them as independent. 606 607 \section{Primary uncertainty procedure} 608 609 Recommended default for the first calibration series: 610 \begin{verbatim} 611 trajectory-level paired bootstrap 612 \end{verbatim} 613 when comparing models evaluated on the same hidden trajectories. For candidates A and B, calculate per-world: 614 \begin{verbatim} 615 delta_T_i = T_A,i - T_B,i 616 \end{verbatim} 617 Resample entire worlds/trajectories with replacement. Estimate: 618 \begin{verbatim} 619 median or mean delta_T 620 95% interval 621 probability delta_T > 0 under bootstrap distribution 622 \end{verbatim} 623 The exact estimator must be frozen before evaluation. 624 625 \section{Sequential dependence} 626 627 If each trajectory contains time-series dependence, either: 628 \begin{verbatim} 629 treat the entire trajectory as one resampling unit 630 \end{verbatim} 631 or use a preregistered moving/stationary block bootstrap when within-trajectory inference is required. Do not choose the block size after inspecting candidate differences. 632 633 \section{EXP-001 statistics} 634 635 Primary quantities: 636 \begin{verbatim} 637 coder overhead: 638 L_coded - L_ideal 639 640 rank agreement: 641 ideal ordering vs coder ordering 642 643 T difference: 644 T_coded - T_ideal 645 \end{verbatim} 646 Recommended tests: 647 \begin{verbatim} 648 Spearman rank correlation 649 paired trajectory bootstrap for discrepancy 650 predefined equivalence interval for coder overhead 651 \end{verbatim} 652 Do not use only a significance test. EXP-001 is fundamentally an equivalence/calibration problem. Define an acceptable discrepancy envelope first. 653 654 \section{Memorizer control} 655 656 Primary question: 657 \begin{verbatim} 658 Does M_mem achieve positive generalized T after L(M_mem)? 659 \end{verbatim} 660 Test across independent sealed worlds. Preregister expected sign. If the memorizer wins, investigate the accounting before claiming that memorization is scientifically rewarded. 661 662 \section{EXP-002A statistics} 663 664 For each candidate compare: 665 \begin{verbatim} 666 held-out T 667 development-to-held-out degradation 668 false-structure selection rate 669 \end{verbatim} 670 Primary contrasts: 671 \begin{verbatim} 672 diffusion vs drifted diffusion 673 diffusion vs polynomial 674 diffusion vs OU 675 diffusion vs memorizer 676 \end{verbatim} 677 Preregister whether the experiment uses: 678 \begin{verbatim} 679 family-wise correction 680 false-discovery-rate control 681 or hierarchical testing 682 \end{verbatim} 683 Do not decide after seeing which comparison succeeds. 684 685 \section{EXP-002A pass criterion} 686 687 A recommended preregistered form is: 688 \begin{verbatim} 689 P(diffusion has greater held-out delta_T than 690 each designated false-structure control) 691 must exceed declared criterion, 692 and the uncertainty interval on the relevant 693 paired contrast must exclude the failure region. 694 \end{verbatim} 695 Insert actual numerical criteria only after power simulation. Do not copy arbitrary \texttt{p < .05} conventions without checking experimental power. 696 697 \section{EXP-002B statistics} 698 699 The main object is the Occam curve: 700 \begin{verbatim} 701 mu 702 -> 703 delta_T(drift - diffusion) 704 \end{verbatim} 705 Fit or summarize this curve without assuming a convenient parametric shape unless preregistered. Estimate: 706 \begin{verbatim} 707 zero-effect behavior 708 transition region 709 strong-effect behavior 710 \end{verbatim} 711 The critical null-world test is: 712 \begin{verbatim} 713 mu = 0 714 \end{verbatim} 715 where the drift parameter should not systematically earn its cost. 716 717 \section{EXP-002B crossing point} 718 719 Define: 720 \begin{verbatim} 721 mu* 722 \end{verbatim} 723 as the effect magnitude at which expected incremental T crosses zero. Estimate uncertainty for \texttt{mu*}. Because the crossing may be broad, report an interval rather than false precision. 724 725 \section{EXP-002C statistics} 726 727 Primary contrast: 728 \begin{verbatim} 729 OU 730 vs 731 diffusion 732 vs 733 drift 734 \end{verbatim} 735 across intervention strata: 736 \begin{verbatim} 737 near equilibrium 738 moderate displacement 739 far displacement 740 \end{verbatim} 741 Use a paired design: all candidate models evaluate the same generated trajectories. Test for: 742 \begin{verbatim} 743 model x intervention-regime interaction 744 \end{verbatim} 745 because the central scientific claim is structural generalization under changed initial conditions. 746 747 \section{EXP-002C explanatory criterion} 748 749 A candidate earns stronger explanatory support only if: 750 \begin{verbatim} 751 candidate frozen before intervention 752 753 predictive advantage survives intervention 754 755 advantage behaves in the direction predicted by 756 the proposed mechanism 757 \end{verbatim} 758 Passive compression alone does not establish causality or mechanism. 759 760 \section{EXP-002D statistics} 761 762 Compute cumulative net description length as environments are added. For specialists: 763 \begin{verbatim} 764 L_total_specialists(k) 765 \end{verbatim} 766 For unified model: 767 \begin{verbatim} 768 L_total_unified(k) 769 \end{verbatim} 770 Then: 771 \begin{verbatim} 772 delta_T_unification(k) 773 \end{verbatim} 774 Plot or tabulate this as a function of \texttt{k}. The desired pattern may legitimately be: 775 \begin{verbatim} 776 specialists better at small k 777 778 unified theory better after amortization 779 \end{verbatim} 780 Include heterogeneous negative-control environments. 781 782 \section{EXP-003 statistics} 783 784 Primary outcome: 785 \begin{verbatim} 786 observations-to-discrimination 787 \end{verbatim} 788 Secondary outcomes: 789 \begin{verbatim} 790 experiment count 791 elapsed experimental time 792 eventual confidence 793 T gained 794 \end{verbatim} 795 Compare active strategy against each frozen passive baseline on matched hidden worlds. Recommended analysis: 796 \begin{verbatim} 797 paired bootstrap of cost-to-threshold 798 799 survival/time-to-threshold analysis 800 if some runs never reach threshold 801 802 failure fraction 803 \end{verbatim} 804 Do not delete runs that fail to discriminate. They are part of the result. 805 806 \part{EXP-001 Runbook} 807 808 \section{Phase 001-A: engineering qualification} 809 810 Before sealed science: 811 \begin{verbatim} 812 range coder unit tests 813 rANS unit tests 814 round-trip tests 815 probability normalization tests 816 canonical serialization tests 817 digest tests 818 model-cost tests 819 candidate-freeze tests 820 dataset-overlap tests 821 independent-scorer parity on synthetic fixtures 822 \end{verbatim} 823 Required development gate: 824 \begin{verbatim} 825 EXP001_INFRA_READY = PASS 826 \end{verbatim} 827 828 \section{Phase 001-B: synthetic known-answer tests} 829 830 Create toy distributions where codelength is analytically known. Examples: 831 \begin{verbatim} 832 uniform binary source 833 834 strongly biased Bernoulli source 835 836 deterministic source with registered zero-probability handling 837 838 small Markov source 839 \end{verbatim} 840 Verify: 841 \begin{verbatim} 842 ideal codelength 843 ~= 844 actual coder length 845 \end{verbatim} 846 inside known implementation overhead. This is engineering validation, not scientific EXP-001 evidence. 847 848 \section{Phase 001-C: candidate freeze} 849 850 Freeze: 851 \begin{verbatim} 852 B0 853 B1 854 B2 855 B3 856 M_candidate 857 M_mem 858 \end{verbatim} 859 Generate: 860 \begin{verbatim} 861 candidate_manifest.json 862 artifact digest 863 model-code artifact 864 L(M) receipt 865 freeze timestamp 866 \end{verbatim} 867 After this point, candidate code is immutable. 868 869 \section{Phase 001-D: sealed evaluation} 870 871 Evaluator: 872 \begin{verbatim} 873 loads candidate 874 loads sealed observations 875 produces probability artifact 876 hashes probability artifact 877 runs both coders 878 verifies both decoders 879 calculates primary scores 880 \end{verbatim} 881 No candidate optimization occurs. 882 883 \section{Phase 001-E: independent verification} 884 885 Verifier receives: 886 \begin{verbatim} 887 profile 888 candidate manifest 889 model-code artifacts 890 probability streams 891 observations 892 coder artifacts 893 \end{verbatim} 894 Verifier does not receive the primary scorer source as a dependency. It independently reconstructs the result. 895 896 \section{EXP-001 final report} 897 898 Required sections: 899 \begin{verbatim} 900 Preregistration 901 902 Blinding 903 904 Candidate freeze 905 906 Model-cost accounting 907 908 Probability stream 909 910 Ideal codelength 911 912 Actual coder results 913 914 Memorizer result 915 916 Independent verification 917 918 Uncertainty 919 920 Failures/deviations 921 922 Gate decision 923 \end{verbatim} 924 Required summary table: 925 \begin{verbatim} 926 candidate 927 L(M) 928 L_ideal 929 L_range 930 L_rANS 931 T_ideal 932 T_range 933 T_rANS 934 uncertainty 935 gate 936 \end{verbatim} 937 938 \part{EXP-002 Runbook} 939 940 \section{Hidden-world generation architecture} 941 942 All stochastic generators should implement one common interface: 943 \begin{verbatim} 944 trait HiddenWorld { 945 type Parameters; 946 type State; 947 type Observation; 948 949 fn sample_parameters(secret_rng: &mut Rng) -> Self::Parameters; 950 951 fn initialize( 952 params: &Self::Parameters, 953 secret_rng: &mut Rng 954 ) -> Self::State; 955 956 fn step( 957 state: &mut Self::State, 958 params: &Self::Parameters, 959 secret_rng: &mut Rng 960 ) -> Self::Observation; 961 } 962 \end{verbatim} 963 Candidate code must never receive \texttt{Parameters}. It receives only the observation stream and public metadata allowed by the profile. 964 965 \section{EXP-002A generation} 966 967 Private generator: 968 \begin{verbatim} 969 dX = sqrt(2D) dW 970 \end{verbatim} 971 Secret fields: 972 \begin{verbatim} 973 D 974 x0 975 seed 976 \end{verbatim} 977 Public fields may include: 978 \begin{verbatim} 979 dt 980 observation units 981 quantization definition 982 \end{verbatim} 983 if preregistered. Generate: 984 \begin{verbatim} 985 development worlds 986 calibration worlds 987 sealed worlds 988 replication worlds 989 \end{verbatim} 990 from non-overlapping seed domains. 991 992 \section{EXP-002B generation} 993 994 Private generator: 995 \begin{verbatim} 996 dX = mu dt + sqrt(2D) dW 997 \end{verbatim} 998 Secret: 999 \begin{verbatim} 1000 mu 1001 D 1002 x0 1003 seed 1004 \end{verbatim} 1005 Stratify hidden worlds across preregistered \texttt{mu} levels. Do not encode the stratum into filenames visible to candidates. Use opaque world IDs. 1006 1007 \section{EXP-002C generation} 1008 1009 Private generator: 1010 \begin{verbatim} 1011 dX = -theta X dt + sigma dW 1012 \end{verbatim} 1013 Secret: 1014 \begin{verbatim} 1015 theta 1016 sigma 1017 x0 1018 seed 1019 \end{verbatim} 1020 For intervention evaluation, evaluator chooses starting state according to the preregistered intervention stratum. Candidate cannot update parameters after intervention identities are disclosed unless the protocol explicitly defines online updating. For the first calibration series, prefer frozen candidates. 1021 1022 \section{EXP-002D environment family} 1023 1024 Represent environment families in a sealed manifest: 1025 \begin{verbatim} 1026 { 1027 "family_id": "UFAM-001", 1028 "worlds": [ 1029 "opaque-world-001", 1030 "opaque-world-002", 1031 "opaque-world-003" 1032 ] 1033 } 1034 \end{verbatim} 1035 Do not expose which world belongs to which generator family before evaluation where that information would trivialize the task. 1036 1037 \part{EXP-003 Runbook} 1038 1039 \section{Experiment API} 1040 1041 EXP-003 needs an explicit intervention API. Conceptual request: 1042 \begin{verbatim} 1043 { 1044 "experiment_id": "INT-0041", 1045 1046 "action": { 1047 "initial_displacement": "...", 1048 "observation_horizon": "...", 1049 "sampling_interval": "...", 1050 "replicates": 4 1051 }, 1052 1053 "predictions": [ 1054 { 1055 "hypothesis": "H0", 1056 "distribution_digest": "sha256:..." 1057 }, 1058 { 1059 "hypothesis": "H1", 1060 "distribution_digest": "sha256:..." 1061 } 1062 ], 1063 1064 "expected_information_gain": "...", 1065 1066 "committed_at": "...", 1067 "commitment_digest": "sha256:..." 1068 } 1069 \end{verbatim} 1070 The evaluator must reject any intervention outside the legal action space. 1071 1072 \section{Commit-before-reveal protocol} 1073 1074 EXP-003 round: 1075 \begin{verbatim} 1076 candidate proposes intervention 1077 -> 1078 candidate provides predicted distributions 1079 -> 1080 candidate provides expected information gain 1081 -> 1082 request artifact is hashed 1083 -> 1084 evaluator verifies legality 1085 -> 1086 experiment executes 1087 -> 1088 result artifact is generated 1089 -> 1090 result is revealed to candidate 1091 \end{verbatim} 1092 This prevents retrospective prediction. 1093 1094 \section{Passive-baseline replay} 1095 1096 The evaluator should precompute or execute: 1097 \begin{verbatim} 1098 fixed schedule 1099 random legal policy 1100 regular non-adaptive schedule 1101 \end{verbatim} 1102 over matched hidden worlds. Use the same discrimination rule for every strategy. 1103 1104 \section{Discrimination rule} 1105 1106 Freeze a criterion such as: 1107 \begin{verbatim} 1108 posterior odds 1109 likelihood ratio 1110 predefined model-evidence difference 1111 or Turing-based decision boundary 1112 \end{verbatim} 1113 before evaluation. The choice must not depend on which method performs best. 1114 1115 \section{Counterfactual archive} 1116 1117 For each active choice, evaluator may later compute: 1118 \begin{verbatim} 1119 what would each other legal experiment 1120 have revealed? 1121 \end{verbatim} 1122 Store this in: 1123 \begin{verbatim} 1124 counterfactual/ 1125 \end{verbatim} 1126 but keep it hidden from the live candidate. Use it after the run to evaluate the quality of experiment selection. 1127 1128 \part{Agent Assignments} 1129 1130 \section{Agent 1: Metrology Lead} 1131 1132 Owns: 1133 \begin{verbatim} 1134 Turing-profile-v1.0 1135 L(M) 1136 shared-background definition 1137 quantization rules 1138 gate definitions 1139 \end{verbatim} 1140 Must not write candidate models. Primary deliverables: 1141 \begin{verbatim} 1142 profile 1143 MODEL_CODE.md 1144 STATISTICS.md 1145 claim ladder 1146 \end{verbatim} 1147 1148 \section{Agent 2: Blinding and Data Custodian} 1149 1150 Owns: 1151 \begin{verbatim} 1152 sealed-data generator 1153 secret seeds 1154 parameter commitments 1155 candidate/test separation 1156 dataset manifests 1157 \end{verbatim} 1158 Must not work on candidate ranking logic. Primary deliverables: 1159 \begin{verbatim} 1160 generator 1161 sealed manifests 1162 commitments 1163 overlap audit 1164 \end{verbatim} 1165 1166 \section{Agent 3: Range-Coder Lead} 1167 1168 Owns only: 1169 \begin{verbatim} 1170 turing-coder-range 1171 \end{verbatim} 1172 Must not inspect the rANS implementation. Deliverables: 1173 \begin{verbatim} 1174 range coder 1175 decoder 1176 round-trip tests 1177 coder receipt 1178 \end{verbatim} 1179 1180 \section{Agent 4: rANS Lead} 1181 1182 Owns only: 1183 \begin{verbatim} 1184 turing-coder-rans 1185 \end{verbatim} 1186 Must not reuse the range coder implementation. Independent code paths are intentional. 1187 1188 \section{Agent 5: Primary Scoring Lead} 1189 1190 Owns: 1191 \begin{verbatim} 1192 turing-score 1193 \end{verbatim} 1194 Implements: 1195 \begin{verbatim} 1196 L(M) 1197 ideal codelength 1198 coded T 1199 uncertainty interface 1200 \end{verbatim} 1201 Does not own independent verification. 1202 1203 \section{Agent 6: Independent Verification Lead} 1204 1205 Owns: 1206 \begin{verbatim} 1207 turing-score-independent 1208 turing-verify 1209 \end{verbatim} 1210 May read the specification. Must not import primary scorer libraries. Its job is to disagree when there is a bug. 1211 1212 \section{Agent 7: Statistics Lead} 1213 1214 Owns: 1215 \begin{verbatim} 1216 power simulation 1217 bootstrap implementation 1218 equivalence tests 1219 multiple-comparison strategy 1220 Occam transition analysis 1221 EXP-003 cost-to-threshold analysis 1222 \end{verbatim} 1223 Must freeze analysis code before sealed outcome inspection where feasible. 1224 1225 \section{Agent 8: EXP-001 Integrator} 1226 1227 Owns no primitive scoring/coder implementation. Coordinates artifacts from Agents 1--7. Runs: 1228 \begin{verbatim} 1229 EXP-001 engineering qualification 1230 candidate freeze 1231 sealed run 1232 verification 1233 gate 1234 report 1235 \end{verbatim} 1236 1237 \section{Agent 9: EXP-002A Lead} 1238 1239 Owns: 1240 \begin{verbatim} 1241 pure-diffusion experiment 1242 false-structure controls 1243 development/sealed result assembly 1244 \end{verbatim} 1245 Uses common generator and scorer interfaces. 1246 1247 \section{Agent 10: EXP-002B Lead} 1248 1249 Owns: 1250 \begin{verbatim} 1251 drift sweep 1252 effect-size design 1253 Occam curve 1254 mu* estimation 1255 \end{verbatim} 1256 Coordinates with Statistics Lead before preregistration. 1257 1258 \section{Agent 11: EXP-002C Lead} 1259 1260 Owns: 1261 \begin{verbatim} 1262 OU worlds 1263 intervention regimes 1264 mechanism-generalization analysis 1265 \end{verbatim} 1266 1267 \section{Agent 12: EXP-002D Lead} 1268 1269 Owns: 1270 \begin{verbatim} 1271 specialist vs unified representation comparison 1272 environment scaling 1273 negative-control unification suite 1274 \end{verbatim} 1275 1276 \section{Agent 13: EXP-003 Lead} 1277 1278 Owns: 1279 \begin{verbatim} 1280 legal intervention API 1281 active experiment policy interface 1282 passive baselines 1283 decision threshold 1284 counterfactual analysis 1285 \end{verbatim} 1286 Must not have access to the evaluator's hidden generator identity. 1287 1288 \section{Agent 14: Adversarial Reviewer} 1289 1290 Has read access to everything except unreleased sealed secrets. Attempts to break: 1291 \begin{verbatim} 1292 blinding 1293 L(M) 1294 metadata accounting 1295 seed isolation 1296 coder overhead accounting 1297 statistical assumptions 1298 candidate/test separation 1299 intervention commitment 1300 \end{verbatim} 1301 Produces: 1302 \begin{verbatim} 1303 ADVERSARIAL_REVIEW.md 1304 \end{verbatim} 1305 before final gate signing. 1306 1307 \section{Agent 15: Reproduction Lead} 1308 1309 Starts from a clean checkout. Receives only what an external laboratory would receive. Must reproduce: 1310 \begin{verbatim} 1311 EXP-001 1312 one EXP-002 family 1313 \end{verbatim} 1314 without assistance from original implementation authors once the run begins. 1315 1316 \part{Orchestration} 1317 1318 \section{Parallelization map} 1319 1320 The safe parallel work before CAL-0 freeze is: 1321 \begin{verbatim} 1322 Lane A 1323 Profile + model-code specification 1324 1325 Lane B 1326 Range coder 1327 1328 Lane C 1329 rANS coder 1330 1331 Lane D 1332 Primary scorer 1333 1334 Lane E 1335 Independent scorer 1336 1337 Lane F 1338 Generator framework 1339 1340 Lane G 1341 Statistics/power tooling 1342 1343 Lane H 1344 Artifact schemas + receipts 1345 \end{verbatim} 1346 These lanes have intentionally separate file ownership. After CAL-0 freeze, the metrology rules stop changing. Then: 1347 \begin{verbatim} 1348 EXP-001 executes serially 1349 1350 EXP-002A/B/C generator preparation 1351 may proceed in parallel 1352 1353 but final evaluation occurs only after 1354 the necessary preceding qualification gate 1355 \end{verbatim} 1356 EXP-003 infrastructure may be developed early, but scientific execution should wait until the measurement/discrimination stack has demonstrated credibility. 1357 1358 \section{Pull-request ownership rule} 1359 1360 Every PR declares: 1361 \begin{verbatim} 1362 owned paths 1363 non-owned paths 1364 experiment dependency 1365 expected receipt 1366 \end{verbatim} 1367 Example: 1368 \begin{verbatim} 1369 Owned: 1370 crates/turing-coder-rans/** 1371 1372 Do not modify: 1373 crates/turing-coder-range/** 1374 crates/turing-score/** 1375 profiles/frozen/** 1376 \end{verbatim} 1377 No agent may edit a frozen profile. 1378 1379 \part{Full Command Sequence} 1380 1381 \section{Clean qualification build} 1382 1383 \begin{verbatim} 1384 git clone turing-lab-clean 1385 cd turing-lab-clean 1386 1387 cargo test --workspace --locked 1388 \end{verbatim} 1389 Then: 1390 \begin{verbatim} 1391 turing profile validate \ 1392 profiles/draft/Turing-profile-v1.0.toml 1393 1394 turing power run \ 1395 --all-preregistered 1396 1397 turing profile freeze \ 1398 profiles/draft/Turing-profile-v1.0.toml 1399 \end{verbatim} 1400 Verify: 1401 \begin{verbatim} 1402 turing profile verify \ 1403 profiles/frozen/Turing-profile-v1.0.toml 1404 \end{verbatim} 1405 Expected gate: 1406 \begin{verbatim} 1407 TURING_PROFILE_V1_FROZEN = PASS 1408 \end{verbatim} 1409 1410 \section{EXP-001 commands} 1411 1412 Freeze candidates: 1413 \begin{verbatim} 1414 turing candidate freeze --all \ 1415 --experiment EXP-001 1416 \end{verbatim} 1417 Verify chronology: 1418 \begin{verbatim} 1419 turing blind verify \ 1420 --experiment EXP-001 1421 \end{verbatim} 1422 Generate/release sealed test to evaluator: 1423 \begin{verbatim} 1424 turing data evaluator-open \ 1425 --experiment EXP-001 1426 \end{verbatim} 1427 Predict: 1428 \begin{verbatim} 1429 turing predict all \ 1430 --experiment EXP-001 1431 \end{verbatim} 1432 Code: 1433 \begin{verbatim} 1434 turing code all \ 1435 --experiment EXP-001 \ 1436 --coders range,rans 1437 \end{verbatim} 1438 Score: 1439 \begin{verbatim} 1440 turing score primary \ 1441 --experiment EXP-001 1442 \end{verbatim} 1443 Independent verification: 1444 \begin{verbatim} 1445 turing score independent \ 1446 --experiment EXP-001 1447 \end{verbatim} 1448 Statistics: 1449 \begin{verbatim} 1450 turing stats run \ 1451 --experiment EXP-001 1452 \end{verbatim} 1453 Gate: 1454 \begin{verbatim} 1455 turing experiment gate EXP-001 1456 \end{verbatim} 1457 1458 \section{EXP-002A commands} 1459 1460 \begin{verbatim} 1461 turing experiment prepare EXP-002A 1462 1463 turing candidate freeze --all \ 1464 --experiment EXP-002A 1465 1466 turing data evaluator-open \ 1467 --experiment EXP-002A 1468 1469 turing predict all \ 1470 --experiment EXP-002A 1471 1472 turing code all \ 1473 --experiment EXP-002A 1474 1475 turing score primary \ 1476 --experiment EXP-002A 1477 1478 turing stats run \ 1479 --experiment EXP-002A 1480 1481 turing experiment gate EXP-002A 1482 \end{verbatim} 1483 1484 \section{EXP-002B commands} 1485 1486 \begin{verbatim} 1487 turing power run \ 1488 --experiment EXP-002B 1489 1490 turing prereg verify EXP-002B 1491 1492 turing candidate freeze --all \ 1493 --experiment EXP-002B 1494 1495 turing experiment run EXP-002B 1496 1497 turing stats occam-curve \ 1498 --experiment EXP-002B 1499 1500 turing experiment gate EXP-002B 1501 \end{verbatim} 1502 1503 \section{EXP-002C commands} 1504 1505 Observational run: 1506 \begin{verbatim} 1507 turing experiment run EXP-002C \ 1508 --phase observational 1509 \end{verbatim} 1510 Freeze again only if the preregistered protocol explicitly calls for an observational-fitting stage followed by candidate freeze. Then: 1511 \begin{verbatim} 1512 turing experiment run EXP-002C \ 1513 --phase intervention \ 1514 --candidate-mode frozen 1515 \end{verbatim} 1516 Analyze: 1517 \begin{verbatim} 1518 turing stats mechanism \ 1519 --experiment EXP-002C 1520 \end{verbatim} 1521 Gate: 1522 \begin{verbatim} 1523 turing experiment gate EXP-002C 1524 \end{verbatim} 1525 1526 \section{EXP-002D commands} 1527 1528 \begin{verbatim} 1529 turing experiment run EXP-002D \ 1530 --strategy specialists 1531 1532 turing experiment run EXP-002D \ 1533 --strategy unified 1534 1535 turing stats unification \ 1536 --experiment EXP-002D 1537 1538 turing experiment gate EXP-002D 1539 \end{verbatim} 1540 1541 \section{EXP-003 commands} 1542 1543 Create initial ambiguous world: 1544 \begin{verbatim} 1545 turing experiment open EXP-003 1546 \end{verbatim} 1547 Candidate proposes: 1548 \begin{verbatim} 1549 turing experiment propose \ 1550 --experiment EXP-003 \ 1551 --candidate active-agent 1552 \end{verbatim} 1553 Commit: 1554 \begin{verbatim} 1555 turing experiment commit-intervention \ 1556 --request intervention.json 1557 \end{verbatim} 1558 Evaluator executes: 1559 \begin{verbatim} 1560 turing experiment execute-intervention \ 1561 --commitment 1562 \end{verbatim} 1563 Reveal: 1564 \begin{verbatim} 1565 turing experiment reveal-result \ 1566 --round 1567 \end{verbatim} 1568 Repeat until the fixed threshold or stopping rule is reached. Run baselines: 1569 \begin{verbatim} 1570 turing experiment baseline \ 1571 EXP-003 \ 1572 --policy fixed 1573 1574 turing experiment baseline \ 1575 EXP-003 \ 1576 --policy random 1577 1578 turing experiment baseline \ 1579 EXP-003 \ 1580 --policy regular 1581 \end{verbatim} 1582 Analyze: 1583 \begin{verbatim} 1584 turing stats active-vs-passive \ 1585 --experiment EXP-003 1586 \end{verbatim} 1587 Counterfactual audit: 1588 \begin{verbatim} 1589 turing experiment counterfactual \ 1590 --experiment EXP-003 1591 \end{verbatim} 1592 Gate: 1593 \begin{verbatim} 1594 turing experiment gate EXP-003 1595 \end{verbatim} 1596 1597 \part{Hard Acceptance Gates} 1598 1599 \section{CAL-0} 1600 1601 \begin{verbatim} 1602 profile complete 1603 model-code accounting complete 1604 power simulation complete 1605 sample size fixed 1606 analysis fixed 1607 blinding verified 1608 digest frozen 1609 \end{verbatim} 1610 Required: 1611 \begin{verbatim} 1612 TURING_PROFILE_V1_FROZEN = PASS 1613 \end{verbatim} 1614 1615 \section{EXP-001} 1616 1617 \begin{verbatim} 1618 both coders round-trip 1619 actual coding tracks ideal coding 1620 candidate result survives coder overhead 1621 memorizer behaves as preregistered 1622 independent scorer reproduces result 1623 fresh-seed result preserves conclusion 1624 \end{verbatim} 1625 Required: 1626 \begin{verbatim} 1627 EXP_001_COMPRESSION_BRIDGE = PASS 1628 \end{verbatim} 1629 The calibration program treats this as the first priority because the current result has not yet produced a correspondingly smaller real encoded file. 1630 1631 \section{EXP-002A} 1632 1633 \begin{verbatim} 1634 correct stochastic structure generalizes 1635 invented drift rejected 1636 invented mean reversion rejected 1637 curve-fitting decoy fails held-out test 1638 memorizer fails 1639 \end{verbatim} 1640 Required: 1641 \begin{verbatim} 1642 EXP_002A_RANDOMNESS_DISCRIMINATION = PASS 1643 \end{verbatim} 1644 1645 \section{EXP-002B} 1646 1647 \begin{verbatim} 1648 drift rejected at mu=0 1649 ambiguous region remains appropriately uncertain 1650 strong drift earns complexity 1651 Occam curve reproduces 1652 \end{verbatim} 1653 Required: 1654 \begin{verbatim} 1655 EXP_002B_OCCAM_TRANSITION = PASS 1656 \end{verbatim} 1657 1658 \section{EXP-002C} 1659 1660 \begin{verbatim} 1661 mean reversion distinguished 1662 wrong mechanisms rejected 1663 frozen law survives changed starting state 1664 intervention behavior agrees with mechanism 1665 \end{verbatim} 1666 Required: 1667 \begin{verbatim} 1668 EXP_002C_MECHANISM_DISCRIMINATION = PASS 1669 \end{verbatim} 1670 The calibration program makes this intervention step important because predictive compression alone does not justify calling a representation explanatory; stronger claims require invariance, counterfactual, causal, or mechanistic evidence. 1671 1672 \section{EXP-002D} 1673 1674 \begin{verbatim} 1675 real reuse earns its abstraction cost 1676 unified theory eventually amortizes when warranted 1677 forced unification loses on negative controls 1678 \end{verbatim} 1679 Required: 1680 \begin{verbatim} 1681 EXP_002D_UNIFICATION = PASS 1682 \end{verbatim} 1683 1684 \section{EXP-003} 1685 1686 \begin{verbatim} 1687 active selection uses same discrimination threshold 1688 predictions committed before outcomes 1689 interventions remain within legal space 1690 active policy reduces preregistered cost 1691 result repeats on fresh hidden worlds 1692 \end{verbatim} 1693 Required: 1694 \begin{verbatim} 1695 EXP_003_ACTIVE_EXPERIMENT_SELECTION = PASS 1696 \end{verbatim} 1697 The calibration program defines the core objective as beating a preregistered passive schedule in observations or energy needed to distinguish competing explanations. 1698 1699 \part{Lab Notebook} 1700 1701 \section{Every run gets a notebook record} 1702 1703 Required fields: 1704 \begin{verbatim} 1705 run_id 1706 operator 1707 date/time 1708 host identity 1709 git commit 1710 dirty-tree status 1711 profile digest 1712 experiment digest 1713 candidate digests 1714 dataset commitment 1715 environment variables affecting behavior 1716 hardware state 1717 unexpected events 1718 result 1719 receipt digest 1720 \end{verbatim} 1721 No undocumented manual correction is permitted. 1722 1723 \section{Deviations} 1724 1725 A deviation record must contain: 1726 \begin{verbatim} 1727 what differed from preregistration 1728 when discovered 1729 whether outcome was already visible 1730 scientific impact 1731 decision: 1732 continue 1733 invalidate 1734 rerun under new preregistration 1735 \end{verbatim} 1736 A deviation discovered after results are visible must never be silently corrected in place. 1737 1738 \part{Publication Package} 1739 1740 \section{EXP-001 publication} 1741 1742 Release: 1743 \begin{verbatim} 1744 frozen profile 1745 preregistration 1746 candidate manifests 1747 model-code artifacts 1748 probability streams 1749 both compressed streams 1750 decoders 1751 decoded verification 1752 primary score 1753 independent score 1754 statistics 1755 gate receipt 1756 failure logs 1757 \end{verbatim} 1758 If secrecy is no longer needed, release sealed observations and seed preimages. 1759 1760 \section{EXP-002 publication} 1761 1762 Release: 1763 \begin{verbatim} 1764 all of EXP-001 reproducibility machinery 1765 hidden-world commitments 1766 eventual parameter/seed disclosure 1767 candidate predictions 1768 world-level results 1769 bootstrap inputs 1770 control results 1771 rank-reversal analysis 1772 \end{verbatim} 1773 1774 \section{EXP-003 publication} 1775 1776 Additionally release: 1777 \begin{verbatim} 1778 every intervention proposal 1779 predicted distributions 1780 information-gain estimates 1781 commitment timestamps 1782 observed results 1783 passive baseline trajectories 1784 counterfactual audit 1785 cost-to-discrimination analysis 1786 \end{verbatim} 1787 1788 \part{First 30-Day Lab Target} 1789 1790 The project should not try to execute everything at once. The first laboratory target should be: 1791 \begin{verbatim} 1792 WEEK 1 1793 Freeze measurement/profile design 1794 Finish model-code specification 1795 Finish artifact schemas 1796 1797 WEEK 2 1798 Finish two independent coders 1799 Finish primary + independent scorer 1800 Complete synthetic known-answer tests 1801 1802 WEEK 3 1803 Freeze EXP-001 candidates 1804 Run power/sample-size checks 1805 Perform blinded EXP-001 1806 1807 WEEK 4 1808 Independent reconstruction 1809 Fresh-seed replication 1810 Publish EXP-001 calibration bundle 1811 \end{verbatim} 1812 Do not treat these calendar labels as scientific deadlines if qualification is incomplete. The gate matters more than the date. 1813 1814 \part{First Implementation PRs} 1815 1816 Recommended PR sequence: 1817 \begin{verbatim} 1818 PR 1 1819 Canonical artifact schemas 1820 1821 PR 2 1822 Turing-profile loader + freezer 1823 1824 PR 3 1825 Model-description accounting 1826 1827 PR 4 1828 Canonical probability stream 1829 1830 PR 5 1831 Range coder 1832 1833 PR 6 1834 rANS coder 1835 1836 PR 7 1837 Primary scorer 1838 1839 PR 8 1840 Independent scorer 1841 1842 PR 9 1843 Blinding + candidate freeze 1844 1845 PR 10 1846 Power/statistics package 1847 1848 PR 11 1849 EXP-001 orchestrator 1850 1851 PR 12 1852 EXP-001 adversarial controls 1853 1854 PR 13 1855 EXP-001 sealed evaluation artifacts 1856 1857 PR 14 1858 EXP-001 independent replication 1859 1860 PR 15 1861 EXP-002 generator framework 1862 1863 PR 16 1864 EXP-002A 1865 1866 PR 17 1867 EXP-002B 1868 1869 PR 18 1870 EXP-002C 1871 1872 PR 19 1873 EXP-002D 1874 1875 PR 20 1876 EXP-003 intervention protocol 1877 \end{verbatim} 1878 Do not let PR 11 implement another coder or another scoring formula. Those primitives must remain independently reviewable. 1879 1880 \part{Orchestrator Prompt} 1881 1882 Use the following prompt for the lead engineering agent. 1883 \begin{verbatim} 1884 You are the lead orchestrator for the TURING calibration laboratory. 1885 1886 Your responsibility is not to make the Turing succeed. 1887 1888 Your responsibility is to execute the preregistered experiments faithfully enough that a failure is scientifically meaningful. 1889 1890 Start by reading the frozen Turing measurement profile, experimental preregistrations, and current repository implementation. 1891 1892 Do not change any frozen profile or preregistered gate after sealed outcomes become visible. 1893 1894 Decompose implementation into non-overlapping lanes: 1895 1896 1. artifact schemas; 1897 2. model-description accounting; 1898 3. range coder; 1899 4. rANS coder; 1900 5. primary scorer; 1901 6. independent scorer; 1902 7. blinding/sealed-data machinery; 1903 8. statistical/power analysis; 1904 9. experiment integration; 1905 10. adversarial review. 1906 1907 Use separate agents for the two coders and two scorers. 1908 1909 No implementation agent may silently reuse the supposedly independent implementation. 1910 1911 For every lane require: 1912 - exact owned paths; 1913 - tests; 1914 - immutable commit; 1915 - evidence receipt; 1916 - independent review. 1917 1918 Execute scientific experiments serially through the qualification ladder: 1919 1920 CAL-0 1921 -> EXP-001 1922 -> EXP-002A 1923 -> EXP-002B 1924 -> EXP-002C 1925 -> EXP-002D 1926 -> EXP-003. 1927 1928 Development of later infrastructure may occur in parallel, but no downstream scientific claim may bypass an upstream failed gate. 1929 1930 Before each experiment: 1931 - verify clean repository state; 1932 - verify exact profile digest; 1933 - verify preregistration digest; 1934 - verify candidate freeze timestamps; 1935 - verify no candidate/sealed-data overlap; 1936 - verify sample size was fixed before sealed outcomes; 1937 - verify analysis code and primary endpoints. 1938 1939 After each experiment: 1940 - preserve raw artifacts; 1941 - preserve failures; 1942 - run independent verification; 1943 - generate uncertainty analysis; 1944 - generate PASS / FAIL / INCONCLUSIVE receipt; 1945 - never weaken the gate after seeing the outcome. 1946 1947 The final objective is not a large positive Turing score. 1948 1949 The objective is a calibration record in which the instrument demonstrably: 1950 - corresponds to physical compression; 1951 - rejects memorization; 1952 - rejects false stochastic structure; 1953 - rewards additional structure only when it earns its cost; 1954 - distinguishes mechanisms; 1955 - survives intervention; 1956 - rewards justified unification; 1957 - and helps select informative experiments. 1958 1959 Do not declare the Turing calibrated until the corresponding gates have actually passed. 1960 \end{verbatim} 1961 1962 \part{Definition of Done} 1963 1964 The first major laboratory milestone is complete only when an outside reviewer can: 1965 \begin{verbatim} 1966 clone the repository 1967 1968 verify Turing-profile-v1.0 1969 1970 inspect candidate freeze receipts 1971 1972 inspect sealed-data commitments 1973 1974 recompute L(M) 1975 1976 recompute ideal predictive codelength 1977 1978 decode both compressed streams 1979 1980 verify exact observation recovery 1981 1982 recompute coded T 1983 1984 run the independent scorer 1985 1986 rerun the statistical analysis 1987 1988 inspect the memorizer control 1989 1990 inspect all deviations 1991 1992 verify the gate receipt 1993 \end{verbatim} 1994 without asking the original experiment team how the result was produced. 1995 1996 That is the standard. A successful scientific result that cannot be reconstructed from its artifacts is not a successful calibration result. 1997 1998 The central methodological point remains the same as in the calibration program: the strongest evidence comes from preregistered cases in which the metric can fail (rejecting false drift, deterministic fits to noise, and wrong mean-reversion models) rather than from maximizing \(T\). The final credibility step is independent implementation and replication, where the same scientific candidates should win and lose for the same reasons even if exact numerical Turings differ. 1999 2000 \end{document}