@tangle-network/agent-eval 1.0.0 → 1.0.2

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 (221) hide show
  1. package/CHANGELOG.md +242 -0
  2. package/README.md +2 -1
  3. package/dist/adapters/http.d.ts +2 -2
  4. package/dist/{agreement-irr-BTjDN0i6.js → agreement-irr-w-t3XUTD.js} +2 -2
  5. package/dist/{agreement-irr-BTjDN0i6.js.map → agreement-irr-w-t3XUTD.js.map} +1 -1
  6. package/dist/analyst/index.d.ts +7 -7
  7. package/dist/analyst/index.js +11 -11
  8. package/dist/{analyze-runs-C-pP1sK9.d.ts → analyze-runs-BYyMShsj.d.ts} +2 -2
  9. package/dist/{analyze-runs-C-pP1sK9.d.ts.map → analyze-runs-BYyMShsj.d.ts.map} +1 -1
  10. package/dist/{analyze-runs-Ck68mbgj.js → analyze-runs-Da7P_Mc5.js} +9 -10
  11. package/dist/{analyze-runs-Ck68mbgj.js.map → analyze-runs-Da7P_Mc5.js.map} +1 -1
  12. package/dist/{benchmark-command-DWkc5mzq.js → benchmark-command-BeDZB3BQ.js} +11 -11
  13. package/dist/{benchmark-command-DWkc5mzq.js.map → benchmark-command-BeDZB3BQ.js.map} +1 -1
  14. package/dist/benchmarks/index.d.ts +4 -4
  15. package/dist/benchmarks/index.js +5 -5
  16. package/dist/builder-eval/index.js +1 -1
  17. package/dist/{calibration-6usfVYYo.js → calibration-DLzckXnn.js} +2 -2
  18. package/dist/{calibration-6usfVYYo.js.map → calibration-DLzckXnn.js.map} +1 -1
  19. package/dist/campaign/index.d.ts +5 -5
  20. package/dist/campaign/index.js +10 -10
  21. package/dist/{campaign-DdOgQfp8.js → campaign-DKZiYHUq.js} +15 -15
  22. package/dist/{campaign-DdOgQfp8.js.map → campaign-DKZiYHUq.js.map} +1 -1
  23. package/dist/{campaign-evidence-MjCjkb5a.js → campaign-evidence-BICB3a9Z.js} +3 -3
  24. package/dist/{campaign-evidence-MjCjkb5a.js.map → campaign-evidence-BICB3a9Z.js.map} +1 -1
  25. package/dist/{chat-client-CO3uB33i.js → chat-client-D0me8iwq.js} +2 -2
  26. package/dist/{chat-client-CO3uB33i.js.map → chat-client-D0me8iwq.js.map} +1 -1
  27. package/dist/{chat-json-call-8yUv4LFO.js → chat-json-call-C473CwTt.js} +2 -2
  28. package/dist/{chat-json-call-8yUv4LFO.js.map → chat-json-call-C473CwTt.js.map} +1 -1
  29. package/dist/cli.js +7 -7
  30. package/dist/{cluster-bootstrap-SbaeM44s.js → cluster-bootstrap-hNXESoc1.js} +2 -2
  31. package/dist/{cluster-bootstrap-SbaeM44s.js.map → cluster-bootstrap-hNXESoc1.js.map} +1 -1
  32. package/dist/{completion-verifier-rqbMh5-4.js → completion-verifier-ClmJV_Yc.js} +2 -2
  33. package/dist/{completion-verifier-rqbMh5-4.js.map → completion-verifier-ClmJV_Yc.js.map} +1 -1
  34. package/dist/contract/index.d.ts +8 -8
  35. package/dist/contract/index.js +13 -13
  36. package/dist/{decision-point-lhMgODOR.js → decision-point-CErE7GnP.js} +6 -6
  37. package/dist/decision-point-CErE7GnP.js.map +1 -0
  38. package/dist/{default-registry-B1DstPYg.d.ts → default-registry-DKlKVXMx.d.ts} +22 -6
  39. package/dist/default-registry-DKlKVXMx.d.ts.map +1 -0
  40. package/dist/{default-registry-C1tPEjZ4.js → default-registry-gmDeN0KT.js} +38 -7
  41. package/dist/default-registry-gmDeN0KT.js.map +1 -0
  42. package/dist/{define-agent-eval-CAffiFbN.d.ts → define-agent-eval-B9zPWFSK.d.ts} +6 -6
  43. package/dist/{define-agent-eval-CAffiFbN.d.ts.map → define-agent-eval-B9zPWFSK.d.ts.map} +1 -1
  44. package/dist/{define-agent-eval-Cc15qGik.js → define-agent-eval-BVhGn7VV.js} +6 -6
  45. package/dist/{define-agent-eval-Cc15qGik.js.map → define-agent-eval-BVhGn7VV.js.map} +1 -1
  46. package/dist/{descriptive-cPwITVfy.js → descriptive-BTzLL-aj.js} +46 -3
  47. package/dist/descriptive-BTzLL-aj.js.map +1 -0
  48. package/dist/diagnosis/index.d.ts +2 -2
  49. package/dist/diagnosis/index.js +2 -2
  50. package/dist/{dspy-rlm-engine-jDiWkul6.js → dspy-rlm-engine-C0zR2xiM.js} +2 -2
  51. package/dist/{dspy-rlm-engine-jDiWkul6.js.map → dspy-rlm-engine-C0zR2xiM.js.map} +1 -1
  52. package/dist/{eval-campaign-C_mNDshv.js → eval-campaign-DVqiBoXR.js} +3 -3
  53. package/dist/{eval-campaign-C_mNDshv.js.map → eval-campaign-DVqiBoXR.js.map} +1 -1
  54. package/dist/{evaluation-BPqUvZ66.d.ts → evaluation-B0-KVXaV.d.ts} +4 -2
  55. package/dist/evaluation-B0-KVXaV.d.ts.map +1 -0
  56. package/dist/{evaluation-B8H3GYej.js → evaluation-BBI37mRe.js} +2 -1
  57. package/dist/evaluation-BBI37mRe.js.map +1 -0
  58. package/dist/evaluation.d.ts +1 -1
  59. package/dist/evaluation.js +1 -1
  60. package/dist/{exact-types-D98BKpxo.d.ts → exact-types-CIViGj98.d.ts} +3 -3
  61. package/dist/{exact-types-D98BKpxo.d.ts.map → exact-types-CIViGj98.d.ts.map} +1 -1
  62. package/dist/experiment/index.d.ts +1 -1
  63. package/dist/experiment/index.js +9 -8
  64. package/dist/experiment/index.js.map +1 -1
  65. package/dist/{exporters-B5Ze_RKh.d.ts → exporters-BYBG9b1n.d.ts} +2 -2
  66. package/dist/{exporters-B5Ze_RKh.d.ts.map → exporters-BYBG9b1n.d.ts.map} +1 -1
  67. package/dist/{external-optimizer-process-BRVmaDFe.js → external-optimizer-process-DKgrrX0J.js} +2 -2
  68. package/dist/{external-optimizer-process-BRVmaDFe.js.map → external-optimizer-process-DKgrrX0J.js.map} +1 -1
  69. package/dist/{external-optimizer-subprocess-U616hV_l.js → external-optimizer-subprocess-wzMaA0oN.js} +2 -2
  70. package/dist/{external-optimizer-subprocess-U616hV_l.js.map → external-optimizer-subprocess-wzMaA0oN.js.map} +1 -1
  71. package/dist/{feedback-trajectory-SBGncrCP.d.ts → feedback-trajectory-Ck7K7AhK.d.ts} +2 -2
  72. package/dist/{feedback-trajectory-SBGncrCP.d.ts.map → feedback-trajectory-Ck7K7AhK.d.ts.map} +1 -1
  73. package/dist/{findings-store-B75Dspaq.js → findings-store-DNSvmy8U.js} +4 -4
  74. package/dist/{findings-store-B75Dspaq.js.map → findings-store-DNSvmy8U.js.map} +1 -1
  75. package/dist/fuzz.js +1 -1
  76. package/dist/{index-CUjeTDPv.d.ts → index-Bn-P_XAl.d.ts} +4 -4
  77. package/dist/{index-CUjeTDPv.d.ts.map → index-Bn-P_XAl.d.ts.map} +1 -1
  78. package/dist/{index-B7v2QHlD.d.ts → index-BwutH5i7.d.ts} +4 -4
  79. package/dist/{index-B7v2QHlD.d.ts.map → index-BwutH5i7.d.ts.map} +1 -1
  80. package/dist/{index-aDPVYBIM.d.ts → index-ByJ20lyu.d.ts} +7 -7
  81. package/dist/{index-aDPVYBIM.d.ts.map → index-ByJ20lyu.d.ts.map} +1 -1
  82. package/dist/{index-DUn0GNiZ.d.ts → index-CtcCSO1Y.d.ts} +4 -4
  83. package/dist/{index-DUn0GNiZ.d.ts.map → index-CtcCSO1Y.d.ts.map} +1 -1
  84. package/dist/index.d.ts +17 -17
  85. package/dist/index.js +38 -43
  86. package/dist/index.js.map +1 -1
  87. package/dist/{judge-calibration-DGqlfWW8.js → judge-calibration-D93UCm1k.js} +2 -2
  88. package/dist/{judge-calibration-DGqlfWW8.js.map → judge-calibration-D93UCm1k.js.map} +1 -1
  89. package/dist/{judge-gate-Di_6bifh.js → judge-gate-C9sLLJ-v.js} +3 -3
  90. package/dist/{judge-gate-Di_6bifh.js.map → judge-gate-C9sLLJ-v.js.map} +1 -1
  91. package/dist/kind-factory-VKysp1ds.js.map +1 -1
  92. package/dist/{llm-client-kJ9EOqjt.js → llm-client-BdSiZ4qz.js} +2 -2
  93. package/dist/{llm-client-kJ9EOqjt.js.map → llm-client-BdSiZ4qz.js.map} +1 -1
  94. package/dist/{llm-judge-D6JtIqiU.js → llm-judge-BYBLxREr.js} +14 -14
  95. package/dist/{llm-judge-D6JtIqiU.js.map → llm-judge-BYBLxREr.js.map} +1 -1
  96. package/dist/{matrix-CBUzIZs4.d.ts → matrix-4DcRFJ7Q.d.ts} +2 -2
  97. package/dist/{matrix-CBUzIZs4.d.ts.map → matrix-4DcRFJ7Q.d.ts.map} +1 -1
  98. package/dist/{internal-v6XfOeJW.js → mean-DDFhslBt.js} +48 -2
  99. package/dist/mean-DDFhslBt.js.map +1 -0
  100. package/dist/meta-eval/index.js +7 -7
  101. package/dist/multishot/golden/index.d.ts +1 -1
  102. package/dist/multishot/index.d.ts +2 -2
  103. package/dist/openapi.json +1 -1
  104. package/dist/{outcome-observations-D4snOtUb.js → outcome-observations-ahbNtxuP.js} +3 -3
  105. package/dist/{outcome-observations-D4snOtUb.js.map → outcome-observations-ahbNtxuP.js.map} +1 -1
  106. package/dist/{paired-arms-D5H_58e8.js → paired-arms-C0Vd9bGG.js} +4 -4
  107. package/dist/{paired-arms-D5H_58e8.js.map → paired-arms-C0Vd9bGG.js.map} +1 -1
  108. package/dist/{paired-binary-BR0nwHOA.js → paired-binary-B477lksS.js} +2 -2
  109. package/dist/{paired-binary-BR0nwHOA.js.map → paired-binary-B477lksS.js.map} +1 -1
  110. package/dist/{paired-promotion-decision-BiVumgvM.js → paired-promotion-decision-5Pl_qJLX.js} +3 -3
  111. package/dist/{paired-promotion-decision-BiVumgvM.js.map → paired-promotion-decision-5Pl_qJLX.js.map} +1 -1
  112. package/dist/{paired-tests-C2zUqgUW.js → paired-tests-kASEKpc-.js} +3 -37
  113. package/dist/paired-tests-kASEKpc-.js.map +1 -0
  114. package/dist/{pareto-7_LEmYGG.js → pareto-DY_x3HHg.js} +7 -7
  115. package/dist/{pareto-7_LEmYGG.js.map → pareto-DY_x3HHg.js.map} +1 -1
  116. package/dist/pipelines/index.d.ts +1 -1
  117. package/dist/pipelines/index.js +1 -1
  118. package/dist/{power-and-mde-CHvyDO_H.js → power-and-mde-CRxepy8y.js} +3 -3
  119. package/dist/{power-and-mde-CHvyDO_H.js.map → power-and-mde-CRxepy8y.js.map} +1 -1
  120. package/dist/{promotion-policy-D7B4_jEZ.js → promotion-policy-f79oklG_.js} +4 -4
  121. package/dist/{promotion-policy-D7B4_jEZ.js.map → promotion-policy-f79oklG_.js.map} +1 -1
  122. package/dist/{proposal-findings-WFQrxnfe.js → proposal-findings-duV5flPv.js} +2 -2
  123. package/dist/{proposal-findings-WFQrxnfe.js.map → proposal-findings-duV5flPv.js.map} +1 -1
  124. package/dist/{raw-provider-sink-DDLkP_eF.js → raw-provider-sink-RbaEv2vB.js} +2 -2
  125. package/dist/{raw-provider-sink-DDLkP_eF.js.map → raw-provider-sink-RbaEv2vB.js.map} +1 -1
  126. package/dist/{redact-C_wzC4c_.d.ts → redact-jrT0APTU.d.ts} +50 -35
  127. package/dist/redact-jrT0APTU.d.ts.map +1 -0
  128. package/dist/{redact-D6APJS1d.js → redact-zp_ILC4l.js} +92 -33
  129. package/dist/redact-zp_ILC4l.js.map +1 -0
  130. package/dist/redaction.d.ts +2 -0
  131. package/dist/redaction.js +1 -0
  132. package/dist/{registry-dhdDoAV8.d.ts → registry-CMtGAxOw.d.ts} +2 -2
  133. package/dist/{registry-dhdDoAV8.d.ts.map → registry-CMtGAxOw.d.ts.map} +1 -1
  134. package/dist/{release-confidence-CTUJz5mM.js → release-confidence--1iP-d3x.js} +2 -2
  135. package/dist/{release-confidence-CTUJz5mM.js.map → release-confidence--1iP-d3x.js.map} +1 -1
  136. package/dist/{render-pfAZ7IR4.js → render-CFrJ7M0o.js} +26 -26
  137. package/dist/render-CFrJ7M0o.js.map +1 -0
  138. package/dist/reporting.js +5 -5
  139. package/dist/{reward-hacking-Bjk3MAjh.js → reward-hacking-D-Vi9-fE.js} +3 -3
  140. package/dist/{reward-hacking-Bjk3MAjh.js.map → reward-hacking-D-Vi9-fE.js.map} +1 -1
  141. package/dist/rl.d.ts +3 -3
  142. package/dist/rl.js +9 -9
  143. package/dist/rollout/index.d.ts +4 -4
  144. package/dist/rollout/index.js +1 -1
  145. package/dist/{rollout-BhkMpAJT.js → rollout-BC4u-d_I.js} +3 -3
  146. package/dist/{rollout-BhkMpAJT.js.map → rollout-BC4u-d_I.js.map} +1 -1
  147. package/dist/{rubric-predictive-validity-CQp_M0vy.js → rubric-predictive-validity-BdxXDN6h.js} +2 -2
  148. package/dist/{rubric-predictive-validity-CQp_M0vy.js.map → rubric-predictive-validity-BdxXDN6h.js.map} +1 -1
  149. package/dist/{run-record-BUm-Jggo.js → run-record-B-G2Tu11.js} +2 -2
  150. package/dist/{run-record-BUm-Jggo.js.map → run-record-B-G2Tu11.js.map} +1 -1
  151. package/dist/{schema-DkFJr3Y8.d.ts → schema-CfoA9U_U.d.ts} +28 -2
  152. package/dist/schema-CfoA9U_U.d.ts.map +1 -0
  153. package/dist/search/index.d.ts +2 -2
  154. package/dist/search/index.js +2 -2
  155. package/dist/{search-kernel-CBdwFZ05.d.ts → search-kernel-BjR2Sr7w.d.ts} +2 -2
  156. package/dist/{search-kernel-CBdwFZ05.d.ts.map → search-kernel-BjR2Sr7w.d.ts.map} +1 -1
  157. package/dist/{search-summary-Bt3uuK53.js → search-summary-DedyTdiM.js} +4 -4
  158. package/dist/{search-summary-Bt3uuK53.js.map → search-summary-DedyTdiM.js.map} +1 -1
  159. package/dist/{sequential-De7BTAlV.js → sequential-Zp1tsxqI.js} +2 -2
  160. package/dist/{sequential-De7BTAlV.js.map → sequential-Zp1tsxqI.js.map} +1 -1
  161. package/dist/{server-DA6h3co5.js → server-CPKyf3bz.js} +2 -2
  162. package/dist/{server-DA6h3co5.js.map → server-CPKyf3bz.js.map} +1 -1
  163. package/dist/{skillopt-optimization-method-BKFbJEyz.js → skillopt-optimization-method-DmfZz-2d.js} +9 -9
  164. package/dist/{skillopt-optimization-method-BKFbJEyz.js.map → skillopt-optimization-method-DmfZz-2d.js.map} +1 -1
  165. package/dist/{spans-vZoW__3q.d.ts → spans-CGjHouKM.d.ts} +2 -2
  166. package/dist/{spans-vZoW__3q.d.ts.map → spans-CGjHouKM.d.ts.map} +1 -1
  167. package/dist/{statistical-heldout-C9hz_AF9.js → statistical-heldout-DYF5f10K.js} +3 -3
  168. package/dist/{statistical-heldout-C9hz_AF9.js.map → statistical-heldout-DYF5f10K.js.map} +1 -1
  169. package/dist/{statistical-heldout-Cei036nE.d.ts → statistical-heldout-bU7FBNjR.d.ts} +2 -2
  170. package/dist/{statistical-heldout-Cei036nE.d.ts.map → statistical-heldout-bU7FBNjR.d.ts.map} +1 -1
  171. package/dist/{store-tool-spans-C2g8UYm-.js → store-tool-spans-GGaCijFy.js} +19 -62
  172. package/dist/store-tool-spans-GGaCijFy.js.map +1 -0
  173. package/dist/{store-tool-spans-B3i3fl0A.d.ts → store-tool-spans-lWf6INTH.d.ts} +3 -44
  174. package/dist/store-tool-spans-lWf6INTH.d.ts.map +1 -0
  175. package/dist/{summary-report-BLnTyQKH.js → summary-report-BstMpOfy.js} +6 -7
  176. package/dist/{summary-report-BLnTyQKH.js.map → summary-report-BstMpOfy.js.map} +1 -1
  177. package/dist/supervisor-run/index.d.ts +12 -2
  178. package/dist/supervisor-run/index.d.ts.map +1 -1
  179. package/dist/supervisor-run/index.js +1 -1
  180. package/dist/{systemone-Cw2txK5m.d.ts → systemone-BDVgb6XV.d.ts} +7 -9
  181. package/dist/systemone-BDVgb6XV.d.ts.map +1 -0
  182. package/dist/systemone.d.ts +2 -2
  183. package/dist/systemone.js +2 -2
  184. package/dist/{tool-waste-CLJ46AbT.js → tool-waste-CRJqOASv.js} +3 -3
  185. package/dist/{tool-waste-CLJ46AbT.js.map → tool-waste-CRJqOASv.js.map} +1 -1
  186. package/dist/trace-repair/index.js +2 -2
  187. package/dist/traces.d.ts +18 -39
  188. package/dist/traces.d.ts.map +1 -1
  189. package/dist/traces.js +51 -57
  190. package/dist/traces.js.map +1 -1
  191. package/dist/{tree-DnBkWXun.js → tree-C2N31CoI.js} +5 -6
  192. package/dist/{tree-DnBkWXun.js.map → tree-C2N31CoI.js.map} +1 -1
  193. package/dist/{types-C54Uk_a1.d.ts → types-BF-xQGQn.d.ts} +2 -2
  194. package/dist/{types-C54Uk_a1.d.ts.map → types-BF-xQGQn.d.ts.map} +1 -1
  195. package/dist/{types-C-aOqgt2.d.ts → types-DNB9hIXa.d.ts} +2 -2
  196. package/dist/{types-C-aOqgt2.d.ts.map → types-DNB9hIXa.d.ts.map} +1 -1
  197. package/dist/{types-0oMg7zee.d.ts → types-yofaDmQa.d.ts} +2 -2
  198. package/dist/{types-0oMg7zee.d.ts.map → types-yofaDmQa.d.ts.map} +1 -1
  199. package/dist/wire/index.d.ts +7 -7
  200. package/dist/wire/index.js +1 -1
  201. package/docs/design/statistics-decisions.md +1 -0
  202. package/docs/redaction.md +24 -1
  203. package/docs/systemone.md +6 -0
  204. package/package.json +7 -2
  205. package/dist/decision-point-lhMgODOR.js.map +0 -1
  206. package/dist/default-registry-B1DstPYg.d.ts.map +0 -1
  207. package/dist/default-registry-C1tPEjZ4.js.map +0 -1
  208. package/dist/descriptive-cPwITVfy.js.map +0 -1
  209. package/dist/evaluation-B8H3GYej.js.map +0 -1
  210. package/dist/evaluation-BPqUvZ66.d.ts.map +0 -1
  211. package/dist/internal-v6XfOeJW.js.map +0 -1
  212. package/dist/mean-BPuUNznQ.js +0 -16
  213. package/dist/mean-BPuUNznQ.js.map +0 -1
  214. package/dist/paired-tests-C2zUqgUW.js.map +0 -1
  215. package/dist/redact-C_wzC4c_.d.ts.map +0 -1
  216. package/dist/redact-D6APJS1d.js.map +0 -1
  217. package/dist/render-pfAZ7IR4.js.map +0 -1
  218. package/dist/schema-DkFJr3Y8.d.ts.map +0 -1
  219. package/dist/store-tool-spans-B3i3fl0A.d.ts.map +0 -1
  220. package/dist/store-tool-spans-C2g8UYm-.js.map +0 -1
  221. package/dist/systemone-Cw2txK5m.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,248 @@ All notable changes to `@tangle-network/agent-eval` and its sibling `agent-eval-
4
4
 
5
5
  ---
6
6
 
7
+ ## [1.0.2] — 2026-10-29
8
+
9
+ - Read archived Runtime bytes without changing logical run identity (#1159)
10
+ - fix(adopt-stack): set up pnpm with action-setup v6.1.0 so pnpm 12 callers install (#1158)
11
+ - fix(adopt-stack): plan and deliver on every manual run (#1157)
12
+ - chore(release): 1.0.1
13
+ - Refresh the live benchmark dependency identity after interface updates
14
+ - Preserve exact execution controls in evaluation-backed analysts
15
+ - ci(release): admit the release version before publishing (#1154)
16
+ - fix(adopt-stack): dedupe the lockfile after locking the planned versions (#1153)
17
+ - wip
18
+ - wip
19
+ - wip
20
+ - Lock per importer, keep npm ranges, deliver after 20 h
21
+ - Adopt compatible releases through the lockfile, once a day
22
+ - docs(readme): drop the unmeasured 30-second promise; link the no-change gate example (#1151)
23
+ - fix(adopt-stack): restart an updater-only proposal that no longer merges (#1147)
24
+ - fix(deps): adopt agent-interface 5.10.2 (#1150)
25
+ - fix(deps): adopt agent-interface 5.10.1 for the Zod advisory (#1149)
26
+ - feat(statistics): export meanConfidenceInterval and studentTCritical, a one-sample Student-t interval on the mean
27
+ - factory: Student t mean interval in agent eval
28
+ - feat(analyst): export the behavioral failure-class mapping, its load-time guard and pinBehavioralFailureClass
29
+ - factory: Failure mapping in agent eval
30
+ - fix(adopt-stack): an untracked file the gate wrote does not change the gated tree (#1145)
31
+ - refactor(trace): OTLP ids, encoding and decoding from agent-trace-contract (#1144)
32
+ - feat(redaction): publish shared detectors with safe substring ranges (#1139)
33
+ - chore(release): 1.0.0 (#1142)
34
+ - test(adopt-stack): explain a refusal by any peer whose latest is an excluded major; post-pin cases use a manifest with no 0.x peer
35
+ - test(adopt-stack): the live-registry plans hold across a package's first 1.0 release
36
+ - deps: repin the analyst benchmark's dependency-lock digest
37
+ - deps: lock agent-core 1.0.0, harness-sessions 1.0.1, agent-interface 5.8.1 and agent-trace-contract 2.2.0
38
+ - deps: floor agent-interface at 5.8.1 and agent-trace-contract at 2.2.0
39
+ - deps: agent-core ^1.0.0 and harness-sessions ^1.0.1
40
+ - chore(release): 0.223.0 (#1140)
41
+ - feat(storyboard): one tool classifier, classifyTool, shared by scenes and extractVisual
42
+ - refactor: use statistics mean helpers instead of private copies (#1137)
43
+ - fix(adopt-stack): restart a branch that outlived another's squash merge (#1136)
44
+ - fix(analyst): repin the benchmark dependency lock after the zod range (#1135)
45
+ - chore(release): 0.222.1 (#1134)
46
+ - fix(deps): depend on zod ^4.6.6 so consumers resolve one copy (#1133)
47
+ - chore(test): retire incomplete Runtime adoption snapshot
48
+ - fix(release): build public exports before integration tests
49
+ - chore(release): 0.222.0
50
+ - feat(campaign): share concurrency for measured scenario adapters
51
+ - fix(supervisor-run): staged play-check reward is stages passed, read from the SCORE line only (#1126)
52
+ - refactor(statistics): delete duplicate numeric summary helpers
53
+ - fix(rollout): import survives a damaged deliverables archive; named ids are not keys (#1125)
54
+ - feat(supervisor-run): rollouts importer for Discovery runs, harness sessions and gate receipts (#1124)
55
+ - feat(statistics): extend series summaries with nearest-rank evidence
56
+ - test(rollout): isolate bundle permission probe from runner identity
57
+ - fix(rollout): license class is provenance and an opt-in filter, not a default exclusion (#1121)
58
+ - fix(rollout): allow nonroot images to read the base bundle
59
+ - feat(rollout): license class on rollout lines and whole-row privacy drop in rollout-release (#1119)
60
+ - test(rollout): inherit configured identity for Git fixtures
61
+ - test(rollout): capture empty tool definitions at the ledger boundary
62
+ - feat(rollout): write verified episodes as Harbor tasks
63
+ - feat(rollout): project captured policy steps into Tinker data
64
+ - adopt-stack: delete the adoption branch when its squash merge lands (#1115)
65
+ - chore(deps)!: require Python 3.11 for patched locks and refresh dependencies
66
+ - feat(rollout): read retained Codex sessions through the shared reader
67
+ - chore(release): 0.221.8
68
+ - test(adopt): retain failed browser child outcomes
69
+ - docs: leave changelog preparation to the release workflow
70
+ - chore(release): 0.221.7
71
+ - feat(multishot): conversation legs report the USD they spent
72
+ - chore(release): 0.221.6
73
+ - docs(traces): bound the incomplete usage coverage claim
74
+ - feat: own judge-panel calibration, multishot conversation legs and served-panel identity
75
+ - test(traces): typecheck OTLP usage integration proof
76
+ - fix(traces): retain incomplete OTLP token usage
77
+ - chore(release): 0.221.5
78
+ - ci: retain private adopter failure evidence (#1106)
79
+ - test(process): isolate process-tree fixture environment
80
+ - fix(adopt): invoke each resolved Playwright CLI (#1096)
81
+ - test(systemone): close disposable provider connections
82
+ - chore(release): 0.221.4
83
+ - test(adoption): inherit the maintained integration deadline
84
+ - fix(adoption): scope guard allowance to disposable Git fixtures
85
+ - fix(analyst): carry root-cause target into failure-mode rubric
86
+ - ci: check locally and in publication paths
87
+ - test(adopt): give real-git fixtures their own commit identity (#1101)
88
+ - chore(release): 0.221.3 (#1099)
89
+ - fix(analyst): repin the benchmark implementation digest after #1097 (#1098)
90
+ - fix(trace-analyst): build OTLP stores from bytes, not one joined string
91
+ - fix(adopt): prepare caller-locked Chromium before gates
92
+ - test(adopt): retain admitted identity in real Git fixtures
93
+ - fix(adopt): retain the sparse caller entrypoint
94
+ - fix(adopt): settle pushed proposal reads against remote refs
95
+ - chore(release): 0.221.2
96
+ - Return plain analyst findings from decision replay
97
+ - chore(release): 0.221.1 (#1091)
98
+ - fix(deps): pin zod 4.6.6 (GHSA-mrhx-c7xc-m3w5) (#1088)
99
+ - Give the disposable adoption fixture its own Git author
100
+ - Fix real adoption drift fixture under the declared package manager
101
+ - Capture supporting trace events in the original native decision
102
+ - test: inherit the integration default for behavioral questions
103
+ - test: set the integration default from the observed loaded tail
104
+ - chore(release): 0.221.0
105
+ - test: own the measured integration deadline in Vitest config
106
+ - test: await observed integration completion across tool paths
107
+ - feat: preserve finding composition and assigned arm populations
108
+ - test: await decision-point HTTP and ledger completion
109
+ - test: await durable readiness in filesystem integration cases
110
+ - test(process): wait for argv child readiness before abort
111
+ - feat(analyst): add bounded calibrated trace question observations
112
+ - fix(analyst): reject surrounding whitespace in caller gold ids
113
+ - test(analyst): reproduce whitespace source-id bypass
114
+ - test(optimizer): retire fake CLI metering harness
115
+ - test(analyst): isolate recorded gold admission scenarios
116
+ - fix(systemone): validate decision boundaries before routing
117
+ - ci: pin the eval publication dispatcher body
118
+ - fix(analyst): reserve excluded source ids across caller gold
119
+ - fix(analyst): validate root provenance before gold admission
120
+ - fix(analyst): preserve actor boundaries in AgentRx calibration gold
121
+ - Preserve manual drafts observed while recording failed adoption (#1076)
122
+ - Recover updater-owned failure drafts while preserving manual holds (#1075)
123
+ - feat(systemone): persist calibrated decision points and outcomes
124
+ - ci: move eval verification and Python publishing to owned runners
125
+ - chore(deps): bump opentelemetry-api in /clients/python (#1068)
126
+ - fix(adopt): quote optional workflow flags
127
+ - fix(adopt): preserve shallow history and caller-owned dependency references
128
+ - fix(adopt): reconcile effective workspace pins and preserve proposal history
129
+
130
+ ## [1.0.1] — 2026-10-28
131
+
132
+ - Refresh the live benchmark dependency identity after interface updates
133
+ - Preserve exact execution controls in evaluation-backed analysts
134
+ - ci(release): admit the release version before publishing (#1154)
135
+ - fix(adopt-stack): dedupe the lockfile after locking the planned versions (#1153)
136
+ - wip
137
+ - wip
138
+ - wip
139
+ - Lock per importer, keep npm ranges, deliver after 20 h
140
+ - Adopt compatible releases through the lockfile, once a day
141
+ - docs(readme): drop the unmeasured 30-second promise; link the no-change gate example (#1151)
142
+ - fix(adopt-stack): restart an updater-only proposal that no longer merges (#1147)
143
+ - fix(deps): adopt agent-interface 5.10.2 (#1150)
144
+ - fix(deps): adopt agent-interface 5.10.1 for the Zod advisory (#1149)
145
+ - feat(statistics): export meanConfidenceInterval and studentTCritical, a one-sample Student-t interval on the mean
146
+ - factory: Student t mean interval in agent eval
147
+ - feat(analyst): export the behavioral failure-class mapping, its load-time guard and pinBehavioralFailureClass
148
+ - factory: Failure mapping in agent eval
149
+ - fix(adopt-stack): an untracked file the gate wrote does not change the gated tree (#1145)
150
+ - refactor(trace): OTLP ids, encoding and decoding from agent-trace-contract (#1144)
151
+ - feat(redaction): publish shared detectors with safe substring ranges (#1139)
152
+ - chore(release): 1.0.0 (#1142)
153
+ - test(adopt-stack): explain a refusal by any peer whose latest is an excluded major; post-pin cases use a manifest with no 0.x peer
154
+ - test(adopt-stack): the live-registry plans hold across a package's first 1.0 release
155
+ - deps: repin the analyst benchmark's dependency-lock digest
156
+ - deps: lock agent-core 1.0.0, harness-sessions 1.0.1, agent-interface 5.8.1 and agent-trace-contract 2.2.0
157
+ - deps: floor agent-interface at 5.8.1 and agent-trace-contract at 2.2.0
158
+ - deps: agent-core ^1.0.0 and harness-sessions ^1.0.1
159
+ - chore(release): 0.223.0 (#1140)
160
+ - feat(storyboard): one tool classifier, classifyTool, shared by scenes and extractVisual
161
+ - refactor: use statistics mean helpers instead of private copies (#1137)
162
+ - fix(adopt-stack): restart a branch that outlived another's squash merge (#1136)
163
+ - fix(analyst): repin the benchmark dependency lock after the zod range (#1135)
164
+ - chore(release): 0.222.1 (#1134)
165
+ - fix(deps): depend on zod ^4.6.6 so consumers resolve one copy (#1133)
166
+ - chore(test): retire incomplete Runtime adoption snapshot
167
+ - fix(release): build public exports before integration tests
168
+ - chore(release): 0.222.0
169
+ - feat(campaign): share concurrency for measured scenario adapters
170
+ - fix(supervisor-run): staged play-check reward is stages passed, read from the SCORE line only (#1126)
171
+ - refactor(statistics): delete duplicate numeric summary helpers
172
+ - fix(rollout): import survives a damaged deliverables archive; named ids are not keys (#1125)
173
+ - feat(supervisor-run): rollouts importer for Discovery runs, harness sessions and gate receipts (#1124)
174
+ - feat(statistics): extend series summaries with nearest-rank evidence
175
+ - test(rollout): isolate bundle permission probe from runner identity
176
+ - fix(rollout): license class is provenance and an opt-in filter, not a default exclusion (#1121)
177
+ - fix(rollout): allow nonroot images to read the base bundle
178
+ - feat(rollout): license class on rollout lines and whole-row privacy drop in rollout-release (#1119)
179
+ - test(rollout): inherit configured identity for Git fixtures
180
+ - test(rollout): capture empty tool definitions at the ledger boundary
181
+ - feat(rollout): write verified episodes as Harbor tasks
182
+ - feat(rollout): project captured policy steps into Tinker data
183
+ - adopt-stack: delete the adoption branch when its squash merge lands (#1115)
184
+ - chore(deps)!: require Python 3.11 for patched locks and refresh dependencies
185
+ - feat(rollout): read retained Codex sessions through the shared reader
186
+ - chore(release): 0.221.8
187
+ - test(adopt): retain failed browser child outcomes
188
+ - docs: leave changelog preparation to the release workflow
189
+ - chore(release): 0.221.7
190
+ - feat(multishot): conversation legs report the USD they spent
191
+ - chore(release): 0.221.6
192
+ - docs(traces): bound the incomplete usage coverage claim
193
+ - feat: own judge-panel calibration, multishot conversation legs and served-panel identity
194
+ - test(traces): typecheck OTLP usage integration proof
195
+ - fix(traces): retain incomplete OTLP token usage
196
+ - chore(release): 0.221.5
197
+ - ci: retain private adopter failure evidence (#1106)
198
+ - test(process): isolate process-tree fixture environment
199
+ - fix(adopt): invoke each resolved Playwright CLI (#1096)
200
+ - test(systemone): close disposable provider connections
201
+ - chore(release): 0.221.4
202
+ - test(adoption): inherit the maintained integration deadline
203
+ - fix(adoption): scope guard allowance to disposable Git fixtures
204
+ - fix(analyst): carry root-cause target into failure-mode rubric
205
+ - ci: check locally and in publication paths
206
+ - test(adopt): give real-git fixtures their own commit identity (#1101)
207
+ - chore(release): 0.221.3 (#1099)
208
+ - fix(analyst): repin the benchmark implementation digest after #1097 (#1098)
209
+ - fix(trace-analyst): build OTLP stores from bytes, not one joined string
210
+ - fix(adopt): prepare caller-locked Chromium before gates
211
+ - test(adopt): retain admitted identity in real Git fixtures
212
+ - fix(adopt): retain the sparse caller entrypoint
213
+ - fix(adopt): settle pushed proposal reads against remote refs
214
+ - chore(release): 0.221.2
215
+ - Return plain analyst findings from decision replay
216
+ - chore(release): 0.221.1 (#1091)
217
+ - fix(deps): pin zod 4.6.6 (GHSA-mrhx-c7xc-m3w5) (#1088)
218
+ - Give the disposable adoption fixture its own Git author
219
+ - Fix real adoption drift fixture under the declared package manager
220
+ - Capture supporting trace events in the original native decision
221
+ - test: inherit the integration default for behavioral questions
222
+ - test: set the integration default from the observed loaded tail
223
+ - chore(release): 0.221.0
224
+ - test: own the measured integration deadline in Vitest config
225
+ - test: await observed integration completion across tool paths
226
+ - feat: preserve finding composition and assigned arm populations
227
+ - test: await decision-point HTTP and ledger completion
228
+ - test: await durable readiness in filesystem integration cases
229
+ - test(process): wait for argv child readiness before abort
230
+ - feat(analyst): add bounded calibrated trace question observations
231
+ - fix(analyst): reject surrounding whitespace in caller gold ids
232
+ - test(analyst): reproduce whitespace source-id bypass
233
+ - test(optimizer): retire fake CLI metering harness
234
+ - test(analyst): isolate recorded gold admission scenarios
235
+ - fix(systemone): validate decision boundaries before routing
236
+ - ci: pin the eval publication dispatcher body
237
+ - fix(analyst): reserve excluded source ids across caller gold
238
+ - fix(analyst): validate root provenance before gold admission
239
+ - fix(analyst): preserve actor boundaries in AgentRx calibration gold
240
+ - Preserve manual drafts observed while recording failed adoption (#1076)
241
+ - Recover updater-owned failure drafts while preserving manual holds (#1075)
242
+ - feat(systemone): persist calibrated decision points and outcomes
243
+ - ci: move eval verification and Python publishing to owned runners
244
+ - chore(deps): bump opentelemetry-api in /clients/python (#1068)
245
+ - fix(adopt): quote optional workflow flags
246
+ - fix(adopt): preserve shallow history and caller-owned dependency references
247
+ - fix(adopt): reconcile effective workspace pins and preserve proposal history
248
+
7
249
  ## [1.0.0] — 2026-10-26
8
250
 
9
251
  **1.0.0 ships the 0.223.0 API unchanged.** From here a breaking change is a major release, and a caret range (`^1.0.0`) takes every later compatible release, so a consumer no longer needs a release of its own for each minor of this package. The dependencies move onto the 1.0 releases of agent-core and harness-sessions. The commits below are everything since the v0.220.2 tag.
package/README.md CHANGED
@@ -23,7 +23,7 @@ pnpm add @tangle-network/agent-eval
23
23
 
24
24
  ## Contents
25
25
 
26
- - [Quickstart](#quickstart) — score your first change in 30 seconds
26
+ - [Quickstart](#quickstart) — score a change offline
27
27
  - [Choose a workflow](#choose-a-workflow) — which API for which job
28
28
  - [Automated improvement](#make-automated-improvement-accountable) — the held-out gate
29
29
  - [Configure model calls](#configure-model-calls) — transports and pricing
@@ -86,6 +86,7 @@ candidate: 1
86
86
  The baseline scores `0`; the candidate scores `1` on all three cases.
87
87
  These scores describe the three examples.
88
88
  They do not establish a release decision or performance on new tasks.
89
+ For a release decision, including the cases where the evidence justifies no change, see the [held-out gate example](./examples/held-out-gate/).
89
90
 
90
91
  A **case** is one task.
91
92
  A **surface** is the prompt, skill, or configuration being changed.
@@ -1,6 +1,6 @@
1
1
  import { d as CostReceipt } from "../cost-ledger-Czro9wmo.js";
2
- import { R as Scenario, d as DispatchContext, f as DispatchFn } from "../types-C54Uk_a1.js";
3
- import "../index-aDPVYBIM.js";
2
+ import { R as Scenario, d as DispatchContext, f as DispatchFn } from "../types-BF-xQGQn.js";
3
+ import "../index-ByJ20lyu.js";
4
4
  export interface HttpDispatchOptions<TScenario extends Scenario, _TArtifact> {
5
5
  /** Static endpoint URL. Mutually exclusive with `resolveUrl`. */
6
6
  url?: string;
@@ -1,5 +1,5 @@
1
1
  import { s as ValidationError } from "./errors-DeEEV9Vx.js";
2
- import { r as continuousAgreement } from "./judge-calibration-DGqlfWW8.js";
2
+ import { r as continuousAgreement } from "./judge-calibration-D93UCm1k.js";
3
3
  // src/statistics/agreement-irr.ts
4
4
  /**
5
5
  * Inter-rater reliability — Krippendorff's α under the squared-difference
@@ -182,4 +182,4 @@ function nominalAgreement(pairs) {
182
182
  }
183
183
  export { nominalAgreement as i, corpusInterRaterAgreementFromJudgeScores as n, interRaterReliability as r, corpusInterRaterAgreement as t };
184
184
 
185
- //# sourceMappingURL=agreement-irr-BTjDN0i6.js.map
185
+ //# sourceMappingURL=agreement-irr-w-t3XUTD.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"agreement-irr-BTjDN0i6.js","names":["prev"],"sources":["../src/statistics/agreement-irr.ts"],"sourcesContent":["import { ValidationError } from '../errors'\nimport {\n type ContinuousAgreement,\n type ContinuousAgreementOptions,\n continuousAgreement,\n} from '../judge-calibration'\nimport type { DimensionJudgeScore } from '../types'\n\n/**\n * Inter-rater reliability — Krippendorff's α under the squared-difference\n * metric, pooled across dimensions.\n *\n * Each inner array is one judge's scores. Items are matched by position\n * WITHIN a dimension: the k-th score a judge supplies carrying dimension\n * `d` is item k of `d`, and the ratings compared against each other are\n * the ones different judges gave to the same item. Every judge that scores\n * a dimension at all must supply the same number of scores for it —\n * ragged input cannot be aligned into items and throws rather than\n * comparing mismatched items.\n *\n * α = 1 − D_observed / D_expected: D_observed averages the squared\n * difference over within-item judge pairs, D_expected over every pair of\n * ratings irrespective of item. α = 1 is perfect agreement, 0 is chance,\n * negative is systematic disagreement.\n */\nexport function interRaterReliability(judgeScores: DimensionJudgeScore[][]): number {\n if (judgeScores.length < 2) return 1\n\n // dimension → one score sequence per judge, in that judge's supplied order.\n const perDimension = new Map<string, number[][]>()\n for (let judgeIndex = 0; judgeIndex < judgeScores.length; judgeIndex++) {\n for (const s of judgeScores[judgeIndex]!) {\n let byJudge = perDimension.get(s.dimension)\n if (byJudge === undefined) {\n byJudge = Array.from({ length: judgeScores.length }, () => [] as number[])\n perDimension.set(s.dimension, byJudge)\n }\n byJudge[judgeIndex]!.push(s.score)\n }\n }\n\n const allValues: number[] = []\n const pairDiffs: number[] = []\n\n for (const [dimension, byJudge] of perDimension) {\n const scoring = byJudge.filter((scores) => scores.length > 0)\n if (scoring.length < 2) continue\n const itemCount = scoring[0]!.length\n if (scoring.some((scores) => scores.length !== itemCount)) {\n throw new ValidationError(\n `interRaterReliability: dimension '${dimension}' has judges supplying ` +\n `${scoring.map((scores) => scores.length).join('/')} scores — items cannot be aligned`,\n )\n }\n for (let item = 0; item < itemCount; item++) {\n const ratings = scoring.map((scores) => scores[item]!)\n for (const v of ratings) allValues.push(v)\n for (let i = 0; i < ratings.length; i++) {\n for (let j = i + 1; j < ratings.length; j++) {\n pairDiffs.push((ratings[i]! - ratings[j]!) ** 2)\n }\n }\n }\n }\n\n if (pairDiffs.length === 0 || allValues.length < 2) return 1\n\n const observedDisagreement = pairDiffs.reduce((a, b) => a + b, 0) / pairDiffs.length\n\n // Expected disagreement from all possible pairings of values\n let expectedDisagreement = 0\n let expectedCount = 0\n for (let i = 0; i < allValues.length; i++) {\n for (let j = i + 1; j < allValues.length; j++) {\n expectedDisagreement += (allValues[i]! - allValues[j]!) ** 2\n expectedCount++\n }\n }\n expectedDisagreement = expectedCount > 0 ? expectedDisagreement / expectedCount : 0\n\n if (expectedDisagreement === 0) return 1\n return 1 - observedDisagreement / expectedDisagreement\n}\n\n// ── Corpus-wide inter-rater agreement ──────────────────────────────\n//\n// `interRaterReliability(judgeScores)` computes a within-item\n// Krippendorff α — multiple judges score *the same item* and we ask\n// \"how much do their scores agree on that item?\" Useful for a single\n// scenario, but it cannot answer \"how reliable are these judges across\n// the whole evaluation corpus?\"\n//\n// `corpusInterRaterAgreement` does the corpus-wide question properly.\n// Inputs are flat per-(item, judge, dimension) score records. For each\n// dimension we pivot to a complete [n_items × n_judges] matrix and feed\n// it to the ICC(2,1) + κ_w machinery already validated in\n// `judge-calibration.ts`. An overall pooled metric averages the\n// per-dimension ICC/κ across dimensions.\n\nexport interface CorpusScoreRecord {\n /** Stable identifier for the rated item (scenario, span, turn, …). */\n itemId: string\n /** Identifier for the judge that produced this score. */\n judgeName: string\n /** Dimension name (matches `DimensionJudgeScore.dimension`). */\n dimension: string\n /** Numeric score; must be finite. */\n score: number\n}\n\nexport interface CorpusAgreementPerDimension extends ContinuousAgreement {\n dimension: string\n /** Item IDs that contributed to this dimension's matrix (every judge scored them). */\n itemIds: string[]\n /** Judge IDs that contributed to this dimension's matrix. */\n judgeIds: string[]\n}\n\nexport interface CorpusAgreementReport {\n /** Per-dimension ICC(2,1) + κ_w + Pearson + Spearman + bootstrap CIs. */\n perDimension: CorpusAgreementPerDimension[]\n /** Mean ICC across dimensions (NaN if no dimension yielded a finite ICC). */\n overallIcc: number\n /** Mean weighted κ across dimensions (NaN if none finite). */\n overallWeightedKappa: number\n /** Dimensions evaluated (sorted). */\n dimensions: string[]\n /** Judges seen across the corpus (sorted). */\n judgeIds: string[]\n}\n\nexport interface CorpusAgreementOptions extends ContinuousAgreementOptions {\n /**\n * Restrict the audit to these dimensions. Default = every dimension\n * that appears in the input. A dimension named here but absent from\n * the input throws — silent omission would corrupt the overall metric.\n */\n dimensions?: string[]\n /**\n * Restrict the audit to these judges. Default = every judge that\n * appears in the input. A judge named here but absent from a\n * dimension throws (see \"fail loud\" below).\n */\n judges?: string[]\n}\n\n/**\n * Corpus-wide inter-rater agreement across N items × M judges × D dimensions.\n *\n * For each dimension, builds the [n_items][n_judges] matrix of scores\n * (keeping only items every judge rated on that dimension), then runs\n * `continuousAgreement` to get ICC(2,1), κ_w, Pearson, Spearman, and\n * bootstrap CIs. Reports a pooled mean across dimensions as a single\n * \"is this judge panel reliable on this corpus?\" number.\n *\n * Fail-loud contract:\n * - Empty input throws.\n * - Fewer than 2 judges or fewer than 2 items per dimension throws.\n * - A judge present in some dimensions but with zero scored items on\n * another dimension throws (would silently shrink the matrix).\n * - Duplicate (itemId, judgeName, dimension) records throw.\n */\nexport function corpusInterRaterAgreement(\n records: CorpusScoreRecord[],\n opts: CorpusAgreementOptions = {},\n): CorpusAgreementReport {\n if (records.length === 0) {\n throw new ValidationError('corpusInterRaterAgreement: no score records supplied')\n }\n\n const judgesSeen = new Set<string>()\n const dimsSeen = new Set<string>()\n // dimension → judge → itemId → score\n const grid = new Map<string, Map<string, Map<string, number>>>()\n\n for (const r of records) {\n if (!Number.isFinite(r.score)) {\n throw new ValidationError(\n `corpusInterRaterAgreement: non-finite score for (item=${r.itemId}, judge=${r.judgeName}, dim=${r.dimension})`,\n )\n }\n judgesSeen.add(r.judgeName)\n dimsSeen.add(r.dimension)\n const byJudge = grid.get(r.dimension) ?? new Map<string, Map<string, number>>()\n const byItem = byJudge.get(r.judgeName) ?? new Map<string, number>()\n if (byItem.has(r.itemId)) {\n throw new ValidationError(\n `corpusInterRaterAgreement: duplicate record for (item=${r.itemId}, judge=${r.judgeName}, dim=${r.dimension})`,\n )\n }\n byItem.set(r.itemId, r.score)\n byJudge.set(r.judgeName, byItem)\n grid.set(r.dimension, byJudge)\n }\n\n const targetDims = opts.dimensions ?? [...dimsSeen].sort()\n for (const d of targetDims) {\n if (!dimsSeen.has(d)) {\n throw new ValidationError(\n `corpusInterRaterAgreement: dimension '${d}' was requested but no records carry it`,\n )\n }\n }\n const targetJudges = opts.judges ? [...opts.judges] : [...judgesSeen].sort()\n for (const j of targetJudges) {\n if (!judgesSeen.has(j)) {\n throw new ValidationError(\n `corpusInterRaterAgreement: judge '${j}' was requested but produced no records`,\n )\n }\n }\n if (targetJudges.length < 2) {\n throw new ValidationError(\n `corpusInterRaterAgreement: need ≥2 judges, got ${targetJudges.length}`,\n )\n }\n\n const perDimension: CorpusAgreementPerDimension[] = []\n const iccs: number[] = []\n const kappas: number[] = []\n\n for (const dim of targetDims) {\n const byJudge = grid.get(dim)!\n // Fail loud: every requested judge must have scored ≥1 item on this dim.\n const judgeItemCounts: Record<string, number> = {}\n for (const j of targetJudges) {\n const m = byJudge.get(j)\n judgeItemCounts[j] = m?.size ?? 0\n }\n const emptyJudges = targetJudges.filter((j) => judgeItemCounts[j] === 0)\n if (emptyJudges.length > 0) {\n throw new ValidationError(\n `corpusInterRaterAgreement: dimension '${dim}' has no scores from judge(s) ${emptyJudges.join(', ')} (counts: ${JSON.stringify(judgeItemCounts)})`,\n )\n }\n\n // Items rated by *every* requested judge on this dim.\n let commonItems: Set<string> | null = null\n for (const j of targetJudges) {\n const ids = new Set(byJudge.get(j)!.keys())\n if (commonItems === null) {\n commonItems = ids\n } else {\n const prev: Set<string> = commonItems\n commonItems = new Set([...prev].filter((x) => ids.has(x)))\n }\n }\n const sortedItems = [...(commonItems ?? new Set<string>())].sort()\n if (sortedItems.length < 2) {\n throw new ValidationError(\n `corpusInterRaterAgreement: dimension '${dim}' has ${sortedItems.length} item(s) rated by all ${targetJudges.length} judges (need ≥2)`,\n )\n }\n\n const matrix: number[][] = sortedItems.map((itemId) =>\n targetJudges.map((j) => byJudge.get(j)!.get(itemId)!),\n )\n const agreement = continuousAgreement(matrix, opts)\n perDimension.push({\n ...agreement,\n dimension: dim,\n itemIds: sortedItems,\n judgeIds: [...targetJudges],\n })\n if (Number.isFinite(agreement.icc)) iccs.push(agreement.icc)\n if (Number.isFinite(agreement.weightedKappa)) kappas.push(agreement.weightedKappa)\n }\n\n const mean = (xs: number[]) =>\n xs.length === 0 ? Number.NaN : xs.reduce((a, b) => a + b, 0) / xs.length\n return {\n perDimension,\n overallIcc: mean(iccs),\n overallWeightedKappa: mean(kappas),\n dimensions: targetDims,\n judgeIds: targetJudges,\n }\n}\n\n/**\n * Convenience adapter for `DimensionJudgeScore[]` data keyed externally by item.\n *\n * Use when you have per-item arrays of `DimensionJudgeScore[]` (e.g. one\n * `ScenarioResult.judgeScores` per scenario) and want corpus-wide\n * agreement without manually flattening. `itemId` must be unique per\n * row of `itemsScores`.\n */\nexport function corpusInterRaterAgreementFromJudgeScores(\n itemsScores: Array<{ itemId: string; scores: DimensionJudgeScore[] }>,\n opts: CorpusAgreementOptions = {},\n): CorpusAgreementReport {\n const records: CorpusScoreRecord[] = []\n const seen = new Set<string>()\n for (const { itemId, scores } of itemsScores) {\n if (seen.has(itemId)) {\n throw new ValidationError(\n `corpusInterRaterAgreementFromJudgeScores: duplicate itemId '${itemId}'`,\n )\n }\n seen.add(itemId)\n for (const s of scores) {\n records.push({\n itemId,\n judgeName: s.judgeName,\n dimension: s.dimension,\n score: s.score,\n })\n }\n }\n return corpusInterRaterAgreement(records, opts)\n}\n\n/** Agreement between two raters who each assigned one nominal label per item. */\ninterface NominalAgreement {\n /** Items both raters labeled. */\n n: number\n /** Share of items with identical labels. */\n agreement: number\n /**\n * Cohen's κ = (pₒ − pₑ) / (1 − pₑ), with pₑ from each rater's own label\n * marginals. NaN when n = 0, or when both raters used one identical label\n * for every item (pₑ = 1): chance and observed agreement are then the same\n * thing, and no number distinguishes skill from luck.\n */\n kappa: number\n}\n\n/**\n * Unweighted Cohen's κ for paired nominal labels. Labels carry no order, so a\n * near miss counts as a miss; use `calibrateJudge` for ordinal scores.\n */\nexport function nominalAgreement(\n pairs: ReadonlyArray<readonly [string, string]>,\n): NominalAgreement {\n const n = pairs.length\n if (n === 0) return { n: 0, agreement: Number.NaN, kappa: Number.NaN }\n const left = new Map<string, number>()\n const right = new Map<string, number>()\n let same = 0\n for (const [a, b] of pairs) {\n if (typeof a !== 'string' || typeof b !== 'string') {\n throw new ValidationError('nominalAgreement: every label must be a string')\n }\n if (a === b) same += 1\n left.set(a, (left.get(a) ?? 0) + 1)\n right.set(b, (right.get(b) ?? 0) + 1)\n }\n const observed = same / n\n let expected = 0\n for (const [label, count] of left) expected += (count / n) * ((right.get(label) ?? 0) / n)\n const kappa = expected === 1 ? Number.NaN : (observed - expected) / (1 - expected)\n return { n, agreement: observed, kappa }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAyBA,SAAgB,sBAAsB,aAA8C;CAClF,IAAI,YAAY,SAAS,GAAG,OAAO;CAGnC,MAAM,+BAAe,IAAI,IAAwB;CACjD,KAAK,IAAI,aAAa,GAAG,aAAa,YAAY,QAAQ,cACxD,KAAK,MAAM,KAAK,YAAY,aAAc;EACxC,IAAI,UAAU,aAAa,IAAI,EAAE,SAAS;EAC1C,IAAI,YAAY,KAAA,GAAW;GACzB,UAAU,MAAM,KAAK,EAAE,QAAQ,YAAY,OAAO,SAAS,CAAC,CAAa;GACzE,aAAa,IAAI,EAAE,WAAW,OAAO;EACvC;EACA,QAAQ,WAAW,CAAE,KAAK,EAAE,KAAK;CACnC;CAGF,MAAM,YAAsB,CAAC;CAC7B,MAAM,YAAsB,CAAC;CAE7B,KAAK,MAAM,CAAC,WAAW,YAAY,cAAc;EAC/C,MAAM,UAAU,QAAQ,QAAQ,WAAW,OAAO,SAAS,CAAC;EAC5D,IAAI,QAAQ,SAAS,GAAG;EACxB,MAAM,YAAY,QAAQ,EAAE,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AAUA,SAAgB,yCACd,aACA,OAA+B,CAAC,GACT;CACvB,MAAM,UAA+B,CAAC;CACtC,MAAM,uBAAO,IAAI,IAAY;CAC7B,KAAK,MAAM,EAAE,QAAQ,YAAY,aAAa;EAC5C,IAAI,KAAK,IAAI,MAAM,GACjB,MAAM,IAAI,gBACR,+DAA+D,OAAO,EACxE;EAEF,KAAK,IAAI,MAAM;EACf,KAAK,MAAM,KAAK,QACd,QAAQ,KAAK;GACX;GACA,WAAW,EAAE;GACb,WAAW,EAAE;GACb,OAAO,EAAE;EACX,CAAC;CAEL;CACA,OAAO,0BAA0B,SAAS,IAAI;AAChD;;;;;AAqBA,SAAgB,iBACd,OACkB;CAClB,MAAM,IAAI,MAAM;CAChB,IAAI,MAAM,GAAG,OAAO;EAAE,GAAG;EAAG,WAAW;EAAY,OAAO;CAAW;CACrE,MAAM,uBAAO,IAAI,IAAoB;CACrC,MAAM,wBAAQ,IAAI,IAAoB;CACtC,IAAI,OAAO;CACX,KAAK,MAAM,CAAC,GAAG,MAAM,OAAO;EAC1B,IAAI,OAAO,MAAM,YAAY,OAAO,MAAM,UACxC,MAAM,IAAI,gBAAgB,gDAAgD;EAE5E,IAAI,MAAM,GAAG,QAAQ;EACrB,KAAK,IAAI,IAAI,KAAK,IAAI,CAAC,KAAK,KAAK,CAAC;EAClC,MAAM,IAAI,IAAI,MAAM,IAAI,CAAC,KAAK,KAAK,CAAC;CACtC;CACA,MAAM,WAAW,OAAO;CACxB,IAAI,WAAW;CACf,KAAK,MAAM,CAAC,OAAO,UAAU,MAAM,YAAa,QAAQ,MAAO,MAAM,IAAI,KAAK,KAAK,KAAK;CAExF,OAAO;EAAE;EAAG,WAAW;EAAU,OADnB,aAAa,IAAI,OAAc,WAAW,aAAa,IAAI;CAClC;AACzC"}
1
+ {"version":3,"file":"agreement-irr-w-t3XUTD.js","names":["prev"],"sources":["../src/statistics/agreement-irr.ts"],"sourcesContent":["import { ValidationError } from '../errors'\nimport {\n type ContinuousAgreement,\n type ContinuousAgreementOptions,\n continuousAgreement,\n} from '../judge-calibration'\nimport type { DimensionJudgeScore } from '../types'\n\n/**\n * Inter-rater reliability — Krippendorff's α under the squared-difference\n * metric, pooled across dimensions.\n *\n * Each inner array is one judge's scores. Items are matched by position\n * WITHIN a dimension: the k-th score a judge supplies carrying dimension\n * `d` is item k of `d`, and the ratings compared against each other are\n * the ones different judges gave to the same item. Every judge that scores\n * a dimension at all must supply the same number of scores for it —\n * ragged input cannot be aligned into items and throws rather than\n * comparing mismatched items.\n *\n * α = 1 − D_observed / D_expected: D_observed averages the squared\n * difference over within-item judge pairs, D_expected over every pair of\n * ratings irrespective of item. α = 1 is perfect agreement, 0 is chance,\n * negative is systematic disagreement.\n */\nexport function interRaterReliability(judgeScores: DimensionJudgeScore[][]): number {\n if (judgeScores.length < 2) return 1\n\n // dimension → one score sequence per judge, in that judge's supplied order.\n const perDimension = new Map<string, number[][]>()\n for (let judgeIndex = 0; judgeIndex < judgeScores.length; judgeIndex++) {\n for (const s of judgeScores[judgeIndex]!) {\n let byJudge = perDimension.get(s.dimension)\n if (byJudge === undefined) {\n byJudge = Array.from({ length: judgeScores.length }, () => [] as number[])\n perDimension.set(s.dimension, byJudge)\n }\n byJudge[judgeIndex]!.push(s.score)\n }\n }\n\n const allValues: number[] = []\n const pairDiffs: number[] = []\n\n for (const [dimension, byJudge] of perDimension) {\n const scoring = byJudge.filter((scores) => scores.length > 0)\n if (scoring.length < 2) continue\n const itemCount = scoring[0]!.length\n if (scoring.some((scores) => scores.length !== itemCount)) {\n throw new ValidationError(\n `interRaterReliability: dimension '${dimension}' has judges supplying ` +\n `${scoring.map((scores) => scores.length).join('/')} scores — items cannot be aligned`,\n )\n }\n for (let item = 0; item < itemCount; item++) {\n const ratings = scoring.map((scores) => scores[item]!)\n for (const v of ratings) allValues.push(v)\n for (let i = 0; i < ratings.length; i++) {\n for (let j = i + 1; j < ratings.length; j++) {\n pairDiffs.push((ratings[i]! - ratings[j]!) ** 2)\n }\n }\n }\n }\n\n if (pairDiffs.length === 0 || allValues.length < 2) return 1\n\n const observedDisagreement = pairDiffs.reduce((a, b) => a + b, 0) / pairDiffs.length\n\n // Expected disagreement from all possible pairings of values\n let expectedDisagreement = 0\n let expectedCount = 0\n for (let i = 0; i < allValues.length; i++) {\n for (let j = i + 1; j < allValues.length; j++) {\n expectedDisagreement += (allValues[i]! - allValues[j]!) ** 2\n expectedCount++\n }\n }\n expectedDisagreement = expectedCount > 0 ? expectedDisagreement / expectedCount : 0\n\n if (expectedDisagreement === 0) return 1\n return 1 - observedDisagreement / expectedDisagreement\n}\n\n// ── Corpus-wide inter-rater agreement ──────────────────────────────\n//\n// `interRaterReliability(judgeScores)` computes a within-item\n// Krippendorff α — multiple judges score *the same item* and we ask\n// \"how much do their scores agree on that item?\" Useful for a single\n// scenario, but it cannot answer \"how reliable are these judges across\n// the whole evaluation corpus?\"\n//\n// `corpusInterRaterAgreement` does the corpus-wide question properly.\n// Inputs are flat per-(item, judge, dimension) score records. For each\n// dimension we pivot to a complete [n_items × n_judges] matrix and feed\n// it to the ICC(2,1) + κ_w machinery already validated in\n// `judge-calibration.ts`. An overall pooled metric averages the\n// per-dimension ICC/κ across dimensions.\n\nexport interface CorpusScoreRecord {\n /** Stable identifier for the rated item (scenario, span, turn, …). */\n itemId: string\n /** Identifier for the judge that produced this score. */\n judgeName: string\n /** Dimension name (matches `DimensionJudgeScore.dimension`). */\n dimension: string\n /** Numeric score; must be finite. */\n score: number\n}\n\nexport interface CorpusAgreementPerDimension extends ContinuousAgreement {\n dimension: string\n /** Item IDs that contributed to this dimension's matrix (every judge scored them). */\n itemIds: string[]\n /** Judge IDs that contributed to this dimension's matrix. */\n judgeIds: string[]\n}\n\nexport interface CorpusAgreementReport {\n /** Per-dimension ICC(2,1) + κ_w + Pearson + Spearman + bootstrap CIs. */\n perDimension: CorpusAgreementPerDimension[]\n /** Mean ICC across dimensions (NaN if no dimension yielded a finite ICC). */\n overallIcc: number\n /** Mean weighted κ across dimensions (NaN if none finite). */\n overallWeightedKappa: number\n /** Dimensions evaluated (sorted). */\n dimensions: string[]\n /** Judges seen across the corpus (sorted). */\n judgeIds: string[]\n}\n\nexport interface CorpusAgreementOptions extends ContinuousAgreementOptions {\n /**\n * Restrict the audit to these dimensions. Default = every dimension\n * that appears in the input. A dimension named here but absent from\n * the input throws — silent omission would corrupt the overall metric.\n */\n dimensions?: string[]\n /**\n * Restrict the audit to these judges. Default = every judge that\n * appears in the input. A judge named here but absent from a\n * dimension throws (see \"fail loud\" below).\n */\n judges?: string[]\n}\n\n/**\n * Corpus-wide inter-rater agreement across N items × M judges × D dimensions.\n *\n * For each dimension, builds the [n_items][n_judges] matrix of scores\n * (keeping only items every judge rated on that dimension), then runs\n * `continuousAgreement` to get ICC(2,1), κ_w, Pearson, Spearman, and\n * bootstrap CIs. Reports a pooled mean across dimensions as a single\n * \"is this judge panel reliable on this corpus?\" number.\n *\n * Fail-loud contract:\n * - Empty input throws.\n * - Fewer than 2 judges or fewer than 2 items per dimension throws.\n * - A judge present in some dimensions but with zero scored items on\n * another dimension throws (would silently shrink the matrix).\n * - Duplicate (itemId, judgeName, dimension) records throw.\n */\nexport function corpusInterRaterAgreement(\n records: CorpusScoreRecord[],\n opts: CorpusAgreementOptions = {},\n): CorpusAgreementReport {\n if (records.length === 0) {\n throw new ValidationError('corpusInterRaterAgreement: no score records supplied')\n }\n\n const judgesSeen = new Set<string>()\n const dimsSeen = new Set<string>()\n // dimension → judge → itemId → score\n const grid = new Map<string, Map<string, Map<string, number>>>()\n\n for (const r of records) {\n if (!Number.isFinite(r.score)) {\n throw new ValidationError(\n `corpusInterRaterAgreement: non-finite score for (item=${r.itemId}, judge=${r.judgeName}, dim=${r.dimension})`,\n )\n }\n judgesSeen.add(r.judgeName)\n dimsSeen.add(r.dimension)\n const byJudge = grid.get(r.dimension) ?? new Map<string, Map<string, number>>()\n const byItem = byJudge.get(r.judgeName) ?? new Map<string, number>()\n if (byItem.has(r.itemId)) {\n throw new ValidationError(\n `corpusInterRaterAgreement: duplicate record for (item=${r.itemId}, judge=${r.judgeName}, dim=${r.dimension})`,\n )\n }\n byItem.set(r.itemId, r.score)\n byJudge.set(r.judgeName, byItem)\n grid.set(r.dimension, byJudge)\n }\n\n const targetDims = opts.dimensions ?? [...dimsSeen].sort()\n for (const d of targetDims) {\n if (!dimsSeen.has(d)) {\n throw new ValidationError(\n `corpusInterRaterAgreement: dimension '${d}' was requested but no records carry it`,\n )\n }\n }\n const targetJudges = opts.judges ? [...opts.judges] : [...judgesSeen].sort()\n for (const j of targetJudges) {\n if (!judgesSeen.has(j)) {\n throw new ValidationError(\n `corpusInterRaterAgreement: judge '${j}' was requested but produced no records`,\n )\n }\n }\n if (targetJudges.length < 2) {\n throw new ValidationError(\n `corpusInterRaterAgreement: need ≥2 judges, got ${targetJudges.length}`,\n )\n }\n\n const perDimension: CorpusAgreementPerDimension[] = []\n const iccs: number[] = []\n const kappas: number[] = []\n\n for (const dim of targetDims) {\n const byJudge = grid.get(dim)!\n // Fail loud: every requested judge must have scored ≥1 item on this dim.\n const judgeItemCounts: Record<string, number> = {}\n for (const j of targetJudges) {\n const m = byJudge.get(j)\n judgeItemCounts[j] = m?.size ?? 0\n }\n const emptyJudges = targetJudges.filter((j) => judgeItemCounts[j] === 0)\n if (emptyJudges.length > 0) {\n throw new ValidationError(\n `corpusInterRaterAgreement: dimension '${dim}' has no scores from judge(s) ${emptyJudges.join(', ')} (counts: ${JSON.stringify(judgeItemCounts)})`,\n )\n }\n\n // Items rated by *every* requested judge on this dim.\n let commonItems: Set<string> | null = null\n for (const j of targetJudges) {\n const ids = new Set(byJudge.get(j)!.keys())\n if (commonItems === null) {\n commonItems = ids\n } else {\n const prev: Set<string> = commonItems\n commonItems = new Set([...prev].filter((x) => ids.has(x)))\n }\n }\n const sortedItems = [...(commonItems ?? new Set<string>())].sort()\n if (sortedItems.length < 2) {\n throw new ValidationError(\n `corpusInterRaterAgreement: dimension '${dim}' has ${sortedItems.length} item(s) rated by all ${targetJudges.length} judges (need ≥2)`,\n )\n }\n\n const matrix: number[][] = sortedItems.map((itemId) =>\n targetJudges.map((j) => byJudge.get(j)!.get(itemId)!),\n )\n const agreement = continuousAgreement(matrix, opts)\n perDimension.push({\n ...agreement,\n dimension: dim,\n itemIds: sortedItems,\n judgeIds: [...targetJudges],\n })\n if (Number.isFinite(agreement.icc)) iccs.push(agreement.icc)\n if (Number.isFinite(agreement.weightedKappa)) kappas.push(agreement.weightedKappa)\n }\n\n const mean = (xs: number[]) =>\n xs.length === 0 ? Number.NaN : xs.reduce((a, b) => a + b, 0) / xs.length\n return {\n perDimension,\n overallIcc: mean(iccs),\n overallWeightedKappa: mean(kappas),\n dimensions: targetDims,\n judgeIds: targetJudges,\n }\n}\n\n/**\n * Convenience adapter for `DimensionJudgeScore[]` data keyed externally by item.\n *\n * Use when you have per-item arrays of `DimensionJudgeScore[]` (e.g. one\n * `ScenarioResult.judgeScores` per scenario) and want corpus-wide\n * agreement without manually flattening. `itemId` must be unique per\n * row of `itemsScores`.\n */\nexport function corpusInterRaterAgreementFromJudgeScores(\n itemsScores: Array<{ itemId: string; scores: DimensionJudgeScore[] }>,\n opts: CorpusAgreementOptions = {},\n): CorpusAgreementReport {\n const records: CorpusScoreRecord[] = []\n const seen = new Set<string>()\n for (const { itemId, scores } of itemsScores) {\n if (seen.has(itemId)) {\n throw new ValidationError(\n `corpusInterRaterAgreementFromJudgeScores: duplicate itemId '${itemId}'`,\n )\n }\n seen.add(itemId)\n for (const s of scores) {\n records.push({\n itemId,\n judgeName: s.judgeName,\n dimension: s.dimension,\n score: s.score,\n })\n }\n }\n return corpusInterRaterAgreement(records, opts)\n}\n\n/** Agreement between two raters who each assigned one nominal label per item. */\ninterface NominalAgreement {\n /** Items both raters labeled. */\n n: number\n /** Share of items with identical labels. */\n agreement: number\n /**\n * Cohen's κ = (pₒ − pₑ) / (1 − pₑ), with pₑ from each rater's own label\n * marginals. NaN when n = 0, or when both raters used one identical label\n * for every item (pₑ = 1): chance and observed agreement are then the same\n * thing, and no number distinguishes skill from luck.\n */\n kappa: number\n}\n\n/**\n * Unweighted Cohen's κ for paired nominal labels. Labels carry no order, so a\n * near miss counts as a miss; use `calibrateJudge` for ordinal scores.\n */\nexport function nominalAgreement(\n pairs: ReadonlyArray<readonly [string, string]>,\n): NominalAgreement {\n const n = pairs.length\n if (n === 0) return { n: 0, agreement: Number.NaN, kappa: Number.NaN }\n const left = new Map<string, number>()\n const right = new Map<string, number>()\n let same = 0\n for (const [a, b] of pairs) {\n if (typeof a !== 'string' || typeof b !== 'string') {\n throw new ValidationError('nominalAgreement: every label must be a string')\n }\n if (a === b) same += 1\n left.set(a, (left.get(a) ?? 0) + 1)\n right.set(b, (right.get(b) ?? 0) + 1)\n }\n const observed = same / n\n let expected = 0\n for (const [label, count] of left) expected += (count / n) * ((right.get(label) ?? 0) / n)\n const kappa = expected === 1 ? Number.NaN : (observed - expected) / (1 - expected)\n return { n, agreement: observed, kappa }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAyBA,SAAgB,sBAAsB,aAA8C;CAClF,IAAI,YAAY,SAAS,GAAG,OAAO;CAGnC,MAAM,+BAAe,IAAI,IAAwB;CACjD,KAAK,IAAI,aAAa,GAAG,aAAa,YAAY,QAAQ,cACxD,KAAK,MAAM,KAAK,YAAY,aAAc;EACxC,IAAI,UAAU,aAAa,IAAI,EAAE,SAAS;EAC1C,IAAI,YAAY,KAAA,GAAW;GACzB,UAAU,MAAM,KAAK,EAAE,QAAQ,YAAY,OAAO,SAAS,CAAC,CAAa;GACzE,aAAa,IAAI,EAAE,WAAW,OAAO;EACvC;EACA,QAAQ,WAAW,CAAE,KAAK,EAAE,KAAK;CACnC;CAGF,MAAM,YAAsB,CAAC;CAC7B,MAAM,YAAsB,CAAC;CAE7B,KAAK,MAAM,CAAC,WAAW,YAAY,cAAc;EAC/C,MAAM,UAAU,QAAQ,QAAQ,WAAW,OAAO,SAAS,CAAC;EAC5D,IAAI,QAA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ingReaderLabel, B as TREATMENT_LAYERS, C as FINDING_LAYERS, D as FindingMeasure, E as FindingLayer, F as lineageRoots, I as parseAnalystFinding, J as TraceAnalysisStore, L as readFindingScope, M as FindingScopeReading, N as ProposalFindingSchema, O as FindingMethod, P as independentUnitCount, R as FindingConditions, S as makeProposalFinding, T as FindingEvidenceUnit, V as TreatmentLayer, _ as ExecutionProbeRequest, a as AnalystFindingSchemaVersion, at as TraceAnalystSpan, b as computeFindingId, c as AnalystRunEvent, d as AnalystRunSummary, f as AnalystSeverity, g as ExecutionProbeOutcome, h as ExecutionProbe, i as AnalystFinding, j as FindingScope, k as FindingParseOutcome, l as AnalystRunInputs, m as EvidenceRef, n as AnalystContext, o as AnalystInputKind, p as AnalystUsageReceipt, r as AnalystCost, s as AnalystRequirements, t as Analyst, u as AnalystRunResult, v as ProposalFinding, w as FindingCalibration, x as makeFinding, y as ProposalFindingOrigin, z as FindingTreatment } from "../types-DzCO-S1m.js";
3
3
  import { A as createChatClient, C as ChatResponse, D as MockTransportOpts, E as CustomTransportOpts, O as OpenAiCompatibleTransportOpts, S as ChatRequest, T as CreateChatClientOpts, b as ChatCallOpts, k as SandboxSdkTransportOpts, w as ChatTransport, x as ChatClient } from "../types-0KglnQ9o.js";
4
4
  import { A as traceStoreEvidenceResolver, C as AnalystEvidenceResolutionError, D as AnalystLatencyDistribution, E as AnalystIssueExpectation, G as ExternalOptimizerRunnerCommand, H as ExternalOptimizerModelExecutionObservation, O as RunAnalystBenchmarkOptions, S as AnalystEvidenceResolution, T as AnalystFindingScore, _ as AnalystBenchmarkProvenance, b as AnalystBenchmarkSummary, d as AnalystBenchmarkDatasetRef, f as AnalystBenchmarkDescriptor, g as AnalystBenchmarkOutput, h as AnalystBenchmarkObservation, k as runAnalystBenchmark, m as AnalystBenchmarkLabelState, p as AnalystBenchmarkError, t as AgentProfile, u as AnalystBenchmarkCase, v as AnalystBenchmarkResult, w as AnalystEvidenceResolver, x as AnalystEvidenceExpectation, y as AnalystBenchmarkRunner, z as ExternalOptimizerModelCall } from "../agent-profile-CoD1Dotf.js";
5
+ import { C as BehavioralWindowPolicy, S as BehavioralTraceWindow, _ as BehavioralTraceEventMap, a as createTraceAnalyst, b as BehavioralTraceQuestionsOptions, c as BehavioralAnalystOptions, d as pinBehavioralFailureClass, f as BEHAVIORAL_TRACE_QUESTIONS, g as BehavioralTraceEvent, h as BehavioralTraceAnswer, i as TraceAnalystDefinition, l as assertFailureClasses, m as BehavioralQuestionCalibration, n as buildDefaultAnalystRegistry, o as runTraceAnalyst, p as BEHAVIORAL_TRACE_QUESTIONS_VERSION, r as CreateTraceAnalystOptions, s as BEHAVIORAL_FAILURE_CLASS, t as DefaultAnalystRegistryOptions, u as behavioralAnalyst, v as BehavioralTraceLayer, w as behavioralTraceQuestionDigest, x as BehavioralTraceSupport, y as BehavioralTraceQuestionId } from "../default-registry-DKlKVXMx.js";
6
+ import { a as ExactAnalystRunPolicySnapshot, c as ExactAnalystSnapshot, d as ExactExecutionComponentSnapshot, i as ExactAnalystRunEvent, l as ExactCapableAnalyst, n as ExactAnalystExecutionPlanSnapshot, o as ExactAnalystRunResult, r as ExactAnalystRunCompletion, s as ExactAnalystRunSummary, t as ExactAnalystBudgetSnapshot, u as ExactExecutionComponentIdentity } from "../exact-types-CIViGj98.js";
5
7
  import { g as SystemOneState } from "../systemone-protocol-C4t7JH4Y.js";
6
- import { A as FindingsLedger, B as FindingsDiff, F as LedgerFinding, H as PersistedFinding, I as diffFindingsOverTime, L as openFindingsLedger, M as FindingsLedgerRead, N as FindingsQuery, P as FindingsTimeStep, R as queryFindings, U as diffFindings, V as FindingsStore, j as FindingsLedgerOutcome, r as SystemOneEvaluatorOptions, z as DiffPolicy } from "../systemone-Cw2txK5m.js";
7
- import { a as ExactAnalystRunPolicySnapshot, c as ExactAnalystSnapshot, d as ExactExecutionComponentSnapshot, i as ExactAnalystRunEvent, l as ExactCapableAnalyst, n as ExactAnalystExecutionPlanSnapshot, o as ExactAnalystRunResult, r as ExactAnalystRunCompletion, s as ExactAnalystRunSummary, t as ExactAnalystBudgetSnapshot, u as ExactExecutionComponentIdentity } from "../exact-types-D98BKpxo.js";
8
- import { _ as BehavioralTraceQuestionsOptions, a as createTraceAnalyst, b as BehavioralWindowPolicy, c as behavioralAnalyst, d as BehavioralQuestionCalibration, f as BehavioralTraceAnswer, g as BehavioralTraceQuestionId, h as BehavioralTraceLayer, i as TraceAnalystDefinition, l as BEHAVIORAL_TRACE_QUESTIONS, m as BehavioralTraceEventMap, n as buildDefaultAnalystRegistry, o as runTraceAnalyst, p as BehavioralTraceEvent, r as CreateTraceAnalystOptions, s as BehavioralAnalystOptions, t as DefaultAnalystRegistryOptions, u as BEHAVIORAL_TRACE_QUESTIONS_VERSION, v as BehavioralTraceSupport, x as behavioralTraceQuestionDigest, y as BehavioralTraceWindow } from "../default-registry-B1DstPYg.js";
8
+ import { A as FindingsLedger, B as FindingsDiff, F as LedgerFinding, H as PersistedFinding, I as diffFindingsOverTime, L as openFindingsLedger, M as FindingsLedgerRead, N as FindingsQuery, P as FindingsTimeStep, R as queryFindings, U as diffFindings, V as FindingsStore, j as FindingsLedgerOutcome, r as SystemOneEvaluatorOptions, z as DiffPolicy } from "../systemone-BDVgb6XV.js";
9
9
  import { a as RAW_FINDING_SCHEMA_PROMPT, c as RawAnalystFindingSchema, i as TraceAnalystLimits, l as evidenceRefsFromRawFinding, n as TraceAnalysisEngineRequest, o as RawAnalystEvidence, r as TraceAnalysisEngineResult, s as RawAnalystFinding, t as TraceAnalysisEngine, u as parseRawFinding } from "../engine-CaHaCc3W.js";
10
10
  import { n as buildTraceToolsForGroup, t as TraceToolGroupName } from "../tool-groups-C3K-d3gd.js";
11
- import { a as BudgetPolicy, c as RegistryRunOpts, i as AnalystRegistryOptions, n as ExactAnalystRunExecutionError, o as ExactAnalystBudgetPolicy, r as AnalystHooks, s as ExactRegistryRunOpts, t as AnalystRegistry } from "../registry-dhdDoAV8.js";
12
- import { T as SemanticConceptJudgeOptions, _ as DspyRlmTraceEngineOptions, a as FAILURE_MODE_KIND_SPEC, b as createChatTraceEngine, c as emitControlIntegrityFindings, d as FindingSubject, f as FindingSubjectKind, g as renderFindingSubject, h as parseFindingSubject, i as IMPROVEMENT_KIND_SPEC, l as FINDING_SUBJECT_KINDS, m as findingSubjectGrammarPromptFor, n as KNOWLEDGE_POISONING_KIND_SPEC, o as CONTROL_INTEGRITY_ANALYST, p as KIND_EXPECTED_SUBJECTS, r as KNOWLEDGE_GAP_KIND_SPEC, s as ControlIntegrityAnalyst, t as DEFAULT_TRACE_ANALYST_KINDS, u as FINDING_SUBJECT_SYNTAX, v as createDspyRlmTraceEngine, y as ChatTraceEngineOptions } from "../index-CUjeTDPv.js";
11
+ import { a as BudgetPolicy, c as RegistryRunOpts, i as AnalystRegistryOptions, n as ExactAnalystRunExecutionError, o as ExactAnalystBudgetPolicy, r as AnalystHooks, s as ExactRegistryRunOpts, t as AnalystRegistry } from "../registry-CMtGAxOw.js";
12
+ import { T as SemanticConceptJudgeOptions, _ as DspyRlmTraceEngineOptions, a as FAILURE_MODE_KIND_SPEC, b as createChatTraceEngine, c as emitControlIntegrityFindings, d as FindingSubject, f as FindingSubjectKind, g as renderFindingSubject, h as parseFindingSubject, i as IMPROVEMENT_KIND_SPEC, l as FINDING_SUBJECT_KINDS, m as findingSubjectGrammarPromptFor, n as KNOWLEDGE_POISONING_KIND_SPEC, o as CONTROL_INTEGRITY_ANALYST, p as KIND_EXPECTED_SUBJECTS, r as KNOWLEDGE_GAP_KIND_SPEC, s as ControlIntegrityAnalyst, t as DEFAULT_TRACE_ANALYST_KINDS, u as FINDING_SUBJECT_SYNTAX, v as createDspyRlmTraceEngine, y as ChatTraceEngineOptions } from "../index-Bn-P_XAl.js";
13
13
  import { C as runPrimeExchange, D as ReplyRowDecoded, E as ReplyEnvelope, O as ReplyRowRejection, S as projectPrimeTrajectory, T as ReplyContract, _ as buildPrimePrompt, a as PrimeProjectionOutcome, b as normalizePrimeUsage, c as PrimeProtocolIdentity, d as PrimeRepairPromptSpec, f as PrimeRepairState, g as analystUsageReceiptFromPrimeUsage, h as PrimeTurnRecord, i as PrimeProjectionDelivery, l as PrimeRawUsage, m as PrimeRowDecoded, n as PrimeExchangeOutcome, o as PrimeProjectionSource, p as PrimeReplyContract, r as PrimeFailure, s as PrimePromptSpec, t as PrimeExchangeOptions, u as PrimeRejectedRow, v as buildPrimeRepairPrompt, w as DecodedReply, x as primeProtocolSha256, y as mergePrimeRawUsage } from "../prime-protocol-COFkxas6.js";
14
14
  import { i as nodeHttpPrimeBridgeTransport, n as PrimeBridgeTransportRequest, r as PrimeBridgeTransportResult, t as PrimeBridgeTransport } from "../prime-bridge-transport-Cfqir_Im.js";
15
- import { b as SupervisorRunSources } from "../types-C-aOqgt2.js";
15
+ import { b as SupervisorRunSources } from "../types-DNB9hIXa.js";
16
16
  import { a as askTraceQuestions, i as VerifiedTraceFinding, n as TraceQuestionOutcome, r as TraceQuestionSpec, t as AskTraceQuestionsOptions } from "../trace-questions-ej5AEJ5X.js";
17
17
  import { z } from "zod";
18
18
  interface SemanticConceptJudgeAdapterOpts {
@@ -1633,5 +1633,5 @@ export declare function classifyTeamShape(input: TeamShapeInput): TeamShapeOutco
1633
1633
  * timestamps fails the analyst instead of emitting a shape it did not measure.
1634
1634
  */
1635
1635
  export declare function teamShapeAnalyst(): Analyst<TeamShapeInput>;
1636
- export { type AgentRxBenchmarkCaseOptions, type AgentRxCalibrationRunnerSummary, type AgentRxCalibrationSummary, type AgentRxFailure, type AgentRxPrediction, type AgentRxPredictionReport, type AgentRxRow, type Analyst, type AnalystBenchmarkArtifact, type AnalystBenchmarkCase, type AnalystBenchmarkCommandConfig, type AnalystBenchmarkCommandDependencies, type AnalystBenchmarkDatasetRef, type AnalystBenchmarkDescriptor, type AnalystBenchmarkError, type AnalystBenchmarkLabelState, type AnalystBenchmarkLocalRunReceipt, type AnalystBenchmarkObservation, type AnalystBenchmarkOutput, type AnalystBenchmarkProgressRow, type AnalystBenchmarkProvenance, type AnalystBenchmarkResult, type AnalystBenchmarkRunIdentity, type AnalystBenchmarkRunManifest, type AnalystBenchmarkRunner, type AnalystBenchmarkSummary, type AnalystBudgetDeclaration, type AnalystComparisonMetric, type AnalystContext, type AnalystCost, type AnalystDefinition, type AnalystDefinitionAsymmetry, type AnalystDefinitionAsymmetryReport, type AnalystEvidenceBinding, type AnalystEvidenceExpectation, type AnalystEvidenceResolution, type AnalystEvidenceResolutionError, type AnalystEvidenceResolver, type AnalystFinding, type AnalystFindingSchemaVersion, type AnalystFindingScore, type AnalystHooks, type AnalystInputKind, type AnalystInstructionsOverride, type AnalystIssueExpectation, type AnalystLatencyDistribution, type AnalystMetricComparison, type AnalystProfileFragment, AnalystRegistry, type AnalystRegistryOptions, type AnalystRepairDeclaration, type AnalystRequirements, type AnalystRowExpansion, type AnalystRunEvent, type AnalystRunInputs, type AnalystRunResult, type AnalystRunSummary, type AnalystRunnerComparison, type AnalystSeverity, type AnalystTransportBinding, type AnalystUsageReceipt, type AskTraceQuestionsOptions, BEHAVIORAL_TRACE_QUESTIONS, BEHAVIORAL_TRACE_QUESTIONS_VERSION, type BehavioralAnalystOptions, type BehavioralQuestionCalibration, type BehavioralTraceAnswer, type BehavioralTraceCalibrationRow, type BehavioralTraceEvent, type BehavioralTraceEventMap, type BehavioralTraceGold, type BehavioralTraceLayer, type BehavioralTraceQuestionId, type BehavioralTraceQuestionsOptions, type BehavioralTraceSupport, type BehavioralTraceWindow, type BehavioralWindowPolicy, type BudgetPolicy, CONTROL_INTEGRITY_ANALYST, type ChatCallOpts, type ChatClient, type ChatRequest, type ChatResponse, type ChatTraceEngineOptions, type ChatTransport, type ChunkedEvidenceBinding, type CodeTraceBenchCaseOptions, type CodeTraceBenchLabelOptions, type CodeTraceBenchLabelSet, type CodeTraceBenchRow, type CodeTraceBlockDiagnostics, type CodeTraceCalibrationRunnerSummary, type CodeTraceCalibrationSummary, type CodeTraceFailureBlock, type CodeTraceStageAnnotation, type CodeTracerLabelGroup, type CodeTracerPredictionAdapterOptions, type CodeTracerPredictions, type CodeTracerStepLabel, ControlIntegrityAnalyst, type CreateChatClientOpts, type CreateTraceAnalystOptions, type CustomTransportOpts, DEFAULT_TRACE_ANALYST_KINDS, type DecodedReply, type DefaultAnalystRegistryOptions, type DefineCustomAnalystOptions, type DefineExactCustomAnalystOptions, type DiffPolicy, type DomainTaxonomy, type DspyRlmTraceEngineOptions, type EvidenceProjection, type EvidenceRef, type ExactAnalystBudgetPolicy, type ExactAnalystBudgetSnapshot, type ExactAnalystExecutionPlanSnapshot, type ExactAnalystRunCompletion, type ExactAnalystRunEvent, ExactAnalystRunExecutionError, type ExactAnalystRunPolicySnapshot, type ExactAnalystRunResult, type ExactAnalystRunSummary, type ExactAnalystSnapshot, type ExactCapableAnalyst, type ExactExecutionComponentIdentity, type ExactExecutionComponentSnapshot, type ExactRegistryRunOpts, type ExecutionProbe, type ExecutionProbeOutcome, type ExecutionProbeRequest, type ExpandRowsArgs, FAILURE_MODE_KIND_SPEC, FINDING_LAYERS, FINDING_SUBJECT_KINDS, FINDING_SUBJECT_SYNTAX, type FailureModeGold, type FailureModeGoldSources, type FailureModeLabel, type FailureModeLabelItem, type FailureModesAnalystOptions, type FailureModesCalibration, type FailureModesOutcome, type FindingCalibration, type FindingConditions, type FindingEvidenceUnit, type FindingLayer, type FindingMeasure, type FindingMethod, type FindingParseOutcome, type FindingReaderLabel, type FindingScope, type FindingScopeReading, type FindingSubject, type FindingSubjectKind, type FindingTreatment, type FindingsDiff, type FindingsLedger, type FindingsLedgerOutcome, type FindingsLedgerRead, type FindingsQuery, FindingsStore, type FindingsTimeStep, IMPROVEMENT_KIND_SPEC, type InlineEvidenceBinding, KIND_EXPECTED_SUBJECTS, KNOWLEDGE_GAP_KIND_SPEC, KNOWLEDGE_POISONING_KIND_SPEC, type LedgerFinding, type LoadedVerificationArtifacts, type MockTransportOpts, type NotObservable, type OpenAiCompatibleTransportOpts, type PersistedFinding, type PreparedPublicAnalystBenchmark, type PrimeBenchmarkRunnerOptions, type PrimeBridgeTransport, type PrimeBridgeTransportRequest, type PrimeBridgeTransportResult, type PrimeCodeTraceDefinitionArgs, type PrimeExchangeOptions, type PrimeExchangeOutcome, type PrimeFailure, type PrimeProjectionDelivery, type PrimeProjectionOutcome, type PrimeProjectionSource, type PrimePromptSpec, type PrimeProtocolIdentity, type PrimeRawUsage, type PrimeRejectedRow, type PrimeRepairPromptSpec, type PrimeRepairState, type PrimeReplyContract, type PrimeRowDecoded, type PrimeTurnRecord, type PromoteOptions, type PromotionHold, type PromotionResult, type ProposalFinding, type ProposalFindingOrigin, ProposalFindingSchema, type PublicAnalystBenchmarkDataset, type PublicAnalystBenchmarkModelConfig, type PublicAnalystBenchmarkModelOwner, type PublicAnalystBenchmarkModelSettings, type PublicBenchmarkDistributions, type PublicBenchmarkModelPrediction, type PublicBenchmarkSelectionReport, type PublicBenchmarkValueDistribution, type PublicDirectDefinitionArgs, type PublicRlmDefinitionArgs, RAW_FINDING_SCHEMA_PROMPT, type RawAnalystEvidence, type RawAnalystFinding, RawAnalystFindingSchema, type RegistryRunOpts, type ReplVariableConsensusPort, type ReplVariableEvidenceBinding, type ReplyContract, type ReplyEnvelope, type ReplyRowDecoded, type ReplyRowRejection, type RollupInput, type RollupOptions, type RollupResult, type RunAnalystBenchmarkOptions, type SandboxSdkTransportOpts, type SemanticConceptJudgeAdapterOpts, type SkillUsageRecord, type SkillUsageReport, type SkillUsageScanConfig, type StepLabelAdapterOptions, TREATMENT_LAYERS, type TaxonomyAttachment, type TaxonomyNode, type TaxonomyNodeLayer, type TaxonomyOutcome, type TeamIntegration, type TeamShape, type TeamShapeCheck, type TeamShapeClass, type TeamShapeEdge, type TeamShapeFeatures, type TeamShapeInput, type TeamShapeObserved, type TeamShapeOutcome, type TraceAnalysisEngine, type TraceAnalysisEngineRequest, type TraceAnalysisEngineResult, type TraceAnalystDefinition, type TraceAnalystLimits, type TraceQuestionOutcome, type TraceQuestionSpec, type TraceToolGroupName, type TreatmentLayer, type UpstreamPredictionAdapterOptions, type VerificationArtifactFile, type VerificationArtifactManifest, type VerificationArtifactRole, type VerificationAvailabilitySummary, type VerificationOutcome, type VerificationOutcomeSource, type VerificationOutcomeStatus, type VerificationResultFile, type VerifiedTraceFinding, analystUsageReceiptFromPrimeUsage, askTraceQuestions, behavioralAnalyst, behavioralTraceQuestionDigest, buildDefaultAnalystRegistry, buildPrimePrompt, buildPrimeRepairPrompt, buildTraceToolsForGroup, computeFindingId, createChatClient, createChatTraceEngine, createDspyRlmTraceEngine, createTraceAnalyst, diffFindings, diffFindingsOverTime, emitControlIntegrityFindings, evidenceRefsFromRawFinding, findingSubjectGrammarPromptFor, independentUnitCount, lineageRoots, makeFinding, makeProposalFinding, mergePrimeRawUsage, nodeHttpPrimeBridgeTransport, normalizePrimeUsage, openFindingsLedger, parseAnalystFinding, parseFindingSubject, parseRawFinding, primeProtocolSha256, projectPrimeTrajectory, queryFindings, readFindingScope, renderFindingSubject, runAnalystBenchmark, runPrimeExchange, runTraceAnalyst, traceStoreEvidenceResolver };
1636
+ export { type AgentRxBenchmarkCaseOptions, type AgentRxCalibrationRunnerSummary, type AgentRxCalibrationSummary, type AgentRxFailure, type AgentRxPrediction, type AgentRxPredictionReport, type AgentRxRow, type Analyst, type AnalystBenchmarkArtifact, type AnalystBenchmarkCase, type AnalystBenchmarkCommandConfig, type AnalystBenchmarkCommandDependencies, type AnalystBenchmarkDatasetRef, type AnalystBenchmarkDescriptor, type AnalystBenchmarkError, type AnalystBenchmarkLabelState, type AnalystBenchmarkLocalRunReceipt, type AnalystBenchmarkObservation, type AnalystBenchmarkOutput, type AnalystBenchmarkProgressRow, type AnalystBenchmarkProvenance, type AnalystBenchmarkResult, type AnalystBenchmarkRunIdentity, type AnalystBenchmarkRunManifest, type AnalystBenchmarkRunner, type AnalystBenchmarkSummary, type AnalystBudgetDeclaration, type AnalystComparisonMetric, type AnalystContext, type AnalystCost, type AnalystDefinition, type AnalystDefinitionAsymmetry, type AnalystDefinitionAsymmetryReport, type AnalystEvidenceBinding, type AnalystEvidenceExpectation, type AnalystEvidenceResolution, type AnalystEvidenceResolutionError, type AnalystEvidenceResolver, type AnalystFinding, type AnalystFindingSchemaVersion, type AnalystFindingScore, type AnalystHooks, type AnalystInputKind, type AnalystInstructionsOverride, type AnalystIssueExpectation, type AnalystLatencyDistribution, type AnalystMetricComparison, type AnalystProfileFragment, AnalystRegistry, type AnalystRegistryOptions, type AnalystRepairDeclaration, type AnalystRequirements, type AnalystRowExpansion, type AnalystRunEvent, type AnalystRunInputs, type AnalystRunResult, type AnalystRunSummary, type AnalystRunnerComparison, type AnalystSeverity, type AnalystTransportBinding, type AnalystUsageReceipt, type AskTraceQuestionsOptions, BEHAVIORAL_FAILURE_CLASS, BEHAVIORAL_TRACE_QUESTIONS, BEHAVIORAL_TRACE_QUESTIONS_VERSION, type BehavioralAnalystOptions, type BehavioralQuestionCalibration, type BehavioralTraceAnswer, type BehavioralTraceCalibrationRow, type BehavioralTraceEvent, type BehavioralTraceEventMap, type BehavioralTraceGold, type BehavioralTraceLayer, type BehavioralTraceQuestionId, type BehavioralTraceQuestionsOptions, type BehavioralTraceSupport, type BehavioralTraceWindow, type BehavioralWindowPolicy, type BudgetPolicy, CONTROL_INTEGRITY_ANALYST, type ChatCallOpts, type ChatClient, type ChatRequest, type ChatResponse, type ChatTraceEngineOptions, type ChatTransport, type ChunkedEvidenceBinding, type CodeTraceBenchCaseOptions, type CodeTraceBenchLabelOptions, type CodeTraceBenchLabelSet, type CodeTraceBenchRow, type CodeTraceBlockDiagnostics, type CodeTraceCalibrationRunnerSummary, type CodeTraceCalibrationSummary, type CodeTraceFailureBlock, type CodeTraceStageAnnotation, type CodeTracerLabelGroup, type CodeTracerPredictionAdapterOptions, type CodeTracerPredictions, type CodeTracerStepLabel, ControlIntegrityAnalyst, type CreateChatClientOpts, type CreateTraceAnalystOptions, type CustomTransportOpts, DEFAULT_TRACE_ANALYST_KINDS, type DecodedReply, type DefaultAnalystRegistryOptions, type DefineCustomAnalystOptions, type DefineExactCustomAnalystOptions, type DiffPolicy, type DomainTaxonomy, type DspyRlmTraceEngineOptions, type EvidenceProjection, type EvidenceRef, type ExactAnalystBudgetPolicy, type ExactAnalystBudgetSnapshot, type ExactAnalystExecutionPlanSnapshot, type ExactAnalystRunCompletion, type ExactAnalystRunEvent, ExactAnalystRunExecutionError, type ExactAnalystRunPolicySnapshot, type ExactAnalystRunResult, type ExactAnalystRunSummary, type ExactAnalystSnapshot, type ExactCapableAnalyst, type ExactExecutionComponentIdentity, type ExactExecutionComponentSnapshot, type ExactRegistryRunOpts, type ExecutionProbe, type ExecutionProbeOutcome, type ExecutionProbeRequest, type ExpandRowsArgs, FAILURE_MODE_KIND_SPEC, FINDING_LAYERS, FINDING_SUBJECT_KINDS, FINDING_SUBJECT_SYNTAX, type FailureModeGold, type FailureModeGoldSources, type FailureModeLabel, type FailureModeLabelItem, type FailureModesAnalystOptions, type FailureModesCalibration, type FailureModesOutcome, type FindingCalibration, type FindingConditions, type FindingEvidenceUnit, type FindingLayer, type FindingMeasure, type FindingMethod, type FindingParseOutcome, type FindingReaderLabel, type FindingScope, type FindingScopeReading, type FindingSubject, type FindingSubjectKind, type FindingTreatment, type FindingsDiff, type FindingsLedger, type FindingsLedgerOutcome, type FindingsLedgerRead, type FindingsQuery, FindingsStore, type FindingsTimeStep, IMPROVEMENT_KIND_SPEC, type InlineEvidenceBinding, KIND_EXPECTED_SUBJECTS, KNOWLEDGE_GAP_KIND_SPEC, KNOWLEDGE_POISONING_KIND_SPEC, type LedgerFinding, type LoadedVerificationArtifacts, type MockTransportOpts, type NotObservable, type OpenAiCompatibleTransportOpts, type PersistedFinding, type PreparedPublicAnalystBenchmark, type PrimeBenchmarkRunnerOptions, type PrimeBridgeTransport, type PrimeBridgeTransportRequest, type PrimeBridgeTransportResult, type PrimeCodeTraceDefinitionArgs, type PrimeExchangeOptions, type PrimeExchangeOutcome, type PrimeFailure, type PrimeProjectionDelivery, type PrimeProjectionOutcome, type PrimeProjectionSource, type PrimePromptSpec, type PrimeProtocolIdentity, type PrimeRawUsage, type PrimeRejectedRow, type PrimeRepairPromptSpec, type PrimeRepairState, type PrimeReplyContract, type PrimeRowDecoded, type PrimeTurnRecord, type PromoteOptions, type PromotionHold, type PromotionResult, type ProposalFinding, type ProposalFindingOrigin, ProposalFindingSchema, type PublicAnalystBenchmarkDataset, type PublicAnalystBenchmarkModelConfig, type PublicAnalystBenchmarkModelOwner, type PublicAnalystBenchmarkModelSettings, type PublicBenchmarkDistributions, type PublicBenchmarkModelPrediction, type PublicBenchmarkSelectionReport, type PublicBenchmarkValueDistribution, type PublicDirectDefinitionArgs, type PublicRlmDefinitionArgs, RAW_FINDING_SCHEMA_PROMPT, type RawAnalystEvidence, type RawAnalystFinding, RawAnalystFindingSchema, type RegistryRunOpts, type ReplVariableConsensusPort, type ReplVariableEvidenceBinding, type ReplyContract, type ReplyEnvelope, type ReplyRowDecoded, type ReplyRowRejection, type RollupInput, type RollupOptions, type RollupResult, type RunAnalystBenchmarkOptions, type SandboxSdkTransportOpts, type SemanticConceptJudgeAdapterOpts, type SkillUsageRecord, type SkillUsageReport, type SkillUsageScanConfig, type StepLabelAdapterOptions, TREATMENT_LAYERS, type TaxonomyAttachment, type TaxonomyNode, type TaxonomyNodeLayer, type TaxonomyOutcome, type TeamIntegration, type TeamShape, type TeamShapeCheck, type TeamShapeClass, type TeamShapeEdge, type TeamShapeFeatures, type TeamShapeInput, type TeamShapeObserved, type TeamShapeOutcome, type TraceAnalysisEngine, type TraceAnalysisEngineRequest, type TraceAnalysisEngineResult, type TraceAnalystDefinition, type TraceAnalystLimits, type TraceQuestionOutcome, type TraceQuestionSpec, type TraceToolGroupName, type TreatmentLayer, type UpstreamPredictionAdapterOptions, type VerificationArtifactFile, type VerificationArtifactManifest, type VerificationArtifactRole, type VerificationAvailabilitySummary, type VerificationOutcome, type VerificationOutcomeSource, type VerificationOutcomeStatus, type VerificationResultFile, type VerifiedTraceFinding, analystUsageReceiptFromPrimeUsage, askTraceQuestions, assertFailureClasses, behavioralAnalyst, behavioralTraceQuestionDigest, buildDefaultAnalystRegistry, buildPrimePrompt, buildPrimeRepairPrompt, buildTraceToolsForGroup, computeFindingId, createChatClient, createChatTraceEngine, createDspyRlmTraceEngine, createTraceAnalyst, diffFindings, diffFindingsOverTime, emitControlIntegrityFindings, evidenceRefsFromRawFinding, findingSubjectGrammarPromptFor, independentUnitCount, lineageRoots, makeFinding, makeProposalFinding, mergePrimeRawUsage, nodeHttpPrimeBridgeTransport, normalizePrimeUsage, openFindingsLedger, parseAnalystFinding, parseFindingSubject, parseRawFinding, pinBehavioralFailureClass, primeProtocolSha256, projectPrimeTrajectory, queryFindings, readFindingScope, renderFindingSubject, runAnalystBenchmark, runPrimeExchange, runTraceAnalyst, traceStoreEvidenceResolver };
1637
1637
  //# sourceMappingURL=index.d.ts.map
@@ -1,20 +1,20 @@
1
1
  import { n as assertConsistentFindingConditions, o as mergeFindingComposition, r as findingCompositionKey, t as TREATMENT_LAYERS } from "../finding-composition-DlvE1Qul.js";
2
- import { i as nominalAgreement } from "../agreement-irr-BTjDN0i6.js";
2
+ import { i as nominalAgreement } from "../agreement-irr-w-t3XUTD.js";
3
3
  import { t as FileLedgerJournal } from "../journal-C1uLJi0w.js";
4
4
  import { r as merkleRoot } from "../ledger-core-CfT-FzPf.js";
5
- import { A as spanningWindow, C as UNKNOWN_LINEAGE, D as mostSevere, E as mergeEvidenceUnits, O as parseAnalystFinding, S as ProposalFindingSchema, T as lineageRoots, b as AnalystFindingSchema, k as readFindingScope, w as independentUnitCount, x as FINDING_LAYERS } from "../external-optimizer-subprocess-U616hV_l.js";
5
+ import { A as spanningWindow, C as UNKNOWN_LINEAGE, D as mostSevere, E as mergeEvidenceUnits, O as parseAnalystFinding, S as ProposalFindingSchema, T as lineageRoots, b as AnalystFindingSchema, k as readFindingScope, w as independentUnitCount, x as FINDING_LAYERS } from "../external-optimizer-subprocess-wzMaA0oN.js";
6
6
  import { a as makeProposalFinding, i as makeFinding, r as computeFindingId } from "../types-BK0blWhe.js";
7
- import { t as assertProposalFindings } from "../proposal-findings-WFQrxnfe.js";
7
+ import { t as assertProposalFindings } from "../proposal-findings-duV5flPv.js";
8
8
  import { A as RawAnalystFindingSchema, B as parseFindingSubject, F as stripCodeFences, I as FINDING_SUBJECT_KINDS, L as FINDING_SUBJECT_SYNTAX, M as parseRawFinding, N as parseTraceSpanEvidenceUri, R as KIND_EXPECTED_SUBJECTS, V as renderFindingSubject, j as evidenceRefsFromRawFinding, k as RAW_FINDING_SCHEMA_PROMPT, n as runTraceAnalyst, r as buildTraceToolsForGroup, t as createTraceAnalyst, z as findingSubjectGrammarPromptFor } from "../kind-factory-VKysp1ds.js";
9
- import { _ as behavioralTraceQuestionDigest, a as KNOWLEDGE_POISONING_KIND_SPEC, c as FAILURE_MODE_KIND_SPEC, d as emitControlIntegrityFindings, f as behavioralAnalyst, g as BEHAVIORAL_TRACE_QUESTIONS_VERSION, h as BEHAVIORAL_TRACE_QUESTIONS, i as DEFAULT_TRACE_ANALYST_KINDS, l as CONTROL_INTEGRITY_ANALYST, m as behavioralTraceSupportSchema, n as AnalystRegistry, o as KNOWLEDGE_GAP_KIND_SPEC, p as validBehavioralCalibration, r as ExactAnalystRunExecutionError, s as IMPROVEMENT_KIND_SPEC, t as buildDefaultAnalystRegistry, u as ControlIntegrityAnalyst } from "../default-registry-C1tPEjZ4.js";
10
- import { t as createDspyRlmTraceEngine } from "../dspy-rlm-engine-jDiWkul6.js";
11
- import { n as diffFindings, r as createChatTraceEngine, t as FindingsStore } from "../findings-store-B75Dspaq.js";
12
- import { a as systemOneAnalyst, p as validDecisionIdentity } from "../decision-point-lhMgODOR.js";
13
- import { t as createChatClient } from "../chat-client-CO3uB33i.js";
14
- import { A as agentRxBenchmarkCase, C as ANALYST_BENCHMARK_COST_LEDGER_FILE, D as AGENT_RX_UPSTREAM_REVISION, E as ANALYST_BENCHMARK_OBSERVATIONS_FILE, F as runAnalystBenchmark, I as traceStoreEvidenceResolver, M as normalizeAgentRxCategory, N as externalId, O as codeTraceBenchCase, P as positiveStep, S as ANALYST_BENCHMARK_IMPLEMENTATION_FILES, T as ANALYST_BENCHMARK_MANIFEST_FILE, _ as readAnalystBenchmarkArtifact, a as runInlineAnalystDefinition, b as ANALYST_BENCHMARK_EVIDENCE_DEPENDENCY_LOCK_SHA256, c as publicRlmAnalystDefinition, d as publicDirectAnalystDefinition, f as runChunkedAnalystDefinition, g as expandCodeTraceFailureBlocks, h as analystDefinitionProtocolSha256, i as primeCodeTraceAnalystDefinition, j as agentRxPredictionsToFindings, k as codeTracerPredictionsToFindings, l as runReplVariableAnalystDefinition, m as analystDefinitionAsymmetries, n as createPrimeBenchmarkRunner, o as loadPublicBenchmarkRows, p as AnalystExpressivenessError, r as primeAnalystProtocolSha256, s as createPublicBenchmarkRlmRunner, t as runAnalystBenchmarkCommand, u as createPublicBenchmarkDirectRunner, v as CODE_TRACE_BENCH_ANALYST_PROMPT, w as ANALYST_BENCHMARK_LOCAL_RECEIPT_FILE, x as ANALYST_BENCHMARK_EVIDENCE_IMPLEMENTATION_SHA256, y as publicBenchmarkProtocolSha256 } from "../benchmark-command-DWkc5mzq.js";
9
+ import { _ as behavioralTraceSupportSchema, a as KNOWLEDGE_POISONING_KIND_SPEC, b as behavioralTraceQuestionDigest, c as FAILURE_MODE_KIND_SPEC, d as emitControlIntegrityFindings, f as BEHAVIORAL_FAILURE_CLASS, g as validBehavioralCalibration, h as pinBehavioralFailureClass, i as DEFAULT_TRACE_ANALYST_KINDS, l as CONTROL_INTEGRITY_ANALYST, m as behavioralAnalyst, n as AnalystRegistry, o as KNOWLEDGE_GAP_KIND_SPEC, p as assertFailureClasses, r as ExactAnalystRunExecutionError, s as IMPROVEMENT_KIND_SPEC, t as buildDefaultAnalystRegistry, u as ControlIntegrityAnalyst, v as BEHAVIORAL_TRACE_QUESTIONS, y as BEHAVIORAL_TRACE_QUESTIONS_VERSION } from "../default-registry-gmDeN0KT.js";
10
+ import { t as createDspyRlmTraceEngine } from "../dspy-rlm-engine-C0zR2xiM.js";
11
+ import { n as diffFindings, r as createChatTraceEngine, t as FindingsStore } from "../findings-store-DNSvmy8U.js";
12
+ import { a as systemOneAnalyst, p as validDecisionIdentity } from "../decision-point-CErE7GnP.js";
13
+ import { t as createChatClient } from "../chat-client-D0me8iwq.js";
14
+ import { A as agentRxBenchmarkCase, C as ANALYST_BENCHMARK_COST_LEDGER_FILE, D as AGENT_RX_UPSTREAM_REVISION, E as ANALYST_BENCHMARK_OBSERVATIONS_FILE, F as runAnalystBenchmark, I as traceStoreEvidenceResolver, M as normalizeAgentRxCategory, N as externalId, O as codeTraceBenchCase, P as positiveStep, S as ANALYST_BENCHMARK_IMPLEMENTATION_FILES, T as ANALYST_BENCHMARK_MANIFEST_FILE, _ as readAnalystBenchmarkArtifact, a as runInlineAnalystDefinition, b as ANALYST_BENCHMARK_EVIDENCE_DEPENDENCY_LOCK_SHA256, c as publicRlmAnalystDefinition, d as publicDirectAnalystDefinition, f as runChunkedAnalystDefinition, g as expandCodeTraceFailureBlocks, h as analystDefinitionProtocolSha256, i as primeCodeTraceAnalystDefinition, j as agentRxPredictionsToFindings, k as codeTracerPredictionsToFindings, l as runReplVariableAnalystDefinition, m as analystDefinitionAsymmetries, n as createPrimeBenchmarkRunner, o as loadPublicBenchmarkRows, p as AnalystExpressivenessError, r as primeAnalystProtocolSha256, s as createPublicBenchmarkRlmRunner, t as runAnalystBenchmarkCommand, u as createPublicBenchmarkDirectRunner, v as CODE_TRACE_BENCH_ANALYST_PROMPT, w as ANALYST_BENCHMARK_LOCAL_RECEIPT_FILE, x as ANALYST_BENCHMARK_EVIDENCE_IMPLEMENTATION_SHA256, y as publicBenchmarkProtocolSha256 } from "../benchmark-command-BeDZB3BQ.js";
15
15
  import { a as normalizePrimeUsage, c as runPrimeExchange, i as mergePrimeRawUsage, n as buildPrimePrompt, o as primeProtocolSha256, r as buildPrimeRepairPrompt, s as projectPrimeTrajectory, t as analystUsageReceiptFromPrimeUsage } from "../prime-protocol-CrhpXRz9.js";
16
16
  import { t as nodeHttpPrimeBridgeTransport } from "../prime-bridge-transport-Csd5SQg7.js";
17
- import { t as clusterBootstrapMean } from "../cluster-bootstrap-SbaeM44s.js";
17
+ import { t as clusterBootstrapMean } from "../cluster-bootstrap-hNXESoc1.js";
18
18
  import { z } from "zod";
19
19
  import { existsSync, readFileSync, readdirSync, statSync } from "node:fs";
20
20
  import { join } from "node:path";
@@ -2110,6 +2110,6 @@ function failed(question, failure) {
2110
2110
  function errorText(error) {
2111
2111
  return error instanceof Error ? `${error.name}: ${error.message}` : String(error);
2112
2112
  }
2113
- export { AGENT_RX_UPSTREAM_REVISION, ANALYST_BENCHMARK_COST_LEDGER_FILE, ANALYST_BENCHMARK_EVIDENCE_DEPENDENCY_LOCK_SHA256, ANALYST_BENCHMARK_EVIDENCE_IMPLEMENTATION_SHA256, ANALYST_BENCHMARK_IMPLEMENTATION_FILES, ANALYST_BENCHMARK_LOCAL_RECEIPT_FILE, ANALYST_BENCHMARK_MANIFEST_FILE, ANALYST_BENCHMARK_OBSERVATIONS_FILE, AnalystExpressivenessError, AnalystRegistry, BEHAVIORAL_TRACE_QUESTIONS, BEHAVIORAL_TRACE_QUESTIONS_VERSION, CODE_TRACE_BENCH_ANALYST_PROMPT, CONTROL_INTEGRITY_ANALYST, ControlIntegrityAnalyst, DEFAULT_TRACE_ANALYST_KINDS, ExactAnalystRunExecutionError, FAILURE_MODES_ANALYST_ID, FAILURE_MODES_MIN_KAPPA, FAILURE_MODES_QUESTIONS, FAILURE_MODES_VERSION, FAILURE_MODE_KIND_SPEC, FAILURE_MODE_LABELS, FINDING_LAYERS, FINDING_SUBJECT_KINDS, FINDING_SUBJECT_SYNTAX, FindingsStore, IMPROVEMENT_KIND_SPEC, KIND_EXPECTED_SUBJECTS, KNOWLEDGE_GAP_KIND_SPEC, KNOWLEDGE_POISONING_KIND_SPEC, LAB_NODE_ID, NOT_OBSERVABLE, ProposalFindingSchema, RAW_FINDING_SCHEMA_PROMPT, RawAnalystFindingSchema, TEAM_SHAPE_ANALYST_ID, TEAM_SHAPE_CLASSES, TEAM_SHAPE_VERSION, TREATMENT_LAYERS, agentRxBenchmarkCase, agentRxPredictionsToFindings, analystDefinitionAsymmetries, analystDefinitionProtocolSha256, analystUsageReceiptFromPrimeUsage, askTraceQuestions, assertProposalFindings, attachToTaxonomy, behavioralAnalyst, behavioralTraceQuestionDigest, bindAnalyst, buildDefaultAnalystRegistry, buildPrimePrompt, buildPrimeRepairPrompt, buildSkillUsageReport, buildTraceToolsForGroup, calibrateBehavioralTraceQuestions, calibrateFailureModes, classifyTeamShape, codeTraceBenchCase, codeTracerPredictionsToFindings, computeFindingId, createChatClient, createChatTraceEngine, createDspyRlmTraceEngine, createFailureModesAnalyst, createPrimeBenchmarkRunner, createPublicBenchmarkDirectRunner, createPublicBenchmarkRlmRunner, createTraceAnalyst, defineCustomAnalyst, defineDomainTaxonomy, defineTraceAnalyst, diffFindings, diffFindingsOverTime, domainPathOf, emitControlIntegrityFindings, evidenceRefsFromRawFinding, expandCodeTraceFailureBlocks, findingSubjectGrammarPromptFor, independentUnitCount, lineageRoots, loadFailureModeGold, loadPublicBenchmarkRows, lowestCommonAncestor, makeFinding, makeProposalFinding, mergePrimeRawUsage, nodeHttpPrimeBridgeTransport, normalizePrimeUsage, openFindingsLedger, parseAnalystFinding, parseFindingSubject, parseRawFinding, primeAnalystProtocolSha256, primeCodeTraceAnalystDefinition, primeProtocolSha256, projectPrimeTrajectory, promote, publicBenchmarkProtocolSha256, publicDirectAnalystDefinition, publicRlmAnalystDefinition, queryFindings, readAnalystBenchmarkArtifact, readFindingScope, renderFindingSubject, resolveDomainPath, rollupFindings, runAnalystBenchmark, runAnalystBenchmarkCommand, runPrimeExchange, runTraceAnalyst, stripCodeFences, taxonomyAncestry, taxonomyLayerOf, teamShapeAnalyst, teamShapeInputFromSources, traceStoreEvidenceResolver };
2113
+ export { AGENT_RX_UPSTREAM_REVISION, ANALYST_BENCHMARK_COST_LEDGER_FILE, ANALYST_BENCHMARK_EVIDENCE_DEPENDENCY_LOCK_SHA256, ANALYST_BENCHMARK_EVIDENCE_IMPLEMENTATION_SHA256, ANALYST_BENCHMARK_IMPLEMENTATION_FILES, ANALYST_BENCHMARK_LOCAL_RECEIPT_FILE, ANALYST_BENCHMARK_MANIFEST_FILE, ANALYST_BENCHMARK_OBSERVATIONS_FILE, AnalystExpressivenessError, AnalystRegistry, BEHAVIORAL_FAILURE_CLASS, BEHAVIORAL_TRACE_QUESTIONS, BEHAVIORAL_TRACE_QUESTIONS_VERSION, CODE_TRACE_BENCH_ANALYST_PROMPT, CONTROL_INTEGRITY_ANALYST, ControlIntegrityAnalyst, DEFAULT_TRACE_ANALYST_KINDS, ExactAnalystRunExecutionError, FAILURE_MODES_ANALYST_ID, FAILURE_MODES_MIN_KAPPA, FAILURE_MODES_QUESTIONS, FAILURE_MODES_VERSION, FAILURE_MODE_KIND_SPEC, FAILURE_MODE_LABELS, FINDING_LAYERS, FINDING_SUBJECT_KINDS, FINDING_SUBJECT_SYNTAX, FindingsStore, IMPROVEMENT_KIND_SPEC, KIND_EXPECTED_SUBJECTS, KNOWLEDGE_GAP_KIND_SPEC, KNOWLEDGE_POISONING_KIND_SPEC, LAB_NODE_ID, NOT_OBSERVABLE, ProposalFindingSchema, RAW_FINDING_SCHEMA_PROMPT, RawAnalystFindingSchema, TEAM_SHAPE_ANALYST_ID, TEAM_SHAPE_CLASSES, TEAM_SHAPE_VERSION, TREATMENT_LAYERS, agentRxBenchmarkCase, agentRxPredictionsToFindings, analystDefinitionAsymmetries, analystDefinitionProtocolSha256, analystUsageReceiptFromPrimeUsage, askTraceQuestions, assertFailureClasses, assertProposalFindings, attachToTaxonomy, behavioralAnalyst, behavioralTraceQuestionDigest, bindAnalyst, buildDefaultAnalystRegistry, buildPrimePrompt, buildPrimeRepairPrompt, buildSkillUsageReport, buildTraceToolsForGroup, calibrateBehavioralTraceQuestions, calibrateFailureModes, classifyTeamShape, codeTraceBenchCase, codeTracerPredictionsToFindings, computeFindingId, createChatClient, createChatTraceEngine, createDspyRlmTraceEngine, createFailureModesAnalyst, createPrimeBenchmarkRunner, createPublicBenchmarkDirectRunner, createPublicBenchmarkRlmRunner, createTraceAnalyst, defineCustomAnalyst, defineDomainTaxonomy, defineTraceAnalyst, diffFindings, diffFindingsOverTime, domainPathOf, emitControlIntegrityFindings, evidenceRefsFromRawFinding, expandCodeTraceFailureBlocks, findingSubjectGrammarPromptFor, independentUnitCount, lineageRoots, loadFailureModeGold, loadPublicBenchmarkRows, lowestCommonAncestor, makeFinding, makeProposalFinding, mergePrimeRawUsage, nodeHttpPrimeBridgeTransport, normalizePrimeUsage, openFindingsLedger, parseAnalystFinding, parseFindingSubject, parseRawFinding, pinBehavioralFailureClass, primeAnalystProtocolSha256, primeCodeTraceAnalystDefinition, primeProtocolSha256, projectPrimeTrajectory, promote, publicBenchmarkProtocolSha256, publicDirectAnalystDefinition, publicRlmAnalystDefinition, queryFindings, readAnalystBenchmarkArtifact, readFindingScope, renderFindingSubject, resolveDomainPath, rollupFindings, runAnalystBenchmark, runAnalystBenchmarkCommand, runPrimeExchange, runTraceAnalyst, stripCodeFences, taxonomyAncestry, taxonomyLayerOf, teamShapeAnalyst, teamShapeInputFromSources, traceStoreEvidenceResolver };
2114
2114
 
2115
2115
  //# sourceMappingURL=index.js.map
@@ -3,7 +3,7 @@ import { a as RunRecord, u as RunTerminalOutcome } from "./run-record-D2BFMPGl.j
3
3
  import { r as ContinuousAgreement } from "./judge-calibration-DnrbQaXI.js";
4
4
  import { r as DatasetScenario } from "./dataset-DThC1S6G.js";
5
5
  import { f as ParetoFigureSpec, l as GainDistributionBin } from "./summary-report-0La5vejY.js";
6
- import { t as AnalystRegistry } from "./registry-dhdDoAV8.js";
6
+ import { t as AnalystRegistry } from "./registry-CMtGAxOw.js";
7
7
  interface InsightReport {
8
8
  /** Number of runs analyzed. */
9
9
  n: number;
@@ -480,4 +480,4 @@ interface AnalyzeRunsOptions {
480
480
  }
481
481
  declare function analyzeRuns(opts: AnalyzeRunsOptions): Promise<InsightReport>;
482
482
  export { ReleaseSummary as _, summarizeExecution as a, ExecutionInsight as c, InsightReport as d, InterRaterInsight as f, Recommendation as g, OutcomeCorrelationInsight as h, SummarizeExecutionOptions as i, FailureClassTally as l, LiftInsight as m, analyzeRuns as n, CostProvenanceSummary as o, JudgeInsight as p, ExecutionReport as r, ExecutionErrorOutcomeCell as s, AnalyzeRunsOptions as t, FailureClusterInsight as u, ScalarDistribution as v, TokenUsageInsight as y };
483
- //# sourceMappingURL=analyze-runs-C-pP1sK9.d.ts.map
483
+ //# sourceMappingURL=analyze-runs-BYyMShsj.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"analyze-runs-C-pP1sK9.d.ts","names":[],"sources":["../src/contract/insight-report.ts","../src/contract/execution-insight.ts","../src/contract/analyze-runs.ts"],"mappings":";;;;;;UAqCiB;;EAEf;;;;EAKA,WAAW;;EAGX,WAAW;;;EAIX,cAAc,eAAe;;EAG7B;IACE,MAAM;IACN,QAAQ;;;;;IAKR,aAAa;;;;;IAKb;MAAa;MAAe;;;;;;EAM9B,QAAQ,eAAe;;;;EAKvB,aAAa;;;;EAKb,OAAO;;;EAIP,kBAAkB;;;EAIlB,gBAAgB;;;;;EAMhB,qBAAqB;;;;;EAMrB,SAAS;;;;;;EAOT,wBAAwB;;;;EAKxB,iBAAiB;;;EAIjB,iBAAiB;;UAGF;EACf;IAAY;IAAW;;EACvB;IAAa;IAAW;;;;EAGxB;IAAc;IAAW;;EACzB;IAAc;;EACd;;UAGe;;EAEf,YAAY;;EAEZ,SAAS;;;EAGT,YAAY;;;EAGZ;IACE;IACA,YAAY;IACZ,SAAS;IACT;;;EAGF,QAAQ;IAAQ;IAAe;;;;;EAI/B;IACE;IACA;IACA;;;;;EAKF;IACE;;;IAGA;;IAEA;;IAEA;;IAEA;;IAEA;;;;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AA8B;;;EAG9B,kBAAkB;;;EAGlB,UAAU;;;;EAIV;IACE;IACA,cAAc;;;;;EAKhB,cAAc;IAAQ;IAAe;IAAe;;;EAEpD;;;;EAIA;;;;;;;;;EASA,eAAe;;;EAGf;;iBAGoB,YAAY,MAAM,qBAAqB,QAAQ"}
1
+ {"version":3,"file":"analyze-runs-BYyMShsj.d.ts","names":[],"sources":["../src/contract/insight-report.ts","../src/contract/execution-insight.ts","../src/contract/analyze-runs.ts"],"mappings":";;;;;;UAqCiB;;EAEf;;;;EAKA,WAAW;;EAGX,WAAW;;;EAIX,cAAc,eAAe;;EAG7B;IACE,MAAM;IACN,QAAQ;;;;;IAKR,aAAa;;;;;IAKb;MAAa;MAAe;;;;;;EAM9B,QAAQ,eAAe;;;;EAKvB,aAAa;;;;EAKb,OAAO;;;EAIP,kBAAkB;;;EAIlB,gBAAgB;;;;;EAMhB,qBAAqB;;;;;EAMrB,SAAS;;;;;;EAOT,wBAAwB;;;;EAKxB,iBAAiB;;;EAIjB,iBAAiB;;UAGF;EACf;IAAY;IAAW;;EACvB;IAAa;IAAW;;;;EAGxB;IAAc;IAAW;;EACzB;IAAc;;EACd;;UAGe;;EAEf,YAAY;;EAEZ,SAAS;;;EAGT,YAAY;;;EAGZ;IACE;IACA,YAAY;IACZ,SAAS;IACT;;;EAGF,QAAQ;IAAQ;IAAe;;;;;EAI/B;IACE;IACA;IACA;;;;;EAKF;IACE;;;IAGA;;IAEA;;IAEA;;IAEA;;IAEA;;;;;IAKA,mBAAmB,OAAO,oBAAoB;;;;EAIhD;IACE;IACA;IACA;IACA;IACA;;;UAIa;;EAEf;;EAEA;;EAEA;;UAGe;EACf,OAAO;EACP,QAAQ;EACR,WAAW;EACX,QAAQ;EACR,YAAY;EACZ;IACE;IACA;IACA;IACA;IACA;;;;UAOa;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,WAAW;;;;;EAKX,WAAW;IAAQ;IAAe;;;UAGnB;;EAEf;;EAEA;;;EAGA,cAAc;;;EAGd;;;EAGA;;;EAGA;;UAGe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,SAAS;;EAET,mBAAmB;IACjB;IACA,SAAS;MAAQ;MAAe;;IAChC;;;UAIa;EACf;EACA;;EAEA;;EAEA;;;EAGA;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;;;;EAWA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;UAGe;;EAEf,UAAU;IACR;IACA;;IAEA;;IAEA;;IAEA;;EAEF;;;;;UAMe;;EAEf,cAAc;;EAEd;;EAEA;;UAGe;;EAEf;;;EAGA;EACA,UAAU;IAAQ;IAAe;IAAgB;;;UAGlC;;;EAGf;;EAEA;;EAEA;;EAEA;;EAEA;IACE;IACA;IACA;;;UAIa;;;EAGf;EACA,MAAM;IACJ;IACA;IACA;;;;EAIF;;UAGQ;;EAER;;EAEA;;;;EAIA;;EAEA;EACA;;KAGU,eACP;EACC;;EAEA;;EAEA;;EAEA;;EAEA;MAED;EACC;;EAEA;EACA;EACA;EACA;;UAGW;;EAEf;EACA;;EAEA;;;;EAIA,SAAS,eAAe;;;EAGxB;;EAEA;;EAEA;;UAGe;EACf;EACA;EACA;EACA;;EAEA;;UCzbe;EACf,MAAM;EACN;;UAGe;EACf,WAAW;EACX,gBAAgB;;;iBAIF,mBAAmB,MAAM,4BAA4B;UC4BpD;;EAEf,MAAM;;;EAGN;;;;;EAKA;EACA;;;EAGA,8BAA8B;;;EAG9B,kBAAkB;;;EAGlB,UAAU;;;;EAIV;IACE;IACA,cAAc;;;;;EAKhB,cAAc;IAAQ;IAAe;IAAe;;;EAEpD;;;;EAIA;;;;;;;;;EASA,eAAe;;;EAGf;;iBAGoB,YAAY,MAAM,qBAAqB,QAAQ"}
@@ -1,16 +1,15 @@
1
1
  import { s as ValidationError } from "./errors-DeEEV9Vx.js";
2
2
  import { r as observedSplitScore } from "./reward-P0VD_Aft.js";
3
3
  import { c as validateRunRecord } from "./run-record-DEjx43cI.js";
4
- import { c as pairedCohensDz, o as cohensD, r as paretoChart } from "./summary-report-BLnTyQKH.js";
4
+ import { c as pairedCohensDz, o as cohensD, r as paretoChart } from "./summary-report-BstMpOfy.js";
5
5
  import { t as interpolatedQuantile } from "./quantile-CncXP-Ss.js";
6
- import { o as normalCdf, r as pairRunRecords } from "./paired-arms-D5H_58e8.js";
7
- import { c as lnGamma, l as regularizedIncompleteBeta, t as assertFiniteSample$1 } from "./internal-v6XfOeJW.js";
8
- import { a as spearmanR, r as pearsonR } from "./descriptive-cPwITVfy.js";
9
- import { r as continuousAgreement } from "./judge-calibration-DGqlfWW8.js";
10
- import { c as studentTQuantile, o as pairedTTest, r as pairedBootstrap } from "./paired-tests-C2zUqgUW.js";
11
- import { i as requiredPairedSampleSize, r as pairedMde } from "./power-and-mde-CHvyDO_H.js";
12
- import { r as meanOrZero, t as mean$1 } from "./mean-BPuUNznQ.js";
13
- import { n as aggregatePairedHoldout } from "./statistical-heldout-C9hz_AF9.js";
6
+ import { o as normalCdf, r as pairRunRecords } from "./paired-arms-C0Vd9bGG.js";
7
+ import { f as studentTQuantile, i as assertFiniteSample$1, m as regularizedIncompleteBeta, p as lnGamma, r as meanOrZero, t as mean$1 } from "./mean-DDFhslBt.js";
8
+ import { i as pearsonR, o as spearmanR } from "./descriptive-BTzLL-aj.js";
9
+ import { r as continuousAgreement } from "./judge-calibration-D93UCm1k.js";
10
+ import { o as pairedTTest, r as pairedBootstrap } from "./paired-tests-kASEKpc-.js";
11
+ import { i as requiredPairedSampleSize, r as pairedMde } from "./power-and-mde-CRxepy8y.js";
12
+ import { n as aggregatePairedHoldout } from "./statistical-heldout-DYF5f10K.js";
14
13
  import "./query-CGXzO9d4.js";
15
14
  // src/statistics/inference.ts
16
15
  /** Two-sided normal tail, evaluated without subtracting a near-one CDF. */
@@ -1184,4 +1183,4 @@ async function analyzeRuns(opts) {
1184
1183
  }
1185
1184
  export { welchsTTest as a, fisherExactTwoSided as c, studentTTwoSidedPValue as d, twoByTwoPValue as f, iqr as i, linearRegressionSlope as l, checkCanaries as n, chiSquared as o, summarizeExecution as r, chiSquaredPValue as s, analyzeRuns as t, normalTwoSidedPValue as u };
1186
1185
 
1187
- //# sourceMappingURL=analyze-runs-Ck68mbgj.js.map
1186
+ //# sourceMappingURL=analyze-runs-Da7P_Mc5.js.map