@tangle-network/agent-bench 2.0.0 → 3.0.0

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 (215) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +24 -2
  3. package/dist/adapters.d.ts +3 -3
  4. package/dist/adapters.js +3 -5
  5. package/dist/adapters.js.map +1 -1
  6. package/dist/benchmarks/_harness.d.ts +4 -4
  7. package/dist/benchmarks/_harness.js +5 -2
  8. package/dist/benchmarks/_harness.js.map +1 -1
  9. package/dist/benchmarks/aec-bench.d.ts +2 -2
  10. package/dist/benchmarks/aec-bench.js +49 -42
  11. package/dist/benchmarks/aec-bench.js.map +1 -1
  12. package/dist/benchmarks/agentbench.d.ts +2 -2
  13. package/dist/benchmarks/agentbench.js +41 -34
  14. package/dist/benchmarks/agentbench.js.map +1 -1
  15. package/dist/benchmarks/appworld.d.ts +4 -4
  16. package/dist/benchmarks/appworld.js +67 -53
  17. package/dist/benchmarks/appworld.js.map +1 -1
  18. package/dist/benchmarks/bfcl.d.ts +2 -2
  19. package/dist/benchmarks/bfcl.js +52 -44
  20. package/dist/benchmarks/bfcl.js.map +1 -1
  21. package/dist/benchmarks/cad-design.d.ts +2 -2
  22. package/dist/benchmarks/cad-design.js +53 -44
  23. package/dist/benchmarks/cad-design.js.map +1 -1
  24. package/dist/benchmarks/cadbench.d.ts +2 -2
  25. package/dist/benchmarks/cadbench.js +1 -1
  26. package/dist/benchmarks/cadgenbench.d.ts +2 -2
  27. package/dist/benchmarks/cadgenbench.js +1 -1
  28. package/dist/benchmarks/commit0.d.ts +2 -2
  29. package/dist/benchmarks/commit0.js +38 -31
  30. package/dist/benchmarks/commit0.js.map +1 -1
  31. package/dist/benchmarks/crag.d.ts +2 -2
  32. package/dist/benchmarks/crag.js +37 -32
  33. package/dist/benchmarks/crag.js.map +1 -1
  34. package/dist/benchmarks/dabstep.d.ts +2 -2
  35. package/dist/benchmarks/dabstep.js +41 -34
  36. package/dist/benchmarks/dabstep.js.map +1 -1
  37. package/dist/benchmarks/finresearchbench.d.ts +4 -4
  38. package/dist/benchmarks/finresearchbench.js +61 -48
  39. package/dist/benchmarks/finresearchbench.js.map +1 -1
  40. package/dist/benchmarks/finsearchcomp.d.ts +3 -3
  41. package/dist/benchmarks/finsearchcomp.js +54 -43
  42. package/dist/benchmarks/finsearchcomp.js.map +1 -1
  43. package/dist/benchmarks/frames.d.ts +2 -2
  44. package/dist/benchmarks/frames.js +66 -51
  45. package/dist/benchmarks/frames.js.map +1 -1
  46. package/dist/benchmarks/hotpotqa.d.ts +2 -2
  47. package/dist/benchmarks/hotpotqa.js +59 -47
  48. package/dist/benchmarks/hotpotqa.js.map +1 -1
  49. package/dist/benchmarks/humaneval.d.ts +3 -3
  50. package/dist/benchmarks/humaneval.js +39 -35
  51. package/dist/benchmarks/humaneval.js.map +1 -1
  52. package/dist/benchmarks/mcad-bench.d.ts +2 -2
  53. package/dist/benchmarks/mcad-bench.js +68 -56
  54. package/dist/benchmarks/mcad-bench.js.map +1 -1
  55. package/dist/benchmarks/mcad-cq-bench.d.ts +2 -2
  56. package/dist/benchmarks/mcad-cq-bench.js +69 -57
  57. package/dist/benchmarks/mcad-cq-bench.js.map +1 -1
  58. package/dist/benchmarks/mcad-cq-golds.d.ts +1 -1
  59. package/dist/benchmarks/mcad-cq-golds.js +1 -1
  60. package/dist/benchmarks/mcad-cq-golds.js.map +1 -1
  61. package/dist/benchmarks/mcad-golds.d.ts +1 -1
  62. package/dist/benchmarks/mcad-golds.js.map +1 -1
  63. package/dist/benchmarks/mind2web.d.ts +3 -3
  64. package/dist/benchmarks/mind2web.js +62 -49
  65. package/dist/benchmarks/mind2web.js.map +1 -1
  66. package/dist/benchmarks/nomiracl.d.ts +2 -2
  67. package/dist/benchmarks/nomiracl.js +43 -36
  68. package/dist/benchmarks/nomiracl.js.map +1 -1
  69. package/dist/benchmarks/open-rag-bench.d.ts +2 -2
  70. package/dist/benchmarks/open-rag-bench.js +37 -32
  71. package/dist/benchmarks/open-rag-bench.js.map +1 -1
  72. package/dist/benchmarks/programbench.d.ts +2 -2
  73. package/dist/benchmarks/programbench.js +28 -23
  74. package/dist/benchmarks/programbench.js.map +1 -1
  75. package/dist/benchmarks/rag-shared.d.ts +2 -2
  76. package/dist/benchmarks/rag-shared.js +15 -13
  77. package/dist/benchmarks/rag-shared.js.map +1 -1
  78. package/dist/benchmarks/ragbench.d.ts +2 -2
  79. package/dist/benchmarks/ragbench.js +34 -29
  80. package/dist/benchmarks/ragbench.js.map +1 -1
  81. package/dist/benchmarks/simpleqa.d.ts +2 -2
  82. package/dist/benchmarks/simpleqa.js +62 -51
  83. package/dist/benchmarks/simpleqa.js.map +1 -1
  84. package/dist/benchmarks/swe-bench.d.ts +4 -4
  85. package/dist/benchmarks/swe-bench.js +47 -41
  86. package/dist/benchmarks/swe-bench.js.map +1 -1
  87. package/dist/benchmarks/t2-ragbench.d.ts +2 -2
  88. package/dist/benchmarks/t2-ragbench.js +37 -32
  89. package/dist/benchmarks/t2-ragbench.js.map +1 -1
  90. package/dist/benchmarks/tau-bench-shared.d.ts +2 -2
  91. package/dist/benchmarks/tau-bench-shared.js +43 -36
  92. package/dist/benchmarks/tau-bench-shared.js.map +1 -1
  93. package/dist/benchmarks/tau2-bench.d.ts +2 -2
  94. package/dist/benchmarks/tau2-bench.js.map +1 -1
  95. package/dist/benchmarks/tau3-banking.d.ts +2 -2
  96. package/dist/benchmarks/tau3-banking.js.map +1 -1
  97. package/dist/benchmarks/terminal-bench.d.ts +2 -2
  98. package/dist/benchmarks/terminal-bench.js +29 -23
  99. package/dist/benchmarks/terminal-bench.js.map +1 -1
  100. package/dist/benchmarks/toollm.d.ts +2 -2
  101. package/dist/benchmarks/toollm.js +40 -34
  102. package/dist/benchmarks/toollm.js.map +1 -1
  103. package/dist/benchmarks/trata-hedge.d.ts +2 -2
  104. package/dist/benchmarks/trata-hedge.js +46 -38
  105. package/dist/benchmarks/trata-hedge.js.map +1 -1
  106. package/dist/benchmarks/types.d.ts +33 -63
  107. package/dist/benchmarks/types.js +36 -1
  108. package/dist/benchmarks/types.js.map +1 -0
  109. package/dist/benchmarks/webarena-verified.d.ts +2 -2
  110. package/dist/benchmarks/webarena-verified.js +29 -24
  111. package/dist/benchmarks/webarena-verified.js.map +1 -1
  112. package/dist/{cadbench-Byr5gO1M.js → cadbench-htzAmMaI.js} +39 -32
  113. package/dist/cadbench-htzAmMaI.js.map +1 -0
  114. package/dist/{cadgenbench-Tvk16YKT.js → cadgenbench-BLvEtnxU.js} +28 -22
  115. package/dist/cadgenbench-BLvEtnxU.js.map +1 -0
  116. package/dist/cli.d.ts +1 -0
  117. package/dist/cli.js +667 -0
  118. package/dist/cli.js.map +1 -0
  119. package/dist/index.d.ts +9 -8
  120. package/dist/index.js +61 -56
  121. package/dist/index.js.map +1 -1
  122. package/package.json +7 -4
  123. package/scripts/enterpriseops-gym-run.sh +82 -0
  124. package/scripts/grade-recorded-evidence.mjs +6 -6
  125. package/scripts/harvey-lab-judge.py +50 -0
  126. package/scripts/harvey-lab-run.sh +53 -0
  127. package/scripts/harvey-lab-sandbox.sh +21 -0
  128. package/scripts/healthbench-professional-run.sh +30 -0
  129. package/scripts/healthbench_professional_run.py +112 -0
  130. package/scripts/mlcr-run.sh +17 -0
  131. package/scripts/mlcr_run.py +133 -0
  132. package/scripts/prbench-run.sh +39 -0
  133. package/scripts/prbench_run.py +53 -0
  134. package/scripts/verify-packed-consumer.mjs +32 -27
  135. package/src/adapters.ts +5 -7
  136. package/src/benchmarks/_harness.test.mts +18 -1
  137. package/src/benchmarks/_harness.ts +12 -7
  138. package/src/benchmarks/aec-bench.test.mts +14 -14
  139. package/src/benchmarks/aec-bench.ts +62 -56
  140. package/src/benchmarks/agent-eval-contract.test.mts +38 -0
  141. package/src/benchmarks/agentbench.ts +44 -37
  142. package/src/benchmarks/appworld.test.mts +7 -7
  143. package/src/benchmarks/appworld.ts +88 -75
  144. package/src/benchmarks/bfcl.ts +60 -53
  145. package/src/benchmarks/cad-design.ts +34 -32
  146. package/src/benchmarks/cadbench.ts +34 -32
  147. package/src/benchmarks/cadgenbench.ts +30 -28
  148. package/src/benchmarks/commit0.test.mts +9 -9
  149. package/src/benchmarks/commit0.ts +50 -43
  150. package/src/benchmarks/crag.ts +45 -40
  151. package/src/benchmarks/dabstep-official.test.mts +8 -8
  152. package/src/benchmarks/dabstep.test.mts +11 -11
  153. package/src/benchmarks/dabstep.ts +47 -40
  154. package/src/benchmarks/external-adapters.test.mts +43 -44
  155. package/src/benchmarks/finresearchbench.ts +57 -47
  156. package/src/benchmarks/finsearchcomp.ts +72 -67
  157. package/src/benchmarks/frames.ts +76 -69
  158. package/src/benchmarks/hotpotqa.ts +69 -64
  159. package/src/benchmarks/humaneval.ts +37 -35
  160. package/src/benchmarks/mcad-bench.test.mts +30 -30
  161. package/src/benchmarks/mcad-bench.ts +66 -60
  162. package/src/benchmarks/mcad-cq-bench.ts +69 -63
  163. package/src/benchmarks/mcad-cq-golds.ts +1 -1
  164. package/src/benchmarks/mcad-cq.test.mts +40 -40
  165. package/src/benchmarks/mcad-golds.ts +1 -1
  166. package/src/benchmarks/mind2web.ts +66 -58
  167. package/src/benchmarks/nomiracl.ts +53 -46
  168. package/src/benchmarks/open-rag-bench.ts +47 -42
  169. package/src/benchmarks/programbench.test.mts +10 -10
  170. package/src/benchmarks/programbench.ts +38 -33
  171. package/src/benchmarks/rag-benchmarks.test.mts +31 -31
  172. package/src/benchmarks/rag-shared.ts +13 -16
  173. package/src/benchmarks/ragbench.ts +44 -39
  174. package/src/benchmarks/simpleqa.ts +78 -73
  175. package/src/benchmarks/swe-bench.test.mts +3 -3
  176. package/src/benchmarks/swe-bench.ts +66 -61
  177. package/src/benchmarks/t2-ragbench.ts +47 -42
  178. package/src/benchmarks/tau-bench-shared.ts +51 -44
  179. package/src/benchmarks/tau-pin.test.mts +1 -1
  180. package/src/benchmarks/tau2-bench.ts +2 -2
  181. package/src/benchmarks/tau3-banking.ts +2 -2
  182. package/src/benchmarks/terminal-bench.test.mts +3 -3
  183. package/src/benchmarks/terminal-bench.ts +41 -36
  184. package/src/benchmarks/toollm.ts +54 -47
  185. package/src/benchmarks/trata-hedge.ts +57 -52
  186. package/src/benchmarks/types.ts +70 -59
  187. package/src/benchmarks/webarena-verified.ts +49 -42
  188. package/src/cli.ts +74 -0
  189. package/src/corpus-replay.mts +9 -9
  190. package/src/examples/benchmark-matrix.mts +13 -10
  191. package/src/gate-cli.mts +5 -5
  192. package/src/gate.test.mts +14 -12
  193. package/src/gate.ts +23 -22
  194. package/src/index.ts +17 -11
  195. package/src/published.test.mts +534 -0
  196. package/src/published.ts +524 -0
  197. package/src/run-benchmarks-cli.mts +2 -2
  198. package/src/run-benchmarks.test.mts +58 -48
  199. package/src/run-benchmarks.ts +64 -57
  200. package/src/swe-bench-env.ts +6 -6
  201. package/src/worker.ts +1 -1
  202. package/dist/benchmarks/enterpriseops-gym.d.ts +0 -6
  203. package/dist/benchmarks/enterpriseops-gym.js +0 -236
  204. package/dist/benchmarks/enterpriseops-gym.js.map +0 -1
  205. package/dist/cadbench-Byr5gO1M.js.map +0 -1
  206. package/dist/cadgenbench-Tvk16YKT.js.map +0 -1
  207. package/fixtures/enterpriseops-gym.json +0 -103
  208. package/scripts/enterpriseops_gym_judge.py +0 -281
  209. package/src/benchmarks/enterpriseops-gym.test.mts +0 -77
  210. package/src/benchmarks/enterpriseops-gym.ts +0 -343
  211. package/src/eops-skills/address-every-subtask.md +0 -5
  212. package/src/eops-skills/exact-tools-and-args.md +0 -5
  213. package/src/eops-skills/full-sequence-to-goal.md +0 -5
  214. package/src/eops-skills/ground-every-value.md +0 -5
  215. package/src/eops-skills/honor-the-policies.md +0 -5
