@tangle-network/agent-eval 1.0.40 → 2.0.1

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 (398) hide show
  1. package/CHANGELOG.md +101 -0
  2. package/dist/adapters/http.d.ts +3 -3
  3. package/dist/{agent-profile-DgbRJpSi.js → agent-profile-CCw6EXWW.js} +2 -2
  4. package/dist/{agent-profile-DgbRJpSi.js.map → agent-profile-CCw6EXWW.js.map} +1 -1
  5. package/dist/{agent-profile-hytrwAnN.d.ts → agent-profile-CcOq7bOO.d.ts} +84 -5
  6. package/dist/agent-profile-CcOq7bOO.d.ts.map +1 -0
  7. package/dist/{agent-profile-cell-7Mt0wBkl.js → agent-profile-cell-CUthydZB.js} +2 -2
  8. package/dist/{agent-profile-cell-7Mt0wBkl.js.map → agent-profile-cell-CUthydZB.js.map} +1 -1
  9. package/dist/analyst/index.d.ts +15 -15
  10. package/dist/analyst/index.d.ts.map +1 -1
  11. package/dist/analyst/index.js +15 -15
  12. package/dist/analyst/index.js.map +1 -1
  13. package/dist/{analyze-runs-DqHx3Q_g.js → analyze-runs-C_9cXPZn.js} +9 -9
  14. package/dist/{analyze-runs-DqHx3Q_g.js.map → analyze-runs-C_9cXPZn.js.map} +1 -1
  15. package/dist/{analyze-runs-Ctuz-dd3.d.ts → analyze-runs-Ke0WbAf6.d.ts} +4 -4
  16. package/dist/{analyze-runs-Ctuz-dd3.d.ts.map → analyze-runs-Ke0WbAf6.d.ts.map} +1 -1
  17. package/dist/app-grade/index.d.ts +5 -5
  18. package/dist/app-grade/index.js +5 -5
  19. package/dist/authenticity/index.d.ts.map +1 -1
  20. package/dist/authenticity/index.js.map +1 -1
  21. package/dist/{benchmark-command-CJw3ijDV.js → benchmark-command-BIMwcK97.js} +15 -14
  22. package/dist/benchmark-command-BIMwcK97.js.map +1 -0
  23. package/dist/benchmarks/index.d.ts +9 -5
  24. package/dist/benchmarks/index.d.ts.map +1 -1
  25. package/dist/benchmarks/index.js +11 -6
  26. package/dist/benchmarks/index.js.map +1 -1
  27. package/dist/builder-eval/index.d.ts +1 -1
  28. package/dist/builder-eval/index.js +3 -3
  29. package/dist/{calibration-BBhY1QM6.js → calibration-Cfoup0xz.js} +3 -3
  30. package/dist/{calibration-BBhY1QM6.js.map → calibration-Cfoup0xz.js.map} +1 -1
  31. package/dist/campaign/index.d.ts +10 -10
  32. package/dist/campaign/index.js +16 -15
  33. package/dist/{campaign-DawSkDag.js → campaign-C4rXvh2q.js} +33 -25
  34. package/dist/campaign-C4rXvh2q.js.map +1 -0
  35. package/dist/{campaign-evidence-C1c6uihA.d.ts → campaign-evidence-BmMs8YJt.d.ts} +7 -7
  36. package/dist/{campaign-evidence-C1c6uihA.d.ts.map → campaign-evidence-BmMs8YJt.d.ts.map} +1 -1
  37. package/dist/{campaign-evidence-BX8OveG5.js → campaign-evidence-D_oBFfLc.js} +92 -32
  38. package/dist/campaign-evidence-D_oBFfLc.js.map +1 -0
  39. package/dist/{canonical-gLeHiqzd.d.ts → canonical-CGXS21f_.d.ts} +8 -5
  40. package/dist/{canonical-gLeHiqzd.d.ts.map → canonical-CGXS21f_.d.ts.map} +1 -1
  41. package/dist/{canonical-BANK6NOj.js → canonical-DKgL_Wby.js} +30 -8
  42. package/dist/canonical-DKgL_Wby.js.map +1 -0
  43. package/dist/{chat-client-DmPB31_2.js → chat-client-CvyDOQBv.js} +2 -2
  44. package/dist/{chat-client-DmPB31_2.js.map → chat-client-CvyDOQBv.js.map} +1 -1
  45. package/dist/{chat-json-call-Rfhu7JbJ.js → chat-json-call-DMrwmB-k.js} +2 -2
  46. package/dist/{chat-json-call-Rfhu7JbJ.js.map → chat-json-call-DMrwmB-k.js.map} +1 -1
  47. package/dist/{claim-C6LRiwz1.js → claim-BWEXwwBk.js} +2 -2
  48. package/dist/{claim-C6LRiwz1.js.map → claim-BWEXwwBk.js.map} +1 -1
  49. package/dist/cli.js +11 -11
  50. package/dist/{client-BIFwUg7I.d.ts → client-DUMIaMob.d.ts} +2 -2
  51. package/dist/{client-BIFwUg7I.d.ts.map → client-DUMIaMob.d.ts.map} +1 -1
  52. package/dist/{cluster-CSd0LE_M.d.ts → cluster-Bj90LK-1.d.ts} +2 -2
  53. package/dist/{cluster-CSd0LE_M.d.ts.map → cluster-Bj90LK-1.d.ts.map} +1 -1
  54. package/dist/{cluster-bootstrap-ClPYIWoX.js → cluster-bootstrap-DPzVy3_K.js} +2 -2
  55. package/dist/{cluster-bootstrap-ClPYIWoX.js.map → cluster-bootstrap-DPzVy3_K.js.map} +1 -1
  56. package/dist/{completion-verifier-oAgSwdFe.d.ts → completion-verifier-Cy38EpGE.d.ts} +3 -3
  57. package/dist/{completion-verifier-oAgSwdFe.d.ts.map → completion-verifier-Cy38EpGE.d.ts.map} +1 -1
  58. package/dist/{completion-verifier-C3q1T96h.js → completion-verifier-DsotH2l3.js} +7 -7
  59. package/dist/{completion-verifier-C3q1T96h.js.map → completion-verifier-DsotH2l3.js.map} +1 -1
  60. package/dist/containment-order-GCJ-y_FV.js +56 -0
  61. package/dist/containment-order-GCJ-y_FV.js.map +1 -0
  62. package/dist/contract/index.d.ts +14 -14
  63. package/dist/contract/index.js +17 -17
  64. package/dist/contract/index.js.map +1 -1
  65. package/dist/{cost-ledger-1CwUnVOd.js → cost-ledger-C5CCidPm.js} +9 -2
  66. package/dist/cost-ledger-C5CCidPm.js.map +1 -0
  67. package/dist/{cost-ledger-Czro9wmo.d.ts → cost-ledger-CSP-OfFe.d.ts} +7 -1
  68. package/dist/cost-ledger-CSP-OfFe.d.ts.map +1 -0
  69. package/dist/{decision-point-BN1YQNqk.js → decision-point-C46p-p9v.js} +9 -9
  70. package/dist/{decision-point-BN1YQNqk.js.map → decision-point-C46p-p9v.js.map} +1 -1
  71. package/dist/{default-registry-C5x2jyD6.d.ts → default-registry-CUuorCWZ.d.ts} +7 -7
  72. package/dist/{default-registry-C5x2jyD6.d.ts.map → default-registry-CUuorCWZ.d.ts.map} +1 -1
  73. package/dist/{default-registry-BE5Rj9ba.js → default-registry-D6WZm_vR.js} +9 -9
  74. package/dist/default-registry-D6WZm_vR.js.map +1 -0
  75. package/dist/{define-agent-eval-CyU7eAzj.js → define-agent-eval-CNvv_D6O.js} +20 -12
  76. package/dist/define-agent-eval-CNvv_D6O.js.map +1 -0
  77. package/dist/{define-agent-eval-C4yoCqkc.d.ts → define-agent-eval-D17XsdAt.d.ts} +22 -13
  78. package/dist/define-agent-eval-D17XsdAt.d.ts.map +1 -0
  79. package/dist/diagnosis/index.d.ts +3 -3
  80. package/dist/diagnosis/index.d.ts.map +1 -1
  81. package/dist/diagnosis/index.js +1 -1
  82. package/dist/diagnosis/index.js.map +1 -1
  83. package/dist/{dspy-rlm-engine-aM1RWOUT.js → dspy-rlm-engine-s6iexObG.js} +5 -4
  84. package/dist/dspy-rlm-engine-s6iexObG.js.map +1 -0
  85. package/dist/{emitter-DhQ65mza.js → emitter-BjW3NnX-.js} +15 -6
  86. package/dist/emitter-BjW3NnX-.js.map +1 -0
  87. package/dist/{emitter-mAXC5PSN.d.ts → emitter-Cw8ijO3v.d.ts} +4 -4
  88. package/dist/{emitter-mAXC5PSN.d.ts.map → emitter-Cw8ijO3v.d.ts.map} +1 -1
  89. package/dist/{engine-B2w3ARpj.d.ts → engine-BZVXOc6n.d.ts} +3 -3
  90. package/dist/{engine-B2w3ARpj.d.ts.map → engine-BZVXOc6n.d.ts.map} +1 -1
  91. package/dist/errors-DeEEV9Vx.js.map +1 -1
  92. package/dist/{eval-campaign-CWWh-1p1.js → eval-campaign-Cyk-tkLh.js} +5 -5
  93. package/dist/{eval-campaign-CWWh-1p1.js.map → eval-campaign-Cyk-tkLh.js.map} +1 -1
  94. package/dist/{evaluation-C_GJvEEG.js → evaluation-BAisv8ZR.js} +2 -2
  95. package/dist/{evaluation-C_GJvEEG.js.map → evaluation-BAisv8ZR.js.map} +1 -1
  96. package/dist/{evaluation-CQ-uAbqF.d.ts → evaluation-DfyLPVL1.d.ts} +5 -5
  97. package/dist/{evaluation-CQ-uAbqF.d.ts.map → evaluation-DfyLPVL1.d.ts.map} +1 -1
  98. package/dist/evaluation.d.ts +1 -1
  99. package/dist/evaluation.js +1 -1
  100. package/dist/{exact-types-B0_jA3V7.d.ts → exact-types-CiCXYhNK.d.ts} +2 -2
  101. package/dist/{exact-types-B0_jA3V7.d.ts.map → exact-types-CiCXYhNK.d.ts.map} +1 -1
  102. package/dist/{execution-insight-9No6Si55.d.ts → execution-insight-wUNXxo5Y.d.ts} +3 -3
  103. package/dist/{execution-insight-9No6Si55.d.ts.map → execution-insight-wUNXxo5Y.d.ts.map} +1 -1
  104. package/dist/experiment/index.d.ts +4 -4
  105. package/dist/experiment/index.d.ts.map +1 -1
  106. package/dist/experiment/index.js +10 -10
  107. package/dist/experiment/index.js.map +1 -1
  108. package/dist/{exporters-C9AwGDDK.js → exporters-CKFtnWmX.js} +2 -2
  109. package/dist/{exporters-C9AwGDDK.js.map → exporters-CKFtnWmX.js.map} +1 -1
  110. package/dist/external-optimizer-contracts-ZDBfbZ_s.js +123 -0
  111. package/dist/external-optimizer-contracts-ZDBfbZ_s.js.map +1 -0
  112. package/dist/{external-optimizer-process-DFEPdWJY.js → external-optimizer-process-wxSzICQX.js} +22 -26
  113. package/dist/external-optimizer-process-wxSzICQX.js.map +1 -0
  114. package/dist/{external-optimizer-subprocess-BspZ0bZb.js → external-optimizer-subprocess-DeMYwEd5.js} +11 -125
  115. package/dist/external-optimizer-subprocess-DeMYwEd5.js.map +1 -0
  116. package/dist/extract-usage-ISFqhfDz.js.map +1 -1
  117. package/dist/{feedback-trajectory-CCWiFzeE.d.ts → feedback-trajectory-HJticMDz.d.ts} +4 -4
  118. package/dist/{feedback-trajectory-CCWiFzeE.d.ts.map → feedback-trajectory-HJticMDz.d.ts.map} +1 -1
  119. package/dist/{finding-composition-BMgspnVI.js → finding-composition-CyWSTcAY.js} +2 -2
  120. package/dist/{finding-composition-BMgspnVI.js.map → finding-composition-CyWSTcAY.js.map} +1 -1
  121. package/dist/{findings-store-B8pq8Rhr.js → findings-store-D09YcDnR.js} +6 -6
  122. package/dist/{findings-store-B8pq8Rhr.js.map → findings-store-D09YcDnR.js.map} +1 -1
  123. package/dist/fuzz.d.ts +1 -1
  124. package/dist/fuzz.d.ts.map +1 -1
  125. package/dist/fuzz.js +2 -2
  126. package/dist/fuzz.js.map +1 -1
  127. package/dist/{harness-session-lines-Fd5aeSDV.js → harness-session-lines-CSxKR6no.js} +3 -3
  128. package/dist/{harness-session-lines-Fd5aeSDV.js.map → harness-session-lines-CSxKR6no.js.map} +1 -1
  129. package/dist/{hf-dataset-kthWy7xl.js → hf-dataset-B0s2ZAhQ.js} +4 -4
  130. package/dist/{hf-dataset-kthWy7xl.js.map → hf-dataset-B0s2ZAhQ.js.map} +1 -1
  131. package/dist/hosted/index.d.ts +2 -2
  132. package/dist/hosted/index.js +1 -1
  133. package/dist/{index-BuuUhU_V.d.ts → index-B_k8aY9k.d.ts} +44 -32
  134. package/dist/index-B_k8aY9k.d.ts.map +1 -0
  135. package/dist/{index-DtW7KhyE.d.ts → index-C6TG1LwA.d.ts} +5 -5
  136. package/dist/{index-DtW7KhyE.d.ts.map → index-C6TG1LwA.d.ts.map} +1 -1
  137. package/dist/{index-Bcy00QoN.d.ts → index-CKjqN9_U.d.ts} +87 -87
  138. package/dist/index-CKjqN9_U.d.ts.map +1 -0
  139. package/dist/{index-CXoFLNKI.d.ts → index-CR-guIiZ.d.ts} +11 -11
  140. package/dist/index-CR-guIiZ.d.ts.map +1 -0
  141. package/dist/{index-DwUGehqX.d.ts → index-DsgqP-Hg.d.ts} +2 -2
  142. package/dist/{index-DwUGehqX.d.ts.map → index-DsgqP-Hg.d.ts.map} +1 -1
  143. package/dist/{index-HdlzN11G.d.ts → index-Ucp54Pcl.d.ts} +9 -9
  144. package/dist/{index-HdlzN11G.d.ts.map → index-Ucp54Pcl.d.ts.map} +1 -1
  145. package/dist/{index-Bhc7H9e0.d.ts → index-oX0TuJFv.d.ts} +7 -7
  146. package/dist/{index-Bhc7H9e0.d.ts.map → index-oX0TuJFv.d.ts.map} +1 -1
  147. package/dist/{index-lRKqfyg4.d.ts → index-qy6buL6y.d.ts} +2 -2
  148. package/dist/{index-lRKqfyg4.d.ts.map → index-qy6buL6y.d.ts.map} +1 -1
  149. package/dist/index.d.ts +35 -35
  150. package/dist/index.js +42 -42
  151. package/dist/index.js.map +1 -1
  152. package/dist/{integrity-BMyCpnZ8.d.ts → integrity-B9320cw1.d.ts} +2 -2
  153. package/dist/{integrity-BMyCpnZ8.d.ts.map → integrity-B9320cw1.d.ts.map} +1 -1
  154. package/dist/{integrity-BSs9dgKW.js → integrity-BF0tJK21.js} +3 -3
  155. package/dist/{integrity-BSs9dgKW.js.map → integrity-BF0tJK21.js.map} +1 -1
  156. package/dist/{journal-DQsbHGjX.js → journal-3y-btqaP.js} +2 -2
  157. package/dist/{journal-DQsbHGjX.js.map → journal-3y-btqaP.js.map} +1 -1
  158. package/dist/journal-file-AekB57Er.js.map +1 -1
  159. package/dist/{json-recovery-b7O9WVTF.js → json-recovery-BRUCeQxo.js} +2 -2
  160. package/dist/{json-recovery-b7O9WVTF.js.map → json-recovery-BRUCeQxo.js.map} +1 -1
  161. package/dist/{judge-gate-LbmZU-pA.js → judge-gate-DqlzOBOm.js} +3 -3
  162. package/dist/{judge-gate-LbmZU-pA.js.map → judge-gate-DqlzOBOm.js.map} +1 -1
  163. package/dist/{kind-factory-B5FfFE5G.js → kind-factory-Bs-oaT61.js} +4 -4
  164. package/dist/kind-factory-Bs-oaT61.js.map +1 -0
  165. package/dist/ledger-core/index.d.ts +2 -2
  166. package/dist/ledger-core/index.js +3 -3
  167. package/dist/{ledger-core-7e6sXmhV.js → ledger-core-auznoaD7.js} +3 -3
  168. package/dist/ledger-core-auznoaD7.js.map +1 -0
  169. package/dist/{llm-client-CdHo3SH0.js → llm-client-Dw4x6EdE.js} +3 -3
  170. package/dist/{llm-client-CdHo3SH0.js.map → llm-client-Dw4x6EdE.js.map} +1 -1
  171. package/dist/{llm-judge-DHgx29ro.js → llm-judge-OZtO1yNS.js} +183 -78
  172. package/dist/llm-judge-OZtO1yNS.js.map +1 -0
  173. package/dist/matrix/index.d.ts +2 -2
  174. package/dist/{matrix-BKzNwIWb.d.ts → matrix-DlSrRl_v.d.ts} +4 -4
  175. package/dist/{matrix-BKzNwIWb.d.ts.map → matrix-DlSrRl_v.d.ts.map} +1 -1
  176. package/dist/meta-eval/index.d.ts +2 -2
  177. package/dist/meta-eval/index.js +9 -9
  178. package/dist/{mint-VN-qtJTc.js → mint-B4n1pRRd.js} +12 -6
  179. package/dist/mint-B4n1pRRd.js.map +1 -0
  180. package/dist/{model-comparison-BZr_Hu00.js → model-comparison-CgnVh4Ph.js} +3 -3
  181. package/dist/{model-comparison-BZr_Hu00.js.map → model-comparison-CgnVh4Ph.js.map} +1 -1
  182. package/dist/multishot/golden/index.d.ts +1 -1
  183. package/dist/multishot/index.d.ts +3 -3
  184. package/dist/multishot/index.js +2 -2
  185. package/dist/multishot/index.js.map +1 -1
  186. package/dist/openapi.json +1 -1
  187. package/dist/{outcome-observations-YFFmdGGW.js → outcome-observations-DL3CC8w1.js} +2 -2
  188. package/dist/{outcome-observations-YFFmdGGW.js.map → outcome-observations-DL3CC8w1.js.map} +1 -1
  189. package/dist/{paired-arms-DH376s4-.js → paired-arms-DZhH3FGu.js} +3 -3
  190. package/dist/{paired-arms-DH376s4-.js.map → paired-arms-DZhH3FGu.js.map} +1 -1
  191. package/dist/{paired-promotion-decision-BBSxTo-h.d.ts → paired-promotion-decision-ChHBuuHV.d.ts} +2 -2
  192. package/dist/{paired-promotion-decision-BBSxTo-h.d.ts.map → paired-promotion-decision-ChHBuuHV.d.ts.map} +1 -1
  193. package/dist/{paired-promotion-decision-BoWHWL1i.js → paired-promotion-decision-Dn3-jaq4.js} +2 -2
  194. package/dist/{paired-promotion-decision-BoWHWL1i.js.map → paired-promotion-decision-Dn3-jaq4.js.map} +1 -1
  195. package/dist/{paired-promotion-power-BXH3gzvs.js → paired-promotion-power-BlzXdgMD.js} +3 -3
  196. package/dist/{paired-promotion-power-BXH3gzvs.js.map → paired-promotion-power-BlzXdgMD.js.map} +1 -1
  197. package/dist/{pareto-BNWWbLNl.js → pareto-Bg75Gajo.js} +7 -7
  198. package/dist/{pareto-BNWWbLNl.js.map → pareto-Bg75Gajo.js.map} +1 -1
  199. package/dist/pipelines/index.d.ts +3 -3
  200. package/dist/pipelines/index.d.ts.map +1 -1
  201. package/dist/pipelines/index.js +19 -33
  202. package/dist/pipelines/index.js.map +1 -1
  203. package/dist/{prime-protocol-BR0xy0cF.d.ts → prime-protocol-iEaSEGZB.d.ts} +3 -3
  204. package/dist/{prime-protocol-BR0xy0cF.d.ts.map → prime-protocol-iEaSEGZB.d.ts.map} +1 -1
  205. package/dist/profile-cell.js +1 -1
  206. package/dist/{promotion-gate-XiTqW22r.d.ts → promotion-gate-CGkxh36r.d.ts} +3 -3
  207. package/dist/{promotion-gate-XiTqW22r.d.ts.map → promotion-gate-CGkxh36r.d.ts.map} +1 -1
  208. package/dist/{promotion-policy-CfgRPGx0.js → promotion-policy-CxDIh-9p.js} +4 -4
  209. package/dist/{promotion-policy-CfgRPGx0.js.map → promotion-policy-CxDIh-9p.js.map} +1 -1
  210. package/dist/{proposal-findings-DFQvA-k5.js → proposal-findings-Bi4ouHdc.js} +2 -2
  211. package/dist/{proposal-findings-DFQvA-k5.js.map → proposal-findings-Bi4ouHdc.js.map} +1 -1
  212. package/dist/{query-Ck6KhcDo.js → query-Dhjkwqyx.js} +2 -2
  213. package/dist/{query-Ck6KhcDo.js.map → query-Dhjkwqyx.js.map} +1 -1
  214. package/dist/{registry-D23oO0_f.d.ts → registry-V8o2kZtn.d.ts} +5 -5
  215. package/dist/{registry-D23oO0_f.d.ts.map → registry-V8o2kZtn.d.ts.map} +1 -1
  216. package/dist/{release-confidence-BdidB0mG.js → release-confidence-BLHOMK5Q.js} +3 -3
  217. package/dist/{release-confidence-BdidB0mG.js.map → release-confidence-BLHOMK5Q.js.map} +1 -1
  218. package/dist/reporting.d.ts +6 -6
  219. package/dist/reporting.js +5 -5
  220. package/dist/{research-report-BGKsOqkF.d.ts → research-report-D6XIK0eK.d.ts} +4 -4
  221. package/dist/{research-report-BGKsOqkF.d.ts.map → research-report-D6XIK0eK.d.ts.map} +1 -1
  222. package/dist/{researcher-DvFDa1o1.d.ts → researcher---DhHG4J.d.ts} +6 -6
  223. package/dist/{researcher-DvFDa1o1.d.ts.map → researcher---DhHG4J.d.ts.map} +1 -1
  224. package/dist/{reward-hacking-CLMvxEY_.d.ts → reward-hacking-4DsGTccp.d.ts} +2 -2
  225. package/dist/{reward-hacking-CLMvxEY_.d.ts.map → reward-hacking-4DsGTccp.d.ts.map} +1 -1
  226. package/dist/{reward-hacking-DNiHskry.js → reward-hacking-DKAflk2c.js} +2 -2
  227. package/dist/{reward-hacking-DNiHskry.js.map → reward-hacking-DKAflk2c.js.map} +1 -1
  228. package/dist/rl.d.ts +158 -42
  229. package/dist/rl.d.ts.map +1 -1
  230. package/dist/rl.js +420 -76
  231. package/dist/rl.js.map +1 -1
  232. package/dist/rollout/index.d.ts +4 -4
  233. package/dist/rollout/index.js +6 -6
  234. package/dist/{rollout-DDMkK_Lw.js → rollout-DVwpCHBC.js} +9 -9
  235. package/dist/rollout-DVwpCHBC.js.map +1 -0
  236. package/dist/{rollout-nodes-DzmHlPAC.js → rollout-nodes-Vas6OSxX.js} +2 -2
  237. package/dist/{rollout-nodes-DzmHlPAC.js.map → rollout-nodes-Vas6OSxX.js.map} +1 -1
  238. package/dist/{rubric-predictive-validity-Cln7r56F.js → rubric-predictive-validity--6z0q8s6.js} +2 -2
  239. package/dist/{rubric-predictive-validity-Cln7r56F.js.map → rubric-predictive-validity--6z0q8s6.js.map} +1 -1
  240. package/dist/{rubric-predictive-validity-B7rsN074.d.ts → rubric-predictive-validity-C9wc7f_D.d.ts} +2 -2
  241. package/dist/{rubric-predictive-validity-B7rsN074.d.ts.map → rubric-predictive-validity-C9wc7f_D.d.ts.map} +1 -1
  242. package/dist/{run-improvement-loop-BAxDnaPI.d.ts → run-improvement-loop-CtLyPb5-.d.ts} +140 -81
  243. package/dist/run-improvement-loop-CtLyPb5-.d.ts.map +1 -0
  244. package/dist/{run-record-c860wUR8.js → run-record-Bqg0NZ_e.js} +19 -4
  245. package/dist/run-record-Bqg0NZ_e.js.map +1 -0
  246. package/dist/{run-record-Dx64nPcX.js → run-record-CqUft6Yf.js} +2 -2
  247. package/dist/{run-record-Dx64nPcX.js.map → run-record-CqUft6Yf.js.map} +1 -1
  248. package/dist/{run-record-CCJR7q_j.d.ts → run-record-kuOr3BCF.d.ts} +2 -2
  249. package/dist/{run-record-CCJR7q_j.d.ts.map → run-record-kuOr3BCF.d.ts.map} +1 -1
  250. package/dist/{runtime-rollouts-CALol_Y4.js → runtime-rollouts-DdUijr_t.js} +7 -7
  251. package/dist/runtime-rollouts-DdUijr_t.js.map +1 -0
  252. package/dist/{schema-BTTzvMnn.d.ts → schema-BfSoJjD-.d.ts} +5 -1
  253. package/dist/schema-BfSoJjD-.d.ts.map +1 -0
  254. package/dist/{schema-b18jtzZw.js → schema-Bh9CfSZT.js} +3 -1
  255. package/dist/schema-Bh9CfSZT.js.map +1 -0
  256. package/dist/schema-CkIvnmLU.d.ts.map +1 -1
  257. package/dist/schema-D-xu3MU_.js.map +1 -1
  258. package/dist/search/index.d.ts +3 -3
  259. package/dist/search/index.d.ts.map +1 -1
  260. package/dist/search/index.js +3 -3
  261. package/dist/{search-kernel-DRHWY35J.d.ts → search-kernel-DXA1EhnN.d.ts} +7 -7
  262. package/dist/{search-kernel-DRHWY35J.d.ts.map → search-kernel-DXA1EhnN.d.ts.map} +1 -1
  263. package/dist/{search-ledger-oyqxZhry.js → search-ledger-C7t68cmy.js} +7 -7
  264. package/dist/{search-ledger-oyqxZhry.js.map → search-ledger-C7t68cmy.js.map} +1 -1
  265. package/dist/{search-ledger-file-DoHCYYLt.js → search-ledger-file-QuIbgz6b.js} +2 -2
  266. package/dist/search-ledger-file-QuIbgz6b.js.map +1 -0
  267. package/dist/{search-ledger-types-qiYRUo_N.d.ts → search-ledger-types-BhZE848w.d.ts} +2 -2
  268. package/dist/{search-ledger-types-qiYRUo_N.d.ts.map → search-ledger-types-BhZE848w.d.ts.map} +1 -1
  269. package/dist/{search-shipper-BwqeQ61l.js → search-shipper-CmDW9dU6.js} +3 -3
  270. package/dist/{search-shipper-BwqeQ61l.js.map → search-shipper-CmDW9dU6.js.map} +1 -1
  271. package/dist/{search-summary-CNHpHFfw.js → search-summary-B1x1Vmzh.js} +5 -5
  272. package/dist/{search-summary-CNHpHFfw.js.map → search-summary-B1x1Vmzh.js.map} +1 -1
  273. package/dist/{sequential-B-zx24n_.d.ts → sequential-BhbTSxpt.d.ts} +2 -2
  274. package/dist/{sequential-B-zx24n_.d.ts.map → sequential-BhbTSxpt.d.ts.map} +1 -1
  275. package/dist/{sequential-93xxuiiG.js → sequential-BphITa5b.js} +4 -4
  276. package/dist/{sequential-93xxuiiG.js.map → sequential-BphITa5b.js.map} +1 -1
  277. package/dist/{sequential-C6k0Wrb7.js → sequential-ux_XrjBf.js} +3 -3
  278. package/dist/{sequential-C6k0Wrb7.js.map → sequential-ux_XrjBf.js.map} +1 -1
  279. package/dist/{served-model-qhLmbutL.js → served-model-BXmeKm7D.js} +2 -2
  280. package/dist/{served-model-qhLmbutL.js.map → served-model-BXmeKm7D.js.map} +1 -1
  281. package/dist/{server-DnoEi4Sb.js → server-1fzBCxMh.js} +5 -5
  282. package/dist/{server-DnoEi4Sb.js.map → server-1fzBCxMh.js.map} +1 -1
  283. package/dist/{skillopt-optimization-method-Du3GbReg.js → skillopt-optimization-method-DTwL-L6q.js} +390 -68
  284. package/dist/skillopt-optimization-method-DTwL-L6q.js.map +1 -0
  285. package/dist/{statistical-heldout-BvcAVtof.js → statistical-heldout-CaS4T-43.js} +3 -3
  286. package/dist/{statistical-heldout-BvcAVtof.js.map → statistical-heldout-CaS4T-43.js.map} +1 -1
  287. package/dist/{statistics-CHs0jlsY.js → statistics-DSidA5I2.js} +184 -184
  288. package/dist/statistics-DSidA5I2.js.map +1 -0
  289. package/dist/statistics.d.ts +2 -2
  290. package/dist/statistics.js +1 -1
  291. package/dist/{store-otlp-DHc_E78m.js → store-otlp-Re9Gwt2B.js} +2 -2
  292. package/dist/{store-otlp-DHc_E78m.js.map → store-otlp-Re9Gwt2B.js.map} +1 -1
  293. package/dist/{store-tool-spans-C1lZKvvl.d.ts → store-tool-spans-C47hUUVM.d.ts} +8 -8
  294. package/dist/{store-tool-spans-C1lZKvvl.d.ts.map → store-tool-spans-C47hUUVM.d.ts.map} +1 -1
  295. package/dist/{store-tool-spans-BR4IhZYZ.js → store-tool-spans-MpjSz292.js} +4 -4
  296. package/dist/{store-tool-spans-BR4IhZYZ.js.map → store-tool-spans-MpjSz292.js.map} +1 -1
  297. package/dist/storyboard/index.d.ts.map +1 -1
  298. package/dist/storyboard/index.js.map +1 -1
  299. package/dist/{summary-report-CXiE1UrA.js → summary-report-CI4J6gxU.js} +4 -4
  300. package/dist/{summary-report-CXiE1UrA.js.map → summary-report-CI4J6gxU.js.map} +1 -1
  301. package/dist/{summary-report-figures-C4JW8fdy.d.ts → summary-report-figures-CJHygLgw.d.ts} +2 -2
  302. package/dist/{summary-report-figures-C4JW8fdy.d.ts.map → summary-report-figures-CJHygLgw.d.ts.map} +1 -1
  303. package/dist/supervisor-run/index.d.ts +2 -2
  304. package/dist/supervisor-run/index.d.ts.map +1 -1
  305. package/dist/supervisor-run/index.js +3 -3
  306. package/dist/{systemone-B_3Vd395.d.ts → systemone-MXhFSYdy.d.ts} +9 -9
  307. package/dist/{systemone-B_3Vd395.d.ts.map → systemone-MXhFSYdy.d.ts.map} +1 -1
  308. package/dist/systemone-protocol.js +1 -1
  309. package/dist/{systemone-review-ZAN-5m_2.d.ts → systemone-review-C9kbs3zD.d.ts} +2 -2
  310. package/dist/{systemone-review-ZAN-5m_2.d.ts.map → systemone-review-C9kbs3zD.d.ts.map} +1 -1
  311. package/dist/{systemone-review-CqNNZMiD.js → systemone-review-ir3Cbejl.js} +3 -3
  312. package/dist/{systemone-review-CqNNZMiD.js.map → systemone-review-ir3Cbejl.js.map} +1 -1
  313. package/dist/systemone.d.ts +3 -3
  314. package/dist/systemone.js +3 -3
  315. package/dist/{tool-groups-BOH1E-E4.d.ts → tool-groups-BSd08M7B.d.ts} +3 -3
  316. package/dist/tool-groups-BSd08M7B.d.ts.map +1 -0
  317. package/dist/tool-waste-CIhtU1ad.d.ts +217 -0
  318. package/dist/tool-waste-CIhtU1ad.d.ts.map +1 -0
  319. package/dist/{tool-waste-DzLI-JJg.js → tool-waste-u7JJ_BlE.js} +3 -3
  320. package/dist/{tool-waste-DzLI-JJg.js.map → tool-waste-u7JJ_BlE.js.map} +1 -1
  321. package/dist/{trace-questions-DBsrgY_H.d.ts → trace-questions-CJANeK9P.d.ts} +4 -4
  322. package/dist/{trace-questions-DBsrgY_H.d.ts.map → trace-questions-CJANeK9P.d.ts.map} +1 -1
  323. package/dist/trace-repair/index.d.ts +3 -3
  324. package/dist/trace-repair/index.d.ts.map +1 -1
  325. package/dist/trace-repair/index.js +4 -4
  326. package/dist/trace-repair/index.js.map +1 -1
  327. package/dist/traces.d.ts +7 -7
  328. package/dist/traces.js +6 -6
  329. package/dist/{training-admission-xaDOlQ_U.d.ts → training-admission-DGZCyntI.d.ts} +2 -2
  330. package/dist/{training-admission-xaDOlQ_U.d.ts.map → training-admission-DGZCyntI.d.ts.map} +1 -1
  331. package/dist/trajectory-CKVZaQoQ.js +144 -0
  332. package/dist/trajectory-CKVZaQoQ.js.map +1 -0
  333. package/dist/trajectory-replay/index.d.ts.map +1 -1
  334. package/dist/trajectory-replay/index.js +24 -11
  335. package/dist/trajectory-replay/index.js.map +1 -1
  336. package/dist/{tree-0r6gPODs.js → tree-DQMlcNFI.js} +18 -6
  337. package/dist/tree-DQMlcNFI.js.map +1 -0
  338. package/dist/{types-DmYd2Igl.d.ts → types-AGUuvnae.d.ts} +4 -4
  339. package/dist/{types-DmYd2Igl.d.ts.map → types-AGUuvnae.d.ts.map} +1 -1
  340. package/dist/{types-_dfu6Ox2.d.ts → types-BLv2Ngla.d.ts} +3 -3
  341. package/dist/{types-_dfu6Ox2.d.ts.map → types-BLv2Ngla.d.ts.map} +1 -1
  342. package/dist/{types-ClDpBoLt.d.ts → types-CE9JMZhk.d.ts} +3 -3
  343. package/dist/{types-ClDpBoLt.d.ts.map → types-CE9JMZhk.d.ts.map} +1 -1
  344. package/dist/{types-DGqGbNY4.d.ts → types-DD1eUTLn.d.ts} +23 -9
  345. package/dist/{types-DGqGbNY4.d.ts.map → types-DD1eUTLn.d.ts.map} +1 -1
  346. package/dist/{types-C8AyaiFi.js → types-_tlhWGUq.js} +2 -2
  347. package/dist/{types-C8AyaiFi.js.map → types-_tlhWGUq.js.map} +1 -1
  348. package/dist/{verdict-CKo1iZkI.js → verdict-5PVtsWT_.js} +2 -2
  349. package/dist/{verdict-CKo1iZkI.js.map → verdict-5PVtsWT_.js.map} +1 -1
  350. package/dist/{verdict-cache-DfzlHLdf.js → verdict-cache-BPaYxfG8.js} +2 -2
  351. package/dist/verdict-cache-BPaYxfG8.js.map +1 -0
  352. package/dist/wire/index.d.ts +5 -5
  353. package/dist/wire/index.js +1 -1
  354. package/docs/campaign-proposers.md +15 -2
  355. package/docs/concepts.md +4 -0
  356. package/docs/public-api.md +325 -87
  357. package/docs/rollout.md +2 -2
  358. package/docs/search-ledger.md +14 -2
  359. package/docs/statistical-evidence.md +9 -3
  360. package/docs/trajectory-replay.md +4 -0
  361. package/package.json +1 -1
  362. package/dist/agent-profile-hytrwAnN.d.ts.map +0 -1
  363. package/dist/benchmark-command-CJw3ijDV.js.map +0 -1
  364. package/dist/campaign-DawSkDag.js.map +0 -1
  365. package/dist/campaign-evidence-BX8OveG5.js.map +0 -1
  366. package/dist/canonical-BANK6NOj.js.map +0 -1
  367. package/dist/cost-ledger-1CwUnVOd.js.map +0 -1
  368. package/dist/cost-ledger-Czro9wmo.d.ts.map +0 -1
  369. package/dist/default-registry-BE5Rj9ba.js.map +0 -1
  370. package/dist/define-agent-eval-C4yoCqkc.d.ts.map +0 -1
  371. package/dist/define-agent-eval-CyU7eAzj.js.map +0 -1
  372. package/dist/dspy-rlm-engine-aM1RWOUT.js.map +0 -1
  373. package/dist/emitter-DhQ65mza.js.map +0 -1
  374. package/dist/external-optimizer-process-DFEPdWJY.js.map +0 -1
  375. package/dist/external-optimizer-subprocess-BspZ0bZb.js.map +0 -1
  376. package/dist/index-Bcy00QoN.d.ts.map +0 -1
  377. package/dist/index-BuuUhU_V.d.ts.map +0 -1
  378. package/dist/index-CXoFLNKI.d.ts.map +0 -1
  379. package/dist/kind-factory-B5FfFE5G.js.map +0 -1
  380. package/dist/ledger-core-7e6sXmhV.js.map +0 -1
  381. package/dist/llm-judge-DHgx29ro.js.map +0 -1
  382. package/dist/mint-VN-qtJTc.js.map +0 -1
  383. package/dist/rollout-DDMkK_Lw.js.map +0 -1
  384. package/dist/run-improvement-loop-BAxDnaPI.d.ts.map +0 -1
  385. package/dist/run-record-c860wUR8.js.map +0 -1
  386. package/dist/runtime-rollouts-CALol_Y4.js.map +0 -1
  387. package/dist/schema-BTTzvMnn.d.ts.map +0 -1
  388. package/dist/schema-b18jtzZw.js.map +0 -1
  389. package/dist/search-ledger-file-DoHCYYLt.js.map +0 -1
  390. package/dist/skillopt-optimization-method-Du3GbReg.js.map +0 -1
  391. package/dist/statistics-CHs0jlsY.js.map +0 -1
  392. package/dist/tool-groups-BOH1E-E4.d.ts.map +0 -1
  393. package/dist/tool-waste-CUASoTtk.d.ts +0 -139
  394. package/dist/tool-waste-CUASoTtk.d.ts.map +0 -1
  395. package/dist/trajectory-O3GDHmev.js +0 -55
  396. package/dist/trajectory-O3GDHmev.js.map +0 -1
  397. package/dist/tree-0r6gPODs.js.map +0 -1
  398. package/dist/verdict-cache-DfzlHLdf.js.map +0 -1
