@tangle-network/agent-eval 2.0.7 → 2.0.9

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 (285) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/adapters/http.d.ts +2 -2
  3. package/dist/{agent-profile-CRdalpZv.d.ts → agent-profile-ORN4aArD.d.ts} +5 -5
  4. package/dist/{agent-profile-CRdalpZv.d.ts.map → agent-profile-ORN4aArD.d.ts.map} +1 -1
  5. package/dist/analyst/index.d.ts +14 -13
  6. package/dist/analyst/index.d.ts.map +1 -1
  7. package/dist/analyst/index.js +9 -9
  8. package/dist/{analyze-runs-C_9cXPZn.js → analyze-runs-CE_5VKh2.js} +6 -5
  9. package/dist/{analyze-runs-C_9cXPZn.js.map → analyze-runs-CE_5VKh2.js.map} +1 -1
  10. package/dist/analyze-runs-DT693FJ7.d.ts +65 -0
  11. package/dist/analyze-runs-DT693FJ7.d.ts.map +1 -0
  12. package/dist/app-grade/index.d.ts +4 -4
  13. package/dist/app-grade/index.js +1 -1
  14. package/dist/{benchmark-command-DkBMUDwy.js → benchmark-command-DLg8E4y8.js} +9 -6
  15. package/dist/benchmark-command-DLg8E4y8.js.map +1 -0
  16. package/dist/benchmarks/index.d.ts +4 -4
  17. package/dist/benchmarks/index.js +4 -4
  18. package/dist/builder-eval/index.js +2 -2
  19. package/dist/calibration-CrORXMWx.d.ts +128 -0
  20. package/dist/calibration-CrORXMWx.d.ts.map +1 -0
  21. package/dist/{calibration-Cfoup0xz.js → calibration-Dz8mQb5P.js} +2 -2
  22. package/dist/{calibration-Cfoup0xz.js.map → calibration-Dz8mQb5P.js.map} +1 -1
  23. package/dist/campaign/index.d.ts +8 -8
  24. package/dist/campaign/index.js +12 -11
  25. package/dist/{campaign-DfSWSreo.js → campaign-C_S3MOYa.js} +1589 -14
  26. package/dist/campaign-C_S3MOYa.js.map +1 -0
  27. package/dist/{campaign-evidence-D_oBFfLc.js → campaign-evidence-BTfzZo1u.js} +4 -4
  28. package/dist/{campaign-evidence-D_oBFfLc.js.map → campaign-evidence-BTfzZo1u.js.map} +1 -1
  29. package/dist/{campaign-evidence-BojANgU7.d.ts → campaign-evidence-CM4FBOkX.d.ts} +5 -5
  30. package/dist/{campaign-evidence-BojANgU7.d.ts.map → campaign-evidence-CM4FBOkX.d.ts.map} +1 -1
  31. package/dist/{cluster-Bj90LK-1.d.ts → chat-client-uQNXGuO4.d.ts} +3 -240
  32. package/dist/chat-client-uQNXGuO4.d.ts.map +1 -0
  33. package/dist/cli.js +5 -5
  34. package/dist/cluster-C-K0N2br.d.ts +241 -0
  35. package/dist/cluster-C-K0N2br.d.ts.map +1 -0
  36. package/dist/{cluster-bootstrap-DPzVy3_K.js → cluster-bootstrap-DXbnIdm8.js} +3 -2
  37. package/dist/{cluster-bootstrap-DPzVy3_K.js.map → cluster-bootstrap-DXbnIdm8.js.map} +1 -1
  38. package/dist/{completion-verifier-Cy38EpGE.d.ts → completion-verifier-C7wipJOK.d.ts} +2 -2
  39. package/dist/{completion-verifier-Cy38EpGE.d.ts.map → completion-verifier-C7wipJOK.d.ts.map} +1 -1
  40. package/dist/contract/index.d.ts +14 -12
  41. package/dist/contract/index.js +13 -11
  42. package/dist/contract/index.js.map +1 -1
  43. package/dist/{decision-point-C46p-p9v.js → decision-point-CfqtnGop.js} +3 -3
  44. package/dist/{decision-point-C46p-p9v.js.map → decision-point-CfqtnGop.js.map} +1 -1
  45. package/dist/{default-registry-xoX0PMCb.d.ts → default-registry-Bskl2HzV.d.ts} +6 -6
  46. package/dist/{default-registry-xoX0PMCb.d.ts.map → default-registry-Bskl2HzV.d.ts.map} +1 -1
  47. package/dist/{default-registry-BWFPtmuI.js → default-registry-kps1SOaD.js} +2 -2
  48. package/dist/{default-registry-BWFPtmuI.js.map → default-registry-kps1SOaD.js.map} +1 -1
  49. package/dist/define-agent-eval-Dnh4jXLX.js +96 -0
  50. package/dist/define-agent-eval-Dnh4jXLX.js.map +1 -0
  51. package/dist/define-agent-eval-tu3anVlk.d.ts +52 -0
  52. package/dist/define-agent-eval-tu3anVlk.d.ts.map +1 -0
  53. package/dist/diagnosis/index.d.ts +3 -3
  54. package/dist/diagnosis/index.js +1 -1
  55. package/dist/{dspy-rlm-engine-r7YpKLhS.js → dspy-rlm-engine-DQbPdT_o.js} +2 -2
  56. package/dist/{dspy-rlm-engine-r7YpKLhS.js.map → dspy-rlm-engine-DQbPdT_o.js.map} +1 -1
  57. package/dist/{emitter-BjW3NnX-.js → emitter-xN9wGTVw.js} +9 -2
  58. package/dist/{emitter-BjW3NnX-.js.map → emitter-xN9wGTVw.js.map} +1 -1
  59. package/dist/{eval-campaign-Cyk-tkLh.js → eval-campaign-DswSn7Gm.js} +3 -3
  60. package/dist/{eval-campaign-Cyk-tkLh.js.map → eval-campaign-DswSn7Gm.js.map} +1 -1
  61. package/dist/{evaluation-X5E22NQK.d.ts → evaluation-C4-tf3Z_.d.ts} +4 -4
  62. package/dist/{evaluation-X5E22NQK.d.ts.map → evaluation-C4-tf3Z_.d.ts.map} +1 -1
  63. package/dist/evaluation.d.ts +1 -1
  64. package/dist/{exact-types-DjuabhUV.d.ts → exact-types-CUsSMW3n.d.ts} +2 -2
  65. package/dist/{exact-types-DjuabhUV.d.ts.map → exact-types-CUsSMW3n.d.ts.map} +1 -1
  66. package/dist/{execution-insight-CE20Bxq0.d.ts → execution-insight-YihQrSqd.d.ts} +2 -2
  67. package/dist/{execution-insight-CE20Bxq0.d.ts.map → execution-insight-YihQrSqd.d.ts.map} +1 -1
  68. package/dist/experiment/index.d.ts +5 -5
  69. package/dist/experiment/index.js +10 -184
  70. package/dist/experiment/index.js.map +1 -1
  71. package/dist/{external-optimizer-process-4QdcF7Kd.js → external-optimizer-process-CVi1x2nb.js} +2 -2
  72. package/dist/{external-optimizer-process-4QdcF7Kd.js.map → external-optimizer-process-CVi1x2nb.js.map} +1 -1
  73. package/dist/{external-optimizer-subprocess-BW0ZWUUr.js → external-optimizer-subprocess-mV-2swJI.js} +3 -357
  74. package/dist/external-optimizer-subprocess-mV-2swJI.js.map +1 -0
  75. package/dist/{feedback-trajectory-BMkJezPc.d.ts → feedback-trajectory-D7hgL6y5.d.ts} +3 -3
  76. package/dist/{feedback-trajectory-BMkJezPc.d.ts.map → feedback-trajectory-D7hgL6y5.d.ts.map} +1 -1
  77. package/dist/finding-scope-B_As3F_v.js +359 -0
  78. package/dist/finding-scope-B_As3F_v.js.map +1 -0
  79. package/dist/{findings-store-DV8WA5nD.js → findings-store-CZy5kUDo.js} +2 -2
  80. package/dist/{findings-store-DV8WA5nD.js.map → findings-store-CZy5kUDo.js.map} +1 -1
  81. package/dist/fuzz.js +1 -1
  82. package/dist/{index-DKpMyD_Z.d.ts → index--vDCtdaj.d.ts} +7 -7
  83. package/dist/{index-DKpMyD_Z.d.ts.map → index--vDCtdaj.d.ts.map} +1 -1
  84. package/dist/{index-CKjqN9_U.d.ts → index-CIqYaySd.d.ts} +89 -3
  85. package/dist/index-CIqYaySd.d.ts.map +1 -0
  86. package/dist/{index-C6TG1LwA.d.ts → index-Cav3abKy.d.ts} +256 -131
  87. package/dist/index-Cav3abKy.d.ts.map +1 -0
  88. package/dist/{index-DAFZRMlF.d.ts → index-DmMHTDjT.d.ts} +10 -8
  89. package/dist/index-DmMHTDjT.d.ts.map +1 -0
  90. package/dist/{index-BqAPIToS.d.ts → index-Er8TKQ3q.d.ts} +3 -3
  91. package/dist/{index-BqAPIToS.d.ts.map → index-Er8TKQ3q.d.ts.map} +1 -1
  92. package/dist/{index-xEM_SoCl.d.ts → index-moZnazVj.d.ts} +22 -20
  93. package/dist/index-moZnazVj.d.ts.map +1 -0
  94. package/dist/index.d.ts +33 -29
  95. package/dist/index.js +23 -20
  96. package/dist/index.js.map +1 -1
  97. package/dist/{analyze-runs-xjKBBqIB.d.ts → insight-report-DYofCMLx.d.ts} +4 -64
  98. package/dist/insight-report-DYofCMLx.d.ts.map +1 -0
  99. package/dist/{integrity-B9320cw1.d.ts → integrity-BJGstiCh.d.ts} +2 -2
  100. package/dist/{integrity-B9320cw1.d.ts.map → integrity-BJGstiCh.d.ts.map} +1 -1
  101. package/dist/{judge-gate-DqlzOBOm.js → judge-gate-DANg5FLq.js} +2 -2
  102. package/dist/{judge-gate-DqlzOBOm.js.map → judge-gate-DANg5FLq.js.map} +1 -1
  103. package/dist/llm-judge-DFoSy4Qn.js +476 -0
  104. package/dist/llm-judge-DFoSy4Qn.js.map +1 -0
  105. package/dist/{matrix-CqZSpwgN.d.ts → matrix-OgdWQBQa.d.ts} +6 -2
  106. package/dist/matrix-OgdWQBQa.d.ts.map +1 -0
  107. package/dist/measure-validity-plan-B1_qYlsk.d.ts +143 -0
  108. package/dist/measure-validity-plan-B1_qYlsk.d.ts.map +1 -0
  109. package/dist/measure-validity-plan-t0YQRzJQ.js +117 -0
  110. package/dist/measure-validity-plan-t0YQRzJQ.js.map +1 -0
  111. package/dist/meta-eval/index.d.ts +5 -3
  112. package/dist/meta-eval/index.js +664 -14
  113. package/dist/meta-eval/index.js.map +1 -1
  114. package/dist/multishot/golden/index.d.ts +1 -1
  115. package/dist/multishot/index.d.ts +458 -4
  116. package/dist/multishot/index.d.ts.map +1 -1
  117. package/dist/multishot/index.js +926 -47
  118. package/dist/multishot/index.js.map +1 -1
  119. package/dist/openapi.json +1 -1
  120. package/dist/{llm-judge-DQJTQx01.js → optimization-method-D4CpYsVA.js} +18 -482
  121. package/dist/optimization-method-D4CpYsVA.js.map +1 -0
  122. package/dist/{outcome-observations-DL3CC8w1.js → outcome-observations-DEh8_V_P.js} +31 -6
  123. package/dist/outcome-observations-DEh8_V_P.js.map +1 -0
  124. package/dist/outcome-store-CHtuvstd.d.ts +56 -0
  125. package/dist/outcome-store-CHtuvstd.d.ts.map +1 -0
  126. package/dist/{paired-arms-DZhH3FGu.js → paired-arms-B6EXnI47.js} +3 -2
  127. package/dist/{paired-arms-DZhH3FGu.js.map → paired-arms-B6EXnI47.js.map} +1 -1
  128. package/dist/{paired-promotion-decision-ChHBuuHV.d.ts → paired-promotion-decision-DuvRdnsW.d.ts} +2 -2
  129. package/dist/{paired-promotion-decision-ChHBuuHV.d.ts.map → paired-promotion-decision-DuvRdnsW.d.ts.map} +1 -1
  130. package/dist/{paired-promotion-decision-Dn3-jaq4.js → paired-promotion-decision-xYe881cD.js} +3 -2
  131. package/dist/{paired-promotion-decision-Dn3-jaq4.js.map → paired-promotion-decision-xYe881cD.js.map} +1 -1
  132. package/dist/{paired-promotion-power-BlzXdgMD.js → paired-promotion-power-DirShsIs.js} +3 -3
  133. package/dist/{paired-promotion-power-BlzXdgMD.js.map → paired-promotion-power-DirShsIs.js.map} +1 -1
  134. package/dist/paired-tests-CXcD_B80.js +688 -0
  135. package/dist/paired-tests-CXcD_B80.js.map +1 -0
  136. package/dist/pareto-DIVE5D0T.js +81 -0
  137. package/dist/pareto-DIVE5D0T.js.map +1 -0
  138. package/dist/pipelines/index.d.ts +2 -1
  139. package/dist/pipelines/index.d.ts.map +1 -1
  140. package/dist/pipelines/index.js +1 -1
  141. package/dist/{sequential-BphITa5b.js → power-DTg6u30w.js} +181 -4
  142. package/dist/power-DTg6u30w.js.map +1 -0
  143. package/dist/{prime-protocol-Cv6_47rh.d.ts → prime-protocol-Jm2pWh--.d.ts} +2 -2
  144. package/dist/{prime-protocol-Cv6_47rh.d.ts.map → prime-protocol-Jm2pWh--.d.ts.map} +1 -1
  145. package/dist/{promotion-gate-CGkxh36r.d.ts → promotion-gate-BXgcORnM.d.ts} +2 -2
  146. package/dist/{promotion-gate-CGkxh36r.d.ts.map → promotion-gate-BXgcORnM.d.ts.map} +1 -1
  147. package/dist/{promotion-policy-CxDIh-9p.js → promotion-policy-Z5E-C32U.js} +4 -4
  148. package/dist/{promotion-policy-CxDIh-9p.js.map → promotion-policy-Z5E-C32U.js.map} +1 -1
  149. package/dist/{proposal-findings-DedMih-u.js → proposal-findings-CfRFCFXS.js} +2 -2
  150. package/dist/{proposal-findings-DedMih-u.js.map → proposal-findings-CfRFCFXS.js.map} +1 -1
  151. package/dist/{registry-CIjC6SdV.d.ts → registry-DEZDECdr.d.ts} +4 -4
  152. package/dist/{registry-CIjC6SdV.d.ts.map → registry-DEZDECdr.d.ts.map} +1 -1
  153. package/dist/{release-confidence-BLHOMK5Q.js → release-confidence-Cndq1hwi.js} +2 -2
  154. package/dist/{release-confidence-BLHOMK5Q.js.map → release-confidence-Cndq1hwi.js.map} +1 -1
  155. package/dist/reporting.d.ts +5 -5
  156. package/dist/reporting.js +6 -5
  157. package/dist/reporting.js.map +1 -1
  158. package/dist/{research-report-D6XIK0eK.d.ts → research-report-CIgUe1lv.d.ts} +2 -2
  159. package/dist/{research-report-D6XIK0eK.d.ts.map → research-report-CIgUe1lv.d.ts.map} +1 -1
  160. package/dist/{researcher---DhHG4J.d.ts → researcher-CY_byuZl.d.ts} +4 -4
  161. package/dist/{researcher---DhHG4J.d.ts.map → researcher-CY_byuZl.d.ts.map} +1 -1
  162. package/dist/{reward-hacking-DKAflk2c.js → reward-hacking-DMTm1OBd.js} +2 -2
  163. package/dist/{reward-hacking-DKAflk2c.js.map → reward-hacking-DMTm1OBd.js.map} +1 -1
  164. package/dist/rl.d.ts +9 -8
  165. package/dist/rl.d.ts.map +1 -1
  166. package/dist/rl.js +11 -10
  167. package/dist/rl.js.map +1 -1
  168. package/dist/rollout/index.d.ts +2 -2
  169. package/dist/{rubric-predictive-validity--6z0q8s6.js → rubric-predictive-validity-BXJ92Jp_.js} +3 -9
  170. package/dist/rubric-predictive-validity-BXJ92Jp_.js.map +1 -0
  171. package/dist/{rubric-predictive-validity-C9wc7f_D.d.ts → rubric-predictive-validity-DH94_0Q1.d.ts} +3 -56
  172. package/dist/rubric-predictive-validity-DH94_0Q1.d.ts.map +1 -0
  173. package/dist/{run-improvement-loop-BfwOUudy.d.ts → run-improvement-loop-BaPDVbW8.d.ts} +384 -11
  174. package/dist/run-improvement-loop-BaPDVbW8.d.ts.map +1 -0
  175. package/dist/{run-record-Bqg0NZ_e.js → run-record-CuO8ErrI.js} +3 -2
  176. package/dist/run-record-CuO8ErrI.js.map +1 -0
  177. package/dist/{runtime-rollouts-drQynu3t.js → runtime-rollouts-Vv-BAqmq.js} +2 -2
  178. package/dist/{runtime-rollouts-drQynu3t.js.map → runtime-rollouts-Vv-BAqmq.js.map} +1 -1
  179. package/dist/search/index.d.ts +2 -2
  180. package/dist/search/index.js +2 -2
  181. package/dist/{search-kernel-DJq9bUDU.d.ts → search-kernel-BzTeb89p.d.ts} +3 -3
  182. package/dist/{search-kernel-DJq9bUDU.d.ts.map → search-kernel-BzTeb89p.d.ts.map} +1 -1
  183. package/dist/{pareto-Bg75Gajo.js → search-kernel-DOPW08Hx.js} +6 -88
  184. package/dist/search-kernel-DOPW08Hx.js.map +1 -0
  185. package/dist/{search-summary-B1x1Vmzh.js → search-summary-CYOHZAAy.js} +4 -4
  186. package/dist/{search-summary-B1x1Vmzh.js.map → search-summary-CYOHZAAy.js.map} +1 -1
  187. package/dist/{define-agent-eval-B6uE3gNu.js → self-improve-CIFqccHV.js} +8 -97
  188. package/dist/self-improve-CIFqccHV.js.map +1 -0
  189. package/dist/{define-agent-eval-Cjc0wWnO.d.ts → self-improve-DY8ZY4lY.d.ts} +8 -54
  190. package/dist/self-improve-DY8ZY4lY.d.ts.map +1 -0
  191. package/dist/{sequential-BhbTSxpt.d.ts → sequential-B9iROM1S.d.ts} +2 -2
  192. package/dist/{sequential-BhbTSxpt.d.ts.map → sequential-B9iROM1S.d.ts.map} +1 -1
  193. package/dist/{sequential-ux_XrjBf.js → sequential-tZjGysXY.js} +3 -3
  194. package/dist/{sequential-ux_XrjBf.js.map → sequential-tZjGysXY.js.map} +1 -1
  195. package/dist/{skillopt-optimization-method-D_swD0Cy.js → skillopt-optimization-method-CbHBkopM.js} +9 -8
  196. package/dist/{skillopt-optimization-method-D_swD0Cy.js.map → skillopt-optimization-method-CbHBkopM.js.map} +1 -1
  197. package/dist/{statistical-heldout-CaS4T-43.js → statistical-heldout-C7Jjo5nP.js} +3 -3
  198. package/dist/{statistical-heldout-CaS4T-43.js.map → statistical-heldout-C7Jjo5nP.js.map} +1 -1
  199. package/dist/{statistics-DSidA5I2.js → statistics-BPl13X3G.js} +208 -700
  200. package/dist/statistics-BPl13X3G.js.map +1 -0
  201. package/dist/statistics.d.ts +3 -3
  202. package/dist/statistics.js +3 -2
  203. package/dist/{store-tool-spans-DniaFwjM.d.ts → store-tool-spans-Dq8r0PbJ.d.ts} +4 -4
  204. package/dist/{store-tool-spans-DniaFwjM.d.ts.map → store-tool-spans-Dq8r0PbJ.d.ts.map} +1 -1
  205. package/dist/{summary-report-CI4J6gxU.js → summary-report-DzbnK81K.js} +15 -7
  206. package/dist/summary-report-DzbnK81K.js.map +1 -0
  207. package/dist/summary-report-figures-CJHygLgw.d.ts.map +1 -1
  208. package/dist/supervisor-run/index.d.ts +1 -1
  209. package/dist/supervisor-run/index.js +1 -1
  210. package/dist/{systemone-DzY-2Zri.d.ts → systemone-BuSZTI88.d.ts} +8 -7
  211. package/dist/systemone-BuSZTI88.d.ts.map +1 -0
  212. package/dist/{systemone-review-CXecR_m-.d.ts → systemone-review-mlfxWdLz.d.ts} +2 -2
  213. package/dist/{systemone-review-CXecR_m-.d.ts.map → systemone-review-mlfxWdLz.d.ts.map} +1 -1
  214. package/dist/systemone.d.ts +3 -3
  215. package/dist/systemone.js +1 -1
  216. package/dist/{tool-groups-DF6OqhoG.d.ts → tool-groups-PNDX8fd-.d.ts} +2 -2
  217. package/dist/tool-groups-PNDX8fd-.d.ts.map +1 -0
  218. package/dist/{tool-waste-u7JJ_BlE.js → tool-waste-783VCo1y.js} +3 -2
  219. package/dist/{tool-waste-u7JJ_BlE.js.map → tool-waste-783VCo1y.js.map} +1 -1
  220. package/dist/tool-waste-B01AMpID.d.ts +121 -0
  221. package/dist/tool-waste-B01AMpID.d.ts.map +1 -0
  222. package/dist/{trace-questions-DO8y3J-E.d.ts → trace-questions-DBtr4jWi.d.ts} +2 -2
  223. package/dist/{trace-questions-DO8y3J-E.d.ts.map → trace-questions-DBtr4jWi.d.ts.map} +1 -1
  224. package/dist/trace-repair/index.d.ts +1 -1
  225. package/dist/trace-repair/index.js +1 -1
  226. package/dist/traces.d.ts +4 -4
  227. package/dist/traces.js +1 -1
  228. package/dist/trajectory-B3o6Ald_.d.ts +100 -0
  229. package/dist/trajectory-B3o6Ald_.d.ts.map +1 -0
  230. package/dist/trajectory-replay/index.js +1 -1
  231. package/dist/{tree-DQMlcNFI.js → tree-CtlQQL1w.js} +6 -4
  232. package/dist/{tree-DQMlcNFI.js.map → tree-CtlQQL1w.js.map} +1 -1
  233. package/dist/{types-BMSDkS8l.d.ts → types-BO948H-U.d.ts} +7 -4
  234. package/dist/{types-BMSDkS8l.d.ts.map → types-BO948H-U.d.ts.map} +1 -1
  235. package/dist/{types-fuOwNq1C.d.ts → types-CKNAzCSA.d.ts} +3 -2
  236. package/dist/types-CKNAzCSA.d.ts.map +1 -0
  237. package/dist/{types-BLv2Ngla.d.ts → types-D-WF1KM3.d.ts} +2 -2
  238. package/dist/{types-BLv2Ngla.d.ts.map → types-D-WF1KM3.d.ts.map} +1 -1
  239. package/dist/types-DK4vNv5q.js.map +1 -1
  240. package/dist/{types-D_PfKC59.d.ts → types-DbeIGi73.d.ts} +2 -2
  241. package/dist/{types-D_PfKC59.d.ts.map → types-DbeIGi73.d.ts.map} +1 -1
  242. package/dist/wire/index.d.ts +4 -4
  243. package/dist/world/index.d.ts +529 -0
  244. package/dist/world/index.d.ts.map +1 -0
  245. package/dist/world/index.js +1356 -0
  246. package/dist/world/index.js.map +1 -0
  247. package/docs/campaign-proposers.md +7 -0
  248. package/docs/concepts.md +2 -0
  249. package/docs/design/statistics-decisions.md +31 -0
  250. package/docs/eval-surface-map.md +4 -1
  251. package/docs/feature-guide.md +2 -0
  252. package/docs/multi-turn-optimization.md +80 -0
  253. package/docs/outcome-validity.md +69 -0
  254. package/docs/public-api.md +86 -31
  255. package/docs/world.md +104 -0
  256. package/package.json +6 -1
  257. package/dist/analyze-runs-xjKBBqIB.d.ts.map +0 -1
  258. package/dist/benchmark-command-DkBMUDwy.js.map +0 -1
  259. package/dist/campaign-DfSWSreo.js.map +0 -1
  260. package/dist/cluster-Bj90LK-1.d.ts.map +0 -1
  261. package/dist/define-agent-eval-B6uE3gNu.js.map +0 -1
  262. package/dist/define-agent-eval-Cjc0wWnO.d.ts.map +0 -1
  263. package/dist/external-optimizer-subprocess-BW0ZWUUr.js.map +0 -1
  264. package/dist/index-C6TG1LwA.d.ts.map +0 -1
  265. package/dist/index-CKjqN9_U.d.ts.map +0 -1
  266. package/dist/index-DAFZRMlF.d.ts.map +0 -1
  267. package/dist/index-xEM_SoCl.d.ts.map +0 -1
  268. package/dist/interval-CWyxqDpE.d.ts +0 -43
  269. package/dist/interval-CWyxqDpE.d.ts.map +0 -1
  270. package/dist/llm-judge-DQJTQx01.js.map +0 -1
  271. package/dist/matrix-CqZSpwgN.d.ts.map +0 -1
  272. package/dist/outcome-observations-DL3CC8w1.js.map +0 -1
  273. package/dist/pareto-Bg75Gajo.js.map +0 -1
  274. package/dist/rubric-predictive-validity--6z0q8s6.js.map +0 -1
  275. package/dist/rubric-predictive-validity-C9wc7f_D.d.ts.map +0 -1
  276. package/dist/run-improvement-loop-BfwOUudy.d.ts.map +0 -1
  277. package/dist/run-record-Bqg0NZ_e.js.map +0 -1
  278. package/dist/sequential-BphITa5b.js.map +0 -1
  279. package/dist/statistics-DSidA5I2.js.map +0 -1
  280. package/dist/summary-report-CI4J6gxU.js.map +0 -1
  281. package/dist/systemone-DzY-2Zri.d.ts.map +0 -1
  282. package/dist/tool-groups-DF6OqhoG.d.ts.map +0 -1
  283. package/dist/tool-waste-CIhtU1ad.d.ts +0 -217
  284. package/dist/tool-waste-CIhtU1ad.d.ts.map +0 -1
  285. package/dist/types-fuOwNq1C.d.ts.map +0 -1
