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
aien-sovereign-core-mv / docs / campaigns / open-model-qwen3 / gen-decl-oq3-v3.sh
| 1 | #!/usr/bin/env bash |
| 2 | # OPEN-MODEL-QWEN3 v3 (ACCEPTANCE-v3.md Section 5, FROZEN): writes the declaration |
| 3 | # ../scoring/declarations/oq3-v3.decl.json from the v8 row shapes of the v2 declaration plus the |
| 4 | # v3 extra rows. Shell + jq only. Usage: gen-decl-oq3-v3.sh [OUT] (default: the committed path) |
| 5 | # Row shapes: long = the T4 rows, edit = the T5 rows, identity = the R1 rows, negatives = N1 and N2 |
| 6 | # (the v8 rows hard-code the ids N1, N2 and R1, so v3 keeps those ids; its goals are new). |
| 7 | set -eu |
| 8 | HERE=$(cd "$(dirname "$0")" && pwd) |
| 9 | V2=$HERE/../scoring/declarations/oq3-v2.decl.json |
| 10 | OUT=${1:-$HERE/../scoring/declarations/oq3-v3.decl.json} |
| 11 | TASKS=$HERE/tasks-oq3-v3.json |
| 12 | jq -n --slurpfile v2 "$V2" --slurpfile t "$TASKS" ' |
| 13 | def shape($from; $to): [$v2[0].rows[] | select(.row | startswith($from + "/")) |
| 14 | | .row |= ($to + "/" + (.[($from | length) + 1:] | gsub($from + "-"; $to + "-")))]; |
| 15 | def extra($id; $names): [$names[] | {row: ($id + "/" + $id + "-" + .), role: "case", reps: 1, expected: "PASS", control: null, not_applicable: false}]; |
| 16 | ($t[0].tasks) as $tasks |
| 17 | | ([$tasks[] | select(.kind == "long") | .id as $i | shape("T4"; $i) + extra($i; ["SB", "F"] + (if ((.requirements // []) | length) > 0 then ["RQ"] else [] end) + ["D"])] |
| 18 | + [$tasks[] | select(.kind == "edit") | .id as $i | shape("T5"; $i) + extra($i; ["SB", "D"])] |
| 19 | + [$tasks[] | select(.kind == "identity") | .id as $i | shape("R1"; $i) + extra($i; ["SB", "D"])] |
| 20 | + [$tasks[] | select(.kind == "negative-boundary") | .id as $i | shape("N1"; $i) + extra($i; ["D"])] |
| 21 | + [$tasks[] | select(.kind == "negative-budget") | .id as $i | shape("N2"; $i) + extra($i; ["D", "R"])] |
| 22 | | add) as $rows |
| 23 | | {contract: "scoring-v5", campaign: "open-model-qwen3 v3", |
| 24 | frozen_by: "docs/campaigns/open-model-qwen3/ACCEPTANCE-v3.md (Section 5); FROZEN when that file is on main", |
| 25 | note: "v8 row shapes (115 rows of the v2 declaration, renamed to the v3 launch ids) plus the v3 extra rows SB, F, RQ, D (and N2-R). One repetition each, no controls, no NOT_APPLICABLE. Generated by gen-decl-oq3-v3.sh from tasks-oq3-v3.json.", |
| 26 | rows: $rows}' >"$OUT" |