#!/bin/sh
# PREREG-B full run: Test A + soft rankings + unit choice, 10 seeds x tiers 3K,10K,30K, in parallel.
set -e
cd "$(dirname "$0")"
gcc -O2 -Wall -o l2 l2.c -lm 2>/dev/null
out=results-B/$(date +%s)
mkdir -p "$out"
git rev-parse HEAD > "$out/commit.txt"
sha256sum l2.c ../across-cluster/ac.c > "$out/src.sha256"
for s in 1 2 3 4 5 6 7 8 9 10; do ./l2 $s --soft > "$out/seed-$s.tsv" & done
wait
echo "$out"