#!/bin/bash # Revision 1: ITP on the six corpora, then the verifier against the single criterion. export OMP_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1 MKL_NUM_THREADS=1 cd "$HOME/sim-numerics" || exit 1 echo "=== ITP ===" ~/torchenv/bin/python -u sweep_itp.py 2>&1 | grep -v Warn | grep -v "return " echo "=== VERIFY ===" ~/torchenv/bin/python -u verify_article.py > ~/verify_uniform.log 2>&1 echo "verify OK $(grep -c '^ OK' ~/verify_uniform.log) BAD $(grep -c '^ BAD' ~/verify_uniform.log)" grep -A8 '^Traceback' ~/verify_uniform.log echo "=== REVISION1 DONE ==="