@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,5 +1,5 @@
1
- import { $ as MintRolloutResult, Q as MintRolloutOptions, et as RolloutScrubber, nt as mintRolloutRows, rt as unmintableReasons, tt as RolloutSearchLineage } from "../types-BMSDkS8l.js";
1
+ import { $ as MintRolloutResult, Q as MintRolloutOptions, et as RolloutScrubber, nt as mintRolloutRows, rt as unmintableReasons, tt as RolloutSearchLineage } from "../types-BO948H-U.js";
2
2
  import { A as isTrainableSplit, C as RolloutWorkspaceCapture, D as assertRolloutLine, E as assertMintedLines, F as isLicenseEligible, I as licenseClassOf, L as licenseClassOfName, M as RolloutNativeCapture, N as LICENSE_CLASSES, O as gateGamedOutcome, P as LicenseClass, S as RolloutTask, T as assertMinted, _ as RolloutPolicy, a as MintedRolloutLine, b as RolloutSplit, c as ROLLOUT_ROLES, d as RolloutArtifacts, f as RolloutCapture, g as RolloutOutcome, h as RolloutLine, i as GatedEvidence, j as validateRolloutLine, k as isRolloutLine, l as ROLLOUT_SCHEMA, m as RolloutEvidenceAttempt, n as ChatRole, o as MintedRolloutOutcome, p as RolloutCostBlock, r as ChatToolCall, s as ROLLOUT_CAPTURES, t as ChatMessage, u as ROLLOUT_SPLITS, v as RolloutProvenance, w as ToolDef, x as RolloutStep, y as RolloutRole } from "../schema-BfSoJjD-.js";
3
- import { $ as HarborContentPart, A as harnessSessionRolloutLine, At as RealnessLabels, B as ReadClaudeTranscriptOptions, Bt as toSftRows, C as GateReport, Ct as GateCheckDisposition, D as readOpencodeSessionMessages, Dt as GatePolicy, E as DEFAULT_OPENCODE_DB, Et as GateEntryPoint, F as readCodexRollout, Ft as VerifiersRolloutOutput, G as RolloutBatchReceipt, Gt as observedSplitScore, H as parseClaudeTranscript, Ht as ScoreOrigin, I as ClaudeTranscript, It as VerifiersTokenUsage, J as readRolloutJournal, K as admitRolloutBatch, Kt as trainingReward, L as ClaudeTranscriptRef, Lt as toJsonl, M as gateReceiptRolloutLines, Mt as RftItem, N as CodexRollout, Nt as SftExportOptions, O as HarnessSessionImportOptions, Ot as gateErrors, P as parseCodexRollout, Pt as SftRow, Q as HarborAgent, R as ClaudeUsageTotals, Rt as toRewardRows, S as GateDisposition, St as GateCheck, T as assertGateReport, Tt as GateCheckedOutcome, U as readClaudeTranscript, Ut as ScorePreference, V as findClaudeTranscripts, Vt as toVerifiersRolloutOutputs, W as RolloutBatchIdentity, Wt as isRealnessGated, X as writeRolloutLedger, Y as readRolloutLedger, Z as FromHarborOptions, _ as privacyHit, _t as WriteHarborTaskOptions, a as BuildOptions, at as HarborStep, b as EmittedEvidence, bt as GATE_CHECK_IDS, c as ScrubReport, ct as HarborToolCall, d as ReleaseFormat, dt as relabelImportedSplit, et as HarborFinalMetrics, f as buildDatasetCard, ft as toHarborTrajectories, g as defaultRolloutScrubber, gt as HarborTaskVerification, h as ScrubRule, ht as HarborTaskFile, i as toTinkerDatumRows, it as HarborObservationResult, j as harnessSessionRolloutLines, jt as RewardRow, k as harnessSessionRefs, kt as gatedEvidenceOf, l as buildHfDataset, lt as HarborTrajectory, m as ScrubCounts, mt as HARBOR_TASK_CHECKS, n as TinkerDatumRow, nt as HarborMetrics, o as BuildSummary, ot as HarborStepSource, p as PRIVACY_RULE_NAMES, pt as toHarborTrajectory, q as appendRolloutLines, qt as trainingScore, r as TinkerExportOptions, rt as HarborObservation, s as RolloutReleaseCliArgs, st as HarborSubagentTrajectoryRef, t as TinkerDatum, tt as HarborImageSource, u as DatasetCardInputs, ut as fromHarborTrajectory, v as scrubLines, vt as writeHarborTask, w as ReleaseRowRef, wt as GateCheckId, x as FormatGateCounts, xt as GATE_POLICIES, y as scrubText, yt as GATE_CHECKS, z as DEFAULT_CLAUDE_PROJECTS_DIR, zt as toRftItems } from "../index-BqAPIToS.js";
3
+ import { $ as HarborContentPart, A as harnessSessionRolloutLine, At as RealnessLabels, B as ReadClaudeTranscriptOptions, Bt as toSftRows, C as GateReport, Ct as GateCheckDisposition, D as readOpencodeSessionMessages, Dt as GatePolicy, E as DEFAULT_OPENCODE_DB, Et as GateEntryPoint, F as readCodexRollout, Ft as VerifiersRolloutOutput, G as RolloutBatchReceipt, Gt as observedSplitScore, H as parseClaudeTranscript, Ht as ScoreOrigin, I as ClaudeTranscript, It as VerifiersTokenUsage, J as readRolloutJournal, K as admitRolloutBatch, Kt as trainingReward, L as ClaudeTranscriptRef, Lt as toJsonl, M as gateReceiptRolloutLines, Mt as RftItem, N as CodexRollout, Nt as SftExportOptions, O as HarnessSessionImportOptions, Ot as gateErrors, P as parseCodexRollout, Pt as SftRow, Q as HarborAgent, R as ClaudeUsageTotals, Rt as toRewardRows, S as GateDisposition, St as GateCheck, T as assertGateReport, Tt as GateCheckedOutcome, U as readClaudeTranscript, Ut as ScorePreference, V as findClaudeTranscripts, Vt as toVerifiersRolloutOutputs, W as RolloutBatchIdentity, Wt as isRealnessGated, X as writeRolloutLedger, Y as readRolloutLedger, Z as FromHarborOptions, _ as privacyHit, _t as WriteHarborTaskOptions, a as BuildOptions, at as HarborStep, b as EmittedEvidence, bt as GATE_CHECK_IDS, c as ScrubReport, ct as HarborToolCall, d as ReleaseFormat, dt as relabelImportedSplit, et as HarborFinalMetrics, f as buildDatasetCard, ft as toHarborTrajectories, g as defaultRolloutScrubber, gt as HarborTaskVerification, h as ScrubRule, ht as HarborTaskFile, i as toTinkerDatumRows, it as HarborObservationResult, j as harnessSessionRolloutLines, jt as RewardRow, k as harnessSessionRefs, kt as gatedEvidenceOf, l as buildHfDataset, lt as HarborTrajectory, m as ScrubCounts, mt as HARBOR_TASK_CHECKS, n as TinkerDatumRow, nt as HarborMetrics, o as BuildSummary, ot as HarborStepSource, p as PRIVACY_RULE_NAMES, pt as toHarborTrajectory, q as appendRolloutLines, qt as trainingScore, r as TinkerExportOptions, rt as HarborObservation, s as RolloutReleaseCliArgs, st as HarborSubagentTrajectoryRef, t as TinkerDatum, tt as HarborImageSource, u as DatasetCardInputs, ut as fromHarborTrajectory, v as scrubLines, vt as writeHarborTask, w as ReleaseRowRef, wt as GateCheckId, x as FormatGateCounts, xt as GATE_POLICIES, y as scrubText, yt as GATE_CHECKS, z as DEFAULT_CLAUDE_PROJECTS_DIR, zt as toRftItems } from "../index-Er8TKQ3q.js";
4
4
  import { a as trainingAdmission, i as TrainingPurpose, n as TrainingExclusionReason, r as TrainingExportOptions, t as TrainingAdmission } from "../training-admission-DGZCyntI.js";
5
5
  export { type BuildOptions, type BuildSummary, type ChatMessage, type ChatRole, type ChatToolCall, type ClaudeTranscript, type ClaudeTranscriptRef, type ClaudeUsageTotals, type CodexRollout, DEFAULT_CLAUDE_PROJECTS_DIR, DEFAULT_OPENCODE_DB, type DatasetCardInputs, type EmittedEvidence, type FormatGateCounts, type FromHarborOptions, GATE_CHECKS, GATE_CHECK_IDS, GATE_POLICIES, type GateCheck, type GateCheckDisposition, type GateCheckId, type GateCheckedOutcome, type GateDisposition, type GateEntryPoint, type GatePolicy, type GateReport, type GatedEvidence, HARBOR_TASK_CHECKS, type HarborAgent, type HarborContentPart, type HarborFinalMetrics, type HarborImageSource, type HarborMetrics, type HarborObservation, type HarborObservationResult, type HarborStep, type HarborStepSource, type HarborSubagentTrajectoryRef, type HarborTaskFile, type HarborTaskVerification, type HarborToolCall, type HarborTrajectory, type HarnessSessionImportOptions, LICENSE_CLASSES, type LicenseClass, type MintRolloutOptions, type MintRolloutResult, type MintedRolloutLine, type MintedRolloutOutcome, PRIVACY_RULE_NAMES, ROLLOUT_CAPTURES, ROLLOUT_ROLES, ROLLOUT_SCHEMA, ROLLOUT_SPLITS, type ReadClaudeTranscriptOptions, type RealnessLabels, type ReleaseFormat, type ReleaseRowRef, type RewardRow, type RftItem, type RolloutArtifacts, type RolloutBatchIdentity, type RolloutBatchReceipt, type RolloutCapture, type RolloutCostBlock, type RolloutEvidenceAttempt, type RolloutLine, type RolloutNativeCapture, type RolloutOutcome, type RolloutPolicy, type RolloutProvenance, type RolloutReleaseCliArgs, type RolloutRole, type RolloutScrubber, type RolloutSearchLineage, type RolloutSplit, type RolloutStep, type RolloutTask, type RolloutWorkspaceCapture, type ScoreOrigin, type ScorePreference, type ScrubCounts, type ScrubReport, type ScrubRule, type SftExportOptions, type SftRow, type TinkerDatum, type TinkerDatumRow, type TinkerExportOptions, type ToolDef, type TrainingAdmission, type TrainingExclusionReason, type TrainingExportOptions, type TrainingPurpose, type VerifiersRolloutOutput, type VerifiersTokenUsage, type WriteHarborTaskOptions, admitRolloutBatch, appendRolloutLines, assertGateReport, assertMinted, assertMintedLines, assertRolloutLine, buildDatasetCard, buildHfDataset, defaultRolloutScrubber, findClaudeTranscripts, fromHarborTrajectory, gateErrors, gateGamedOutcome, gateReceiptRolloutLines, gatedEvidenceOf, harnessSessionRefs, harnessSessionRolloutLine, harnessSessionRolloutLines, isLicenseEligible, isRealnessGated, isRolloutLine, isTrainableSplit, licenseClassOf, licenseClassOfName, mintRolloutRows, observedSplitScore, parseClaudeTranscript, parseCodexRollout, privacyHit, readClaudeTranscript, readCodexRollout, readOpencodeSessionMessages, readRolloutJournal, readRolloutLedger, relabelImportedSplit, scrubLines, scrubText, toHarborTrajectories, toHarborTrajectory, toJsonl, toRewardRows, toRftItems, toSftRows, toTinkerDatumRows, toVerifiersRolloutOutputs, trainingAdmission, trainingReward, trainingScore, unmintableReasons, validateRolloutLine, writeHarborTask, writeRolloutLedger };
