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/next-phase-1/v6-results.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 / next-phase-1 / v6-results.sh` 44 lines ยท 2425 bytes Raw Blame History 1 #!/usr/bin/env bash 2 # SPDX-License-Identifier: Apache-2.0 3 # Copyright 2026 Drake Stapleton (AIEN / aien-dev) 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 17 # NEXT-PHASE-1 v6: one launch's scoring-v5 result lines (ACCEPTANCE-v6 18 # Section 7). Shell + jq only. Usage: 19 # v6-results.sh LAUNCH_ID RECEIPT.json -> the launch's rows, one JSON line each 20 # v6-results.sh LAUNCH_ID - DECL.json WHY -> every declared row of the launch as 21 # FAIL (the launch produced no run.json) 22 # Row ids: "/v1 " (v1..v4 rows, REPORTED rows left out), 23 # "/" (v5 rows), "/". Declared negative 24 # launches (N1, N2) contribute only their v6 rows (ACCEPTANCE-v6 Section 4). For the 25 # positive launches the v1 row "Containment: workspace" and the v5 row A1 are 26 # replaced by the v6 row -CM (record-mark rule, ACCEPTANCE-v6 Section 6.1). 27 set -u 28 ID=${1:?LAUNCH_ID} REC=${2:?RECEIPT} 29 if [ "$REC" = - ]; then 30 jq -c --arg id "$ID" --arg why "${4:-launch failed}" \ 31 '.rows[] | select(.row | startswith($id + "/")) | {row, rep: 1, verdict: "FAIL", outcome: $why}' "${3:?DECL}" 32 exit 0 33 fi 34 jq -c --arg id "$ID" --arg rec "$(basename "$REC")" ' 35 (if (.acceptance_v6 // null) == null then error("receipt has no acceptance_v6") else . end) 36 | (.task_v6 == $id) as $same 37 | (if $same | not then error("receipt is launch \(.task_v6), not \($id)") else . end) 38 | ($id | test("^N")) as $neg 39 | ((if $neg then [] else 40 [.acceptance[] | select(.result != "REPORTED" and .criterion != "Containment: workspace") | {row: ($id + "/v1 " + .criterion), verdict: .result}] 41 + [((.acceptance_v5.task_quality // []) + (.acceptance_v5.authority // []))[] | select(.row != "A1") | {row: ($id + "/" + .row), verdict: .result}] 42 end) 43 + [.acceptance_v6[] | {row: ($id + "/" + .row), verdict: .result}])[] 44 | . + {rep: 1, receipt: $rec}' "$REC"