@echo off setlocal cd /d "%~dp0" if exist .venv\Scripts\python.exe goto dependencies python -m venv .venv if errorlevel 1 exit /b 1 :dependencies .venv\Scripts\python.exe -m pip install -r requirements.txt if errorlevel 1 exit /b 1 set OPENBLAS_NUM_THREADS=1 set OMP_NUM_THREADS=1 .venv\Scripts\python.exe -m unittest discover -s tests -v if errorlevel 1 exit /b 1 .venv\Scripts\python.exe -m unittest discover -s legacy/code -p test_*.py -v if errorlevel 1 exit /b 1 .venv\Scripts\python.exe scripts\benchmark_innovation.py if errorlevel 1 exit /b 1 .venv\Scripts\python.exe scripts\benchmark_queries.py if errorlevel 1 exit /b 1 .venv\Scripts\python.exe scripts\validate_release.py --require-replay if errorlevel 1 exit /b 1 echo Completed. See innovation_reproduced, queries_reproduced and validation_reproduced.json. endlocal