@tangle-network/agent-bench 0.4.1 → 0.4.3

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 (194) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/adapters.d.ts +4 -11
  3. package/dist/adapters.js +78 -41
  4. package/dist/adapters.js.map +1 -1
  5. package/dist/benchmarks/_harness.d.ts +48 -66
  6. package/dist/benchmarks/_harness.js +329 -33
  7. package/dist/benchmarks/_harness.js.map +1 -1
  8. package/dist/benchmarks/aec-bench.d.ts +4 -25
  9. package/dist/benchmarks/aec-bench.js +242 -7
  10. package/dist/benchmarks/aec-bench.js.map +1 -1
  11. package/dist/benchmarks/agentbench.d.ts +5 -13
  12. package/dist/benchmarks/agentbench.js +114 -9
  13. package/dist/benchmarks/agentbench.js.map +1 -1
  14. package/dist/benchmarks/appworld.d.ts +9 -29
  15. package/dist/benchmarks/appworld.js +317 -12
  16. package/dist/benchmarks/appworld.js.map +1 -1
  17. package/dist/benchmarks/bfcl.d.ts +5 -15
  18. package/dist/benchmarks/bfcl.js +264 -9
  19. package/dist/benchmarks/bfcl.js.map +1 -1
  20. package/dist/benchmarks/cad-design.d.ts +16 -41
  21. package/dist/benchmarks/cad-design.js +512 -6
  22. package/dist/benchmarks/cad-design.js.map +1 -1
  23. package/dist/benchmarks/cadbench.d.ts +4 -17
  24. package/dist/benchmarks/cadbench.js +2 -8
  25. package/dist/benchmarks/cadgenbench.d.ts +4 -20
  26. package/dist/benchmarks/cadgenbench.js +2 -8
  27. package/dist/benchmarks/commit0.d.ts +5 -27
  28. package/dist/benchmarks/commit0.js +187 -9
  29. package/dist/benchmarks/commit0.js.map +1 -1
  30. package/dist/benchmarks/crag.d.ts +4 -12
  31. package/dist/benchmarks/crag.js +110 -8
  32. package/dist/benchmarks/crag.js.map +1 -1
  33. package/dist/benchmarks/dabstep.d.ts +5 -15
  34. package/dist/benchmarks/dabstep.js +177 -9
  35. package/dist/benchmarks/dabstep.js.map +1 -1
  36. package/dist/benchmarks/enterpriseops-gym.d.ts +5 -34
  37. package/dist/benchmarks/enterpriseops-gym.js +236 -9
  38. package/dist/benchmarks/enterpriseops-gym.js.map +1 -1
  39. package/dist/benchmarks/finresearchbench.d.ts +4 -13
  40. package/dist/benchmarks/finresearchbench.js +218 -7
  41. package/dist/benchmarks/finresearchbench.js.map +1 -1
  42. package/dist/benchmarks/finsearchcomp.d.ts +8 -39
  43. package/dist/benchmarks/finsearchcomp.js +267 -6
  44. package/dist/benchmarks/finsearchcomp.js.map +1 -1
  45. package/dist/benchmarks/frames.d.ts +15 -37
  46. package/dist/benchmarks/frames.js +408 -11
  47. package/dist/benchmarks/frames.js.map +1 -1
  48. package/dist/benchmarks/hotpotqa.d.ts +4 -24
  49. package/dist/benchmarks/hotpotqa.js +250 -14
  50. package/dist/benchmarks/hotpotqa.js.map +1 -1
  51. package/dist/benchmarks/humaneval.d.ts +19 -37
  52. package/dist/benchmarks/humaneval.js +279 -16
  53. package/dist/benchmarks/humaneval.js.map +1 -1
  54. package/dist/benchmarks/mind2web.d.ts +7 -34
  55. package/dist/benchmarks/mind2web.js +257 -8
  56. package/dist/benchmarks/mind2web.js.map +1 -1
  57. package/dist/benchmarks/nomiracl.d.ts +4 -13
  58. package/dist/benchmarks/nomiracl.js +146 -8
  59. package/dist/benchmarks/nomiracl.js.map +1 -1
  60. package/dist/benchmarks/open-rag-bench.d.ts +4 -12
  61. package/dist/benchmarks/open-rag-bench.js +110 -8
  62. package/dist/benchmarks/open-rag-bench.js.map +1 -1
  63. package/dist/benchmarks/programbench.d.ts +5 -29
  64. package/dist/benchmarks/programbench.js +161 -9
  65. package/dist/benchmarks/programbench.js.map +1 -1
  66. package/dist/benchmarks/rag-shared.d.ts +21 -20
  67. package/dist/benchmarks/rag-shared.js +245 -38
  68. package/dist/benchmarks/rag-shared.js.map +1 -1
  69. package/dist/benchmarks/ragbench.d.ts +4 -14
  70. package/dist/benchmarks/ragbench.js +127 -8
  71. package/dist/benchmarks/ragbench.js.map +1 -1
  72. package/dist/benchmarks/simpleqa.d.ts +17 -44
  73. package/dist/benchmarks/simpleqa.js +293 -10
  74. package/dist/benchmarks/simpleqa.js.map +1 -1
  75. package/dist/benchmarks/swe-bench.d.ts +23 -36
  76. package/dist/benchmarks/swe-bench.js +234 -13
  77. package/dist/benchmarks/swe-bench.js.map +1 -1
  78. package/dist/benchmarks/t2-ragbench.d.ts +4 -12
  79. package/dist/benchmarks/t2-ragbench.js +118 -8
  80. package/dist/benchmarks/t2-ragbench.js.map +1 -1
  81. package/dist/benchmarks/tau-bench-shared.d.ts +14 -22
  82. package/dist/benchmarks/tau-bench-shared.js +169 -9
  83. package/dist/benchmarks/tau-bench-shared.js.map +1 -1
  84. package/dist/benchmarks/tau2-bench.d.ts +5 -5
  85. package/dist/benchmarks/tau2-bench.js +28 -10
  86. package/dist/benchmarks/tau2-bench.js.map +1 -1
  87. package/dist/benchmarks/tau3-banking.d.ts +4 -13
  88. package/dist/benchmarks/tau3-banking.js +28 -8
  89. package/dist/benchmarks/tau3-banking.js.map +1 -1
  90. package/dist/benchmarks/terminal-bench.d.ts +4 -22
  91. package/dist/benchmarks/terminal-bench.js +140 -7
  92. package/dist/benchmarks/terminal-bench.js.map +1 -1
  93. package/dist/benchmarks/toollm.d.ts +5 -13
  94. package/dist/benchmarks/toollm.js +184 -9
  95. package/dist/benchmarks/toollm.js.map +1 -1
  96. package/dist/benchmarks/trata-hedge.d.ts +4 -30
  97. package/dist/benchmarks/trata-hedge.js +336 -6
  98. package/dist/benchmarks/trata-hedge.js.map +1 -1
  99. package/dist/benchmarks/types.d.ts +85 -94
  100. package/dist/benchmarks/types.js +1 -1
  101. package/dist/benchmarks/webarena-verified.d.ts +5 -13
  102. package/dist/benchmarks/webarena-verified.js +152 -9
  103. package/dist/benchmarks/webarena-verified.js.map +1 -1
  104. package/dist/cadbench-DpQWZHp4.js +285 -0
  105. package/dist/cadbench-DpQWZHp4.js.map +1 -0
  106. package/dist/cadgenbench-DRhczfsG.js +151 -0
  107. package/dist/cadgenbench-DRhczfsG.js.map +1 -0
  108. package/dist/index.d.ts +245 -293
  109. package/dist/index.js +1669 -1791
  110. package/dist/index.js.map +1 -1
  111. package/package.json +17 -14
  112. package/scripts/verify-packed-consumer.mjs +20 -17
  113. package/src/corpus.test.mts +13 -0
  114. package/src/corpus.ts +4 -0
  115. package/src/profile-coordinates.ts +2 -2
  116. package/src/rollout-ledger/backfill-swe-arena.mts +5 -1
  117. package/src/rollout-ledger/settle-capture.mts +7 -1
  118. package/src/search-bench/profiles.ts +1 -1
  119. package/src/skill-sandbox-smoke.mts +2 -1
  120. package/src/swe-arena/gepa-seat.mts +1 -1
  121. package/src/swe-arena/ledger-orphans.test.mts +36 -34
  122. package/dist/benchmarks/cadbench.js.map +0 -1
  123. package/dist/benchmarks/cadgenbench.js.map +0 -1
  124. package/dist/benchmarks/types.js.map +0 -1
  125. package/dist/chunk-53UPUNBZ.js +0 -325
  126. package/dist/chunk-53UPUNBZ.js.map +0 -1
  127. package/dist/chunk-5FEQDSCT.js +0 -211
  128. package/dist/chunk-5FEQDSCT.js.map +0 -1
  129. package/dist/chunk-5H5XV76F.js +0 -240
  130. package/dist/chunk-5H5XV76F.js.map +0 -1
  131. package/dist/chunk-67ACKDCX.js +0 -118
  132. package/dist/chunk-67ACKDCX.js.map +0 -1
  133. package/dist/chunk-7FKBWOQT.js +0 -147
  134. package/dist/chunk-7FKBWOQT.js.map +0 -1
  135. package/dist/chunk-BEN6IF2X.js +0 -221
  136. package/dist/chunk-BEN6IF2X.js.map +0 -1
  137. package/dist/chunk-BZY5QARD.js +0 -120
  138. package/dist/chunk-BZY5QARD.js.map +0 -1
  139. package/dist/chunk-C7T7WEK2.js +0 -103
  140. package/dist/chunk-C7T7WEK2.js.map +0 -1
  141. package/dist/chunk-CLIKAXKH.js +0 -276
  142. package/dist/chunk-CLIKAXKH.js.map +0 -1
  143. package/dist/chunk-CWIOBFSP.js +0 -197
  144. package/dist/chunk-CWIOBFSP.js.map +0 -1
  145. package/dist/chunk-CXDUTWQE.js +0 -318
  146. package/dist/chunk-CXDUTWQE.js.map +0 -1
  147. package/dist/chunk-DWALFME7.js +0 -182
  148. package/dist/chunk-DWALFME7.js.map +0 -1
  149. package/dist/chunk-EEOC6QPJ.js +0 -144
  150. package/dist/chunk-EEOC6QPJ.js.map +0 -1
  151. package/dist/chunk-EIETHPD5.js +0 -321
  152. package/dist/chunk-EIETHPD5.js.map +0 -1
  153. package/dist/chunk-GC2EPS6L.js +0 -130
  154. package/dist/chunk-GC2EPS6L.js.map +0 -1
  155. package/dist/chunk-GCHL6XPM.js +0 -169
  156. package/dist/chunk-GCHL6XPM.js.map +0 -1
  157. package/dist/chunk-HQ5HCCKF.js +0 -142
  158. package/dist/chunk-HQ5HCCKF.js.map +0 -1
  159. package/dist/chunk-HVW25KSX.js +0 -208
  160. package/dist/chunk-HVW25KSX.js.map +0 -1
  161. package/dist/chunk-INNOYXCP.js +0 -387
  162. package/dist/chunk-INNOYXCP.js.map +0 -1
  163. package/dist/chunk-J6BU3NTM.js +0 -251
  164. package/dist/chunk-J6BU3NTM.js.map +0 -1
  165. package/dist/chunk-JSQOUKXS.js +0 -149
  166. package/dist/chunk-JSQOUKXS.js.map +0 -1
  167. package/dist/chunk-JTHWEDEW.js +0 -32
  168. package/dist/chunk-JTHWEDEW.js.map +0 -1
  169. package/dist/chunk-NRMGT25X.js +0 -116
  170. package/dist/chunk-NRMGT25X.js.map +0 -1
  171. package/dist/chunk-PA2ZKHJC.js +0 -230
  172. package/dist/chunk-PA2ZKHJC.js.map +0 -1
  173. package/dist/chunk-PUIRNYI7.js +0 -189
  174. package/dist/chunk-PUIRNYI7.js.map +0 -1
  175. package/dist/chunk-QZZEAHWJ.js +0 -136
  176. package/dist/chunk-QZZEAHWJ.js.map +0 -1
  177. package/dist/chunk-SEVJPLZC.js +0 -260
  178. package/dist/chunk-SEVJPLZC.js.map +0 -1
  179. package/dist/chunk-TBKU5XQI.js +0 -228
  180. package/dist/chunk-TBKU5XQI.js.map +0 -1
  181. package/dist/chunk-UPAMRDX4.js +0 -233
  182. package/dist/chunk-UPAMRDX4.js.map +0 -1
  183. package/dist/chunk-VQRS7VUC.js +0 -342
  184. package/dist/chunk-VQRS7VUC.js.map +0 -1
  185. package/dist/chunk-WG7TM7UV.js +0 -30
  186. package/dist/chunk-WG7TM7UV.js.map +0 -1
  187. package/dist/chunk-X3BTXCJ4.js +0 -262
  188. package/dist/chunk-X3BTXCJ4.js.map +0 -1
  189. package/dist/chunk-XXFF3RRD.js +0 -162
  190. package/dist/chunk-XXFF3RRD.js.map +0 -1
  191. package/dist/chunk-ZFNOM7WR.js +0 -27
  192. package/dist/chunk-ZFNOM7WR.js.map +0 -1
  193. package/dist/chunk-ZNCCYTFG.js +0 -170
  194. package/dist/chunk-ZNCCYTFG.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,235 +1,184 @@