package/dist/rl.d.ts CHANGED
@@ -1,16 +1,17 @@
1
1
  import { _ as Span } from "./schema-CkIvnmLU.js";
2
- import { a as RunRecord, c as RunSplitTag } from "./run-record-CCJR7q_j.js";
3
- import { F as PairedBootstrapResult } from "./index-Bcy00QoN.js";
4
- import { Q as MintRolloutOptions, a as CampaignResult } from "./types-DGqGbNY4.js";
5
- import { a as MintedRolloutLine, b as RolloutSplit, t as ChatMessage, w as ToolDef } from "./schema-BTTzvMnn.js";
6
- import { a as PairedPromotionDecision } from "./paired-promotion-decision-BBSxTo-h.js";
7
- import { a as detectRewardHacking, c as VerifiableRewardSource, i as RewardHackingSignal, l as extractVerifiableReward, n as RewardHackingFinding, o as VerifiableReward, r as RewardHackingReport, s as VerifiableRewardExtractionOptions, t as DetectRewardHackingInput, u as extractVerifiableRewardsFromRecords } from "./reward-hacking-CLMvxEY_.js";
8
- import { a as RubricPredictiveValidityReport, d as FileSystemOutcomeStore, f as FileSystemOutcomeStoreOptions, h as OutcomeStore, p as InMemoryOutcomeStore, t as OutcomeMetricSpec, u as DeploymentOutcome } from "./rubric-predictive-validity-B7rsN074.js";
9
- import { a as SystemOneReviewReport, t as PreparedSystemOneReview } from "./systemone-review-ZAN-5m_2.js";
10
- import { n as TraceQuestionOutcome, r as TraceQuestionSpec } from "./trace-questions-DBsrgY_H.js";
11
- import { a as SteeringChange, f as EvalCampaignOptions, h as runEvalCampaign, i as Researcher, n as ExperimentResult, p as EvalCampaignResult, r as FailureMode, t as ExperimentPlan } from "./researcher-DvFDa1o1.js";
12
- import { n as TrainingExclusionReason, r as TrainingExportOptions } from "./training-admission-xaDOlQ_U.js";
13
- import { t as InterimReleaseConfidence } from "./sequential-B-zx24n_.js";
2
+ import { a as RunRecord, c as RunSplitTag } from "./run-record-kuOr3BCF.js";
3
+ import { E as PairedBootstrapResult } from "./index-CKjqN9_U.js";
4
+ import { Q as MintRolloutOptions, a as CampaignResult } from "./types-DD1eUTLn.js";
5
+ import { s as TraceStore } from "./store-CMs5wGXP.js";
6
+ import { a as MintedRolloutLine, b as RolloutSplit, t as ChatMessage, w as ToolDef } from "./schema-BfSoJjD-.js";
7
+ import { a as PairedPromotionDecision } from "./paired-promotion-decision-ChHBuuHV.js";
8
+ import { a as detectRewardHacking, c as VerifiableRewardSource, i as RewardHackingSignal, l as extractVerifiableReward, n as RewardHackingFinding, o as VerifiableReward, r as RewardHackingReport, s as VerifiableRewardExtractionOptions, t as DetectRewardHackingInput, u as extractVerifiableRewardsFromRecords } from "./reward-hacking-4DsGTccp.js";
9
+ import { a as RubricPredictiveValidityReport, d as FileSystemOutcomeStore, f as FileSystemOutcomeStoreOptions, h as OutcomeStore, p as InMemoryOutcomeStore, t as OutcomeMetricSpec, u as DeploymentOutcome } from "./rubric-predictive-validity-C9wc7f_D.js";
10
+ import { a as SystemOneReviewReport, t as PreparedSystemOneReview } from "./systemone-review-C9kbs3zD.js";
11
+ import { n as TraceQuestionOutcome, r as TraceQuestionSpec } from "./trace-questions-CJANeK9P.js";
12
+ import { a as SteeringChange, f as EvalCampaignOptions, h as runEvalCampaign, i as Researcher, n as ExperimentResult, p as EvalCampaignResult, r as FailureMode, t as ExperimentPlan } from "./researcher---DhHG4J.js";
13
+ import { n as TrainingExclusionReason, r as TrainingExportOptions } from "./training-admission-DGZCyntI.js";
14
+ import { t as InterimReleaseConfidence } from "./sequential-BhbTSxpt.js";
14
15
  import { t as AdversarialMutation } from "./adversarial-DnQQFqTR.js";
