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