#!/bin/bash # Regenerate EVERY sweep file after a change to the method or the baselines # (2026-09-21: sign tests by product underflowed; fixed in pure.py and baselines.py). # Frozen runner: detached, logged, explicit end marker. export OMP_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1 MKL_NUM_THREADS=1 cd "$HOME/sim-numerics" || exit 1 for flag in "" --log --gate --slope --cap --combo --points --direction --order \ --decision --extrap --extrap2; do echo "=== sweep ${flag:-(full)} ===" ~/torchenv/bin/python -u sweep_full.py $flag 2>&1 | grep -E "^sweep:|wrote|Traceback|Error|FAILED" done echo "=== SWEEPS DONE ==="