@@ -1,11 +1,11 @@
1
1
  import { m as CustomTokenPricing, o as CostLedgerHandle } from "./cost-ledger-CSP-OfFe.js";
2
- import { W as TraceAnalysisEngine, i as AnalystFinding, n as AnalystContext } from "./types-fuOwNq1C.js";
3
- import { G as LlmThinkingMode, O as ChatClient } from "./cluster-Bj90LK-1.js";
4
- import { S as ExternalOptimizerModelExecutionObservation, T as ExternalOptimizerRunnerCommand, p as ExternalOptimizerCallbackLimits, y as ExternalOptimizerModelCall } from "./agent-profile-CRdalpZv.js";
2
+ import { W as TraceAnalysisEngine, i as AnalystFinding, n as AnalystContext } from "./types-CKNAzCSA.js";
3
+ import { n as ChatClient, y as LlmThinkingMode } from "./chat-client-uQNXGuO4.js";
4
+ import { S as ExternalOptimizerModelExecutionObservation, T as ExternalOptimizerRunnerCommand, p as ExternalOptimizerCallbackLimits, y as ExternalOptimizerModelCall } from "./agent-profile-ORN4aArD.js";
5
5
  import { o as Severity } from "./multi-layer-verifier-lM4aVN78.js";
6
- import { i as TraceAnalystDefinition } from "./default-registry-xoX0PMCb.js";
7
- import { l as ExactCapableAnalyst } from "./exact-types-DjuabhUV.js";
8
- import { b as SupervisorRunSources, x as SupervisorRunTree } from "./types-BLv2Ngla.js";
6
+ import { i as TraceAnalystDefinition } from "./default-registry-Bskl2HzV.js";
7
+ import { l as ExactCapableAnalyst } from "./exact-types-CUsSMW3n.js";
8
+ import { b as SupervisorRunSources, x as SupervisorRunTree } from "./types-D-WF1KM3.js";
9
9
  /**
10
10
  * Implementation complexity class for weighted scoring.
11
11
  *
@@ -397,4 +397,4 @@ declare const KNOWLEDGE_POISONING_KIND_SPEC: TraceAnalystDefinition;
397
397
  */
