@echo off cd /d %~dp0 if exist ..\..\.venv\Scripts\activate.bat call ..\..\.venv\Scripts\activate.bat echo Worker Group 2 starting... echo ======================================= echo Running Requirement Index: 1 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 1 python run_pipeline.py --index 1 if not exist "output\002\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 1 ) else ( echo [Verified] output\002\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 6 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 6 python run_pipeline.py --index 6 if not exist "output\007\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 6 ) else ( echo [Verified] output\007\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 11 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 11 python run_pipeline.py --index 11 if not exist "output\012\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 11 ) else ( echo [Verified] output\012\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 16 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 16 python run_pipeline.py --index 16 if not exist "output\017\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 16 ) else ( echo [Verified] output\017\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 21 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 21 python run_pipeline.py --index 21 if not exist "output\022\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 21 ) else ( echo [Verified] output\022\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 26 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 26 python run_pipeline.py --index 26 if not exist "output\027\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 26 ) else ( echo [Verified] output\027\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 31 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 31 python run_pipeline.py --index 31 if not exist "output\032\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 31 ) else ( echo [Verified] output\032\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 36 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 36 python run_pipeline.py --index 36 if not exist "output\037\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 36 ) else ( echo [Verified] output\037\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 41 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 41 python run_pipeline.py --index 41 if not exist "output\042\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 41 ) else ( echo [Verified] output\042\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 46 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 46 python run_pipeline.py --index 46 if not exist "output\047\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 46 ) else ( echo [Verified] output\047\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 51 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 51 python run_pipeline.py --index 51 if not exist "output\052\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 51 ) else ( echo [Verified] output\052\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 56 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 56 python run_pipeline.py --index 56 if not exist "output\057\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 56 ) else ( echo [Verified] output\057\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 61 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 61 python run_pipeline.py --index 61 if not exist "output\062\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 61 ) else ( echo [Verified] output\062\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 66 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 66 python run_pipeline.py --index 66 if not exist "output\067\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 66 ) else ( echo [Verified] output\067\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 71 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 71 python run_pipeline.py --index 71 if not exist "output\072\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 71 ) else ( echo [Verified] output\072\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 76 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 76 python run_pipeline.py --index 76 if not exist "output\077\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 76 ) else ( echo [Verified] output\077\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 81 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 81 python run_pipeline.py --index 81 if not exist "output\082\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 81 ) else ( echo [Verified] output\082\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 86 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 86 python run_pipeline.py --index 86 if not exist "output\087\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 86 ) else ( echo [Verified] output\087\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 91 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 91 python run_pipeline.py --index 91 if not exist "output\092\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 91 ) else ( echo [Verified] output\092\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 96 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 96 python run_pipeline.py --index 96 if not exist "output\097\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 96 ) else ( echo [Verified] output\097\strategy.json generated successfully. ) timeout /t 2 > NUL echo Worker Group 2 finished! pause