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