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/train/omega-llm/tools/combined/experiment/README.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 / train / omega-llm / tools / combined / experiment / README.md` 101 lines ยท 5467 bytes Raw Blame History Rendered 1 # Reproduce the selection experiment on AArch64 Linux 2 3 Use the repository seed compiler, Python 3.11+ for the outside judge, and the CPU 4 sampler and model files named in the combined solver README. The model files are 5 private. The published per-task responses can be audited without them. 6 7 For the traversal repair and rerun, use source 8 ``a5ec28b33a5950bbd98fa30f19945cb47f9932a9``. Both kits use the repaired 9 expression synthesizer. The baseline alone uses the sketcher from the verifier 10 fix. After building the two kits, install the identical sampler, merge table 11 and private checkpoints listed in the combined solver README in each kit. The public audit below needs none of these 12 model assets. 13 14 From the repository root, set `BASE` and `IMPROVED` to two new absolute kit paths. 15 16 ```sh 17 set -eu 18 E=train/omega-llm/tools/combined/experiment 19 sh seed/omega-from-seed.sh 20 train/omega-llm/tools/combined/build.sh "$BASE" 21 train/omega-llm/tools/combined/build.sh "$IMPROVED" 22 git show `e522d8a124b388473d4705ba524a46cf56f8476d`:seed/helix/ollm_factory/om_sketch.om > "$BASE/old-sketch.om" 23 "$BASE/omc" < "$BASE/old-sketch.om" > "$BASE/om_sketch" 24 "$E/build.sh" "$BASE" 25 "$E/build.sh" "$IMPROVED" 26 # Install the private model assets in both kits for the CLI runs below. 27 python3 "$E/fixture.py" 28 (cd "$E" && python3 -m unittest test_selection) 29 python3 "$E/measure.py" dev dev-before --kit "$BASE" --rewrite-only --jobs 5 30 python3 "$E/ablate.py" "$IMPROVED" dev-sketches 31 python3 "$E/measure.py" eval fresh --kit "$BASE" --improved "$IMPROVED" --jobs 8 32 python3 "$E/summarize.py" fresh 33 ``` 34 35 The output directories must be new. All four arms seal their programs before the 36 judge opens final scoring labels. Compare `baseline` to `improved_cli` for the 37 sketch change, `improved_cli` to `fixed` for candidate selection, and `fixed` to 38 `adaptive` for query selection. Both selectors use symbolic candidates. The CLI 39 can also attempt the frozen neural fallback. The `seconds` field times selection, 40 including queries and compilation. Final scoring is timed separately. Sum of task 41 seconds is cumulative elapsed selection time across workers. 42 43 The sketcher recognizes optional experiment spec lines `skip N` (skip N matching 44 sketches) and `rewrites MASK` (bit 0 enables the scaled next-item update, bit 1 45 the scaled first-item update). Normal invocations select the first match and enable 46 both new patterns after the existing library. The proposed scale is drawn from the 47 spec constants or from an exact ratio in an observed update. Every emitted program 48 must satisfy all supplied rows, including all eight array cells. 49 50 `fixed` and `adaptive` enumerate both engines in a deterministic order. In addition 51 to later sketch matches, the harness varies constant order, projects answered 52 examples and permutes scalar arguments to produce alternative expression programs. 53 It checks every proposal against all observed answers before admission. Programs 54 that fail on unlabeled probes yield an undefined prediction. No reference is queried 55 to generate proposals. See `protocol.md` for scoring and advancement rules. 56 57 ## Recorded interruption and diagnostic continuation 58 59 The first registered run, before the traversal repair, stopped before final scoring. The expression synthesizer exited 60 104 on the fixed task `eval-equal-offset-4` and the production CLI returned 70. 61 The receipt includes the public numeric spec. Passing it to 62 `om_synth solve INPUT_SPEC OUTPUT_FUNCTION` reproduces the component failure. 63 For that historical comparison, use the two kits recorded in the [interruption report](../../../../../evidence/OMEGALLM-SELECTION-`20261123`/REPORT.md), including the preceding synthesizer. First let the registered command stop. 64 Keep the output directory, then run: 65 66 ```sh 67 python3 "$E/measure.py" eval fresh --kit "$BASE" --improved "$IMPROVED" --jobs 8 --diagnose-interruption 68 python3 "$E/summarize.py" fresh 69 ``` 70 71 The diagnostic harness checks the fixture and both kit fingerprints, retains the 72 sealed prefix and records execution errors separately. A failed candidate run has 73 no selected program. Only retained invocations have complete query accounting. 74 This diagnostic continuation is ineligible for promotion. The selection algorithm, 75 reference, input split, model weights and sandboxed executables have the same 76 hashes or source as the registered run. 77 78 ## Replay the published grades using public source 79 80 From the experiment checkout, the following commands build the seeded compiler 81 and prediction instrument and execute every published answer on the frozen final scoring 82 inputs. The audit compares each observed verdict and first counterexample with 83 the receipt. The neural sampler and checkpoints are needed only to regenerate 84 the complete CLI comparison. 85 86 ```sh 87 E=train/omega-llm/tools/combined/experiment 88 sh seed/omega-from-seed.sh 89 A=$(mktemp -d) 90 train/omega-llm/tools/combined/build.sh "$A/kit" 91 "$E/build.sh" "$A/kit" 92 python3 "$E/audit.py" evidence/OMEGALLM-FRONTIER-`20261123`/comparison.*.json "$A/kit" --replay-selection --jobs 6 93 python3 "$E/test_rewrites.py" "$A/kit" 94 ``` 95 96 The historical checked and prompt-only conditions use the improved kit. Run 97 `python3 train/omega-llm/tools/combined/regression.py "$IMPROVED" history --jobs 6` 98 from the repository root with a new output directory. The traversal checks use 99 `bash seed/helix/ollm_factory/neuro-symbolic-gate.sh` and 100 `python3 evidence/OMEGALLM-FRONTIER-`20261123`/controls.py`. The theorem file uses 101 Lean 4 with the standard library.