1
- export { ADAPTERS, resolveAdapter } from './adapters.js';
2
- export { createCragAdapter } from './benchmarks/crag.js';
3
- export { createNoMiraclAdapter } from './benchmarks/nomiracl.js';
4
- export { createOpenRagBenchAdapter } from './benchmarks/open-rag-bench.js';
5
- export { createRagBenchAdapter } from './benchmarks/ragbench.js';
6
- export { FINAL_ANSWER_SENTINEL, RagAnswerScore, RagContext, answerScoreToBenchScore, contextBlock, contextsFrom, normalizeAnswer, parseCitations, parseFinalAnswer, ragAnswerOutput, scoreAnswerArtifact, tokenF1 } from './benchmarks/rag-shared.js';
7
- export { createT2RagBenchAdapter } from './benchmarks/t2-ragbench.js';
8
- export { SweBenchAdapterOptions, SweBenchArtifactCaptureContext, SweBenchCacheLevel, createSweBenchAdapter, scoreSweReport, sweEvaluationArgv, swePatchOutput } from './benchmarks/swe-bench.js';
9
- export { StagedJudgeError, StagedRunCaptureSpec, StagedRunSpec, runStagedJudge } from './benchmarks/_harness.js';
10
- import { BenchmarkAdapter, BenchTask } from './benchmarks/types.js';
11
- export { BenchScore, JudgeArtifactFileReceipt, JudgeArtifactReceipt, LoadOptions } from './benchmarks/types.js';
12
- import { SandboxClient, AgentProfile } from '@tangle-network/agent-runtime/loops';
13
- import { PreparedAgentCandidateExecution, AgentCandidateExecutionClaimStore, AgentCandidateOutputArtifactPort, AgentCandidateBenchmarkGraderPort, AgentCandidateExecutorRequest, AgentCandidateExecutorStopRequest, AgentCandidateExecutorPort, AgentCandidateRunFinalization } from '@tangle-network/agent-runtime';
14
- import { TraceStore } from '@tangle-network/agent-eval';
15
-
16
- /**
17
- * The ONE harness → worker-client mapping for the bench layer. Every bench entrypoint
18
- * (rsi.ts, run.ts, …) derives the `SandboxClient` the kernel's `runLoop` drives from a single
19
- * selector instead of hand-rolling the branch:
20
- *
21
- * - `router` → OFF-BOX: a router chat-completion as the leaf executor, presented
22
- * as a SandboxClient (no sandbox dependency). For deployable-checker
23
- * domains whose worker is a completion, or where box egress is blocked.
24
- * - `router` + searchProvider → OFF-BOX `router-tools`: the same off-box loop with a live
25
- * `web_search` tool (the capability axis research benches need).
26
- * - `bridge` → OFF-BOX: a local cli-bridge fronting a harness CLI
27
- * (opencode/kimi-code/…) as the leaf executor. Same resumable
28
- * `bridgeExecutor` the supervisor uses; harness+model ride the
29
- * bridge `model` id (`${harness}/${model}`).
30
- * - anything else (`sandbox`/a BackendType) → IN-BOX: a real `Sandbox`. The in-box backend
31
- * TYPE (opencode/codex/…) is set separately on the `AgentRunSpec`;
32
- * this only decides off-box-vs-in-box transport for `runLoop`.
33
- *
34
- * Centralizing it here means a new entrypoint gets the full off-box/in-box matrix for free and
35
- * the mapping can't drift between callers.
36
- */
37
-
1
+ import { BenchScore, BenchTask, BenchmarkAdapter, JudgeArtifactFileReceipt, JudgeArtifactReceipt, LoadOptions } from "./benchmarks/types.js";
2
+ import { ADAPTERS, resolveAdapter } from "./adapters.js";
3
+ import { StagedJudgeError, StagedRunCaptureSpec, StagedRunSpec, runStagedJudge } from "./benchmarks/_harness.js";
4
+ import { createCragAdapter } from "./benchmarks/crag.js";
5
+ import { createNoMiraclAdapter } from "./benchmarks/nomiracl.js";
6
+ import { createOpenRagBenchAdapter } from "./benchmarks/open-rag-bench.js";
7
+ import { FINAL_ANSWER_SENTINEL, RagAnswerScore, RagContext, answerScoreToBenchScore, contextBlock, contextsFrom, normalizeAnswer, parseCitations, parseFinalAnswer, ragAnswerOutput, scoreAnswerArtifact, tokenF1 } from "./benchmarks/rag-shared.js";
8
+ import { createRagBenchAdapter } from "./benchmarks/ragbench.js";
9
+ import { SweBenchAdapterOptions, SweBenchArtifactCaptureContext, SweBenchCacheLevel, createSweBenchAdapter, scoreSweReport, sweEvaluationArgv, swePatchOutput } from "./benchmarks/swe-bench.js";
10
+ import { createT2RagBenchAdapter } from "./benchmarks/t2-ragbench.js";
11
+ import { AgentProfile, SandboxClient } from "@tangle-network/agent-runtime/loops";
12
+ import { AgentCandidateBenchmarkGraderPort, AgentCandidateExecutionClaimStore, AgentCandidateExecutorPort, AgentCandidateExecutorRequest, AgentCandidateExecutorStopRequest, AgentCandidateOutputArtifactPort, AgentCandidateRunFinalization, PreparedAgentCandidateExecution } from "@tangle-network/agent-runtime";
13
+ import { TraceStore } from "@tangle-network/agent-eval";
14
+ //#region src/resolve-client.d.ts
38
15
  interface ResolveBenchClientOptions {
39
- /** The selector (the `BACKEND` env value): `router` = off-box; anything else = in-box Sandbox. */
40
- backend: string;
41
- routerBaseUrl: string;
42
- routerKey: string;
43
- model: string;
44
- /** When set on the `router` backend, the off-box worker becomes a `router-tools` agentic loop
45
- * with a live `web_search` tool backed by this provider (`you`/`exa`/…). */
46
- searchProvider?: string;
47
- sandboxBaseUrl?: string;
48
- /** In-box sandbox timeout (ms). Also the per-turn deadline for the `bridge` backend. */
49
- timeoutMs?: number;
50
- /** `bridge` backend: cli-bridge base URL. Defaults to `http://127.0.0.1:3355`. */
51
- bridgeUrl?: string;
52
- /** `bridge` backend: bearer the bridge requires. Falls back to `routerKey` when unset. */
53
- bridgeBearer?: string;
16
+ /** The selector (the `BACKEND` env value): `router` = off-box; anything else = in-box Sandbox. */
17
+ backend: string;
18
+ routerBaseUrl: string;
19
+ routerKey: string;
20
+ model: string;
21
+ /** When set on the `router` backend, the off-box worker becomes a `router-tools` agentic loop
22
+ * with a live `web_search` tool backed by this provider (`you`/`exa`/…). */
23
+ searchProvider?: string;
24
+ sandboxBaseUrl?: string;
25
+ /** In-box sandbox timeout (ms). Also the per-turn deadline for the `bridge` backend. */
26
+ timeoutMs?: number;
27
+ /** `bridge` backend: cli-bridge base URL. Defaults to `http://127.0.0.1:3355`. */
28
+ bridgeUrl?: string;
29
+ /** `bridge` backend: bearer the bridge requires. Falls back to `routerKey` when unset. */
30
+ bridgeBearer?: string;
54
31
  }
