@echo off cd /d %~dp0 if exist ..\..\.venv\Scripts\activate.bat call ..\..\.venv\Scripts\activate.bat echo Worker Group 4 starting... echo ======================================= echo Running Requirement Index: 3 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 3 python run_pipeline.py --index 3 if not exist "output\004\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 3 ) else ( echo [Verified] output\004\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 8 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 8 python run_pipeline.py --index 8 if not exist "output\009\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 8 ) else ( echo [Verified] output\009\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 13 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 13 python run_pipeline.py --index 13 if not exist "output\014\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 13 ) else ( echo [Verified] output\014\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 18 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 18 python run_pipeline.py --index 18 if not exist "output\019\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 18 ) else ( echo [Verified] output\019\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 23 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 23 python run_pipeline.py --index 23 if not exist "output\024\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 23 ) else ( echo [Verified] output\024\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 28 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 28 python run_pipeline.py --index 28 if not exist "output\029\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 28 ) else ( echo [Verified] output\029\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 33 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 33 python run_pipeline.py --index 33 if not exist "output\034\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 33 ) else ( echo [Verified] output\034\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 38 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 38 python run_pipeline.py --index 38 if not exist "output\039\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 38 ) else ( echo [Verified] output\039\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 43 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 43 python run_pipeline.py --index 43 if not exist "output\044\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 43 ) else ( echo [Verified] output\044\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 48 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 48 python run_pipeline.py --index 48 if not exist "output\049\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 48 ) else ( echo [Verified] output\049\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 53 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 53 python run_pipeline.py --index 53 if not exist "output\054\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 53 ) else ( echo [Verified] output\054\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 58 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 58 python run_pipeline.py --index 58 if not exist "output\059\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 58 ) else ( echo [Verified] output\059\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 63 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 63 python run_pipeline.py --index 63 if not exist "output\064\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 63 ) else ( echo [Verified] output\064\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 68 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 68 python run_pipeline.py --index 68 if not exist "output\069\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 68 ) else ( echo [Verified] output\069\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 73 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 73 python run_pipeline.py --index 73 if not exist "output\074\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 73 ) else ( echo [Verified] output\074\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 78 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 78 python run_pipeline.py --index 78 if not exist "output\079\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 78 ) else ( echo [Verified] output\079\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 83 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 83 python run_pipeline.py --index 83 if not exist "output\084\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 83 ) else ( echo [Verified] output\084\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 88 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 88 python run_pipeline.py --index 88 if not exist "output\089\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 88 ) else ( echo [Verified] output\089\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 93 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 93 python run_pipeline.py --index 93 if not exist "output\094\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 93 ) else ( echo [Verified] output\094\strategy.json generated successfully. ) timeout /t 2 > NUL echo ======================================= echo Running Requirement Index: 98 echo ======================================= echo [Attempt 1] python run_pipeline.py --index 98 python run_pipeline.py --index 98 if not exist "output\099\strategy.json" ( echo ======================================= echo [Retry] target.json missing, retrying once... echo ======================================= python run_pipeline.py --index 98 ) else ( echo [Verified] output\099\strategy.json generated successfully. ) timeout /t 2 > NUL echo Worker Group 4 finished! pause