#!/bin/sh
# PREREG-v3pool: split test with pooled-parse connectors, 5 seeds, training text at 30K.
set -e
cd "$(dirname "$0")"
gcc -O2 -Wall -Wno-unused-function -o jt jt.c -lm 2>/dev/null
out=results-v3pool/$(date +%s)
mkdir -p "$out"
git rev-parse HEAD > "$out/commit.txt"
sha256sum jt.c ../across-cluster/ac.c > "$out/src.sha256"
for s in 1 2 3 4 5; do ./jt $s --v2 dj --tiers 30000 --splitdiag2 > "$out/seed-$s.tsv" & done
wait
echo "$out"