15
16
  /**
16
17
  * Adaptive curriculum: active scenario selection by variance.
@@ -733,7 +734,12 @@ interface StepReward {
733
734
  /** Trace span this reward attaches to. */
734
735
  spanId: string;
735
736
  runId: string;
736
- /** Index in the trajectory (0-based, in started-at order). */
737
+ /**
738
+ * Position of the span among ALL spans of the run, 0-based, ordered by
739
+ * `startedAt` with ties kept in store order. Spans no scorer scored and spans
740
+ * `preFilter` dropped still take a position, so spans `0..stepIndex - 1` of
741
+ * the run are exactly the spans that started before this step.
742
+ */
737
743
  stepIndex: number;
738
744
  /** Span kind (typically 'tool', 'llm', 'judge'). */
739
745
  kind: Span['kind'];
@@ -750,12 +756,46 @@ interface StepReward {
750
756
  rationale?: string;
751
757
  /** Optional weight — how much this step contributes to credit assignment. */
752
758
  weight?: number;
759
+ /**
760
+ * Digest of what was observable when this step started: the run's scenario
761
+ * id, then in time order the start of every span that started before this
762
+ * one and the end of every span that had ended by then, then this step's own
763
+ * input (an llm span's `messages`). Two steps with the same context digest
764
+ * acted in the same context.
765
+ *
766
+ * A span's start carries every recorded field except its end fields (see
767
+ * `END_FIELDS`), identifiers, timestamps, token and cost accounting and the
768
+ * model id — attributes included, unless `contextAttributes` narrows them. A
769
+ * value a producer writes per run into a span therefore keeps that run from
770
+ * matching any other.
771
+ *
772
+ * Absent when any of that was not recorded, and absent means unknown, never a
773
+ * match: a run the store does not know, a run whose scenario id is the
774
+ * emitter's default (no task identity), an llm span with no `messages`, an
775
+ * earlier llm span that ended with neither output nor error, an earlier tool
776
+ * call whose arguments were not captured or that ended with neither result
777
+ * nor error. A span still open when this step started is not missing
778
+ * evidence: only its start was observable.
779
+ */
780
+ contextDigest?: string;
781
+ /**
782
+ * Digest of what the step did: its kind, its name and its decision (an llm
783
+ * span's `output`, a tool call's name and arguments, a retrieval's query).
784
+ * Absent when the decision was not recorded or the span kind makes none.
785
+ */
786
+ actionDigest?: string;
753
787
  }
