@tangle-network/agent-eval 2.0.7 → 2.0.10
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 +80 -16
- package/dist/adapters/http.d.ts +2 -2
- package/dist/{agent-profile-CRdalpZv.d.ts → agent-profile-_JzxgLDM.d.ts} +11 -5
- package/dist/{agent-profile-CRdalpZv.d.ts.map → agent-profile-_JzxgLDM.d.ts.map} +1 -1
- package/dist/analyst/index.d.ts +14 -13
- package/dist/analyst/index.d.ts.map +1 -1
- package/dist/analyst/index.js +34 -13
- package/dist/analyst/index.js.map +1 -1
- package/dist/analyze-runs-Izz_ZeWg.d.ts +65 -0
- package/dist/analyze-runs-Izz_ZeWg.d.ts.map +1 -0
- package/dist/{analyze-runs-C_9cXPZn.js → analyze-runs-xhH2Qxoc.js} +6 -5
- package/dist/{analyze-runs-C_9cXPZn.js.map → analyze-runs-xhH2Qxoc.js.map} +1 -1
- package/dist/app-grade/index.d.ts +4 -4
- package/dist/app-grade/index.js +1 -1
- package/dist/{benchmark-command-DkBMUDwy.js → benchmark-command-CGQXNFj7.js} +12 -8
- package/dist/benchmark-command-CGQXNFj7.js.map +1 -0
- package/dist/benchmarks/index.d.ts +4 -4
- package/dist/benchmarks/index.js +4 -4
- package/dist/builder-eval/index.js +2 -2
- package/dist/calibration-CrORXMWx.d.ts +128 -0
- package/dist/calibration-CrORXMWx.d.ts.map +1 -0
- package/dist/{calibration-Cfoup0xz.js → calibration-Dz8mQb5P.js} +2 -2
- package/dist/{calibration-Cfoup0xz.js.map → calibration-Dz8mQb5P.js.map} +1 -1
- package/dist/campaign/index.d.ts +8 -8
- package/dist/campaign/index.js +13 -12
- package/dist/{campaign-DfSWSreo.js → campaign-eus7YRs2.js} +1590 -15
- package/dist/campaign-eus7YRs2.js.map +1 -0
- package/dist/{campaign-evidence-BojANgU7.d.ts → campaign-evidence-BOcX4w0r.d.ts} +5 -5
- package/dist/{campaign-evidence-BojANgU7.d.ts.map → campaign-evidence-BOcX4w0r.d.ts.map} +1 -1
- package/dist/{campaign-evidence-D_oBFfLc.js → campaign-evidence-KM5GTsHG.js} +5 -5
- package/dist/{campaign-evidence-D_oBFfLc.js.map → campaign-evidence-KM5GTsHG.js.map} +1 -1
- package/dist/{cluster-Bj90LK-1.d.ts → chat-client-BlTooBDA.d.ts} +9 -241
- package/dist/chat-client-BlTooBDA.d.ts.map +1 -0
- package/dist/{chat-client-CvyDOQBv.js → chat-client-Oyot5tyo.js} +2 -2
- package/dist/{chat-client-CvyDOQBv.js.map → chat-client-Oyot5tyo.js.map} +1 -1
- package/dist/{chat-json-call-DMrwmB-k.js → chat-json-call-DTmv2uNY.js} +2 -2
- package/dist/{chat-json-call-DMrwmB-k.js.map → chat-json-call-DTmv2uNY.js.map} +1 -1
- package/dist/cli.js +7 -7
- package/dist/cluster-BJ0nW3P7.d.ts +241 -0
- package/dist/cluster-BJ0nW3P7.d.ts.map +1 -0
- package/dist/{cluster-bootstrap-DPzVy3_K.js → cluster-bootstrap-CTC8Dd30.js} +3 -2
- package/dist/{cluster-bootstrap-DPzVy3_K.js.map → cluster-bootstrap-CTC8Dd30.js.map} +1 -1
- package/dist/{completion-verifier-DsotH2l3.js → completion-verifier-CCPG2Yc0.js} +3 -3
- package/dist/{completion-verifier-DsotH2l3.js.map → completion-verifier-CCPG2Yc0.js.map} +1 -1
- package/dist/{completion-verifier-Cy38EpGE.d.ts → completion-verifier-CQOC3_bm.d.ts} +2 -2
- package/dist/{completion-verifier-Cy38EpGE.d.ts.map → completion-verifier-CQOC3_bm.d.ts.map} +1 -1
- package/dist/contract/index.d.ts +14 -12
- package/dist/contract/index.js +14 -12
- package/dist/contract/index.js.map +1 -1
- package/dist/{decision-point-C46p-p9v.js → decision-point-CfqtnGop.js} +3 -3
- package/dist/{decision-point-C46p-p9v.js.map → decision-point-CfqtnGop.js.map} +1 -1
- package/dist/{default-registry-BWFPtmuI.js → default-registry-Rs5uzlfJ.js} +4 -4
- package/dist/{default-registry-BWFPtmuI.js.map → default-registry-Rs5uzlfJ.js.map} +1 -1
- package/dist/{default-registry-xoX0PMCb.d.ts → default-registry-X8McMoUV.d.ts} +6 -6
- package/dist/{default-registry-xoX0PMCb.d.ts.map → default-registry-X8McMoUV.d.ts.map} +1 -1
- package/dist/define-agent-eval-D8ntOXqV.js +96 -0
- package/dist/define-agent-eval-D8ntOXqV.js.map +1 -0
- package/dist/define-agent-eval-DH5-xi-F.d.ts +52 -0
- package/dist/define-agent-eval-DH5-xi-F.d.ts.map +1 -0
- package/dist/diagnosis/index.d.ts +3 -3
- package/dist/diagnosis/index.js +1 -1
- package/dist/{dspy-rlm-engine-r7YpKLhS.js → dspy-rlm-engine-ChE1PUM5.js} +3 -3
- package/dist/{dspy-rlm-engine-r7YpKLhS.js.map → dspy-rlm-engine-ChE1PUM5.js.map} +1 -1
- package/dist/{emitter-BjW3NnX-.js → emitter-xN9wGTVw.js} +9 -2
- package/dist/{emitter-BjW3NnX-.js.map → emitter-xN9wGTVw.js.map} +1 -1
- package/dist/{eval-campaign-Cyk-tkLh.js → eval-campaign-BciGnrGy.js} +3 -3
- package/dist/{eval-campaign-Cyk-tkLh.js.map → eval-campaign-BciGnrGy.js.map} +1 -1
- package/dist/{evaluation-X5E22NQK.d.ts → evaluation-CjZH6gW0.d.ts} +4 -4
- package/dist/{evaluation-X5E22NQK.d.ts.map → evaluation-CjZH6gW0.d.ts.map} +1 -1
- package/dist/evaluation.d.ts +1 -1
- package/dist/{exact-types-DjuabhUV.d.ts → exact-types-BIHqYBYf.d.ts} +2 -2
- package/dist/{exact-types-DjuabhUV.d.ts.map → exact-types-BIHqYBYf.d.ts.map} +1 -1
- package/dist/{execution-insight-CE20Bxq0.d.ts → execution-insight-YihQrSqd.d.ts} +2 -2
- package/dist/{execution-insight-CE20Bxq0.d.ts.map → execution-insight-YihQrSqd.d.ts.map} +1 -1
- package/dist/experiment/index.d.ts +5 -5
- package/dist/experiment/index.js +10 -184
- package/dist/experiment/index.js.map +1 -1
- package/dist/{external-optimizer-contracts-ZDBfbZ_s.js → external-optimizer-contracts-BFV8lnhl.js} +7 -2
- package/dist/{external-optimizer-contracts-ZDBfbZ_s.js.map → external-optimizer-contracts-BFV8lnhl.js.map} +1 -1
- package/dist/{external-optimizer-process-4QdcF7Kd.js → external-optimizer-process-B6emPodQ.js} +3 -3
- package/dist/{external-optimizer-process-4QdcF7Kd.js.map → external-optimizer-process-B6emPodQ.js.map} +1 -1
- package/dist/{external-optimizer-subprocess-BW0ZWUUr.js → external-optimizer-subprocess-_O06eDVA.js} +35 -376
- package/dist/external-optimizer-subprocess-_O06eDVA.js.map +1 -0
- package/dist/{feedback-trajectory-BMkJezPc.d.ts → feedback-trajectory-CoQPmSJV.d.ts} +3 -3
- package/dist/{feedback-trajectory-BMkJezPc.d.ts.map → feedback-trajectory-CoQPmSJV.d.ts.map} +1 -1
- package/dist/finding-scope-B_As3F_v.js +359 -0
- package/dist/finding-scope-B_As3F_v.js.map +1 -0
- package/dist/{findings-store-DV8WA5nD.js → findings-store-CvYUzQBR.js} +4 -4
- package/dist/{findings-store-DV8WA5nD.js.map → findings-store-CvYUzQBR.js.map} +1 -1
- package/dist/fuzz.js +1 -1
- package/dist/{index-C6TG1LwA.d.ts → index-BSb3fJyZ.d.ts} +318 -131
- package/dist/index-BSb3fJyZ.d.ts.map +1 -0
- package/dist/{index-CKjqN9_U.d.ts → index-Bk1XEkP7.d.ts} +99 -3
- package/dist/index-Bk1XEkP7.d.ts.map +1 -0
- package/dist/{index-DAFZRMlF.d.ts → index-BmWw8zN6.d.ts} +10 -8
- package/dist/index-BmWw8zN6.d.ts.map +1 -0
- package/dist/{index-DKpMyD_Z.d.ts → index-CCOaNmh2.d.ts} +7 -7
- package/dist/{index-DKpMyD_Z.d.ts.map → index-CCOaNmh2.d.ts.map} +1 -1
- package/dist/{index-xEM_SoCl.d.ts → index-ZffK_5sD.d.ts} +22 -20
- package/dist/index-ZffK_5sD.d.ts.map +1 -0
- package/dist/{index-BqAPIToS.d.ts → index-aRalB_Ma.d.ts} +3 -3
- package/dist/{index-BqAPIToS.d.ts.map → index-aRalB_Ma.d.ts.map} +1 -1
- package/dist/index.d.ts +33 -29
- package/dist/index.js +28 -25
- package/dist/index.js.map +1 -1
- package/dist/{analyze-runs-xjKBBqIB.d.ts → insight-report-DYofCMLx.d.ts} +4 -64
- package/dist/insight-report-DYofCMLx.d.ts.map +1 -0
- package/dist/{integrity-BF0tJK21.js → integrity-DacT3oJ1.js} +2 -2
- package/dist/{integrity-BF0tJK21.js.map → integrity-DacT3oJ1.js.map} +1 -1
- package/dist/{integrity-B9320cw1.d.ts → integrity-DotDLWtj.d.ts} +2 -2
- package/dist/{integrity-B9320cw1.d.ts.map → integrity-DotDLWtj.d.ts.map} +1 -1
- package/dist/{judge-gate-DqlzOBOm.js → judge-gate-CpD3wmcf.js} +3 -3
- package/dist/{judge-gate-DqlzOBOm.js.map → judge-gate-CpD3wmcf.js.map} +1 -1
- package/dist/{llm-client-Dw4x6EdE.js → llm-client-Dk8lBnMh.js} +15 -2
- package/dist/{llm-client-Dw4x6EdE.js.map → llm-client-Dk8lBnMh.js.map} +1 -1
- package/dist/llm-judge-DYmEdo3M.js +476 -0
- package/dist/llm-judge-DYmEdo3M.js.map +1 -0
- package/dist/{matrix-CqZSpwgN.d.ts → matrix-BDl7hoBr.d.ts} +6 -2
- package/dist/matrix-BDl7hoBr.d.ts.map +1 -0
- package/dist/measure-validity-plan-BReXzcVh.d.ts +201 -0
- package/dist/measure-validity-plan-BReXzcVh.d.ts.map +1 -0
- package/dist/measure-validity-plan-CJkBNzX_.js +154 -0
- package/dist/measure-validity-plan-CJkBNzX_.js.map +1 -0
- package/dist/meta-eval/index.d.ts +5 -3
- package/dist/meta-eval/index.js +808 -15
- package/dist/meta-eval/index.js.map +1 -1
- package/dist/multishot/golden/index.d.ts +1 -1
- package/dist/multishot/index.d.ts +497 -4
- package/dist/multishot/index.d.ts.map +1 -1
- package/dist/multishot/index.js +1000 -48
- package/dist/multishot/index.js.map +1 -1
- package/dist/node-transport-DJno8V46.js +62 -0
- package/dist/node-transport-DJno8V46.js.map +1 -0
- package/dist/openapi.json +1 -1
- package/dist/{llm-judge-DQJTQx01.js → optimization-method-4JlbMxd2.js} +38 -513
- package/dist/optimization-method-4JlbMxd2.js.map +1 -0
- package/dist/{outcome-observations-DL3CC8w1.js → outcome-observations-DEh8_V_P.js} +31 -6
- package/dist/outcome-observations-DEh8_V_P.js.map +1 -0
- package/dist/outcome-store-CHtuvstd.d.ts +56 -0
- package/dist/outcome-store-CHtuvstd.d.ts.map +1 -0
- package/dist/{paired-arms-DZhH3FGu.js → paired-arms-CJH5Q0wx.js} +3 -2
- package/dist/{paired-arms-DZhH3FGu.js.map → paired-arms-CJH5Q0wx.js.map} +1 -1
- package/dist/{paired-promotion-decision-Dn3-jaq4.js → paired-promotion-decision-BtfVwEAk.js} +3 -2
- package/dist/{paired-promotion-decision-Dn3-jaq4.js.map → paired-promotion-decision-BtfVwEAk.js.map} +1 -1
- package/dist/{paired-promotion-decision-ChHBuuHV.d.ts → paired-promotion-decision-DJlI4z_k.d.ts} +2 -2
- package/dist/{paired-promotion-decision-ChHBuuHV.d.ts.map → paired-promotion-decision-DJlI4z_k.d.ts.map} +1 -1
- package/dist/{paired-promotion-power-BlzXdgMD.js → paired-promotion-power-DG1avBKf.js} +3 -3
- package/dist/{paired-promotion-power-BlzXdgMD.js.map → paired-promotion-power-DG1avBKf.js.map} +1 -1
- package/dist/paired-tests-CXcD_B80.js +688 -0
- package/dist/paired-tests-CXcD_B80.js.map +1 -0
- package/dist/pareto-DIVE5D0T.js +81 -0
- package/dist/pareto-DIVE5D0T.js.map +1 -0
- package/dist/pipelines/index.d.ts +2 -1
- package/dist/pipelines/index.d.ts.map +1 -1
- package/dist/pipelines/index.js +1 -1
- package/dist/{sequential-BphITa5b.js → power-COie_o6E.js} +181 -4
- package/dist/power-COie_o6E.js.map +1 -0
- package/dist/{prime-protocol-Cv6_47rh.d.ts → prime-protocol-BRMk6dGI.d.ts} +2 -2
- package/dist/{prime-protocol-Cv6_47rh.d.ts.map → prime-protocol-BRMk6dGI.d.ts.map} +1 -1
- package/dist/{promotion-gate-CGkxh36r.d.ts → promotion-gate-B0VTBoXg.d.ts} +2 -2
- package/dist/{promotion-gate-CGkxh36r.d.ts.map → promotion-gate-B0VTBoXg.d.ts.map} +1 -1
- package/dist/{promotion-policy-CxDIh-9p.js → promotion-policy-BgI7PsQn.js} +4 -4
- package/dist/{promotion-policy-CxDIh-9p.js.map → promotion-policy-BgI7PsQn.js.map} +1 -1
- package/dist/{proposal-findings-DedMih-u.js → proposal-findings-CfRFCFXS.js} +2 -2
- package/dist/{proposal-findings-DedMih-u.js.map → proposal-findings-CfRFCFXS.js.map} +1 -1
- package/dist/{registry-CIjC6SdV.d.ts → registry-BeInzotS.d.ts} +4 -4
- package/dist/{registry-CIjC6SdV.d.ts.map → registry-BeInzotS.d.ts.map} +1 -1
- package/dist/{release-confidence-BLHOMK5Q.js → release-confidence-Cndq1hwi.js} +2 -2
- package/dist/{release-confidence-BLHOMK5Q.js.map → release-confidence-Cndq1hwi.js.map} +1 -1
- package/dist/reporting.d.ts +5 -5
- package/dist/reporting.js +6 -5
- package/dist/reporting.js.map +1 -1
- package/dist/{research-report-D6XIK0eK.d.ts → research-report-CL5_UqCX.d.ts} +2 -2
- package/dist/{research-report-D6XIK0eK.d.ts.map → research-report-CL5_UqCX.d.ts.map} +1 -1
- package/dist/{researcher---DhHG4J.d.ts → researcher-BOpZP_Ja.d.ts} +4 -4
- package/dist/{researcher---DhHG4J.d.ts.map → researcher-BOpZP_Ja.d.ts.map} +1 -1
- package/dist/{reward-hacking-DKAflk2c.js → reward-hacking-DMTm1OBd.js} +2 -2
- package/dist/{reward-hacking-DKAflk2c.js.map → reward-hacking-DMTm1OBd.js.map} +1 -1
- package/dist/rl.d.ts +9 -8
- package/dist/rl.d.ts.map +1 -1
- package/dist/rl.js +11 -10
- package/dist/rl.js.map +1 -1
- package/dist/rollout/index.d.ts +2 -2
- package/dist/rollout/index.js +1 -1
- package/dist/{rollout-B_lrpd9a.js → rollout--rSr43Pd.js} +2 -2
- package/dist/{rollout-B_lrpd9a.js.map → rollout--rSr43Pd.js.map} +1 -1
- package/dist/{rollout-nodes-Vas6OSxX.js → rollout-nodes-DFxKpIr2.js} +39 -10
- package/dist/rollout-nodes-DFxKpIr2.js.map +1 -0
- package/dist/{rubric-predictive-validity--6z0q8s6.js → rubric-predictive-validity-BXJ92Jp_.js} +3 -9
- package/dist/rubric-predictive-validity-BXJ92Jp_.js.map +1 -0
- package/dist/{rubric-predictive-validity-C9wc7f_D.d.ts → rubric-predictive-validity-DH94_0Q1.d.ts} +3 -56
- package/dist/rubric-predictive-validity-DH94_0Q1.d.ts.map +1 -0
- package/dist/{run-improvement-loop-BfwOUudy.d.ts → run-improvement-loop-BeHu5D9Z.d.ts} +396 -11
- package/dist/run-improvement-loop-BeHu5D9Z.d.ts.map +1 -0
- package/dist/{run-record-Bqg0NZ_e.js → run-record-CuO8ErrI.js} +3 -2
- package/dist/run-record-CuO8ErrI.js.map +1 -0
- package/dist/{runtime-rollouts-drQynu3t.js → runtime-rollouts-CE0MbQPq.js} +55 -8
- package/dist/runtime-rollouts-CE0MbQPq.js.map +1 -0
- package/dist/search/index.d.ts +2 -2
- package/dist/search/index.js +2 -2
- package/dist/{search-kernel-DJq9bUDU.d.ts → search-kernel-CJZ-ZSV1.d.ts} +3 -3
- package/dist/{search-kernel-DJq9bUDU.d.ts.map → search-kernel-CJZ-ZSV1.d.ts.map} +1 -1
- package/dist/{pareto-Bg75Gajo.js → search-kernel-mZc79S6N.js} +6 -88
- package/dist/search-kernel-mZc79S6N.js.map +1 -0
- package/dist/{search-summary-B1x1Vmzh.js → search-summary-CCgP2qXz.js} +4 -4
- package/dist/{search-summary-B1x1Vmzh.js.map → search-summary-CCgP2qXz.js.map} +1 -1
- package/dist/{define-agent-eval-Cjc0wWnO.d.ts → self-improve-B1fsNejr.d.ts} +8 -54
- package/dist/self-improve-B1fsNejr.d.ts.map +1 -0
- package/dist/{define-agent-eval-B6uE3gNu.js → self-improve-C_Bcdmv8.js} +9 -97
- package/dist/self-improve-C_Bcdmv8.js.map +1 -0
- package/dist/{sequential-BhbTSxpt.d.ts → sequential-CHplorpC.d.ts} +2 -2
- package/dist/{sequential-BhbTSxpt.d.ts.map → sequential-CHplorpC.d.ts.map} +1 -1
- package/dist/{sequential-ux_XrjBf.js → sequential-DR-pnYQ7.js} +3 -3
- package/dist/{sequential-ux_XrjBf.js.map → sequential-DR-pnYQ7.js.map} +1 -1
- package/dist/{server-1fzBCxMh.js → server-aZFmRucn.js} +3 -3
- package/dist/{server-1fzBCxMh.js.map → server-aZFmRucn.js.map} +1 -1
- package/dist/{skillopt-optimization-method-D_swD0Cy.js → skillopt-optimization-method-DHk1K757.js} +95 -40
- package/dist/skillopt-optimization-method-DHk1K757.js.map +1 -0
- package/dist/{statistical-heldout-CaS4T-43.js → statistical-heldout-CL_7mI5C.js} +3 -3
- package/dist/{statistical-heldout-CaS4T-43.js.map → statistical-heldout-CL_7mI5C.js.map} +1 -1
- package/dist/{statistics-DSidA5I2.js → statistics-AKnVFnK-.js} +233 -700
- package/dist/statistics-AKnVFnK-.js.map +1 -0
- package/dist/statistics.d.ts +3 -3
- package/dist/statistics.js +3 -2
- package/dist/{store-tool-spans-DniaFwjM.d.ts → store-tool-spans-M3WxeRrG.d.ts} +4 -4
- package/dist/{store-tool-spans-DniaFwjM.d.ts.map → store-tool-spans-M3WxeRrG.d.ts.map} +1 -1
- package/dist/{summary-report-CI4J6gxU.js → summary-report-DyBkOC6V.js} +15 -7
- package/dist/summary-report-DyBkOC6V.js.map +1 -0
- package/dist/summary-report-figures-CJHygLgw.d.ts.map +1 -1
- package/dist/supervisor-run/index.d.ts +12 -2
- package/dist/supervisor-run/index.d.ts.map +1 -1
- package/dist/supervisor-run/index.js +3 -3
- package/dist/{systemone-DzY-2Zri.d.ts → systemone-4PadCE4C.d.ts} +8 -7
- package/dist/systemone-4PadCE4C.d.ts.map +1 -0
- package/dist/{systemone-review-CXecR_m-.d.ts → systemone-review-DpAXWDkL.d.ts} +2 -2
- package/dist/{systemone-review-CXecR_m-.d.ts.map → systemone-review-DpAXWDkL.d.ts.map} +1 -1
- package/dist/systemone.d.ts +3 -3
- package/dist/systemone.js +1 -1
- package/dist/{tool-groups-DF6OqhoG.d.ts → tool-groups-SlnoQNyT.d.ts} +2 -2
- package/dist/tool-groups-SlnoQNyT.d.ts.map +1 -0
- package/dist/tool-waste-B01AMpID.d.ts +121 -0
- package/dist/tool-waste-B01AMpID.d.ts.map +1 -0
- package/dist/{tool-waste-u7JJ_BlE.js → tool-waste-BZnYSa6J.js} +3 -2
- package/dist/{tool-waste-u7JJ_BlE.js.map → tool-waste-BZnYSa6J.js.map} +1 -1
- package/dist/{trace-questions-DO8y3J-E.d.ts → trace-questions-ybyF0B6N.d.ts} +2 -2
- package/dist/{trace-questions-DO8y3J-E.d.ts.map → trace-questions-ybyF0B6N.d.ts.map} +1 -1
- package/dist/trace-repair/index.d.ts +1 -1
- package/dist/trace-repair/index.js +1 -1
- package/dist/traces.d.ts +4 -4
- package/dist/traces.js +1 -1
- package/dist/trajectory-B3o6Ald_.d.ts +100 -0
- package/dist/trajectory-B3o6Ald_.d.ts.map +1 -0
- package/dist/trajectory-replay/index.js +1 -1
- package/dist/{tree-DQMlcNFI.js → tree-CiIe-f3f.js} +6 -4
- package/dist/{tree-DQMlcNFI.js.map → tree-CiIe-f3f.js.map} +1 -1
- package/dist/{types-fuOwNq1C.d.ts → types-B1W3v8dT.d.ts} +3 -2
- package/dist/types-B1W3v8dT.d.ts.map +1 -0
- package/dist/{types-BMSDkS8l.d.ts → types-D5XtEH9Q.d.ts} +11 -4
- package/dist/{types-BMSDkS8l.d.ts.map → types-D5XtEH9Q.d.ts.map} +1 -1
- package/dist/types-DK4vNv5q.js.map +1 -1
- package/dist/{types-D_PfKC59.d.ts → types-an-CUndX.d.ts} +2 -2
- package/dist/{types-D_PfKC59.d.ts.map → types-an-CUndX.d.ts.map} +1 -1
- package/dist/{types-BLv2Ngla.d.ts → types-xVtEOBhO.d.ts} +31 -8
- package/dist/types-xVtEOBhO.d.ts.map +1 -0
- package/dist/wire/index.d.ts +2 -2
- package/dist/wire/index.js +1 -1
- package/dist/world/index.d.ts +529 -0
- package/dist/world/index.d.ts.map +1 -0
- package/dist/world/index.js +1356 -0
- package/dist/world/index.js.map +1 -0
- package/docs/campaign-proposers.md +7 -0
- package/docs/concepts.md +2 -0
- package/docs/design/statistics-decisions.md +48 -0
- package/docs/eval-surface-map.md +5 -2
- package/docs/feature-guide.md +3 -1
- package/docs/multi-turn-optimization.md +84 -0
- package/docs/outcome-validity.md +108 -0
- package/docs/public-api.md +89 -34
- package/docs/{multi-shot-optimization.md → trajectory-optimization.md} +1 -1
- package/docs/world.md +104 -0
- package/package.json +6 -1
- package/dist/analyze-runs-xjKBBqIB.d.ts.map +0 -1
- package/dist/benchmark-command-DkBMUDwy.js.map +0 -1
- package/dist/campaign-DfSWSreo.js.map +0 -1
- package/dist/cluster-Bj90LK-1.d.ts.map +0 -1
- package/dist/define-agent-eval-B6uE3gNu.js.map +0 -1
- package/dist/define-agent-eval-Cjc0wWnO.d.ts.map +0 -1
- package/dist/external-optimizer-subprocess-BW0ZWUUr.js.map +0 -1
- package/dist/index-C6TG1LwA.d.ts.map +0 -1
- package/dist/index-CKjqN9_U.d.ts.map +0 -1
- package/dist/index-DAFZRMlF.d.ts.map +0 -1
- package/dist/index-xEM_SoCl.d.ts.map +0 -1
- package/dist/interval-CWyxqDpE.d.ts +0 -43
- package/dist/interval-CWyxqDpE.d.ts.map +0 -1
- package/dist/llm-judge-DQJTQx01.js.map +0 -1
- package/dist/matrix-CqZSpwgN.d.ts.map +0 -1
- package/dist/outcome-observations-DL3CC8w1.js.map +0 -1
- package/dist/pareto-Bg75Gajo.js.map +0 -1
- package/dist/rollout-nodes-Vas6OSxX.js.map +0 -1
- package/dist/rubric-predictive-validity--6z0q8s6.js.map +0 -1
- package/dist/rubric-predictive-validity-C9wc7f_D.d.ts.map +0 -1
- package/dist/run-improvement-loop-BfwOUudy.d.ts.map +0 -1
- package/dist/run-record-Bqg0NZ_e.js.map +0 -1
- package/dist/runtime-rollouts-drQynu3t.js.map +0 -1
- package/dist/sequential-BphITa5b.js.map +0 -1
- package/dist/skillopt-optimization-method-D_swD0Cy.js.map +0 -1
- package/dist/statistics-DSidA5I2.js.map +0 -1
- package/dist/summary-report-CI4J6gxU.js.map +0 -1
- package/dist/systemone-DzY-2Zri.d.ts.map +0 -1
- package/dist/tool-groups-DF6OqhoG.d.ts.map +0 -1
- package/dist/tool-waste-CIhtU1ad.d.ts +0 -217
- package/dist/tool-waste-CIhtU1ad.d.ts.map +0 -1
- package/dist/types-BLv2Ngla.d.ts.map +0 -1
- package/dist/types-fuOwNq1C.d.ts.map +0 -1
package/dist/{skillopt-optimization-method-D_swD0Cy.js → skillopt-optimization-method-DHk1K757.js}
RENAMED
|
@@ -1,22 +1,24 @@
|
|
|
1
|
+
import { c as errorMessage } from "./errors-DeEEV9Vx.js";
|
|
1
2
|
import { a as hashCanonical } from "./canonical-DKgL_Wby.js";
|
|
2
3
|
import { i as assertServedModelPolicy } from "./served-model-BXmeKm7D.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as decidePairedPromotion } from "./paired-promotion-decision-
|
|
5
|
-
import { a as heldoutSignificance, o as pairHoldout } from "./statistical-heldout-
|
|
4
|
+
import { y as meanOrZero } from "./paired-tests-CXcD_B80.js";
|
|
5
|
+
import { t as decidePairedPromotion } from "./paired-promotion-decision-BtfVwEAk.js";
|
|
6
|
+
import { a as heldoutSignificance, o as pairHoldout } from "./statistical-heldout-CL_7mI5C.js";
|
|
6
7
|
import { a as mapConcurrent } from "./journal-3y-btqaP.js";
|
|
7
8
|
import { n as contentHash, t as canonicalJson } from "./verdict-cache-BPaYxfG8.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
9
|
+
import { D as campaignCellSearchResult, E as campaignCellMeasurement, G as assertIndependentEvaluationSplit, J as exposeFinalEvidence, K as captureFinalEvidencePolicy, L as captureJudge, P as gateArms, Q as runCampaign, X as reserveFinalEvidence, _ as developmentClaim, a as combineComparisonCosts, b as surfaceNode, et as resolveRunDir, g as SearchRecorder, i as readGepaCandidatePopulationArtifact, it as withUncapturedAgentSpend, n as executeOptimizationMethod, o as costFromLedgerSummary, q as evaluationUnitMap, r as assertGepaCandidatePopulationSummary, s as optimizationTokenUsageFromSummary, t as assertArtifactDescriptionSetOnce, x as assertSearchHistoryAdmissionOptions, y as surfaceDiff } from "./optimization-method-4JlbMxd2.js";
|
|
10
|
+
import { f as campaignBreakdown, j as assertCompleteCampaign, k as assertCampaignDesign, p as campaignEvidence, t as createCampaignEvidenceReceipt, y as excerptEvidence } from "./campaign-evidence-KM5GTsHG.js";
|
|
10
11
|
import { t as deepFreezeCanonicalJson } from "./deep-freeze-CK8-2W7p.js";
|
|
11
|
-
import {
|
|
12
|
+
import { f as createRunCostLedger, p as fsCampaignStorage } from "./finding-scope-B_As3F_v.js";
|
|
12
13
|
import { s as surfaceContentHash } from "./json-recovery-BRUCeQxo.js";
|
|
13
14
|
import { r as summarizeEvaluationUnits, t as defineEvaluationClaim } from "./claim-BWEXwwBk.js";
|
|
14
15
|
import { n as openSearchLedger } from "./search-ledger-C7t68cmy.js";
|
|
15
16
|
import { n as isRecord } from "./json-DtvZNAU9.js";
|
|
16
|
-
import { a as
|
|
17
|
+
import { a as assertJsonValue, c as isCandidateText, d as resolveExternalOptimizerCallbackLimits, f as resolveExternalOptimizerProcessLimits, i as assertExternalOptimizerModelBudget, l as isExternalTextCandidate, o as assertNoCredentialValues, p as safePathComponent, u as removeCredentialEnvironment } from "./external-optimizer-contracts-BFV8lnhl.js";
|
|
17
18
|
import { t as acquireSingleRunLock } from "./single-run-lock-BSKsoeQF.js";
|
|
18
|
-
import { c as combineAbortSignals } from "./llm-client-
|
|
19
|
-
import { t as
|
|
19
|
+
import { c as combineAbortSignals } from "./llm-client-Dk8lBnMh.js";
|
|
20
|
+
import { i as startExternalOptimizerModelProxy, n as closeExternalOptimizerResources, r as runWithCleanup, t as runExternalOptimizerProcess } from "./external-optimizer-subprocess-_O06eDVA.js";
|
|
21
|
+
import { t as startExternalOptimizerCallback } from "./external-optimizer-process-B6emPodQ.js";
|
|
20
22
|
import { createHash, randomBytes } from "node:crypto";
|
|
21
23
|
import { mkdir } from "node:fs/promises";
|
|
22
24
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -1216,6 +1218,9 @@ function composeGate(...gates) {
|
|
|
1216
1218
|
if (gates.length === 0) throw new Error("composeGate requires at least one gate");
|
|
1217
1219
|
return {
|
|
1218
1220
|
name: `composed(${gates.map((g) => g.name).join(",")})`,
|
|
1221
|
+
admitHeldOut(scenarios) {
|
|
1222
|
+
for (const gate of gates) gate.admitHeldOut?.(scenarios);
|
|
1223
|
+
},
|
|
1219
1224
|
async decide(ctx) {
|
|
1220
1225
|
const results = [];
|
|
1221
1226
|
for (const gate of gates) {
|
|
@@ -1552,12 +1557,14 @@ function assertExternalOptimizerTokenUsage(usage, name, optimizer) {
|
|
|
1552
1557
|
for (const field of TOKEN_USAGE_FIELDS) if (!Number.isSafeInteger(usage[field]) || usage[field] < 0) throw new Error(`${name}: ${optimizer} bridge returned invalid tokenUsage.${field}`);
|
|
1553
1558
|
if (usage.totalTokens !== usage.inputTokens + usage.outputTokens) throw new Error(`${name}: ${optimizer} bridge returned inconsistent tokenUsage.totalTokens`);
|
|
1554
1559
|
if (usage.requestAttempts !== void 0 && (!Number.isSafeInteger(usage.requestAttempts) || usage.requestAttempts < usage.calls)) throw new Error(`${name}: ${optimizer} bridge returned invalid tokenUsage.requestAttempts`);
|
|
1560
|
+
if (usage.refusedAttempts !== void 0 && (!Number.isSafeInteger(usage.refusedAttempts) || usage.refusedAttempts < 0 || usage.requestAttempts === void 0 || usage.refusedAttempts > usage.requestAttempts - usage.calls)) throw new Error(`${name}: ${optimizer} bridge returned invalid tokenUsage.refusedAttempts`);
|
|
1555
1561
|
}
|
|
1556
|
-
function assertExternalOptimizerCompletionCount(upstream, requestAttempts, successfulCompletions, name, optimizer) {
|
|
1562
|
+
function assertExternalOptimizerCompletionCount(upstream, requestAttempts, successfulCompletions, name, optimizer, refusedRequests = 0) {
|
|
1557
1563
|
if (!upstream) throw new Error(`${name}: ${optimizer} did not report optimizer token usage`);
|
|
1558
|
-
if (!Number.isSafeInteger(requestAttempts) || !Number.isSafeInteger(successfulCompletions) || requestAttempts < 0 || successfulCompletions < 0 || successfulCompletions > requestAttempts) throw new Error(`${name}: optimizer model proxy returned invalid request counts`);
|
|
1564
|
+
if (!Number.isSafeInteger(requestAttempts) || !Number.isSafeInteger(successfulCompletions) || !Number.isSafeInteger(refusedRequests) || refusedRequests < 0 || requestAttempts < 0 || successfulCompletions < 0 || successfulCompletions > requestAttempts) throw new Error(`${name}: optimizer model proxy returned invalid request counts`);
|
|
1559
1565
|
if (upstream.calls !== successfulCompletions) throw new Error(`${name}: ${optimizer} reported ${upstream.calls} successful model calls but the proxy completed ${successfulCompletions} across ${requestAttempts} attempts`);
|
|
1560
|
-
if (upstream.
|
|
1566
|
+
if (upstream.refusedAttempts !== void 0 && upstream.refusedAttempts !== refusedRequests) throw new Error(`${name}: ${optimizer} counted ${upstream.refusedAttempts} refused model attempts but the proxy refused ${refusedRequests}`);
|
|
1567
|
+
if (upstream.requestAttempts !== void 0 && upstream.requestAttempts !== requestAttempts + refusedRequests) throw new Error(`${name}: ${optimizer} reported ${upstream.requestAttempts} model attempts but the proxy admitted ${requestAttempts} and refused ${refusedRequests}`);
|
|
1561
1568
|
}
|
|
1562
1569
|
// src/campaign/external-optimizer-source.ts
|
|
1563
1570
|
function assertExternalOptimizerPackageSource(value, expectedPackage, name, optimizer) {
|
|
@@ -2421,6 +2428,16 @@ async function runBridge(ctx) {
|
|
|
2421
2428
|
modelProxy
|
|
2422
2429
|
};
|
|
2423
2430
|
}
|
|
2431
|
+
/**
|
|
2432
|
+
* Keep the bridge's selection before any check can throw. The bridge writes its
|
|
2433
|
+
* output to a temporary directory that is removed on return, so without this
|
|
2434
|
+
* copy a failed check discards the search's pick with it.
|
|
2435
|
+
*/
|
|
2436
|
+
function persistGepaSelection(ctx, result, outputDir) {
|
|
2437
|
+
const path = `${outputDir}/selection-${ctx.attemptId}.json`;
|
|
2438
|
+
ctx.storage.write(path, `${JSON.stringify(result, null, 1)}\n`);
|
|
2439
|
+
return path;
|
|
2440
|
+
}
|
|
2424
2441
|
/** Check the bridge output against the run it was started for, and return the candidate population it reports. */
|
|
2425
2442
|
function verifyBridgeResult(ctx, result) {
|
|
2426
2443
|
const { signal, expectsComponents, maxCandidateChars, storage, resume, runtimeIdentity, evaluationLimit, maxPopulationCandidates, populationScenarioIds, compatibleRunId, runId, callback, name, config } = ctx;
|
|
@@ -2479,7 +2496,7 @@ async function recordGepaSearchHistory(ctx, result, population) {
|
|
|
2479
2496
|
}
|
|
2480
2497
|
/** Evaluation and optimizer-model cost, with the proxy's completeness checks. */
|
|
2481
2498
|
function gepaCosts(ctx, result, modelProxy) {
|
|
2482
|
-
const { costLedger, runtimeIdentity, runBudget
|
|
2499
|
+
const { costLedger, runtimeIdentity, runBudget } = ctx;
|
|
2483
2500
|
const evaluationCost = costFromLedgerSummary(costLedger.summary({
|
|
2484
2501
|
phase: "gepa.external-evaluation",
|
|
2485
2502
|
tags: runBudget.runTags
|
|
@@ -2494,35 +2511,58 @@ function gepaCosts(ctx, result, modelProxy) {
|
|
|
2494
2511
|
});
|
|
2495
2512
|
const optimizerCost = costFromLedgerSummary(optimizerSummary);
|
|
2496
2513
|
const reportedProposerCost = result.proposerCostUsd ?? 0;
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
}
|
|
2508
|
-
});
|
|
2509
|
-
if (anthropicReceipts.length !== wires.anthropic.requestAttempts) throw new Error(`${name}: the Anthropic endpoint admitted ${wires.anthropic.requestAttempts} model calls but the ledger holds ${anthropicReceipts.length} receipts`);
|
|
2510
|
-
}
|
|
2511
|
-
}
|
|
2514
|
+
const usageFailures = modelProxy ? gepaUsageCheck(ctx, result, modelProxy) : [];
|
|
2515
|
+
const tokenUsage = modelProxy ? optimizationTokenUsageFromSummary(optimizerSummary, optimizerReceipts) : void 0;
|
|
2516
|
+
const runtime = observedExternalOptimizerRuntime(runtimeIdentity);
|
|
2517
|
+
const combinedCost = modelProxy ? combineComparisonCosts([{
|
|
2518
|
+
label: "evaluation",
|
|
2519
|
+
cost: evaluationCost
|
|
2520
|
+
}, {
|
|
2521
|
+
label: "optimizer model",
|
|
2522
|
+
cost: optimizerCost
|
|
2523
|
+
}]) : void 0;
|
|
2512
2524
|
return {
|
|
2513
2525
|
evaluationCost,
|
|
2514
|
-
tokenUsage
|
|
2515
|
-
runtime
|
|
2516
|
-
meteredCost:
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
cost: optimizerCost
|
|
2522
|
-
}]) : void 0,
|
|
2526
|
+
tokenUsage,
|
|
2527
|
+
runtime,
|
|
2528
|
+
meteredCost: combinedCost && usageFailures.length > 0 ? {
|
|
2529
|
+
...combinedCost,
|
|
2530
|
+
accountingComplete: false,
|
|
2531
|
+
incompleteReasons: [...combinedCost.incompleteReasons, ...usageFailures.map((failure) => `usage check failed: ${failure}`)]
|
|
2532
|
+
} : combinedCost,
|
|
2523
2533
|
externalTotalCostUsd: evaluationCost.totalCostUsd + reportedProposerCost
|
|
2524
2534
|
};
|
|
2525
2535
|
}
|
|
2536
|
+
/**
|
|
2537
|
+
* The proxy's completeness checks against the bridge's own counts. Each failure
|
|
2538
|
+
* is returned, never thrown: by now the search has finished and its selection
|
|
2539
|
+
* is persisted, so a count disagreement marks the spend unproven instead.
|
|
2540
|
+
*/
|
|
2541
|
+
function gepaUsageCheck(ctx, result, modelProxy) {
|
|
2542
|
+
const { costLedger, runBudget, name, config } = ctx;
|
|
2543
|
+
const failures = [];
|
|
2544
|
+
const check = (assertion) => {
|
|
2545
|
+
try {
|
|
2546
|
+
assertion();
|
|
2547
|
+
} catch (error) {
|
|
2548
|
+
failures.push(errorMessage(error));
|
|
2549
|
+
}
|
|
2550
|
+
};
|
|
2551
|
+
check(() => modelProxy.assertExecutionComplete());
|
|
2552
|
+
const wires = modelProxy.wireUsage();
|
|
2553
|
+
check(() => assertExternalOptimizerCompletionCount(result.tokenUsage, wires.openai.requestAttempts, wires.openai.successfulCompletions, name, "GEPA", wires.openai.refusedRequests));
|
|
2554
|
+
if (config.optimizer?.anthropicEndpoint === true) {
|
|
2555
|
+
const anthropicReceipts = costLedger.list({
|
|
2556
|
+
phase: "gepa.optimizer-model",
|
|
2557
|
+
tags: {
|
|
2558
|
+
...runBudget.attemptTags,
|
|
2559
|
+
wire: "anthropic"
|
|
2560
|
+
}
|
|
2561
|
+
});
|
|
2562
|
+
if (anthropicReceipts.length !== wires.anthropic.requestAttempts) failures.push(`${name}: the Anthropic endpoint admitted ${wires.anthropic.requestAttempts} model calls but the ledger holds ${anthropicReceipts.length} receipts`);
|
|
2563
|
+
}
|
|
2564
|
+
return failures;
|
|
2565
|
+
}
|
|
2526
2566
|
/** The method result: the winning surface, its cost and the provenance of the run. */
|
|
2527
2567
|
function buildGepaOutcome(ctx, result, outputDir, modelProxy, searchHistory, costs) {
|
|
2528
2568
|
const { started, compatibleRunId, runId, runBudget, observationLog, executionLog, config } = ctx;
|
|
@@ -2553,6 +2593,7 @@ function buildGepaOutcome(ctx, result, outputDir, modelProxy, searchHistory, cos
|
|
|
2553
2593
|
optimizerModel: config.optimizer.model,
|
|
2554
2594
|
optimizerCallRef: config.optimizer.callRef
|
|
2555
2595
|
} : {},
|
|
2596
|
+
...modelProxy ? { optimizerModelRequests: modelProxy.wireUsage().openai } : {},
|
|
2556
2597
|
...modelProxy && config.optimizer?.anthropicEndpoint === true ? { anthropicEndpoint: modelProxy.wireUsage().anthropic } : {},
|
|
2557
2598
|
compatibleRunId,
|
|
2558
2599
|
runId,
|
|
@@ -2595,6 +2636,7 @@ function gepaOptimizationMethod(config) {
|
|
|
2595
2636
|
async optimize(input) {
|
|
2596
2637
|
const ctx = await prepareGepaRun(config, input, name);
|
|
2597
2638
|
const { result, outputDir, modelProxy } = await runBridge(ctx);
|
|
2639
|
+
persistGepaSelection(ctx, result, outputDir);
|
|
2598
2640
|
return buildGepaOutcome(ctx, result, outputDir, modelProxy, await recordGepaSearchHistory(ctx, result, verifyBridgeResult(ctx, result)), gepaCosts(ctx, result, modelProxy));
|
|
2599
2641
|
}
|
|
2600
2642
|
};
|
|
@@ -2693,6 +2735,7 @@ function normalizeComparisonOptions(prev) {
|
|
|
2693
2735
|
assertOptimizationMethods(opts.methods);
|
|
2694
2736
|
for (const method of opts.methods) assertArtifactDescriptionSetOnce("compareOptimizationMethods", method, opts.describeArtifact);
|
|
2695
2737
|
assertComparisonPartitions(opts);
|
|
2738
|
+
opts.gate?.admitHeldOut?.(opts.testScenarios);
|
|
2696
2739
|
const searchHistoryPolicy = opts.searchHistoryPolicy ?? "allow-missing";
|
|
2697
2740
|
assertSearchHistoryAdmissionOptions(opts);
|
|
2698
2741
|
const seed = opts.seed ?? 42;
|
|
@@ -2737,6 +2780,7 @@ function normalizeComparisonOptions(prev) {
|
|
|
2737
2780
|
async function finalTestScoring(prev) {
|
|
2738
2781
|
const { opts, seed, intervalConfidence, resamples, evidence, evidenceBySurface, storage, resolvedRunDir, costLedger } = prev;
|
|
2739
2782
|
const testCampaigns = [];
|
|
2783
|
+
const testCampaignBySurface = /* @__PURE__ */ new Map();
|
|
2740
2784
|
const scoreOnTest = async (surface, tag, costPhase) => {
|
|
2741
2785
|
const measuredSurface = structuredClone(surface);
|
|
2742
2786
|
const campaign = await runCampaign({
|
|
@@ -2754,6 +2798,7 @@ async function finalTestScoring(prev) {
|
|
|
2754
2798
|
label: tag,
|
|
2755
2799
|
cells: campaign.cells
|
|
2756
2800
|
});
|
|
2801
|
+
testCampaignBySurface.set(surfaceContentHash(measuredSurface), campaign);
|
|
2757
2802
|
if (evidence) evidenceBySurface.set(surfaceContentHash(measuredSurface), createCampaignEvidenceReceipt({
|
|
2758
2803
|
campaign,
|
|
2759
2804
|
surface: measuredSurface,
|
|
@@ -2798,6 +2843,7 @@ async function finalTestScoring(prev) {
|
|
|
2798
2843
|
...prev,
|
|
2799
2844
|
scoreOnTest,
|
|
2800
2845
|
testCampaigns,
|
|
2846
|
+
testCampaignBySurface,
|
|
2801
2847
|
scenarioIds,
|
|
2802
2848
|
unitByScenario,
|
|
2803
2849
|
units,
|
|
@@ -2879,7 +2925,7 @@ async function reserveTestMeasurement(prev) {
|
|
|
2879
2925
|
}
|
|
2880
2926
|
/** One final-test measurement per distinct surface. */
|
|
2881
2927
|
async function measureWinners(prev) {
|
|
2882
|
-
const { baselineSurface, scoreOnTest, align, optimized, testCostPhase } = prev;
|
|
2928
|
+
const { opts, baselineSurface, scoreOnTest, align, optimized, testCostPhase, testCampaignBySurface, costLedger } = prev;
|
|
2883
2929
|
const baselineArr = align(await scoreOnTest(baselineSurface, "test/baseline", testCostPhase), "baseline");
|
|
2884
2930
|
const testScoresBySurface = /* @__PURE__ */ new Map([[surfaceContentHash(baselineSurface), baselineArr]]);
|
|
2885
2931
|
const winners = [];
|
|
@@ -2890,9 +2936,17 @@ async function measureWinners(prev) {
|
|
|
2890
2936
|
arr = align(await scoreOnTest(winner.winnerSurface, `test/methods/${slug(winner.name)}`, testCostPhase), `method "${winner.name}"`);
|
|
2891
2937
|
testScoresBySurface.set(surfaceKey, arr);
|
|
2892
2938
|
}
|
|
2939
|
+
const gate = opts.gate ? await opts.gate.decide({
|
|
2940
|
+
...gateArms(testCampaignBySurface.get(surfaceContentHash(baselineSurface)), testCampaignBySurface.get(surfaceKey)),
|
|
2941
|
+
scenarios: structuredClone(opts.testScenarios),
|
|
2942
|
+
costLedger,
|
|
2943
|
+
costPhase: testCostPhase,
|
|
2944
|
+
signal: opts.signal ?? new AbortController().signal
|
|
2945
|
+
}) : void 0;
|
|
2893
2946
|
winners.push({
|
|
2894
2947
|
...winner,
|
|
2895
|
-
arr
|
|
2948
|
+
arr,
|
|
2949
|
+
...gate ? { gate } : {}
|
|
2896
2950
|
});
|
|
2897
2951
|
}
|
|
2898
2952
|
return {
|
|
@@ -2946,6 +3000,7 @@ function scoreMethods(prev) {
|
|
|
2946
3000
|
};
|
|
2947
3001
|
}
|
|
2948
3002
|
if (w.composition !== void 0) score.composition = structuredClone(w.composition);
|
|
3003
|
+
if (w.gate !== void 0) score.gate = w.gate;
|
|
2949
3004
|
if (w.durationMs !== void 0) score.durationMs = w.durationMs;
|
|
2950
3005
|
if (w.provenance !== void 0) score.provenance = structuredClone(w.provenance);
|
|
2951
3006
|
return score;
|
|
@@ -3552,4 +3607,4 @@ async function finishSkillOptRun(context, result, outputDir, modelProxy) {
|
|
|
3552
3607
|
}
|
|
3553
3608
|
export { importExternalEvaluations as a, composeGate as c, readExternalOptimizerObservationArtifact as d, externalSurface as i, externalTextOptimizationMethod as l, compareOptimizationMethods as n, importGepaPopulation as o, gepaOptimizationMethod as r, heldOutGate as s, skillOptOptimizationMethod as t, decodeExternalTextCandidate as u };
|
|
3554
3609
|
|
|
3555
|
-
//# sourceMappingURL=skillopt-optimization-method-
|
|
3610
|
+
//# sourceMappingURL=skillopt-optimization-method-DHk1K757.js.map
|