55
32
  declare function resolveBenchClient(opts: ResolveBenchClientOptions): SandboxClient;
56
-
57
- /**
58
- * `runBenchmarks` — the bench unifier.
59
- *
60
- * `gate.ts` runs ONE adapter as a diverse-vs-blind research gate through the recursive atom.
61
- * This is the other half it references: run a SUBSET of the registry's benchmarks over a MATRIX of
62
- * agent cells (harness × model × persona), each scored by the benchmark's OWN deterministic judge,
63
- * and return a ranked leaderboard. It is the "which harness/model/persona combination wins on which
64
- * benchmark" question, answered over an arbitrary subset in one call.
65
- *
66
- * It owns no new mechanism. Each cell is one `openSandboxRun` shot (the same per-run primitive the
67
- * SWE worker uses) driven by `resolveBenchClient` (off-box router completion OR in-box Sandbox; the
68
- * harness rides `sandboxOverrides.backend.type`). The deliverable is the adapter's OWN parser
69
- * (`adapter.output`), defaulting to the final answer text — so `runBenchmarks` needs no
70
- * per-benchmark branching. Concurrency is the shared `runPool`. The number comes from
71
- * `adapter.judge`, never a self-authored judge.
72
- *
73
- * Subset = the `benchmarks` and `cells` arrays plus `n`/`ids`/`split`. A benchmark whose
74
- * `preflight()` fails (missing Docker/venv/dataset) is recorded as unavailable and skipped — the
75
- * sweep never aborts because one bench's harness is absent.
76
- *
77
- * const report = await runBenchmarks({
78
- * benchmarks: ['humaneval', 'swe-bench'],
79
- * cells: [
80
- * { label: 'opencode/glm-4.6', model: 'glm-4.6', harness: 'opencode' },
81
- * { label: 'codex/gpt-5', model: 'gpt-5', harness: 'codex' },
82
- * ],
83
- * routerBaseUrl, routerKey, n: 20,
84
- * })
85
- */
86
-
33
+ //#endregion
34
+ //#region src/run-benchmarks.d.ts
87
35
  /** One agent under test: a profile (prompt/tools/persona) plus the harness + model that run it. */