@@ -1,4 +1,4 @@
1
- import { a as validateObservationOptions, i as reduceOutcomeMetric, n as correlationSummary, o as validateOutcomeMetricSpecifications, r as hasVariation, t as assertUniqueObservationIds } from "./outcome-observations-DL3CC8w1.js";
1
+ import { a as reduceOutcomeMetric, c as validateOutcomeMetricSpecifications, i as hasVariation, n as correlationSummary, r as groupOutcomesByRun, s as validateObservationOptions, t as assertUniqueObservationIds } from "./outcome-observations-DEh8_V_P.js";
2
2
  // src/meta-eval/rubric-predictive-validity.ts
3
3
  async function rubricPredictiveValidity(input) {
4
4
  const minSamples = input.minSamples ?? 8;
@@ -16,13 +16,7 @@ async function rubricPredictiveValidity(input) {
16
16
  }));
17
17
  const declaredRubrics = input.rubrics === void 0 ? void 0 : [...input.rubrics];
18
18
  if (declaredRubrics !== void 0) assertUniqueObservationIds(declaredRubrics, "rubric");
19
- const outcomes = await input.outcomes.list();
20
- const outcomesByRun = /* @__PURE__ */ new Map();
21
- for (const outcome of outcomes) {
22
- const rows = outcomesByRun.get(outcome.runId) ?? [];
23
- rows.push(outcome);
24
- outcomesByRun.set(outcome.runId, rows);
25
- }
19
+ const outcomesByRun = groupOutcomesByRun(await input.outcomes.list());
26
20
  const observedRubrics = /* @__PURE__ */ new Set();
27
21
  for (const run of runs) for (const [rubric, value] of Object.entries(run.scores)) if (typeof value === "number" && Number.isFinite(value)) observedRubrics.add(rubric);
28
22
  const rubrics = declaredRubrics ?? [...observedRubrics];
@@ -100,4 +94,4 @@ async function rubricPredictiveValidity(input) {
100
94
  }
101
95
  export { rubricPredictiveValidity as t };
102
96
 
