@echo off setlocal cd /d "%~dp0" where python >nul 2>&1 if errorlevel 1 ( echo Python 3.12 or compatible Python is required. pause exit /b 1 ) if not exist .venv\Scripts\python.exe ( python -m venv .venv if errorlevel 1 exit /b 1 ) .venv\Scripts\python.exe -m pip install -r requirements.txt if errorlevel 1 exit /b 1 .venv\Scripts\python.exe code\run_experiments.py if errorlevel 1 exit /b 1 .venv\Scripts\python.exe -m unittest discover -s code -p "test_*.py" -v if errorlevel 1 exit /b 1 echo Reproduction completed. See results and figures. pause