398
398
  declare const DEFAULT_TRACE_ANALYST_KINDS: readonly TraceAnalystDefinition[];
399
399
  export { SEMANTIC_CONCEPT_JUDGE_VERSION as C, runSemanticConceptJudge as D, SemanticConceptJudgeResult as E, ConceptSpec as S, SemanticConceptJudgeOptions as T, DspyRlmTraceEngineOptions as _, FAILURE_MODE_KIND_SPEC as a, createChatTraceEngine as b, emitControlIntegrityFindings as c, FindingSubject as d, FindingSubjectKind as f, renderFindingSubject as g, parseFindingSubject as h, IMPROVEMENT_KIND_SPEC as i, FINDING_SUBJECT_KINDS as l, findingSubjectGrammarPromptFor as m, KNOWLEDGE_POISONING_KIND_SPEC as n, CONTROL_INTEGRITY_ANALYST as o, KIND_EXPECTED_SUBJECTS as p, KNOWLEDGE_GAP_KIND_SPEC as r, ControlIntegrityAnalyst as s, DEFAULT_TRACE_ANALYST_KINDS as t, FINDING_SUBJECT_SYNTAX as u, createDspyRlmTraceEngine as v, SemanticConceptJudgeInput as w, ConceptFinding as x, ChatTraceEngineOptions as y };
