interplane.Get Omega
Read in your language

aien-sovereign-core-mv

AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.

Brought by drakestapleton

branch main Branches Tags History

aien-sovereign-core-mv / evidence / motor-chip-20261021 / scripts / stroke-vs-alone.sh

16 lines · 944 bytes Raw Blame History
1#!/usr/bin/env bash
2# Every head of a stroke run against the same conversation run alone on the chip: chip tokens equal, position by position.
3# usage: stroke-vs-alone.sh <stroke.json> <alone.json>... (alone = qwen36_stroke_gate N=1 output, or qwen38_omega_full gate output)
4set -eu
5S=$1; shift
6i=0; all=1
7for a in "$@"; do
8 name=$(jq -r ".conversations[$i].name" "$S")
9 chip=$(jq -c ".conversations[$i].chip_ids" "$S")
10 alone=$(jq -c 'if .conversations then .conversations[0].chip_ids else .chip_ids end' "$a")
11 r=$(jq -n --argjson a "$chip" --argjson b "$alone" '{n: ($a|length), m: ($b|length), equal: ($a == $b), first_diff: ([range(0; ([($a|length),($b|length)]|min)) | select($a[.] != $b[.])] | .[0])}' -c)
12 echo "head $i $name vs $(basename "$a"): $r"
13 echo "$r" | grep -q '"equal":true' || all=0
14 i=$((i+1))
15done
16[ $all -eq 1 ] && echo "ALL HEADS EQUAL THEIR RUN ALONE" || { echo "A HEAD DIFFERS FROM ITS RUN ALONE"; exit 1; }