88
36
  interface BenchCell {
89
- /** Leaderboard row label, e.g. `opencode/glm-4.6` or `tax-agent@v1`. */
90
- readonly label: string;
91
- /** Model id for this cell. */
92
- readonly model: string;
93
- /** Coding harness for the in-box path (`opencode`/`codex`/`claude-code`/`kimi-code`). Defaults to
94
- * `profile.metadata.backendType`, then `opencode`. Ignored on the `router` transport. */
95
- readonly harness?: string;
96
- /** Transport: `router` (off-box completion, default), `sandbox`, or a BackendType for in-box. */
97
- readonly backend?: string;
98
- /** Web-search provider for the `router` transport (turns the leaf into a `router-tools` loop). */
99
- readonly searchProvider?: string;
100
- /** The agent under test. Defaults to a minimal `{ name, metadata.backendType }` profile. */
101
- readonly profile?: AgentProfile;
37
+ /** Leaderboard row label, e.g. `opencode/glm-4.6` or `tax-agent@v1`. */
38
+ readonly label: string;
39
+ /** Model id for this cell. */
40
+ readonly model: string;
41
+ /** Coding harness for the in-box path (`opencode`/`codex`/`claude-code`/`kimi-code`). Defaults to
42
+ * `profile.metadata.backendType`, then `opencode`. Ignored on the `router` transport. */
43
+ readonly harness?: string;
44
+ /** Transport: `router` (off-box completion, default), `sandbox`, or a BackendType for in-box. */
45
+ readonly backend?: string;
46
+ /** Web-search provider for the `router` transport (turns the leaf into a `router-tools` loop). */
47
+ readonly searchProvider?: string;
48
+ /** The agent under test. Defaults to a minimal `{ name, metadata.backendType }` profile. */
49
+ readonly profile?: AgentProfile;
102
50
  }
103
51
  /** Runs one (adapter, task, cell) shot and returns the deliverable text. The default uses
104
52
  * `openSandboxRun`; tests inject a deterministic stub so the matrix runs offline. */
105
53
  type BenchShot = (input: {
106
- readonly adapter: BenchmarkAdapter;
107
- readonly task: BenchTask;
108
- readonly cell: BenchCell;
109
- /** Prompt to hand to the worker. Defaults to `task.prompt`; looped runs pass revised prompts. */
110
- readonly prompt?: string;
111
- /** 1-based attempt index for looped runs. */
112
- readonly attempt?: number;
113
- readonly routerBaseUrl: string;
114
- readonly routerKey: string;
115
- readonly bridgeUrl?: string;
116
- readonly bridgeBearer?: string;
117
- readonly sandboxBaseUrl?: string;
118
- readonly timeoutMs?: number;
119
- readonly resolveClient?: typeof resolveBenchClient;
54
+ readonly adapter: BenchmarkAdapter;
55
+ readonly task: BenchTask;
56
+ readonly cell: BenchCell;
57
+ /** Prompt to hand to the worker. Defaults to `task.prompt`; looped runs pass revised prompts. */
58
+ readonly prompt?: string;
59
+ /** 1-based attempt index for looped runs. */
60
+ readonly attempt?: number;
61
+ readonly routerBaseUrl: string;
62
+ readonly routerKey: string;
63
+ readonly bridgeUrl?: string;
64
+ readonly bridgeBearer?: string;
65
+ readonly sandboxBaseUrl?: string;
66
+ readonly timeoutMs?: number;
67
+ readonly resolveClient?: typeof resolveBenchClient;
120
68
  }) => Promise<{
121
- artifact: string;
122
- ok: boolean;
123
- detail?: string;
69
+ artifact: string;
70
+ ok: boolean;
71
+ detail?: string;
124
72
  }>;