788
+ /** What a scorer returns for one span. `extractStepRewards` fills in the identity fields. */
789
+ type ScoredStep = Omit<StepReward, 'spanId' | 'runId' | 'stepIndex'>;
754
790
  interface StepScorer {
755
791
  /** Span kinds this scorer applies to. */
756
792
  appliesTo: Span['kind'][];
757
- /** Returns null to skip the span; returns a `StepReward` shape (without index/runId/spanId, which are filled in). */
758
- score(span: Span): Promise<Omit<StepReward, 'spanId' | 'runId' | 'stepIndex'>> | null | undefined;
793
+ /**
794
+ * Returns null to skip the span. A `contextDigest` or `actionDigest` the
795
+ * scorer returns replaces the one computed from the trace — for a caller that
796
+ * holds a real fork or checkpoint identity for the step.
797
+ */
798
+ score(span: Span): ScoredStep | null | undefined | Promise<ScoredStep | null | undefined>;
759
799
  }
760
800
  interface ExtractStepRewardsOptions {
761
801
  /**
@@ -764,9 +804,31 @@ interface ExtractStepRewardsOptions {
764
804
  * skipped (not all spans are training-worthy).
765
805
  */
766
806
  scorers: StepScorer[];
767
- /** Optional filter — return null to drop the span entirely before scoring. */
807
+ /**
808
+ * Optional filter — return false to drop the span before scoring. A dropped
809
+ * span still counts toward `stepIndex` and the context of later steps.
810
+ */
768
811
  preFilter?: (span: Span) => boolean;
812
+ /**
813
+ * The keys of each span's `attributes` that count as context. Default: all
814
+ * of them. Recorders commonly write per-run values (request ids, session
815
+ * ids) into attributes, and with every key counted no two such runs share a
816
+ * context. Naming keys here is the caller asserting that the attributes it
817
+ * leaves out were not observable to the policy.
818
+ */
819
+ contextAttributes?: readonly string[];
769
820
  }
