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/aien-sovereign-core-mv/blob/main/docs/campaigns/open-model-qwen3/gen-decl-oq3-v4.sh # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-sovereign-core-mv / docs / campaigns / open-model-qwen3 / gen-decl-oq3-v4.sh` 30 lines ยท 2805 bytes Raw Blame History 1 #!/usr/bin/env bash 2 # OPEN-MODEL-QWEN3 v4 (ACCEPTANCE-v4.md Section 4, PREPARED, NOT FROZEN): writes two declarations from the v8 row 3 # shapes of the v2 declaration plus the v4 extra rows. Shell + jq only. Usage: 4 # gen-decl-oq3-v4.sh [QUAL_OUT [REGRESSION_OUT]] (default: the committed paths) 5 # Qualification = tasks with group "qualification"; regression = group "regression". They are scored separately. 6 set -eu 7 HERE=$(cd "$(dirname "$0")" && pwd) 8 V2=$HERE/../scoring/declarations/oq3-v2.decl.json 9 QOUT=${1:-$HERE/../scoring/declarations/oq3-v4.decl.json} 10 ROUT=${2:-$HERE/../scoring/declarations/oq3-v4-regression.decl.json} 11 TASKS=$HERE/tasks-oq3-v4.json 12 gen() { # group out note 13 jq -n --slurpfile v2 "$V2" --slurpfile t "$TASKS" --arg g "$1" --arg note "$3" --arg camp "$4" ' 14 def shape($from; $to): [$v2[0].rows[] | select(.row | startswith($from + "/")) 15 | .row |= ($to + "/" + (.[($from | length) + 1:] | gsub($from + "-"; $to + "-")))]; 16 def extra($id; $names): [$names[] | {row: ($id + "/" + $id + "-" + .), role: "case", reps: 1, expected: "PASS", control: null, not_applicable: false}]; 17 ([$t[0].tasks[] | select(.group == $g)]) as $tasks 18 | ([$tasks[] | select(.kind == "long") | .id as $i | (.requirements | length) as $n 19 | shape("T4"; $i) + extra($i; ["SB", "F", "CUT"] + [range(1; $n + 1) | "RQ\(.)"] + (if .source != null then ["SRC"] else [] end) + ["D", "BE"])] 20 + [$tasks[] | select(.kind == "edit") | .id as $i | shape("T5"; $i) + extra($i; ["SB", "CUT", "EO", "D", "BE"])] 21 + [$tasks[] | select(.kind == "identity") | .id as $i | shape("R1"; $i) + extra($i; ["SB", "CUT", "D", "BE"])] 22 + [$tasks[] | select(.kind == "negative-boundary") | .id as $i | shape("N1"; $i) + extra($i; ["D", "NC", "BE"])] 23 + [$tasks[] | select(.kind == "negative-budget") | .id as $i | shape("N2"; $i) + extra($i; ["D", "NC", "R", "BE"])] 24 | add) as $rows 25 | {contract: "scoring-v5", campaign: $camp, 26 frozen_by: "docs/campaigns/open-model-qwen3/ACCEPTANCE-v4.md (Section 4); PREPARED, NOT FROZEN until that file says FROZEN on main", 27 note: $note, rows: $rows}' >"$2" 28 } 29 gen qualification "$QOUT" "v8 row shapes (the v2 declaration rows renamed to the v4 launch ids) plus the v4 extra rows (SB, F, CUT, RQ one per declared requirement, SRC, EO, D, NC, N2-R). One repetition each, no controls, no NOT_APPLICABLE. This is the QUALIFICATION declaration. Generated by gen-decl-oq3-v4.sh from tasks-oq3-v4.json." "open-model-qwen3 v4 qualification" 30 gen regression "$ROUT" "REGRESSION declaration: reported, never part of the qualification verdict (ACCEPTANCE-v4 Section 6). Same row shapes as the qualification declaration. Generated by gen-decl-oq3-v4.sh from tasks-oq3-v4.json." "open-model-qwen3 v4 regression (reported only)"