make_open_package.py builds the archive from HEAD - source (git archive, LF line ends), the full history (git bundle), both simbracket wheels, README, requirements, reproduce.sh, LICENSE, NOTICE, SHA256SUMS - and refuses if any commit of the branch carries a string from a private list kept outside the repository, or if a text file has CRLF line ends; cleanroom_check.sh verifies the archive on Linux. Appendix D states that the history was rewritten once before publication to remove a server address, and that Table D1 is recomputed from the published history. lib/LICENSE so the wheels carry the licence. Server: verify 548 OK / 0 BAD, regression x2 1239 passed, PDF 32 pages, 0 errors, 0 overfull. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
17 lines
711 B
Bash
17 lines
711 B
Bash
#!/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
|