interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / evidence / OLLM-AB4-ROUNDS-4-11-20261122 / harness / supplement.sh

66 lines · 3794 bytes Raw Blame History
1#!/bin/sh
2# supplement.sh REVIEW_CLONE : pins and records asked for by review 1 (CPU only, read-only on inputs).
3set -u
4CLONE="$1"
5CAMP=/home/drakestapleton/work/ollm-helix-rlvr-20261121
6VLOOP=/home/drakestapleton/work/ollm-loop-20261121
7R=$CAMP/rounds
8S=$R/supplement
9rm -rf "$S"; mkdir -p "$S"
10
11# 1. generators: binary sha256, and whether today's repository source compiles to the same bytes
12{
13 echo "# generator binaries used for the task records, and a rebuild from repository source"
14 echo "# source tree: $CLONE at $(cd "$CLONE" && cat .git/HEAD 2>/dev/null) ; compiler $CAMP/bin/omc sha256 $(sha256sum "$CAMP/bin/omc" | cut -c1-64)"
15 for g in rlvr_factory rlvr_compositional rlvr_idioms rlvr_breadth; do
16 b=$(sha256sum "$CAMP/bin/$g" | cut -c1-64)
17 r=$("$CAMP/bin/omc" < "$CLONE/seed/helix/ollm_factory/$g.om" 2>/dev/null | sha256sum | cut -c1-64)
18 s=$(sha256sum "$CLONE/seed/helix/ollm_factory/$g.om" | cut -c1-64)
19 if [ "$b" = "$r" ]; then v=IDENTICAL; else v=DIFFERENT; fi
20 echo "$g binary_sha256 $b source_sha256 $s rebuilt_from_source_sha256 $r rebuild $v"
21 done
22 echo "# variant outputs first used in round 6: for v in 6 7 8 9: <generator> corpus \$v, appended"
23 for g in rlvr_idioms rlvr_compositional rlvr_factory; do
24 t=$(mktemp); for v in 6 7 8 9; do "$CAMP/bin/$g" corpus $v >> "$t"; done
25 echo "$g corpus 6..9 regenerated_sha256 $(sha256sum "$t" | cut -c1-64) used_file_sha256 $(sha256sum "$R/r5/${g}_v6_9.om" | cut -c1-64)"
26 rm -f "$t"
27 done
28 t=$(mktemp); for v in 1 2 3 4 5 6 7 8 9; do "$CAMP/bin/rlvr_breadth" corpus $v >> "$t"; done
29 echo "rlvr_breadth corpus 1..9 regenerated_sha256 $(sha256sum "$t" | cut -c1-64) used_file_sha256 $(sha256sum "$CAMP/ab4_cycle2/breadth/breadth_raw.om" | cut -c1-64)"
30 rm -f "$t"
31} > "$S/generator_pins.txt" 2>&1
32
33# 2. token counts of the mixes of rounds 4 to 7 (2 bytes per token; bpeenc prints `K bytes tokens`)
34{
35 echo "# round tok_file bytes tokens sha256"
36 for n in 4 6 7; do f="$R/r$n/r${n}_mix.tok"; b=$(wc -c < "$f"); echo "r$n $f $b $((b / 2)) $(sha256sum "$f" | cut -c1-64)"; done
37 f="$R/r5/r5_mix.tok"; b=$(wc -c < "$f"); echo "r5 $f $b $((b / 2)) $(sha256sum "$f" | cut -c1-64) (byte copy of $CAMP/data/r3_mix.tok sha256 $(sha256sum "$CAMP/data/r3_mix.tok" | cut -c1-64))"
38} > "$S/mix_tokens_r4_r7.txt"
39
40# 3. what each benchmark score was computed from
41{
42 echo "# tag checkpoint checkpoint_sha256 seen_corpus seen_corpus_sha256 answers_sha256"
43 while read -r tag ck corpus; do
44 [ -d "$R/bench_$tag" ] || continue
45 printf "%s\t%s\t%s\t%s\t%s\t%s\n" "$tag" "$ck" "$(sha256sum "$ck" | cut -c1-64)" "$corpus" "$(sha256sum "$corpus" | cut -c1-64)" "$(cat "$R/bench_$tag"/answer-* | sha256sum | cut -c1-64)"
46 done <<EOF
47r3ctl $CAMP/ckpt/loop_r3.ck $CAMP/data/full_corpus_r3.om
48r4 $CAMP/ckpt/loop_r4.ck $R/r4/full_corpus_r4.om
49r5ctl $CAMP/ckpt/loop_r5.ck $CAMP/data/full_corpus_r3.om
50r6 $CAMP/ckpt/loop_r6.ck $R/r6/full_corpus_r6.om
51r7 $CAMP/ckpt/loop_r7.ck $R/r7/full_corpus_r7.om
52r8 $CAMP/ckpt/loop_r8.ck $R/r8/full_corpus_r8.om
53r9 $CAMP/ckpt/loop_r9.ck $R/r9/full_corpus_r9.om
54r10 $CAMP/ckpt/loop_r10.ck $R/r10/full_corpus_r10.om
55r11 $CAMP/ckpt/loop_r11.ck $R/r11/full_corpus_r11.om
56EOF
57 echo "# pass-at-8: passk_r3 used $CAMP/data/full_corpus_r3.om ; passk_r6 used $R/r6/full_corpus_r6.om (harness/passk.sh argument 5)"
58} > "$S/score_inputs.tsv"
59
60# 4. every NVRM line the kernel logged today, with wall-clock time (no Xid lines are among them if the count below is unchanged)
61{
62 echo "# sudo dmesg -T | grep NVRM, lines dated Nov 22 2026 (local time, UTC-6). Xid lines in the whole log: $(sudo -n dmesg | grep -c 'NVRM: Xid')"
63 sudo -n dmesg -T | grep NVRM | grep "Nov 22" | cut -c1-260
64} > "$S/nvrm_dmesg_20261122.txt" 2>&1
65wc -l "$S"/*
66cat "$S/generator_pins.txt" | cut -c1-250