125
73
  interface RunBenchmarksOptions {
126
- /** Registry keys (`resolveAdapter`) — the benchmark subset to run. */
127
- readonly benchmarks: readonly string[];
128
- /** The agent cells to rank. */
129
- readonly cells: readonly BenchCell[];
130
- readonly routerBaseUrl: string;
131
- readonly routerKey: string;
132
- readonly bridgeUrl?: string;
133
- readonly bridgeBearer?: string;
134
- readonly sandboxBaseUrl?: string;
135
- /** Tasks per benchmark (the n). */
136
- readonly n?: number;
137
- readonly ids?: string[];
138
- readonly split?: string;
139
- /** Replicates per (benchmark × cell × task). Default 1. */
140
- readonly reps?: number;
141
- /** Bounded concurrency across all shots. Default 4. */
142
- readonly concurrency?: number;
143
- /** Per-shot wall-clock (ms). */
144
- readonly timeoutMs?: number;
145
- /** Test seam: resolve the runtime transport. Defaults to `resolveBenchClient`. */
146
- readonly resolveClient?: typeof resolveBenchClient;
147
- /** Max attempts per (benchmark × cell × task). Default 1. Attempts after the first receive
148
- * non-answer checker feedback and the previous artifacts; the loop stops early on pass. */
149
- readonly loopAttempts?: number;
150
- /** Self-verify each benchmark's judge against its gold artifact on the first task before spending
151
- * model tokens; a benchmark whose judge rejects its own gold is recorded unavailable. Default true. */
152
- readonly verifyJudge?: boolean;
153
- /** Test seam: a deterministic shot runner. Defaults to the `openSandboxRun` leaf. */
154
- readonly runShot?: BenchShot;
155
- /** Test seam: resolve a benchmark key to an adapter. Defaults to the registry `resolveAdapter`. */
156
- readonly resolveAdapter?: (key: string) => BenchmarkAdapter;
157
- readonly onResult?: (r: BenchCellTaskResult) => void;
74
+ /** Registry keys (`resolveAdapter`) — the benchmark subset to run. */
75
+ readonly benchmarks: readonly string[];
76
+ /** The agent cells to rank. */
77
+ readonly cells: readonly BenchCell[];
78
+ readonly routerBaseUrl: string;
79
+ readonly routerKey: string;
80
+ readonly bridgeUrl?: string;
81
+ readonly bridgeBearer?: string;
82
+ readonly sandboxBaseUrl?: string;
83
+ /** Tasks per benchmark (the n). */
84
+ readonly n?: number;
85
+ readonly ids?: string[];
86
+ readonly split?: string;
87
+ /** Replicates per (benchmark × cell × task). Default 1. */
88
+ readonly reps?: number;
89
+ /** Bounded concurrency across all shots. Default 4. */
90
+ readonly concurrency?: number;
91
+ /** Per-shot wall-clock (ms). */
92
+ readonly timeoutMs?: number;
93
+ /** Test seam: resolve the runtime transport. Defaults to `resolveBenchClient`. */
94
+ readonly resolveClient?: typeof resolveBenchClient;
95
+ /** Max attempts per (benchmark × cell × task). Default 1. Attempts after the first receive
96
+ * non-answer checker feedback and the previous artifacts; the loop stops early on pass. */
97
+ readonly loopAttempts?: number;
98
+ /** Self-verify each benchmark's judge against its gold artifact on the first task before spending
99
+ * model tokens; a benchmark whose judge rejects its own gold is recorded unavailable. Default true. */
100
+ readonly verifyJudge?: boolean;
101
+ /** Test seam: a deterministic shot runner. Defaults to the `openSandboxRun` leaf. */
102
+ readonly runShot?: BenchShot;
103
+ /** Test seam: resolve a benchmark key to an adapter. Defaults to the registry `resolveAdapter`. */
104
+ readonly resolveAdapter?: (key: string) => BenchmarkAdapter;
105
+ readonly onResult?: (r: BenchCellTaskResult) => void;
158
106
  }
159
107
  interface BenchCellTaskResult {
160
- readonly benchmark: string;
161
- readonly cell: string;
162
- readonly taskId: string;
163
- readonly rep: number;
164
- readonly resolved: boolean;
165
- readonly score: number;
166
- /** false = the shot threw or produced no artifact (infra/empty), excluded from the resolve
167
- * denominator so a harness outage can't masquerade as a 0% capability result. */
168
- readonly ok: boolean;
169
- readonly detail?: string;
170
- readonly wallMs: number;
108
+ readonly benchmark: string;
109
+ readonly cell: string;
110
+ readonly taskId: string;
111
+ readonly rep: number;
112
+ readonly resolved: boolean;
113
+ readonly score: number;
114
+ /** false = the shot threw or produced no artifact (infra/empty), excluded from the resolve
115
+ * denominator so a harness outage can't masquerade as a 0% capability result. */
116
+ readonly ok: boolean;
117
+ readonly detail?: string;
118
+ readonly wallMs: number;
171
119
  }
172
120
  interface BenchLeaderboardRow {
173
- readonly benchmark: string;
174
- readonly cell: string;
175
- readonly n: number;
176
- readonly resolved: number;
177
- readonly errored: number;
178
- /** resolved / (n - errored). */
179
- readonly resolveRate: number;
180
- /** Mean graded score over non-errored shots (partial credit where the judge supports it). */
181
- readonly meanScore: number;
121
+ readonly benchmark: string;
122
+ readonly cell: string;
123
+ readonly n: number;
124
+ readonly resolved: number;
125
+ readonly errored: number;
126
+ /** resolved / (n - errored). */
127
+ readonly resolveRate: number;
128
+ /** Mean graded score over non-errored shots (partial credit where the judge supports it). */
129
+ readonly meanScore: number;
182
130
  }
