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/benchmarks-mv/blob/main/docs/orig3/PROTOCOL.md # benchmarks-mv Measurement harnesses and evidence bundles for AIEN on the NVIDIA DGX Spark GB10. Speed is reported against the machine's physical limit and my own previous run. Attachment of AienOS. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `benchmarks-mv / docs / orig3 / PROTOCOL.md` 139 lines ยท 8055 bytes Raw Blame History Rendered 1 17 18 # ORIG-3 evaluator protocol (benchmarks-mv#45) 19 20 The preregistration is `manifests/prereg/orig3_selector.json`; it is checked by 21 `cargo run --release --bin bench_verify_prereg -- manifests/prereg`. This page is the 22 operator runbook for the phases `checkpoint_pin`, `sealed_tap` and `sealed_eval` of that 23 file. Nothing here is evidence: receipts live with the run that produced them. 24 25 Status words: PASS, FAIL, INCONCLUSIVE, NOT_RUN, BLOCKED. Decision words: GO, NO-GO, 26 INCONCLUSIVE. Host-only results are development results, never hardware qualification. 27 GB10 is NOT_RUN; energy is NOT_MEASURED. 28 29 ## 1. Preconditions 30 31 1. The prereg is FROZEN (every `turing_profile.G.background` revision pinned). 32 2. The candidate checkpoint (mlp_scratch image) and the affine image are final; their 33 sha256 and in-image FNV-1a 64 are committed under `docs/orig3/` together with the 34 training file FNV-1a 64. A checkpoint retrained after this commit is a new prereg_id. 35 3. The five baseline receipts exist (`baseline_before_eval`). 36 4. The host is uncontended: no other measurement, no model load, no GPU experiment. The 37 resident service on port 18091 is left alone; the tap runs on host cores only. 38 39 ## 2. Sealed tap (one run, executed only after step 1) 40 41 In an omega-mv checkout at the tap commit ``1ec813726aef5f5abf8ab449c5d8bd9738f88d2e`` 42 (branch `feat/731-orig4-shadow-advice`), with the aienos lock repository available: 43 44 ```sh 45 git checkout `1ec813726aef5f5abf8ab449c5d8bd9738f88d2e` 46 make AIENOS_LOCK_REPO=$HOME/workspace/aienos-`b84c0a67` build/rx_empirical_optimizer_test 47 sha256sum build/rx_empirical_optimizer_test 48 mkdir -p -m 0700 $HOME/.local/state/aien-train/orig1/sealed 49 OMEGA_EMPIRICAL_RECORDS=$HOME/.local/state/aien-train/orig1/sealed/records-.bin \ 50 EMPIRICAL_ALLOW_NO_WIN=1 ./build/rx_empirical_optimizer_test 51 ``` 52 53 Record in `run-.meta` next to the file: source commit, whether the tree was dirty, 54 the binary sha256, start and end timestamps, exit code. The record file stays mode 0600 and 55 local; only its FNV-1a 64, sha256 and per-family, per-core record counts are published. 56 57 Expected content per core class present: 60 H1 (family 2), 60 H2 (family 3) and 60 H3 58 (family 4) records, plus the harness's own train and validation families (0 and 1), which 59 the evaluation ignores. One run is about 64 s of host wall; that cost is counted once in the 60 cost ledger. 61 62 Then add one line ` AUTHORIZED orig3-sealed-final-` to the allow-list. 63 The file is single use: it is scored once per arm and never used for training, lr choice 64 or early stopping. If admission refuses it (any `oxload` status below 0) the set is void 65 (INCONCLUSIVE) and the reserve rule of the prereg applies: one more run, then stop. 66 67 ## 3. Sealed evaluation (.om) 68 69 Evaluation is the `selmain` driver of aien-train (`native/si19/selmain.om`) in mode `E` 70 (first stdin byte `E`), compiled as one concatenated unit with the seeded compiler whose 71 sha256 is ``191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9`` (the unit must 72 also compile unchanged under the R6 compiler ``734f0a39``). The stdin layout follows the 73 aien-train#25 driver interface: config word block, allow-list, the pinned image, then the 74 sealed records to EOF; `sleval` totals go to stdout per partition and core class, and 75 per-record lines go to fd 4. The exact invocation is fixed by aien-train#25 and is copied 76 here verbatim when `orig2_scorer_and_trainer` is pinned; until then this is the shape: 77 78 ```sh 79 OMC=/path/to/omc-`191b776e` 80 cat deps/add32.om deps/mul32.om deps/metadata.om deps/affine.om \ 81 native/si19/fixture.om native/si19/world.om native/si19/omexp.om \ 82 native/si19/omexpfix.om native/si19/select.om native/si19/selmain.om > eval.om 83 "$OMC" < eval.om > eval.elf && chmod +x eval.elf 84 { printf 'E'; cat config.bin allow.txt mlp_scratch.img sealed.bin; } | ./eval.elf 4>per-record.txt > totals.txt 85 ``` 86 87 Run it once per arm image (mlp_scratch, affine, untrained_control, shuffled_control, 88 no_update_control). fixed_rule, always_reference, best_static, retrieval and the oracle are 89 columns of the same per-record output (`rule`, `ref`, `static`, `near`, `oracle`), so they 90 need no image. The exit code must be 0; 65 (image refused), 66 (dataset refused) or 67 91 (unauthorized) voids the run for that arm and is reported as such. 92 93 ## 4. Decision 94 95 Apply `metrics.decision_rule` of the prereg on SEALED-FINAL H1 + H2 per core class: 96 97 - A: mlp_scratch total ps <= 0.95 x fixed_rule total ps, per core class, H1 + H2. 98 - B: <= always_reference. C: <= affine (same scope). 99 - D: one-sided exact sign test vs fixed_rule over discordant records: at least 37 wins of 100 60, at least 70 of 120 (smallest k with `1 - CDF[BinomialDistribution[n, 1/2], k - 1] < 101 1/20`; computed with the Wolfram Language evaluator, see the prereg `sign_test` block). 102 - E: mlp_scratch total ps <= 1.00 x min(best_static, retrieval), per core class: non-inferiority 103 to the cheap heuristics with no tolerance. On the owner records (development TEST) those 104 heuristics are already 1.0048/1.0137 (best_static) and 1.00007/1.0041 (retrieval) x oracle 105 on X925/A725, while fixed_rule is 1.559/1.447; beating the fixed rule is trivial. 106 - F: neither untrained_control nor shuffled_control satisfies A; no_update_control is 107 bit-identical to untrained_control (mode `C`, exit 0). 108 109 Levels: (1) GO when A to F all hold on every core class present. (2) NO-GO when 110 mlp_scratch > 1.01 x min(best_static, retrieval) on either core class, even if it beats the 111 fixed rule, always_reference and affine: the negative result is retained and has no shadow 112 promotion value. (3) INCONCLUSIVE otherwise. A win over the fixed rule alone is reported as 113 "beats incumbent, not superior to cheap heuristics" and is never GO. The paired sign tests 114 vs retrieval and vs best_static (same thresholds) are reported, not gated. H3 (pressure) and 115 the development TEST families of the training run are reported under their own headings and 116 never enter the decision. The optional `existing_c_costmodel` comparison, if its per-record 117 choice is recoverable, is reported with its own cost column and is never a teacher. 118 119 ## 5. Report 120 121 One status per claim in the prereg `claims` list. Keep negative, void and inconclusive 122 results. State on every report that the evaluator and the trainer are the same owner and 123 that sealing is temporal (the records did not exist before the checkpoint pin), which is 124 weaker than an independent judge. 125 126 ## 6. Judge and recorded outcome 127 128 The rule of section 4 is applied by `docs/orig3/judge.sh` (disclosed POSIX awk glue, kept 129 byte-identical to the copy that ran; its sha256 is in `evidence/ORIG3-SELECTOR/SHA256SUMS`, 130 which is why it carries no license header) and by its native twin 131 `src/bin/bench_orig3_judge.rs`. Both take the four per-record files (mlp, affine, shuffled, 132 untrained) and print the same lines; `tests/orig3_judge.rs` checks that the Rust judge 133 reproduces the committed `judge.out`. The repository's pure-Rust harness rule is not touched: 134 the awk file is evidence glue, not a harness, and the Rust bin is the maintained form. 135 136 Recorded outcome (2026-10-25, `evidence/ORIG3-SELECTOR/`): ORIG3_VERDICT=INCONCLUSIVE. A to E 137 hold on both core classes, F fails because the untrained and shuffled controls also beat the 138 fixed rule by more than 5%. See the evidence README for the table and the reading; the 139 prereg `sealed_run` block names the proposed (not run) v2 rule.