package/src/gate.ts CHANGED
@@ -12,8 +12,8 @@
12
12
  *
13
13
  * The gate's two non-negotiables, enforced structurally here:
14
14
  * - DEPLOYABLE selector. Each fanout child SOLVES via the router, then is graded by the
15
- * benchmark's OWN deterministic `adapter.judge` (a runnable checker — NOT an LLM judge, NOT
16
- * the answer oracle). That `BenchScore` becomes the child's `DefaultVerdict`, and `fanout`'s
15
+ * benchmark's OWN deterministic `adapter.evaluate` (a runnable checker — NOT an LLM judge, NOT
16
+ * the answer oracle). That `BenchEvaluation` becomes the child's `DefaultVerdict`, and `fanout`'s
17
17
  * single-sourced `defaultSelectWinner` picks the best-scoring candidate. Selection therefore
18
18
  * reads only the deployable verifier — selector ≠ oracle by construction.
19
19
  * - EQUAL k. Both arms open the SAME number of children (k = strategies.length; blind = k
@@ -55,10 +55,10 @@ import {
55
55
  runPersonified,
56
56
  trajectoryReport,
57
57
  } from '@tangle-network/agent-runtime/kernel'
58
- import type { BenchmarkAdapter, BenchTask } from './benchmarks/types'
58
+ import type { BenchTask, RuntimeBenchmark } from './benchmarks/types'
59
59
 
60
60
  /** A fanout child's task: the prompt to solve with + the instance to grade against. The instance
61
- * travels with the prompt so the solve-and-grade leaf can run `adapter.judge` without a closure
61
+ * travels with the prompt so the solve-and-grade leaf can run `adapter.evaluate` without a closure
62
62
  * over the per-task state (the registry closes only over the adapter + router config). */
63
63
  export interface SolveTask {
64
64
  readonly prompt: string
@@ -68,7 +68,7 @@ export interface SolveTask {
68
68
  /** What `benchSolverRegistry` needs to build a solve-and-grade leaf. The router config is the
69
69
  * cheapest leaf (one chat completion, no box); the adapter supplies the deployable judge. */
70
70
  interface BenchSolverOptions {
71
- readonly adapter: BenchmarkAdapter
71
+ readonly adapter: RuntimeBenchmark
72
72
  readonly routerBaseUrl: string
73
73
  readonly routerKey: string
74
74
  }
@@ -93,16 +93,16 @@ const fnv = (prefix: string, value: unknown): string => {
93
93
  * (e.g. the last fenced ```json block for a transcript bench), so the gate leaf honors
94
94
  * `benchmark = adapter owns its deliverable`. Falls back to the trimmed reply when the adapter
95
95
  * defines no output parser (the research/QA case). */
96
- function extractArtifact(adapter: BenchmarkAdapter, content: string): string {
97
- if (!adapter.output) return content.trim()
96
+ function extractArtifact(adapter: RuntimeBenchmark, content: string): string {
97
+ if (!adapter.runtime.output) return content.trim()
98
98
  const events = [{ type: 'agent', data: { finalText: content } }] as unknown as SandboxEvent[]
99
- return adapter.output.parse(events)
99
+ return adapter.runtime.output.parse(events)
100
100
  }
101
101
 
102
102
  /**
103
103
  * A single solve-and-grade leaf executor. Solves the task with ONE router completion, extracts
104
104
  * the deliverable via the adapter, then grades it with the benchmark's deterministic judge and
105
- * surfaces that `BenchScore` as the child's `DefaultVerdict`. The verdict is what `fanout`'s
105
+ * surfaces that `BenchEvaluation` as the child's `DefaultVerdict`. The verdict is what `fanout`'s
106
106
  * deployable selector ranks on. Reports REAL token usage; a missing-usage provider records zero
107
107
  * tokens but still one iteration (never a fabricated priced cost). Fail-loud: a router non-2xx or
108
108
  * a judge throw rejects the leaf (the scope types it into a `down` settlement — never a silent 0).
@@ -118,14 +118,14 @@ function benchSolveLeaf(opts: BenchSolverOptions, spec: AgentSpec, ctx: Executor
118
118
  const raw = result.out as { content?: unknown }
119
119
  const content = typeof raw?.content === 'string' ? raw.content : ''
120
120
  const candidate = extractArtifact(opts.adapter, content)
121
- const score = await opts.adapter.judge(t.instance, candidate)
121
+ const score = await opts.adapter.evaluate(t.instance, candidate)
122
122
  return {
123
123
  outRef: fnv('bench', { id: t.instance.id, candidate }),
124
124
  out: candidate,
125
125
  verdict: {
126
- valid: score.resolved,
126
+ valid: score.passed === true,
127
127
  score: score.score,
128
- ...(score.detail ? { notes: score.detail } : {}),
128
+ ...(score.notes ? { notes: score.notes } : {}),
129
129
  },
130
130
  }
131
131
  })
@@ -173,10 +173,10 @@ function defineSolverPersona(
173
173
  /** The blind/diverse `fanout` over k children. Each item is a strategy directive appended to the
174
174
  * task prompt; the blind arm passes k empty strategies (k identical prompts = the compute
175
175
  * control). No `synthesize` → the deployable `defaultSelectWinner` returns the best-graded child. */
176
- function solveFanout(strategies: ReadonlyArray<string>, instance: BenchTask): CombinatorShape<unknown, string> {
176
+ function solveFanout(strategies: ReadonlyArray<string>, instance: BenchTask, prompt: string): CombinatorShape<unknown, string> {
177
177
  return fanout<unknown, string, string>(strategies, {
178
178
  itemTask: (strategy): SolveTask => ({
179
- prompt: strategy.length > 0 ? `${instance.prompt}\n\n${strategy}` : instance.prompt,
179
+ prompt: strategy.length > 0 ? `${prompt}\n\n${strategy}` : prompt,
180
180
  instance,
181
181
  }),
182
182
  label: (_s, i) => `solve:${i}`,
@@ -184,7 +184,7 @@ function solveFanout(strategies: ReadonlyArray<string>, instance: BenchTask): Co
184
184
  }
185
185
 
186
186
  interface RunGateOptions {
187
- readonly adapter: BenchmarkAdapter
187
+ readonly adapter: RuntimeBenchmark
188
188
  /** The ONE specificity: who the solver is (prompt / model / tools). */
189
189
  readonly profile: AgentProfile
190
190
  /**
@@ -198,7 +198,8 @@ interface RunGateOptions {
198
198
  /** How many benchmark instances to run (the paired n). */
199
199
  readonly n?: number
200
200
  readonly ids?: string[]
201
- readonly split?: string
201
+ /** The publisher's subset (domain, category, language), for benchmarks that have them. */
202
+ readonly subset?: string
202
203
  /** Per-child token ceiling the conserved pool reserves. Default 60_000. */
203
204
  readonly perChildTokens?: number
204
205
  /** Per-child wall-clock deadline (ms) forwarded to the root budget. */
@@ -288,13 +289,13 @@ export async function runGate(opts: RunGateOptions): Promise<GateReport> {
288
289
  throw new Error('runGate: need >= 2 strategies (k = strategies.length fixes both arms’ child count)')
289
290
  }
290
291
  const k = opts.strategies.length
291
- await opts.adapter.preflight()
292
- const tasks = await opts.adapter.loadTasks({
292
+ await opts.adapter.runtime.preflight?.()
293
+ const tasks = await opts.adapter.loadAll({
293
294
  ...(opts.n !== undefined ? { limit: opts.n } : {}),
294
295
  ...(opts.ids ? { ids: opts.ids } : {}),
295
- ...(opts.split ? { split: opts.split } : {}),
296
+ ...(opts.subset ? { subset: opts.subset } : {}),
296
297
  })
297
- if (tasks.length === 0) throw new Error('runGate: adapter.loadTasks returned no tasks')
298
+ if (tasks.length === 0) throw new Error('runGate: adapter.loadAll returned no tasks')
298
299
 
299
300
  const registry = opts.solverRegistry ?? benchSolverRegistry(opts)
300
301
  const perChildTokens = opts.perChildTokens ?? 60_000
@@ -330,7 +331,7 @@ export async function runGate(opts: RunGateOptions): Promise<GateReport> {
330
331
  const runId = `gate:${armDef.label}:${task.id}`
331
332
  const result: SupervisedResult<Outcome<string>> = await runPersonified<unknown, string>({
332
333
  persona,
333
- shape: solveFanout(armDef.strategies, task),
334
+ shape: solveFanout(armDef.strategies, task, opts.adapter.runtime.prompt(task)),
334
335
  task: undefined,
335
336
  budget,
336
337
  shapeBudget: { fanout: k, perChild },
@@ -395,7 +396,7 @@ export async function runGate(opts: RunGateOptions): Promise<GateReport> {
395
396
  const blind = arms.find((a) => a.label === 'blind')!
396
397
  const diverse = arms.find((a) => a.label === 'diverse')!
397
398
  return {
398
- benchmark: opts.adapter.name,
399
+ benchmark: opts.adapter.id,
399
400
  k,
400
401
  n: tasks.length,
401
402
  perTask,
package/src/index.ts CHANGED
@@ -5,10 +5,12 @@
5
5
  * and scores its agent's artifact against a real, deterministic judge — without owning the benchmark:
6
6
  *
7
7
  * import { resolveAdapter } from '@tangle-network/agent-bench'
8
- * const verdict = await resolveAdapter('commit0').judge(task, myAgentsDiff)
8
+ * const verdict = await resolveAdapter('commit0').evaluate(task, myAgentsDiff)
9
9
  *
10
- * Each adapter fails loud in `preflight()` when its harness/deps (Docker, a venv, a dataset) are
11
- * absent, so importing the registry is cheap; running a specific benchmark pulls only its deps.
10
+ * Every adapter is an agent-eval `BenchmarkAdapter` (`RuntimeBenchmark`: its `runtime` hooks, and
11
+ * `loadAll`, which ignores agent-eval's splits). Each fails loud in `runtime.preflight()` when its
12
+ * harness/deps (Docker, a venv, a dataset) are absent, so importing the registry is cheap; running a
13
+ * specific benchmark pulls only its deps.
12
14
  */
13
15
  export { ADAPTERS, resolveAdapter } from './adapters'
14
16
  export { createCragAdapter } from './benchmarks/crag'
@@ -17,7 +19,7 @@ export { createOpenRagBenchAdapter } from './benchmarks/open-rag-bench'
17
19
  export { createRagBenchAdapter } from './benchmarks/ragbench'
18
20
  export {
19
21
  FINAL_ANSWER_SENTINEL,
20
- answerScoreToBenchScore,
22
+ answerScoreToEvaluation,
21
23
  contextBlock,
22
24
  contextsFrom,
23
25
  normalizeAnswer,
@@ -46,13 +48,17 @@ export {
46
48
  type StagedRunCaptureSpec,
47
49
  type StagedRunSpec,
48
50
  } from './benchmarks/_harness'
49
- export type {
50
- BenchmarkAdapter,
51
- BenchScore,
52
- BenchTask,
53
- JudgeArtifactFileReceipt,
54
- JudgeArtifactReceipt,
55
- LoadOptions,
51
+ export {
52
+ runtimeBenchmark,
53
+ type BenchEvaluation,
54
+ type BenchPayload,
55
+ type BenchRuntime,
56
+ type BenchTask,
57
+ type JudgeArtifactFileReceipt,
58
+ type JudgeArtifactReceipt,
59
+ type LoadOptions,
60
+ type RuntimeBenchmark,
61
+ type RuntimeBenchmarkSpec,
56
62
  } from './benchmarks/types'
57
63
 
58
64
  /**