183
131
  interface RunBenchmarksReport {
184
- /** One row per (benchmark × cell), sorted by benchmark then descending resolveRate. */
185
- readonly rows: readonly BenchLeaderboardRow[];
186
- readonly perTask: readonly BenchCellTaskResult[];
187
- readonly benchmarks: readonly string[];
188
- readonly cells: readonly string[];
189
- /** Benchmarks skipped because `preflight`/judge-self-check failed, with the reason. */
190
- readonly unavailable: ReadonlyArray<{
191
- readonly benchmark: string;
192
- readonly reason: string;
193
- }>;
132
+ /** One row per (benchmark × cell), sorted by benchmark then descending resolveRate. */
133
+ readonly rows: readonly BenchLeaderboardRow[];
134
+ readonly perTask: readonly BenchCellTaskResult[];
135
+ readonly benchmarks: readonly string[];
136
+ readonly cells: readonly string[];
137
+ /** Benchmarks skipped because `preflight`/judge-self-check failed, with the reason. */
138
+ readonly unavailable: ReadonlyArray<{
139
+ readonly benchmark: string;
140
+ readonly reason: string;
141
+ }>;
194
142
  }
195
143
  declare function runBenchmarks(opts: RunBenchmarksOptions): Promise<RunBenchmarksReport>;
196
144
  /** Render the leaderboard as a fixed-width table for a CLI/log. */
197
145
  declare function printBenchmarksReport(report: RunBenchmarksReport): string;
198
-
146
+ //#endregion
147
+ //#region src/pier-agent.d.ts
199
148
  interface StagePreparedPierCandidateOptions {
200
- readonly prepared: PreparedAgentCandidateExecution;
201
- /** Evaluator-owned directory persisted with the Pier trial. */
202
- readonly directory: string;
203
- /** Exact Pier package version pinned by the experiment contract. */
204
- readonly pierVersion: string;
149
+ readonly prepared: PreparedAgentCandidateExecution;
150
+ /** Evaluator-owned directory persisted with the Pier trial. */
151
+ readonly directory: string;
152
+ /** Exact Pier package version pinned by the experiment contract. */
153
+ readonly pierVersion: string;
205
154
  }
206
155
  interface StagedPierCandidateExecution {
207
- readonly executionId: string;
208
- readonly directory: string;
209
- readonly taskDirectory: string;
210
- readonly candidateDirectory?: string;
211
- readonly profileDirectory: string;
212
- readonly planPath: string;
213
- readonly receiptPath: string;
214
- readonly agentArgs: readonly string[];
215
- /** Executor-only model and trace bindings; never present on the prepared object or disk. */
216
- readonly evaluatorEnv: Readonly<Record<string, string>>;
217
- /** One prepared execution is exactly one Pier trial attempt. */
218
- readonly attemptArgs: readonly ['--n-attempts', '1', '--max-retries', '0'];
156
+ readonly executionId: string;
157
+ readonly directory: string;
158
+ readonly taskDirectory: string;
159
+ readonly candidateDirectory?: string;
160
+ readonly profileDirectory: string;
161
+ readonly planPath: string;
162
+ readonly receiptPath: string;
163
+ readonly agentArgs: readonly string[];
164
+ /** Executor-only model and trace bindings; never present on the prepared object or disk. */
165
+ readonly evaluatorEnv: Readonly<Record<string, string>>;
166
+ /** One prepared execution is exactly one Pier trial attempt. */
167
+ readonly attemptArgs: readonly ['--n-attempts', '1', '--max-retries', '0'];
219
168
  }
220
169
  interface PierCandidateTerminationAcknowledgement {
221
- /** The Pier process has exited and has been reaped. */
222
- readonly processExited: true;
223
- /** Every task container created for this one trial has been removed. */
224
- readonly containersRemoved: true;
170
+ /** The Pier process has exited and has been reaped. */
171
+ readonly processExited: true;
172
+ /** Every task container created for this one trial has been removed. */
173
+ readonly containersRemoved: true;
225
174
  }
226
175
  interface PierCandidateTrialHandle {
227
- /** Non-secret durable identity shared with a fresh evaluator process. */
228
- readonly identity: PierCandidateTrialIdentity;
229
- /** Resolves only after the Pier process exits and its task container is gone. */
230
- readonly result: Promise<PierCandidateTrialResult>;
231
- /** Idempotently kill/reap Pier and remove its task container, then acknowledge their death. */
232
- readonly terminateAndWait: () => Promise<PierCandidateTerminationAcknowledgement>;
176
+ /** Non-secret durable identity shared with a fresh evaluator process. */
177
+ readonly identity: PierCandidateTrialIdentity;
178
+ /** Resolves only after the Pier process exits and its task container is gone. */
179
+ readonly result: Promise<PierCandidateTrialResult>;
180
+ /** Idempotently kill/reap Pier and remove its task container, then acknowledge their death. */
181
+ readonly terminateAndWait: () => Promise<PierCandidateTerminationAcknowledgement>;
233
182
  }
234
183
  type PierCandidateTrialIdentity = Readonly<AgentCandidateExecutorStopRequest>;
235
184
  /**
@@ -237,119 +186,122 @@ type PierCandidateTrialIdentity = Readonly<AgentCandidateExecutorStopRequest>;
237
186
  * handle returned by `start`.
238
187
  */
239
188
  interface PierCandidateTrialController {
240
- start(staged: StagedPierCandidateExecution, context: {
241
- readonly request: AgentCandidateExecutorRequest;
242
- readonly traceStore: TraceStore;
243
- readonly signal: AbortSignal;
244
- readonly deadlineAtMs: number;
245
- }): PierCandidateTrialHandle;
246
- terminateAndWait(identity: PierCandidateTrialIdentity): Promise<PierCandidateTerminationAcknowledgement>;
247
- /** Read immutable official bytes after termination; undefined proves no result was emitted. */
248
- captureResult(identity: PierCandidateTrialIdentity): Promise<PierCandidateTrialResult | undefined>;
189
+ start(staged: StagedPierCandidateExecution, context: {
190
+ readonly request: AgentCandidateExecutorRequest;
191
+ readonly traceStore: TraceStore;
192
+ readonly signal: AbortSignal;
193
+ readonly deadlineAtMs: number;
194
+ }): PierCandidateTrialHandle;
195
+ terminateAndWait(identity: PierCandidateTrialIdentity): Promise<PierCandidateTerminationAcknowledgement>;
196
+ /** Read immutable official bytes after termination; undefined proves no result was emitted. */
197
+ captureResult(identity: PierCandidateTrialIdentity): Promise<PierCandidateTrialResult | undefined>;
249
198
  }
