worker_3.bat 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. @echo off
  2. cd /d %~dp0
  3. if exist ..\..\.venv\Scripts\activate.bat call ..\..\.venv\Scripts\activate.bat
  4. echo Worker Group 3 starting...
  5. echo =======================================
  6. echo Running Requirement Index: 2
  7. echo =======================================
  8. echo [Attempt 1] python run_pipeline.py --index 2
  9. python run_pipeline.py --index 2
  10. if not exist "output\003\strategy.json" (
  11. echo =======================================
  12. echo [Retry] target.json missing, retrying once...
  13. echo =======================================
  14. python run_pipeline.py --index 2
  15. ) else (
  16. echo [Verified] output\003\strategy.json generated successfully.
  17. )
  18. timeout /t 2 > NUL
  19. echo =======================================
  20. echo Running Requirement Index: 7
  21. echo =======================================
  22. echo [Attempt 1] python run_pipeline.py --index 7
  23. python run_pipeline.py --index 7
  24. if not exist "output\008\strategy.json" (
  25. echo =======================================
  26. echo [Retry] target.json missing, retrying once...
  27. echo =======================================
  28. python run_pipeline.py --index 7
  29. ) else (
  30. echo [Verified] output\008\strategy.json generated successfully.
  31. )
  32. timeout /t 2 > NUL
  33. echo =======================================
  34. echo Running Requirement Index: 12
  35. echo =======================================
  36. echo [Attempt 1] python run_pipeline.py --index 12
  37. python run_pipeline.py --index 12
  38. if not exist "output\013\strategy.json" (
  39. echo =======================================
  40. echo [Retry] target.json missing, retrying once...
  41. echo =======================================
  42. python run_pipeline.py --index 12
  43. ) else (
  44. echo [Verified] output\013\strategy.json generated successfully.
  45. )
  46. timeout /t 2 > NUL
  47. echo =======================================
  48. echo Running Requirement Index: 17
  49. echo =======================================
  50. echo [Attempt 1] python run_pipeline.py --index 17
  51. python run_pipeline.py --index 17
  52. if not exist "output\018\strategy.json" (
  53. echo =======================================
  54. echo [Retry] target.json missing, retrying once...
  55. echo =======================================
  56. python run_pipeline.py --index 17
  57. ) else (
  58. echo [Verified] output\018\strategy.json generated successfully.
  59. )
  60. timeout /t 2 > NUL
  61. echo =======================================
  62. echo Running Requirement Index: 22
  63. echo =======================================
  64. echo [Attempt 1] python run_pipeline.py --index 22
  65. python run_pipeline.py --index 22
  66. if not exist "output\023\strategy.json" (
  67. echo =======================================
  68. echo [Retry] target.json missing, retrying once...
  69. echo =======================================
  70. python run_pipeline.py --index 22
  71. ) else (
  72. echo [Verified] output\023\strategy.json generated successfully.
  73. )
  74. timeout /t 2 > NUL
  75. echo =======================================
  76. echo Running Requirement Index: 27
  77. echo =======================================
  78. echo [Attempt 1] python run_pipeline.py --index 27
  79. python run_pipeline.py --index 27
  80. if not exist "output\028\strategy.json" (
  81. echo =======================================
  82. echo [Retry] target.json missing, retrying once...
  83. echo =======================================
  84. python run_pipeline.py --index 27
  85. ) else (
  86. echo [Verified] output\028\strategy.json generated successfully.
  87. )
  88. timeout /t 2 > NUL
  89. echo =======================================
  90. echo Running Requirement Index: 32
  91. echo =======================================
  92. echo [Attempt 1] python run_pipeline.py --index 32
  93. python run_pipeline.py --index 32
  94. if not exist "output\033\strategy.json" (
  95. echo =======================================
  96. echo [Retry] target.json missing, retrying once...
  97. echo =======================================
  98. python run_pipeline.py --index 32
  99. ) else (
  100. echo [Verified] output\033\strategy.json generated successfully.
  101. )
  102. timeout /t 2 > NUL
  103. echo =======================================
  104. echo Running Requirement Index: 37
  105. echo =======================================
  106. echo [Attempt 1] python run_pipeline.py --index 37
  107. python run_pipeline.py --index 37
  108. if not exist "output\038\strategy.json" (
  109. echo =======================================
  110. echo [Retry] target.json missing, retrying once...
  111. echo =======================================
  112. python run_pipeline.py --index 37
  113. ) else (
  114. echo [Verified] output\038\strategy.json generated successfully.
  115. )
  116. timeout /t 2 > NUL
  117. echo =======================================
  118. echo Running Requirement Index: 42
  119. echo =======================================
  120. echo [Attempt 1] python run_pipeline.py --index 42
  121. python run_pipeline.py --index 42
  122. if not exist "output\043\strategy.json" (
  123. echo =======================================
  124. echo [Retry] target.json missing, retrying once...
  125. echo =======================================
  126. python run_pipeline.py --index 42
  127. ) else (
  128. echo [Verified] output\043\strategy.json generated successfully.
  129. )
  130. timeout /t 2 > NUL
  131. echo =======================================
  132. echo Running Requirement Index: 47
  133. echo =======================================
  134. echo [Attempt 1] python run_pipeline.py --index 47
  135. python run_pipeline.py --index 47
  136. if not exist "output\048\strategy.json" (
  137. echo =======================================
  138. echo [Retry] target.json missing, retrying once...
  139. echo =======================================
  140. python run_pipeline.py --index 47
  141. ) else (
  142. echo [Verified] output\048\strategy.json generated successfully.
  143. )
  144. timeout /t 2 > NUL
  145. echo =======================================
  146. echo Running Requirement Index: 52
  147. echo =======================================
  148. echo [Attempt 1] python run_pipeline.py --index 52
  149. python run_pipeline.py --index 52
  150. if not exist "output\053\strategy.json" (
  151. echo =======================================
  152. echo [Retry] target.json missing, retrying once...
  153. echo =======================================
  154. python run_pipeline.py --index 52
  155. ) else (
  156. echo [Verified] output\053\strategy.json generated successfully.
  157. )
  158. timeout /t 2 > NUL
  159. echo =======================================
  160. echo Running Requirement Index: 57
  161. echo =======================================
  162. echo [Attempt 1] python run_pipeline.py --index 57
  163. python run_pipeline.py --index 57
  164. if not exist "output\058\strategy.json" (
  165. echo =======================================
  166. echo [Retry] target.json missing, retrying once...
  167. echo =======================================
  168. python run_pipeline.py --index 57
  169. ) else (
  170. echo [Verified] output\058\strategy.json generated successfully.
  171. )
  172. timeout /t 2 > NUL
  173. echo =======================================
  174. echo Running Requirement Index: 62
  175. echo =======================================
  176. echo [Attempt 1] python run_pipeline.py --index 62
  177. python run_pipeline.py --index 62
  178. if not exist "output\063\strategy.json" (
  179. echo =======================================
  180. echo [Retry] target.json missing, retrying once...
  181. echo =======================================
  182. python run_pipeline.py --index 62
  183. ) else (
  184. echo [Verified] output\063\strategy.json generated successfully.
  185. )
  186. timeout /t 2 > NUL
  187. echo =======================================
  188. echo Running Requirement Index: 67
  189. echo =======================================
  190. echo [Attempt 1] python run_pipeline.py --index 67
  191. python run_pipeline.py --index 67
  192. if not exist "output\068\strategy.json" (
  193. echo =======================================
  194. echo [Retry] target.json missing, retrying once...
  195. echo =======================================
  196. python run_pipeline.py --index 67
  197. ) else (
  198. echo [Verified] output\068\strategy.json generated successfully.
  199. )
  200. timeout /t 2 > NUL
  201. echo =======================================
  202. echo Running Requirement Index: 72
  203. echo =======================================
  204. echo [Attempt 1] python run_pipeline.py --index 72
  205. python run_pipeline.py --index 72
  206. if not exist "output\073\strategy.json" (
  207. echo =======================================
  208. echo [Retry] target.json missing, retrying once...
  209. echo =======================================
  210. python run_pipeline.py --index 72
  211. ) else (
  212. echo [Verified] output\073\strategy.json generated successfully.
  213. )
  214. timeout /t 2 > NUL
  215. echo =======================================
  216. echo Running Requirement Index: 77
  217. echo =======================================
  218. echo [Attempt 1] python run_pipeline.py --index 77
  219. python run_pipeline.py --index 77
  220. if not exist "output\078\strategy.json" (
  221. echo =======================================
  222. echo [Retry] target.json missing, retrying once...
  223. echo =======================================
  224. python run_pipeline.py --index 77
  225. ) else (
  226. echo [Verified] output\078\strategy.json generated successfully.
  227. )
  228. timeout /t 2 > NUL
  229. echo =======================================
  230. echo Running Requirement Index: 82
  231. echo =======================================
  232. echo [Attempt 1] python run_pipeline.py --index 82
  233. python run_pipeline.py --index 82
  234. if not exist "output\083\strategy.json" (
  235. echo =======================================
  236. echo [Retry] target.json missing, retrying once...
  237. echo =======================================
  238. python run_pipeline.py --index 82
  239. ) else (
  240. echo [Verified] output\083\strategy.json generated successfully.
  241. )
  242. timeout /t 2 > NUL
  243. echo =======================================
  244. echo Running Requirement Index: 87
  245. echo =======================================
  246. echo [Attempt 1] python run_pipeline.py --index 87
  247. python run_pipeline.py --index 87
  248. if not exist "output\088\strategy.json" (
  249. echo =======================================
  250. echo [Retry] target.json missing, retrying once...
  251. echo =======================================
  252. python run_pipeline.py --index 87
  253. ) else (
  254. echo [Verified] output\088\strategy.json generated successfully.
  255. )
  256. timeout /t 2 > NUL
  257. echo =======================================
  258. echo Running Requirement Index: 92
  259. echo =======================================
  260. echo [Attempt 1] python run_pipeline.py --index 92
  261. python run_pipeline.py --index 92
  262. if not exist "output\093\strategy.json" (
  263. echo =======================================
  264. echo [Retry] target.json missing, retrying once...
  265. echo =======================================
  266. python run_pipeline.py --index 92
  267. ) else (
  268. echo [Verified] output\093\strategy.json generated successfully.
  269. )
  270. timeout /t 2 > NUL
  271. echo =======================================
  272. echo Running Requirement Index: 97
  273. echo =======================================
  274. echo [Attempt 1] python run_pipeline.py --index 97
  275. python run_pipeline.py --index 97
  276. if not exist "output\098\strategy.json" (
  277. echo =======================================
  278. echo [Retry] target.json missing, retrying once...
  279. echo =======================================
  280. python run_pipeline.py --index 97
  281. ) else (
  282. echo [Verified] output\098\strategy.json generated successfully.
  283. )
  284. timeout /t 2 > NUL
  285. echo Worker Group 3 finished!
  286. pause