821
+ /**
822
+ * Score a recorded run's spans and attach to each step the digest of its
823
+ * context and of its action.
824
+ *
825
+ * The context is built from a time-ordered chain of events: each span adds its
826
+ * start content at `startedAt` and its end content (`END_FIELDS`) at
827
+ * `endedAt`. A step's context digest is the chain just before its own start,
828
+ * plus its own input. This is a timing boundary: it says what had been
829
+ * recorded when the step began, not that the policy read it.
830
+ */
831
+ export declare function extractStepRewards(store: TraceStore, runId: string, opts: ExtractStepRewardsOptions): Promise<StepReward[]>;
770
832
  interface RunwiseStepSummary {
771
833
  runId: string;
772
834
  totalSteps: number;
@@ -777,41 +839,83 @@ interface RunwiseStepSummary {
777
839
  failureFraction: number;
778
840
  /** Maximum drop in reward between consecutive steps — diagnoses a step where things went sideways. */
779
841
  worstStepDelta: number;
842
+ /** Index into the given step rewards of the step after the worst drop; null when no reward dropped. */
780
843
  worstStepIndex: number | null;
781
844
  }
845
+ /** Summarize one run's step rewards, given in step order. */
846
+ export declare function runwiseStepRewardSummary(stepRewards: StepReward[]): RunwiseStepSummary;
782
847
  interface PrmTrainingTriple {
783
- /** Prefix run-id (or composite key) — the trajectory up to step k-1. */
848
+ /** The context digest every step behind both means carries. */
849
+ contextDigest: string;
850
+ /** Run of the chosen representative step; the prefix is read from this run. */
784
851
  prefixRunId: string;
852
+ /**
853
+ * `stepIndex` of the span just before the chosen step in `prefixRunId`, or
854
+ * -1 when nothing precedes it. Spans `0..prefixStepIndex` are the spans that
855
+ * started before the chosen step; one still open then contributed only its
856
+ * start to the shared context.
857
+ */
785
858
  prefixStepIndex: number;
786
- /** The step that came next on a high-reward trajectory. */
859
+ /** The representative step of the action with the higher mean reward. */
787
860
  chosenSpanId: string;
861
+ /** Mean reward of the chosen action over `chosenStepCount` steps. */
788
862
  chosenReward: number;
789
- /** A step from a divergent low-reward trajectory at the same prefix length. */
863
+ /** Steps behind `chosenReward`. */
864
+ chosenStepCount: number;
865
+ /** Every run behind `chosenReward`, sorted. */
866
+ chosenRunIds: string[];
867
+ /** The representative step of the other action, from a different run. */
790
868
  rejectedSpanId: string;
869
+ /** Mean reward of the rejected action over `rejectedStepCount` steps. */
791
870
  rejectedReward: number;
792
- /** The prefix run came from this run; the rejected step came from `rejectedRunId`. */
871
+ /** Steps behind `rejectedReward`. */
872
+ rejectedStepCount: number;
873
+ /** Every run behind `rejectedReward`, sorted. */
874
+ rejectedRunIds: string[];
875
+ /** Run of the rejected representative step; never `prefixRunId`. */
793
876
  rejectedRunId: string;
877
+ /** `chosenReward - rejectedReward`. */
794
878
  marginScore: number;
795
879
  }
796
880
  /**
797
- * Build PRM training triples. The shape: pair runs that share an early
798
- * prefix (same scenario, same first N steps) and diverge later — at the
799
- * point of divergence, the high-reward run's next step is `chosen`, the
800
- * low-reward run's next step is `rejected`. This is the canonical PRM
801
- * training data shape from Lightman et al. and DeepSeek-R1 process
802
- * supervision.
881
+ * What `prmTrainingPairs` built, and how much of its input it could not use.
882
+ * Zero triples with every count zero means there was nothing to pair; zero
883
+ * triples with steps counted here means the evidence for a pair was missing.
884
+ */
885
+ interface PrmPairingResult {
886
+ triples: PrmTrainingTriple[];
887
+ /** Steps with no context digest: something observable before them, or their own input, was not recorded. */
888
+ stepsWithoutContextDigest: number;
889
+ /** Steps with a context digest and no action digest: what they did was not recorded. */
890
+ stepsWithoutActionDigest: number;
891
+ /** Contexts that only one run reached, so no alternative action was recorded there. */
892
+ singleRunContexts: number;
893
+ /** Contexts reached by two or more runs that all took the same action there. */
894
+ sameActionContexts: number;
895
+ /** Pairs of actions in one context whose mean rewards differ by less than `minMargin`, or not at all. */
896
+ actionPairsBelowMargin: number;
897
+ /** Pairs of actions in one context that no two different runs can represent. */
898
+ actionPairsInOneRun: number;
899
+ }
900
+ /**
901
+ * Build PRM training triples — the `(prefix, chosen_step, rejected_step)`
902
+ * shape of Lightman et al. and DeepSeek-R1 process supervision.
803
903
  *
804
- * Implementation note: we don't have a way to detect "same prefix" in
805
- * the general agent setting (token-level prefixes require hashing model
806
- * outputs). The current heuristic groups by `(scenarioId, prefixSpanName
807
- * sequence)` — runs are paired when their first K span names match. For
808
- * production use this should be replaced with a proper trajectory-prefix
809
- * hash; the heuristic is good enough for early-stage scaffolding.
904
+ * Steps are grouped by `contextDigest` across all runs, and within a context by
905
+ * `actionDigest`. Each action's reward is its mean over every step that took
906
+ * it there, so the same action scored twice is one estimate, not two
907
+ * preferences. Two actions in one context form one triple when:
908
+ * - their mean rewards differ, by at least `minMargin` (default 0.2);
909
+ * - two different runs can represent them.
910
+ * The higher-mean action is `chosen`. Its representative is its step with the
911
+ * lowest run id, then span id; the rejected representative is the other
912
+ * action's first step, in the same order, from a different run. When the
913
+ * chosen action's first step has no such partner, its next step is tried.
914
+ * A step with no digest is counted in the result and never paired.
810
915
  */
811
916
  export declare function prmTrainingPairs(stepRewardsByRun: Map<string, StepReward[]>, opts?: {
812
917
  minMargin?: number;
813
- minPrefixLength?: number;
814
- }): PrmTrainingTriple[];
918
+ }): PrmPairingResult;
815
919
  interface DpoLookups {
816
920
  /** Resolve the prompt text for a run (typically from a trace store / raw event sink). */
817
921
  promptOf: (runId: string) => string | Promise<string>;
@@ -930,7 +1034,10 @@ interface PrmLookups {
930
1034
  promptOf: (runId: string) => string | Promise<string>;
931
1035
  /** Resolve the trajectory step text for a (runId, spanId) pair. */
932
1036
  stepTextOf: (runId: string, spanId: string) => string | Promise<string>;
933
- /** Optional: sequence of prefix span ids leading up to the divergence. */
1037
+ /**
1038
+ * Optional: the span ids of the shared prefix — spans `0..prefixStepIndex` of
1039
+ * `runId` in started order, the `StepReward.stepIndex` positions.
1040
+ */
934
1041
  prefixOf?: (runId: string, prefixStepIndex: number) => string[] | Promise<string[]>;
935
1042
  }
936
1043
  interface PrmExportRow {
@@ -961,12 +1068,21 @@ interface PrmLineContext extends RolloutLineContext {
961
1068
  * Convert PRM training triples to JSONL rows. Caller's `stepTextOf`
962
1069
  * callback resolves span text from the consumer's trace store.
963
1070
  *
964
- * Every referenced run is checked against its minted line before any row is
965
- * emitted, and the export FAILS LOUD on a trajectory that was never fully
966
- * captured (see `assertPrmTrainableLine`). Triples whose chosen or rejected
967
- * side is realness-gated are dropped instead: a capture defect is the caller's
968
- * mint configuration and must be fixed, whereas a gamed run is exactly the
969
- * condition the gate exists to filter.
1071
+ * A triple is two different actions taken in the same context, compared on
1072
+ * their mean rewards — the rule `prmTrainingPairs` enforces — and its
1073
+ * `contextDigest` names that context. A triple with no context digest, or that
1074
+ * does not name the runs behind its means, is refused before anything else,
1075
+ * because no row may be built from steps that are not known to share a context
1076
+ * or from a mean whose runs cannot be checked. The digest, the step counts and
1077
+ * the run ids behind each mean are carried on `meta`.
1078
+ *
1079
+ * Every referenced run — both representatives and every run behind either mean
1080
+ * — is checked against its minted line before any row is emitted, and the
1081
+ * export FAILS LOUD on a trajectory that was never fully captured (see
1082
+ * `assertPrmTrainableLine`). A triple any of whose runs is realness-gated is
1083
+ * dropped instead, so a gamed run cannot move a mean: a capture defect is the
1084
+ * caller's mint configuration and must be fixed, whereas a gamed run is exactly
1085
+ * the condition the gate exists to filter.
970
1086
  *
971
1087
  * `context` is REQUIRED. A two-argument call used to be accepted and produced
972
1088
  * rows with no gate applied at all — a `PrmTrainingTriple` carries a bare
@@ -1852,5 +1968,5 @@ interface VerifiedFindingsDataset {
1852
1968
  * label entry, or a missing trajectory throws instead of dropping the row.
1853
1969
  */
1854
1970
  export declare function loadVerifiedFindingsDataset(source: VerifiedFindingsSource): VerifiedFindingsDataset;
1855
- export { type AdapterContext, AdversarialMutation, type BehaviorFeatures, type BradleyTerryFit, type BradleyTerryRating, type BuildPairwiseFromCampaignInput, type BuildVerifiedFindingRowArgs, type CaseVerdictDetail, type CellObservation, type ClaimIntegrityPolicy, type ClaimIntegritySystemOneOptions, type ClaimIntegritySystemOneQuestions, type ClaimIntegrityVerdict, type ComputeBestOfNOptions, type ComputeBestOfNResult, type ComputeCurve, type ComputeCurveBudget, type ComputeCurvePoint, type ContaminationProbeInput, type ContaminationProbeOptions, type ContaminationProbeReport, type CorpusAppendResult, type CorpusRecord, type CurriculumAllocation, type DatasetFormat, type DatasetTrajectoryStep, type DeploymentOutcome, DetectRewardHackingInput, type DpoExportRow, type DpoLineContext, type DpoLookups, type EasyModeOptions, type EasyModeReport, type EloOptions, type ExtractStepRewardsOptions, type FarmingOptions, type FeatureDivergence, type FeatureShift, type FidelityReport, type FidelityVerdict, FileSystemOutcomeStore, type FileSystemOutcomeStoreOptions, type FixOutcome, type GoldLabelEntry, type GrpoExportRow, type GrpoLookups, type HarvestOptions, InMemoryOutcomeStore, type IntegrityClaim, type IntegrityEvidence, type IntegritySignal, type IntegritySignalId, type IntegritySignalKind, type NormalizedStep, type OffPolicyContributionCounts, type OffPolicyEstimate, type OffPolicyOptions, type OffPolicyTrajectory, type OutcomeStore, type PairwiseOutcome, type ParetoPointInput, type PrmExportRow, type PrmLineContext, type PrmLookups, type PrmTrainingTriple, type RecordedPrefixDivergence, type RefereeVerdict, type ReplayBatchCase, type ReplayBatchFix, type ReplayBatchReportFile, RewardHackingFinding, RewardHackingReport, RewardHackingSignal, type RewardKind, type RewardStats, type RlDatasetBundle, type RlDatasetConfig, type RlDatasetManifest, type RlDatasetStats, type RolloutLineContext, type RunComputeCurveOptions, type RunwiseStepSummary, type ScenarioPerturbation, type ScenarioPerturbationKind, type ScopeCondition, type ScopeOperator, type ScopeRule, type ScopeValue, type SelfConsistencyOptions, type SelfConsistencyResult, type SftExportRow, type SftLookups, type SimFidelityOptions, type SourceExcerpt, type SourceScope, type SourceScopeRefereeAnswer, type StepReward, type StepRewardJsonlRow, type StepScorer, type TrainingLineSelectionOptions, type TrajectoryEvent, type VarianceCurriculumOptions, type VerifiableReward, type VerifiableRewardExtractionOptions, type VerifiableRewardSource, type VerifiedFindingFix, type VerifiedFindingRow, type VerifiedFindingsCorpusSource, type VerifiedFindingsDataset, type VerifiedFindingsSource, type VerifiedFindingsSummary, detectRewardHacking, extractVerifiableReward, extractVerifiableRewardsFromRecords, runEvalCampaign };
1971
+ export { type AdapterContext, AdversarialMutation, type BehaviorFeatures, type BradleyTerryFit, type BradleyTerryRating, type BuildPairwiseFromCampaignInput, type BuildVerifiedFindingRowArgs, type CaseVerdictDetail, type CellObservation, type ClaimIntegrityPolicy, type ClaimIntegritySystemOneOptions, type ClaimIntegritySystemOneQuestions, type ClaimIntegrityVerdict, type ComputeBestOfNOptions, type ComputeBestOfNResult, type ComputeCurve, type ComputeCurveBudget, type ComputeCurvePoint, type ContaminationProbeInput, type ContaminationProbeOptions, type ContaminationProbeReport, type CorpusAppendResult, type CorpusRecord, type CurriculumAllocation, type DatasetFormat, type DatasetTrajectoryStep, type DeploymentOutcome, DetectRewardHackingInput, type DpoExportRow, type DpoLineContext, type DpoLookups, type EasyModeOptions, type EasyModeReport, type EloOptions, type ExtractStepRewardsOptions, type FarmingOptions, type FeatureDivergence, type FeatureShift, type FidelityReport, type FidelityVerdict, FileSystemOutcomeStore, type FileSystemOutcomeStoreOptions, type FixOutcome, type GoldLabelEntry, type GrpoExportRow, type GrpoLookups, type HarvestOptions, InMemoryOutcomeStore, type IntegrityClaim, type IntegrityEvidence, type IntegritySignal, type IntegritySignalId, type IntegritySignalKind, type NormalizedStep, type OffPolicyContributionCounts, type OffPolicyEstimate, type OffPolicyOptions, type OffPolicyTrajectory, type OutcomeStore, type PairwiseOutcome, type ParetoPointInput, type PrmExportRow, type PrmLineContext, type PrmLookups, type PrmPairingResult, type PrmTrainingTriple, type RecordedPrefixDivergence, type RefereeVerdict, type ReplayBatchCase, type ReplayBatchFix, type ReplayBatchReportFile, RewardHackingFinding, RewardHackingReport, RewardHackingSignal, type RewardKind, type RewardStats, type RlDatasetBundle, type RlDatasetConfig, type RlDatasetManifest, type RlDatasetStats, type RolloutLineContext, type RunComputeCurveOptions, type RunwiseStepSummary, type ScenarioPerturbation, type ScenarioPerturbationKind, type ScopeCondition, type ScopeOperator, type ScopeRule, type ScopeValue, type ScoredStep, type SelfConsistencyOptions, type SelfConsistencyResult, type SftExportRow, type SftLookups, type SimFidelityOptions, type SourceExcerpt, type SourceScope, type SourceScopeRefereeAnswer, type StepReward, type StepRewardJsonlRow, type StepScorer, type TrainingLineSelectionOptions, type TrajectoryEvent, type VarianceCurriculumOptions, type VerifiableReward, type VerifiableRewardExtractionOptions, type VerifiableRewardSource, type VerifiedFindingFix, type VerifiedFindingRow, type VerifiedFindingsCorpusSource, type VerifiedFindingsDataset, type VerifiedFindingsSource, type VerifiedFindingsSummary, detectRewardHacking, extractVerifiableReward, extractVerifiableRewardsFromRecords, runEvalCampaign };
1856
1972
  //# sourceMappingURL=rl.d.ts.map
package/dist/rl.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"rl.d.ts","names":["_$___rollout_schema0.ToolDef"],"sources":["../src/rl/active-curriculum.ts","../src/rl/adaptation-eval.ts","../src/rl/claim-integrity.ts","../src/rl/compute-curves.ts","../src/rl/contamination.ts","../src/rl/rollout-input.ts","../src/rl/preferences.ts","../src/rl/process-reward.ts","../src/rl/exporters.ts","../src/rl/dataset.ts","../src/rl/corpus.ts","../src/rl/off-policy.ts","../src/rl/predictive-validity-researcher.ts","../src/rl/rl-campaign.ts","../src/rl/run-record-adapters.ts","../src/rl/sim-fidelity.ts","../src/rl/tournament.ts","../src/rl/verified-findings-dataset.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAgBiB;EACf;EACA;;EAEA;;UAGe;EACf;EACA;;EAEA;;EAEA;;UAGe;;EAEf;;;;;;EAMA;;;;;EAKA;;iBChCe,iBAAiB;;;;;;EAMhC,IAAI;IAAQ,UAAU;IAAG;IAAW;MAAgB;;iBAGrC,0BAA0B;EACzC,WAAW;;EAEX;;EAEA;EACA,QAAQ,iBAAiB;;EAEzB;;iBAGe;EACf;EACA;EACA;EACA;EACA;;EAEA,aAAa;IAAQ;IAAoB;IAAmB;IAAgB;;;iBAG7D;EACf,QAAQ;;;;;EAKR;;;;;EAKA;;wBAGoB,mBAAmB;EAAY;GACnD,MAAM,0BAA0B,KAC/B,QAAQ;iBAmEM;EACf,MAAM;IACJ;;IAEA,OAAO;;;EAGT,WAAW;;EAEX,cAAc;EACd,cAAc;;EAEd;;EAEA;;EAEA;;;;;;;;;wBAUc,wBACd,GAAG,iBACH,GAAG,iBACH;EACE;EACA;EACA;;EAEA;IAED;;wBA0Ea,WAAW,OAAO,iBAAiB;KC5LvC;KACA;;UAGK;WACN;WACA,IAAI;WACJ,OAAO,sBAAsB;;UAGvB;;WAEN;WACA,eAAe;;WAEf;;WAEA;;WAEA;;UAGM;WACN;WACA;;;;;;;UAQM;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA,SAAS,SAAS;;;;;WAKlB,aAAa,SAAS;;WAEtB,mBAAmB;;WAEnB,oBAAoB;;WAEpB,kBAAkB;;WAElB,mBAAmB;;;UAIb;;WAEN;;WAEA;WACA;WACA;WACA;;WAEA,YAAY,SAAS;;WAErB;;WAEA;;WAEA;;KAGC;KACA;UAYK;WACN;WACA;WACA;;UAGM;WACN,IAAI;WACJ,MAAM;;WAEN;WACA;WACA,mBAAmB;;WAEnB;;;wBA2BK,UAAU,MAAM,WAAW,OAAO,KAAK;;;;;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AAW;;EAEX;;UAae;;;EAGf;;;EAGA;;UAGe;EACf;EACA;;EAEA;;;EAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;UCzHe;;EAEf;;EAEA;;;;;EAKA;;;;;;EAMA;;UAGe;EACf;;EAEA;;EAEA;;EAEA;;EAEA;;UAGe;EACf,SAAS;;EAET;;EAEA;EACA;;;;;;;;;;;wBAYc,gBACd,UAAU,mBACV;EAAQ;EAAoB;EAAwB;IACnD;;;;;;;;;UA+Gc;;EAEf;;EAEA;;;;;;;;UAkCe;EACf,MAAM;IACJ;;IAEA;IACA;;;;;;EAMF;;wBAGc,0BACd,OAAO,iCACN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cC/MU;;UAKI;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;EAEA;EACA,KAAK;EACL;;UAGe;EACf;EACA;EACA;EACA;EACA;EACA;;UAGe;EACf;EACA,OAAO;;;UAIQ;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA,kBAAkB;IAAQ;IAAkB;;;;UAI7B;EACf;EACA;EACA;;UAGe;EACf;;;EAGA;;EAEA;EACA;;;UAIe;EACf;EACA;EACA;EACA;EACA,mBAAmB;EACnB;EACA;IAAU;IAAyB;;;UAKpB;EACf;EACA;EACA;;EAEA;EACA;;KAGU;UAEK;EACf,SAAS;EACT;EACA;EACA;EACA;;UAGe;EACf,eAAe;;EAEf;EACA;EACA;EACA;IACE;IACA;IACA;IACA;IACA;IACA;;EAEF;;IAEE;;IAEA;;IAEA;;IAEA;IACA;;;EAGF;IACE;MAAU;MAAe;;IACzB,OAAO;;EAET;IACE;;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;;;IAGA;IACA,wBAAwB;IACxB;IACA;IACA;IACA;;EAEF,KAAK;EACL;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;;UAIa;EACf;EACA;;;;EAIA;EACA,KAAK,OAAO;EACZ,UAAU;IAAiB;IAAc;IAAoB;;;UAO9C;EACf,WAAW;EACX,OAAO;EACP,OAAO;EACP;EACA;EACA;EACA;EACA;EACA;EACA;EACA,SAAS;EACT;;UA6Oe;EACf;;EAEA;;UAGe;EACf;;EAEA;;EAEA,SAAS,eAAe;;EAExB;EACA;;UAGe;EACf,MAAM;EACN,SAAS;EACT;IACE;IACA;IACA;IACA;IACA,SAAS;MAAiB;MAAoB;MAAsB;;;;;;;;;wBAuExD,4BACd,QAAQ,yBACP"}
1
+ {"version":3,"file":"rl.d.ts","names":["_$___rollout_schema0.ToolDef"],"sources":["../src/rl/active-curriculum.ts","../src/rl/adaptation-eval.ts","../src/rl/claim-integrity.ts","../src/rl/compute-curves.ts","../src/rl/contamination.ts","../src/rl/rollout-input.ts","../src/rl/preferences.ts","../src/rl/process-reward.ts","../src/rl/exporters.ts","../src/rl/dataset.ts","../src/rl/corpus.ts","../src/rl/off-policy.ts","../src/rl/predictive-validity-researcher.ts","../src/rl/rl-campaign.ts","../src/rl/run-record-adapters.ts","../src/rl/sim-fidelity.ts","../src/rl/tournament.ts","../src/rl/verified-findings-dataset.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAgBiB;EACf;EACA;;EAEA;;UAGe;EACf;EACA;;EAEA;;EAEA;;UAGe;;EAEf;;;;;;EAMA;;;;;EAKA;;iBChCe,iBAAiB;;;;;;EAMhC,IAAI;IAAQ,UAAU;IAAG;IAAW;MAAgB;;iBAGrC,0BAA0B;EACzC,WAAW;;EAEX;;EAEA;EACA,QAAQ,iBAAiB;;EAEzB;;iBAGe;EACf;EACA;EACA;EACA;EACA;;EAEA,aAAa;IAAQ;IAAoB;IAAmB;IAAgB;;;iBAG7D;EACf,QAAQ;;;;;EAKR;;;;;EAKA;;wBAGoB,mBAAmB;EAAY;GACnD,MAAM,0BAA0B,KAC/B,QAAQ;iBAmEM;EACf,MAAM;IACJ;;I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UAAU,mBACV;EAAQ;EAAoB;EAAwB;IACnD;;;;;;;;;UA+Gc;;EAEf;;EAEA;;;;;;;;UAkCe;EACf,MAAM;IACJ;;IAEA;IACA;;;;;;EAMF;;wBAGc,0BACd,OAAO,iCACN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cC/MU;;UAKI;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;EAEA;EACA,KAAK;EACL;;UAGe;EACf;EACA;EACA;EACA;EACA;EACA;;UAGe;EACf;EACA,OAAO;;;UAIQ;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA,kBAAkB;IAAQ;IAAkB;;;;UAI7B;EACf;EACA;EACA;;UAGe;EACf;;;EAGA;;EAEA;EACA;;;UAIe;EACf;EACA;EACA;EACA;EACA,mBAAmB;EACnB;EACA;IAAU;IAAyB;;;UAKpB;EACf;EACA;EACA;;EAEA;EACA;;KAGU;UAEK;EACf,SAAS;EACT;EACA;EACA;EACA;;UAGe;EACf,eAAe;;EAEf;EACA;EACA;EACA;IACE;IACA;IACA;IACA;IACA;IACA;;EAEF;;IAEE;;IAEA;;IAEA;;IAEA;IACA;;;EAGF;IACE;MAAU;MAAe;;IACzB,OAAO;;EAET;IACE;;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;;;IAGA;IACA,wBAAwB;IACxB;IACA;IACA;IACA;;EAEF,KAAK;EACL;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;;UAIa;EACf;EACA;;;;EAIA;EACA,KAAK,OAAO;EACZ,UAAU;IAAiB;IAAc;IAAoB;;;UAO9C;EACf,WAAW;EACX,OAAO;EACP,OAAO;EACP;EACA;EACA;EACA;EACA;EACA;EACA;EACA,SAAS;EACT;;UA6Oe;EACf;;EAEA;;UAGe;EACf;;EAEA;;EAEA,SAAS,eAAe;;EAExB;EACA;;UAGe;EACf,MAAM;EACN,SAAS;EACT;IACE;IACA;IACA;IACA;IACA,SAAS;MAAiB;MAAoB;MAAsB;;;;;;;;;wBAuExD,4BACd,QAAQ,yBACP"}