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 / score_round.sh

22 lines · 1251 bytes Raw Blame History
1#!/bin/sh
2# score_round.sh TAG CK CORPUS_FOR_SEEN
3# Frozen-benchmark score, same method as Rounds 2-3: one greedy sample per prompt (seed 42, 128
4# tokens, temp 0) with the CPU ollm, 16-way parallel, then `bench score`. CPU only, niced.
5set -u
6TAG="$1"; CK="$2"; CORPUS="$3"
7CAMP=/home/drakestapleton/work/ollm-helix-rlvr-20261121
8VLOOP=/home/drakestapleton/work/ollm-loop-20261121
9OLLM="$CAMP/bin/ollm"; BENCH="$CAMP/bin/bench"; OMC="$CAMP/bin/omc"
10MERGES="$VLOOP/data/omega4096.bin"
11OUT="$CAMP/rounds/bench_$TAG"
12rm -rf "$OUT"; mkdir -p "$OUT"
13rm -f "$CAMP/rounds/DONE_SCORE_$TAG"
14t0=$(date +%s)
15ls "$CAMP/prompts"/prompt-* | nice -n 10 xargs -P 16 -I{} "$CAMP/samp_one.sh" "$OLLM" "$CK" "$MERGES" "$OUT" {}
16echo "SAMPLED $TAG answers=$(ls "$OUT" | grep -c '^answer-') sec=$(( $(date +%s) - t0 ))"
17"$BENCH" score "$CAMP/data/tasks.om" "$CAMP/data/expect.txt" "$OMC" "$OUT" "$CORPUS" > "$CAMP/rounds/score_$TAG.txt" 2>&1
18echo "SCORE_RC=$?"
19grep -E "^F |^SCORE " "$CAMP/rounds/score_$TAG.txt"
20grep -E " pass$| passcut$" "$CAMP/rounds/score_$TAG.txt"
21echo "ANSWERS_SHA256=$(cat "$OUT"/answer-* | sha256sum | cut -c1-64) CK_SHA256=$(sha256sum "$CK" | cut -c1-64) OLLM_SHA256=$(sha256sum "$OLLM" | cut -c1-64)"
22echo done > "$CAMP/rounds/DONE_SCORE_$TAG"