250
199
  /** Evaluator-owned bytes captured from one completed official Pier trial. */
251
200
  interface PierCandidateTrialResult {
252
- /** Parsed value of the exact `result.json` bytes. */
253
- readonly value: unknown;
254
- /** Exact official `result.json` bytes used as grader evidence. */
255
- readonly resultBytes: Uint8Array;
256
- /** Exact `/logs/artifacts/model.patch` bytes emitted before official tests. */
257
- readonly taskPatch: Uint8Array;
201
+ /** Parsed value of the exact `result.json` bytes. */
202
+ readonly value: unknown;
203
+ /** Exact official `result.json` bytes used as grader evidence. */
204
+ readonly resultBytes: Uint8Array;
205
+ /** Exact `/logs/artifacts/model.patch` bytes emitted before official tests. */
206
+ readonly taskPatch: Uint8Array;
258
207
  }
259
208
  interface PierCandidateOfficialResult {
260
- readonly value: unknown;
261
- readonly bytes: Uint8Array;
209
+ readonly value: unknown;
210
+ readonly bytes: Uint8Array;
262
211
  }
263
212
  type RuntimeGraderInput = Parameters<AgentCandidateBenchmarkGraderPort['run']>[0];
264
213
  type RuntimeGraderResult = Awaited<ReturnType<AgentCandidateBenchmarkGraderPort['run']>>;
265
214
  /** Executes the exact admitted grader bytes against the official Pier result. */
266
215
  interface PierCandidateGraderPort {
267
- readonly name: string;
268
- readonly version: string;
269
- readonly artifact: AgentCandidateBenchmarkGraderPort['artifact'];
270
- run(input: RuntimeGraderInput & {
271
- readonly officialResult: PierCandidateOfficialResult;
272
- }): Promise<RuntimeGraderResult>;
216
+ readonly name: string;
217
+ readonly version: string;
218
+ readonly artifact: AgentCandidateBenchmarkGraderPort['artifact'];
219
+ run(input: RuntimeGraderInput & {
220
+ readonly officialResult: PierCandidateOfficialResult;
221
+ }): Promise<RuntimeGraderResult>;
273
222
  }
274
223
  interface ExecutePreparedPierCandidateOptions extends StagePreparedPierCandidateOptions {
275
- readonly traceStore: TraceStore;
276
- /** Durable one-shot store shared by every process capable of running this benchmark. */
277
- readonly claimStore: AgentCandidateExecutionClaimStore;
278
- readonly outputArtifacts: AgentCandidateOutputArtifactPort;
279
- readonly grader: PierCandidateGraderPort;
280
- /**
281
- * Starts exactly one Pier trial synchronously and persists its non-secret
282
- * process/container identity before returning.
283
- */
284
- readonly controller: PierCandidateTrialController;
224
+ readonly traceStore: TraceStore;
225
+ /** Durable one-shot store shared by every process capable of running this benchmark. */
226
+ readonly claimStore: AgentCandidateExecutionClaimStore;
227
+ readonly outputArtifacts: AgentCandidateOutputArtifactPort;
228
+ readonly grader: PierCandidateGraderPort;
229
+ /**
230
+ * Starts exactly one Pier trial synchronously and persists its non-secret
231
+ * process/container identity before returning.
232
+ */
233
+ readonly controller: PierCandidateTrialController;
285
234
  }
286
235
  /** Recovery-only runtime executor for an expired attempt owned by another process. */
287
236
  declare function createPierCandidateRecoveryExecutor(controller: PierCandidateTrialController): AgentCandidateExecutorPort;
288
237
  /** Execute and finalize through the runtime's only gradable candidate path. */
289
238
  declare function executePreparedPierCandidate(options: ExecutePreparedPierCandidateOptions): Promise<AgentCandidateRunFinalization>;
290
-
239
+ //#endregion
240
+ //#region src/pier-trial-controller.d.ts
291
241
  interface PierCandidateProcessSpec {
292
- /** Returns launch data only. The controller, not this callback, starts the process. */
293
- readonly command: string;
294
- readonly args: readonly string[];
295
- readonly cwd: string;
296
- /** Exact Pier child environment. The controller adds its Docker connection variables. */
297
- readonly env: Readonly<Record<string, string | undefined>>;
298
- readonly jobsDirectory: string;
299
- /** Must be unique: the controller atomically reserves this Pier job directory. */
300
- readonly jobName: string;
301
- readonly dockerCommand?: string;
302
- /** Called only by the originating process after the supervisor reports clean exit. */
303
- readonly readResult: () => Promise<PierCandidateTrialResult>;
242
+ /** Returns launch data only. The controller, not this callback, starts the process. */
243
+ readonly command: string;
244
+ readonly args: readonly string[];
245
+ readonly cwd: string;
246
+ /** Exact Pier child environment. The controller adds its Docker connection variables. */
247
+ readonly env: Readonly<Record<string, string | undefined>>;
248
+ readonly jobsDirectory: string;
249
+ /** Must be unique: the controller atomically reserves this Pier job directory. */
250
+ readonly jobName: string;
251
+ readonly dockerCommand?: string;
252
+ /** Called only by the originating process after the supervisor reports clean exit. */
253
+ readonly readResult: () => Promise<PierCandidateTrialResult>;
304
254
  }
305
255
  interface PierDockerConnection {
306
- /** Stable, non-secret name that every recovery worker maps to the same Docker endpoint. */
307
- readonly id: string;
308
- /** Exact variables needed by both Pier and Docker cleanup; values are never persisted. */
309
- readonly env: Readonly<Record<string, string | undefined>>;
256
+ /** Stable, non-secret name that every recovery worker maps to the same Docker endpoint. */
257
+ readonly id: string;
258
+ /** Exact variables needed by both Pier and Docker cleanup; values are never persisted. */
259
+ readonly env: Readonly<Record<string, string | undefined>>;
310
260
  }
