@tangle-network/agent-eval 1.0.29 → 1.0.32
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.
- package/CHANGELOG.md +67 -0
- package/README.md +1 -0
- package/dist/adapters/http.d.ts +2 -2
- package/dist/{agent-profile-BF1WLMco.d.ts → agent-profile-BpLyM2kL.d.ts} +2 -2
- package/dist/{agent-profile-BF1WLMco.d.ts.map → agent-profile-BpLyM2kL.d.ts.map} +1 -1
- package/dist/{agent-profile-cell-3kYxUsK2.d.ts → agent-profile-cell-BTsrta0H.d.ts} +2 -9
- package/dist/agent-profile-cell-BTsrta0H.d.ts.map +1 -0
- package/dist/agent-profile-cell-CT5JYueM.js.map +1 -1
- package/dist/analyst/index.d.ts +13 -13
- package/dist/analyst/index.js +11 -11
- package/dist/{analyze-runs-BaziIw93.d.ts → analyze-runs-DfUDLaCk.d.ts} +6 -16
- package/dist/analyze-runs-DfUDLaCk.d.ts.map +1 -0
- package/dist/{analyze-runs-BCSHzqna.js → analyze-runs-YagfYgfx.js} +5 -5
- package/dist/{analyze-runs-BCSHzqna.js.map → analyze-runs-YagfYgfx.js.map} +1 -1
- package/dist/app-grade/index.d.ts +3 -5
- package/dist/app-grade/index.d.ts.map +1 -1
- package/dist/app-grade/index.js +2 -6
- package/dist/app-grade/index.js.map +1 -1
- package/dist/{benchmark-command-DRAHkn4D.js → benchmark-command-CTmr-oo4.js} +11 -10
- package/dist/benchmark-command-CTmr-oo4.js.map +1 -0
- package/dist/benchmarks/index.d.ts +7 -6
- package/dist/benchmarks/index.d.ts.map +1 -1
- package/dist/benchmarks/index.js +13 -5
- package/dist/benchmarks/index.js.map +1 -1
- package/dist/builder-eval/index.js +1 -1
- package/dist/{calibration-Cf-wpqqO.js → calibration-DE2WQmlX.js} +2 -2
- package/dist/{calibration-Cf-wpqqO.js.map → calibration-DE2WQmlX.js.map} +1 -1
- package/dist/campaign/index.d.ts +8 -8
- package/dist/campaign/index.js +14 -14
- package/dist/{campaign-Cqz2vk2p.js → campaign-CtdTo5em.js} +15 -15
- package/dist/{campaign-Cqz2vk2p.js.map → campaign-CtdTo5em.js.map} +1 -1
- package/dist/{campaign-evidence-CVNKiK0q.js → campaign-evidence-BS2-OSFN.js} +4 -4
- package/dist/{campaign-evidence-CVNKiK0q.js.map → campaign-evidence-BS2-OSFN.js.map} +1 -1
- package/dist/cli.js +9 -8
- package/dist/cli.js.map +1 -1
- package/dist/{cluster-bootstrap-B0MTOBRU.js → cluster-bootstrap-ClPYIWoX.js} +2 -2
- package/dist/{cluster-bootstrap-B0MTOBRU.js.map → cluster-bootstrap-ClPYIWoX.js.map} +1 -1
- package/dist/contract/index.d.ts +12 -11
- package/dist/contract/index.js +56 -34
- package/dist/contract/index.js.map +1 -1
- package/dist/{decision-point-CQOczIIH.js → decision-point-DvX1Z4Ue.js} +3 -3
- package/dist/{decision-point-CQOczIIH.js.map → decision-point-DvX1Z4Ue.js.map} +1 -1
- package/dist/{default-registry-DoIBhuS-.d.ts → default-registry-2Ziw-0sL.d.ts} +7 -7
- package/dist/{default-registry-DoIBhuS-.d.ts.map → default-registry-2Ziw-0sL.d.ts.map} +1 -1
- package/dist/{default-registry-D-xd7KxV.js → default-registry-DeiYGNKW.js} +3 -3
- package/dist/{default-registry-D-xd7KxV.js.map → default-registry-DeiYGNKW.js.map} +1 -1
- package/dist/{define-agent-eval-Be2Ser8j.d.ts → define-agent-eval-DmCV1TZo.d.ts} +7 -7
- package/dist/{define-agent-eval-Be2Ser8j.d.ts.map → define-agent-eval-DmCV1TZo.d.ts.map} +1 -1
- package/dist/{define-agent-eval-BLVewqJm.js → define-agent-eval-GgvRcpNL.js} +7 -7
- package/dist/{define-agent-eval-BLVewqJm.js.map → define-agent-eval-GgvRcpNL.js.map} +1 -1
- package/dist/diagnosis/index.d.ts +4 -3
- package/dist/diagnosis/index.d.ts.map +1 -1
- package/dist/diagnosis/index.js +1 -1
- package/dist/{dspy-rlm-engine-BS_jxE0P.js → dspy-rlm-engine-DJ_4E-PM.js} +3 -3
- package/dist/{dspy-rlm-engine-BS_jxE0P.js.map → dspy-rlm-engine-DJ_4E-PM.js.map} +1 -1
- package/dist/{engine-CPBhCLJR.d.ts → engine-yaSDTpEa.d.ts} +2 -2
- package/dist/{engine-CPBhCLJR.d.ts.map → engine-yaSDTpEa.d.ts.map} +1 -1
- package/dist/{eval-campaign-DpkToY_w.js → eval-campaign-bpSlwr6t.js} +2 -2
- package/dist/{eval-campaign-DpkToY_w.js.map → eval-campaign-bpSlwr6t.js.map} +1 -1
- package/dist/{evaluation-BjRgUyst.d.ts → evaluation-BQQ2ga5W.d.ts} +4 -4
- package/dist/{evaluation-BjRgUyst.d.ts.map → evaluation-BQQ2ga5W.d.ts.map} +1 -1
- package/dist/evaluation.d.ts +1 -1
- package/dist/{exact-types-DEnrf7NX.d.ts → exact-types-xrjBO9sb.d.ts} +2 -2
- package/dist/{exact-types-DEnrf7NX.d.ts.map → exact-types-xrjBO9sb.d.ts.map} +1 -1
- package/dist/execution-insight-B-My58JW.d.ts +14 -0
- package/dist/execution-insight-B-My58JW.d.ts.map +1 -0
- package/dist/experiment/index.d.ts +3 -3
- package/dist/experiment/index.js +7 -7
- package/dist/{exporters-BKZLt1Px.js → exporters-CfKvJlti.js} +70 -43
- package/dist/exporters-CfKvJlti.js.map +1 -0
- package/dist/{external-optimizer-process-m9xln7zN.js → external-optimizer-process-jiq4CZD0.js} +2 -2
- package/dist/{external-optimizer-process-m9xln7zN.js.map → external-optimizer-process-jiq4CZD0.js.map} +1 -1
- package/dist/{external-optimizer-subprocess-GO6s84Ov.js → external-optimizer-subprocess-DUOcOqly.js} +2 -2
- package/dist/{external-optimizer-subprocess-GO6s84Ov.js.map → external-optimizer-subprocess-DUOcOqly.js.map} +1 -1
- package/dist/failure-cluster-OvKQ0BTq.d.ts +32 -0
- package/dist/failure-cluster-OvKQ0BTq.d.ts.map +1 -0
- package/dist/{failure-cluster-DOoa7CBg.d.ts → failure-taxonomy-C_SQZ_SJ.d.ts} +2 -30
- package/dist/failure-taxonomy-C_SQZ_SJ.d.ts.map +1 -0
- package/dist/{feedback-trajectory-DxkG5EPi.d.ts → feedback-trajectory-BbwTH49m.d.ts} +3 -3
- package/dist/{feedback-trajectory-DxkG5EPi.d.ts.map → feedback-trajectory-BbwTH49m.d.ts.map} +1 -1
- package/dist/{findings-store-CTy71Lnr.js → findings-store-B7JpmgJx.js} +3 -3
- package/dist/{findings-store-CTy71Lnr.js.map → findings-store-B7JpmgJx.js.map} +1 -1
- package/dist/fuzz.js +1 -1
- package/dist/harness-session-lines-hAxOvmtP.js +205 -0
- package/dist/harness-session-lines-hAxOvmtP.js.map +1 -0
- package/dist/{hf-dataset-Bv114tzB.js → hf-dataset-Cc81I0vQ.js} +65 -141
- package/dist/hf-dataset-Cc81I0vQ.js.map +1 -0
- package/dist/hosted/index.js +1 -1
- package/dist/{index-BI9ecONy.d.ts → index-8hbrQwdR.d.ts} +26 -11
- package/dist/index-8hbrQwdR.d.ts.map +1 -0
- package/dist/{index-AjfEHHA8.d.ts → index-BFpDeCuS.d.ts} +7 -7
- package/dist/{index-AjfEHHA8.d.ts.map → index-BFpDeCuS.d.ts.map} +1 -1
- package/dist/{index-DHWFYUVW.d.ts → index-Bcy00QoN.d.ts} +87 -144
- package/dist/index-Bcy00QoN.d.ts.map +1 -0
- package/dist/{index-BriU7rfL.d.ts → index-BfxYoHGF.d.ts} +226 -6
- package/dist/index-BfxYoHGF.d.ts.map +1 -0
- package/dist/{index-D-0mg-eu.d.ts → index-BnqugnsM.d.ts} +31 -11
- package/dist/index-BnqugnsM.d.ts.map +1 -0
- package/dist/{index-C8a9Dyan.d.ts → index-BwJtNdaj.d.ts} +21 -24
- package/dist/index-BwJtNdaj.d.ts.map +1 -0
- package/dist/{index-VSN1IZQp.d.ts → index-Yec_iihg.d.ts} +4 -3
- package/dist/index-Yec_iihg.d.ts.map +1 -0
- package/dist/index.d.ts +34 -31
- package/dist/index.js +21 -21
- package/dist/{integrity-BHM4voOx.js → integrity-BSs9dgKW.js} +3 -3
- package/dist/{integrity-BHM4voOx.js.map → integrity-BSs9dgKW.js.map} +1 -1
- package/dist/{journal-CTX5uK-n.js → journal-F3msN9OD.js} +5 -399
- package/dist/journal-F3msN9OD.js.map +1 -0
- package/dist/journal-file-AekB57Er.js +400 -0
- package/dist/journal-file-AekB57Er.js.map +1 -0
- package/dist/judge-calibration-DnrbQaXI.d.ts +144 -0
- package/dist/judge-calibration-DnrbQaXI.d.ts.map +1 -0
- package/dist/{judge-gate-DsoI5tx7.js → judge-gate-MP1rHOB4.js} +2 -2
- package/dist/{judge-gate-DsoI5tx7.js.map → judge-gate-MP1rHOB4.js.map} +1 -1
- package/dist/ledger-core/index.js +3 -2
- package/dist/{ledger-core-24IxvmVY.js → ledger-core-COxrkkZi.js} +2 -2
- package/dist/{ledger-core-24IxvmVY.js.map → ledger-core-COxrkkZi.js.map} +1 -1
- package/dist/{llm-judge-DzAT7Wka.js → llm-judge-Cc33WVHX.js} +102 -27
- package/dist/llm-judge-Cc33WVHX.js.map +1 -0
- package/dist/{matrix-DdniPG_M.d.ts → matrix-D0fEU0fq.d.ts} +2 -2
- package/dist/{matrix-DdniPG_M.d.ts.map → matrix-D0fEU0fq.d.ts.map} +1 -1
- package/dist/meta-eval/index.d.ts +3 -3
- package/dist/meta-eval/index.js +6 -6
- package/dist/{mint-Ck92efNo.js → mint-g8elU5yW.js} +11 -35
- package/dist/mint-g8elU5yW.js.map +1 -0
- package/dist/multishot/golden/index.d.ts +1 -1
- package/dist/multishot/index.d.ts +2 -2
- package/dist/openapi.json +1 -1
- package/dist/{outcome-observations-DPkH-LHQ.js → outcome-observations-YFFmdGGW.js} +2 -2
- package/dist/{outcome-observations-DPkH-LHQ.js.map → outcome-observations-YFFmdGGW.js.map} +1 -1
- package/dist/{paired-arms-DjMEtYI9.js → paired-arms-CMSTbLqX.js} +2 -2
- package/dist/{paired-arms-DjMEtYI9.js.map → paired-arms-CMSTbLqX.js.map} +1 -1
- package/dist/{paired-promotion-decision-DawN2o0G.d.ts → paired-promotion-decision-BBSxTo-h.d.ts} +2 -2
- package/dist/{paired-promotion-decision-DawN2o0G.d.ts.map → paired-promotion-decision-BBSxTo-h.d.ts.map} +1 -1
- package/dist/{paired-promotion-decision-Bi9__RQS.js → paired-promotion-decision-BoWHWL1i.js} +2 -2
- package/dist/{paired-promotion-decision-Bi9__RQS.js.map → paired-promotion-decision-BoWHWL1i.js.map} +1 -1
- package/dist/{paired-promotion-power-D03cUj9E.js → paired-promotion-power-BXH3gzvs.js} +3 -3
- package/dist/{paired-promotion-power-D03cUj9E.js.map → paired-promotion-power-BXH3gzvs.js.map} +1 -1
- package/dist/{pareto-UzjB3ZBk.js → pareto-B226QGVD.js} +54 -47
- package/dist/pareto-B226QGVD.js.map +1 -0
- package/dist/pipelines/index.d.ts +1 -1
- package/dist/pipelines/index.js +1 -1
- package/dist/{prime-protocol-RUPtoYiI.d.ts → prime-protocol-3aHqoxSH.d.ts} +2 -2
- package/dist/{prime-protocol-RUPtoYiI.d.ts.map → prime-protocol-3aHqoxSH.d.ts.map} +1 -1
- package/dist/profile-cell.d.ts +2 -2
- package/dist/{promotion-gate-DG_PSJx_.d.ts → promotion-gate-D-ffRHFQ.d.ts} +3 -3
- package/dist/{promotion-gate-DG_PSJx_.d.ts.map → promotion-gate-D-ffRHFQ.d.ts.map} +1 -1
- package/dist/{promotion-policy-DCgftbnd.js → promotion-policy-CfgRPGx0.js} +4 -4
- package/dist/{promotion-policy-DCgftbnd.js.map → promotion-policy-CfgRPGx0.js.map} +1 -1
- package/dist/{proposal-findings-CS6LoGGp.js → proposal-findings-BFtn6Lcx.js} +2 -2
- package/dist/{proposal-findings-CS6LoGGp.js.map → proposal-findings-BFtn6Lcx.js.map} +1 -1
- package/dist/{registry-BqoX13FD.d.ts → registry-x5n4GeBx.d.ts} +3 -3
- package/dist/{registry-BqoX13FD.d.ts.map → registry-x5n4GeBx.d.ts.map} +1 -1
- package/dist/{release-confidence-B4Xxdpmn.js → release-confidence-baM0TqCx.js} +2 -2
- package/dist/{release-confidence-B4Xxdpmn.js.map → release-confidence-baM0TqCx.js.map} +1 -1
- package/dist/reporting.d.ts +13 -6
- package/dist/reporting.d.ts.map +1 -1
- package/dist/reporting.js +5 -5
- package/dist/{summary-report-9kwI6jFQ.d.ts → research-report-CUbXuGX-.d.ts} +6 -121
- package/dist/research-report-CUbXuGX-.d.ts.map +1 -0
- package/dist/{researcher-BuojS14L.d.ts → researcher-D6D7q9uQ.d.ts} +4 -4
- package/dist/{researcher-BuojS14L.d.ts.map → researcher-D6D7q9uQ.d.ts.map} +1 -1
- package/dist/{reward-hacking-BYiDFbIl.js → reward-hacking-DNiHskry.js} +2 -2
- package/dist/{reward-hacking-BYiDFbIl.js.map → reward-hacking-DNiHskry.js.map} +1 -1
- package/dist/{reward-hacking-CIdVwVe4.d.ts → reward-hacking-_CAip56v.d.ts} +2 -2
- package/dist/{reward-hacking-CIdVwVe4.d.ts.map → reward-hacking-_CAip56v.d.ts.map} +1 -1
- package/dist/rl.d.ts +35 -17
- package/dist/rl.d.ts.map +1 -1
- package/dist/rl.js +116 -24
- package/dist/rl.js.map +1 -1
- package/dist/rollout/index.d.ts +5 -6
- package/dist/rollout/index.js +7 -6
- package/dist/{rollout-B86tqluQ.js → rollout-CCh4eSB3.js} +6 -5
- package/dist/{rollout-B86tqluQ.js.map → rollout-CCh4eSB3.js.map} +1 -1
- package/dist/{rollout-nodes-DhSPJ2X7.js → rollout-nodes-DzmHlPAC.js} +2 -2
- package/dist/rollout-nodes-DzmHlPAC.js.map +1 -0
- package/dist/{rubric-predictive-validity-Bbi88Aut.d.ts → rubric-predictive-validity-BTN3nNhC.d.ts} +2 -2
- package/dist/{rubric-predictive-validity-Bbi88Aut.d.ts.map → rubric-predictive-validity-BTN3nNhC.d.ts.map} +1 -1
- package/dist/{rubric-predictive-validity-DL7gJ51F.js → rubric-predictive-validity-Cln7r56F.js} +2 -2
- package/dist/{rubric-predictive-validity-DL7gJ51F.js.map → rubric-predictive-validity-Cln7r56F.js.map} +1 -1
- package/dist/{run-record-DTTx9Ktr.js → run-record-CbrxTcCO.js} +2 -2
- package/dist/{run-record-DTTx9Ktr.js.map → run-record-CbrxTcCO.js.map} +1 -1
- package/dist/{run-record-pBlhZizT.d.ts → run-record-hti3ETmO.d.ts} +2 -2
- package/dist/{run-record-pBlhZizT.d.ts.map → run-record-hti3ETmO.d.ts.map} +1 -1
- package/dist/{runtime-rollouts-BNrm5nC_.js → runtime-rollouts-C_hBaYXe.js} +279 -55
- package/dist/{runtime-rollouts-BNrm5nC_.js.map → runtime-rollouts-C_hBaYXe.js.map} +1 -1
- package/dist/{schema-PDKQ_iNE.d.ts → schema-BTTzvMnn.d.ts} +24 -5
- package/dist/schema-BTTzvMnn.d.ts.map +1 -0
- package/dist/{schema-ChIZfnqY.js → schema-b18jtzZw.js} +56 -3
- package/dist/schema-b18jtzZw.js.map +1 -0
- package/dist/search/index.d.ts +2 -2
- package/dist/search/index.js +2 -2
- package/dist/{search-kernel-C4XnLKIW.d.ts → search-kernel-IpyhPDQd.d.ts} +287 -276
- package/dist/search-kernel-IpyhPDQd.d.ts.map +1 -0
- package/dist/{search-ledger-9liYyZf5.js → search-ledger-D_ENQh0d.js} +4 -4
- package/dist/{search-ledger-9liYyZf5.js.map → search-ledger-D_ENQh0d.js.map} +1 -1
- package/dist/{search-ledger-file-BhOdgYIt.js → search-ledger-file-J8Xh9pU_.js} +3 -3
- package/dist/{search-ledger-file-BhOdgYIt.js.map → search-ledger-file-J8Xh9pU_.js.map} +1 -1
- package/dist/{search-shipper-B6tMNx1I.js → search-shipper-BUf7s92U.js} +3 -3
- package/dist/{search-shipper-B6tMNx1I.js.map → search-shipper-BUf7s92U.js.map} +1 -1
- package/dist/{search-summary-CISbbxyr.js → search-summary-B2RpvkkQ.js} +5 -5
- package/dist/{search-summary-CISbbxyr.js.map → search-summary-B2RpvkkQ.js.map} +1 -1
- package/dist/{sequential-1-T2oi1_.d.ts → sequential-B-zx24n_.d.ts} +2 -2
- package/dist/{sequential-1-T2oi1_.d.ts.map → sequential-B-zx24n_.d.ts.map} +1 -1
- package/dist/{sequential-Ko7T-zvu.js → sequential-C6k0Wrb7.js} +3 -3
- package/dist/{sequential-Ko7T-zvu.js.map → sequential-C6k0Wrb7.js.map} +1 -1
- package/dist/{sequential-9TVb5Nu5.js → sequential-pLr7Ukad.js} +3 -3
- package/dist/{sequential-9TVb5Nu5.js.map → sequential-pLr7Ukad.js.map} +1 -1
- package/dist/{single-run-lock-CUj2tjxT.js → single-run-lock-BSKsoeQF.js} +2 -2
- package/dist/{single-run-lock-CUj2tjxT.js.map → single-run-lock-BSKsoeQF.js.map} +1 -1
- package/dist/{skillopt-optimization-method-BtX7xXDd.js → skillopt-optimization-method-BnR2yh-a.js} +11 -11
- package/dist/{skillopt-optimization-method-BtX7xXDd.js.map → skillopt-optimization-method-BnR2yh-a.js.map} +1 -1
- package/dist/{statistical-heldout-Bx1QUDNy.d.ts → statistical-heldout-AvgLVFp6.d.ts} +6 -6
- package/dist/{statistical-heldout-Bx1QUDNy.d.ts.map → statistical-heldout-AvgLVFp6.d.ts.map} +1 -1
- package/dist/{statistical-heldout-DLO4Ebos.js → statistical-heldout-BvcAVtof.js} +3 -3
- package/dist/{statistical-heldout-DLO4Ebos.js.map → statistical-heldout-BvcAVtof.js.map} +1 -1
- package/dist/{statistics-CvvC-MPv.js → statistics-CHs0jlsY.js} +184 -2
- package/dist/statistics-CHs0jlsY.js.map +1 -0
- package/dist/statistics.d.ts +2 -2
- package/dist/statistics.js +2 -2
- package/dist/{store-tool-spans-kCDPEwjL.d.ts → store-tool-spans-Bm0-YhHG.d.ts} +5 -5
- package/dist/{store-tool-spans-kCDPEwjL.d.ts.map → store-tool-spans-Bm0-YhHG.d.ts.map} +1 -1
- package/dist/{summary-report-BEhqoxrA.js → summary-report-BgdIlM_w.js} +3 -3
- package/dist/{summary-report-BEhqoxrA.js.map → summary-report-BgdIlM_w.js.map} +1 -1
- package/dist/summary-report-figures-BoFCoiOP.d.ts +112 -0
- package/dist/summary-report-figures-BoFCoiOP.d.ts.map +1 -0
- package/dist/supervisor-run/index.d.ts +32 -8
- package/dist/supervisor-run/index.d.ts.map +1 -1
- package/dist/supervisor-run/index.js +3 -3
- package/dist/{systemone-CSwi1hp-.d.ts → systemone-DPVj7a1g.d.ts} +7 -7
- package/dist/{systemone-CSwi1hp-.d.ts.map → systemone-DPVj7a1g.d.ts.map} +1 -1
- package/dist/{systemone-review-WpWosn3a.d.ts → systemone-review-CrnsTRav.d.ts} +2 -2
- package/dist/{systemone-review-WpWosn3a.d.ts.map → systemone-review-CrnsTRav.d.ts.map} +1 -1
- package/dist/systemone.d.ts +3 -3
- package/dist/systemone.js +1 -1
- package/dist/{tool-groups-Bcasvncd.d.ts → tool-groups-5pgmtTmE.d.ts} +3 -3
- package/dist/tool-groups-5pgmtTmE.d.ts.map +1 -0
- package/dist/{tool-waste-BqSmmPUz.js → tool-waste-DWSohyd3.js} +2 -2
- package/dist/{tool-waste-BqSmmPUz.js.map → tool-waste-DWSohyd3.js.map} +1 -1
- package/dist/{trace-questions-DI42jXPj.d.ts → trace-questions-ETZDn5ax.d.ts} +3 -3
- package/dist/{trace-questions-DI42jXPj.d.ts.map → trace-questions-ETZDn5ax.d.ts.map} +1 -1
- package/dist/trace-repair/index.d.ts +2 -2
- package/dist/trace-repair/index.js +1 -1
- package/dist/traces.d.ts +4 -4
- package/dist/training-admission-xaDOlQ_U.d.ts +31 -0
- package/dist/training-admission-xaDOlQ_U.d.ts.map +1 -0
- package/dist/{tree-D2cNtu9m.js → tree-DA_WI1aV.js} +5 -5
- package/dist/{tree-D2cNtu9m.js.map → tree-DA_WI1aV.js.map} +1 -1
- package/dist/{types-DbGSC2No.d.ts → types-Dtt11Ppr.d.ts} +2 -2
- package/dist/{types-DbGSC2No.d.ts.map → types-Dtt11Ppr.d.ts.map} +1 -1
- package/dist/{types-CLGrB4Sv.d.ts → types-_dfu6Ox2.d.ts} +4 -4
- package/dist/{types-CLGrB4Sv.d.ts.map → types-_dfu6Ox2.d.ts.map} +1 -1
- package/dist/{types-ByrbgALT.d.ts → types-qJwFZTqa.d.ts} +7 -6
- package/dist/types-qJwFZTqa.d.ts.map +1 -0
- package/dist/{types-CEgIBy0W.d.ts → types-rf0yhJmW.d.ts} +3 -3
- package/dist/{types-CEgIBy0W.d.ts.map → types-rf0yhJmW.d.ts.map} +1 -1
- package/dist/wire/index.d.ts +1 -1
- package/docs/adopt-stack.md +2 -0
- package/docs/concepts.md +4 -1
- package/docs/design/statistics-decisions.md +17 -0
- package/docs/rollout.md +124 -4
- package/docs/search-ledger.md +18 -1
- package/docs/trace-analysis.md +11 -3
- package/package.json +3 -3
- package/dist/agent-profile-cell-3kYxUsK2.d.ts.map +0 -1
- package/dist/analyze-runs-BaziIw93.d.ts.map +0 -1
- package/dist/benchmark-command-DRAHkn4D.js.map +0 -1
- package/dist/exporters-BKZLt1Px.js.map +0 -1
- package/dist/exporters-dQKYD_Zo.d.ts +0 -159
- package/dist/exporters-dQKYD_Zo.d.ts.map +0 -1
- package/dist/failure-cluster-DOoa7CBg.d.ts.map +0 -1
- package/dist/hf-dataset-Bv114tzB.js.map +0 -1
- package/dist/index-BI9ecONy.d.ts.map +0 -1
- package/dist/index-BriU7rfL.d.ts.map +0 -1
- package/dist/index-C8a9Dyan.d.ts.map +0 -1
- package/dist/index-D-0mg-eu.d.ts.map +0 -1
- package/dist/index-DHWFYUVW.d.ts.map +0 -1
- package/dist/index-VSN1IZQp.d.ts.map +0 -1
- package/dist/journal-CTX5uK-n.js.map +0 -1
- package/dist/llm-judge-DzAT7Wka.js.map +0 -1
- package/dist/mint-Ck92efNo.js.map +0 -1
- package/dist/pareto-UzjB3ZBk.js.map +0 -1
- package/dist/reward-ap_R9mCH.d.ts +0 -53
- package/dist/reward-ap_R9mCH.d.ts.map +0 -1
- package/dist/rollout-nodes-DhSPJ2X7.js.map +0 -1
- package/dist/schema-ChIZfnqY.js.map +0 -1
- package/dist/schema-PDKQ_iNE.d.ts.map +0 -1
- package/dist/search-kernel-C4XnLKIW.d.ts.map +0 -1
- package/dist/statistics-CvvC-MPv.js.map +0 -1
- package/dist/summary-report-9kwI6jFQ.d.ts.map +0 -1
- package/dist/tool-groups-Bcasvncd.d.ts.map +0 -1
- package/dist/types-ByrbgALT.d.ts.map +0 -1
|
@@ -1,61 +1,234 @@
|
|
|
1
1
|
import { t as CostLedger } from "./cost-ledger-Czro9wmo.js";
|
|
2
|
-
import { a as RunRecord } from "./run-record-
|
|
2
|
+
import { a as RunRecord } from "./run-record-hti3ETmO.js";
|
|
3
3
|
import { A as SearchLedgerHash, C as SearchEdgeOperator, E as SearchExecutionIdentity, G as SearchSplit, H as SearchProposerKind, I as SearchNodeStatus, L as SearchOpenedEvent, N as SearchNodeDecision, O as SearchLedgerEntry, P as SearchNodeRef, Q as SearchTaskOutcome, R as SearchOperationKind, S as SearchEdgeAttribution, T as SearchEstimateMethod, U as SearchReservation, V as SearchProposer, W as SearchSourceRef, Y as SearchSurfaceEvidence, Z as SearchTask, _ as SearchClaimPower, a as SearchAttemptAccounting, et as SearchTraceRef, i as SearchArtifactRef, j as SearchModelIdentity, k as SearchLedgerEvent, l as SearchCandidateSurface, m as SearchClaim, nt as EvaluationClaim, o as SearchAudit, p as SearchCellStage, t as NodeEstimate, tt as SearchUnknown, y as SearchCloseReason, z as SearchOperationRecordedEvent } from "./search-ledger-types-qiYRUo_N.js";
|
|
4
4
|
import { C as LedgerTrustedHead, v as LedgerLineContext, w as LedgerTrustedHeadRemoval, x as LedgerTextStore } from "./index-lRKqfyg4.js";
|
|
5
|
-
import { X as SearchStateView, dt as SearchUnitScore, j as MutableSurface, lt as SearchScoredCell, st as SearchNode } from "./types-
|
|
6
|
-
import { a as PairedPromotionDecision } from "./paired-promotion-decision-
|
|
5
|
+
import { X as SearchStateView, dt as SearchUnitScore, j as MutableSurface, lt as SearchScoredCell, st as SearchNode } from "./types-qJwFZTqa.js";
|
|
6
|
+
import { a as PairedPromotionDecision } from "./paired-promotion-decision-BBSxTo-h.js";
|
|
7
|
+
/** One cell an allocator wants for a node. */
|
|
8
|
+
interface SearchCellPlan {
|
|
9
|
+
taskId: string;
|
|
10
|
+
split: SearchSplit;
|
|
11
|
+
rep: number;
|
|
12
|
+
stage: SearchCellStage;
|
|
13
|
+
}
|
|
14
|
+
/** What an allocator reads when it decides. */
|
|
15
|
+
interface SearchAllocationView {
|
|
16
|
+
readonly state: SearchStateView;
|
|
17
|
+
/** True when no cell allocated to the node can still run: each one ended
|
|
18
|
+
* scored, failed, cancelled or out of attempts. */
|
|
19
|
+
idle(nodeId: string): boolean;
|
|
20
|
+
}
|
|
21
|
+
/** A rank decision an allocator asks the kernel to record. */
|
|
22
|
+
interface SearchRungDecision {
|
|
23
|
+
nodeId: string;
|
|
24
|
+
decision: {
|
|
25
|
+
status: 'advanced';
|
|
26
|
+
rung: number;
|
|
27
|
+
} | {
|
|
28
|
+
status: 'pruned';
|
|
29
|
+
};
|
|
30
|
+
/** The node against the root on the ranked split, as it stood at the decision. */
|
|
31
|
+
basis: NodeEstimate | null;
|
|
32
|
+
rule: string;
|
|
33
|
+
reason: string;
|
|
34
|
+
}
|
|
35
|
+
interface SearchAllocator {
|
|
36
|
+
/** Recorded as the search's `policy.allocation`. */
|
|
37
|
+
readonly name: string;
|
|
38
|
+
/** Repeats of each task. The claim runs its test cells at the same repeats. */
|
|
39
|
+
readonly reps: number;
|
|
40
|
+
/** Every cell the node needs through `rung`. The kernel allocates the ones
|
|
41
|
+
* missing; a node that was never advanced is at rung 0. */
|
|
42
|
+
plan(state: SearchStateView, nodeId: string, rung: number): SearchCellPlan[];
|
|
43
|
+
/** Cells a newly admitted node's screen allocates, so the kernel can price an
|
|
44
|
+
* expansion against the budget before the proposer runs. */
|
|
45
|
+
screenSize(state: SearchStateView): number;
|
|
46
|
+
/** Nodes the evidence now moves to a further rung, deepest rung first. The
|
|
47
|
+
* kernel records each one the budget admits and allocates its rung. */
|
|
48
|
+
advance(view: SearchAllocationView): SearchRungDecision[];
|
|
49
|
+
/** At close: nodes left waiting below the top rung, decided `pruned` with
|
|
50
|
+
* their rank. `keep`, the node the search keeps, is never pruned. */
|
|
51
|
+
prune(view: SearchAllocationView, keep: string): SearchRungDecision[];
|
|
52
|
+
}
|
|
7
53
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
54
|
+
* Every node gets every train and selection task at every repeat: the root as
|
|
55
|
+
* `root` cells, every other node as `train` cells (the proposer's feedback) and
|
|
56
|
+
* `screen` cells (the policy's private evidence). This is the fixed plan the
|
|
57
|
+
* generation loop ran and GEPA runs. It has one rung, so it never advances or
|
|
58
|
+
* prunes a node.
|
|
59
|
+
*/
|
|
60
|
+
declare function uniform(options?: {
|
|
61
|
+
reps?: number;
|
|
62
|
+
}): SearchAllocator;
|
|
63
|
+
interface AshaOptions {
|
|
64
|
+
/** Units of the first rung. Default 6, `minimumPairsForPairedDeltaTest(0.95)`:
|
|
65
|
+
* the fewest shared units a paired contrast needs, so every screened edge
|
|
66
|
+
* gets one. */
|
|
67
|
+
units?: number;
|
|
68
|
+
/** Reduction factor: a node advances when it ranks in the top 1/eta of the
|
|
69
|
+
* nodes that finished its rung. Default 3. */
|
|
70
|
+
eta?: number;
|
|
71
|
+
/** Train units every non-root node also runs, as the proposer's feedback.
|
|
72
|
+
* They never enter a rank. Default 2. */
|
|
73
|
+
trainUnits?: number;
|
|
74
|
+
/** Repeats per task. Default 1. */
|
|
75
|
+
reps?: number;
|
|
76
|
+
/** How a rung beyond the first chooses the units it adds. Default: the
|
|
77
|
+
* next units of the seeded permutation. */
|
|
78
|
+
extend?: SearchUnitExtension;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* How `asha` chooses the units a rung adds beyond the rung below it, for
|
|
82
|
+
* example the units that best separate the current leaders
|
|
83
|
+
* (`nextUnitExtension` in `search/lenses`). A rung's units are chosen once,
|
|
84
|
+
* when the first `advanced` decision opens the rung, and read back from that
|
|
85
|
+
* point of the ledger afterwards, so every node at the rung runs the same
|
|
86
|
+
* units and a replayed or resumed search derives the same plan.
|
|
87
|
+
*/
|
|
88
|
+
interface SearchUnitExtension {
|
|
89
|
+
/** Recorded inside the allocator's name, so the ledger names it. */
|
|
90
|
+
readonly name: string;
|
|
91
|
+
/**
|
|
92
|
+
* Up to `count` units of `remaining`, best first. The chooser must read
|
|
93
|
+
* only evidence the ledger held at `asOfSequence` (the decision that opened
|
|
94
|
+
* the rung). Units it does not name are filled from the seeded order.
|
|
95
|
+
*/
|
|
96
|
+
choose(input: {
|
|
97
|
+
state: SearchStateView;
|
|
98
|
+
asOfSequence: number;
|
|
99
|
+
split: 'selection' | 'train';
|
|
100
|
+
rung: number;
|
|
101
|
+
/** Units of the rungs below, in rung order. */
|
|
102
|
+
measured: readonly string[];
|
|
103
|
+
remaining: readonly string[];
|
|
104
|
+
count: number;
|
|
105
|
+
}): readonly string[];
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Asynchronous successive halving (Li et al., 2020) over one seeded
|
|
109
|
+
* permutation of the ranked split's units, fixed by the search's seed.
|
|
10
110
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* still produces its `CampaignResult` (cells + aggregates) in memory;
|
|
17
|
-
* artifacts/traces simply aren't persisted to disk.
|
|
111
|
+
* Rung k is the first `units × 2^k` units of the permutation; the top rung is
|
|
112
|
+
* every unit. The root runs every unit before anything else, so every rung
|
|
113
|
+
* pairs against it. A new node screens on rung 0 plus `trainUnits` train
|
|
114
|
+
* units. Every node at a rung runs the same units as its parent, the root and
|
|
115
|
+
* its siblings, so every contrast pairs.
|
|
18
116
|
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
117
|
+
* A node that finished rung k advances once it ranks in the top
|
|
118
|
+
* floor(n / eta) of the n nodes that finished rung k, the root included, by
|
|
119
|
+
* mean over the rung's units; a node with an unscored unit ranks last and
|
|
120
|
+
* never advances. There is no barrier: a node outside the top waits, because
|
|
121
|
+
* the set grows as more nodes finish. At close a waiting node is pruned with
|
|
122
|
+
* its rank. The ranked split is selection, or train when a search declares no
|
|
123
|
+
* selection split, as the policy's.
|
|
21
124
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
125
|
+
declare function asha(options?: AshaOptions): SearchAllocator;
|
|
126
|
+
/** The claim procedure every `SearchClaim` and claim plan names. */
|
|
127
|
+
declare const SEARCH_CLAIM_RULE: SearchSourceRef;
|
|
128
|
+
/**
|
|
129
|
+
* The claim reserve a search needs: the root and 3 finalists on every test
|
|
130
|
+
* task at `reps` repeats, each held at `cellUsd`. Declare at least this as
|
|
131
|
+
* `budget.reservedClaimUsd`; `runSearch` refuses to start a capped search
|
|
132
|
+
* with less.
|
|
133
|
+
*/
|
|
134
|
+
declare function searchClaimReserveUsd(input: {
|
|
135
|
+
testTasks: number;
|
|
136
|
+
reps: number;
|
|
137
|
+
cellUsd: number;
|
|
138
|
+
}): number;
|
|
139
|
+
/**
|
|
140
|
+
* The claim's design, fixed before any test cell runs, and stored as the
|
|
141
|
+
* `claim-plan` artifact of the ledger's `claim` operation.
|
|
142
|
+
*/
|
|
143
|
+
interface SearchClaimPlan {
|
|
144
|
+
kind: 'search-claim-plan';
|
|
145
|
+
rule: SearchSourceRef;
|
|
146
|
+
/** Why expansion stopped; the search closes with this reason. */
|
|
147
|
+
stopReason: SearchCloseReason;
|
|
148
|
+
/** Best first. Every one is decided `finalist` and named by the claim. */
|
|
149
|
+
finalists: Array<{
|
|
150
|
+
nodeId: string;
|
|
151
|
+
selectionMean: number;
|
|
152
|
+
}>;
|
|
153
|
+
power: SearchClaimPower;
|
|
154
|
+
/** `run`: the root and the finalists run every test task. Otherwise the
|
|
155
|
+
* claim closes with this decision and spends nothing on test cells. */
|
|
156
|
+
test: 'run' | 'hold' | 'test-cannot-resolve';
|
|
157
|
+
reason: string;
|
|
38
158
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
159
|
+
interface PlanSearchClaimInput {
|
|
160
|
+
stopReason: SearchCloseReason;
|
|
161
|
+
/** Repeats per test task. */
|
|
162
|
+
reps: number;
|
|
163
|
+
/** Whether the budget admits the test cells of the root and `finalists`. */
|
|
164
|
+
affordable(finalists: number): boolean;
|
|
165
|
+
}
|
|
166
|
+
/** Fix the claim's design from a search that stopped expanding. */
|
|
167
|
+
declare function planSearchClaim(state: SearchStateView, input: PlanSearchClaimInput): SearchClaimPlan;
|
|
168
|
+
/** A node decision the claim makes, ready for `recorder.decideNode`. */
|
|
169
|
+
interface SearchClaimDecision {
|
|
170
|
+
nodeId: string;
|
|
171
|
+
decision: SearchNodeDecision;
|
|
172
|
+
basis: NodeEstimate | null;
|
|
173
|
+
rule: string;
|
|
174
|
+
reason: string;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Decide the claim from the test cells of the root and the finalists. Call it
|
|
178
|
+
* once every claim cell is settled or cancelled. It returns the claim and the
|
|
179
|
+
* terminal decisions of the root and every finalist.
|
|
180
|
+
*/
|
|
181
|
+
declare function decideSearchClaim(state: SearchStateView, plan: SearchClaimPlan): {
|
|
182
|
+
claim: SearchClaim;
|
|
183
|
+
decisions: SearchClaimDecision[];
|
|
184
|
+
};
|
|
185
|
+
/** Whether a closed search's claim is the one its own ledger supports. */
|
|
186
|
+
type SearchClaimVerification = {
|
|
187
|
+
status: 'verified';
|
|
188
|
+
} |
|
|
189
|
+
/** The claim differs from the one the claim rule makes from the ledger. */
|
|
190
|
+
{
|
|
191
|
+
status: 'mismatch';
|
|
192
|
+
differences: string[];
|
|
193
|
+
} |
|
|
194
|
+
/** The claim names a rule revision this code does not implement, so this
|
|
195
|
+
* code can neither confirm nor refute it. */
|
|
196
|
+
{
|
|
197
|
+
status: 'unknown';
|
|
198
|
+
reason: string;
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* Make a closed search's claim again from its ledger alone and compare it with
|
|
202
|
+
* the recorded one, byte for byte: the power check, the finalists, each
|
|
203
|
+
* finalist's test estimate and deciding interval, the selection, the decision
|
|
204
|
+
* and the reason. A producer's claim is not evidence until this holds; a store
|
|
205
|
+
* keeps what this function derives, not what the producer wrote.
|
|
42
206
|
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
207
|
+
* It needs no blob, so it works on a store that keeps digests only. The
|
|
208
|
+
* finalists are the nodes the ledger decided `finalist`, in decision order.
|
|
209
|
+
* The one input the ledger cannot replay is whether the budget covered k
|
|
210
|
+
* finalists' test cells; the claim cells that ran answer it (none ran: the
|
|
211
|
+
* budget covered none). Test repeats come from the claim cells too; without
|
|
212
|
+
* test cells, the recorded estimator stands for them (binary needs one repeat,
|
|
213
|
+
* so any other count reproduces continuous).
|
|
214
|
+
*
|
|
215
|
+
* Returns null for a search that made no claim.
|
|
216
|
+
*/
|
|
217
|
+
declare function verifySearchClaim(state: SearchStateView): SearchClaimVerification | null;
|
|
218
|
+
/**
|
|
219
|
+
* The paired decision a closed search's claim made for one finalist it
|
|
220
|
+
* tested: `decidePairedPromotion` on per-unit test means with the root as
|
|
221
|
+
* control, in the objective's direction (its `delta` is the improvement), at
|
|
222
|
+
* the finalist's Bonferroni confidence, with the claim's estimator, resamples
|
|
223
|
+
* and seed. A consumer cites it with the claim as the evidence that promoted
|
|
224
|
+
* the finalist, instead of deciding a second time from the same cells.
|
|
225
|
+
*
|
|
226
|
+
* It is made again from the ledger alone and must reproduce the claim's
|
|
227
|
+
* recorded test for the finalist byte for byte; it throws when it does not,
|
|
228
|
+
* when the search is open, and when the claim names a rule revision this code
|
|
229
|
+
* does not implement. Returns null when the claim tested no such finalist.
|
|
230
|
+
*/
|
|
231
|
+
declare function searchClaimDecision(state: SearchStateView, nodeId: string): PairedPromotionDecision | null;
|
|
59
232
|
/** Validate and return a canonical copy. Arrays whose order carries no meaning
|
|
60
233
|
* are sorted, so retries from different processes produce identical bytes. */
|
|
61
234
|
declare function validateSearchLedgerEvent(input: unknown): SearchLedgerEvent;
|
|
@@ -135,6 +308,58 @@ declare class FileSearchLedger implements SearchLedger {
|
|
|
135
308
|
pinTrustedHead(): Promise<LedgerTrustedHead>;
|
|
136
309
|
clearTrustedHead(): Promise<LedgerTrustedHeadRemoval>;
|
|
137
310
|
}
|
|
311
|
+
/**
|
|
312
|
+
* `CampaignStorage` — the filesystem seam `runCampaign` writes through
|
|
313
|
+
* (run/cell dirs, the resumability cache, per-cell artifacts, trace spans).
|
|
314
|
+
*
|
|
315
|
+
* The default (`fsCampaignStorage`) is the Node filesystem — identical
|
|
316
|
+
* behavior to the inline `node:fs` calls it replaces, so existing CLI
|
|
317
|
+
* consumers are unaffected. `inMemoryCampaignStorage` keeps everything in a
|
|
318
|
+
* `Map`, so the substrate runs in environments WITHOUT a filesystem
|
|
319
|
+
* (Cloudflare Workers, Deno Deploy, other edge runtimes) — the campaign
|
|
320
|
+
* still produces its `CampaignResult` (cells + aggregates) in memory;
|
|
321
|
+
* artifacts/traces simply aren't persisted to disk.
|
|
322
|
+
*
|
|
323
|
+
* Paths are opaque keys to the in-memory adapter — it does not parse them,
|
|
324
|
+
* so the same `join(...)`-built paths work unchanged across both adapters.
|
|
325
|
+
*/
|
|
326
|
+
interface CampaignStorage {
|
|
327
|
+
/** `filesystem` for the Node filesystem, whose paths durable journals such
|
|
328
|
+
* as the search ledger may open directly; any other storage keeps those
|
|
329
|
+
* journals in itself. */
|
|
330
|
+
readonly kind?: 'filesystem' | 'memory';
|
|
331
|
+
/** Ensure a directory exists (recursive). No-op for in-memory. */
|
|
332
|
+
ensureDir(dir: string): void;
|
|
333
|
+
/** Does this path exist (as a written file or an ensured dir)? */
|
|
334
|
+
exists(path: string): boolean;
|
|
335
|
+
/** Read a UTF-8 file; `undefined` when missing or unreadable. */
|
|
336
|
+
read(path: string): string | undefined;
|
|
337
|
+
/** Write a file (string or bytes). Parent dir is assumed ensured. */
|
|
338
|
+
write(path: string, content: string | Uint8Array): void;
|
|
339
|
+
/** Append only when the current UTF-8 byte length matches `expectedBytes`.
|
|
340
|
+
* Returns the new length, or undefined when another writer won. */
|
|
341
|
+
append(path: string, content: string, expectedBytes: number): number | undefined;
|
|
342
|
+
}
|
|
343
|
+
/** Node-filesystem storage — the default. Lazily requires `node:fs` so the
|
|
344
|
+
* module imports cleanly in non-Node runtimes (where the caller passes
|
|
345
|
+
* `inMemoryCampaignStorage` instead and never constructs this).
|
|
346
|
+
*
|
|
347
|
+
* `createRequire(import.meta.url)` is the ESM-native lazy require — a bare
|
|
348
|
+
* `require` is a ReferenceError under `"type": "module"`, which is exactly
|
|
349
|
+
* the shape this package publishes. */
|
|
350
|
+
declare function fsCampaignStorage(): CampaignStorage;
|
|
351
|
+
/** In-memory storage for filesystem-less runtimes. Artifacts + trace spans
|
|
352
|
+
* live in a `Map` for the duration of the run; the `CampaignResult` is
|
|
353
|
+
* fully populated, but nothing is persisted to disk. */
|
|
354
|
+
declare function inMemoryCampaignStorage(): CampaignStorage;
|
|
355
|
+
/** Open the durable spend account stored beside a logical run. */
|
|
356
|
+
declare function createRunCostLedger(input: {
|
|
357
|
+
storage: CampaignStorage;
|
|
358
|
+
runDir: string;
|
|
359
|
+
costCeilingUsd?: number;
|
|
360
|
+
/** Set false for read-only inspection that must not create the run directory. */
|
|
361
|
+
ensureRunDir?: boolean;
|
|
362
|
+
}): CostLedger;
|
|
138
363
|
declare const SEARCH_HISTORY_RECEIPT_SCHEMA_VERSION: "2026-09";
|
|
139
364
|
declare const SEARCH_HISTORY_RECEIPT_DIGEST_ALGORITHM: "rfc8785-sha256";
|
|
140
365
|
/** Bounded summary of a search's audit. Exact ids stay in the ledger. */
|
|
@@ -757,231 +982,6 @@ declare function aide(options?: AideOptions): SearchPolicy;
|
|
|
757
982
|
declare function beam(options: {
|
|
758
983
|
width: number;
|
|
759
984
|
}): SearchPolicy;
|
|
760
|
-
/** One cell an allocator wants for a node. */
|
|
761
|
-
interface SearchCellPlan {
|
|
762
|
-
taskId: string;
|
|
763
|
-
split: SearchSplit;
|
|
764
|
-
rep: number;
|
|
765
|
-
stage: SearchCellStage;
|
|
766
|
-
}
|
|
767
|
-
/** What an allocator reads when it decides. */
|
|
768
|
-
interface SearchAllocationView {
|
|
769
|
-
readonly state: SearchStateView;
|
|
770
|
-
/** True when no cell allocated to the node can still run: each one ended
|
|
771
|
-
* scored, failed, cancelled or out of attempts. */
|
|
772
|
-
idle(nodeId: string): boolean;
|
|
773
|
-
}
|
|
774
|
-
/** A rank decision an allocator asks the kernel to record. */
|
|
775
|
-
interface SearchRungDecision {
|
|
776
|
-
nodeId: string;
|
|
777
|
-
decision: {
|
|
778
|
-
status: 'advanced';
|
|
779
|
-
rung: number;
|
|
780
|
-
} | {
|
|
781
|
-
status: 'pruned';
|
|
782
|
-
};
|
|
783
|
-
/** The node against the root on the ranked split, as it stood at the decision. */
|
|
784
|
-
basis: NodeEstimate | null;
|
|
785
|
-
rule: string;
|
|
786
|
-
reason: string;
|
|
787
|
-
}
|
|
788
|
-
interface SearchAllocator {
|
|
789
|
-
/** Recorded as the search's `policy.allocation`. */
|
|
790
|
-
readonly name: string;
|
|
791
|
-
/** Repeats of each task. The claim runs its test cells at the same repeats. */
|
|
792
|
-
readonly reps: number;
|
|
793
|
-
/** Every cell the node needs through `rung`. The kernel allocates the ones
|
|
794
|
-
* missing; a node that was never advanced is at rung 0. */
|
|
795
|
-
plan(state: SearchStateView, nodeId: string, rung: number): SearchCellPlan[];
|
|
796
|
-
/** Cells a newly admitted node's screen allocates, so the kernel can price an
|
|
797
|
-
* expansion against the budget before the proposer runs. */
|
|
798
|
-
screenSize(state: SearchStateView): number;
|
|
799
|
-
/** Nodes the evidence now moves to a further rung, deepest rung first. The
|
|
800
|
-
* kernel records each one the budget admits and allocates its rung. */
|
|
801
|
-
advance(view: SearchAllocationView): SearchRungDecision[];
|
|
802
|
-
/** At close: nodes left waiting below the top rung, decided `pruned` with
|
|
803
|
-
* their rank. `keep`, the node the search keeps, is never pruned. */
|
|
804
|
-
prune(view: SearchAllocationView, keep: string): SearchRungDecision[];
|
|
805
|
-
}
|
|
806
|
-
/**
|
|
807
|
-
* Every node gets every train and selection task at every repeat: the root as
|
|
808
|
-
* `root` cells, every other node as `train` cells (the proposer's feedback) and
|
|
809
|
-
* `screen` cells (the policy's private evidence). This is the fixed plan the
|
|
810
|
-
* generation loop ran and GEPA runs. It has one rung, so it never advances or
|
|
811
|
-
* prunes a node.
|
|
812
|
-
*/
|
|
813
|
-
declare function uniform(options?: {
|
|
814
|
-
reps?: number;
|
|
815
|
-
}): SearchAllocator;
|
|
816
|
-
interface AshaOptions {
|
|
817
|
-
/** Units of the first rung. Default 6, `minimumPairsForPairedDeltaTest(0.95)`:
|
|
818
|
-
* the fewest shared units a paired contrast needs, so every screened edge
|
|
819
|
-
* gets one. */
|
|
820
|
-
units?: number;
|
|
821
|
-
/** Reduction factor: a node advances when it ranks in the top 1/eta of the
|
|
822
|
-
* nodes that finished its rung. Default 3. */
|
|
823
|
-
eta?: number;
|
|
824
|
-
/** Train units every non-root node also runs, as the proposer's feedback.
|
|
825
|
-
* They never enter a rank. Default 2. */
|
|
826
|
-
trainUnits?: number;
|
|
827
|
-
/** Repeats per task. Default 1. */
|
|
828
|
-
reps?: number;
|
|
829
|
-
/** How a rung beyond the first chooses the units it adds. Default: the
|
|
830
|
-
* next units of the seeded permutation. */
|
|
831
|
-
extend?: SearchUnitExtension;
|
|
832
|
-
}
|
|
833
|
-
/**
|
|
834
|
-
* How `asha` chooses the units a rung adds beyond the rung below it, for
|
|
835
|
-
* example the units that best separate the current leaders
|
|
836
|
-
* (`nextUnitExtension` in `search/lenses`). A rung's units are chosen once,
|
|
837
|
-
* when the first `advanced` decision opens the rung, and read back from that
|
|
838
|
-
* point of the ledger afterwards, so every node at the rung runs the same
|
|
839
|
-
* units and a replayed or resumed search derives the same plan.
|
|
840
|
-
*/
|
|
841
|
-
interface SearchUnitExtension {
|
|
842
|
-
/** Recorded inside the allocator's name, so the ledger names it. */
|
|
843
|
-
readonly name: string;
|
|
844
|
-
/**
|
|
845
|
-
* Up to `count` units of `remaining`, best first. The chooser must read
|
|
846
|
-
* only evidence the ledger held at `asOfSequence` (the decision that opened
|
|
847
|
-
* the rung). Units it does not name are filled from the seeded order.
|
|
848
|
-
*/
|
|
849
|
-
choose(input: {
|
|
850
|
-
state: SearchStateView;
|
|
851
|
-
asOfSequence: number;
|
|
852
|
-
split: 'selection' | 'train';
|
|
853
|
-
rung: number;
|
|
854
|
-
/** Units of the rungs below, in rung order. */
|
|
855
|
-
measured: readonly string[];
|
|
856
|
-
remaining: readonly string[];
|
|
857
|
-
count: number;
|
|
858
|
-
}): readonly string[];
|
|
859
|
-
}
|
|
860
|
-
/**
|
|
861
|
-
* Asynchronous successive halving (Li et al., 2020) over one seeded
|
|
862
|
-
* permutation of the ranked split's units, fixed by the search's seed.
|
|
863
|
-
*
|
|
864
|
-
* Rung k is the first `units × 2^k` units of the permutation; the top rung is
|
|
865
|
-
* every unit. The root runs every unit before anything else, so every rung
|
|
866
|
-
* pairs against it. A new node screens on rung 0 plus `trainUnits` train
|
|
867
|
-
* units. Every node at a rung runs the same units as its parent, the root and
|
|
868
|
-
* its siblings, so every contrast pairs.
|
|
869
|
-
*
|
|
870
|
-
* A node that finished rung k advances once it ranks in the top
|
|
871
|
-
* floor(n / eta) of the n nodes that finished rung k, the root included, by
|
|
872
|
-
* mean over the rung's units; a node with an unscored unit ranks last and
|
|
873
|
-
* never advances. There is no barrier: a node outside the top waits, because
|
|
874
|
-
* the set grows as more nodes finish. At close a waiting node is pruned with
|
|
875
|
-
* its rank. The ranked split is selection, or train when a search declares no
|
|
876
|
-
* selection split, as the policy's.
|
|
877
|
-
*/
|
|
878
|
-
declare function asha(options?: AshaOptions): SearchAllocator;
|
|
879
|
-
/** The claim procedure every `SearchClaim` and claim plan names. */
|
|
880
|
-
declare const SEARCH_CLAIM_RULE: SearchSourceRef;
|
|
881
|
-
/**
|
|
882
|
-
* The claim reserve a search needs: the root and 3 finalists on every test
|
|
883
|
-
* task at `reps` repeats, each held at `cellUsd`. Declare at least this as
|
|
884
|
-
* `budget.reservedClaimUsd`; `runSearch` refuses to start a capped search
|
|
885
|
-
* with less.
|
|
886
|
-
*/
|
|
887
|
-
declare function searchClaimReserveUsd(input: {
|
|
888
|
-
testTasks: number;
|
|
889
|
-
reps: number;
|
|
890
|
-
cellUsd: number;
|
|
891
|
-
}): number;
|
|
892
|
-
/**
|
|
893
|
-
* The claim's design, fixed before any test cell runs, and stored as the
|
|
894
|
-
* `claim-plan` artifact of the ledger's `claim` operation.
|
|
895
|
-
*/
|
|
896
|
-
interface SearchClaimPlan {
|
|
897
|
-
kind: 'search-claim-plan';
|
|
898
|
-
rule: SearchSourceRef;
|
|
899
|
-
/** Why expansion stopped; the search closes with this reason. */
|
|
900
|
-
stopReason: SearchCloseReason;
|
|
901
|
-
/** Best first. Every one is decided `finalist` and named by the claim. */
|
|
902
|
-
finalists: Array<{
|
|
903
|
-
nodeId: string;
|
|
904
|
-
selectionMean: number;
|
|
905
|
-
}>;
|
|
906
|
-
power: SearchClaimPower;
|
|
907
|
-
/** `run`: the root and the finalists run every test task. Otherwise the
|
|
908
|
-
* claim closes with this decision and spends nothing on test cells. */
|
|
909
|
-
test: 'run' | 'hold' | 'test-cannot-resolve';
|
|
910
|
-
reason: string;
|
|
911
|
-
}
|
|
912
|
-
interface PlanSearchClaimInput {
|
|
913
|
-
stopReason: SearchCloseReason;
|
|
914
|
-
/** Repeats per test task. */
|
|
915
|
-
reps: number;
|
|
916
|
-
/** Whether the budget admits the test cells of the root and `finalists`. */
|
|
917
|
-
affordable(finalists: number): boolean;
|
|
918
|
-
}
|
|
919
|
-
/** Fix the claim's design from a search that stopped expanding. */
|
|
920
|
-
declare function planSearchClaim(state: SearchStateView, input: PlanSearchClaimInput): SearchClaimPlan;
|
|
921
|
-
/** A node decision the claim makes, ready for `recorder.decideNode`. */
|
|
922
|
-
interface SearchClaimDecision {
|
|
923
|
-
nodeId: string;
|
|
924
|
-
decision: SearchNodeDecision;
|
|
925
|
-
basis: NodeEstimate | null;
|
|
926
|
-
rule: string;
|
|
927
|
-
reason: string;
|
|
928
|
-
}
|
|
929
|
-
/**
|
|
930
|
-
* Decide the claim from the test cells of the root and the finalists. Call it
|
|
931
|
-
* once every claim cell is settled or cancelled. It returns the claim and the
|
|
932
|
-
* terminal decisions of the root and every finalist.
|
|
933
|
-
*/
|
|
934
|
-
declare function decideSearchClaim(state: SearchStateView, plan: SearchClaimPlan): {
|
|
935
|
-
claim: SearchClaim;
|
|
936
|
-
decisions: SearchClaimDecision[];
|
|
937
|
-
};
|
|
938
|
-
/** Whether a closed search's claim is the one its own ledger supports. */
|
|
939
|
-
type SearchClaimVerification = {
|
|
940
|
-
status: 'verified';
|
|
941
|
-
} |
|
|
942
|
-
/** The claim differs from the one the claim rule makes from the ledger. */
|
|
943
|
-
{
|
|
944
|
-
status: 'mismatch';
|
|
945
|
-
differences: string[];
|
|
946
|
-
} |
|
|
947
|
-
/** The claim names a rule revision this code does not implement, so this
|
|
948
|
-
* code can neither confirm nor refute it. */
|
|
949
|
-
{
|
|
950
|
-
status: 'unknown';
|
|
951
|
-
reason: string;
|
|
952
|
-
};
|
|
953
|
-
/**
|
|
954
|
-
* Make a closed search's claim again from its ledger alone and compare it with
|
|
955
|
-
* the recorded one, byte for byte: the power check, the finalists, each
|
|
956
|
-
* finalist's test estimate and deciding interval, the selection, the decision
|
|
957
|
-
* and the reason. A producer's claim is not evidence until this holds; a store
|
|
958
|
-
* keeps what this function derives, not what the producer wrote.
|
|
959
|
-
*
|
|
960
|
-
* It needs no blob, so it works on a store that keeps digests only. The
|
|
961
|
-
* finalists are the nodes the ledger decided `finalist`, in decision order.
|
|
962
|
-
* The one input the ledger cannot replay is whether the budget covered k
|
|
963
|
-
* finalists' test cells; the claim cells that ran answer it (none ran: the
|
|
964
|
-
* budget covered none). Test repeats come from the claim cells too; without
|
|
965
|
-
* test cells, the recorded estimator stands for them (binary needs one repeat,
|
|
966
|
-
* so any other count reproduces continuous).
|
|
967
|
-
*
|
|
968
|
-
* Returns null for a search that made no claim.
|
|
969
|
-
*/
|
|
970
|
-
declare function verifySearchClaim(state: SearchStateView): SearchClaimVerification | null;
|
|
971
|
-
/**
|
|
972
|
-
* The paired decision a closed search's claim made for one finalist it
|
|
973
|
-
* tested: `decidePairedPromotion` on per-unit test means with the root as
|
|
974
|
-
* control, in the objective's direction (its `delta` is the improvement), at
|
|
975
|
-
* the finalist's Bonferroni confidence, with the claim's estimator, resamples
|
|
976
|
-
* and seed. A consumer cites it with the claim as the evidence that promoted
|
|
977
|
-
* the finalist, instead of deciding a second time from the same cells.
|
|
978
|
-
*
|
|
979
|
-
* It is made again from the ledger alone and must reproduce the claim's
|
|
980
|
-
* recorded test for the finalist byte for byte; it throws when it does not,
|
|
981
|
-
* when the search is open, and when the claim names a rule revision this code
|
|
982
|
-
* does not implement. Returns null when the claim tested no such finalist.
|
|
983
|
-
*/
|
|
984
|
-
declare function searchClaimDecision(state: SearchStateView, nodeId: string): PairedPromotionDecision | null;
|
|
985
985
|
/** An execution lane: a pool of slots whose cells share a cost rule. */
|
|
986
986
|
interface SearchLane {
|
|
987
987
|
name: string;
|
|
@@ -1103,6 +1103,17 @@ interface RunSearchOptions<TArtifact> {
|
|
|
1103
1103
|
* recorded, the ledger stays open, and the call rejects. Run the kernel on
|
|
1104
1104
|
* the same ledger again to continue. */
|
|
1105
1105
|
signal?: AbortSignal;
|
|
1106
|
+
/** Record or refuse final-evidence exposure after the claim is sealed, before
|
|
1107
|
+
* any test allocation or resumed dispatch. Receives detached values. Must be
|
|
1108
|
+
* idempotent for the same durable claim when an interrupted search resumes. */
|
|
1109
|
+
beforeClaim?: (input: {
|
|
1110
|
+
searchId: string;
|
|
1111
|
+
claim: SearchOpenedEvent['objective']['claim'];
|
|
1112
|
+
plan: Readonly<SearchClaimPlan>;
|
|
1113
|
+
/** Baseline first, followed by the sealed finalist roster. */
|
|
1114
|
+
candidateDigests: readonly SearchLedgerHash[];
|
|
1115
|
+
tasks: readonly SearchTask[];
|
|
1116
|
+
}) => Promise<void>;
|
|
1106
1117
|
/** Milliseconds since the epoch, for the deadline. Default `Date.now`. */
|
|
1107
1118
|
now?: () => number;
|
|
1108
1119
|
}
|
|
@@ -1165,5 +1176,5 @@ declare function searchDivergence(state: SearchStateView, nodeId: string): {
|
|
|
1165
1176
|
} | null;
|
|
1166
1177
|
/** Run a search to its close, or continue one from its ledger. */
|
|
1167
1178
|
declare function runSearch<TArtifact>(options: RunSearchOptions<TArtifact>): Promise<SearchRunResult>;
|
|
1168
|
-
export {
|
|
1169
|
-
//# sourceMappingURL=search-kernel-
|
|
1179
|
+
export { SearchRecorderOptions as $, estimateNode as A, PlanSearchClaimInput as At, OperatorYieldRow as B, AshaOptions as Bt, crowdedFrontierParent as C, SearchLedger as Ct, NodePosterior as D, parseSearchLedgerLine as Dt, EstimateNodeCellsInput as E, openSearchLedger as Et, ExpansionOperator as F, decideSearchClaim as Ft, LensSignal as G, SearchUnitExtension as Gt, operatorYield as H, SearchAllocator as Ht, MIN_OUTCOMES_FOR_WEIGHT as I, planSearchClaim as It, RecordSearchEdgeInput as J, summarizeSamples as K, asha as Kt, OperatorOutcomeCounts as L, searchClaimDecision as Lt, searchCellSetDigest as M, SearchClaimDecision as Mt, searchEstimateMethod as N, SearchClaimPlan as Nt, SEARCH_ESTIMATOR as O, replaySearchLedgerText as Ot, searchPosterior as P, SearchClaimVerification as Pt, SearchRecorder as Q, OperatorYieldData as R, searchClaimReserveUsd as Rt, beam as S, OpenSearchLedgerOptions as St, incumbentWithOperatorBandit as T, SearchLedgerTrustedHeadMode as Tt, LensResult as U, SearchCellPlan as Ut, OperatorYieldSignal as V, SearchAllocationView as Vt, LensSampleSummary as W, SearchRungDecision as Wt, SearchLedgerBinding as X, RegisterSearchNodeInput as Y, SearchOpening as Z, SearchExpansion as _, CampaignStorage as _t, SearchArtifactCodec as a, surfaceNode as at, SearchPolicyView as b, inMemoryCampaignStorage as bt, SearchExecutor as c, SearchHistoryAuditSummary as ct, SearchProposalRequest as d, SearchHistoryPolicy as dt, SearchRunIdentity as et, SearchProposalResult as f, SearchHistoryReceipt as ft, AideOptions as g, verifySearchHistoryReceipt as gt, SearchRunResult as h, verifySearchHistoryArtifact as ht, RunSearchOptions as i, surfaceDiff as it, estimateNodeFromCells as j, SEARCH_CLAIM_RULE as jt, SearchPosterior as k, validateSearchLedgerEvent as kt, SearchLane as l, SearchHistoryCoverage as lt, SearchProposerPort as m, createSearchHistoryReceipt as mt, searchDivergence as n, developmentClaim as nt, SearchCellResult as o, CreateSearchHistoryReceiptInput as ot, SearchProposedChild as p, assertSearchHistoryMatchesState as pt, AllocateSearchCellInput as q, uniform as qt, searchPolicyView as r, searchEdgeId as rt, SearchCellWork as s, SearchHistoryAdmissionOptions as st, runSearch as t, SettleSearchCellInput as tt, SearchProposalBlob as u, SearchHistoryCoverageRow as ut, SearchPolicy as v, createRunCostLedger as vt, incumbent as w, SearchLedgerAppendResult as wt, aide as x, FileSearchLedger as xt, SearchPolicyNode as y, fsCampaignStorage as yt, OperatorYieldOptions as z, verifySearchClaim as zt };
|
|
1180
|
+
//# sourceMappingURL=search-kernel-IpyhPDQd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-kernel-IpyhPDQd.d.ts","names":[],"sources":["../src/campaign/allocation.ts","../src/campaign/search-claim.ts","../src/campaign/search-ledger.ts","../src/campaign/storage.ts","../src/campaign/search-history-receipt.ts","../src/campaign/search-ledger-recording.ts","../src/search/lenses/shared.ts","../src/search/lenses/operator-yield.ts","../src/campaign/estimate-node.ts","../src/campaign/search-policy.ts","../src/campaign/search-kernel-contract.ts","../src/campaign/search-kernel-policy-view.ts","../src/campaign/search-kernel.ts"],"mappings":";;;;;;;UA0BiB;EACf;EACA,OAAO;EACP;EACA,OAAO;;;UAIQ;WACN,OAAO;;;EAGhB,KAAK;;;UAIU;EACf;EACA;IAAY;IAAoB;;IAAmB;;;EAEnD,OAAO;EACP;EACA;;UAGe;;WAEN;;WAEA;;;EAGT,KAAK,OAAO,iBAAiB,gBAAgB,eAAe;;;EAG5D,WAAW,OAAO;;;EAGlB,QAAQ,MAAM,uBAAuB;;;EAGrC,MAAM,MAAM,sBAAsB,eAAe;;;;;;;;;iBAUnC,QAAQ;EAAW;IAAuB;UA8BzC;;;;EAIf;;;EAGA;;;EAGA;;EAEA;;;EAGA,SAAS;;;;;;;;;;UAWM;;WAEN;;;;;;EAMT,OAAO;IACL,OAAO;IACP;IACA;IACA;;IAEA;IACA;IACA;;;;;;;;;;;;;;;;;;;;;iBAsBY,KAAK,UAAS,cAAmB;;cCrFpC,mBAAmB;;;;;;;iBAchB,sBAAsB;EACpC;EACA;EACA;;;;;;UASe;EACf;EACA,MAAM;;EAEN,YAAY;;EAEZ,WAAW;IAAQ;IAAgB;;EACnC,OAAO;;;EAGP;EACA;;UAGe;EACf,YAAY;;EAEZ;;EAEA,WAAW;;;iBAIG,gBACd,OAAO,iBACP,OAAO,uBACN;;UAqGc;EACf;EACA,UAAU;EACV,OAAO;EACP;EACA;;;;;;;iBAQc,kBACd,OAAO,iBACP,MAAM;EACH,OAAO;EAAa,WAAW;;;KA4HxB;EACN;;;;EAEA;EAAoB;;;;;EAGpB;EAAmB;;;;;;;;;;;;;;;;;;;iBAmBT,kBAAkB,OAAO,kBAAkB;;;;;;;;;;;;;;iBAiF3C,oBAC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UAIO,oBAAoB;EACnC,UAAU;EACV;;EAEA;;;EAGA,cAAc,SAAS;;UAGR,qBAAqB;EACpC,UAAU,cAAc,oBAAoB;;EAE5C;;EAEA,YAAY;EACZ,YAAY;;;UAIG,mBAAmB;WACzB;WACA,MAAM;WACN,QAAQ;WACR,WAAW;;WAEX;;;WAGA;EACT,QAAQ,SAAS,sBAAsB,aAAa,QAAQ,qBAAqB;;UAGlE,iBAAiB;;EAEhC,UAAU;;EAEV,MAAM;EACN,OAAO,oBAAoB;EAC3B,QAAQ;EACR,YAAY;EACZ,UAAU,mBAAmB;EAC7B,UAAU,eAAe;;;EAGzB,SAAS,UAAU;;EAEnB;;EAEA;;;;EAIA,SAAS;;;;EAIT,eAAe;IACb;IACA,OAAO;IACP,MAAM,SAAS;;IAEf,2BAA2B;IAC3B,gBAAgB;QACZ;;EAEN;;UAGe;;EAEf,OAAO;;;EAGP;EACA,QAAQ;;EAER,OAAO;;;;EAIP,mBAAmB;;;UAIJ;EACf;EACA,UAAU;EACV;EACA;IAAa;IAAc,UAAU;;EACrC,UAAU;IACR,MAAM;IACN,OAAO,MAAM,oBAAoB;IACjC;IACA;IACA,aAAa,SAAS;IACtB;;;;;;;;;;;iBC9OY,iBACd,OAAO,iBACP;EACE;EACA;EACA;EACA;IAED;;;;;;;;iBA4Fa,iBACd,OAAO,iBACP;EACG,OAAO;EAAc;;;iBCnEJ,UAAU,WAC9B,SAAS,iBAAiB,aACzB,QAAQ"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as hashCanonical, i as compareCodeUnits, r as canonicalString } from "./canonical-CicJlINA.js";
|
|
2
2
|
import { i as modelHasSnapshot, s as searchCellRunId } from "./run-record-DmX_ESC5.js";
|
|
3
|
-
import { n as MemoryLedgerJournal, r as replayLedgerText, t as FileLedgerJournal } from "./journal-
|
|
4
|
-
import "./ledger-core-
|
|
5
|
-
import { a as SearchLedgerError, i as SearchLedgerConflictError, o as SearchLedgerIntegrityError, t as SEARCH_LEDGER_FILE_CONTEXT } from "./search-ledger-file-
|
|
3
|
+
import { n as MemoryLedgerJournal, r as replayLedgerText, t as FileLedgerJournal } from "./journal-F3msN9OD.js";
|
|
4
|
+
import "./ledger-core-COxrkkZi.js";
|
|
5
|
+
import { a as SearchLedgerError, i as SearchLedgerConflictError, o as SearchLedgerIntegrityError, t as SEARCH_LEDGER_FILE_CONTEXT } from "./search-ledger-file-J8Xh9pU_.js";
|
|
6
6
|
import { n as evaluationClaimSchema } from "./claim-Dod_mjk3.js";
|
|
7
7
|
import { t as roundDecimal } from "./round-decimal-ZmjAQPo1.js";
|
|
8
8
|
import { createHash } from "node:crypto";
|
|
@@ -1580,4 +1580,4 @@ function formatZodError(error) {
|
|
|
1580
1580
|
}
|
|
1581
1581
|
export { validateSearchLedgerEvent as a, SearchStateView as c, searchNodeId as d, searchTaskSetDigest as f, replaySearchLedgerText as i, searchUnitScores as l, openSearchLedger as n, SEARCH_LEDGER_SCHEMA as o, USD_TOLERANCE as p, parseSearchLedgerLine as r, SearchState as s, FileSearchLedger as t, searchCellId as u };
|
|
1582
1582
|
|
|
1583
|
-
//# sourceMappingURL=search-ledger-
|
|
1583
|
+
//# sourceMappingURL=search-ledger-D_ENQh0d.js.map
|