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