103
- //# sourceMappingURL=rubric-predictive-validity--6z0q8s6.js.map
97
+ //# sourceMappingURL=rubric-predictive-validity-BXJ92Jp_.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rubric-predictive-validity-BXJ92Jp_.js","names":[],"sources":["../src/meta-eval/rubric-predictive-validity.ts"],"sourcesContent":["/**\n * Join rubric scores to deployment outcomes and measure their association.\n * Higher rubric scores always mean better evaluated behavior.\n * Outcome directions are explicit because success rate and failure rate have opposite meanings.\n * These descriptive associations neither establish causation nor validate a change to rubric weights.\n */\n\nimport type { RunRecord } from '../run-record'\nimport {\n assertUniqueObservationIds,\n type CorrelationInterval,\n correlationSummary,\n groupOutcomesByRun,\n hasVariation,\n reduceOutcomeMetric,\n validateObservationOptions,\n validateOutcomeMetricSpecifications,\n} from './outcome-observations'\nimport type { OutcomeStore } from './outcome-store'\n\nexport interface OutcomeMetricSpec {\n /** Exact key in DeploymentOutcome.metrics. */\n id: string\n direction: 'higher-is-better' | 'lower-is-better'\n}\n\nexport interface RubricPredictiveValidityInput {\n /** One record per independent run; rubric scores come from outcome.raw. */\n runs: RunRecord[]\n outcomes: OutcomeStore\n /** Declare desired directions before inspecting associations. */\n outcomeMetrics: readonly OutcomeMetricSpec[]\n /** Higher is better for each rubric. Omit to discover finite numeric outcome.raw keys. */\n rubrics?: readonly string[]\n /** Minimum joined runs for an estimate; an integer at least 3. Default 8. */\n minSamples?: number\n /** Bootstrap resamples for both correlation intervals. Default 500. */\n bootstrapResamples?: number\n /** Omit to derive a reproducible seed from the paired observations. */\n seed?: number\n /** Reduce finite observations of each named outcome within a run. Default latest. */\n reduction?: 'latest' | 'mean' | 'max'\n}\n\nexport interface RubricOutcomePair {\n rubric: string\n outcome: string\n outcomeDirection: OutcomeMetricSpec['direction']\n n: number\n /** Raw association with the recorded outcome, before direction alignment. */\n pearson: number\n spearman: number\n pearsonCi95: CorrelationInterval | null\n spearmanCi95: CorrelationInterval | null\n /** Positive values associate higher rubric scores with better outcomes. */\n alignedPearson: number\n alignedSpearman: number\n alignedSpearmanCi95: CorrelationInterval | null\n /** Descriptive buckets at aligned Spearman +/-0.4; no causal or release authority. */\n verdict: 'aligned' | 'inverse' | 'weak'\n}\n\nexport interface RubricRanking extends Omit<RubricOutcomePair, 'outcome'> {\n /** Outcome with the greatest direction-aligned Spearman for this rubric. */\n bestOutcome: string\n}\n\nexport interface RubricOutcomeExclusion {\n rubric: string\n outcome: string\n outcomeDirection: OutcomeMetricSpec['direction']\n /** Finite joined observations, including measured zeros. */\n n: number\n reason: 'insufficient_samples' | 'constant_rubric' | 'constant_outcome'\n}\n\nexport interface RubricPredictiveValidityReport {\n outcomeMetrics: OutcomeMetricSpec[]\n pairs: RubricOutcomePair[]\n /** All declared pairs lacking an estimate, with their usable observation count. */\n excludedPairs: RubricOutcomeExclusion[]\n /** Exploratory ordering by aligned Spearman; never use outcome selection as confirmatory evidence. */\n ranked: RubricRanking[]\n /** Runs contributing at least one finite pair, including pairs below minSamples. */\n joinedSamples: number\n /** Runs contributing no finite pair; joinedSamples + skippedRuns equals the input run count. */\n skippedRuns: number\n /** Declared rubrics with no finite score, distinct from too few outcomes or constant observations. */\n rubricsWithoutData: string[]\n}\n\nexport async function rubricPredictiveValidity(\n input: RubricPredictiveValidityInput,\n): Promise<RubricPredictiveValidityReport> {\n const minSamples = input.minSamples ?? 8\n const reduction = input.reduction ?? 'latest'\n const resamples = input.bootstrapResamples ?? 500\n const seed = input.seed\n if (!Number.isSafeInteger(minSamples) || minSamples < 3) {\n throw new Error('minSamples must be a safe integer at least 3')\n }\n validateObservationOptions(reduction, resamples, seed)\n validateOutcomeMetricSpecifications(input.outcomeMetrics)\n assertUniqueObservationIds(\n input.runs.map((run) => run.runId),\n 'runId',\n )\n\n const outcomeMetrics = input.outcomeMetrics.map((metric) => ({ ...metric }))\n const runs = input.runs.map((run) => ({ runId: run.runId, scores: { ...run.outcome.raw } }))\n const declaredRubrics = input.rubrics === undefined ? undefined : [...input.rubrics]\n if (declaredRubrics !== undefined) assertUniqueObservationIds(declaredRubrics, 'rubric')\n\n const outcomesByRun = groupOutcomesByRun(await input.outcomes.list())\n\n const observedRubrics = new Set<string>()\n for (const run of runs) {\n for (const [rubric, value] of Object.entries(run.scores)) {\n if (typeof value === 'number' && Number.isFinite(value)) observedRubrics.add(rubric)\n }\n }\n const rubrics = declaredRubrics ?? [...observedRubrics]\n const buckets = rubrics.flatMap((rubric) =>\n outcomeMetrics.map((outcome) => ({\n rubric,\n outcome,\n xs: [] as number[],\n ys: [] as number[],\n })),\n )\n\n let joined = 0\n for (const run of runs) {\n const rows = outcomesByRun.get(run.runId) ?? []\n let joinedThisRun = false\n for (const bucket of buckets) {\n const x = run.scores[bucket.rubric]\n if (typeof x !== 'number' || !Number.isFinite(x)) continue\n const y = reduceOutcomeMetric(rows, bucket.outcome.id, reduction)\n if (y === null) continue\n bucket.xs.push(x)\n bucket.ys.push(y)\n joinedThisRun = true\n }\n if (joinedThisRun) joined++\n }\n\n const pairs: RubricOutcomePair[] = []\n const excludedPairs: RubricOutcomeExclusion[] = []\n for (const bucket of buckets) {\n const identity = {\n rubric: bucket.rubric,\n outcome: bucket.outcome.id,\n outcomeDirection: bucket.outcome.direction,\n n: bucket.xs.length,\n }\n const reason =\n bucket.xs.length < minSamples\n ? 'insufficient_samples'\n : !hasVariation(bucket.xs)\n ? 'constant_rubric'\n : !hasVariation(bucket.ys)\n ? 'constant_outcome'\n : null\n if (reason !== null) {\n excludedPairs.push({ ...identity, reason })\n continue\n }\n const summary = correlationSummary(bucket.xs, bucket.ys, resamples, seed)\n const sign = bucket.outcome.direction === 'higher-is-better' ? 1 : -1\n const alignedSpearman = summary.spearman * sign\n const alignedSpearmanCi95 =\n summary.spearmanCi95 === null\n ? null\n : sign === 1\n ? summary.spearmanCi95\n : { lower: -summary.spearmanCi95.upper, upper: -summary.spearmanCi95.lower }\n pairs.push({\n ...identity,\n ...summary,\n alignedPearson: summary.pearson * sign,\n alignedSpearman,\n alignedSpearmanCi95,\n verdict: alignedSpearman >= 0.4 ? 'aligned' : alignedSpearman <= -0.4 ? 'inverse' : 'weak',\n })\n }\n\n const bestByRubric = new Map<string, RubricOutcomePair>()\n for (const pair of pairs) {\n const best = bestByRubric.get(pair.rubric)\n if (!best || pair.alignedSpearman > best.alignedSpearman) bestByRubric.set(pair.rubric, pair)\n }\n const ranked = [...bestByRubric.values()]\n .map(({ outcome, ...pair }) => ({ ...pair, bestOutcome: outcome }))\n .sort((a, b) => b.alignedSpearman - a.alignedSpearman)\n\n return {\n outcomeMetrics,\n pairs,\n excludedPairs,\n ranked,\n joinedSamples: joined,\n skippedRuns: runs.length - joined,\n rubricsWithoutData: rubrics.filter((rubric) => !observedRubrics.has(rubric)),\n }\n}\n"],"mappings":";;AA2FA,eAAsB,yBACpB,OACyC;CACzC,MAAM,aAAa,MAAM,cAAc;CACvC,MAAM,YAAY,MAAM,aAAa;CACrC,MAAM,YAAY,MAAM,sBAAsB;CAC9C,MAAM,OAAO,MAAM;CACnB,IAAI,CAAC,OAAO,cAAc,UAAU,KAAK,aAAa,GACpD,MAAM,IAAI,MAAM,8CAA8C;CAEhE,2BAA2B,WAAW,WAAW,IAAI;CACrD,oCAAoC,MAAM,cAAc;CACxD,2BACE,MAAM,KAAK,KAAK,QAAQ,IAAI,KAAK,GACjC,OACF;CAEA,MAAM,iBAAiB,MAAM,eAAe,KAAK,YAAY,EAAE,GAAG,OAAO,EAAE;CAC3E,MAAM,OAAO,MAAM,KAAK,KAAK,SAAS;EAAE,OAAO,IAAI;EAAO,QAAQ,EAAE,GAAG,IAAI,QAAQ,IAAI;CAAE,EAAE;CAC3F,MAAM,kBAAkB,MAAM,YAAY,KAAA,IAAY,KAAA,IAAY,CAAC,GAAG,MAAM,OAAO;CACnF,IAAI,oBAAoB,KAAA,GAAW,2BAA2B,iBAAiB,QAAQ;CAEvF,MAAM,gBAAgB,mBAAmB,MAAM,MAAM,SAAS,KAAK,CAAC;CAEpE,MAAM,kCAAkB,IAAI,IAAY;CACxC,KAAK,MAAM,OAAO,MAChB,KAAK,MAAM,CAAC,QAAQ,UAAU,OAAO,QAAQ,IAAI,MAAM,GACrD,IAAI,OAAO,UAAU,YAAY,OAAO,SAAS,KAAK,GAAG,gBAAgB,IAAI,MAAM;CAGvF,MAAM,UAAU,mBAAmB,CAAC,GAAG,eAAe;CACtD,MAAM,UAAU,QAAQ,SAAS,WAC/B,eAAe,KAAK,aAAa;EAC/B;EACA;EACA,IAAI,CAAC;EACL,IAAI,CAAC;CACP,EAAE,CACJ;CAEA,IAAI,SAAS;CACb,KAAK,MAAM,OAAO,MAAM;EACtB,MAAM,OAAO,cAAc,IAAI,IAAI,KAAK,KAAK,CAAC;EAC9C,IAAI,gBAAgB;EACpB,KAAK,MAAM,UAAU,SAAS;GAC5B,MAAM,IAAI,IAAI,OAAO,OAAO;GAC5B,IAAI,OAAO,MAAM,YAAY,CAAC,OAAO,SAAS,CAAC,GAAG;GAClD,MAAM,IAAI,oBAAoB,MAAM,OAAO,QAAQ,IAAI,SAAS;GAChE,IAAI,MAAM,MAAM;GAChB,OAAO,GAAG,KAAK,CAAC;GAChB,OAAO,GAAG,KAAK,CAAC;GAChB,gBAAgB;EAClB;EACA,IAAI,eAAe;CACrB;CAEA,MAAM,QAA6B,CAAC;CACpC,MAAM,gBAA0C,CAAC;CACjD,KAAK,MAAM,UAAU,SAAS;EAC5B,MAAM,WAAW;GACf,QAAQ,OAAO;GACf,SAAS,OAAO,QAAQ;GACxB,kBAAkB,OAAO,QAAQ;GACjC,GAAG,OAAO,GAAG;EACf;EACA,MAAM,SACJ,OAAO,GAAG,SAAS,aACf,yBACA,CAAC,aAAa,OAAO,EAAE,IACrB,oBACA,CAAC,aAAa,OAAO,EAAE,IACrB,qBACA;EACV,IAAI,WAAW,MAAM;GACnB,cAAc,KAAK;IAAE,GAAG;IAAU;GAAO,CAAC;GAC1C;EACF;EACA,MAAM,UAAU,mBAAmB,OAAO,IAAI,OAAO,IAAI,WAAW,IAAI;EACxE,MAAM,OAAO,OAAO,QAAQ,cAAc,qBAAqB,IAAI;EACnE,MAAM,kBAAkB,QAAQ,WAAW;EAC3C,MAAM,sBACJ,QAAQ,iBAAiB,OACrB,OACA,SAAS,IACP,QAAQ,eACR;GAAE,OAAO,CAAC,QAAQ,aAAa;GAAO,OAAO,CAAC,QAAQ,aAAa;EAAM;EACjF,MAAM,KAAK;GACT,GAAG;GACH,GAAG;GACH,gBAAgB,QAAQ,UAAU;GAClC;GACA;GACA,SAAS,mBAAmB,KAAM,YAAY,mBAAmB,MAAO,YAAY;EACtF,CAAC;CACH;CAEA,MAAM,+BAAe,IAAI,IAA+B;CACxD,KAAK,MAAM,QAAQ,OAAO;EACxB,MAAM,OAAO,aAAa,IAAI,KAAK,MAAM;EACzC,IAAI,CAAC,QAAQ,KAAK,kBAAkB,KAAK,iBAAiB,aAAa,IAAI,KAAK,QAAQ,IAAI;CAC9F;CAKA,OAAO;EACL;EACA;EACA;EACA,QARa,CAAC,GAAG,aAAa,OAAO,CAAC,CAAC,CACtC,KAAK,EAAE,SAAS,GAAG,YAAY;GAAE,GAAG;GAAM,aAAa;EAAQ,EAAE,CAAC,CAClE,MAAM,GAAG,MAAM,EAAE,kBAAkB,EAAE,eAMjC;EACL,eAAe;EACf,aAAa,KAAK,SAAS;EAC3B,oBAAoB,QAAQ,QAAQ,WAAW,CAAC,gBAAgB,IAAI,MAAM,CAAC;CAC7E;AACF"}
@@ -1,58 +1,5 @@
1
1
  import { a as RunRecord } from "./run-record-kuOr3BCF.js";
2
- /** Deployment observations join to evaluation records through their runId. */
3
- interface DeploymentOutcome {
4
- runId: string;
5
- capturedAt: number;
6
- /** Finite numeric outcomes; absence of a key means unmeasured. */
7
- metrics: Record<string, number>;
8
- labels?: Record<string, string>;
9
- /** Source system or pipeline version. */
10
- source?: string;
11
- }
12
- interface OutcomeFilter {
13
- runIds?: string[];
14
- since?: number;
15
- until?: number;
16
- label?: {
17
- key: string;
18
- value: string;
19
- };
20
- source?: string;
21
- }
22
- interface OutcomeStore {
23
- append(outcome: DeploymentOutcome): Promise<void>;
24
- forRun(runId: string): Promise<DeploymentOutcome[]>;
25
- list(filter?: OutcomeFilter): Promise<DeploymentOutcome[]>;
26
- }
27
- declare class InMemoryOutcomeStore implements OutcomeStore {
28
- private items;
29
- append(outcome: DeploymentOutcome): Promise<void>;
30
- forRun(runId: string): Promise<DeploymentOutcome[]>;
31
- list(filter?: OutcomeFilter): Promise<DeploymentOutcome[]>;
32
- }
33
- interface FileSystemOutcomeStoreOptions {
34
- dir: string;
35
- /** Rotate before a write once the active file reaches this size. Default 32 MiB. */
36
- maxBytes?: number;
37
- }
38
- /** Storage failures retain operation, path, source line, and the original cause. */
39
- declare class OutcomeStoreError extends Error {
40
- readonly operation: 'read' | 'decode' | 'write';
41
- readonly path: string;
42
- readonly line?: number | undefined;
43
- constructor(operation: 'read' | 'decode' | 'write', path: string, cause: unknown, line?: number | undefined);
44
- }
45
- /** Local storage with serialized operations per instance; use one writer per directory. */
46
- declare class FileSystemOutcomeStore implements OutcomeStore {
47
- private readonly dir;
48
- private readonly maxBytes;
49
- private pending;
50
- constructor(options: FileSystemOutcomeStoreOptions);
51
- append(outcome: DeploymentOutcome): Promise<void>;
52
- forRun(runId: string): Promise<DeploymentOutcome[]>;
53
- list(filter?: OutcomeFilter): Promise<DeploymentOutcome[]>;
54
- private serialize;
55
- }
2
+ import { o as OutcomeStore } from "./outcome-store-CHtuvstd.js";
56
3
  type OutcomeReduction = 'latest' | 'mean' | 'max';