311
261
  interface FilePierCandidateTrialControllerOptions {
312
- /** Shared evaluator-owned control root, available to crash-recovery workers. */
313
- readonly directory: string;
314
- readonly launch?: (staged: StagedPierCandidateExecution, context: {
315
- readonly request: AgentCandidateExecutorRequest;
316
- readonly traceStore: TraceStore;
317
- readonly signal: AbortSignal;
318
- readonly deadlineAtMs: number;
319
- }) => PierCandidateProcessSpec;
320
- /** Restart-safe reader for immutable official bytes under the persisted Pier job identity. */
321
- readonly readResult?: (input: {
322
- readonly jobsDirectory: string;
323
- readonly jobName: string;
324
- }) => Promise<PierCandidateTrialResult | undefined>;
325
- /** Omit only for the default local Docker socket with no environment variables. */
326
- readonly dockerConnection?: PierDockerConnection;
327
- readonly supervisorPath?: string;
328
- readonly pollIntervalMs?: number;
262
+ /** Shared evaluator-owned control root, available to crash-recovery workers. */
263
+ readonly directory: string;
264
+ readonly launch?: (staged: StagedPierCandidateExecution, context: {
265
+ readonly request: AgentCandidateExecutorRequest;
266
+ readonly traceStore: TraceStore;
267
+ readonly signal: AbortSignal;
268
+ readonly deadlineAtMs: number;
269
+ }) => PierCandidateProcessSpec;
270
+ /** Restart-safe reader for immutable official bytes under the persisted Pier job identity. */
271
+ readonly readResult?: (input: {
272
+ readonly jobsDirectory: string;
273
+ readonly jobName: string;
274
+ }) => Promise<PierCandidateTrialResult | undefined>;
275
+ /** Omit only for the default local Docker socket with no environment variables. */
276
+ readonly dockerConnection?: PierDockerConnection;
277
+ readonly supervisorPath?: string;
278
+ readonly pollIntervalMs?: number;
329
279
  }
330
280
  declare class FilePierCandidateTrialController implements PierCandidateTrialController {
331
- private readonly directory;
332
- private readonly launch?;
333
- private readonly readResult?;
334
- private readonly dockerConnection;
335
- private readonly supervisorPath;
336
- private readonly pollIntervalMs;
337
- constructor(options: FilePierCandidateTrialControllerOptions);
338
- start(staged: StagedPierCandidateExecution, context: {
339
- readonly request: AgentCandidateExecutorRequest;
340
- readonly traceStore: TraceStore;
341
- readonly signal: AbortSignal;
342
- readonly deadlineAtMs: number;
343
- }): PierCandidateTrialHandle;
344
- terminateAndWait(requested: PierCandidateTrialIdentity): Promise<PierCandidateTerminationAcknowledgement>;
345
- captureResult(requested: PierCandidateTrialIdentity): Promise<PierCandidateTrialResult | undefined>;
346
- private controlDirectory;
347
- private assertDockerConnection;
348
- private validateSpec;
349
- private waitForResult;
350
- private forceRecovery;
281
+ private readonly directory;
282
+ private readonly launch?;
283
+ private readonly readResult?;
284
+ private readonly dockerConnection;
285
+ private readonly supervisorPath;
286
+ private readonly pollIntervalMs;
287
+ constructor(options: FilePierCandidateTrialControllerOptions);
288
+ start(staged: StagedPierCandidateExecution, context: {
289
+ readonly request: AgentCandidateExecutorRequest;
290
+ readonly traceStore: TraceStore;
291
+ readonly signal: AbortSignal;
292
+ readonly deadlineAtMs: number;
293
+ }): PierCandidateTrialHandle;
294
+ terminateAndWait(requested: PierCandidateTrialIdentity): Promise<PierCandidateTerminationAcknowledgement>;
295
+ captureResult(requested: PierCandidateTrialIdentity): Promise<PierCandidateTrialResult | undefined>;
296
+ private controlDirectory;
297
+ private assertDockerConnection;
298
+ private validateSpec;
299
+ private waitForResult;
300
+ private forceRecovery;
351
301
  }
352
-
302
+ //#endregion
303
+ //#region src/pier-result-grader.d.ts
353
304
  declare function createPierResultGrader(descriptor: Pick<PierCandidateGraderPort, 'name' | 'version' | 'artifact'>): PierCandidateGraderPort;
354
-
355
- export { type BenchCell, type BenchCellTaskResult, type BenchLeaderboardRow, type BenchShot, BenchTask, BenchmarkAdapter, type ExecutePreparedPierCandidateOptions, FilePierCandidateTrialController, type FilePierCandidateTrialControllerOptions, type PierCandidateGraderPort, type PierCandidateOfficialResult, type PierCandidateProcessSpec, type PierCandidateTerminationAcknowledgement, type PierCandidateTrialController, type PierCandidateTrialHandle, type PierCandidateTrialIdentity, type PierCandidateTrialResult, type PierDockerConnection, type RunBenchmarksOptions, type RunBenchmarksReport, type StagedPierCandidateExecution, createPierCandidateRecoveryExecutor, createPierResultGrader, executePreparedPierCandidate, printBenchmarksReport, runBenchmarks };
305
+ //#endregion
306
+ export { ADAPTERS, type BenchCell, type BenchCellTaskResult, type BenchLeaderboardRow, type BenchScore, type BenchShot, type BenchTask, type BenchmarkAdapter, type ExecutePreparedPierCandidateOptions, FINAL_ANSWER_SENTINEL, FilePierCandidateTrialController, type FilePierCandidateTrialControllerOptions, type JudgeArtifactFileReceipt, type JudgeArtifactReceipt, type LoadOptions, type PierCandidateGraderPort, type PierCandidateOfficialResult, type PierCandidateProcessSpec, type PierCandidateTerminationAcknowledgement, type PierCandidateTrialController, type PierCandidateTrialHandle, type PierCandidateTrialIdentity, type PierCandidateTrialResult, type PierDockerConnection, type RagAnswerScore, type RagContext, type RunBenchmarksOptions, type RunBenchmarksReport, StagedJudgeError, type StagedPierCandidateExecution, type StagedRunCaptureSpec, type StagedRunSpec, type SweBenchAdapterOptions, type SweBenchArtifactCaptureContext, type SweBenchCacheLevel, answerScoreToBenchScore, contextBlock, contextsFrom, createCragAdapter, createNoMiraclAdapter, createOpenRagBenchAdapter, createPierCandidateRecoveryExecutor, createPierResultGrader, createRagBenchAdapter, createSweBenchAdapter, createT2RagBenchAdapter, executePreparedPierCandidate, normalizeAnswer, parseCitations, parseFinalAnswer, printBenchmarksReport, ragAnswerOutput, resolveAdapter, runBenchmarks, runStagedJudge, scoreAnswerArtifact, scoreSweReport, sweEvaluationArgv, swePatchOutput, tokenF1 };
307
+ //# sourceMappingURL=index.d.ts.map