@echo off
set OMP_NUM_THREADS=1
set OPENBLAS_NUM_THREADS=1
set MKL_NUM_THREADS=1
set NUMEXPR_NUM_THREADS=1
set MPLBACKEND=Agg

python -u scripts\01_make_clean_sparc.py --root .
if errorlevel 1 exit /b 1
python -u scripts\02_run_phase_tuner.py --root .
if errorlevel 1 exit /b 1
python -u scripts\03_run_phase_correlations.py --root .
if errorlevel 1 exit /b 1
python -u scripts\04_run_lensing_base.py --root .
if errorlevel 1 exit /b 1
python -u scripts\05_run_real_lensing_pilots.py --root .
if errorlevel 1 exit /b 1
python -u scripts\06_run_bullet_centroid_deflection_proxy.py --root .
if errorlevel 1 exit /b 1
python -u scripts\07_build_benchmark_matrix.py --root .
if errorlevel 1 exit /b 1

echo RBFL/RBFT reproducibility pipeline completed.
