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