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/aienux/blob/main/docs/native/pi5-8/orchestrator-exam/split_pool.sh # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. 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 `aienux / docs / native / pi5-8 / orchestrator-exam / split_pool.sh` 23 lines ยท 1392 bytes Raw Blame History 1 #!/bin/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 # Deterministic split of the frozen pool (cases-pool.psv, 102 cases written before the prompt freeze) into 18 # cases-train.psv and cases-dev.psv. Within each category, in file order, every 4th case (positions 4, 8, ...) goes to dev, the rest to train. 19 # The held-out set (cases-heldout.psv) was written after the freeze and is never part of this split. 20 here=$(cd "$(dirname "$0")" && pwd) 21 hdr='# id|category|expected_action|expected_text|turns (user ~~ assistant ~~ user ...; the last turn is the one scored)' 22 echo "$hdr" > "$here/cases-train.psv"; echo "$hdr" > "$here/cases-dev.psv" 23 grep -v '^#' "$here/cases-pool.psv" | awk -F'|' -v d="$here/cases-dev.psv" -v t="$here/cases-train.psv" '{c[$2]++; if (c[$2]%4==0) print >> d; else print >> t}'