400
- //# sourceMappingURL=index-DKpMyD_Z.d.ts.map
400
+ //# sourceMappingURL=index--vDCtdaj.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-DKpMyD_Z.d.ts","names":[],"sources":["../src/semantic-concept-judge.ts","../src/analyst/chat-trace-engine.ts","../src/analyst/trace-tool-callback.ts","../src/analyst/dspy-rlm-engine.ts","../src/analyst/finding-subject.ts","../src/analyst/kinds/control-integrity.ts","../src/analyst/kinds/failure-mode.ts","../src/analyst/kinds/improvement.ts","../src/analyst/kinds/knowledge-gap.ts","../src/analyst/kinds/knowledge-poisoning.ts","../src/analyst/kinds/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAuDY;UAEK;EACf;;EAEA;;EAEA;;EAEA,aAAa;;UAGE;EACf;EACA;;EAEA;EACA;EACA,UAAU;;UAGK;;EAEf;;EAEA;;EAEA,aAAa;IAAQ;IAAc;;;EAEnC,kBAAkB;;EAElB;EACA;;UAGe;EACf;EACA;;EAEA;EACA;EACA;EACA,UAAU;EACV;EACA;EACA;;EAEA;EACA;;;;;;;;KASU;UAQK;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,MAAM;;EAEN,UAAU;EACV,aAAa;EACb;EACA,WAAW;EACX,SAAS;;;;;;EAMT,iBAAiB;;EAEjB,oBAAoB,QAAQ,OAAO;;cAKxB;;;;;;iBAiGS,wBACpB,OAA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GvB,yBAAyB;cCPzB,+BAA+B;;;;;;;;;;cCP/B,sCAAsC"}
1
+ {"version":3,"file":"index--vDCtdaj.d.ts","names":[],"sources":["../src/semantic-concept-judge.ts","../src/analyst/chat-trace-engine.ts","../src/analyst/trace-tool-callback.ts","../src/analyst/dspy-rlm-engine.ts","../src/analyst/finding-subject.ts","../src/analyst/kinds/control-integrity.ts","../src/analyst/kinds/failure-mode.ts","../src/analyst/kinds/improvement.ts","../src/analyst/kinds/knowledge-gap.ts","../src/analyst/kinds/knowledge-poisoning.ts","../src/analyst/kinds/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAuDY;UAEK;EACf;;EAEA;;EAEA;;EAEA,aAAa;;UAGE;EACf;EACA;;EAEA;EACA;EACA,UAAU;;UAGK;;EAEf;;EAEA;;EAEA,aAAa;IAAQ;IAAc;;;EAEnC,kBAAkB;;EAElB;EACA;;UAGe;EACf;EACA;;EAEA;EACA;EACA;EACA,UAAU;EACV;EACA;EACA;;EAEA;EACA;;;;;;;;KASU;UAQK;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,MAAM;;EAEN,UAAU;EACV,aAAa;EACb;EACA,WAAW;EACX,SAAS;;;;;;EAMT,iBAAiB;;EAEjB,oBAAoB,QAAQ,OAAO;;cAKxB;;;;;;iBAiGS,wBACpB,OAAO,2BACP,SAAS,8BACR,QAAQ;UC9LM;;;;;EAKf,MAAM;;EAEN;;EAEA,UAAU;;EAEV;;EAEA;;EAEA,WAAW;;EAEX;;;;;;;;;;EAUA;;;;;;iBAkCc,sBAAsB,SAAS,yBAAyB;KCtG5D,0BAA0B;UCYrB;;EAEf,MAAM;;EAEN;;EAEA,kBAAkB,aAAa;EAC/B;;EAEA,UAAU;;EAEV;;EAEA;;;;;;EAMA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,kBAAkB,QAAQ;;EAE1B;;;;;;;;;;EAUA;;EAEA,SAAS;;EAET;;;iBAIc,yBAAyB,SAAS,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KCvClE;EAEN;EAAwB;EAAc;;EACtC;EAAyB;;EACzB;EAAuB;;EACvB;EAAyB;;EAGzB;EAAuB;;EACvB;EAAe;;EACf;EAAkB;EAAc;;EAChC;EAAkB;;EAClB;EAAa;EAAgB;;EAC7B;EAAc;;EACd;EAAkB;;EAClB;EAAkB;;EAClB;EAAwB;;EACxB;EAAuB;;EACvB;EAAc;;EACd;EAAa;EAAgB;;EAC7B;EAAgB;;EAChB;EAAqB;;EACrB;EAAuB;;EAEvB;EAA4B;;EAC5B;EAA2B;;EAE3B;EAAiB;;KAEX,qBAAqB;cAEpB,uBAAuB,cAAc;;;;;;;;;;;;;;;;;iBAwFlC,oBAAoB,iCAAiC;;;;;;;iBAoHrD,qBAAqB,GAAG;;;;;;;;;;cA8D3B,wBAAwB,SAAS,OAAO;;;;;;;;;cAoExC,wBAAwB,eAAe,cAAc;;iBAqElD,+BAA+B;;iBCrc/B,6BACd,OAAO,uBAAuB,mBAC9B,qBACC;;cA4BU,mCACA,oBAAoB,uBAAuB;WAE7C;WACA;WAEA;WACA;;;;WACA;WACA;;;;EAKH,QACJ,OAAO,uBAAuB,mBAC9B,KAAK,iBACJ,QAAQ;;cAUA,2BAAyB;cCHzB,wBAAwB;cC3BxB,uBAAuB;cCGvB,yBAAyB;cCPzB,+BAA+B;;;;;;;;;;cCP/B,sCAAsC"}
@@ -1,4 +1,4 @@
1
- import { p as DimensionJudgeScore, t as BootstrapInterval } from "./cluster-Bj90LK-1.js";
1
+ import { p as DimensionJudgeScore, t as BootstrapInterval } from "./cluster-C-K0N2br.js";
2
2
  import { i as ContinuousAgreementOptions, r as ContinuousAgreement } from "./judge-calibration-DnrbQaXI.js";
3
3
  /**
4
4
  * Inter-rater reliability — Krippendorff's α under the squared-difference
@@ -106,6 +106,81 @@ interface NominalAgreementOptions {
106
106
  * near miss counts as a miss; use `calibrateJudge` for ordinal scores.
107
107
  */
108
108
  declare function nominalAgreement(pairs: ReadonlyArray<readonly [string, string]>, options?: NominalAgreementOptions): NominalAgreement;
109
+ /** One observation of a score and an outcome, and the independent unit it belongs to. */
110
+ interface ClusteredAssociationRow {
111
+ x: number;
112
+ /** 0 or 1 for `auc`; any finite value for `spearman`. */
113
+ y: number;
114
+ unit: string;
115
+ }
116
+ interface ClusteredAssociationOptions {
117
+ /** `auc`: probability a 1 outranks a 0 on x (null 0.5). `spearman`: rank correlation (null 0). */
118
+ statistic: 'auc' | 'spearman';
119
+ /**
120
+ * `pooled` compares rows across all units. `within-unit` compares rows only
121
+ * inside each unit and averages the units, weighting each by its comparable
122
+ * pairs, so differences between units cannot move it. Default `pooled`.
123
+ */
124
+ scope?: 'pooled' | 'within-unit';
125
+ /** `greater` tests only for an association above the null. Default `two-sided`. */
126
+ alternative?: 'two-sided' | 'greater';
127
+ /** Whole-unit resamples. Default 1000. */
128
+ resamples?: number;
129
+ /** Percentile interval level. Default 0.95. */
130
+ confidence?: number;
131
+ /** Absent, the seed is derived from the rows, so the same rows give the same result. */
132
+ seed?: number;
133
+ }
134
+ interface ClusteredAssociation {
135
+ statistic: 'auc' | 'spearman';
136
+ scope: 'pooled' | 'within-unit';
137
+ alternative: 'two-sided' | 'greater';
138
+ /** Rows and distinct units the estimate reads; within a unit, only units with a comparable pair. */
139
+ n: number;
140
+ units: number;
141
+ estimate: number;
142
+ /** Value of the statistic under no association. */
143
+ null: number;
144
+ /** Standard deviation of the statistic over whole-unit resamples. */
145
+ standardError: number;
146
+ /** Percentile interval over the same resamples. */
147
+ low: number;
148
+ high: number;
149
+ confidence: number;
150
+ /** p-value of `(estimate - null) / standardError` on Student-t with `units - 1` degrees of freedom, under `alternative`. */
151
+ pValue: number;
152
+ resamples: number;
153
+ /** Resamples whose statistic was defined; a resample with one outcome class or a constant side is omitted. */
154
+ definedResamples: number;
155
+ }
156
+ /**
157
+ * Association between a score and an outcome when rows share independent units.
158
+ *
159
+ * The interval and the standard error come from resampling whole units, never
160
+ * rows: rows of one unit share whatever makes that unit differ, and a row
161
+ * resample counts them as independent evidence. The p-value is a Wald test on
162
+ * that standard error with `units - 1` degrees of freedom, so it stays
163
+ * continuous for a false-discovery correction across many measures instead of
164
+ * stopping at the bootstrap's `1 / resamples` floor. When every defined
165
+ * resample gives the same value the standard error is zero and the p-value
166
+ * falls back to `1 / (definedResamples + 1)` for an estimate on the tested
167
+ * side of the null, and 1 otherwise.
168
+ *
169
+ * The within-unit scope answers whether the score separates rows of the same
170
+ * unit: AUC inside each unit weighted by its positive-negative pairs, or
171
+ * Spearman inside each unit weighted by its row pairs, where a score constant
172
+ * inside a unit counts as no association there.
173
+ */
174
+ declare function clusteredAssociation(rows: readonly ClusteredAssociationRow[], options: ClusteredAssociationOptions): ClusteredAssociation;
175
+ /**
176
+ * The point statistic alone, pooled across units or within them; NaN when it
177
+ * is undefined on these rows. Within units it needs `unit` on every row.
178
+ */
179
+ declare function associationEstimate(statistic: 'auc' | 'spearman', rows: readonly {
180
+ x: number;
181
+ y: number;
182
+ unit?: string;
183
+ }[], scope?: 'pooled' | 'within-unit'): number;
109
184
  /** One paired difference (treatment minus control) and the cluster it belongs to. */
110
185
  interface ClusteredPair {
111
186
  cluster: string;
@@ -639,6 +714,17 @@ declare function pairedBinaryScale(before: ArrayLike<number>, after: ArrayLike<n
639
714
  * form. Requires 1 ≤ k ≤ n and 0 ≤ c ≤ n.
640
715
  */
641
716
  declare function passAtK(n: number, c: number, k: number): number;
717
+ /**
718
+ * Unbiased pass^k (Yao et al. 2024, τ-bench): the probability that every one
719
+ * of a random k of the `n` independent attempts at one task passes, given `c`
720
+ * of them passed — C(c, k) / C(n, k). With n = k it is 1 when all k passed and
721
+ * 0 otherwise: success in all k of k repeats. pass@k rewards one lucky attempt;
722
+ * pass^k charges every unreliable one, so the two diverge exactly on tasks that
723
+ * pass in some repeats only. Average the per-task values across the suite.
724
+ * Shares `passAtK`'s argument rules; computed in product form, so no factorial
725
+ * overflows.
726
+ */
727
+ declare function passHatK(n: number, c: number, k: number): number;
642
728
  /**
643
729
  * Paired significance tests on continuous scores: the paired t-test, the
644
730
  * promotion-gate paired bootstrap, the exact sign test, and the package-wide
@@ -1040,5 +1126,5 @@ interface EProcess {
1040
1126
  * the decision time is the first crossing.
1041
1127
  */
1042
1128
  declare function eProcess(opts?: EProcessOptions): EProcess;
1043
- export { chiSquaredPValue as $, pairedBootstrap as A, ClusteredBinaryDesign as At, independentRiskDifference as B, CorpusAgreementPerDimension as Bt, BOOTSTRAP_GATE_MIN_N as C, ranks as Ct, PairedSignTestResult as D, weightedComposite as Dt, PairedBootstrapResult as E, summarizeNumberSeries as Et, IndependentRiskDifferenceResult as F, clusterSignFlipTest as Ft, pairedRiskDifferenceScore as G, corpusInterRaterAgreement as Gt, pairedBinaryScale as H, CorpusScoreRecord as Ht, McNemarResult as I, clusteredBinaryMde as It, benjaminiHochberg as J, nominalAgreement as Jt, passAtK as K, corpusInterRaterAgreementFromJudgeScores as Kt, ProportionInterval as L, clusteredPairedContrast as Lt, pairedSignTest as M, ClusteredPairedContrast as Mt, pairedTTest as N, JackknifeInterval as Nt, PairedTTestResult as O, weightedMean as Ot, ExactRiskDifferenceResult as P, clusterJackknife as Pt, chiSquared as Q, RiskDifferenceResult as R, simulateClusteredBinaryContrast as Rt, requiredSampleSize as S, pearsonR as St, PairedBootstrapOptions as T, studentTCritical as Tt, pairedRiskDifference as U, NominalAgreement as Ut, mcnemar as V, CorpusAgreementReport as Vt, pairedRiskDifferenceExact as W, NominalAgreementOptions as Wt, holm as X, bonferroni as Y, LinearRegressionResult as Z, mulberry32 as _, WeightedCompositeInput as _t, eProcess as a, CliffsMagnitude as at, pairedMde as b, meanConfidenceInterval as bt, sampleMedian as c, interpretCliffs as ct, RankTestMethod as d, SampleDistribution as dt, fisherExactTwoSided as et, RankTestMethodRequest as f, percentileNearestRank as ft, wilcoxonSignedRank as g, SeriesDistributionOptions as gt, mannWhitneyU as h, SeriesDistribution as ht, EProcessStep as i, twoByTwoPValue as it, pairedDeltaTieFraction as j, ClusteredPair as jt, SignTestAlternative as k, rocAuc as kt, summarizeSample as l, pairedCohensDz as lt, WilcoxonSignedRankResult as m, MeanConfidenceInterval as mt, EProcessOptions as n, normalTwoSidedPValue as nt, SampleSummary as o, cliffsDelta as ot, RankTestOptions as p, summarizeDistribution as pt, wilson as q, interRaterReliability as qt, EProcessState as r, studentTTwoSidedPValue as rt, SampleSummaryOptions as s, cohensD as st, EProcess as t, linearRegressionSlope as tt, MannWhitneyResult as u, DistributionSummaryOptions as ut, mcnemarPower as v, WeightedCompositeResult as vt, DECISION_PAIRED_DELTA_STATISTIC as w, spearmanR as wt, requiredPairedSampleSize as x, partialCredit as xt, mcnemarRequiredN as y, confidenceInterval as yt, ScoreRiskDifferenceResult as z, CorpusAgreementOptions as zt };
1044
- //# sourceMappingURL=index-CKjqN9_U.d.ts.map
1129
+ export { chiSquared as $, interRaterReliability as $t, pairedBootstrap as A, rocAuc as At, independentRiskDifference as B, ClusteredAssociation as Bt, BOOTSTRAP_GATE_MIN_N as C, pearsonR as Ct, PairedSignTestResult as D, summarizeNumberSeries as Dt, PairedBootstrapResult as E, studentTCritical as Et, IndependentRiskDifferenceResult as F, clusterJackknife as Ft, pairedRiskDifferenceScore as G, CorpusAgreementOptions as Gt, pairedBinaryScale as H, ClusteredAssociationRow as Ht, McNemarResult as I, clusterSignFlipTest as It, wilson as J, CorpusScoreRecord as Jt, passAtK as K, CorpusAgreementPerDimension as Kt, ProportionInterval as L, clusteredBinaryMde as Lt, pairedSignTest as M, ClusteredPair as Mt, pairedTTest as N, ClusteredPairedContrast as Nt, PairedTTestResult as O, weightedComposite as Ot, ExactRiskDifferenceResult as P, JackknifeInterval as Pt, LinearRegressionResult as Q, corpusInterRaterAgreementFromJudgeScores as Qt, RiskDifferenceResult as R, clusteredPairedContrast as Rt, requiredSampleSize as S, partialCredit as St, PairedBootstrapOptions as T, spearmanR as Tt, pairedRiskDifference as U, associationEstimate as Ut, mcnemar as V, ClusteredAssociationOptions as Vt, pairedRiskDifferenceExact as W, clusteredAssociation as Wt, bonferroni as X, NominalAgreementOptions as Xt, benjaminiHochberg as Y, NominalAgreement as Yt, holm as Z, corpusInterRaterAgreement as Zt, mulberry32 as _, SeriesDistributionOptions as _t, eProcess as a, twoByTwoPValue as at, pairedMde as b, confidenceInterval as bt, sampleMedian as c, cohensD as ct, RankTestMethod as d, DistributionSummaryOptions as dt, nominalAgreement as en, chiSquaredPValue as et, RankTestMethodRequest as f, SampleDistribution as ft, wilcoxonSignedRank as g, SeriesDistribution as gt, mannWhitneyU as h, MeanConfidenceInterval as ht, EProcessStep as i, studentTTwoSidedPValue as it, pairedDeltaTieFraction as j, ClusteredBinaryDesign as jt, SignTestAlternative as k, weightedMean as kt, summarizeSample as l, interpretCliffs as lt, WilcoxonSignedRankResult as m, summarizeDistribution as mt, EProcessOptions as n, linearRegressionSlope as nt, SampleSummary as o, CliffsMagnitude as ot, RankTestOptions as p, percentileNearestRank as pt, passHatK as q, CorpusAgreementReport as qt, EProcessState as r, normalTwoSidedPValue as rt, SampleSummaryOptions as s, cliffsDelta as st, EProcess as t, fisherExactTwoSided as tt, MannWhitneyResult as u, pairedCohensDz as ut, mcnemarPower as v, WeightedCompositeInput as vt, DECISION_PAIRED_DELTA_STATISTIC as w, ranks as wt, requiredPairedSampleSize as x, meanConfidenceInterval as xt, mcnemarRequiredN as y, WeightedCompositeResult as yt, ScoreRiskDifferenceResult as z, simulateClusteredBinaryContrast as zt };
1130
+ //# sourceMappingURL=index-CIqYaySd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-CIqYaySd.d.ts","names":[],"sources":["../src/statistics/agreement-irr.ts","../src/statistics/clustered-association.ts","../src/statistics/clustered-paired.ts","../src/statistics/comparison-effects.ts","../src/statistics/descriptive.ts","../src/statistics/distribution-summary.ts","../src/statistics/effect-sizes.ts","../src/statistics/inference.ts","../src/statistics/multiplicity.ts","../src/statistics/paired-binary.ts","../src/statistics/paired-tests.ts","../src/statistics/power-and-mde.ts","../src/statistics/random.ts","../src/statistics/rank-tests.ts","../src/statistics/samples.ts","../src/statistics/sequential-eprocess.ts"],"mappings":";;;;;;;;;;;;;;;;;;;iBA0BgB,sBAAsB,aAAa;UA2DlC;;EAEf;;EAEA;;EAEA;;EAEA;;UAGe,oCAAoC;EACnD;;EAEA;;EAEA;;UAGe;;EAEf,cAAc;;EAEd;;EAEA;;EAEA;;EAEA;;UAGe,+BAA+B;;EAE9C;;EAEA;;;;;;;;;;;;;;iBAec,0BACd,SAAS,qBACT,OAAM,yBACL;;;;;;;;;iBAgHa,yCACd,aAAa;EAAQ;EAAgB,QAAQ;IAC7C,OAAM,yBACL;;UAuBc;;EAEf;;EAEA;;;;;;;EAOA;;EAEA,SAAS;;UAGM;;EAEf;;EAEA;EACA;;;;;;iBAOc,iBACd,OAAO,0CACP,UAAS,0BACR;;UC3Sc;EACf;;EAEA;EACA;;UAGe;;EAEf;;;;;;EAMA;;EAEA;;EAEA;;EAEA;;EAEA;;UAGe;EACf;EACA;EACA;;EAEA;EACA;EACA;;EAEA;;EAEA;;EAEA;EACA;EACA;;EAEA;EACA;;EAEA;;;;;;;;;;;;;;;;;;;;iBAqBc,qBACd,eAAe,2BACf,SAAS,8BACR;;;;;iBAyGa,oBACd,+BACA;EAAiB;EAAW;EAAW;KACvC;;UCtLe;EACf;EACA;;UAGe;EACf;EACA;EACA;EACA;;UAGe,gCAAgC;EAC/C;;EAEA;;;;;;iBAkBc,iBAAiB,GAC/B,gBAAgB,KAChB,UAAU,MAAM,GAAG,0BACnB,YAAY,QAAQ,kBAClB;EAAkB;IACnB;;;;;;iBA+Ba,oBACd,gBAAgB,mBACd,WAAkB;EAAc;EAAoB;;;iBA4BxC,wBACd,gBAAgB,mBACd,OAAc,WAAW;EAAU;EAAgB;EAAoB;IACxE;UAUc;;EAEf;EACA;EACA;;EAEA;EACA;EACA;;;;;;;iBA6Bc,qBACd,OACA,UACA,aACA,KACA,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AEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,aAAa;;EAEb;;;;;;;;;;;;;;;iBAgBc,eACd,gCACA,aAAa,sBACZ;;;iBAqCa,uBACd,QAAQ,mBACR,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4CI;;;;;;;iBC1RG,mBAAmB;EACjC;EACA;EACA;EACA;;;;;;;;;;;iBAsBc,yBAAyB;EACvC;EACA;EACA;EACA;;;;;;;;iBAkBc,UAAU;EACxB;EACA;EACA;EACA;;;;;;;;;;;;;;;;iBAyBc,iBAAiB;EAC/B;EACA;EACA;EACA;EACA;;;;;;;iBAyBc,aAAa;EAC3B;EACA;EACA;EACA;EACA;;;;;;iBCrHc,WAAW;KCMf;;KAGA;UAEK;;EAEf,SAAS;;EAET;;;EAGA;;UAYe;;EAEf;;EAEA;;EAEA;;EAEA,QAAQ;;EAER;;;;;;;;;;;;;;iBAec,aACd,aACA,aACA,OAAM,kBACL;UAuFc;;;EAGf;;EAEA;;EAEA,QAAQ;;EAER;;EAEA;;;;;;;;;;;;;;;iBAgBc,mBACd,kBACA,iBACA,OAAM,kBACL;UCnLc;EACf;EACA;EACA;;UAGe;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;IAAkB;IAAa;IAAc;IAAoB;;;;iBAInD,aAAa;;iBAMb,gBACd,2BACA,UAAS,uBACR;UCnCc;;;EAGf;;;;EAIA;;;;EAIA;;;;;;;;EAQA,SAAS;;UAGM;;EAEf;;EAEA;;EAEA;;;;;;;;;;UAWe,sBAAsB;EACrC;EACA;EACA;;EAEA;;EAEA;;EAEA;;;EAGA;;UAGe;;;EAGf,OAAO,YAAY;EACnB,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8BK,SAAS,OAAM,kBAAuB"}
@@ -1,136 +1,11 @@
1
1
  import { a as JudgeError } from "./errors-E9I2hldP.js";
2
- import { f as Run } from "./schema-CkIvnmLU.js";
3
- import { U as LlmClientOptions } from "./cluster-Bj90LK-1.js";
2
+ import { _ as LlmClientOptions } from "./chat-client-uQNXGuO4.js";
4
3
  import { a as ContinuousCalibrationResult, n as CandidateScore, o as GoldenItem, r as ContinuousAgreement, t as CalibrationResult } from "./judge-calibration-DnrbQaXI.js";
5
- import { Vt as CorpusAgreementReport } from "./index-CKjqN9_U.js";
4
+ import { Bt as ClusteredAssociation, qt as CorpusAgreementReport } from "./index-CIqYaySd.js";
6
5
  import { r as LedgerHash } from "./canonical-CGXS21f_.js";
7
- import { s as TraceStore } from "./store-CMs5wGXP.js";
8
- import { h as OutcomeStore, m as OutcomeFilter } from "./rubric-predictive-validity-C9wc7f_D.js";
9
- import { t as ComputedInterval } from "./interval-CWyxqDpE.js";
6
+ import { o as OutcomeStore } from "./outcome-store-CHtuvstd.js";
7
+ import { l as ComputedInterval, o as SealedMeasureValidityPlan, r as MeasureValidityPlan } from "./measure-validity-plan-B1_qYlsk.js";
10
8
  import { z } from "zod";
11
- interface EvalMetricSpec {
12
- id: string;
13
- /** Extract a scalar from a run. Omit it and `id` must name one of
14
- * `RUN_METRICS`; any other `id` is refused. */
15
- extract?: (run: Run, store: TraceStore) => Promise<number | null>;
16
- }
17
- interface OutcomePair {
18
- evalMetric: string;
19
- outcomeMetric: string;
20
- }
21
- interface CorrelationResult {
22
- evalMetric: string;
23
- outcomeMetric: string;
24
- n: number;
25
- pearson: number;
26
- spearman: number;
27
- /** 95% bootstrap CI for Pearson. */
28
- pearsonCi95: {
29
- lower: number;
30
- upper: number;
31
- } | null;
32
- /** 95% bootstrap CI for Spearman; null when no resample is estimable. */
33
- spearmanCi95: {
34
- lower: number;
35
- upper: number;
36
- } | null;
37
- /** Rough verdict: 'strong' ≥ 0.7, 'moderate' ≥ 0.4, else 'weak'. */
38
- verdict: 'strong' | 'moderate' | 'weak';
39
- }
40
- interface CorrelationStudyResult {
41
- pairs: CorrelationResult[];
42
- /** Declared pairs without an estimable correlation, including their usable sample count. */
43
- excludedPairs: Array<OutcomePair & {
44
- n: number;
45
- reason: 'insufficient_samples' | 'constant_eval_metric' | 'constant_outcome';
46
- }>;
47
- joinedSamples: number;
48
- skippedRuns: number;
49
- }
50
- interface CorrelationStudyOptions {
51
- /** Only join outcomes captured within this window after run.startedAt. */
52
- maxCaptureLagMs?: number;
53
- /** Restrict to a subset of outcomes (cohort, region, source). */
54
- outcomeFilter?: OutcomeFilter;
55
- /** Which outcome per run to use when multiple exist. Default 'latest'. */
56
- reduction?: 'latest' | 'mean' | 'max';
57
- /** Bootstrap iterations for the CI. Default 500. */
58
- bootstrapIterations?: number;
59
- /** Seed for the bootstrap resampler. Absent, the seed is derived from the
60
- * paired observations, so the same study reproduces the same interval. */
61
- seed?: number;
62
- }
63
- declare function correlationStudy(traceStore: TraceStore, outcomeStore: OutcomeStore, evalMetrics: EvalMetricSpec[], outcomeMetricNames: string[], options?: CorrelationStudyOptions): Promise<CorrelationStudyResult>;
64
- interface CalibrationBin {
65
- lower: number;
66
- upper: number;
67
- n: number;
68
- evalMean: number;
69
- outcomeMean: number;
70
- /** |outcomeMean − evalMean|; contributes to ECE weighted by n/total. */
71
- gap: number;
72
- }
73
- interface CalibrationReport {
74
- evalMetric: string;
75
- outcomeMetric: string;
76
- n: number;
77
- bins: CalibrationBin[];
78
- /** Expected Calibration Error — Σ (n_i/N) × |outcomeMean_i − evalMean_i|. */
79
- ece: number;
80
- /** Largest observed difference between a bin's mean score and mean outcome. */
81
- maxGap: number;
82
- }
83
- interface CalibrationOptions {
84
- /** Positive integer; empty bins are omitted. Default 10. */
85
- bins?: number;
86
- /** Equal-width (fixed bin edges) or equal-frequency (quantile bins). */
87
- binning?: 'equal-width' | 'equal-frequency';
88
- /** Clip eval values to [lo, hi] before binning. */
89
- range?: {
90
- lo: number;
91
- hi: number;
92
- };
93
- }
94
- interface CalibrationPair {
95
- evalScore: number;
96
- outcome: number;
97
- }
98
- declare function calibrationCurve(traceStore: TraceStore, outcomeStore: OutcomeStore, evalMetric: EvalMetricSpec, outcomeMetric: string, options?: CalibrationOptions): Promise<CalibrationReport | null>;
99
- /** Measure already joined observations without constructing trace and outcome stores. */
100
- declare function calibrationFromPairs(inputPairs: readonly CalibrationPair[], evalMetric: string, outcomeMetric: string, options?: CalibrationOptions): CalibrationReport | null;
101
- /**
102
- * Mean squared error of probability forecasts against binary outcomes, Σ(p − y)²/N; always
103
- * forecasting 0.5 scores 0.25. For the reliability table and ECE use `calibrationFromPairs`
104
- * with `range: { lo: 0, hi: 1 }` (`binning: 'equal-frequency'` gives equal-mass bins).
105
- */
106
- declare function brierScore(pairs: readonly CalibrationPair[]): number;
107
- /** One categorical forecast: a distribution over named outcomes and the outcome that occurred. */
108
- interface CategoricalForecast {
109
- /** Probability per outcome name. Must sum to 1 within 1e-6 and include `outcome`. */
110
- probabilities: Readonly<Record<string, number>>;
111
- outcome: string;
112
- }
113
- /**
114
- * Multiclass Brier score in its sum form, mean over forecasts of Σₖ(pₖ − yₖ)², range [0, 2].
115
- * With two outcomes it is twice the binary `brierScore`. A uniform forecast over K outcomes
116
- * scores 1 − 1/K. The distribution is not renormalized here: repair provider rounding before
117
- * scoring (`normalizeSystemOneResult` in `/systemone/protocol`), so a defective answer stays
118
- * visible instead of being scored as if it were valid.
119
- */
120
- declare function multiclassBrierScore(forecasts: readonly CategoricalForecast[]): number;
121
- /** One ordinal forecast: probabilities in level order, lowest level first. */
122
- interface OrdinalForecast {
123
- probabilities: readonly number[];
124
- /** Index into `probabilities` of the level that occurred. */
125
- outcome: number;
126
- }
127
- /**
128
- * Ranked probability score, mean over forecasts of Σₖ₌₁ᴷ⁻¹(Fₖ − Oₖ)² / (K − 1), where F and O are
129
- * the cumulative forecast and observation, range [0, 1]. Unlike multiclass Brier it charges
130
- * less for mass on a level next to the outcome than for mass far from it, which is the right
131
- * penalty for score questions. With two levels it equals the binary Brier score.
132
- */
133
- declare function rankedProbabilityScore(forecasts: readonly OrdinalForecast[]): number;
134
9
  /** One observation and the source cluster it belongs to. */
135
10
  interface ClusteredObservation {
136
11
  cluster: string;
@@ -826,6 +701,256 @@ interface JudgeCalibrationGate {
826
701
  declare function gateJudgeCalibration(perJudge: Record<string, Record<string, {
827
702
  calibration: CalibrationResult;
828
703
  }>>, config: JudgeCalibrationGateConfig): JudgeCalibrationGate;
704
+ /** A change and the numbers known when it was made. */
705
+ interface MeasuredChange {
706
+ /** Joins `DeploymentOutcome.runId`. */
707
+ id: string;
708
+ /** Epoch milliseconds when the change was made. */
709
+ at: number;
710
+ /** Independent unit, such as a repository, session or customer. Intervals resample whole units. */
711
+ unit: string;
712
+ /** Finite values; an absent key is unmeasured, never zero. */
713
+ measures: Record<string, number>;
714
+ /** The measure before and after the change, when both were recorded. */
715
+ movements?: Record<string, {
716
+ before: number;
717
+ after: number;
718
+ }>;
719
+ }
720
+ interface MeasureValidityInput {
721
+ plan: SealedMeasureValidityPlan;
722
+ changes: readonly MeasuredChange[];
723
+ outcomes: OutcomeStore;
724
+ }
725
+ type MeasureValidityReason = 'below-minimum-count' | 'too-few-units' | 'too-little-variation' | 'no-pre-cut-direction' | 'constant-after-cut' | 'not-significant' | 'direction-reversed' | 'within-unit-not-shown';
726
+ interface MeasureCoverage {
727
+ measure: string;
728
+ changes: number;
729
+ measured: number;
730
+ share: number;
731
+ preCut: {
732
+ changes: number;
733
+ measured: number;
734
+ };
735
+ postCut: {
736
+ changes: number;
737
+ measured: number;
738
+ };
739
+ /** Changes recording a before and after value. */
740
+ movements: number;
741
+ }
742
+ interface MeasureMovementValidity {
743
+ label: 'moves-with-outcome' | 'agreement-not-shown' | 'moves-against-outcome' | 'insensitive' | 'insufficient';
744
+ /** Changes after the cut that record a movement. */
745
+ changes: number;
746
+ units: number;
747
+ /** Changes whose `|after - before|` exceeds the declared noise. */
748
+ moved: number;
749
+ /** Share of changes that moved beyond noise, with a whole-unit interval. */
750
+ sensitivity: {
751
+ estimate: number;
752
+ low: number;
753
+ high: number;
754
+ } | null;
755
+ /**
756
+ * Among moved changes with an outcome, the AUC of the movement's direction
757
+ * (aligned to the measure's predictive direction) for the better outcome.
758
+ * This is balanced agreement: 0.5 under no relation whatever the base rates.
759
+ */
760
+ agreement: ClusteredAssociation | null;
761
+ qValue: number | null;
762
+ }
763
+ interface MeasureOutcomeValidity {
764
+ measure: string;
765
+ outcome: string;
766
+ statistic: 'auc' | 'spearman';
767
+ /**
768
+ * `predicts`: the pooled test and, where it can be estimated, the within-unit
769
+ * test pass. `predicts-pooled-only`: the pooled test passes and the
770
+ * within-unit test does not, so the ranking may come from differences between
771
+ * units rather than between changes. `not-shown`: tested and not admitted.
772
+ * `insufficient`: not tested; `reason` says why.
773
+ */
774
+ label: 'predicts' | 'predicts-pooled-only' | 'not-shown' | 'insufficient';
775
+ reason: MeasureValidityReason | null;
776
+ /** Which end of the measure predicts the better outcome, fixed before the cut. */
777
+ direction: 'higher' | 'lower' | null;
778
+ /** Before the cut, outcome known by the cut: the measure as recorded against the better outcome. */
779
+ preCut: {
780
+ n: number;
781
+ units: number;
782
+ estimate: number | null;
783
+ };
784
+ /**
785
+ * After the cut, measure aligned to its fixed direction: above the null
786
+ * favors the better outcome. Both tests are one-sided in that direction.
787
+ * `withinUnit` is null when no `minUnits` units hold a comparable pair.
788
+ */
789
+ postCut: {
790
+ n: number;
791
+ units: number;
792
+ /** Joined changes whose value differs from the measure's most common value. */
793
+ minority: number;
794
+ association: ClusteredAssociation | null;
795
+ qValue: number | null;
796
+ withinUnit: ClusteredAssociation | null;
797
+ withinUnitQValue: number | null;
798
+ };
799
+ /** Outcome capture time minus change time over the joined changes after the cut. */
800
+ leadTimeMs: {
801
+ median: number;
802
+ min: number;
803
+ max: number;
804
+ } | null;
805
+ movement: MeasureMovementValidity | null;
806
+ }
807
+ interface MeasureValidityReport {
808
+ planDigest: string;
809
+ plan: MeasureValidityPlan;
810
+ claim: {
811
+ causal: false;
812
+ scope: string;
813
+ causeRequires: string;
814
+ };
815
+ /** How every p-value feeding the false-discovery correction was computed. */
816
+ hypothesis: string;
817
+ changes: {
818
+ total: number;
819
+ preCut: number;
820
+ postCut: number;
821
+ };
822
+ units: {
823
+ preCut: number;
824
+ postCut: number;
825
+ both: number;
826
+ };
827
+ /** Outcome observations not joined, by reason. */
828
+ excludedObservations: {
829
+ capturedBeforeChange: number;
830
+ capturedAfterCutForPreCutChange: number;
831
+ beyondMaxCaptureLag: number;
832
+ };
833
+ coverage: MeasureCoverage[];
834
+ pairs: MeasureOutcomeValidity[];
835
+ /** Pairs given a pooled p-value: the false-discovery family. */
836
+ tested: number;
837
+ /** Tested pairs with a within-unit p-value: a second family at the same level. */
838
+ withinUnitTested: number;
839
+ /** Pairs labelled `predicts`. */
840
+ admitted: number;
841
+ /** Pairs whose movement agreement was tested: a second family at the same level. */
842
+ movementTested: number;
843
+ selections: MeasureSelection[];
844
+ }
845
+ /** Rank every planned measure against every planned outcome on changes after the cut. */
846
+ declare function measureValidityStudy(input: MeasureValidityInput): Promise<MeasureValidityReport>;
847
+ interface MeasureReference {
848
+ /** Before-cut median and robust scale; `z = direction * (x - center) / scale`. */
849
+ center: number;
850
+ scale: number;
851
+ /** Mean of the aligned `z` before the cut. */
852
+ meanZ: number;
853
+ }
854
+ interface ClimbedMeasure {
855
+ measure: string;
856
+ direction: 'higher' | 'lower';
857
+ /** Gain the measure added to the before-cut composite statistic; the first is its gain over the null. */
858
+ preCutGain: number;
859
+ postCutEstimate: number;
860
+ leadTimeMs: {
861
+ median: number;
862
+ min: number;
863
+ max: number;
864
+ } | null;
865
+ cost: number | null;
866
+ reference: MeasureReference;
867
+ }
868
+ interface GuardMeasure {
869
+ measure: string;
870
+ direction: 'higher' | 'lower';
871
+ reason: 'redundant' | 'no-gain' | 'size-limit';
872
+ redundantWith: string | null;
873
+ /** Largest absolute before-cut rank correlation with a climbed measure. */
874
+ correlation: number | null;
875
+ reference: MeasureReference;
876
+ }
877
+ interface MeasureSelection {
878
+ outcome: string;
879
+ climb: ClimbedMeasure[];
880
+ /** Admitted measures to keep unoptimized; a climbed measure drifting away from them is visible. */
881
+ guards: GuardMeasure[];
882
+ /**
883
+ * Measures admitted on the pooled test that cannot be climbed: they do not
884
+ * move under change, move against the outcome, or predict only across units.
885
+ */
886
+ excluded: Array<{
887
+ measure: string;
888
+ reason: 'insensitive' | 'moves-against-outcome' | 'pooled-only';
889
+ }>;
890
+ /**
891
+ * Equal-weight mean of the climbed measures' aligned z. The post-cut score
892
+ * reads the changes admission read, so it describes the subset; the next
893
+ * batch is its independent check.
894
+ */
895
+ composite: {
896
+ preCut: {
897
+ n: number;
898
+ estimate: number;
899
+ } | null;
900
+ postCut: ClusteredAssociation | null;
901
+ };
902
+ /** Before-cut outcome reference for drift checks on later batches. */
903
+ outcomeReference: {
904
+ kind: 'binary';
905
+ betterRate: number;
906
+ } | {
907
+ kind: 'continuous';
908
+ center: number;
909
+ scale: number;
910
+ meanZ: number;
911
+ } | null;
912
+ }
913
+ interface GuardDriftInput {
914
+ report: MeasureValidityReport;
915
+ outcome: string;
916
+ /** Changes made after the study, read against the study's before-cut references. */
917
+ batch: readonly MeasuredChange[];
918
+ /** Largest rise of a climbed measure over its guards, in before-cut scale units, that is not drift. */
919
+ tolerance: number;
920
+ /** Outcomes for the batch, when known; drift itself needs none. */
921
+ outcomes?: OutcomeStore;
922
+ }
923
+ interface GuardDriftInterval {
924
+ n: number;
925
+ units: number;
926
+ estimate: number;
927
+ low: number;
928
+ high: number;
929
+ }
930
+ interface GuardDriftMeasure {
931
+ measure: string;
932
+ status: 'drift' | 'within-tolerance' | 'insufficient';
933
+ /** The climbed measure's aligned z, minus its before-cut mean. */
934
+ shift: GuardDriftInterval | null;
935
+ /** The mean of its guards' aligned z, each minus its before-cut mean. */
936
+ guardShift: GuardDriftInterval | null;
937
+ /** Per change, shift minus guard shift: drift when its lower bound exceeds the tolerance. */
938
+ divergence: GuardDriftInterval | null;
939
+ }
940
+ interface GuardDriftReport {
941
+ outcome: string;
942
+ guards: string[];
943
+ status: 'drift' | 'no-drift' | 'no-guards' | 'insufficient';
944
+ measures: GuardDriftMeasure[];
945
+ /** Better-outcome rate minus the before-cut rate (binary), or the aligned z shift (continuous). */
946
+ outcomeShift: GuardDriftInterval | null;
947
+ }
948
+ /**
949
+ * Whether a climbed measure rose while its guards did not, in a batch of
950
+ * later changes. Guards are measured at change time, so this reads before the
951
+ * outcome arrives; the outcome shift is reported when the batch has outcomes.
952
+ */
953
+ declare function guardDrift(input: GuardDriftInput): Promise<GuardDriftReport>;
829
954
  /**
830
955
  * How a plant item was authored wrong. The class is reported separately in
831
956
  * {@link CatchRateReport.byKind} because a grader is routinely sharp on one
@@ -1078,5 +1203,5 @@ interface CatchRateReport {
1078
1203
  * across two runs is a fabrication.
1079
1204
  */
1080
1205
  declare function catchRate(results: readonly PlantOutcome[], manifest: PlantManifest): CatchRateReport;
1081
- export { measureJudgeAgreement as $, CorrelationStudyOptions as $t, JudgePanelOutput as A, ProbabilityPolicyAuditInput as At, JudgeConfusion as B, clusterBootstrapMean as Bt, JudgeCalibrationCellVerdict as C, EvaluatorAdmissionPolicy as Ct, JudgeCalibrationGoldItem as D, EvaluatorAuditPlan as Dt, JudgeCalibrationGateConfig as E, EvaluatorAuditObservation as Et, CalibrationExample as F, evaluatorAuditObservationSchema as Ft, JudgeGateRefusedError as G, CategoricalForecast as Gt, JudgeGateDecision as H, CalibrationOptions as Ht, CalibrationMerge as I, planEvaluatorAudit as It, JudgeRunMeta as J, calibrationCurve as Jt, JudgeGateStatus as K, OrdinalForecast as Kt, DEFAULT_JUDGE_GATE_POLICY as L, ClusterBootstrapOptions as Lt, RubricDimensionGuide as M, auditEvaluator as Mt, calibrateJudgePanel as N, auditProbabilityPolicy as Nt, JudgeDimensionCalibration as O, EvaluatorAuditPlanInput as Ot, gateJudgeCalibration as P, evaluatorAdmissionPolicySchema as Pt, judgeGateDecision as Q, CorrelationResult as Qt, JudgeAgreement as R, ClusterBootstrapResult as Rt, CalibrateJudgePanelInput as S, analyzeSeries as St, JudgeCalibrationGateCell as T, EvaluatorAuditInput as Tt, JudgeGateInput as U, CalibrationPair as Ut, JudgeExampleAgreement as V, CalibrationBin as Vt, JudgeGatePolicy as W, CalibrationReport as Wt, addCalibrationVerdicts as X, multiclassBrierScore as Xt, OwnerVerdict as Y, calibrationFromPairs as Yt, assertJudgeMayGate as Z, rankedProbabilityScore as Zt, catchRate as _, snapshotFromCalibration as _t, PerturbedField as a, SentinelMetrics as at, plantByPerturbation as b, SeriesConvergenceOptions as bt, PlantEvidence as c, SentinelSnapshot as ct, PlantKindCounts as d, SentinelTrend as dt, CorrelationStudyResult as en, registerCalibrationSet as et, PlantManifest as f, SnapshotMeta as ft, UnseededRejection as g, snapshotFromAgreement as gt, SeededGradingSet as h, judgeSentinelReport as ht, PerturbationKind as i, SentinelMetricName as it, JudgePanelPrompt as j, ProbabilityPolicyAuditReport as jt, JudgePanelCalibration as k, EvaluatorErrorRate as kt, PlantExpectation as l, SentinelStore as lt, SeedPlantsOptions as m, fileSentinelStore as mt, CatchRateStatus as n, OutcomePair as nn, EvalHealthStamp as nt, PerturbedPlant as o, SentinelReport as ot, PlantOutcome as p, evalHealthStamp as pt, JudgeRun as q, brierScore as qt, EvidencePerturbation as r, correlationStudy as rn, JudgeSentinelOptions as rt, Plant as s, SentinelSetOptions as st, CatchRateReport as t, EvalMetricSpec as tn, snapshotFromJudgeAgreement as tt, PlantKind as u, SentinelThresholds as ut, definePlant as v, snapshotFromSentinelSet as vt, JudgeCalibrationGate as w, EvaluatorAdmissionReport as wt, seedPlants as x, SeriesConvergenceResult as xt, perturbEvidence as y, validateSentinelSnapshot as yt, JudgeCalibrationSet as z, ClusteredObservation as zt };
1082
- //# sourceMappingURL=index-C6TG1LwA.d.ts.map
1206
+ export { CalibrationMerge as $, planEvaluatorAudit as $t, guardDrift as A, evalHealthStamp as At, JudgeCalibrationCellVerdict as B, EvaluatorAdmissionPolicy as Bt, GuardDriftInput as C, SentinelReport as Ct, GuardMeasure as D, SentinelThresholds as Dt, GuardDriftReport as E, SentinelStore as Et, MeasureValidityReason as F, snapshotFromSentinelSet as Ft, JudgeDimensionCalibration as G, EvaluatorAuditPlanInput as Gt, JudgeCalibrationGateCell as H, EvaluatorAuditInput as Ht, MeasureValidityReport as I, validateSentinelSnapshot as It, JudgePanelPrompt as J, ProbabilityPolicyAuditReport as Jt, JudgePanelCalibration as K, EvaluatorErrorRate as Kt, measureValidityStudy as L, SeriesConvergenceOptions as Lt, MeasureMovementValidity as M, judgeSentinelReport as Mt, MeasureOutcomeValidity as N, snapshotFromAgreement as Nt, MeasureReference as O, SentinelTrend as Ot, MeasureValidityInput as P, snapshotFromCalibration as Pt, CalibrationExample as Q, evaluatorAuditObservationSchema as Qt, MeasuredChange as R, SeriesConvergenceResult as Rt, ClimbedMeasure as S, SentinelMetrics as St, GuardDriftMeasure as T, SentinelSnapshot as Tt, JudgeCalibrationGateConfig as U, EvaluatorAuditObservation as Ut, JudgeCalibrationGate as V, EvaluatorAdmissionReport as Vt, JudgeCalibrationGoldItem as W, EvaluatorAuditPlan as Wt, calibrateJudgePanel as X, auditProbabilityPolicy as Xt, RubricDimensionGuide as Y, auditEvaluator as Yt, gateJudgeCalibration as Z, evaluatorAdmissionPolicySchema as Zt, catchRate as _, registerCalibrationSet as _t, PerturbedField as a, JudgeGateDecision as at, plantByPerturbation as b, JudgeSentinelOptions as bt, PlantEvidence as c, JudgeGateRefusedError as ct, PlantKindCounts as d, JudgeRunMeta as dt, ClusterBootstrapOptions as en, DEFAULT_JUDGE_GATE_POLICY as et, PlantManifest as f, OwnerVerdict as ft, UnseededRejection as g, measureJudgeAgreement as gt, SeededGradingSet as h, judgeGateDecision as ht, PerturbationKind as i, JudgeExampleAgreement as it, MeasureCoverage as j, fileSentinelStore as jt, MeasureSelection as k, SnapshotMeta as kt, PlantExpectation as l, JudgeGateStatus as lt, SeedPlantsOptions as m, assertJudgeMayGate as mt, CatchRateStatus as n, ClusteredObservation as nn, JudgeCalibrationSet as nt, PerturbedPlant as o, JudgeGateInput as ot, PlantOutcome as p, addCalibrationVerdicts as pt, JudgePanelOutput as q, ProbabilityPolicyAuditInput as qt, EvidencePerturbation as r, clusterBootstrapMean as rn, JudgeConfusion as rt, Plant as s, JudgeGatePolicy as st, CatchRateReport as t, ClusterBootstrapResult as tn, JudgeAgreement as tt, PlantKind as u, JudgeRun as ut, definePlant as v, snapshotFromJudgeAgreement as vt, GuardDriftInterval as w, SentinelSetOptions as wt, seedPlants as x, SentinelMetricName as xt, perturbEvidence as y, EvalHealthStamp as yt, CalibrateJudgePanelInput as z, analyzeSeries as zt };
1207
+ //# sourceMappingURL=index-Cav3abKy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-Cav3abKy.d.ts","names":[],"sources":["../src/meta-eval/cluster-bootstrap.ts","../src/meta-eval/evaluator-admission.ts","../src/series-convergence.ts","../src/meta-eval/sentinel.ts","../src/meta-eval/judge-gate.ts","../src/meta-eval/judge-panel-calibration.ts","../src/meta-eval/measure-records.ts","../src/meta-eval/measure-validity.ts","../src/meta-eval/measure-selection.ts","../src/meta-eval/plants.ts"],"mappings":";;;;;;;;;UAKiB;EACf;EACA;EACA;;UAGe;;EAEf;;EAEA;;EAEA;;UAGe;EACf;EACA;;EAEA;EACA;EACA;EACA;EACA;;;iBAIc,qBACd,uBAAuB,wBACvB,UAAS,0BACR;cC1BU,gCAA8B,EAAA;;;;GAMhC,EAAA,KAAA;;KAGC,2BAA2B,EAAE,aAAa;cAEzC,iCAA+B,EAAA;;;;;;;;;;;;;;;;;GASjC,EAAA,KAAA;;KAGC,4BAA4B,EAAE,aAAa;cAEjD,aAAW,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAeN,EAAA,KAAA;KAEC,sBAAsB,EAAE,aAAa;UAEhC;;EAEf;EACA;;EAEA;;EAEA;EACA;;EAEA;;EAEA,UAAU;EACV;EACA;;UAGe;EACf,iBAAiB;EACjB,cAAc;EACd,aAAa;EACb,cAAc;EACd;EACA;EACA,WAAW;EACX,QAAQ;;EAER;EAC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A;EACA,UAAU;;EAEV;EACA;IACE;UA0Ba;;;;;;EAMf,MAAM;;EAEN;;EAEA;;EAEA;;EAEA,QAAQ;;UAGO;;;;;;EAMf,OAAO;EACP,UAAU;;UAGK;;;;;EAKf;;;;;;EAMA;;;;;;;;;;;iBAYc,WACd,kBAAkB,cAClB,iBAAiB,SACjB,UAAS,oBACR;;;;;;UAqGc;EACf;EACA;;;;;;KAOU;UAEK;EACf;EACA;EACA;EACA;;EAEA;;;;;;;;UASe;EACf;EACA;EACA;;EAEA;;UAGe;EACf,QAAQ;;EAER;EACA;EACA;EACA;;;;;EAKA;;EAEA;;EAEA,QAAQ,QAAQ,OAAO,WAAW;;EAElC;;EAEA;EACA,UAAU;;;;;;;;;;iBAWI,UACd,kBAAkB,gBAClB,UAAU,gBACT"}
@@ -1,13 +1,15 @@
1
1
  import { o as CostLedgerHandle } from "./cost-ledger-CSP-OfFe.js";
2
2
  import { a as RunRecord, c as RunSplitTag, n as RunCostProvenance } from "./run-record-kuOr3BCF.js";
3
- import "./types-fuOwNq1C.js";
4
- import "./run-improvement-loop-BfwOUudy.js";
5
- import "./types-BMSDkS8l.js";
6
- import "./campaign-evidence-BojANgU7.js";
3
+ import "./types-CKNAzCSA.js";
4
+ import "./run-improvement-loop-BaPDVbW8.js";
5
+ import "./types-BO948H-U.js";
6
+ import "./campaign-evidence-CM4FBOkX.js";
7
7
  import { f as TraceSpanEvent } from "./client-DUMIaMob.js";
8
- import { c as InsightReport, t as AnalyzeRunsOptions } from "./analyze-runs-xjKBBqIB.js";
9
- import "./define-agent-eval-Cjc0wWnO.js";
10
- import "./default-registry-xoX0PMCb.js";
8
+ import { o as InsightReport } from "./insight-report-DYofCMLx.js";
9
+ import "./self-improve-DY8ZY4lY.js";
10
+ import "./define-agent-eval-tu3anVlk.js";
11
+ import "./default-registry-Bskl2HzV.js";
12
+ import { t as AnalyzeRunsOptions } from "./analyze-runs-DT693FJ7.js";
11
13
  import { AgentCandidateBenchmarkCellRef, AgentCandidateBenchmarkSuiteInputs, AgentCandidateBenchmarkTask, AgentCandidateBenchmarkTaskMaterial, AgentCandidateBundle, AgentCandidateEvaluationPolicy, AgentCandidateExperiment, AgentCandidateExperimentMaterial, AgentCandidateExperimentMeasurement, AgentImprovementCost, AgentImprovementMeasuredComparison, AgentProfileImprovementExperiment, AgentProfileImprovementExperimentMaterial, AgentProfileImprovementMeasuredComparison, AgentProfileImprovementMeasurement, AgentProfileImprovementRecordedMeasurement, AgentProfileImprovementRecordedRunReceipt, AgentProfileImprovementRunCell, AgentProfileImprovementRunReceipt, AgentProfileImprovementSuiteInputs, AgentProfileImprovementTask, AgentProfileImprovementTaskMaterial, CandidateExecutionEvidence, Sha256Digest } from "@tangle-network/agent-interface";
12
14
  interface SealCandidateBenchmarkSuiteOptions {
13
15
  tasks: [AgentCandidateBenchmarkTask, ...AgentCandidateBenchmarkTask[]];
@@ -670,4 +672,4 @@ interface FromOtelSpansOptions {
670
672
  }
671
673
  declare function fromOtelSpans(opts: FromOtelSpansOptions): RunRecord[];
672
674
  export { AgentProfileImprovementExperimentExecutionInput as $, CodeAgentSessionActionSurface as A, AgentTraceIndex as B, CodeAgentSessionIntakeOptions as C, EvaluatePairedMeasurementsOptions as Ct, CodeAgentSessionAction as D, RunCandidateExperimentOptions as Dt, ParsedCodeAgentJsonl as E, PairedMeasurementEvaluation as Et, observeCodeAgentSession as F, parseAgentTrace as G, AgentTraceRecord as H, AgentTraceContributor as I, EvalReportingSuiteOptions as J, partitionRunsByAuthoringModel as K, AgentTraceContributorType as L, CodeAgentSessionObservation as M, CodeAgentSessionSource as N, CodeAgentSessionActionKind as O, SealCandidateBenchmarkSuiteOptions as Ot, CodeAgentSessionTerminalStatus as P, RunRecordRejection as Q, AgentTraceConversation as R, CodeAgentSessionDiagnostic as S, CompareCandidateExperimentOptions as St, CodeAgentSessionMetrics as T, PairedMeasurementAdapter as Tt, AuthoringProvenance as U, AgentTraceRange as V, PartitionByAuthoringModelResult as W, FromRunRecordDirOptions as X, EvalReportingSuiteResult as Y, FromRunRecordDirResult as Z, fromPiSession as _, sealCandidateExperiment as _t, FromFeedbackTableOptions as a, SealAgentProfileImprovementSuiteOptions as at, streamCodeAgentJsonlFile as b, CandidateExperimentExecutionInput as bt, CodeAgentStoreObservation as c, sealAgentProfileImprovementExperiment as ct, CodeAgentStoreScope as d, verifyAgentProfileImprovementExperimentComparison as dt, AgentProfileImprovementExperimentRun as et, CodeAgentStoreSession as f, evaluatePairedMeasurements as ft, fromOpenCodeSession as g, sealCandidateBenchmarkTask as gt, fromKimiCodeSession as h, sealCandidateBenchmarkSuite as ht, FeedbackTableRow as i, RunAgentProfileImprovementExperimentOptions as it, CodeAgentSessionExecutionReceipt as j, CodeAgentSessionActionStatus as k, CodeAgentStoreRejection as l, sealAgentProfileImprovementSuite as lt, fromCodexSession as m, runCandidateExperiment as mt, fromOtelSpans as n, CompareAgentProfileImprovementExperimentOptions as nt, FromFeedbackTableResult as o, measuredComparisonFromAgentProfileImprovementExperiment as ot, fromClaudeCodeSession as p, measuredComparisonFromCandidateExperiment as pt, EvalReportingSuiteInput as q, FeedbackTableMeta as r, RecordAgentProfileImprovementExperimentOptions as rt, fromFeedbackTable as s, runAgentProfileImprovementExperiment as st, FromOtelSpansOptions as t, AgentProfileImprovementIncompleteExperimentRun as tt, CodeAgentStoreRejections as u, sealAgentProfileImprovementTask as ut, parseCodeAgentJsonl as v, verifyCandidateExperiment as vt, CodeAgentSessionIntakeResult as w, PairedMeasurement as wt, CodeAgentJsonlLine as x, CandidateExperimentRun as xt, parseCodeAgentJsonlFile as y, verifyCandidateExperimentComparison as yt, AgentTraceFile as z };
673
- //# sourceMappingURL=index-DAFZRMlF.d.ts.map
675
+ //# sourceMappingURL=index-DmMHTDjT.d.ts.map