@tangle-network/agent-bench 0.3.6 → 0.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/HARNESS.md +43 -0
  3. package/dist/adapters.js +24 -24
  4. package/dist/benchmarks/_harness.d.ts +1 -1
  5. package/dist/benchmarks/_harness.js +1 -1
  6. package/dist/benchmarks/aec-bench.js +2 -2
  7. package/dist/benchmarks/agentbench.js +2 -2
  8. package/dist/benchmarks/appworld.js +2 -2
  9. package/dist/benchmarks/bfcl.js +2 -2
  10. package/dist/benchmarks/commit0.js +2 -2
  11. package/dist/benchmarks/crag.js +2 -2
  12. package/dist/benchmarks/dabstep.js +2 -2
  13. package/dist/benchmarks/enterpriseops-gym.js +2 -2
  14. package/dist/benchmarks/finresearchbench.js +2 -2
  15. package/dist/benchmarks/humaneval.d.ts +10 -1
  16. package/dist/benchmarks/humaneval.js +5 -3
  17. package/dist/benchmarks/nomiracl.js +2 -2
  18. package/dist/benchmarks/open-rag-bench.js +2 -2
  19. package/dist/benchmarks/programbench.js +2 -2
  20. package/dist/benchmarks/ragbench.js +2 -2
  21. package/dist/benchmarks/swe-bench.js +2 -2
  22. package/dist/benchmarks/t2-ragbench.js +2 -2
  23. package/dist/benchmarks/tau-bench-shared.js +2 -2
  24. package/dist/benchmarks/tau2-bench.js +3 -3
  25. package/dist/benchmarks/tau3-banking.js +3 -3
  26. package/dist/benchmarks/terminal-bench.js +2 -2
  27. package/dist/benchmarks/toollm.js +2 -2
  28. package/dist/benchmarks/webarena-verified.js +2 -2
  29. package/dist/{chunk-CKUVRZ2T.js → chunk-3U5TXJZS.js} +2 -2
  30. package/dist/{chunk-PPYSEKFM.js → chunk-5H5XV76F.js} +73 -15
  31. package/dist/chunk-5H5XV76F.js.map +1 -0
  32. package/dist/{chunk-YCGY7UIZ.js → chunk-7GRVHU22.js} +2 -2
  33. package/dist/{chunk-Z7ML6L77.js → chunk-HWST3SED.js} +2 -2
  34. package/dist/{chunk-SYDW647C.js → chunk-IA2FBTWC.js} +2 -2
  35. package/dist/{chunk-R67DFVLO.js → chunk-IFVINJ4B.js} +2 -2
  36. package/dist/{chunk-R36V2VP7.js → chunk-IZ5M6OAC.js} +2 -2
  37. package/dist/{chunk-ODT47UAY.js → chunk-K3BQGZCT.js} +2 -2
  38. package/dist/{chunk-IFAV6KEM.js → chunk-KP5KD6EN.js} +2 -2
  39. package/dist/{chunk-ZEWMTR5M.js → chunk-MQMRLGOG.js} +2 -2
  40. package/dist/{chunk-TSWPNOYM.js → chunk-NQG5XDSB.js} +2 -2
  41. package/dist/{chunk-7WSD27QQ.js → chunk-PB64GYIG.js} +2 -2
  42. package/dist/{chunk-HBSWHQNJ.js → chunk-RCYQEFNX.js} +3 -3
  43. package/dist/{chunk-J3KDJNX2.js → chunk-RH5F53JT.js} +2 -2
  44. package/dist/{chunk-UAIOHCUK.js → chunk-SFLA7OH3.js} +3 -3
  45. package/dist/{chunk-Y6O2OCUO.js → chunk-SHM6MRRF.js} +2 -2
  46. package/dist/{chunk-KDIKRJGB.js → chunk-SHYIRB7I.js} +2 -2
  47. package/dist/{chunk-HHXFIHXC.js → chunk-SVR2LKYI.js} +2 -2
  48. package/dist/{chunk-5SBJCB6W.js → chunk-V7AEBY6U.js} +22 -22
  49. package/dist/{chunk-LRRD7NAG.js → chunk-WSKWVEQB.js} +18 -2
  50. package/dist/chunk-WSKWVEQB.js.map +1 -0
  51. package/dist/{chunk-2PVVP7GN.js → chunk-XKEFIFIC.js} +2 -2
  52. package/dist/{chunk-JRWWGMK7.js → chunk-XYA4XSNU.js} +2 -2
  53. package/dist/{chunk-X5YKXC6V.js → chunk-YSMEKBTD.js} +2 -2
  54. package/dist/{chunk-2XU6OGEN.js → chunk-Z4TZ76N7.js} +2 -2
  55. package/dist/index.js +24 -24
  56. package/package.json +6 -5
  57. package/scripts/run-package-tests.mjs +30 -8
  58. package/scripts/verify-packed-consumer.mjs +1 -1
  59. package/scripts/verify-pier-agent.mts +1 -0
  60. package/src/benchmarks/_harness.ts +20 -2
  61. package/src/benchmarks/humaneval.test.mts +122 -0
  62. package/src/benchmarks/humaneval.ts +100 -27
  63. package/src/david-attribution.mts +78 -0
  64. package/src/david-goliath.mts +149 -0
  65. package/src/hev-improve.mts +25 -6
  66. package/src/humaneval-object-ablation.mts +201 -0
  67. package/src/live-improve-campaign-mbpp.mts +641 -0
  68. package/src/live-improve-campaign.mts +500 -0
  69. package/src/mbpp-structural.mts +12 -7
  70. package/src/quant-arena/README.md +144 -0
  71. package/src/quant-arena/backtest.test.mts +135 -0
  72. package/src/quant-arena/backtest.ts +218 -0
  73. package/src/quant-arena/data.test.mts +44 -0
  74. package/src/quant-arena/data.ts +141 -0
  75. package/src/quant-arena/driver.test.mts +253 -0
  76. package/src/quant-arena/driver.ts +219 -0
  77. package/src/quant-arena/fixtures/data/PROVENANCE.md +26 -0
  78. package/src/quant-arena/fixtures/data/holdout/IDX.csv +523 -0
  79. package/src/quant-arena/fixtures/data/holdout/S01.csv +523 -0
  80. package/src/quant-arena/fixtures/data/holdout/S02.csv +523 -0
  81. package/src/quant-arena/fixtures/data/holdout/S03.csv +523 -0
  82. package/src/quant-arena/fixtures/data/holdout/S04.csv +523 -0
  83. package/src/quant-arena/fixtures/data/holdout/S05.csv +523 -0
  84. package/src/quant-arena/fixtures/data/holdout/S06.csv +523 -0
  85. package/src/quant-arena/fixtures/data/holdout/S07.csv +523 -0
  86. package/src/quant-arena/fixtures/data/holdout/S08.csv +523 -0
  87. package/src/quant-arena/fixtures/data/holdout/S09.csv +523 -0
  88. package/src/quant-arena/fixtures/data/holdout/S10.csv +523 -0
  89. package/src/quant-arena/fixtures/data/insample/IDX.csv +2087 -0
  90. package/src/quant-arena/fixtures/data/insample/S01.csv +2087 -0
  91. package/src/quant-arena/fixtures/data/insample/S02.csv +2087 -0
  92. package/src/quant-arena/fixtures/data/insample/S03.csv +2087 -0
  93. package/src/quant-arena/fixtures/data/insample/S04.csv +2087 -0
  94. package/src/quant-arena/fixtures/data/insample/S05.csv +2087 -0
  95. package/src/quant-arena/fixtures/data/insample/S06.csv +2087 -0
  96. package/src/quant-arena/fixtures/data/insample/S07.csv +2087 -0
  97. package/src/quant-arena/fixtures/data/insample/S08.csv +2087 -0
  98. package/src/quant-arena/fixtures/data/insample/S09.csv +2087 -0
  99. package/src/quant-arena/fixtures/data/insample/S10.csv +2087 -0
  100. package/src/quant-arena/fixtures/demo-campaign/cost-ledger.jsonl +16 -0
  101. package/src/quant-arena/fixtures/demo-campaign/notebook.jsonl +5 -0
  102. package/src/quant-arena/fixtures/demo-campaign/rollout-manifest.json +171 -0
  103. package/src/quant-arena/fixtures/demo-campaign/strategies/cand-001-default-author/strategy.ts +119 -0
  104. package/src/quant-arena/fixtures/demo-campaign/strategies/cand-002-default-author/strategy.ts +119 -0
  105. package/src/quant-arena/fixtures/demo-campaign/strategies/cand-003-quant-researcher/strategy.ts +105 -0
  106. package/src/quant-arena/fixtures/demo-campaign/strategies/cand-004-quant-researcher/strategy.ts +102 -0
  107. package/src/quant-arena/fixtures/demo-campaign-v2/cost-ledger.jsonl +4 -0
  108. package/src/quant-arena/fixtures/demo-campaign-v2/notebook.jsonl +2 -0
  109. package/src/quant-arena/fixtures/demo-campaign-v2/rollout-manifest.json +84 -0
  110. package/src/quant-arena/fixtures/demo-campaign-v2/strategies/cand-001-quant-researcher/strategy.ts +117 -0
  111. package/src/quant-arena/holdout-certify.mts +206 -0
  112. package/src/quant-arena/holdout-certify.test.mts +82 -0
  113. package/src/quant-arena/leak-audit.test.mts +79 -0
  114. package/src/quant-arena/leak-audit.ts +95 -0
  115. package/src/quant-arena/make-fixtures.mts +161 -0
  116. package/src/quant-arena/multiplicity.test.mts +68 -0
  117. package/src/quant-arena/multiplicity.ts +87 -0
  118. package/src/quant-arena/nautilus-certify.ts +31 -0
  119. package/src/quant-arena/oms.ts +90 -0
  120. package/src/quant-arena/profiles/quant-researcher.profile.json +7 -0
  121. package/src/quant-arena/python/pyproject.toml +8 -0
  122. package/src/quant-arena/python/uv.lock +1297 -0
  123. package/src/quant-arena/python/vbt-worker.py +192 -0
  124. package/src/quant-arena/quant-loop.mts +813 -0
  125. package/src/quant-arena/quant-loop.test.mts +75 -0
  126. package/src/quant-arena/strategies/buy-hold-index/strategy.ts +11 -0
  127. package/src/quant-arena/strategies/equal-weight/strategy.ts +20 -0
  128. package/src/quant-arena/strategies/sma-crossover/strategy.ts +42 -0
  129. package/src/quant-arena/types.ts +133 -0
  130. package/src/quant-arena/vbt-client.ts +321 -0
  131. package/src/quant-arena/vbt-parity.test.mts +183 -0
  132. package/src/quant-arena/windows.test.mts +45 -0
  133. package/src/quant-arena/windows.ts +54 -0
  134. package/src/rollout-ledger/backfill-swe-arena.mts +606 -0
  135. package/src/rollout-ledger/backfill-swe-arena.test.mts +338 -0
  136. package/src/rollout-ledger/settle-capture.mts +442 -0
  137. package/src/rollout-ledger/settle-capture.test.mts +270 -0
  138. package/src/stream-observe.py +45 -0
  139. package/src/stream-observe.tpl.html +247 -0
  140. package/src/supervisor-arena.mts +816 -0
  141. package/src/swe-arena/activation.mts +228 -0
  142. package/src/swe-arena/activation.test.mts +303 -0
  143. package/src/swe-arena/analyze.ts +211 -0
  144. package/src/swe-arena/arms.ts +804 -0
  145. package/src/swe-arena/bootstrap-meta.mts +188 -0
  146. package/src/swe-arena/bootstrap-meta.test.mts +51 -0
  147. package/src/swe-arena/briefing.mts +217 -0
  148. package/src/swe-arena/briefing.test.mts +178 -0
  149. package/src/swe-arena/calibrate.ts +217 -0
  150. package/src/swe-arena/capabilities.mts +76 -0
  151. package/src/swe-arena/capabilities.test.mts +57 -0
  152. package/src/swe-arena/capacity.ts +194 -0
  153. package/src/swe-arena/cell-evidence.mts +437 -0
  154. package/src/swe-arena/cell-evidence.test.mts +248 -0
  155. package/src/swe-arena/diagnosis-ensemble.test.mts +210 -0
  156. package/src/swe-arena/diagnosis-ensemble.ts +520 -0
  157. package/src/swe-arena/execution.test.mts +1170 -0
  158. package/src/swe-arena/factory-command-container.ts +284 -0
  159. package/src/swe-arena/factory-judge-child.mts +228 -0
  160. package/src/swe-arena/factory.test.mts +643 -0
  161. package/src/swe-arena/fixtures/analyze.py +80 -0
  162. package/src/swe-arena/fixtures/excludes.txt +8 -0
  163. package/src/swe-arena/fixtures/factory/agent-eval-309/calibration.md +51 -0
  164. package/src/swe-arena/fixtures/factory/agent-eval-309/manifest.json +29 -0
  165. package/src/swe-arena/fixtures/factory/agent-eval-309/spec.md +64 -0
  166. package/src/swe-arena/fixtures/factory/agent-runtime-232/calibration.md +48 -0
  167. package/src/swe-arena/fixtures/factory/agent-runtime-232/manifest.json +29 -0
  168. package/src/swe-arena/fixtures/factory/agent-runtime-232/spec.md +48 -0
  169. package/src/swe-arena/fixtures/factory/loops-28/calibration.md +47 -0
  170. package/src/swe-arena/fixtures/factory/loops-28/manifest.json +30 -0
  171. package/src/swe-arena/fixtures/factory/loops-28/spec.md +50 -0
  172. package/src/swe-arena/fixtures/gen1-salvage/README.md +45 -0
  173. package/src/swe-arena/fixtures/gen1-salvage/cand0-e6d7361.diff +116 -0
  174. package/src/swe-arena/fixtures/gen1-salvage/cand1-76a8590.diff +293 -0
  175. package/src/swe-arena/fixtures/holdout-preregister.log +12 -0
  176. package/src/swe-arena/fixtures/holdout.json +44 -0
  177. package/src/swe-arena/fixtures/instances.json +146 -0
  178. package/src/swe-arena/fixtures/ledger.jsonl +12 -0
  179. package/src/swe-arena/fixtures/patches/pallets__flask-5014.solo.patch +36 -0
  180. package/src/swe-arena/fixtures/patches/pydata__xarray-4687.sup.patch +33 -0
  181. package/src/swe-arena/fixtures/rejudge.jsonl +15 -0
  182. package/src/swe-arena/fixtures/rematch.jsonl +3 -0
  183. package/src/swe-arena/fixtures/rematch2.jsonl +3 -0
  184. package/src/swe-arena/fixtures/rematch3.jsonl +3 -0
  185. package/src/swe-arena/fixtures/run-report/README.md +43 -0
  186. package/src/swe-arena/fixtures/run-report/factory-agent-eval-309-FSUP0.json +173 -0
  187. package/src/swe-arena/fixtures/run-report/factory-agent-eval-309-FSUP0.md +100 -0
  188. package/src/swe-arena/fixtures/run-report/gen3-rollup.json +551 -0
  189. package/src/swe-arena/fixtures/run-report/gen3-rollup.md +64 -0
  190. package/src/swe-arena/fixtures/sup-journal-true.json +19 -0
  191. package/src/swe-arena/fixtures/verify/astropy__astropy-13033.sh +48 -0
  192. package/src/swe-arena/fixtures/verify/django__django-11532.sh +50 -0
  193. package/src/swe-arena/fixtures/verify/matplotlib__matplotlib-20826.sh +76 -0
  194. package/src/swe-arena/fixtures/verify/pydata__xarray-4687.sh +44 -0
  195. package/src/swe-arena/fixtures/verify/pytest-dev__pytest-6197.sh +32 -0
  196. package/src/swe-arena/fixtures/verify/sphinx-doc__sphinx-9658.sh +51 -0
  197. package/src/swe-arena/fixtures/worker-tokens.json +42 -0
  198. package/src/swe-arena/fixtures.ts +237 -0
  199. package/src/swe-arena/gepa-seat.mts +583 -0
  200. package/src/swe-arena/gepa-seat.test.mts +635 -0
  201. package/src/swe-arena/holdout-certify.mts +408 -0
  202. package/src/swe-arena/holdout-certify.test.mts +160 -0
  203. package/src/swe-arena/judge-child.mts +37 -0
  204. package/src/swe-arena/ledger-orphans.mts +77 -0
  205. package/src/swe-arena/ledger-orphans.test.mts +147 -0
  206. package/src/swe-arena/lineage-record.mts +164 -0
  207. package/src/swe-arena/lineage-record.test.mts +115 -0
  208. package/src/swe-arena/manifest.mts +293 -0
  209. package/src/swe-arena/manifest.test.mts +169 -0
  210. package/src/swe-arena/materialize.ts +142 -0
  211. package/src/swe-arena/outer-loop.mts +2795 -0
  212. package/src/swe-arena/outer-loop.test.mts +696 -0
  213. package/src/swe-arena/parity.test.mts +87 -0
  214. package/src/swe-arena/premeasured-from-cells.mts +281 -0
  215. package/src/swe-arena/premeasured-from-cells.test.mts +180 -0
  216. package/src/swe-arena/proc.test.mts +174 -0
  217. package/src/swe-arena/proc.ts +260 -0
  218. package/src/swe-arena/profiles/default-author.profile.json +4 -0
  219. package/src/swe-arena/proposer-fanout.mts +770 -0
  220. package/src/swe-arena/proposer-fanout.test.mts +619 -0
  221. package/src/swe-arena/proposer-provenance.mts +177 -0
  222. package/src/swe-arena/proposer-provenance.test.mts +106 -0
  223. package/src/swe-arena/reconcile.ts +0 -0
  224. package/src/swe-arena/replay.mts +183 -0
  225. package/src/swe-arena/replay.test.mts +300 -0
  226. package/src/swe-arena/run-experiment.mts +727 -0
  227. package/src/swe-arena/run-report.mts +75 -0
  228. package/src/swe-arena/run-supervisor.mjs +297 -0
  229. package/src/swe-arena/run-supervisor.test.mts +500 -0
  230. package/src/swe-arena/score-split.mts +140 -0
  231. package/src/swe-arena/score-split.test.mts +123 -0
  232. package/src/swe-arena/serialized-judge.ts +414 -0
  233. package/src/swe-arena/types.ts +218 -0
  234. package/src/swe-code-improve.mts +328 -0
  235. package/src/swe-emit-patch.mts +104 -0
  236. package/src/swe-improve.mts +232 -0
  237. package/src/swe-jail.ts +2 -2
  238. package/src/swe-local-proof.mts +169 -0
  239. package/src/swe-repro-calibrate.mts +446 -0
  240. package/src/swe-stream.mts +1497 -0
  241. package/src/swe-structural.mts +245 -837
  242. package/dist/chunk-LRRD7NAG.js.map +0 -1
  243. package/dist/chunk-PPYSEKFM.js.map +0 -1
  244. /package/dist/{chunk-CKUVRZ2T.js.map → chunk-3U5TXJZS.js.map} +0 -0
  245. /package/dist/{chunk-YCGY7UIZ.js.map → chunk-7GRVHU22.js.map} +0 -0
  246. /package/dist/{chunk-Z7ML6L77.js.map → chunk-HWST3SED.js.map} +0 -0
  247. /package/dist/{chunk-SYDW647C.js.map → chunk-IA2FBTWC.js.map} +0 -0
  248. /package/dist/{chunk-R67DFVLO.js.map → chunk-IFVINJ4B.js.map} +0 -0
  249. /package/dist/{chunk-R36V2VP7.js.map → chunk-IZ5M6OAC.js.map} +0 -0
  250. /package/dist/{chunk-ODT47UAY.js.map → chunk-K3BQGZCT.js.map} +0 -0
  251. /package/dist/{chunk-IFAV6KEM.js.map → chunk-KP5KD6EN.js.map} +0 -0
  252. /package/dist/{chunk-ZEWMTR5M.js.map → chunk-MQMRLGOG.js.map} +0 -0
  253. /package/dist/{chunk-TSWPNOYM.js.map → chunk-NQG5XDSB.js.map} +0 -0
  254. /package/dist/{chunk-7WSD27QQ.js.map → chunk-PB64GYIG.js.map} +0 -0
  255. /package/dist/{chunk-HBSWHQNJ.js.map → chunk-RCYQEFNX.js.map} +0 -0
  256. /package/dist/{chunk-J3KDJNX2.js.map → chunk-RH5F53JT.js.map} +0 -0
  257. /package/dist/{chunk-UAIOHCUK.js.map → chunk-SFLA7OH3.js.map} +0 -0
  258. /package/dist/{chunk-Y6O2OCUO.js.map → chunk-SHM6MRRF.js.map} +0 -0
  259. /package/dist/{chunk-KDIKRJGB.js.map → chunk-SHYIRB7I.js.map} +0 -0
  260. /package/dist/{chunk-HHXFIHXC.js.map → chunk-SVR2LKYI.js.map} +0 -0
  261. /package/dist/{chunk-5SBJCB6W.js.map → chunk-V7AEBY6U.js.map} +0 -0
  262. /package/dist/{chunk-2PVVP7GN.js.map → chunk-XKEFIFIC.js.map} +0 -0
  263. /package/dist/{chunk-JRWWGMK7.js.map → chunk-XYA4XSNU.js.map} +0 -0
  264. /package/dist/{chunk-X5YKXC6V.js.map → chunk-YSMEKBTD.js.map} +0 -0
  265. /package/dist/{chunk-2XU6OGEN.js.map → chunk-Z4TZ76N7.js.map} +0 -0
