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 / benchmarks / data / headstart / patched-20261015-4c83e38 / toolchain / 10-split-ab.sh
| 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 | # The first ab stage was stopped after round 1 (host contaminated, before the |
| 18 | # per-sample hold existed). Move its samples out of samples.jsonl into a |
| 19 | # separate raw file so the summary only uses the full held rerun. |
| 20 | set -euo pipefail |
| 21 | OUT=~/aien-sovereign-core/.claude/worktrees/agent-adc52ad674d7b621a/benchmarks/data/headstart/patched-20261015-4c83e38 |
| 22 | S="$OUT/samples.jsonl" |
| 23 | X="$OUT/samples-ab-run1-interrupted-unheld.jsonl" |
| 24 | [ -e "$X" ] && { echo "already split: $X"; exit 1; } |
| 25 | jq -c 'select(.kind == "ab")' "$S" > "$X" |
| 26 | jq -c 'select(.kind != "ab")' "$S" > "$S.tmp" |
| 27 | mv "$S.tmp" "$S" |
| 28 | echo "moved $(wc -l < "$X") ab samples; kept $(wc -l < "$S")" |