57
4
  interface CorrelationInterval {
58
5
  lower: number;
@@ -124,5 +71,5 @@ interface RubricPredictiveValidityReport {
124
71
  rubricsWithoutData: string[];
125
72
  }
126
73
  declare function rubricPredictiveValidity(input: RubricPredictiveValidityInput): Promise<RubricPredictiveValidityReport>;
127
- export { RubricPredictiveValidityReport as a, CorrelationInterval as c, FileSystemOutcomeStore as d, FileSystemOutcomeStoreOptions as f, OutcomeStoreError as g, OutcomeStore as h, RubricPredictiveValidityInput as i, OutcomeReduction as l, OutcomeFilter as m, RubricOutcomeExclusion as n, RubricRanking as o, InMemoryOutcomeStore as p, RubricOutcomePair as r, rubricPredictiveValidity as s, OutcomeMetricSpec as t, DeploymentOutcome as u };
128
- //# sourceMappingURL=rubric-predictive-validity-C9wc7f_D.d.ts.map
74
+ export { RubricPredictiveValidityReport as a, CorrelationInterval as c, RubricPredictiveValidityInput as i, OutcomeReduction as l, RubricOutcomeExclusion as n, RubricRanking as o, RubricOutcomePair as r, rubricPredictiveValidity as s, OutcomeMetricSpec as t };
75
+ //# sourceMappingURL=rubric-predictive-validity-DH94_0Q1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rubric-predictive-validity-DH94_0Q1.d.ts","names":[],"sources":["../src/meta-eval/outcome-observations.ts","../src/meta-eval/rubric-predictive-validity.ts"],"mappings":";;KAIY;UAEK;EACf;EACA;;UCYe;;EAEf;EACA;;UAGe;;EAEf,MAAM;EACN,UAAU;;EAEV,yBAAyB;;EAEzB;;EAEA;;EAEA;;EAEA;;EAEA;;UAGe;EACf;EACA;EACA,kBAAkB;EAClB;;EAEA;EACA;EACA,aAAa;EACb,cAAc;;EAEd;EACA;EACA,qBAAqB;;EAErB;;UAGe,sBAAsB,KAAK;;EAE1C;;UAGe;EACf;EACA;EACA,kBAAkB;;EAElB;EACA;;UAGe;EACf,gBAAgB;EAChB,OAAO;;EAEP,eAAe;;EAEf,QAAQ;;EAER;;EAEA;;EAEA;;iBAGoB,yBACpB,OAAO,gCACN,QAAQ"}
@@ -1,20 +1,21 @@
1
1
  import { d as CostReceipt, l as CostLedgerSummary, o as CostLedgerHandle, p as CostUsage, r as CostBreakdown, u as CostProvenance } from "./cost-ledger-CSP-OfFe.js";
2
2
  import { c as ValidationError, t as AgentEvalError } from "./errors-E9I2hldP.js";
3
3
  import { a as RunRecord, c as RunSplitTag } from "./run-record-kuOr3BCF.js";
4
- import { dt as TraceAnalysisStore, i as AnalystFinding, p as AnalystUsageReceipt, u as AnalystRunResult, v as ProposalFinding } from "./types-fuOwNq1C.js";
5
- import { O as ChatClient, dt as ServedModelPolicy, z as LlmCallMetadata } from "./cluster-Bj90LK-1.js";
6
- import { E as PairedBootstrapResult } from "./index-CKjqN9_U.js";
4
+ import { dt as TraceAnalysisStore, i as AnalystFinding, p as AnalystUsageReceipt, u as AnalystRunResult, v as ProposalFinding } from "./types-CKNAzCSA.js";
5
+ import { n as ChatClient, p as LlmCallMetadata, z as ServedModelPolicy } from "./chat-client-uQNXGuO4.js";
6
+ import { E as PairedBootstrapResult } from "./index-CIqYaySd.js";
7
7
  import { E as SearchExecutionIdentity, G as SearchSplit, V as SearchProposer, i as SearchArtifactRef, nt as EvaluationClaim, rt as EvaluationUnitSummary, tt as SearchUnknown } from "./search-ledger-types-BhZE848w.js";
8
8
  import { r as LedgerHash } from "./canonical-CGXS21f_.js";
9
- import { C as JudgeDimension, H as SurfaceProposer, N as ParetoParent, O as LabeledScenarioSource, R as Scenario, S as JudgeConfig, _ as GateDecision, a as CampaignResult, b as GenerationRecord, c as CampaignTraceWriter, d as DispatchContext, f as DispatchFn, g as GateContribution, i as CampaignCostMeter, j as MutableSurface, k as LabeledScenarioStore, l as CodeSurface, o as CampaignScenarioIdentity, p as Gate, r as CampaignCellResult, u as ComponentSurface, v as GateResult, y as GenerationCandidate } from "./types-BMSDkS8l.js";
10
- import { Dt as FinalEvidenceRecord, pt as PairedArmsComparison, s as EvidenceReceipt, t as CampaignEvidenceContext, wt as FinalEvidenceLedger } from "./campaign-evidence-BojANgU7.js";
11
- import { Q as SearchRecorder, X as SearchLedgerBinding, Y as RegisterSearchNodeInput, _t as CampaignStorage, et as SearchRunIdentity, ft as SearchHistoryReceipt, i as RunSearchOptions, lt as SearchHistoryCoverage, st as SearchHistoryAdmissionOptions, v as SearchPolicy } from "./search-kernel-DJq9bUDU.js";
12
- import { a as PairedPromotionDecision } from "./paired-promotion-decision-ChHBuuHV.js";
9
+ import { C as JudgeDimension, H as SurfaceProposer, N as ParetoParent, O as LabeledScenarioSource, R as Scenario, S as JudgeConfig, _ as GateDecision, a as CampaignResult, b as GenerationRecord, c as CampaignTraceWriter, d as DispatchContext, f as DispatchFn, g as GateContribution, i as CampaignCostMeter, j as MutableSurface, k as LabeledScenarioStore, l as CodeSurface, o as CampaignScenarioIdentity, p as Gate, r as CampaignCellResult, u as ComponentSurface, v as GateResult, y as GenerationCandidate } from "./types-BO948H-U.js";
10
+ import { Dt as FinalEvidenceRecord, pt as PairedArmsComparison, s as EvidenceReceipt, t as CampaignEvidenceContext, wt as FinalEvidenceLedger } from "./campaign-evidence-CM4FBOkX.js";
11
+ import { Q as SearchRecorder, X as SearchLedgerBinding, Y as RegisterSearchNodeInput, _t as CampaignStorage, et as SearchRunIdentity, ft as SearchHistoryReceipt, i as RunSearchOptions, lt as SearchHistoryCoverage, st as SearchHistoryAdmissionOptions, v as SearchPolicy } from "./search-kernel-BzTeb89p.js";
12
+ import { a as PairedPromotionDecision } from "./paired-promotion-decision-DuvRdnsW.js";
13
13
  import { n as ModelTreatment, t as ModelComparison } from "./model-comparison-BHNL8Qrn.js";
14
- import { D as ExternalTextCandidate, E as ExternalOptimizerWireCounts, F as AnalystBenchmarkCase, O as ExternalTextEvaluationRequest, T as ExternalOptimizerRunnerCommand, Z as AnalystIssueExpectation, g as ExternalOptimizerEvaluationObservation, p as ExternalOptimizerCallbackLimits, t as AgentProfile$1, v as ExternalOptimizerModelBudget, w as ExternalOptimizerResumeMode, y as ExternalOptimizerModelCall, z as AnalystBenchmarkLabelState } from "./agent-profile-CRdalpZv.js";
14
+ import { D as ExternalTextCandidate, E as ExternalOptimizerWireCounts, F as AnalystBenchmarkCase, O as ExternalTextEvaluationRequest, T as ExternalOptimizerRunnerCommand, Z as AnalystIssueExpectation, g as ExternalOptimizerEvaluationObservation, p as ExternalOptimizerCallbackLimits, t as AgentProfile$1, v as ExternalOptimizerModelBudget, w as ExternalOptimizerResumeMode, y as ExternalOptimizerModelCall, z as AnalystBenchmarkLabelState } from "./agent-profile-ORN4aArD.js";
15
15
  import { r as DatasetScenario, t as Dataset } from "./dataset-DThC1S6G.js";
16
16
  import { t as DetectRewardHackingInput } from "./reward-hacking-4DsGTccp.js";
17
- import { n as CompletionVerdict, o as ProducedState, r as CorrectnessChecker, t as CompletionRequirement } from "./completion-verifier-Cy38EpGE.js";
17
+ import { n as CompletionVerdict, o as ProducedState, r as CorrectnessChecker, t as CompletionRequirement } from "./completion-verifier-C7wipJOK.js";
18
+ import { t as CalibrationBin } from "./calibration-CrORXMWx.js";
18
19
  import { f as TraceSpanEvent, t as HostedClient } from "./client-DUMIaMob.js";
19
20
  import { AgentProfile } from "@tangle-network/agent-interface";
20
21
  import { z } from "zod";
@@ -2054,6 +2055,52 @@ interface ScoreboardRenderOptions {
2054
2055
  * rows in, same bytes out (no clock/random), so it is safe to snapshot.
2055
2056
  */
2056
2057
  declare function renderScoreboardMarkdown(rows: readonly ScoreboardRow[], opts?: ScoreboardRenderOptions): string;
2058
+ /**
2059
+ * A profile against the baseline after the family adjustment. `better` and `worse`: the nominal
2060
+ * interval excludes zero and the Holm-adjusted p over the page's family is at most 1 - level.
2061
+ * `candidate`: the nominal interval excludes zero but the adjusted p does not pass.
2062
+ * `unresolved`: the nominal interval includes zero, or there is no paired case.
2063
+ */
2064
+ type ProfileMatrixVerdict = 'better' | 'worse' | 'candidate' | 'unresolved';
2065
+ /** The family of profile-against-baseline comparisons the verdicts control the error over. */
2066
+ interface ProfileMatrixFamily {
2067
+ method: 'holm';
2068
+ /** Familywise error rate the verdicts control: 1 - level. */
2069
+ alpha: number;
2070
+ /** Comparisons with a p-value, one per profile other than the baseline. */
2071
+ comparisons: number;
2072
+ }
2073
+ /** A share measured on each pair of runs: its mean over the pairs, and the lowest and highest. */
2074
+ interface ProfileMatrixPairwiseShare {
2075
+ mean: number;
2076
+ min: number;
2077
+ max: number;
2078
+ }
2079
+ /** How much one profile's runs differ with nothing changed between them. */
2080
+ interface ProfileMatrixRunStability {
2081
+ profileId: string;
2082
+ runs: number;
2083
+ /** Cases every run of this profile scored; every number below is on them. */
2084
+ n: number;
2085
+ /** Each run's mean score, in run order; null when `n` is 0. */
2086
+ runQuality: {
2087
+ run: number;
2088
+ quality: number | null;
2089
+ }[];
2090
+ /** Highest run quality minus the lowest; null when `n` is 0. */
2091
+ spread: number | null;
2092
+ /** Share of cases one run got right and the other did not, over run pairs; null when `n` is 0. */
2093
+ correctnessDisagreement: ProfileMatrixPairwiseShare | null;
2094
+ /** Share of the cases both runs answered where the answers differ; null without such a case. */
2095
+ answerDisagreement: ProfileMatrixPairwiseShare | null;
2096
+ /**
2097
+ * Half-width of the range, at the analysis level, within which two runs of this profile land
2098
+ * on the panel's common cases with nothing changed: z·√(m / n), where m is the mean squared
2099
+ * per-case score difference between two runs (for right/wrong scores, the correctness
2100
+ * disagreement) and each case's change is taken as independent. Null without common cases.
2101
+ */
2102
+ rerunMargin: number | null;
2103
+ }
2057
2104
  interface BackendIntegrityReport {
2058
2105
  /** Total records inspected. */
2059
2106
  totalRecords: number;
@@ -2307,6 +2354,292 @@ interface FinalizedProfileMatrixResult<TArtifact, TScenario extends Scenario> ex
2307
2354
  declare function createProfileMatrixPlan<TScenario extends Scenario, TArtifact>(opts: CreateProfileMatrixPlanOptions<TScenario, TArtifact>): ProfileMatrixPlan<TScenario, TArtifact>;
2308
2355
  declare function runProfileMatrixSegment<TScenario extends Scenario, TArtifact>(opts: RunProfileMatrixSegmentOptions<TScenario, TArtifact>): Promise<ProfileMatrixSegmentResult<TArtifact, TScenario>>;
2309
2356
  declare function finalizeProfileMatrix<TScenario extends Scenario, TArtifact>(opts: FinalizeProfileMatrixOptions<TScenario, TArtifact>): Promise<FinalizedProfileMatrixResult<TArtifact, TScenario>>;
2357
+ interface RaceProfileMatrixOptions<TScenario extends Scenario, TArtifact> extends Omit<RunProfileMatrixSegmentOptions<TScenario, TArtifact>, 'segmentId' | 'rows'> {
2358
+ /** Profile id kept to the end whatever its standing; the final comparison is against it. */
2359
+ baseline: string;
2360
+ /** Cases seen after each batch, strictly increasing. Default: `firstBatch`, doubling until every case is in. */
2361
+ batches?: readonly number[];
2362
+ /** Cases in the first batch when `batches` is not given. Default 8. */
2363
+ firstBatch?: number;
2364
+ /** Most cells (one profile on one case and rep) the race may run; a batch that would pass it is not started. */
2365
+ cellBudget?: number;
2366
+ /** Independent unit per case id; every raced case needs one. Default one unit per case. */
2367
+ clusters?: Readonly<Record<string, string>>;
2368
+ /** Interval level of each elimination. Default 0.95. */
2369
+ level?: number;
2370
+ /** `shuffled` (default) orders cases by a draw seeded with the plan seed; `plan` keeps the plan's order. */
2371
+ caseOrder?: 'shuffled' | 'plan';
2372
+ }
2373
+ interface ProfileMatrixRaceStanding {
2374
+ profileId: string;
2375
+ /** Cases both this profile and the leader scored. */
2376
+ n: number;
2377
+ /** Independent clusters among those cases. */
2378
+ clusters: number;
2379
+ /** Mean paired difference from the leader; null without a shared scored case. */
2380
+ difference: number | null;
2381
+ low: number | null;
2382
+ high: number | null;
2383
+ /** Exact cluster sign-flip p-value for a zero difference. */
2384
+ pValue: number | null;
2385
+ /** Paired cases a test needs for 80% power at the observed difference. */
2386
+ casesToResolve: number | null;
2387
+ dropped: boolean;
2388
+ reason?: string;
2389
+ }
2390
+ interface ProfileMatrixRaceBatch {
2391
+ batch: number;
2392
+ casesSeen: number;
2393
+ cellsRun: number;
2394
+ leader: string;
2395
+ standings: ProfileMatrixRaceStanding[];
2396
+ }
2397
+ interface ProfileMatrixRaceFinalRow {
2398
+ profileId: string;
2399
+ quality: number | null;
2400
+ /** Paired difference from the baseline on the final cases; null on the baseline itself. */
2401
+ vsBaseline: ProfileMatrixPairedDifference | null;
2402
+ }
2403
+ interface ProfileMatrixRaceResult {
2404
+ matrixId: string;
2405
+ planDigest: string;
2406
+ baseline: string;
2407
+ leader: string;
2408
+ survivors: string[];
2409
+ stoppedBecause: 'one-left' | 'cell-budget' | 'batches-ended';
2410
+ casesRaced: string[];
2411
+ cellsRun: number;
2412
+ /** Cells the complete plan holds. */
2413
+ plannedCells: number;
2414
+ log: ProfileMatrixRaceBatch[];
2415
+ /** Survivors on the cases every survivor scored. */
2416
+ final: {
2417
+ cases: number;
2418
+ rows: ProfileMatrixRaceFinalRow[];
2419
+ };
2420
+ records: RunRecord[];
2421
+ /** The race chose its leader on these cases, so the leader's score here reads high. */
2422
+ selectionBias: string;
2423
+ }
2424
+ /**
2425
+ * Successive halving over a profile-matrix plan. After each batch a profile
2426
+ * whose paired interval against the current leader lies wholly below zero is
2427
+ * dropped, as is one whose cells in the batch produced no score; the baseline
2428
+ * is always kept. The race stops when one profile is left, the next batch
2429
+ * would pass `cellBudget`, or the batch list ends.
2430
+ */
2431
+ declare function raceProfileMatrix<TScenario extends Scenario, TArtifact>(opts: RaceProfileMatrixOptions<TScenario, TArtifact>): Promise<ProfileMatrixRaceResult>;
2432
+ /** A cost drawn against quality. `seconds` is the latency axis. */
2433
+ type ProfileMatrixCostAxis = 'usd' | 'tokens' | 'seconds';
2434
+ interface ProfileMatrixReportOptions {
2435
+ /** A `runProfileMatrix` or `raceProfileMatrix` result, or the RunRecords alone. */
2436
+ source: {
2437
+ readonly records: readonly RunRecord[];
2438
+ } | readonly RunRecord[];
2439
+ /** Profile id (`candidateId`) every paired difference is measured against. */
2440
+ baseline: string;
2441
+ /** Profiles to compare, in display order. Default: every profile in the records, baseline first. */
2442
+ profiles?: readonly string[];
2443
+ /**
2444
+ * Share of the baseline's scored cases a profile must also have scored to join the
2445
+ * common-set panels, in (0, 1]. Default 0.9. When the source is a race result, its
2446
+ * survivors form the panel instead.
2447
+ */
2448
+ minCoverage?: number;
2449
+ /** Independent unit per case id. Every scored case needs one; default one unit per case. */
2450
+ clusters?: Readonly<Record<string, string>>;
2451
+ /** Slice per case id for the slice heatmap. */
2452
+ slices?: Readonly<Record<string, string>>;
2453
+ /** Factor levels per profile id, such as model, harness, effort or instructions. */
2454
+ factors?: Readonly<Record<string, Readonly<Record<string, string>>>>;
2455
+ /** Costs to draw against quality. Default all three; an axis without measurements is reported, not drawn. */
2456
+ costAxes?: readonly ProfileMatrixCostAxis[];
2457
+ /** A case counts as correct at or above this score. Default 0.5, which pass/fail scores do not notice. */
2458
+ passScore?: number;
2459
+ /** The profile's own forecast, in [0, 1], that its answer is correct, when it returned one. */
2460
+ probabilityOf?: (record: RunRecord) => number | undefined;
2461
+ /**
2462
+ * The answer a record gave, such as its label, so the run-to-run panel can count answers that
2463
+ * change between runs; without it the panel counts only changes of correctness.
2464
+ */
2465
+ answerOf?: (record: RunRecord) => string | undefined;
2466
+ /** A race over these profiles: the page prints its elimination log and its selection-bias note. */
2467
+ race?: ProfileMatrixRaceResult;
2468
+ /** Interval level. Default 0.95. */
2469
+ level?: number;
2470
+ title?: string;
2471
+ }
2472
+ interface ProfileMatrixInterval {
2473
+ estimate: number;
2474
+ /** Null when the interval is undefined, as with fewer than two clusters. */
2475
+ low: number | null;
2476
+ high: number | null;
2477
+ }
2478
+ /** One profile against another on the cases both scored. */
2479
+ interface ProfileMatrixPairedDifference extends ProfileMatrixInterval {
2480
+ /** Cases both profiles scored. */
2481
+ n: number;
2482
+ /** Independent clusters among those cases. */
2483
+ clusters: number;
2484
+ /** Exact cluster sign-flip p-value for a zero difference. */
2485
+ pValue: number | null;
2486
+ /** Share of the paired cases where exactly one of the two profiles was correct. */
2487
+ discordance: number;
2488
+ /** Paired cases a two-sided test needs for 80% power at the observed difference; null at a zero difference. Ignores clustering. */
2489
+ casesToResolve: number | null;
2490
+ }
2491
+ interface ProfileMatrixProfileStats {
2492
+ profileId: string;
2493
+ factors: Readonly<Record<string, string>>;
2494
+ /** Distinct runs among this profile's records by `outcome.raw.rep`; a record without one is run 0. */
2495
+ runs: number;
2496
+ casesAttempted: number;
2497
+ casesScored: number;
2498
+ /** Share of this profile's records without a score: a dispatch or judge failure. */
2499
+ failureRate: number;
2500
+ /** Share of the baseline's scored cases this profile also scored. */
2501
+ coverage: number;
2502
+ /** In the common-set panels: the frontiers, error overlap, difficulty, slices and power. */
2503
+ panel: boolean;
2504
+ /** Cases this profile and the baseline both scored, the n of `vsBaseline`; on the baseline, its own scored cases. */
2505
+ pairedN: number;
2506
+ /** The race batch whose standings dropped this profile. */
2507
+ droppedAtBatch?: number;
2508
+ /** Mean score on this profile's own scored cases. */
2509
+ ownQuality: ProfileMatrixInterval | null;
2510
+ /** Mean score on the common set; null outside the panel. */
2511
+ quality: ProfileMatrixInterval | null;
2512
+ /** Paired difference from the baseline on the cases both scored; absent on the baseline. */
2513
+ vsBaseline?: ProfileMatrixPairedDifference;
2514
+ /** Holm-adjusted `vsBaseline.pValue` over the family; null without a p-value. */
2515
+ adjustedPValue?: number | null;
2516
+ /** Standing against the baseline after the family adjustment; absent on the baseline. */
2517
+ verdict?: ProfileMatrixVerdict;
2518
+ /** Mean per common case; null outside the panel or when a record in it did not measure that cost. */
2519
+ costPerCase: Record<ProfileMatrixCostAxis, number | null>;
2520
+ /** Common-set total divided by the common cases answered correctly; null outside the panel or with none correct. */
2521
+ costPerCorrect: Record<ProfileMatrixCostAxis, number | null>;
2522
+ /** Seconds per common case; null outside the panel. */
2523
+ latency: {
2524
+ p50: number;
2525
+ p90: number;
2526
+ } | null;
2527
+ }
2528
+ interface ProfileMatrixAxisSummary {
2529
+ axis: ProfileMatrixCostAxis;
2530
+ drawn: boolean;
2531
+ /** What the axis measures, or why it is not drawn. */
2532
+ note: string;
2533
+ /** Panel profiles on the quality-versus-this-axis Pareto set, cheapest first. */
2534
+ frontier: string[];
2535
+ }
2536
+ interface ProfileMatrixFactorEffect {
2537
+ factor: string;
2538
+ level: string;
2539
+ /** The baseline's level of this factor, or its most common level. */
2540
+ reference: string;
2541
+ /** Profile pairs that differ only in this factor; zero means the effect is confounded. */
2542
+ matchedPairs: number;
2543
+ /** Cases at least one matched pair scored on both sides. */
2544
+ n: number;
2545
+ /** Fewest and most cases one matched pair shares; null without a matched pair. */
2546
+ pairCases: {
2547
+ min: number;
2548
+ max: number;
2549
+ } | null;
2550
+ /** Mean over those cases of the matched pairs' mean difference on each case. */
2551
+ effect: ProfileMatrixInterval | null;
2552
+ pValue: number | null;
2553
+ }
2554
+ interface ProfileMatrixSliceCell {
2555
+ profileId: string;
2556
+ slice: string;
2557
+ /** Common cases in the slice. */
2558
+ n: number;
2559
+ quality: number | null;
2560
+ }
2561
+ interface ProfileMatrixErrorOverlap {
2562
+ a: string;
2563
+ b: string;
2564
+ /** Share of common cases both got wrong. */
2565
+ bothWrong: number;
2566
+ /** Share of common cases exactly one got right. */
2567
+ disagree: number;
2568
+ }
2569
+ interface ProfileMatrixCaseDifficulty {
2570
+ caseId: string;
2571
+ slice?: string;
2572
+ /** Panel profiles that got the case right. */
2573
+ solved: number;
2574
+ /** Panel profiles that scored the case. */
2575
+ scored: number;
2576
+ share: number;
2577
+ }
2578
+ interface ProfileMatrixCalibration {
2579
+ profileId: string;
2580
+ n: number;
2581
+ ece: number;
2582
+ brier: number;
2583
+ bins: CalibrationBin[];
2584
+ }
2585
+ interface ProfileMatrixPower {
2586
+ n: number;
2587
+ clusters: number;
2588
+ /** Median share of common cases on which a panel profile and the baseline disagree on correctness. */
2589
+ discordance: number;
2590
+ /** Smallest paired difference detected with 80% power; null when not even a difference of 1 is. */
2591
+ detectable: number | null;
2592
+ /** False when this many clusters cannot reach the level by an exact sign-flip test at any effect. */
2593
+ certifiable: boolean;
2594
+ minClusters: number;
2595
+ }
2596
+ interface ProfileMatrixAnalysis {
2597
+ title: string;
2598
+ baseline: string;
2599
+ level: number;
2600
+ passScore: number;
2601
+ /** True when every per-case score is 0 or 1. */
2602
+ passFail: boolean;
2603
+ minCoverage: number;
2604
+ /** `coverage`: profiles at `minCoverage` or above; `race-survivors`: the source race's survivors. */
2605
+ panelRule: 'coverage' | 'race-survivors';
2606
+ /** Profiles in the common-set panels, baseline first. */
2607
+ panelProfiles: string[];
2608
+ /** Cases every panel profile scored: the set the frontiers, overlap, difficulty, slices and power use. */
2609
+ commonCases: string[];
2610
+ commonClusters: number;
2611
+ axes: ProfileMatrixAxisSummary[];
2612
+ /** Every profile, baseline first; `panel` marks the panel profiles. */
2613
+ profiles: ProfileMatrixProfileStats[];
2614
+ /** The comparisons each profile's `verdict` is adjusted over. */
2615
+ family: ProfileMatrixFamily;
2616
+ /** Every profile with two or more runs, in profile order. */
2617
+ stability: ProfileMatrixRunStability[];
2618
+ factorEffects: ProfileMatrixFactorEffect[];
2619
+ /** Slice names, the slice with the most common cases first. */
2620
+ slices: string[];
2621
+ sliceCells: ProfileMatrixSliceCell[];
2622
+ errorOverlap: ProfileMatrixErrorOverlap[];
2623
+ /** Share of common cases at least one panel profile got right. */
2624
+ oracle: number | null;
2625
+ difficulty: ProfileMatrixCaseDifficulty[];
2626
+ calibration: ProfileMatrixCalibration[];
2627
+ power: ProfileMatrixPower | null;
2628
+ }
2629
+ /**
2630
+ * Compare profile-matrix cells against one baseline: quality with clustered
2631
+ * intervals, paired differences, the cost and latency frontiers, factor main
2632
+ * effects, slices, error overlap, item difficulty, calibration and power.
2633
+ *
2634
+ * A profile run more than once (its records carry `outcome.raw.rep`, as campaign
2635
+ * records do) scores each case at its mean over the runs, and `stability` measures
2636
+ * how far its runs differ with nothing changed. Each verdict against the baseline
2637
+ * is Holm-adjusted over every profile-against-baseline comparison, so with dozens
2638
+ * of profiles one lucky interval reads as a candidate, not a win.
2639
+ */
2640
+ declare function analyzeProfileMatrix(options: ProfileMatrixReportOptions): ProfileMatrixAnalysis;
2641
+ /** Render the decision page for a profile matrix or a race over one. */
2642
+ declare function renderProfileMatrixReport(options: ProfileMatrixReportOptions): string;
2310
2643
  interface LoopProvenanceCandidate {
2311
2644
  /** Generation index this candidate was proposed in. */
2312
2645
  generation: number;
@@ -2502,6 +2835,46 @@ interface EmitLoopProvenanceArgs<TArtifact, TScenario extends Scenario> extends
2502
2835
  * collector never fails the loop (the durable artifact is the source of truth).
2503
2836
  */
2504
2837
  declare function emitLoopProvenance<TArtifact, TScenario extends Scenario>(args: EmitLoopProvenanceArgs<TArtifact, TScenario>): Promise<EmitLoopProvenanceResult>;
2838
+ interface RepeatReliabilityOptions<TArtifact> {
2839
+ /** Repeats every success must hold over: pass^k. A scenario with fewer scored
2840
+ * repeats than `k` reports no pass^k and is listed as incomplete. */
2841
+ k: number;
2842
+ /** Objective success of one repeat, decided by code from the artifact. */
2843
+ success: (artifact: TArtifact) => boolean;
2844
+ /** Independent sampling unit for each scenario; scenarios sharing a unit are
2845
+ * averaged before units are weighted equally. Default: each scenario is its
2846
+ * own unit. */
2847
+ independentUnitByScenarioId?: ReadonlyMap<string, string>;
2848
+ }
2849
+ interface ScenarioRepeatReliability {
2850
+ scenarioId: string;
2851
+ unit: string;
2852
+ /** Scored repeats: cells that produced an artifact without an error. */
2853
+ repeats: number;
2854
+ successes: number;
2855
+ meanSuccess: number;
2856
+ /** Unbiased pass^k over the scored repeats; null below `k` repeats. */
2857
+ passAllK: number | null;
2858
+ }
2859
+ interface RepeatReliability {
2860
+ k: number;
2861
+ /** Scenarios in first-seen cell order. */
2862
+ scenarios: ScenarioRepeatReliability[];
2863
+ /** Independent units with at least one scored repeat. */
2864
+ units: number;
2865
+ /** Mean success, each unit weighted equally; null with no scored repeat. */
2866
+ meanSuccess: number | null;
2867
+ /** pass^k, each unit weighted equally over its complete scenarios; null when
2868
+ * no scenario has `k` scored repeats. */
2869
+ passAllK: number | null;
2870
+ /** Scenarios with fewer than `k` scored repeats. */
2871
+ incompleteScenarios: string[];
2872
+ /** Cells that failed in dispatch or judging. They are a service or
2873
+ * measurement failure, never a counted agent failure. */
2874
+ failedCells: number;
2875
+ }
2876
+ /** pass^k beside mean success over a campaign's seeded repeats. */
2877
+ declare function repeatReliability<TArtifact>(cells: ReadonlyArray<CampaignCellResult<TArtifact>>, opts: RepeatReliabilityOptions<TArtifact>): RepeatReliability;
2505
2878
  type RetainedDispatchOutcome<T> = {
2506
2879
  succeeded: true;
2507
2880
  value: T;
@@ -3006,5 +3379,5 @@ interface RunImprovementLoopResult<TArtifact, TScenario extends Scenario> extend
3006
3379
  * Gated-promotion shell over `runOptimization`: scores the winner against the baseline on a holdout set, runs the release gate, and optionally opens a PR.
3007
3380
  */
3008
3381
  declare function runImprovementLoop<TScenario extends Scenario, TArtifact>(opts: RunImprovementLoopOptions<TScenario, TArtifact>): Promise<RunImprovementLoopResult<TArtifact, TScenario>>;
3009
- export { emitLoopProvenance as $, ExternalTextEvaluationResponse as $n, CrossSurfacePairEvidence as $r, GepaEvaluationImport as $t, SkillOptRunnerCommand as A, planCampaignRun as Ai, CanaryEvaluation as An, CrossSurfaceAdditionRejectionReason as Ar, scoreUserStory as At, RetainedDispatchOptions as B, withFinalEvidenceSources as Bi, EvalFixtureScenario as Bn, CrossSurfaceComponentEvidence as Br, OptimizationMethodPairwise as Bt, codeSurfaceIdentityMaterial as C, CampaignCellFailureReceipt as Ci, RedTeamCategory as Cn, ExternalOptimizerObservationArtifact as Cr, PlaybackStep as Ct, surfaceDispatchRef as D, CampaignRunPlan as Di, redTeamReport as Dn, analyzeCrossSurfaceInteractions as Dr, UserStory as Dt, surfaceContentHash as E, runCampaign as Ei, redTeamDataset as En, readExternalOptimizerObservationArtifact as Er, ScoreboardSummary as Et, acquireSingleRunLock as F, cellCachePath as Fi, composeGate as Fn, CrossSurfaceCandidateComparison as Fr, RuntimeEventLike as Ft, EmitLoopProvenanceResult as G, campaignSplitDigest as Gi, loadEvalFixture as Gn, CrossSurfaceIneligibilityReason as Gr, neutralizeText as Gt, createRetainedDispatch as H, assertCampaignDesign as Hi, LoadEvalFixtureScenariosOptions as Hn, CrossSurfaceDistribution as Hr, compareOptimizationMethods as Ht, DiscriminationScore as I, FinalEvidencePolicy as Ii, EvalFixture as In, CrossSurfaceCandidateEvidence as Ir, ToolCallEventLike as It, LoopProvenanceCandidate as J, SearchLedgerIntegrityError as Ji, externalTextOptimizationMethod as Jn, CrossSurfaceInteractionPath as Jr, RolloutArgumentDiffOptions as Jt, LoopProvenanceArgsFromResult as K, campaignSplitDigestFromIdentities as Ki, loadEvalFixtureScenarios as Kn, CrossSurfaceInteractionAwareSelection as Kr, FsLabeledScenarioStoreOptions as Kt, ScenarioSignal as L, FinalEvidenceUse as Li, EvalFixtureFile as Ln, CrossSurfaceCandidateOutcome as Lr, extractProducedState as Lt, skillOptOptimizationMethod as M, CacheRead as Mi, CanaryOptions as Mn, CrossSurfaceBestSingleSelection as Mr, userStoryScoreboard as Mt, SingleRunLock as N, CellScheduleSlot as Ni, CanaryReport as Nn, CrossSurfaceBootstrapPolicy as Nr, ArtifactEventLike as Nt, surfaceHash as O, CampaignRunPlanCell as Oi, scoreRedTeamOutput as On, AnalyzeCrossSurfaceInteractionsInput as Or, UserStoryVerdict as Ot, SingleRunLockOptions as P, buildCellSchedule as Pi, runCanaries as Pn, CrossSurfaceCandidate as Pr, ProposalEventLike as Pt, canonicalDigest as Q, ExternalOptimizationExample as Qn, CrossSurfacePairCompatibility as Qr, ExternalSearchOptimizer as Qt, scoreDiscrimination as R, captureFinalEvidencePolicy as Ri, EvalFixtureLoadOptions as Rn, CrossSurfaceCandidateSummary as Rr, CompareOptimizationMethodsOptions as Rt, assertCodeSurfaceIdentity as S, runEval as Si, RedTeamCase as Sn, ExternalOptimizerExecutionSummary as Sr, PlaybackDriver as St, renderSurfaceDiff as T, RunCampaignOptions as Ti, RedTeamReport as Tn, ExternalOptimizerSubmittedCandidate as Tr, ScoreboardRow as Tt, BuildLoopProvenanceArgs as U, campaignCoverage as Ui, PlanEvalFixtureRunOptions as Un, CrossSurfaceEligibility as Ur, scopedOptimizationMethod as Ut, RetainedDispatchOutcome as V, CampaignCoverage as Vi, EvalFixtureValidationMode as Vn, CrossSurfaceCompositionStep as Vr, OptimizationMethodScore as Vt, EmitLoopProvenanceArgs as W, campaignScenarioIdentity as Wi, discoverEvalFixtures as Wn, CrossSurfaceEvidenceBreakdown as Wr, sequentialOptimizationMethod as Wt, LoopProvenanceOptimizationMethod as X, ExternalTextOptimizerContext as Xn, CrossSurfaceInteractionTask as Xr, ScoredRollout as Xt, LoopProvenanceEvidence as Y, ExternalTextOptimizationMethodConfig as Yn, CrossSurfaceInteractionReport as Yr, RolloutCall as Yt, LoopProvenanceRecord as Z, ExternalTextOptimizerResult as Zn, CrossSurfaceNaiveStackSelection as Zr, UngroundedLiteralReport as Zt, PhoenixEvaluationResultLike as _, llmJudge as _i, DefaultProductionGateCheck as _n, GepaCandidatePopulationArtifact as _r, BackendIntegrityError as _t, RunOptimizationOptions as a, CrossSurfaceSelections as ai, GepaEngineOptions as an, OptimizationMethodResult as ar, ProfileMatrixRow as at, isTransientTransportFailure as b, openAutoPr as bi, defaultProductionGate as bn, GepaCandidateSelectionScore as br, summarizeBackendIntegrity as bt, CodeSurfaceVerification as c, BuildTraceAnalystSurfaceDispatchOptions as ci, GepaOptimizationRecipe as cn, ArtifactEvidenceOptions as cr, createProfileMatrixPlan as ct, WorktreeAdapter as d, ReferenceEquivalenceJudgeInput as di, OpenAICompatibleOptimizerModel as dn, DescribeArtifact as dr, ProfileDispatchFn as dt, CrossSurfacePairIncompatibilityReason as ei, GepaPopulationImport as en, decodeExternalTextCandidate as er, CreateProfileMatrixPlanOptions as et, gitWorktreeAdapter as f, ReferenceEquivalenceJudgeOptions as fi, OptimizerModelBudget as fn, campaignBreakdown as fr, ProfileSummary as ft, AutoevalsScorerLike as g, LlmJudgeOptions as gi, heldOutGate as gn, costFromLedgerSummary as gr, runProfileMatrix as gt, AutoevalsScoreLike as h, LlmJudgeDimension as hi, HeldOutGateOptions as hn, OptimizationTokenUsage as hr, ScenarioRollup as ht, PremeasuredOptimizationBaseline as i, CrossSurfaceSelectionPolicy as ii, GepaAdaptiveEngineRun as in, OptimizationMethodProvenance as ir, ProfileMatrixPlan as it, SkillOptTrainerConfig as j, CacheIssueReason as ji, CanaryKind as jn, CrossSurfaceAttemptCompleteness as jr, scoreboardSummary as jt, SkillOptOptimizationMethodConfig as k, PlanCampaignRunOptions as ki, CanaryAlert as kn, CrossSurfaceAdditionDecision as kr, renderScoreboardMarkdown as kt, GitWorktreeAdapterOptions as l, TraceAnalystArtifact as li, GepaRunnerCommand as ln, CampaignBreakdown as lr, finalizeProfileMatrix as lt, verifyCodeSurface as m, ReferenceEquivalenceScenario as mi, neutralizationGate as mn, ComparisonCost as mr, RunProfileMatrixResult as mt, RunImprovementLoopResult as n, CrossSurfaceRankedSingle as ni, importExternalEvaluations as nn, OptimizationMethodComposition as nr, FinalizedProfileMatrixResult as nt, RunOptimizationResult as o, CrossSurfaceTaskRow as oi, GepaEngineRun as on, OptimizationMethodRunOptions as or, ProfileMatrixSegmentResult as ot, resolveWorktreePath as p, ReferenceEquivalenceJudgeResult as pi, NeutralizationGateOptions as pn, campaignMeanComposite as pr, RunProfileMatrixOptions as pt, LoopProvenanceBackend as q, SearchLedgerError as qi, planEvalFixtureRun as qn, CrossSurfaceInteractionEffect as qr, RolloutArgumentDiff as qt, runImprovementLoop as r, CrossSurfaceRelativeCost as ri, importGepaPopulation as rn, OptimizationMethodInput as rr, ProfileMatrixCoverage as rt, runOptimization as s, measureCampaignCost as si, GepaOptimizationMethodConfig as sn, OptimizationPackageSource as sr, RunProfileMatrixSegmentOptions as st, RunImprovementLoopOptions as t, CrossSurfacePairwiseEntry as ti, externalSurface as tn, OptimizationMethod as tr, FinalizeProfileMatrixOptions as tt, Worktree as u, TraceAnalystScenario as ui, gepaOptimizationMethod as un, CampaignComparisonUnits as ur, runProfileMatrixSegment as ut, PhoenixEvaluatorLike as v, OpenAutoPrOptions as vi, DefaultProductionGateOptions as vn, GepaCandidatePopulationCandidate as vr, BackendIntegrityReport as vt, componentSurfaceIdentityMaterial as w, CampaignCellRetryPolicy as wi, RedTeamFinding as wn, ExternalOptimizerObservationSummary as wr, ScoreboardRenderOptions as wt, transientDispatchFailure as x, RunEvalOptions as xi, DEFAULT_RED_TEAM_CORPUS as xn, readGepaCandidatePopulationArtifact as xr, PlaybackContext as xt, TransientFailureOptions as y, OpenAutoPrResult as yi, DefaultProductionRewardHackingOptions as yn, GepaCandidatePopulationSummary as yr, assertRealBackend as yt, resolveRunDir as z, prepareSearchFinalEvidence as zi, EvalFixtureRunPlan as zn, CrossSurfaceComponent as zr, OptimizationMethodComparison as zt };
3010
- //# sourceMappingURL=run-improvement-loop-BfwOUudy.d.ts.map
3382
+ export { LoopProvenanceEvidence as $, CampaignCellRetryPolicy as $i, RedTeamFinding as $n, ExternalOptimizerObservationSummary as $r, ScoreboardRenderOptions as $t, SkillOptRunnerCommand as A, CrossSurfacePairwiseEntry as Ai, externalSurface as An, OptimizationMethod as Ar, ProfileMatrixRow as At, RetainedDispatchOptions as B, ReferenceEquivalenceJudgeInput as Bi, OpenAICompatibleOptimizerModel as Bn, DescribeArtifact as Br, ScenarioRollup as Bt, codeSurfaceIdentityMaterial as C, SearchLedgerIntegrityError as Ca, CrossSurfaceInteractionPath as Ci, RolloutArgumentDiffOptions as Cn, externalTextOptimizationMethod as Cr, RaceProfileMatrixOptions as Ct, surfaceDispatchRef as D, CrossSurfacePairCompatibility as Di, ExternalSearchOptimizer as Dn, ExternalOptimizationExample as Dr, FinalizedProfileMatrixResult as Dt, surfaceContentHash as E, CrossSurfaceNaiveStackSelection as Ei, UngroundedLiteralReport as En, ExternalTextOptimizerResult as Er, FinalizeProfileMatrixOptions as Et, acquireSingleRunLock as F, CrossSurfaceTaskRow as Fi, GepaEngineRun as Fn, OptimizationMethodRunOptions as Fr, runProfileMatrixSegment as Ft, ScenarioRepeatReliability as G, LlmJudgeOptions as Gi, heldOutGate as Gn, costFromLedgerSummary as Gr, summarizeBackendIntegrity as Gt, createRetainedDispatch as H, ReferenceEquivalenceJudgeResult as Hi, NeutralizationGateOptions as Hn, campaignMeanComposite as Hr, BackendIntegrityError as Ht, DiscriminationScore as I, measureCampaignCost as Ii, GepaOptimizationMethodConfig as In, OptimizationPackageSource as Ir, ProfileDispatchFn as It, EmitLoopProvenanceArgs as J, OpenAutoPrResult as Ji, DefaultProductionRewardHackingOptions as Jn, GepaCandidatePopulationSummary as Jr, ProfileMatrixRunStability as Jt, repeatReliability as K, llmJudge as Ki, DefaultProductionGateCheck as Kn, GepaCandidatePopulationArtifact as Kr, ProfileMatrixFamily as Kt, ScenarioSignal as L, BuildTraceAnalystSurfaceDispatchOptions as Li, GepaOptimizationRecipe as Ln, ArtifactEvidenceOptions as Lr, ProfileSummary as Lt, skillOptOptimizationMethod as M, CrossSurfaceRelativeCost as Mi, importGepaPopulation as Mn, OptimizationMethodInput as Mr, RunProfileMatrixSegmentOptions as Mt, SingleRunLock as N, CrossSurfaceSelectionPolicy as Ni, GepaAdaptiveEngineRun as Nn, OptimizationMethodProvenance as Nr, createProfileMatrixPlan as Nt, surfaceHash as O, CrossSurfacePairEvidence as Oi, GepaEvaluationImport as On, ExternalTextEvaluationResponse as Or, ProfileMatrixCoverage as Ot, SingleRunLockOptions as P, CrossSurfaceSelections as Pi, GepaEngineOptions as Pn, OptimizationMethodResult as Pr, finalizeProfileMatrix as Pt, LoopProvenanceCandidate as Q, CampaignCellFailureReceipt as Qi, RedTeamCategory as Qn, ExternalOptimizerObservationArtifact as Qr, PlaybackStep as Qt, scoreDiscrimination as R, TraceAnalystArtifact as Ri, GepaRunnerCommand as Rn, CampaignBreakdown as Rr, RunProfileMatrixOptions as Rt, assertCodeSurfaceIdentity as S, SearchLedgerError as Sa, CrossSurfaceInteractionEffect as Si, RolloutArgumentDiff as Sn, planEvalFixtureRun as Sr, ProfileMatrixRaceStanding as St, renderSurfaceDiff as T, CrossSurfaceInteractionTask as Ti, ScoredRollout as Tn, ExternalTextOptimizerContext as Tr, CreateProfileMatrixPlanOptions as Tt, RepeatReliability as U, ReferenceEquivalenceScenario as Ui, neutralizationGate as Un, ComparisonCost as Ur, BackendIntegrityReport as Ut, RetainedDispatchOutcome as V, ReferenceEquivalenceJudgeOptions as Vi, OptimizerModelBudget as Vn, campaignBreakdown as Vr, runProfileMatrix as Vt, RepeatReliabilityOptions as W, LlmJudgeDimension as Wi, HeldOutGateOptions as Wn, OptimizationTokenUsage as Wr, assertRealBackend as Wt, LoopProvenanceArgsFromResult as X, RunEvalOptions as Xi, DEFAULT_RED_TEAM_CORPUS as Xn, readGepaCandidatePopulationArtifact as Xr, PlaybackContext as Xt, EmitLoopProvenanceResult as Y, openAutoPr as Yi, defaultProductionGate as Yn, GepaCandidateSelectionScore as Yr, ProfileMatrixVerdict as Yt, LoopProvenanceBackend as Z, runEval as Zi, RedTeamCase as Zn, ExternalOptimizerExecutionSummary as Zr, PlaybackDriver as Zt, PhoenixEvaluationResultLike as _, assertCampaignDesign as _a, CrossSurfaceDistribution as _i, compareOptimizationMethods as _n, LoadEvalFixtureScenariosOptions as _r, ProfileMatrixSliceCell as _t, RunOptimizationOptions as a, planCampaignRun as aa, CrossSurfaceAdditionRejectionReason as ai, scoreUserStory as an, CanaryEvaluation as ar, ProfileMatrixAnalysis as at, isTransientTransportFailure as b, campaignSplitDigest as ba, CrossSurfaceIneligibilityReason as bi, neutralizeText as bn, loadEvalFixture as br, ProfileMatrixRaceFinalRow as bt, CodeSurfaceVerification as c, CellScheduleSlot as ca, CrossSurfaceBootstrapPolicy as ci, ArtifactEventLike as cn, CanaryReport as cr, ProfileMatrixCaseDifficulty as ct, WorktreeAdapter as d, FinalEvidencePolicy as da, CrossSurfaceCandidateEvidence as di, ToolCallEventLike as dn, EvalFixture as dr, ProfileMatrixFactorEffect as dt, RunCampaignOptions as ea, ExternalOptimizerSubmittedCandidate as ei, ScoreboardRow as en, RedTeamReport as er, LoopProvenanceOptimizationMethod as et, gitWorktreeAdapter as f, FinalEvidenceUse as fa, CrossSurfaceCandidateOutcome as fi, extractProducedState as fn, EvalFixtureFile as fr, ProfileMatrixInterval as ft, AutoevalsScorerLike as g, CampaignCoverage as ga, CrossSurfaceCompositionStep as gi, OptimizationMethodScore as gn, EvalFixtureValidationMode as gr, ProfileMatrixReportOptions as gt, AutoevalsScoreLike as h, withFinalEvidenceSources as ha, CrossSurfaceComponentEvidence as hi, OptimizationMethodPairwise as hn, EvalFixtureScenario as hr, ProfileMatrixProfileStats as ht, PremeasuredOptimizationBaseline as i, PlanCampaignRunOptions as ia, CrossSurfaceAdditionDecision as ii, renderScoreboardMarkdown as in, CanaryAlert as ir, renderProfileMatrixReport as it, SkillOptTrainerConfig as j, CrossSurfaceRankedSingle as ji, importExternalEvaluations as jn, OptimizationMethodComposition as jr, ProfileMatrixSegmentResult as jt, SkillOptOptimizationMethodConfig as k, CrossSurfacePairIncompatibilityReason as ki, GepaPopulationImport as kn, decodeExternalTextCandidate as kr, ProfileMatrixPlan as kt, GitWorktreeAdapterOptions as l, buildCellSchedule as la, CrossSurfaceCandidate as li, ProposalEventLike as ln, runCanaries as lr, ProfileMatrixCostAxis as lt, verifyCodeSurface as m, prepareSearchFinalEvidence as ma, CrossSurfaceComponent as mi, OptimizationMethodComparison as mn, EvalFixtureRunPlan as mr, ProfileMatrixPower as mt, RunImprovementLoopResult as n, CampaignRunPlan as na, analyzeCrossSurfaceInteractions as ni, UserStory as nn, redTeamReport as nr, canonicalDigest as nt, RunOptimizationResult as o, CacheIssueReason as oa, CrossSurfaceAttemptCompleteness as oi, scoreboardSummary as on, CanaryKind as or, ProfileMatrixAxisSummary as ot, resolveWorktreePath as p, captureFinalEvidencePolicy as pa, CrossSurfaceCandidateSummary as pi, CompareOptimizationMethodsOptions as pn, EvalFixtureLoadOptions as pr, ProfileMatrixPairedDifference as pt, BuildLoopProvenanceArgs as q, OpenAutoPrOptions as qi, DefaultProductionGateOptions as qn, GepaCandidatePopulationCandidate as qr, ProfileMatrixPairwiseShare as qt, runImprovementLoop as r, CampaignRunPlanCell as ra, AnalyzeCrossSurfaceInteractionsInput as ri, UserStoryVerdict as rn, scoreRedTeamOutput as rr, emitLoopProvenance as rt, runOptimization as s, CacheRead as sa, CrossSurfaceBestSingleSelection as si, userStoryScoreboard as sn, CanaryOptions as sr, ProfileMatrixCalibration as st, RunImprovementLoopOptions as t, runCampaign as ta, readExternalOptimizerObservationArtifact as ti, ScoreboardSummary as tn, redTeamDataset as tr, LoopProvenanceRecord as tt, Worktree as u, cellCachePath as ua, CrossSurfaceCandidateComparison as ui, RuntimeEventLike as un, composeGate as ur, ProfileMatrixErrorOverlap as ut, PhoenixEvaluatorLike as v, campaignCoverage as va, CrossSurfaceEligibility as vi, scopedOptimizationMethod as vn, PlanEvalFixtureRunOptions as vr, analyzeProfileMatrix as vt, componentSurfaceIdentityMaterial as w, CrossSurfaceInteractionReport as wi, RolloutCall as wn, ExternalTextOptimizationMethodConfig as wr, raceProfileMatrix as wt, transientDispatchFailure as x, campaignSplitDigestFromIdentities as xa, CrossSurfaceInteractionAwareSelection as xi, FsLabeledScenarioStoreOptions as xn, loadEvalFixtureScenarios as xr, ProfileMatrixRaceResult as xt, TransientFailureOptions as y, campaignScenarioIdentity as ya, CrossSurfaceEvidenceBreakdown as yi, sequentialOptimizationMethod as yn, discoverEvalFixtures as yr, ProfileMatrixRaceBatch as yt, resolveRunDir as z, TraceAnalystScenario as zi, gepaOptimizationMethod as zn, CampaignComparisonUnits as zr, RunProfileMatrixResult as zt };
3383
+ //# sourceMappingURL=run-improvement-loop-BaPDVbW8.d.ts.map