@@ -0,0 +1,146 @@
1
+ {
2
+ "astropy__astropy-13033": {
3
+ "base_commit": "298ccb478e6bf092953bca67a3d29dc6c35f6752",
4
+ "environment_setup_commit": "298ccb478e6bf092953bca67a3d29dc6c35f6752",
5
+ "image": "swebench/sweb.eval.x86_64.astropy_1776_astropy-13033:latest",
6
+ "repo": "astropy/astropy"
7
+ },
8
+ "astropy__astropy-14182": {
9
+ "base_commit": "a5917978be39d13cd90b517e1de4e7a539ffaa48",
10
+ "environment_setup_commit": "5f74eacbcc7fff707a44d8eb58adaa514cb7dcb5",
11
+ "image": "swebench/sweb.eval.x86_64.astropy_1776_astropy-14182:latest",
12
+ "repo": "astropy/astropy"
13
+ },
14
+ "astropy__astropy-14369": {
15
+ "base_commit": "fa4e8d1cd279acf9b24560813c8652494ccd5922",
16
+ "environment_setup_commit": "5f74eacbcc7fff707a44d8eb58adaa514cb7dcb5",
17
+ "image": "swebench/sweb.eval.x86_64.astropy_1776_astropy-14369:latest",
18
+ "repo": "astropy/astropy"
19
+ },
20
+ "astropy__astropy-14508": {
21
+ "base_commit": "a3f4ae6cd24d5ecdf49f213d77b3513dd509a06c",
22
+ "environment_setup_commit": "5f74eacbcc7fff707a44d8eb58adaa514cb7dcb5",
23
+ "image": "swebench/sweb.eval.x86_64.astropy_1776_astropy-14508:latest",
24
+ "repo": "astropy/astropy"
25
+ },
26
+ "django__django-11532": {
27
+ "base_commit": "a5308514fb4bc5086c9a16a8a24a945eeebb073c",
28
+ "environment_setup_commit": "419a78300f7cd27611196e1e464d50fd0385ff27",
29
+ "image": "swebench/sweb.eval.x86_64.django_1776_django-11532:latest",
30
+ "repo": "django/django"
31
+ },
32
+ "django__django-12774": {
33
+ "base_commit": "67f9d076cfc1858b94f9ed6d1a5ce2327dcc8d0d",
34
+ "environment_setup_commit": "0668164b4ac93a5be79f5b87fae83c657124d9ab",
35
+ "image": "swebench/sweb.eval.x86_64.django_1776_django-12774:latest",
36
+ "repo": "django/django"
37
+ },
38
+ "django__django-14140": {
39
+ "base_commit": "45814af6197cfd8f4dc72ee43b90ecde305a1d5a",
40
+ "environment_setup_commit": "475cffd1d64c690cdad16ede4d5e81985738ceb4",
41
+ "image": "swebench/sweb.eval.x86_64.django_1776_django-14140:latest",
42
+ "repo": "django/django"
43
+ },
44
+ "matplotlib__matplotlib-20826": {
45
+ "base_commit": "a0d2e399729d36499a1924e5ca5bc067c8396810",
46
+ "environment_setup_commit": "f93c0a3dcb82feed0262d758626c90d4002685f3",
47
+ "image": "swebench/sweb.eval.x86_64.matplotlib_1776_matplotlib-20826:latest",
48
+ "repo": "matplotlib/matplotlib"
49
+ },
50
+ "mwaskom__seaborn-3187": {
51
+ "base_commit": "22cdfb0c93f8ec78492d87edb810f10cb7f57a31",
52
+ "environment_setup_commit": "d25872b0fc99dbf7e666a91f59bd4ed125186aa1",
53
+ "image": "swebench/sweb.eval.x86_64.mwaskom_1776_seaborn-3187:latest",
54
+ "repo": "mwaskom/seaborn"
55
+ },
56
+ "pallets__flask-5014": {
57
+ "base_commit": "7ee9ceb71e868944a46e1ff00b506772a53a4f1d",
58
+ "environment_setup_commit": "182ce3dd15dfa3537391c3efaf9c3ff407d134d4",
59
+ "image": "swebench/sweb.eval.x86_64.pallets_1776_flask-5014:latest",
60
+ "repo": "pallets/flask"
61
+ },
62
+ "psf__requests-1766": {
63
+ "base_commit": "847735553aeda6e6633f2b32e14ba14ba86887a4",
64
+ "environment_setup_commit": "4bceb312f1b99d36a25f2985b5606e98b6f0d8cd",
65
+ "image": "swebench/sweb.eval.x86_64.psf_1776_requests-1766:latest",
66
+ "repo": "psf/requests"
67
+ },
68
+ "psf__requests-2317": {
69
+ "base_commit": "091991be0da19de9108dbe5e3752917fea3d7fdc",
70
+ "environment_setup_commit": "091991be0da19de9108dbe5e3752917fea3d7fdc",
71
+ "image": "swebench/sweb.eval.x86_64.psf_1776_requests-2317:latest",
72
+ "repo": "psf/requests"
73
+ },
74
+ "psf__requests-2931": {
75
+ "base_commit": "5f7a3a74aab1625c2bb65f643197ee885e3da576",
76
+ "environment_setup_commit": "bbeb0001cdc657ac8c7fef98e154229bc392db0e",
77
+ "image": "swebench/sweb.eval.x86_64.psf_1776_requests-2931:latest",
78
+ "repo": "psf/requests"
79
+ },
80
+ "pydata__xarray-4687": {
81
+ "base_commit": "d3b6aa6d8b997df115a53c001d00222a0f92f63a",
82
+ "environment_setup_commit": "1c198a191127c601d091213c4b3292a8bb3054e1",
83
+ "image": "swebench/sweb.eval.x86_64.pydata_1776_xarray-4687:latest",
84
+ "repo": "pydata/xarray"
85
+ },
86
+ "pylint-dev__pylint-8898": {
87
+ "base_commit": "1f8c4d9eb185c16a2c1d881c054f015e1c2eb334",
88
+ "environment_setup_commit": "a0ce6e424e3a208f3aed1cbf6e16c40853bec3c0",
89
+ "image": "swebench/sweb.eval.x86_64.pylint-dev_1776_pylint-8898:latest",
90
+ "repo": "pylint-dev/pylint"
91
+ },
92
+ "pytest-dev__pytest-6197": {
93
+ "base_commit": "e856638ba086fcf5bebf1bebea32d5cf78de87b4",
94
+ "environment_setup_commit": "f36ea240fe3579f945bf5d6cc41b5e45a572249d",
95
+ "image": "swebench/sweb.eval.x86_64.pytest-dev_1776_pytest-6197:latest",
96
+ "repo": "pytest-dev/pytest"
97
+ },
98
+ "pytest-dev__pytest-7236": {
99
+ "base_commit": "c98bc4cd3d687fe9b392d8eecd905627191d4f06",
100
+ "environment_setup_commit": "678c1a0745f1cf175c442c719906a1f13e496910",
101
+ "image": "swebench/sweb.eval.x86_64.pytest-dev_1776_pytest-7236:latest",
102
+ "repo": "pytest-dev/pytest"
103
+ },
104
+ "scikit-learn__scikit-learn-14087": {
105
+ "base_commit": "a5743ed36fbd3fbc8e351bdab16561fbfca7dfa1",
106
+ "environment_setup_commit": "7e85a6d1f038bbb932b36f18d75df6be937ed00d",
107
+ "image": "swebench/sweb.eval.x86_64.scikit-learn_1776_scikit-learn-14087:latest",
108
+ "repo": "scikit-learn/scikit-learn"
109
+ },
110
+ "scikit-learn__scikit-learn-14894": {
111
+ "base_commit": "fdbaa58acbead5a254f2e6d597dc1ab3b947f4c6",
112
+ "environment_setup_commit": "7e85a6d1f038bbb932b36f18d75df6be937ed00d",
113
+ "image": "swebench/sweb.eval.x86_64.scikit-learn_1776_scikit-learn-14894:latest",
114
+ "repo": "scikit-learn/scikit-learn"
115
+ },
116
+ "sphinx-doc__sphinx-9658": {
117
+ "base_commit": "232dbe41c5250eb7d559d40438c4743483e95f15",
118
+ "environment_setup_commit": "6c6cc8a6f50b18331cb818160d168d7bb9c03e55",
119
+ "image": "swebench/sweb.eval.x86_64.sphinx-doc_1776_sphinx-9658:latest",
120
+ "repo": "sphinx-doc/sphinx"
121
+ },
122
+ "sympy__sympy-14976": {
123
+ "base_commit": "9cbea134220b0b951587e11b63e2c832c7246cbc",
124
+ "environment_setup_commit": "e53e809176de9aa0fb62e85689f8cdb669d4cacb",
125
+ "image": "swebench/sweb.eval.x86_64.sympy_1776_sympy-14976:latest",
126
+ "repo": "sympy/sympy"
127
+ },
128
+ "sympy__sympy-17318": {
129
+ "base_commit": "d4e0231b08147337745dcf601e62de7eefe2fb2d",
130
+ "environment_setup_commit": "70381f282f2d9d039da860e391fe51649df2779d",
131
+ "image": "swebench/sweb.eval.x86_64.sympy_1776_sympy-17318:latest",
132
+ "repo": "sympy/sympy"
133
+ },
134
+ "sympy__sympy-20438": {
135
+ "base_commit": "33b47e4bd60e2302e42616141e76285038b724d6",
136
+ "environment_setup_commit": "3ac1464b8840d5f8b618a654f9fbf09c452fe969",
137
+ "image": "swebench/sweb.eval.x86_64.sympy_1776_sympy-20438:latest",
138
+ "repo": "sympy/sympy"
139
+ },
140
+ "sympy__sympy-23534": {
141
+ "base_commit": "832c24fec1046eaa544a4cab4c69e3af3e651759",
142
+ "environment_setup_commit": "9a6104eab0ea7ac191a09c24f3e2d79dcd66bda5",
143
+ "image": "swebench/sweb.eval.x86_64.sympy_1776_sympy-23534:latest",
144
+ "repo": "sympy/sympy"
145
+ }
146
+ }
@@ -0,0 +1,12 @@
1
+ {"iid": "pallets__flask-5014", "solo_resolved": true, "sup_resolved": true, "solo_verify_pass": true, "sup_verify_pass": true, "solo_patch_lines": 36, "sup_patch_lines": 14, "solo_wall_s": 116, "sup_wall_s": 261, "solo_tokens": 30738, "solo_usage": {"steps": 20, "in": 26753, "out": 3035, "reasoning": 950, "cache_w": 0, "cache_r": 532096, "max_ctx": 33285, "oc_cost": 0.0, "total_io": 30738}, "sup_spentTokens": 15731, "sup_spentUsd": 0.012379399999999999, "sup_spawned": 2, "sup_settled": 1, "sup_subtasks": [], "sup_delivered": true, "sup_status": "completed", "sup_verdict": "delivered", "solo_oc_rc": 0, "sup_driver_rc": 0, "solo_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/pallets__flask-5014.solo.patch", "sup_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/pallets__flask-5014.sup.patch", "_note": "sup patch re-extracted vs BASE commit (supervisor commits delivery); re-judged resolved=true"}
2
+ {"iid": "psf__requests-2931", "solo_resolved": false, "sup_resolved": false, "solo_verify_pass": true, "sup_verify_pass": true, "solo_patch_lines": 15, "sup_patch_lines": 96, "solo_wall_s": 166, "sup_wall_s": 1058, "solo_tokens": 23145, "solo_usage": {"steps": 25, "in": 16970, "out": 3037, "reasoning": 3138, "cache_w": 0, "cache_r": 695104, "max_ctx": 35652, "oc_cost": 0.0, "total_io": 23145}, "sup_spentTokens": 54894, "sup_spentUsd": 0.0426564, "sup_spawned": 3, "sup_workers": 2, "sup_settled": 2, "sup_subtasks": ["fix-binary-payload-to_native_string", "refine-actual-to_native_string-fix"], "sup_delivered": true, "sup_status": "completed", "sup_verdict": "delivered", "solo_oc_rc": 0, "sup_driver_rc": 0, "solo_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/psf__requests-2931.solo.patch", "sup_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/psf__requests-2931.sup.patch"}
3
+ {"iid": "psf__requests-2317", "solo_resolved": false, "sup_resolved": false, "solo_verify_pass": true, "sup_verify_pass": true, "solo_patch_lines": 13, "sup_patch_lines": 68, "solo_wall_s": 131, "sup_wall_s": 682, "solo_tokens": 38719, "solo_usage": {"steps": 22, "in": 34502, "out": 2802, "reasoning": 1415, "cache_w": 0, "cache_r": 738816, "max_ctx": 41281, "oc_cost": 0.0, "total_io": 38719}, "sup_spentTokens": 26076, "sup_spentUsd": 0.0216536, "sup_spawned": 2, "sup_workers": 1, "sup_settled": 1, "sup_subtasks": ["fix-bytes-method-handling"], "sup_delivered": true, "sup_status": "completed", "sup_verdict": "delivered", "solo_oc_rc": 0, "sup_driver_rc": 0, "solo_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/psf__requests-2317.solo.patch", "sup_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/psf__requests-2317.sup.patch"}
4
+ {"iid": "psf__requests-1766", "solo_resolved": true, "sup_resolved": true, "solo_verify_pass": true, "sup_verify_pass": true, "solo_patch_lines": 13, "sup_patch_lines": 13, "solo_wall_s": 34, "sup_wall_s": 352, "solo_tokens": 19500, "solo_usage": {"steps": 8, "in": 18828, "out": 596, "reasoning": 76, "cache_w": 0, "cache_r": 176832, "max_ctx": 25468, "oc_cost": 0.0, "total_io": 19500}, "sup_spentTokens": 38224, "sup_spentUsd": 0.02752, "sup_spawned": 3, "sup_workers": 2, "sup_settled": 2, "sup_subtasks": ["survey-digest-auth", "fix-qop-quoting"], "sup_delivered": true, "sup_status": "completed", "sup_verdict": "delivered", "solo_oc_rc": 0, "sup_driver_rc": 0, "solo_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/psf__requests-1766.solo.patch", "sup_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/psf__requests-1766.sup.patch", "_note": "sup patch byte-identical to solo patch; original sup judge false was a flake; re-judged 2x stable resolved=true"}
5
+ {"iid": "sympy__sympy-23534", "solo_resolved": true, "sup_resolved": true, "solo_verify_pass": true, "sup_verify_pass": true, "solo_patch_lines": 13, "sup_patch_lines": 13, "solo_wall_s": 150, "sup_wall_s": 212, "solo_tokens": 39965, "solo_usage": {"steps": 25, "in": 34557, "out": 4085, "reasoning": 1323, "cache_w": 0, "cache_r": 761984, "max_ctx": 40877, "oc_cost": 0.0, "total_io": 39965}, "sup_spentTokens": 26274, "sup_spentUsd": 0.0238716, "sup_spawned": 2, "sup_workers": 1, "sup_settled": 1, "sup_subtasks": ["fix-symbols-cls-propagation"], "sup_delivered": true, "sup_status": "completed", "sup_verdict": "delivered", "solo_oc_rc": 0, "sup_driver_rc": 0, "solo_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/sympy__sympy-23534.solo.patch", "sup_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/sympy__sympy-23534.sup.patch"}
6
+ {"iid": "sympy__sympy-14976", "solo_resolved": true, "sup_resolved": true, "solo_verify_pass": true, "sup_verify_pass": true, "solo_patch_lines": 17, "sup_patch_lines": 16, "solo_wall_s": 212, "sup_wall_s": 337, "solo_tokens": 60193, "solo_usage": {"steps": 42, "in": 52108, "out": 5940, "reasoning": 2145, "cache_w": 0, "cache_r": 1951168, "max_ctx": 57875, "oc_cost": 0.0, "total_io": 60193}, "sup_spentTokens": 28694, "sup_spentUsd": 0.0270036, "sup_spawned": 2, "sup_workers": 1, "sup_settled": 1, "sup_subtasks": ["fix-mpmath-rational-wrapping"], "sup_delivered": true, "sup_status": "completed", "sup_verdict": "delivered", "solo_oc_rc": 0, "sup_driver_rc": 0, "solo_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/sympy__sympy-14976.solo.patch", "sup_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/sympy__sympy-14976.sup.patch"}
7
+ {"iid": "astropy__astropy-13033", "solo_resolved": true, "sup_resolved": false, "solo_verify_pass": true, "sup_verify_pass": false, "solo_patch_lines": 34, "sup_patch_lines": 0, "solo_wall_s": 350, "sup_wall_s": 1550, "solo_tokens": 59496, "solo_usage": {"steps": 35, "in": 48041, "out": 6296, "reasoning": 5159, "cache_w": 0, "cache_r": 1401408, "max_ctx": 53915, "oc_cost": 0.0, "total_io": 59496}, "sup_spentTokens": 0, "sup_spentUsd": 0, "sup_spawned": 4, "sup_workers": 3, "sup_settled": 3, "sup_subtasks": ["fix-timeseries-misleading-exception", "apply-and-verify-timeseries-fix", "apply-and-verify-timeseries-fix-v2"], "sup_delivered": false, "sup_status": "completed", "sup_verdict": "no-winner", "solo_oc_rc": 0, "sup_driver_rc": 0, "solo_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/astropy__astropy-13033.solo.patch", "sup_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/astropy__astropy-13033.sup.patch"}
8
+ {"iid": "pydata__xarray-4687", "solo_resolved": false, "sup_resolved": false, "solo_verify_pass": true, "sup_verify_pass": true, "solo_patch_lines": 32, "sup_patch_lines": 33, "solo_wall_s": 322, "sup_wall_s": 504, "solo_tokens": 56098, "solo_usage": {"steps": 45, "in": 47437, "out": 5678, "reasoning": 2983, "cache_w": 0, "cache_r": 1823296, "max_ctx": 53147, "oc_cost": 0.0, "total_io": 56098}, "sup_spentTokens": 27341, "sup_spentUsd": 0.020335799999999998, "sup_spawned": 2, "sup_workers": 1, "sup_settled": 1, "sup_subtasks": ["where-keep-attrs-fix"], "sup_delivered": true, "sup_status": "completed", "sup_verdict": "delivered", "solo_oc_rc": 0, "sup_driver_rc": 0, "solo_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/pydata__xarray-4687.solo.patch", "sup_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/pydata__xarray-4687.sup.patch"}
9
+ {"iid": "django__django-11532", "solo_resolved": true, "sup_resolved": false, "solo_verify_pass": true, "sup_verify_pass": false, "solo_patch_lines": 40, "sup_patch_lines": 0, "solo_wall_s": 293, "sup_wall_s": 1704, "solo_tokens": 65706, "solo_usage": {"steps": 23, "in": 53078, "out": 4289, "reasoning": 8339, "cache_w": 0, "cache_r": 1005248, "max_ctx": 59360, "oc_cost": 0.0, "total_io": 65706}, "sup_spentTokens": null, "sup_spentUsd": null, "sup_spawned": 5, "sup_workers": 4, "sup_settled": 3, "sup_subtasks": ["fix-unicode-dns-punycode", "apply-and-verify-punycode", "minimal-fix-verify", "edit-files-and-run-tests"], "sup_delivered": null, "sup_status": "running", "sup_verdict": null, "solo_oc_rc": 0, "sup_driver_rc": 3, "solo_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/django__django-11532.solo.patch", "sup_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/django__django-11532.sup.patch"}
10
+ {"iid": "pytest-dev__pytest-6197", "solo_resolved": false, "sup_resolved": false, "solo_verify_pass": false, "sup_verify_pass": false, "solo_patch_lines": 0, "sup_patch_lines": 0, "solo_wall_s": 755, "sup_wall_s": 248, "solo_tokens": 133032, "solo_usage": {"steps": 37, "in": 90328, "out": 3993, "reasoning": 38711, "cache_w": 0, "cache_r": 1805248, "max_ctx": 96107, "oc_cost": 0.0, "total_io": 133032}, "sup_spentTokens": 0, "sup_spentUsd": 0, "sup_spawned": 1, "sup_workers": 0, "sup_settled": 0, "sup_subtasks": [], "sup_delivered": false, "sup_status": "completed", "sup_verdict": "no-winner", "solo_oc_rc": 0, "sup_driver_rc": 0, "solo_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/pytest-dev__pytest-6197.solo.patch", "sup_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/pytest-dev__pytest-6197.sup.patch"}
11
+ {"iid": "matplotlib__matplotlib-20826", "solo_resolved": true, "sup_resolved": false, "solo_verify_pass": true, "sup_verify_pass": false, "solo_patch_lines": 23, "sup_patch_lines": 0, "solo_wall_s": 1000, "sup_wall_s": 1702, "solo_tokens": 109119, "solo_usage": {"steps": 79, "in": 81255, "out": 14156, "reasoning": 13708, "cache_w": 0, "cache_r": 4371328, "max_ctx": 85881, "oc_cost": 0.0, "total_io": 109119}, "sup_spentTokens": null, "sup_spentUsd": null, "sup_spawned": 4, "sup_workers": 3, "sup_settled": 2, "sup_subtasks": ["survey-bug-location", "fix-axclear-ticks", "apply-and-verify"], "sup_delivered": null, "sup_status": "running", "sup_verdict": null, "solo_oc_rc": 124, "sup_driver_rc": 3, "solo_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/matplotlib__matplotlib-20826.solo.patch", "sup_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/matplotlib__matplotlib-20826.sup.patch"}
12
+ {"iid": "sphinx-doc__sphinx-9658", "solo_resolved": false, "sup_resolved": false, "solo_verify_pass": false, "sup_verify_pass": false, "solo_patch_lines": 0, "sup_patch_lines": 0, "solo_wall_s": 240, "sup_wall_s": 514, "solo_tokens": 39701, "solo_usage": {"steps": 19, "in": 33537, "out": 1934, "reasoning": 4230, "cache_w": 0, "cache_r": 577152, "max_ctx": 40548, "oc_cost": 0.0, "total_io": 39701}, "sup_spentTokens": 0, "sup_spentUsd": 0, "sup_spawned": 1, "sup_workers": 0, "sup_settled": 0, "sup_subtasks": [], "sup_delivered": false, "sup_status": "completed", "sup_verdict": "no-winner", "solo_oc_rc": 0, "sup_driver_rc": 0, "solo_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/sphinx-doc__sphinx-9658.solo.patch", "sup_patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/sphinx-doc__sphinx-9658.sup.patch"}
@@ -0,0 +1,36 @@
1
+ diff --git a/CHANGES.rst b/CHANGES.rst
2
+ index 498d5e51..c37dd2a2 100644
3
+ --- a/CHANGES.rst
4
+ +++ b/CHANGES.rst
5
+ @@ -35,6 +35,7 @@ Unreleased
6
+ - Ensure subdomains are applied with nested blueprints. :issue:`4834`
7
+ - ``config.from_file`` can use ``text=False`` to indicate that the parser wants a
8
+ binary file instead. :issue:`4989`
9
+ +- A blueprint named with an empty string raises a ``ValueError``. :issue:`4944`
10
+
11
+
12
+ Version 2.2.4
13
+ diff --git a/src/flask/blueprints.py b/src/flask/blueprints.py
14
+ index eb50585d..a36722c9 100644
15
+ --- a/src/flask/blueprints.py
16
+ +++ b/src/flask/blueprints.py
17
+ @@ -159,6 +159,9 @@ class Blueprint(Scaffold):
18
+ automatic detection can fail, so the path can be specified
19
+ manually instead.
20
+
21
+ + .. versionchanged:: 2.3.0
22
+ + Avoids the ``name`` being an empty string, which can cause errors.
23
+ +
24
+ .. versionchanged:: 1.1.0
25
+ Blueprints have a ``cli`` group to register nested CLI commands.
26
+ The ``cli_group`` parameter controls the name of the group under
27
+ @@ -182,6 +185,9 @@ class Blueprint(Scaffold):
28
+ root_path: t.Optional[str] = None,
29
+ cli_group: t.Optional[str] = _sentinel, # type: ignore
30
+ ):
31
+ + if not name:
32
+ + raise ValueError("'name' may not be empty.")
33
+ +
34
+ super().__init__(
35
+ import_name=import_name,
36
+ static_folder=static_folder,
@@ -0,0 +1,33 @@
1
+ diff --git a/xarray/core/computation.py b/xarray/core/computation.py
2
+ index 9fe93c88..e2dd1c0b 100644
3
+ --- a/xarray/core/computation.py
4
+ +++ b/xarray/core/computation.py
5
+ @@ -1727,7 +1727,7 @@ def dot(*arrays, dims=None, **kwargs):
6
+ return result.transpose(*all_dims, missing_dims="ignore")
7
+
8
+
9
+ -def where(cond, x, y):
10
+ +def where(cond, x, y, keep_attrs=None):
11
+ """Return elements from `x` or `y` depending on `cond`.
12
+
13
+ Performs xarray-like broadcasting across input arguments.
14
+ @@ -1743,6 +1743,11 @@ def where(cond, x, y):
15
+ values to choose from where `cond` is True
16
+ y : scalar, array, Variable, DataArray or Dataset
17
+ values to choose from where `cond` is False
18
+ + keep_attrs : bool or None, optional
19
+ + If True, the attributes (``attrs``) will be copied
20
+ + from the first argument to the result. If None, the
21
+ + global default (``OPTIONS[keep_attrs]``) is used,
22
+ + which defaults to False.
23
+
24
+ Returns
25
+ -------
26
+ @@ -1817,6 +1822,7 @@ def where(cond, x, y):
27
+ join="exact",
28
+ dataset_join="exact",
29
+ dask="allowed",
30
+ + keep_attrs=keep_attrs,
31
+ )
32
+
33
+
@@ -0,0 +1,15 @@
1
+ {"iid": "pallets__flask-5014", "tag": "gold-control", "patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/gates/pallets__flask-5014.gold.patch", "resolved": true, "score": 1, "secs": 22, "patch_bytes": 390}
2
+ {"iid": "psf__requests-2931", "tag": "gold", "patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/gates/psf__requests-2931.gold.patch", "resolved": false, "score": 0, "secs": 26, "patch_bytes": 723}
3
+ {"iid": "psf__requests-2317", "tag": "gold", "patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/gates/psf__requests-2317.gold.patch", "resolved": null, "error": "parse", "raw": ""}
4
+ {"iid": "pydata__xarray-4687", "tag": "gold", "patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/gates/pydata__xarray-4687.gold.patch", "resolved": true, "score": 1, "secs": 71, "patch_bytes": 1539}
5
+ {"iid": "astropy__astropy-13033", "tag": "solo-final", "patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/astropy__astropy-13033.solo.patch", "resolved": true, "score": 1, "secs": 58, "patch_bytes": 1596}
6
+ {"iid": "django__django-11532", "tag": "solo-final", "patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/django__django-11532.solo.patch", "resolved": true, "score": 1, "secs": 29, "patch_bytes": 1349}
7
+ {"iid": "matplotlib__matplotlib-20826", "tag": "solo-final", "patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/matplotlib__matplotlib-20826.solo.patch", "resolved": true, "score": 1, "secs": 70, "patch_bytes": 1057}
8
+ {"iid": "psf__requests-2931", "tag": "sup-final", "patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/psf__requests-2931.sup.patch", "resolved": false, "score": 0, "secs": 21, "patch_bytes": 3385}
9
+ {"iid": "psf__requests-2317", "tag": "solo-final", "patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/psf__requests-2317.solo.patch", "resolved": null, "error": "parse", "raw": ""}
10
+ {"iid": "psf__requests-2317", "tag": "sup-final", "patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/psf__requests-2317.sup.patch", "resolved": null, "error": "parse", "raw": ""}
11
+ {"iid": "pydata__xarray-4687", "tag": "solo-final", "patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/pydata__xarray-4687.solo.patch", "resolved": false, "score": 0, "secs": 71, "patch_bytes": 1133}
12
+ {"iid": "pydata__xarray-4687", "tag": "sup-final", "patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/pydata__xarray-4687.sup.patch", "resolved": false, "score": 0, "secs": 68, "patch_bytes": 1142}
13
+ {"iid": "psf__requests-2317", "tag": "gold2", "patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/gates/psf__requests-2317.gold.patch", "resolved": false, "score": 0, "secs": 1142, "patch_bytes": 763}
14
+ {"iid": "psf__requests-2317", "tag": "solo-final2", "patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/psf__requests-2317.solo.patch", "resolved": false, "score": 0, "secs": 1134, "patch_bytes": 396}
15
+ {"iid": "psf__requests-2317", "tag": "sup-final2", "patch": "/tmp/claude-1000/-home-drew-code-supervisor-lab/f06fd156-042a-4ef9-bd88-f2ec7f52b90c/scratchpad/hh/patches/psf__requests-2317.sup.patch", "resolved": false, "score": 0, "secs": 1129, "patch_bytes": 2362}
@@ -0,0 +1,3 @@
1
+ {"iid": "astropy__astropy-13033", "arm": "SUP2", "resolved": false, "verify_pass": true, "patch_lines": 48, "wall_s": 1262, "spawned": 8, "workers": 7, "sup_status": "completed", "sup_verdict": "best-effort", "delivered": true, "spentTokens": 146618}
2
+ {"iid": "django__django-11532", "arm": "SUP2", "resolved": false, "verify_pass": true, "patch_lines": 64, "wall_s": 1070, "spawned": 3, "workers": 2, "sup_status": "completed", "sup_verdict": "delivered", "delivered": true, "spentTokens": 54623}
3
+ {"iid": "matplotlib__matplotlib-20826", "arm": "SUP2", "resolved": false, "verify_pass": false, "patch_lines": 0, "wall_s": 1530, "spawned": 7, "workers": 6, "sup_status": "completed", "sup_verdict": "no-winner", "delivered": false, "spentTokens": 181765}
@@ -0,0 +1,3 @@
1
+ {"iid": "astropy__astropy-13033", "arm": "SUP3", "resolved": false, "verify_pass": true, "patch_lines": 47, "wall_s": 741, "spawned": 2, "workers": 1, "sup_status": "completed", "sup_verdict": "delivered", "delivered": true, "spentTokens": 28077}
2
+ {"iid": "django__django-11532", "arm": "SUP3", "resolved": false, "verify_pass": true, "patch_lines": 69, "wall_s": 1422, "spawned": 3, "workers": 2, "sup_status": "completed", "sup_verdict": "delivered", "delivered": true, "spentTokens": 56265}
3
+ {"iid": "matplotlib__matplotlib-20826", "arm": "SUP3", "resolved": false, "verify_pass": false, "patch_lines": 0, "wall_s": 1704, "spawned": 3, "workers": 2, "sup_status": "running", "sup_verdict": null, "delivered": null, "spentTokens": null}
@@ -0,0 +1,3 @@
1
+ {"iid": "astropy__astropy-13033", "arm": "SUP4", "resolved": false, "verify_pass": true, "patch_lines": 38, "wall_s": 555, "spawned": 3, "workers": 2, "sup_status": "completed", "sup_verdict": "delivered", "delivered": true, "spentTokens": 64387}
2
+ {"iid": "django__django-11532", "arm": "SUP4", "resolved": false, "verify_pass": true, "patch_lines": 50, "wall_s": 1031, "spawned": 4, "workers": 3, "sup_status": "completed", "sup_verdict": "delivered", "delivered": true, "spentTokens": 86094}
3
+ {"iid": "matplotlib__matplotlib-20826", "arm": "SUP4", "resolved": true, "verify_pass": true, "patch_lines": 23, "wall_s": 901, "spawned": 3, "workers": 2, "sup_status": "completed", "sup_verdict": "delivered", "delivered": true, "spentTokens": 62611}
@@ -0,0 +1,43 @@
1
+ # run-report evidence
2
+
3
+ Reports over completed runs, committed as the measured record behind the supervisor-behavior
4
+ claims. Both source run directories were read READ-ONLY (`--report-dir` wrote the reports
5
+ here, never into the run).
6
+
7
+ The reader is `@tangle-network/agent-eval/supervisor-run` — a supervision tree is a rollout
8
+ trace with one more dimension, so it lives in the trace-analysis layer next to single-rollout
9
+ analysis. `src/swe-arena/run-report.mts` is only the CLI over it.
10
+
11
+ These files were captured before that move, so they are the pre-move record, not current
12
+ library output. Every metric key and value below was reproduced from the same run bytes with
13
+ zero diffs when the reader moved (tangle-network/agent-eval#417); what a re-run today would
14
+ change is the envelope and the metric set, never these numbers:
15
+
16
+ - `schema` is `swe-arena/run-report@1` / `swe-arena/run-report-rollup@1` here; the library
17
+ now emits `tangle.supervisor-run@1` / `tangle.supervisor-run-rollup@1`.
18
+ - the per-run envelope names the source `cellDir`; the library names it `runRef`, because the
19
+ input contract is a reader over bytes rather than a directory.
20
+ - `economics.brainTruncations` did not exist at capture time and is absent here.
21
+
22
+ Re-capturing them means re-reading the source run directories, which are not part of this
23
+ repo — so they stay as committed evidence rather than being regenerated in place.
24
+
25
+ | File | Source run | Command |
26
+ |---|---|---|
27
+ | `gen3-rollup.{json,md}` | gen-3 arena, 51 cells (`…/scratchpad/hh/gen3`) | `tsx src/swe-arena/run-report.mts --round <gen3> --report-dir <out>` |
28
+ | `factory-agent-eval-309-FSUP0.{json,md}` | factory gen-0 live, cell `factory.agent-eval.309` rep 0 (`/tmp/factory-gen0-live`) | `tsx src/swe-arena/run-report.mts <cellDir> --patch <p> --ledger <ledger.jsonl> --report-dir <out>` |
29
+
30
+ Headline facts these files carry:
31
+
32
+ - **gen-3: 0 steers across all 51 cells.** 42 cells measured a real `0`; 9 cells report
33
+ `unavailable` (no `workers/` directory — the supervisor never started a worker there).
34
+ 161 workers spawned, 35 accepted, mean 3.1 waves per cell, mean worker utilization 0.47,
35
+ mean idle share 52.6%, $3.26 brain spend, 17/51 judged resolved.
36
+ - **factory.agent-eval.309 (FSUP0, rep 0): 0 steers, 4 waves `[2,1,1,1]`, 5 workers,
37
+ utilization 0.663, idle 15.6min of a 32.2min run (48.3%).** 3 accepted / 1 rejected /
38
+ 1 empty-pass; every respawn was preceded by settled evidence (3/3); delegation depth 1;
39
+ judge 13/30 (score 0.4333, unresolved).
40
+
41
+ Read together: the supervisor is a dispatcher with a retry loop — spawn → wait → read
42
+ settled evidence → respawn — not a lead steering contributors mid-task. Half the wall clock
43
+ has no worker running at all.
@@ -0,0 +1,173 @@
1
+ {
2
+ "schema": "swe-arena/run-report@1",
3
+ "cellDir": "/tmp/factory-gen0-live/rep-0/runs/factory.agent-eval.309/FSUP0",
4
+ "instanceId": "factory.agent-eval.309",
5
+ "arm": "FSUP0",
6
+ "supervisorId": "sup-1-8f75ee",
7
+ "generatedAt": "2026-07-24T00:32:17.691Z",
8
+ "orchestration": {
9
+ "workersSpawned": 5,
10
+ "workersSettled": 5,
11
+ "workersCancelled": 0,
12
+ "steers": 0,
13
+ "steersDelivered": 0,
14
+ "steersByWorker": [
15
+ {
16
+ "worker": "w-0",
17
+ "queued": 0,
18
+ "delivered": 0
19
+ },
20
+ {
21
+ "worker": "w-1",
22
+ "queued": 0,
23
+ "delivered": 0
24
+ },
25
+ {
26
+ "worker": "w-2",
27
+ "queued": 0,
28
+ "delivered": 0
29
+ },
30
+ {
31
+ "worker": "w-3",
32
+ "queued": 0,
33
+ "delivered": 0
34
+ },
35
+ {
36
+ "worker": "w-4",
37
+ "queued": 0,
38
+ "delivered": 0
39
+ }
40
+ ],
41
+ "driverSteerCalls": 0,
42
+ "waves": 4,
43
+ "waveSizes": [
44
+ 2,
45
+ 1,
46
+ 1,
47
+ 1
48
+ ],
49
+ "maxConcurrency": 2,
50
+ "respawns": 3,
51
+ "repeatedLabels": [],
52
+ "delegationDepth": 1,
53
+ "timeToFirstSpawnMs": 831016,
54
+ "supervisorWallMs": 1934608,
55
+ "idleMs": 934563,
56
+ "idlePct": 48.3,
57
+ "workerUtilization": 0.663
58
+ },
59
+ "decision": {
60
+ "settledByStatus": {
61
+ "done": 5
62
+ },
63
+ "settledVerdicts": {},
64
+ "accepted": 3,
65
+ "rejected": 1,
66
+ "emptyPass": 1,
67
+ "observeThenRespawn": 3,
68
+ "respawnWithoutEvidence": 0,
69
+ "reviewActions": 0,
70
+ "workerEvidenceBytes": 12153
71
+ },
72
+ "economics": {
73
+ "brain": {
74
+ "tokensIn": 228169,
75
+ "tokensOut": 19398,
76
+ "usd": 0.179577,
77
+ "source": "journal metered events (n=17)"
78
+ },
79
+ "workers": {
80
+ "tokensIn": 286763,
81
+ "tokensOut": 69794,
82
+ "usd": 0,
83
+ "source": "journal settled spend + opencode sessions (n=5)"
84
+ },
85
+ "totalUsd": 0.179577,
86
+ "totalUsdSource": "state.json result.spentUsd — brain-priced only; worker CLI inference is unpriced (see worker token counts)",
87
+ "costPerAcceptedPatchUsd": 0.059859,
88
+ "workerWallMsDistribution": {
89
+ "n": 5,
90
+ "min": 70445,
91
+ "p50": 235872,
92
+ "p90": 556457,
93
+ "max": 556457,
94
+ "sum": 1274117
95
+ },
96
+ "perWorker": [
97
+ {
98
+ "worker": "w-0",
99
+ "wallMs": 556457,
100
+ "tokensIn": 0,
101
+ "tokensOut": 0,
102
+ "usd": 0,
103
+ "patchBytes": 21183,
104
+ "passed": false
105
+ },
106
+ {
107
+ "worker": "w-1",
108
+ "wallMs": 279898,
109
+ "tokensIn": 0,
110
+ "tokensOut": 0,
111
+ "usd": 0,
112
+ "patchBytes": 14573,
113
+ "passed": true
114
+ },
115
+ {
116
+ "worker": "w-2",
117
+ "wallMs": 70445,
118
+ "tokensIn": 0,
119
+ "tokensOut": 0,
120
+ "usd": 0,
121
+ "patchBytes": 0,
122
+ "passed": true
123
+ },
124
+ {
125
+ "worker": "w-3",
126
+ "wallMs": 235872,
127
+ "tokensIn": 0,
128
+ "tokensOut": 0,
129
+ "usd": 0,
130
+ "patchBytes": 21325,
131
+ "passed": true
132
+ },
133
+ {
134
+ "worker": "w-4",
135
+ "wallMs": 131445,
136
+ "tokensIn": 0,
137
+ "tokensOut": 0,
138
+ "usd": 0,
139
+ "patchBytes": 1016,
140
+ "passed": true
141
+ }
142
+ ]
143
+ },
144
+ "outcome": {
145
+ "supStatus": "completed",
146
+ "supVerdict": "delivered",
147
+ "delivered": true,
148
+ "judgeResolved": false,
149
+ "judgeScore": 0.4333,
150
+ "judgePassed": 13,
151
+ "judgeTotal": 30,
152
+ "verifyPass": {
153
+ "unavailable": "result.json absent or has no verify_pass"
154
+ },
155
+ "verifyRc": {
156
+ "unavailable": "result.json absent or has no verify_rc"
157
+ },
158
+ "patch": {
159
+ "files": 5,
160
+ "linesAdded": 939,
161
+ "linesRemoved": 0,
162
+ "testFilesTouched": [
163
+ "src/capability-headroom.test.ts",
164
+ "src/paired-arms.test.ts"
165
+ ]
166
+ },
167
+ "judgeSource": "/tmp/factory-gen0-live/ledger.jsonl (ledger row)"
168
+ },
169
+ "gaps": [
170
+ "verifyPass: result.json absent or has no verify_pass"
171
+ ],
172
+ "traceCommand": "npx --yes @tangle-network/traces@latest analyze --harness opencode --cwd <worker-clone-cwd>"
173
+ }
@@ -0,0 +1,100 @@
1
+ # Run report — factory.agent-eval.309 [FSUP0]
2
+
3
+ ```
4
+ RUN-REPORT factory.agent-eval.309 [FSUP0]
5
+ steers=0 (spawn→wait→respawn only; no mid-task steering)
6
+ waves=4 sizes=[2,1,1,1] workers=5 settled=5 cancelled=0
7
+ concurrency max=2 utilization=0.663 idle=15.6min (48.3%) wall=32.2min
8
+ respawns=3 evidence→respawn=3 blind-respawn=0 depth=1
9
+ accepted=3 rejected=1 empty-pass=1
10
+ brain=$0.179577 total=$0.179577 judge.resolved=false score=0.4333 verify=unavailable — result.json absent or has no verify_pass
11
+ gaps(1): verifyPass: result.json absent or has no verify_pass
12
+ ```
13
+
14
+ - Cell dir: `/tmp/factory-gen0-live/rep-0/runs/factory.agent-eval.309/FSUP0`
15
+ - Supervisor: `sup-1-8f75ee`
16
+ - Generated: 2026-07-24T00:32:17.691Z
17
+
18
+ ## Orchestration
19
+
20
+ | Metric | Value |
21
+ |---|---|
22
+ | Workers spawned | 5 |
23
+ | Workers settled | 5 |
24
+ | Workers cancelled | 0 |
25
+ | **Steers (mid-task messages to live workers)** | **0** |
26
+ | Steers delivered | 0 |
27
+ | Outer-driver `supervisor_steer` calls | 0 |
28
+ | Spawn waves | 4 |
29
+ | Wave sizes | [2, 1, 1, 1] |
30
+ | Max concurrency | 2 |
31
+ | Respawns (spawns after first settle) | 3 |
32
+ | Repeated labels | none |
33
+ | Delegation depth | 1 |
34
+ | Time to first spawn | 13.9min |
35
+ | Supervisor wall | 32.2min |
36
+ | Idle (zero live workers) | 15.6min (48.3%) |
37
+ | Worker utilization (Σ worker wall ÷ supervisor wall) | 0.663 |
38
+
39
+ ### Steers per worker
40
+
41
+ | Worker | Queued | Delivered |
42
+ |---|---:|---:|
43
+ | `w-0` | 0 | 0 |
44
+ | `w-1` | 0 | 0 |
45
+ | `w-2` | 0 | 0 |
46
+ | `w-3` | 0 | 0 |
47
+ | `w-4` | 0 | 0 |
48
+
49
+ ## Decision quality
50
+
51
+ | Metric | Value |
52
+ |---|---|
53
+ | Settled by status | done=5 |
54
+ | Settled verdicts | none |
55
+ | Accepted (verify green + patch bytes) | 3 |
56
+ | Rejected (verify red) | 1 |
57
+ | Empty pass (green, no patch) | 1 |
58
+ | Evidence → respawn sequences | 3 |
59
+ | Respawn with no settled evidence in front | 0 |
60
+ | Review actions (steers + worker questions) | 0 |
61
+ | Worker evidence returned | 12153 bytes |
62
+
63
+ ## Economics
64
+
65
+ | Role | Tokens in | Tokens out | USD | Source |
66
+ |---|---:|---:|---:|---|
67
+ | brain | 228169 | 19398 | 0.179577 | journal metered events (n=17) |
68
+ | workers | 286763 | 69794 | 0 | journal settled spend + opencode sessions (n=5) |
69
+
70
+ - Total USD: 0.179577 (source: state.json result.spentUsd — brain-priced only; worker CLI inference is unpriced (see worker token counts))
71
+ - Cost per accepted patch: 0.059859
72
+ - Worker wall (n=5): min 70.4s / p50 3.9min / p90 9.3min / max 9.3min / Σ 21.2min
73
+
74
+ | Worker | Wall | Patch bytes | Verify passed |
75
+ |---|---:|---:|---|
76
+ | `w-0` | 9.3min | 21183 | false |
77
+ | `w-1` | 4.7min | 14573 | true |
78
+ | `w-2` | 70.4s | 0 | true |
79
+ | `w-3` | 3.9min | 21325 | true |
80
+ | `w-4` | 2.2min | 1016 | true |
81
+
82
+ ## Outcome
83
+
84
+ | Metric | Value |
85
+ |---|---|
86
+ | Supervisor status | completed |
87
+ | Supervisor verdict | delivered |
88
+ | Delivered | true |
89
+ | Judge resolved | false |
90
+ | Judge score | 0.4333 |
91
+ | Judge passed / total | 13 / 30 |
92
+ | Judge source | /tmp/factory-gen0-live/ledger.jsonl (ledger row) |
93
+ | Verify gate | pass=unavailable — result.json absent or has no verify_pass rc=unavailable — result.json absent or has no verify_rc |
94
+ | Patch | 5 file(s), +939/-0, test files touched: src/capability-headroom.test.ts, src/paired-arms.test.ts |
95
+
96
+ ## Gaps
97
+
98
+ - verifyPass: result.json absent or has no verify_pass
99
+
100
+ > Harness-session view of the same cell (model calls, stuck loops, tool errors): `npx --yes @tangle-network/traces@latest analyze --harness opencode --cwd <worker-clone-cwd>`