#!/bin/sh # Reproduce the paper's numbers (Linux x86_64, Python 3.12). See README.md. set -e cd "$(dirname "$0")" python3.12 -m venv .venv . .venv/bin/activate python -m pip install --quiet -r requirements.txt python -m pip install --quiet --no-deps wheels/simbracket-*-linux_x86_64.whl export OMP_NUM_THREADS=1 cd source echo "== verify_article.py (every number stated in the paper) ==" python -u verify_article.py > ../verify.log 2>&1 || true echo "OK $(grep -c '^ OK' ../verify.log) BAD $(grep -c '^ BAD' ../verify.log)" tail -1 ../verify.log echo "== simbracket against the reference implementation, bit for bit ==" python -m pytest tests/test_simbracket_equivalence.py -q -p no:cacheprovider | tail -1