#!/bin/sh
# PREREG-v1 full run: 5 seeds x tiers 3K,10K,30K, normal and shuffled-within-sentence, in parallel.
set -e
cd "$(dirname "$0")"
gcc -O2 -Wall -Wno-unused-function -o jt jt.c -lm 2>/dev/null
out=results-v1/$(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 --v1 > "$out/seed-$s.tsv" &
./jt $s --v1 --shuffle > "$out/shuf-$s.tsv" &
done
wait
echo "$out"