@tangle-network/agent-eval 0.221.7 → 0.222.0
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 +146 -0
- package/dist/adapters/http.d.ts +3 -5
- package/dist/adapters/http.d.ts.map +1 -1
- package/dist/adapters/http.js +1 -2
- package/dist/{adversarial-smnADNFS.d.ts → adversarial-DnQQFqTR.d.ts} +1 -3
- package/dist/adversarial-DnQQFqTR.d.ts.map +1 -0
- package/dist/{agent-profile-CNmwfaqq.d.ts → agent-profile-CoD1Dotf.d.ts} +4 -10
- package/dist/agent-profile-CoD1Dotf.d.ts.map +1 -0
- package/dist/agent-profile-Dngk3LZ0.js +153 -0
- package/dist/agent-profile-Dngk3LZ0.js.map +1 -0
- package/dist/{agent-profile-cell-BcpFbNd5.d.ts → agent-profile-cell-3kYxUsK2.d.ts} +3 -5
- package/dist/agent-profile-cell-3kYxUsK2.d.ts.map +1 -0
- package/dist/{agent-profile-cell-B1V1gUZs.js → agent-profile-cell-CT5JYueM.js} +5 -7
- package/dist/{agent-profile-cell-B1V1gUZs.js.map → agent-profile-cell-CT5JYueM.js.map} +1 -1
- package/dist/{agreement-irr-BhAqjluA.js → agreement-irr-BTjDN0i6.js} +4 -5
- package/dist/{agreement-irr-BhAqjluA.js.map → agreement-irr-BTjDN0i6.js.map} +1 -1
- package/dist/analyst/index.d.ts +95 -159
- package/dist/analyst/index.d.ts.map +1 -1
- package/dist/analyst/index.js +28 -39
- package/dist/analyst/index.js.map +1 -1
- package/dist/{analyze-runs-DfX6dHP0.d.ts → analyze-runs-C-pP1sK9.d.ts} +7 -13
- package/dist/analyze-runs-C-pP1sK9.d.ts.map +1 -0
- package/dist/{analyze-runs-CHmsykNJ.js → analyze-runs-CTheASYV.js} +23 -32
- package/dist/{analyze-runs-CHmsykNJ.js.map → analyze-runs-CTheASYV.js.map} +1 -1
- package/dist/{attribute-vocabulary-CcXqHODT.d.ts → attribute-vocabulary-5oo8ykIx.d.ts} +2 -4
- package/dist/attribute-vocabulary-5oo8ykIx.d.ts.map +1 -0
- package/dist/authenticity/index.d.ts +0 -2
- package/dist/authenticity/index.d.ts.map +1 -1
- package/dist/authenticity/index.js +1 -2
- package/dist/{benchmark-command-Cnjfo0Zh.js → benchmark-command-jYWR2gya.js} +61 -94
- package/dist/benchmark-command-jYWR2gya.js.map +1 -0
- package/dist/benchmarks/index.d.ts +5 -15
- package/dist/benchmarks/index.d.ts.map +1 -1
- package/dist/benchmarks/index.js +27 -38
- package/dist/benchmarks/index.js.map +1 -1
- package/dist/{bounded-process-Cj9YjXbE.js → bounded-process-BZrWXIKW.js} +2 -3
- package/dist/{bounded-process-Cj9YjXbE.js.map → bounded-process-BZrWXIKW.js.map} +1 -1
- package/dist/builder-eval/index.d.ts +5 -14
- package/dist/builder-eval/index.d.ts.map +1 -1
- package/dist/builder-eval/index.js +11 -17
- package/dist/builder-eval/index.js.map +1 -1
- package/dist/{calibration-CTwxpJ-t.js → calibration-6usfVYYo.js} +4 -5
- package/dist/{calibration-CTwxpJ-t.js.map → calibration-6usfVYYo.js.map} +1 -1
- package/dist/campaign/index.d.ts +9 -9
- package/dist/campaign/index.js +15 -14
- package/dist/{campaign-uddTlFg5.js → campaign-ddr1N3yD.js} +61 -58
- package/dist/campaign-ddr1N3yD.js.map +1 -0
- package/dist/{campaign-evidence-DunzcJGv.js → campaign-evidence-DN8rWuBj.js} +20 -322
- package/dist/campaign-evidence-DN8rWuBj.js.map +1 -0
- package/dist/{canonical-Dq2hOQ8L.js → canonical-CicJlINA.js} +3 -4
- package/dist/{canonical-Dq2hOQ8L.js.map → canonical-CicJlINA.js.map} +1 -1
- package/dist/{canonical-CFpojCN5.d.ts → canonical-gLeHiqzd.d.ts} +2 -4
- package/dist/canonical-gLeHiqzd.d.ts.map +1 -0
- package/dist/{cell-spend-DEWR3nj-.js → cell-spend-zxmzg4GH.js} +3 -4
- package/dist/{cell-spend-DEWR3nj-.js.map → cell-spend-zxmzg4GH.js.map} +1 -1
- package/dist/{chat-client-BNATB3rJ.js → chat-client-CO3uB33i.js} +3 -4
- package/dist/{chat-client-BNATB3rJ.js.map → chat-client-CO3uB33i.js.map} +1 -1
- package/dist/{chat-json-call-BzWYp18J.js → chat-json-call-8yUv4LFO.js} +4 -5
- package/dist/{chat-json-call-BzWYp18J.js.map → chat-json-call-8yUv4LFO.js.map} +1 -1
- package/dist/{claim-BPVuyHuy.js → claim-Dod_mjk3.js} +5 -6
- package/dist/{claim-BPVuyHuy.js.map → claim-Dod_mjk3.js.map} +1 -1
- package/dist/cli.js +179 -23
- package/dist/cli.js.map +1 -1
- package/dist/{client-hwo3cJjR.d.ts → client-BIFwUg7I.d.ts} +6 -12
- package/dist/client-BIFwUg7I.d.ts.map +1 -0
- package/dist/{cluster-bootstrap-DEwwhl0C.js → cluster-bootstrap-SbaeM44s.js} +4 -5
- package/dist/{cluster-bootstrap-DEwwhl0C.js.map → cluster-bootstrap-SbaeM44s.js.map} +1 -1
- package/dist/completion-verifier-7KEfroqx.d.ts +168 -0
- package/dist/completion-verifier-7KEfroqx.d.ts.map +1 -0
- package/dist/{completion-verifier-asaV1nSj.js → completion-verifier-rqbMh5-4.js} +9 -160
- package/dist/completion-verifier-rqbMh5-4.js.map +1 -0
- package/dist/contract/index.d.ts +13 -13
- package/dist/contract/index.js +41 -60
- package/dist/contract/index.js.map +1 -1
- package/dist/{cost-ledger-BGZB6yY2.js → cost-ledger-CS8R3IZj.js} +10 -17
- package/dist/{cost-ledger-BGZB6yY2.js.map → cost-ledger-CS8R3IZj.js.map} +1 -1
- package/dist/{cost-ledger-C1W3ICmP.d.ts → cost-ledger-Czro9wmo.d.ts} +1 -5
- package/dist/cost-ledger-Czro9wmo.d.ts.map +1 -0
- package/dist/{dataset-DQqhOCPt.d.ts → dataset-DThC1S6G.d.ts} +1 -3
- package/dist/dataset-DThC1S6G.d.ts.map +1 -0
- package/dist/{decision-point-0nJubuoM.js → decision-point-lhMgODOR.js} +14 -18
- package/dist/{decision-point-0nJubuoM.js.map → decision-point-lhMgODOR.js.map} +1 -1
- package/dist/{deep-freeze-CurcOQg3.js → deep-freeze-CK8-2W7p.js} +2 -3
- package/dist/{deep-freeze-CurcOQg3.js.map → deep-freeze-CK8-2W7p.js.map} +1 -1
- package/dist/{default-registry-CLG5YqGS.d.ts → default-registry-B1DstPYg.d.ts} +53 -61
- package/dist/default-registry-B1DstPYg.d.ts.map +1 -0
- package/dist/{default-registry-BBTDgkDM.js → default-registry-C1tPEjZ4.js} +29 -45
- package/dist/{default-registry-BBTDgkDM.js.map → default-registry-C1tPEjZ4.js.map} +1 -1
- package/dist/{define-agent-eval-CCbT7Kfr.js → define-agent-eval-BLoP4Lf9.js} +15 -18
- package/dist/{define-agent-eval-CCbT7Kfr.js.map → define-agent-eval-BLoP4Lf9.js.map} +1 -1
- package/dist/{define-agent-eval-JKt3gMQr.d.ts → define-agent-eval-CAffiFbN.d.ts} +19 -27
- package/dist/define-agent-eval-CAffiFbN.d.ts.map +1 -0
- package/dist/{descriptive-CVNy48rR.js → descriptive-cPwITVfy.js} +30 -8
- package/dist/descriptive-cPwITVfy.js.map +1 -0
- package/dist/diagnosis/index.d.ts +5 -15
- package/dist/diagnosis/index.d.ts.map +1 -1
- package/dist/diagnosis/index.js +13 -19
- package/dist/diagnosis/index.js.map +1 -1
- package/dist/{dspy-rlm-engine-DN1p_5jx.js → dspy-rlm-engine-jDiWkul6.js} +7 -10
- package/dist/{dspy-rlm-engine-DN1p_5jx.js.map → dspy-rlm-engine-jDiWkul6.js.map} +1 -1
- package/dist/{emitter-DbMXUIVP.js → emitter-DhQ65mza.js} +3 -4
- package/dist/{emitter-DbMXUIVP.js.map → emitter-DhQ65mza.js.map} +1 -1
- package/dist/{emitter-DABYYTcH.d.ts → emitter-mAXC5PSN.d.ts} +3 -5
- package/dist/emitter-mAXC5PSN.d.ts.map +1 -0
- package/dist/{engine-dtRVeuQs.d.ts → engine-CaHaCc3W.d.ts} +10 -18
- package/dist/engine-CaHaCc3W.d.ts.map +1 -0
- package/dist/{equal-terms-DbPGcVtI.js → equal-terms-K11VHmR3.js} +3 -4
- package/dist/{equal-terms-DbPGcVtI.js.map → equal-terms-K11VHmR3.js.map} +1 -1
- package/dist/{errors-BcOs5MKW.js → errors-DeEEV9Vx.js} +2 -3
- package/dist/{errors-BcOs5MKW.js.map → errors-DeEEV9Vx.js.map} +1 -1
- package/dist/{errors-DEE6u6ot.d.ts → errors-E9I2hldP.d.ts} +1 -3
- package/dist/errors-E9I2hldP.d.ts.map +1 -0
- package/dist/{eval-campaign-DoX5vz3E.js → eval-campaign-Cgixrvf7.js} +8 -9
- package/dist/{eval-campaign-DoX5vz3E.js.map → eval-campaign-Cgixrvf7.js.map} +1 -1
- package/dist/{evaluation-wdGyZ7jV.js → evaluation-B8H3GYej.js} +4 -6
- package/dist/{evaluation-wdGyZ7jV.js.map → evaluation-B8H3GYej.js.map} +1 -1
- package/dist/{evaluation-DblGquCB.d.ts → evaluation-BPqUvZ66.d.ts} +4 -6
- package/dist/evaluation-BPqUvZ66.d.ts.map +1 -0
- package/dist/evaluation.d.ts +1 -1
- package/dist/evaluation.js +1 -2
- package/dist/{exact-types-Do63KoKn.d.ts → exact-types-D98BKpxo.d.ts} +8 -10
- package/dist/exact-types-D98BKpxo.d.ts.map +1 -0
- package/dist/{exec-CpbtOXVt.js → exec-C0_AkLUv.js} +3 -5
- package/dist/{exec-CpbtOXVt.js.map → exec-C0_AkLUv.js.map} +1 -1
- package/dist/{execution-tracks-CpgFPpS5.js → execution-tracks-DaDXYwAq.js} +2 -3
- package/dist/{execution-tracks-CpgFPpS5.js.map → execution-tracks-DaDXYwAq.js.map} +1 -1
- package/dist/experiment/index.d.ts +9 -37
- package/dist/experiment/index.d.ts.map +1 -1
- package/dist/experiment/index.js +29 -40
- package/dist/experiment/index.js.map +1 -1
- package/dist/{exporters-Dk3oEbK_.d.ts → exporters-B5Ze_RKh.d.ts} +4 -4
- package/dist/exporters-B5Ze_RKh.d.ts.map +1 -0
- package/dist/{exporters-DWvM16LE.js → exporters-ByLcILYU.js} +23 -5
- package/dist/exporters-ByLcILYU.js.map +1 -0
- package/dist/{external-optimizer-process-DEzJ2CGX.js → external-optimizer-process-BRVmaDFe.js} +5 -6
- package/dist/{external-optimizer-process-DEzJ2CGX.js.map → external-optimizer-process-BRVmaDFe.js.map} +1 -1
- package/dist/{external-optimizer-subprocess-B_ukPtRD.js → external-optimizer-subprocess-U616hV_l.js} +24 -37
- package/dist/{external-optimizer-subprocess-B_ukPtRD.js.map → external-optimizer-subprocess-U616hV_l.js.map} +1 -1
- package/dist/{extract-usage-BZLU01kR.js → extract-usage-ISFqhfDz.js} +2 -3
- package/dist/{extract-usage-BZLU01kR.js.map → extract-usage-ISFqhfDz.js.map} +1 -1
- package/dist/{failure-cluster-DN0t63Z0.d.ts → failure-cluster-DOoa7CBg.d.ts} +3 -7
- package/dist/failure-cluster-DOoa7CBg.d.ts.map +1 -0
- package/dist/{failure-taxonomy-Bx5oWqaW.js → failure-taxonomy-9eQfXKoW.js} +2 -3
- package/dist/{failure-taxonomy-Bx5oWqaW.js.map → failure-taxonomy-9eQfXKoW.js.map} +1 -1
- package/dist/{feedback-trajectory-CYVJXolG.d.ts → feedback-trajectory-SBGncrCP.d.ts} +7 -13
- package/dist/feedback-trajectory-SBGncrCP.d.ts.map +1 -0
- package/dist/{finding-composition-8n0fFgVI.js → finding-composition-DlvE1Qul.js} +4 -6
- package/dist/{finding-composition-8n0fFgVI.js.map → finding-composition-DlvE1Qul.js.map} +1 -1
- package/dist/{findings-store-Bg4sdS-e.js → findings-store-B75Dspaq.js} +11 -14
- package/dist/{findings-store-Bg4sdS-e.js.map → findings-store-B75Dspaq.js.map} +1 -1
- package/dist/fuzz.d.ts +3 -17
- package/dist/fuzz.d.ts.map +1 -1
- package/dist/fuzz.js +30 -29
- package/dist/fuzz.js.map +1 -1
- package/dist/{hf-dataset-CKxIJQba.js → hf-dataset-DPVQXW5n.js} +362 -21
- package/dist/hf-dataset-DPVQXW5n.js.map +1 -0
- package/dist/hosted/index.d.ts +2 -6
- package/dist/hosted/index.d.ts.map +1 -1
- package/dist/hosted/index.js +1 -2
- package/dist/{index-CalAsXMR.d.ts → index-B1Bm9oJA.d.ts} +3 -15
- package/dist/index-B1Bm9oJA.d.ts.map +1 -0
- package/dist/{index-CdEVr8-O.d.ts → index-B7v2QHlD.d.ts} +24 -299
- package/dist/index-B7v2QHlD.d.ts.map +1 -0
- package/dist/{index-CTIRz-AB.d.ts → index-CUjeTDPv.d.ts} +14 -36
- package/dist/index-CUjeTDPv.d.ts.map +1 -0
- package/dist/{index-CfJULcW5.d.ts → index-DAk2quYu.d.ts} +18 -38
- package/dist/index-DAk2quYu.d.ts.map +1 -0
- package/dist/{index-D7fmC-1K.d.ts → index-DUn0GNiZ.d.ts} +183 -36
- package/dist/index-DUn0GNiZ.d.ts.map +1 -0
- package/dist/{index-CHxwfW5g.d.ts → index-DwUGehqX.d.ts} +3 -9
- package/dist/index-DwUGehqX.d.ts.map +1 -0
- package/dist/{index-jnuFLxOs.d.ts → index-aDPVYBIM.d.ts} +11 -39
- package/dist/index-aDPVYBIM.d.ts.map +1 -0
- package/dist/index.d.ts +55 -188
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +122 -195
- package/dist/index.js.map +1 -1
- package/dist/{integrity-D-s2iHiT.js → integrity-B1V6klyO.js} +12 -363
- package/dist/integrity-B1V6klyO.js.map +1 -0
- package/dist/{integrity-D9lBnv_K.d.ts → integrity-BAdVzT8u.d.ts} +4 -6
- package/dist/integrity-BAdVzT8u.d.ts.map +1 -0
- package/dist/{integrity-W4CADcFc.js → integrity-DOHt1mwU.js} +3 -4
- package/dist/{integrity-W4CADcFc.js.map → integrity-DOHt1mwU.js.map} +1 -1
- package/dist/{internal-BTK91Bqt.js → internal-v6XfOeJW.js} +6 -8
- package/dist/{internal-BTK91Bqt.js.map → internal-v6XfOeJW.js.map} +1 -1
- package/dist/{interval-Dq9gt7jx.js → interval-Bd2f4CRT.js} +6 -8
- package/dist/{interval-Dq9gt7jx.js.map → interval-Bd2f4CRT.js.map} +1 -1
- package/dist/{interval-ohuOJurX.d.ts → interval-CWyxqDpE.d.ts} +1 -5
- package/dist/interval-CWyxqDpE.d.ts.map +1 -0
- package/dist/{journal-C7om8Gum.js → journal-C1uLJi0w.js} +115 -121
- package/dist/{journal-C7om8Gum.js.map → journal-C1uLJi0w.js.map} +1 -1
- package/dist/{json-BhdsJaOQ.js → json-DtvZNAU9.js} +4 -6
- package/dist/{json-BhdsJaOQ.js.map → json-DtvZNAU9.js.map} +1 -1
- package/dist/json-recovery-DK4MDm5r.js +296 -0
- package/dist/json-recovery-DK4MDm5r.js.map +1 -0
- package/dist/{judge-calibration-BkXMIWA4.js → judge-calibration-DGqlfWW8.js} +5 -6
- package/dist/{judge-calibration-BkXMIWA4.js.map → judge-calibration-DGqlfWW8.js.map} +1 -1
- package/dist/{judge-calibration-DFtEMlde.d.ts → judge-calibration-DnrbQaXI.d.ts} +1 -3
- package/dist/judge-calibration-DnrbQaXI.d.ts.map +1 -0
- package/dist/{judge-gate-BVvmP00P.js → judge-gate-C2BCOt-M.js} +8 -12
- package/dist/{judge-gate-BVvmP00P.js.map → judge-gate-C2BCOt-M.js.map} +1 -1
- package/dist/judges-BLxg5p8E.js +20 -0
- package/dist/judges-BLxg5p8E.js.map +1 -0
- package/dist/{kind-factory-Dl0PmNQL.js → kind-factory-VKysp1ds.js} +23 -39
- package/dist/{kind-factory-Dl0PmNQL.js.map → kind-factory-VKysp1ds.js.map} +1 -1
- package/dist/ledger-core/index.d.ts +2 -2
- package/dist/ledger-core/index.js +3 -3
- package/dist/ledger-core/lock-holder.d.ts +1 -1
- package/dist/ledger-core/lock-holder.js +1 -2
- package/dist/{ledger-core-CAxUdDk0.js → ledger-core-CfT-FzPf.js} +5 -6
- package/dist/{ledger-core-CAxUdDk0.js.map → ledger-core-CfT-FzPf.js.map} +1 -1
- package/dist/{llm-client-b1ysZVIU.js → llm-client-kJ9EOqjt.js} +22 -30
- package/dist/{llm-client-b1ysZVIU.js.map → llm-client-kJ9EOqjt.js.map} +1 -1
- package/dist/{llm-judge-Cybq29bL.js → llm-judge-cgbhTKQp.js} +108 -164
- package/dist/llm-judge-cgbhTKQp.js.map +1 -0
- package/dist/{lock-holder-DaJbfpci.d.ts → lock-holder-DoxlZFkQ.d.ts} +1 -3
- package/dist/lock-holder-DoxlZFkQ.d.ts.map +1 -0
- package/dist/matrix/index.d.ts +3 -3
- package/dist/matrix/index.js +2 -2
- package/dist/{matrix-DtkZLD_3.d.ts → matrix-CBUzIZs4.d.ts} +4 -12
- package/dist/matrix-CBUzIZs4.d.ts.map +1 -0
- package/dist/{matrix-B8l-Nsxd.js → matrix-CgpX8wdm.js} +8 -13
- package/dist/matrix-CgpX8wdm.js.map +1 -0
- package/dist/{mean-BbA_JCzW.js → mean-CdDYG-us.js} +6 -9
- package/dist/{mean-BbA_JCzW.js.map → mean-CdDYG-us.js.map} +1 -1
- package/dist/meta-eval/index.d.ts +3 -3
- package/dist/meta-eval/index.js +17 -21
- package/dist/meta-eval/index.js.map +1 -1
- package/dist/{metrics-BKaPBtIG.js → metrics-DNCAUtuB.js} +2 -3
- package/dist/{metrics-BKaPBtIG.js.map → metrics-DNCAUtuB.js.map} +1 -1
- package/dist/{mint-CbdwjTPW.js → mint-D9ZysYtY.js} +7 -8
- package/dist/{mint-CbdwjTPW.js.map → mint-D9ZysYtY.js.map} +1 -1
- package/dist/{multi-layer-verifier-DEgMUk6v.d.ts → multi-layer-verifier-lM4aVN78.d.ts} +2 -4
- package/dist/multi-layer-verifier-lM4aVN78.d.ts.map +1 -0
- package/dist/{multiplicity-Sg0U7h8j.js → multiplicity-DAd4xaDC.js} +3 -4
- package/dist/{multiplicity-Sg0U7h8j.js.map → multiplicity-DAd4xaDC.js.map} +1 -1
- package/dist/{multiplicity-DIWHvysC.d.ts → multiplicity-D_SEsc5j.d.ts} +1 -3
- package/dist/multiplicity-D_SEsc5j.d.ts.map +1 -0
- package/dist/multishot/golden/index.d.ts +1 -17
- package/dist/multishot/golden/index.d.ts.map +1 -1
- package/dist/multishot/golden/index.js +10 -17
- package/dist/multishot/golden/index.js.map +1 -1
- package/dist/multishot/index.d.ts +2 -10
- package/dist/multishot/index.d.ts.map +1 -1
- package/dist/multishot/index.js +11 -18
- package/dist/multishot/index.js.map +1 -1
- package/dist/{nonnegative-number-DvdMxg_f.js → nonnegative-number-lEYbOsuh.js} +2 -3
- package/dist/{nonnegative-number-DvdMxg_f.js.map → nonnegative-number-lEYbOsuh.js.map} +1 -1
- package/dist/openapi.json +1 -1
- package/dist/{otel-spans-CdN909k1.js → otel-spans-BsGzTWIK.js} +5 -6
- package/dist/{otel-spans-CdN909k1.js.map → otel-spans-BsGzTWIK.js.map} +1 -1
- package/dist/{otlp-attributes-D9ptWaIJ.js → otlp-attributes-Boeb7gtH.js} +2 -3
- package/dist/{otlp-attributes-D9ptWaIJ.js.map → otlp-attributes-Boeb7gtH.js.map} +1 -1
- package/dist/{outcome-observations-FLmRpgYa.js → outcome-observations-D4snOtUb.js} +4 -5
- package/dist/{outcome-observations-FLmRpgYa.js.map → outcome-observations-D4snOtUb.js.map} +1 -1
- package/dist/{outcome-store-DUcMj-3D.js → outcome-store-TarrcfHG.js} +2 -3
- package/dist/{outcome-store-DUcMj-3D.js.map → outcome-store-TarrcfHG.js.map} +1 -1
- package/dist/{package-version-D7lQHt_-.js → package-version-CJl_pY9W.js} +2 -3
- package/dist/{package-version-D7lQHt_-.js.map → package-version-CJl_pY9W.js.map} +1 -1
- package/dist/{paired-arms-B2ttLc0_.js → paired-arms-D-54hO-k.js} +10 -14
- package/dist/{paired-arms-B2ttLc0_.js.map → paired-arms-D-54hO-k.js.map} +1 -1
- package/dist/{paired-binary-B_nejA44.js → paired-binary-BR0nwHOA.js} +3 -4
- package/dist/{paired-binary-B_nejA44.js.map → paired-binary-BR0nwHOA.js.map} +1 -1
- package/dist/{paired-promotion-decision-CQMJ5xGN.d.ts → paired-promotion-decision-BDnqepZ1.d.ts} +1 -5
- package/dist/paired-promotion-decision-BDnqepZ1.d.ts.map +1 -0
- package/dist/{paired-promotion-decision-D0SHb-ZL.js → paired-promotion-decision-FGvHA4p_.js} +5 -7
- package/dist/{paired-promotion-decision-D0SHb-ZL.js.map → paired-promotion-decision-FGvHA4p_.js.map} +1 -1
- package/dist/{pareto-BiBnQXAE.js → pareto-B9udAt2i.js} +28 -50
- package/dist/pareto-B9udAt2i.js.map +1 -0
- package/dist/pipelines/index.d.ts +5 -11
- package/dist/pipelines/index.d.ts.map +1 -1
- package/dist/pipelines/index.js +6 -8
- package/dist/pipelines/index.js.map +1 -1
- package/dist/{power-and-mde-CQX-0weG.js → power-and-mde-ClI6RWw4.js} +4 -5
- package/dist/{power-and-mde-CQX-0weG.js.map → power-and-mde-ClI6RWw4.js.map} +1 -1
- package/dist/{predicate-FdKmElA_.js → predicate-BYHA4MBn.js} +2 -3
- package/dist/{predicate-FdKmElA_.js.map → predicate-BYHA4MBn.js.map} +1 -1
- package/dist/{prime-bridge-transport-6feEglLf.d.ts → prime-bridge-transport-Cfqir_Im.d.ts} +1 -3
- package/dist/prime-bridge-transport-Cfqir_Im.d.ts.map +1 -0
- package/dist/{prime-bridge-transport-Z3cpKGoV.js → prime-bridge-transport-Csd5SQg7.js} +2 -3
- package/dist/{prime-bridge-transport-Z3cpKGoV.js.map → prime-bridge-transport-Csd5SQg7.js.map} +1 -1
- package/dist/{prime-protocol-BGxjfhM4.d.ts → prime-protocol-COFkxas6.d.ts} +4 -8
- package/dist/prime-protocol-COFkxas6.d.ts.map +1 -0
- package/dist/{prime-protocol-BFgGrEMP.js → prime-protocol-CrhpXRz9.js} +4 -6
- package/dist/{prime-protocol-BFgGrEMP.js.map → prime-protocol-CrhpXRz9.js.map} +1 -1
- package/dist/profile-cell.d.ts +1 -1
- package/dist/profile-cell.js +1 -2
- package/dist/{promotion-gate-CkVZHagC.d.ts → promotion-gate-CixshGI8.d.ts} +5 -11
- package/dist/promotion-gate-CixshGI8.d.ts.map +1 -0
- package/dist/{promotion-policy-6A8osGr_.js → promotion-policy-CBYeD4zi.js} +5 -6
- package/dist/{promotion-policy-6A8osGr_.js.map → promotion-policy-CBYeD4zi.js.map} +1 -1
- package/dist/{proposal-findings-DqLUWsAG.js → proposal-findings-WFQrxnfe.js} +3 -4
- package/dist/{proposal-findings-DqLUWsAG.js.map → proposal-findings-WFQrxnfe.js.map} +1 -1
- package/dist/{quantile--0yb07pD.js → quantile-CncXP-Ss.js} +2 -3
- package/dist/{quantile--0yb07pD.js.map → quantile-CncXP-Ss.js.map} +1 -1
- package/dist/{query-B_RZ36an.js → query-CGXzO9d4.js} +5 -6
- package/dist/{query-B_RZ36an.js.map → query-CGXzO9d4.js.map} +1 -1
- package/dist/{query-Cmv_U8vf.d.ts → query-UD0B08Sb.d.ts} +4 -6
- package/dist/query-UD0B08Sb.d.ts.map +1 -0
- package/dist/{random-DGEyr3zG.d.ts → random-BN150Q_X.d.ts} +1 -5
- package/dist/random-BN150Q_X.d.ts.map +1 -0
- package/dist/{random-DDDcC7YU.js → random-DrzcgC7F.js} +3 -4
- package/dist/{random-DDDcC7YU.js.map → random-DrzcgC7F.js.map} +1 -1
- package/dist/{raw-provider-sink-75w4FWBj.js → raw-provider-sink-DDLkP_eF.js} +3 -4
- package/dist/{raw-provider-sink-75w4FWBj.js.map → raw-provider-sink-DDLkP_eF.js.map} +1 -1
- package/dist/{record-id-DUgsK5qp.js → record-id-CWZXFh58.js} +2 -3
- package/dist/{record-id-DUgsK5qp.js.map → record-id-CWZXFh58.js.map} +1 -1
- package/dist/{redact-DXdlFb_U.d.ts → redact-C_wzC4c_.d.ts} +1 -3
- package/dist/redact-C_wzC4c_.d.ts.map +1 -0
- package/dist/{redact-mtkTiJVk.js → redact-D6APJS1d.js} +3 -5
- package/dist/{redact-mtkTiJVk.js.map → redact-D6APJS1d.js.map} +1 -1
- package/dist/{registry-BcdJmyoU.d.ts → registry-dhdDoAV8.d.ts} +5 -11
- package/dist/registry-dhdDoAV8.d.ts.map +1 -0
- package/dist/{release-confidence-CYIFH-fp.js → release-confidence-CTUJz5mM.js} +10 -16
- package/dist/release-confidence-CTUJz5mM.js.map +1 -0
- package/dist/{render-BhJqXoBH.js → render-pfAZ7IR4.js} +266 -33
- package/dist/render-pfAZ7IR4.js.map +1 -0
- package/dist/{reporting-html-Kvlc8oMt.js → reporting-html-DMXIjATy.js} +2 -3
- package/dist/{reporting-html-Kvlc8oMt.js.map → reporting-html-DMXIjATy.js.map} +1 -1
- package/dist/reporting.d.ts +6 -6
- package/dist/reporting.js +7 -7
- package/dist/{researcher-DKWtoMWk.d.ts → researcher-CLnNJ7Or.d.ts} +8 -12
- package/dist/researcher-CLnNJ7Or.d.ts.map +1 -0
- package/dist/{reward-nw2xZGZG.js → reward-P0VD_Aft.js} +2 -3
- package/dist/{reward-nw2xZGZG.js.map → reward-P0VD_Aft.js.map} +1 -1
- package/dist/{reward-BeUgVVC_.d.ts → reward-ST4PXNXF.d.ts} +2 -4
- package/dist/reward-ST4PXNXF.d.ts.map +1 -0
- package/dist/{reward-hacking-WTxUbtbb.d.ts → reward-hacking-C9hPVT0Q.d.ts} +4 -8
- package/dist/reward-hacking-C9hPVT0Q.d.ts.map +1 -0
- package/dist/{reward-hacking-ByuETaIb.js → reward-hacking-DZzHZlS1.js} +5 -7
- package/dist/{reward-hacking-ByuETaIb.js.map → reward-hacking-DZzHZlS1.js.map} +1 -1
- package/dist/rl.d.ts +26 -63
- package/dist/rl.d.ts.map +1 -1
- package/dist/rl.js +35 -52
- package/dist/rl.js.map +1 -1
- package/dist/{rolldown-runtime-8H4AJuhK.js → rolldown-runtime-BJohB4LM.js} +1 -2
- package/dist/rollout/index.d.ts +6 -6
- package/dist/rollout/index.js +7 -7
- package/dist/{rollout-Dd1ucT_M.js → rollout-BhkMpAJT.js} +279 -16
- package/dist/rollout-BhkMpAJT.js.map +1 -0
- package/dist/{terminal-record-CB9BFtjS.js → rollout-nodes-BHR9Q5jP.js} +351 -11
- package/dist/rollout-nodes-BHR9Q5jP.js.map +1 -0
- package/dist/{round-decimal-COrKglMh.js → round-decimal-ZmjAQPo1.js} +2 -3
- package/dist/{round-decimal-COrKglMh.js.map → round-decimal-ZmjAQPo1.js.map} +1 -1
- package/dist/{rubric-predictive-validity-Cd5SCtAf.d.ts → rubric-predictive-validity-B3RzbwOx.d.ts} +2 -8
- package/dist/rubric-predictive-validity-B3RzbwOx.d.ts.map +1 -0
- package/dist/{rubric-predictive-validity-CeKW2GQN.js → rubric-predictive-validity-CQp_M0vy.js} +3 -4
- package/dist/{rubric-predictive-validity-CeKW2GQN.js.map → rubric-predictive-validity-CQp_M0vy.js.map} +1 -1
- package/dist/{run-record-CysKLB93.js → run-record-CZy4-TnZ.js} +4 -5
- package/dist/{run-record-CysKLB93.js.map → run-record-CZy4-TnZ.js.map} +1 -1
- package/dist/{run-record-C3awiXPf.d.ts → run-record-D2BFMPGl.d.ts} +5 -7
- package/dist/run-record-D2BFMPGl.d.ts.map +1 -0
- package/dist/{run-record-DhEJgoPz.js → run-record-DEjx43cI.js} +6 -7
- package/dist/{run-record-DhEJgoPz.js.map → run-record-DEjx43cI.js.map} +1 -1
- package/dist/{sandbox-harness-BlSOu4LX.d.ts → sandbox-harness-B3Kx1fOA.d.ts} +1 -3
- package/dist/sandbox-harness-B3Kx1fOA.d.ts.map +1 -0
- package/dist/{schema-D6EVKzTB.d.ts → schema-CkIvnmLU.d.ts} +2 -43
- package/dist/schema-CkIvnmLU.d.ts.map +1 -0
- package/dist/{schema-Bt2vLFm3.js → schema-D-xu3MU_.js} +2 -3
- package/dist/{schema-Bt2vLFm3.js.map → schema-D-xu3MU_.js.map} +1 -1
- package/dist/{schema-C-ziyJD7.d.ts → schema-DkFJr3Y8.d.ts} +111 -48
- package/dist/schema-DkFJr3Y8.d.ts.map +1 -0
- package/dist/{schema-CvhfLjtZ.js → schema-YUIXT8iW.js} +37 -7
- package/dist/schema-YUIXT8iW.js.map +1 -0
- package/dist/search/index.d.ts +3 -35
- package/dist/search/index.d.ts.map +1 -1
- package/dist/search/index.js +4 -5
- package/dist/{search-kernel-CctpiDd2.d.ts → search-kernel-CBdwFZ05.d.ts} +10 -36
- package/dist/search-kernel-CBdwFZ05.d.ts.map +1 -0
- package/dist/{search-ledger-CZRqtFbW.js → search-ledger-BsVi-Ngv.js} +17 -26
- package/dist/{search-ledger-CZRqtFbW.js.map → search-ledger-BsVi-Ngv.js.map} +1 -1
- package/dist/{search-ledger-file-Bd5Tioq6.js → search-ledger-file-DTBD6X-y.js} +6 -8
- package/dist/{search-ledger-file-Bd5Tioq6.js.map → search-ledger-file-DTBD6X-y.js.map} +1 -1
- package/dist/{search-ledger-types-p2xKfiDJ.d.ts → search-ledger-types-qiYRUo_N.d.ts} +5 -9
- package/dist/search-ledger-types-qiYRUo_N.d.ts.map +1 -0
- package/dist/{search-shipper-Dn3NLsuH.js → search-shipper-pdg4viK7.js} +8 -13
- package/dist/{search-shipper-Dn3NLsuH.js.map → search-shipper-pdg4viK7.js.map} +1 -1
- package/dist/{search-summary-D4bwYnAE.js → search-summary-Ct7SrmVc.js} +6 -7
- package/dist/{search-summary-D4bwYnAE.js.map → search-summary-Ct7SrmVc.js.map} +1 -1
- package/dist/{sequential-CimQrbjv.js → sequential-B1I0tRfL.js} +6 -7
- package/dist/{sequential-CimQrbjv.js.map → sequential-B1I0tRfL.js.map} +1 -1
- package/dist/{sequential-KwGspfeR.d.ts → sequential-Bb_pdTqG.d.ts} +1 -3
- package/dist/sequential-Bb_pdTqG.d.ts.map +1 -0
- package/dist/{sequential-BVv1sjsw.js → sequential-Bjs5roiK.js} +2 -3
- package/dist/{sequential-BVv1sjsw.js.map → sequential-Bjs5roiK.js.map} +1 -1
- package/dist/{sequential-eprocess-DodI6RoF.js → sequential-eprocess-C1YLwFaz.js} +3 -4
- package/dist/{sequential-eprocess-DodI6RoF.js.map → sequential-eprocess-C1YLwFaz.js.map} +1 -1
- package/dist/{server-ChhXPCgX.js → server-DA6h3co5.js} +11 -17
- package/dist/{server-ChhXPCgX.js.map → server-DA6h3co5.js.map} +1 -1
- package/dist/{single-run-lock-Dekd8_Wv.js → single-run-lock-BGlW3OSk.js} +3 -4
- package/dist/{single-run-lock-Dekd8_Wv.js.map → single-run-lock-BGlW3OSk.js.map} +1 -1
- package/dist/{skillopt-optimization-method-sB_-yi1G.js → skillopt-optimization-method-qB1M554K.js} +38 -57
- package/dist/{skillopt-optimization-method-sB_-yi1G.js.map → skillopt-optimization-method-qB1M554K.js.map} +1 -1
- package/dist/{spans-CVngGij3.d.ts → spans-vZoW__3q.d.ts} +2 -4
- package/dist/spans-vZoW__3q.d.ts.map +1 -0
- package/dist/{statistical-heldout-BjzSOmLH.d.ts → statistical-heldout-Cei036nE.d.ts} +9 -37
- package/dist/statistical-heldout-Cei036nE.d.ts.map +1 -0
- package/dist/{statistical-heldout-Bksv92Th.js → statistical-heldout-TP6ndL0B.js} +4 -5
- package/dist/{statistical-heldout-Bksv92Th.js.map → statistical-heldout-TP6ndL0B.js.map} +1 -1
- package/dist/{steps-DlepJPwD.d.ts → steps-B8fYY_Vo.d.ts} +1 -3
- package/dist/steps-B8fYY_Vo.d.ts.map +1 -0
- package/dist/{store-B3nWRy3B.d.ts → store-CMs5wGXP.d.ts} +2 -4
- package/dist/store-CMs5wGXP.d.ts.map +1 -0
- package/dist/{store-BhNuLdJw.js → store-ZykIyQmy.js} +2 -3
- package/dist/{store-BhNuLdJw.js.map → store-ZykIyQmy.js.map} +1 -1
- package/dist/{store-otlp-CFf27E8_.js → store-otlp-DmLm65XW.js} +8 -13
- package/dist/{store-otlp-CFf27E8_.js.map → store-otlp-DmLm65XW.js.map} +1 -1
- package/dist/{store-tool-spans-DxsFwtdr.d.ts → store-tool-spans-B3i3fl0A.d.ts} +11 -29
- package/dist/store-tool-spans-B3i3fl0A.d.ts.map +1 -0
- package/dist/{store-tool-spans-BK_8FjGG.js → store-tool-spans-C2g8UYm-.js} +17 -41
- package/dist/{store-tool-spans-BK_8FjGG.js.map → store-tool-spans-C2g8UYm-.js.map} +1 -1
- package/dist/storyboard/index.d.ts +1 -5
- package/dist/storyboard/index.d.ts.map +1 -1
- package/dist/storyboard/index.js +3 -5
- package/dist/storyboard/index.js.map +1 -1
- package/dist/{summary-report-C8V49Jt3.d.ts → summary-report-0La5vejY.d.ts} +5 -13
- package/dist/summary-report-0La5vejY.d.ts.map +1 -0
- package/dist/{summary-report-DHDWxe6p.js → summary-report-CPfsrLac.js} +21 -30
- package/dist/summary-report-CPfsrLac.js.map +1 -0
- package/dist/supervisor-run/index.d.ts +30 -29
- package/dist/supervisor-run/index.d.ts.map +1 -1
- package/dist/supervisor-run/index.js +6 -7
- package/dist/{systemone-CHnqwmYg.d.ts → systemone-Cw2txK5m.d.ts} +12 -24
- package/dist/systemone-Cw2txK5m.d.ts.map +1 -0
- package/dist/{systemone-protocol-Bl2EI2KQ.d.ts → systemone-protocol-C4t7JH4Y.d.ts} +1 -3
- package/dist/systemone-protocol-C4t7JH4Y.d.ts.map +1 -0
- package/dist/systemone-protocol.d.ts +1 -1
- package/dist/systemone-protocol.js +2 -3
- package/dist/{systemone-review-cQ9acAsb.d.ts → systemone-review-BLgxt-4Q.d.ts} +8 -10
- package/dist/systemone-review-BLgxt-4Q.d.ts.map +1 -0
- package/dist/{systemone-review-DFGtIUcf.js → systemone-review-S49gsy_y.js} +5 -6
- package/dist/{systemone-review-DFGtIUcf.js.map → systemone-review-S49gsy_y.js.map} +1 -1
- package/dist/systemone.d.ts +4 -4
- package/dist/systemone.js +3 -3
- package/dist/{task-failure-attributes-BMsblaDh.js → task-failure-attributes-CC6VuIpk.js} +12 -11
- package/dist/task-failure-attributes-CC6VuIpk.js.map +1 -0
- package/dist/{tool-groups-b3oU_D88.d.ts → tool-groups-C3K-d3gd.d.ts} +3 -5
- package/dist/tool-groups-C3K-d3gd.d.ts.map +1 -0
- package/dist/{tool-waste-CkjzWmeY.d.ts → tool-waste-BFG1vwTV.d.ts} +4 -16
- package/dist/tool-waste-BFG1vwTV.d.ts.map +1 -0
- package/dist/{tool-waste-DLsjS_p-.js → tool-waste-CLJ46AbT.js} +10 -26
- package/dist/{tool-waste-DLsjS_p-.js.map → tool-waste-CLJ46AbT.js.map} +1 -1
- package/dist/trace-attributes.d.ts +1 -1
- package/dist/trace-attributes.js +1 -2
- package/dist/{trace-questions-BmT8M6UQ.d.ts → trace-questions-ej5AEJ5X.d.ts} +4 -6
- package/dist/trace-questions-ej5AEJ5X.d.ts.map +1 -0
- package/dist/trace-repair/index.d.ts +46 -92
- package/dist/trace-repair/index.d.ts.map +1 -1
- package/dist/trace-repair/index.js +32 -54
- package/dist/trace-repair/index.js.map +1 -1
- package/dist/traces.d.ts +13 -29
- package/dist/traces.d.ts.map +1 -1
- package/dist/traces.js +18 -22
- package/dist/traces.js.map +1 -1
- package/dist/{trajectory-D_7rLrvE.js → trajectory-O3GDHmev.js} +2 -3
- package/dist/{trajectory-D_7rLrvE.js.map → trajectory-O3GDHmev.js.map} +1 -1
- package/dist/trajectory-replay/index.d.ts +2 -22
- package/dist/trajectory-replay/index.d.ts.map +1 -1
- package/dist/trajectory-replay/index.js +19 -30
- package/dist/trajectory-replay/index.js.map +1 -1
- package/dist/{tree-DSqwJpL9.js → tree-DrIChF4a.js} +39 -68
- package/dist/{tree-DSqwJpL9.js.map → tree-DrIChF4a.js.map} +1 -1
- package/dist/{types-B_IFcKp5.d.ts → types-0KglnQ9o.d.ts} +3 -15
- package/dist/types-0KglnQ9o.d.ts.map +1 -0
- package/dist/{types-DZ0mYVw9.d.ts → types-0oMg7zee.d.ts} +3 -5
- package/dist/types-0oMg7zee.d.ts.map +1 -0
- package/dist/{types-CnWmj8NW.js → types-BK0blWhe.js} +3 -4
- package/dist/{types-CnWmj8NW.js.map → types-BK0blWhe.js.map} +1 -1
- package/dist/{types-CmXY0PQf.d.ts → types-C-aOqgt2.d.ts} +2 -5
- package/dist/types-C-aOqgt2.d.ts.map +1 -0
- package/dist/{types-M6eF9m-r.d.ts → types-C54Uk_a1.d.ts} +84 -24
- package/dist/types-C54Uk_a1.d.ts.map +1 -0
- package/dist/{types-BXgASBCL.js → types-DK4vNv5q.js} +2 -3
- package/dist/{types-BXgASBCL.js.map → types-DK4vNv5q.js.map} +1 -1
- package/dist/{types-6Lfdlshp.d.ts → types-DzCO-S1m.d.ts} +50 -62
- package/dist/types-DzCO-S1m.d.ts.map +1 -0
- package/dist/{verdict-BGQmxQ8A.js → verdict-C8TcdwfD.js} +3 -4
- package/dist/{verdict-BGQmxQ8A.js.map → verdict-C8TcdwfD.js.map} +1 -1
- package/dist/{verdict-C24NELtN.d.ts → verdict-D_qiBQ6_.d.ts} +1 -5
- package/dist/verdict-D_qiBQ6_.d.ts.map +1 -0
- package/dist/{verdict-cache-CL_7tePD.js → verdict-cache-BVH-fl18.js} +3 -4
- package/dist/{verdict-cache-CL_7tePD.js.map → verdict-cache-BVH-fl18.js.map} +1 -1
- package/dist/wire/index.d.ts +43 -51
- package/dist/wire/index.d.ts.map +1 -1
- package/dist/wire/index.js +1 -2
- package/docs/concepts.md +1 -0
- package/docs/eval-surface-map.md +15 -0
- package/docs/rollout.md +132 -6
- package/package.json +18 -18
- package/dist/adversarial-smnADNFS.d.ts.map +0 -1
- package/dist/agent-profile-CNmwfaqq.d.ts.map +0 -1
- package/dist/agent-profile-cell-BcpFbNd5.d.ts.map +0 -1
- package/dist/analyze-runs-DfX6dHP0.d.ts.map +0 -1
- package/dist/attribute-vocabulary-CcXqHODT.d.ts.map +0 -1
- package/dist/benchmark-command-Cnjfo0Zh.js.map +0 -1
- package/dist/campaign-evidence-DunzcJGv.js.map +0 -1
- package/dist/campaign-uddTlFg5.js.map +0 -1
- package/dist/canonical-CFpojCN5.d.ts.map +0 -1
- package/dist/client-hwo3cJjR.d.ts.map +0 -1
- package/dist/completion-verifier-asaV1nSj.js.map +0 -1
- package/dist/cost-ledger-C1W3ICmP.d.ts.map +0 -1
- package/dist/dataset-DQqhOCPt.d.ts.map +0 -1
- package/dist/default-registry-CLG5YqGS.d.ts.map +0 -1
- package/dist/define-agent-eval-JKt3gMQr.d.ts.map +0 -1
- package/dist/descriptive-B2iPaT9J.d.ts +0 -89
- package/dist/descriptive-B2iPaT9J.d.ts.map +0 -1
- package/dist/descriptive-CVNy48rR.js.map +0 -1
- package/dist/emitter-DABYYTcH.d.ts.map +0 -1
- package/dist/engine-dtRVeuQs.d.ts.map +0 -1
- package/dist/errors-DEE6u6ot.d.ts.map +0 -1
- package/dist/evaluation-DblGquCB.d.ts.map +0 -1
- package/dist/exact-types-Do63KoKn.d.ts.map +0 -1
- package/dist/exporters-DWvM16LE.js.map +0 -1
- package/dist/exporters-Dk3oEbK_.d.ts.map +0 -1
- package/dist/failure-cluster-DN0t63Z0.d.ts.map +0 -1
- package/dist/feedback-trajectory-CYVJXolG.d.ts.map +0 -1
- package/dist/hf-dataset-CKxIJQba.js.map +0 -1
- package/dist/index-CHxwfW5g.d.ts.map +0 -1
- package/dist/index-CTIRz-AB.d.ts.map +0 -1
- package/dist/index-CalAsXMR.d.ts.map +0 -1
- package/dist/index-CdEVr8-O.d.ts.map +0 -1
- package/dist/index-CfJULcW5.d.ts.map +0 -1
- package/dist/index-D7fmC-1K.d.ts.map +0 -1
- package/dist/index-jnuFLxOs.d.ts.map +0 -1
- package/dist/integrity-D-s2iHiT.js.map +0 -1
- package/dist/integrity-D9lBnv_K.d.ts.map +0 -1
- package/dist/interval-ohuOJurX.d.ts.map +0 -1
- package/dist/judge-calibration-DFtEMlde.d.ts.map +0 -1
- package/dist/llm-judge-Cybq29bL.js.map +0 -1
- package/dist/lock-holder-DaJbfpci.d.ts.map +0 -1
- package/dist/matrix-B8l-Nsxd.js.map +0 -1
- package/dist/matrix-DtkZLD_3.d.ts.map +0 -1
- package/dist/mint-CkzpVPdz.d.ts +0 -81
- package/dist/mint-CkzpVPdz.d.ts.map +0 -1
- package/dist/multi-layer-verifier-DEgMUk6v.d.ts.map +0 -1
- package/dist/multiplicity-DIWHvysC.d.ts.map +0 -1
- package/dist/paired-promotion-decision-CQMJ5xGN.d.ts.map +0 -1
- package/dist/pareto-BiBnQXAE.js.map +0 -1
- package/dist/prime-bridge-transport-6feEglLf.d.ts.map +0 -1
- package/dist/prime-protocol-BGxjfhM4.d.ts.map +0 -1
- package/dist/promotion-gate-CkVZHagC.d.ts.map +0 -1
- package/dist/query-Cmv_U8vf.d.ts.map +0 -1
- package/dist/random-DGEyr3zG.d.ts.map +0 -1
- package/dist/redact-DXdlFb_U.d.ts.map +0 -1
- package/dist/registry-BcdJmyoU.d.ts.map +0 -1
- package/dist/release-confidence-CYIFH-fp.js.map +0 -1
- package/dist/render-BhJqXoBH.js.map +0 -1
- package/dist/researcher-DKWtoMWk.d.ts.map +0 -1
- package/dist/reward-BeUgVVC_.d.ts.map +0 -1
- package/dist/reward-hacking-WTxUbtbb.d.ts.map +0 -1
- package/dist/rollout-Dd1ucT_M.js.map +0 -1
- package/dist/rubric-predictive-validity-Cd5SCtAf.d.ts.map +0 -1
- package/dist/run-record-C3awiXPf.d.ts.map +0 -1
- package/dist/sandbox-harness-BlSOu4LX.d.ts.map +0 -1
- package/dist/schema-C-ziyJD7.d.ts.map +0 -1
- package/dist/schema-CvhfLjtZ.js.map +0 -1
- package/dist/schema-D6EVKzTB.d.ts.map +0 -1
- package/dist/search-kernel-CctpiDd2.d.ts.map +0 -1
- package/dist/search-ledger-types-p2xKfiDJ.d.ts.map +0 -1
- package/dist/sequential-KwGspfeR.d.ts.map +0 -1
- package/dist/spans-CVngGij3.d.ts.map +0 -1
- package/dist/statistical-heldout-BjzSOmLH.d.ts.map +0 -1
- package/dist/steps-DlepJPwD.d.ts.map +0 -1
- package/dist/store-B3nWRy3B.d.ts.map +0 -1
- package/dist/store-tool-spans-DxsFwtdr.d.ts.map +0 -1
- package/dist/summary-report-C8V49Jt3.d.ts.map +0 -1
- package/dist/summary-report-DHDWxe6p.js.map +0 -1
- package/dist/systemone-CHnqwmYg.d.ts.map +0 -1
- package/dist/systemone-protocol-Bl2EI2KQ.d.ts.map +0 -1
- package/dist/systemone-review-cQ9acAsb.d.ts.map +0 -1
- package/dist/task-failure-attributes-BMsblaDh.js.map +0 -1
- package/dist/terminal-record-CB9BFtjS.js.map +0 -1
- package/dist/tool-groups-b3oU_D88.d.ts.map +0 -1
- package/dist/tool-waste-CkjzWmeY.d.ts.map +0 -1
- package/dist/trace-questions-BmT8M6UQ.d.ts.map +0 -1
- package/dist/types-6Lfdlshp.d.ts.map +0 -1
- package/dist/types-B_IFcKp5.d.ts.map +0 -1
- package/dist/types-CmXY0PQf.d.ts.map +0 -1
- package/dist/types-DZ0mYVw9.d.ts.map +0 -1
- package/dist/types-M6eF9m-r.d.ts.map +0 -1
- package/dist/verdict-C24NELtN.d.ts.map +0 -1
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { t as AgentEvalError } from "./errors-
|
|
2
|
-
import { a as hashCanonical, i as compareCodeUnits, r as canonicalString } from "./canonical-
|
|
3
|
-
import { n as aggregatePairedHoldout, o as pairHoldout } from "./statistical-heldout-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
1
|
+
import { t as AgentEvalError } from "./errors-DeEEV9Vx.js";
|
|
2
|
+
import { a as hashCanonical, i as compareCodeUnits, r as canonicalString } from "./canonical-CicJlINA.js";
|
|
3
|
+
import { n as aggregatePairedHoldout, o as pairHoldout } from "./statistical-heldout-TP6ndL0B.js";
|
|
4
|
+
import { t as FileLedgerJournal } from "./journal-C1uLJi0w.js";
|
|
5
|
+
import { n as contentHash } from "./verdict-cache-BVH-fl18.js";
|
|
6
|
+
import { r as projectCampaignCellQuality } from "./run-record-CZy4-TnZ.js";
|
|
7
|
+
import { l as surfaceHash, o as renderSurfaceDiff, s as surfaceContentHash, t as autoCloseTruncatedJson, u as surfaceHashMatches } from "./json-recovery-DK4MDm5r.js";
|
|
8
|
+
import { t as defineEvaluationClaim } from "./claim-Dod_mjk3.js";
|
|
8
9
|
import { createHash } from "node:crypto";
|
|
9
10
|
import { z } from "zod";
|
|
10
11
|
import { join } from "node:path";
|
|
11
|
-
|
|
12
|
+
// src/campaign/coverage.ts
|
|
12
13
|
/** Reject campaign designs whose denominator cannot be identified exactly. */
|
|
13
14
|
function assertCampaignDesign(scenarios, reps) {
|
|
14
15
|
if (!Number.isSafeInteger(reps) || reps < 1) throw new Error("campaign design requires reps to be a positive safe integer");
|
|
@@ -135,8 +136,7 @@ function assertCompleteCampaign(campaign, scenarios, reps, requireJudgeScore, la
|
|
|
135
136
|
const coverage = campaignCoverage(campaign.cells, scenarios, reps, requireJudgeScore);
|
|
136
137
|
if (!coverage.complete) throw new Error(`${label} is incomplete (${coverage.scorableCellIds.length}/${coverage.expectedCellIds.length} designed cells scorable) — ${formatCoverageFailures(coverage)}. Refusing to compare unequal results.`);
|
|
137
138
|
}
|
|
138
|
-
|
|
139
|
-
//#region src/integrity/backend-integrity.ts
|
|
139
|
+
// src/integrity/backend-integrity.ts
|
|
140
140
|
/**
|
|
141
141
|
* Error thrown when an integrity assertion fails. Caller can pattern-match
|
|
142
142
|
* by `code === 'AGENT_EVAL_BACKEND_STUB'` to differentiate from other
|
|
@@ -252,158 +252,7 @@ function assertBackendReport(report, opts) {
|
|
|
252
252
|
if (!allowMixed && report.verdict === "mixed") throw new BackendIntegrityError(`backend-integrity: partial backend failure rejected — ${report.diagnosis}`, report);
|
|
253
253
|
return report;
|
|
254
254
|
}
|
|
255
|
-
|
|
256
|
-
//#region src/campaign/surface-identity.ts
|
|
257
|
-
const GIT_OBJECT_ID = /^(?:[a-f0-9]{40}|[a-f0-9]{64})$/;
|
|
258
|
-
const SHA256 = /^sha256:[a-f0-9]{64}$/;
|
|
259
|
-
/** Validate the immutable identity shape; the owning executor verifies the Git objects and patch. */
|
|
260
|
-
function assertCodeSurfaceIdentity(surface) {
|
|
261
|
-
if (!surface || typeof surface !== "object") throw new TypeError("CodeSurface must be an object");
|
|
262
|
-
const candidate = surface;
|
|
263
|
-
if (candidate.kind !== "code") throw new TypeError("CodeSurface.kind must be \"code\"");
|
|
264
|
-
if (typeof candidate.worktreeRef !== "string" || candidate.worktreeRef.trim().length === 0) throw new TypeError("CodeSurface.worktreeRef must be a non-empty locator");
|
|
265
|
-
if (typeof candidate.baseRef !== "string" || candidate.baseRef.trim().length === 0) throw new TypeError("CodeSurface.baseRef must be a non-empty ref label");
|
|
266
|
-
for (const [field, value] of [
|
|
267
|
-
["baseCommit", candidate.baseCommit],
|
|
268
|
-
["baseTree", candidate.baseTree],
|
|
269
|
-
["candidateCommit", candidate.candidateCommit],
|
|
270
|
-
["candidateTree", candidate.candidateTree]
|
|
271
|
-
]) if (typeof value !== "string" || !GIT_OBJECT_ID.test(value)) throw new TypeError(`CodeSurface.${field} must be a full Git object id`);
|
|
272
|
-
const patch = candidate.patch;
|
|
273
|
-
if (!patch || typeof patch !== "object" || patch.format !== "git-diff-binary") throw new TypeError("CodeSurface.patch.format must be \"git-diff-binary\"");
|
|
274
|
-
if (typeof patch.sha256 !== "string" || !SHA256.test(patch.sha256)) throw new TypeError("CodeSurface.patch.sha256 must be a sha256 digest");
|
|
275
|
-
if (!Number.isSafeInteger(patch.byteLength) || patch.byteLength < 0) throw new TypeError("CodeSurface.patch.byteLength must be a non-negative safe integer");
|
|
276
|
-
}
|
|
277
|
-
/** Assert that a value is a valid non-empty component surface. */
|
|
278
|
-
function assertComponentSurface(surface) {
|
|
279
|
-
if (!surface || typeof surface !== "object") throw new TypeError("ComponentSurface must be an object");
|
|
280
|
-
const candidate = surface;
|
|
281
|
-
if (candidate.kind !== "components") throw new TypeError("ComponentSurface.kind must be \"components\"");
|
|
282
|
-
if (!candidate.components || typeof candidate.components !== "object" || Array.isArray(candidate.components)) throw new TypeError("ComponentSurface.components must be an object");
|
|
283
|
-
const entries = Object.entries(candidate.components);
|
|
284
|
-
if (entries.length === 0) throw new TypeError("ComponentSurface.components must not be empty");
|
|
285
|
-
for (const [name, content] of entries) {
|
|
286
|
-
if (!name.trim() || name.trim() !== name) throw new TypeError("ComponentSurface component names must be trimmed and non-empty");
|
|
287
|
-
if (typeof content !== "string") throw new TypeError(`ComponentSurface component '${name}' must be a string`);
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
/**
|
|
291
|
-
* Deterministic identity material for a component surface.
|
|
292
|
-
*
|
|
293
|
-
* `canonicalString` orders keys by UTF-16 code unit (RFC 8785), which is a
|
|
294
|
-
* property of the value alone. The previous material ordered them with
|
|
295
|
-
* `localeCompare`, which reads the host's collation — so the same surface
|
|
296
|
-
* could produce two different identities on two machines, and the stored
|
|
297
|
-
* identity would stop matching a recomputation of the identical surface.
|
|
298
|
-
*/
|
|
299
|
-
function componentSurfaceIdentityMaterial(surface) {
|
|
300
|
-
assertComponentSurface(surface);
|
|
301
|
-
return canonicalString({
|
|
302
|
-
schema: "tangle.component-surface",
|
|
303
|
-
components: surface.components
|
|
304
|
-
});
|
|
305
|
-
}
|
|
306
|
-
/**
|
|
307
|
-
* The retired material builder, kept PRIVATE and reachable only from
|
|
308
|
-
* {@link surfaceHashMatches}.
|
|
309
|
-
*
|
|
310
|
-
* A surface identity recorded before this release was minted from these bytes.
|
|
311
|
-
* The verify path tries the current material first and falls back to this one,
|
|
312
|
-
* so a stored identity still matches its own surface; nothing mints from it.
|
|
313
|
-
*
|
|
314
|
-
* Every component surface's identity moves, not only one whose names sort
|
|
315
|
-
* differently under the host's collation: RFC 8785 also orders the two
|
|
316
|
-
* top-level keys, so `components` precedes `schema` where this builder emitted
|
|
317
|
-
* them in literal order. The retention window therefore covers every stored
|
|
318
|
-
* component-surface identity, which is why this builder is kept rather than
|
|
319
|
-
* scoped to the mixed-case case.
|
|
320
|
-
*/
|
|
321
|
-
function retiredComponentSurfaceIdentityMaterial(surface) {
|
|
322
|
-
assertComponentSurface(surface);
|
|
323
|
-
return JSON.stringify({
|
|
324
|
-
schema: "tangle.component-surface",
|
|
325
|
-
components: Object.fromEntries(Object.entries(surface.components).sort(([left], [right]) => left.localeCompare(right)))
|
|
326
|
-
});
|
|
327
|
-
}
|
|
328
|
-
/** Canonical, location-independent identity of a finalized code candidate.
|
|
329
|
-
* Commit metadata is excluded: two commits with the same base, final tree,
|
|
330
|
-
* and patch bytes are the same executable candidate. */
|
|
331
|
-
function codeSurfaceIdentityMaterial(surface) {
|
|
332
|
-
assertCodeSurfaceIdentity(surface);
|
|
333
|
-
return JSON.stringify({
|
|
334
|
-
schema: "tangle.code-surface",
|
|
335
|
-
baseCommit: surface.baseCommit,
|
|
336
|
-
baseTree: surface.baseTree,
|
|
337
|
-
candidateTree: surface.candidateTree,
|
|
338
|
-
patch: {
|
|
339
|
-
format: surface.patch.format,
|
|
340
|
-
sha256: surface.patch.sha256,
|
|
341
|
-
byteLength: surface.patch.byteLength
|
|
342
|
-
}
|
|
343
|
-
});
|
|
344
|
-
}
|
|
345
|
-
/** Full SHA-256 content identity for a prompt or finalized code surface. */
|
|
346
|
-
function surfaceContentHash(surface) {
|
|
347
|
-
const material = typeof surface === "string" ? surface : surface.kind === "components" ? componentSurfaceIdentityMaterial(surface) : codeSurfaceIdentityMaterial(surface);
|
|
348
|
-
return `sha256:${createHash("sha256").update(material).digest("hex")}`;
|
|
349
|
-
}
|
|
350
|
-
/** Short loop key derived from the same content identity as provenance. */
|
|
351
|
-
function surfaceHash(surface) {
|
|
352
|
-
return surfaceContentHash(surface).slice(7, 23);
|
|
353
|
-
}
|
|
354
|
-
/**
|
|
355
|
-
* Whether `storedHash` is the loop key of `surface`, under the current identity
|
|
356
|
-
* material or the retired one.
|
|
357
|
-
*
|
|
358
|
-
* A stored key is 16 hex characters with no room for a scheme tag, so the
|
|
359
|
-
* scheme cannot be read off the value the way an `agent-profile-cell` id names
|
|
360
|
-
* its own. The verify path therefore tries both, which gives the same property:
|
|
361
|
-
* a key minted by an earlier release still matches its own surface, and a
|
|
362
|
-
* surface that was actually edited matches neither.
|
|
363
|
-
*
|
|
364
|
-
* Only a component surface can differ between the two; a prompt or code surface
|
|
365
|
-
* produces identical material under both, so the second comparison is a no-op
|
|
366
|
-
* for them.
|
|
367
|
-
*/
|
|
368
|
-
function surfaceHashMatches(surface, storedHash) {
|
|
369
|
-
if (surfaceHash(surface) === storedHash) return true;
|
|
370
|
-
if (typeof surface === "string" || surface.kind !== "components") return false;
|
|
371
|
-
return createHash("sha256").update(retiredComponentSurfaceIdentityMaterial(surface)).digest("hex").slice(0, 16) === storedHash;
|
|
372
|
-
}
|
|
373
|
-
/** Canonical customer-visible description of the exact before/after surfaces. */
|
|
374
|
-
function renderSurfaceDiff(winnerSurface, baselineSurface) {
|
|
375
|
-
if (typeof winnerSurface === "string" && typeof baselineSurface === "string") return [
|
|
376
|
-
"--- baseline",
|
|
377
|
-
"+++ winner",
|
|
378
|
-
...baselineSurface.split("\n").map((line) => `- ${line}`),
|
|
379
|
-
...winnerSurface.split("\n").map((line) => `+ ${line}`)
|
|
380
|
-
].join("\n");
|
|
381
|
-
const describe = (surface) => {
|
|
382
|
-
if (typeof surface === "string") return "(prompt surface)";
|
|
383
|
-
if (surface.kind === "components") {
|
|
384
|
-
assertComponentSurface(surface);
|
|
385
|
-
return Object.entries(surface.components).sort(([left], [right]) => left.localeCompare(right)).map(([name, content]) => `[${name}]\n${content}`).join("\n\n");
|
|
386
|
-
}
|
|
387
|
-
assertCodeSurfaceIdentity(surface);
|
|
388
|
-
return [
|
|
389
|
-
`baseCommit=${surface.baseCommit}`,
|
|
390
|
-
`baseTree=${surface.baseTree}`,
|
|
391
|
-
`candidateCommit=${surface.candidateCommit}`,
|
|
392
|
-
`candidateTree=${surface.candidateTree}`,
|
|
393
|
-
`patch=${surface.patch.sha256}`,
|
|
394
|
-
`patchBytes=${surface.patch.byteLength}`,
|
|
395
|
-
...surface.summary ? [surface.summary] : []
|
|
396
|
-
].join("\n");
|
|
397
|
-
};
|
|
398
|
-
return `--- baseline\n${describe(baselineSurface)}\n+++ winner\n${describe(winnerSurface)}`;
|
|
399
|
-
}
|
|
400
|
-
/** Bind a campaign cache entry to the exact surface and caller-owned execution revision. */
|
|
401
|
-
function surfaceDispatchRef(surface, executionRef = "anonymous") {
|
|
402
|
-
if (!executionRef.trim() || executionRef.trim() !== executionRef) throw new Error("surfaceDispatchRef: executionRef must be trimmed and non-empty");
|
|
403
|
-
return `surface:${executionRef}:${surfaceContentHash(surface)}`;
|
|
404
|
-
}
|
|
405
|
-
//#endregion
|
|
406
|
-
//#region src/experiment/final-evidence.ts
|
|
255
|
+
// src/experiment/final-evidence.ts
|
|
407
256
|
const identity = z.string().min(1).refine((value) => value.trim() === value);
|
|
408
257
|
const digest = z.string().regex(/^sha256:[a-f0-9]{64}$/);
|
|
409
258
|
const reservationSchema = z.object({
|
|
@@ -579,8 +428,7 @@ function openFinalEvidenceLedger(options) {
|
|
|
579
428
|
read: () => outcome(() => journal.replay())
|
|
580
429
|
};
|
|
581
430
|
}
|
|
582
|
-
|
|
583
|
-
//#region src/campaign/gates/power-preflight.ts
|
|
431
|
+
// src/campaign/gates/power-preflight.ts
|
|
584
432
|
/** Two-sided z for the common confidence levels; interpolation is overkill here. */
|
|
585
433
|
function zFor(confidence) {
|
|
586
434
|
if (confidence >= .99) return 2.576;
|
|
@@ -620,151 +468,7 @@ function powerPreflight(opts) {
|
|
|
620
468
|
recommendation: sharedChannelCaveat ? `${recommendation} ${sharedChannelCaveat}` : recommendation
|
|
621
469
|
};
|
|
622
470
|
}
|
|
623
|
-
|
|
624
|
-
//#region src/json-recovery.ts
|
|
625
|
-
/**
|
|
626
|
-
* Truncation-tolerant JSON recovery — shared by every parser that reads JSON
|
|
627
|
-
* out of a model response (reflective-mutation proposals, judge scores, the
|
|
628
|
-
* completion-correctness checker).
|
|
629
|
-
*
|
|
630
|
-
* LLMs routinely hit a max_tokens cap mid-emission, leaving a JSON prefix
|
|
631
|
-
* with an unclosed string / object / array and often a dangling key or
|
|
632
|
-
* trailing comma. Throwing on that prefix — and letting the throw fold into
|
|
633
|
-
* a fabricated zero score downstream — is the bug class this module exists
|
|
634
|
-
* to prevent (see `JudgeParseError`'s contract: a synthetic zero is
|
|
635
|
-
* indistinguishable from a real low score). Recovering the complete prefix
|
|
636
|
-
* turns a would-be fabricated zero into a real measurement.
|
|
637
|
-
*/
|
|
638
|
-
/**
|
|
639
|
-
* Walk the input as JSON-aware (string vs not, escape-aware) and close
|
|
640
|
-
* unclosed `{` / `[` in LIFO order at the tail. If the input was already
|
|
641
|
-
* balanced returns it unchanged. If a string was open at end-of-input we
|
|
642
|
-
* also close it with `"` first, since a truncated string-mid-value is the
|
|
643
|
-
* most common LLM cap-hit failure mode and JSON.parse cannot proceed
|
|
644
|
-
* without one.
|
|
645
|
-
*
|
|
646
|
-
* Returns null when the structure is unrecoverable (e.g. depth would go
|
|
647
|
-
* negative — that's an *over*-closed prefix, not a truncation).
|
|
648
|
-
*/
|
|
649
|
-
function autoCloseTruncatedJson(raw) {
|
|
650
|
-
const stack = [];
|
|
651
|
-
let inString = false;
|
|
652
|
-
let escaped = false;
|
|
653
|
-
for (const c of raw) {
|
|
654
|
-
if (escaped) {
|
|
655
|
-
escaped = false;
|
|
656
|
-
continue;
|
|
657
|
-
}
|
|
658
|
-
if (inString) {
|
|
659
|
-
if (c === "\\") {
|
|
660
|
-
escaped = true;
|
|
661
|
-
continue;
|
|
662
|
-
}
|
|
663
|
-
if (c === "\"") {
|
|
664
|
-
inString = false;
|
|
665
|
-
continue;
|
|
666
|
-
}
|
|
667
|
-
continue;
|
|
668
|
-
}
|
|
669
|
-
if (c === "\"") {
|
|
670
|
-
inString = true;
|
|
671
|
-
continue;
|
|
672
|
-
}
|
|
673
|
-
if (c === "{" || c === "[") stack.push(c);
|
|
674
|
-
else if (c === "}") {
|
|
675
|
-
if (stack.pop() !== "{") return null;
|
|
676
|
-
} else if (c === "]") {
|
|
677
|
-
if (stack.pop() !== "[") return null;
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
if (stack.length === 0 && !inString) return raw;
|
|
681
|
-
let suffix = "";
|
|
682
|
-
if (escaped) suffix += "\\";
|
|
683
|
-
if (inString) suffix += "\"";
|
|
684
|
-
while (stack.length > 0) {
|
|
685
|
-
const opener = stack.pop();
|
|
686
|
-
suffix += opener === "{" ? "}" : "]";
|
|
687
|
-
}
|
|
688
|
-
return raw + suffix;
|
|
689
|
-
}
|
|
690
|
-
const UNPARSEABLE = Symbol("unparseable");
|
|
691
|
-
function tryParse(candidate) {
|
|
692
|
-
try {
|
|
693
|
-
return JSON.parse(candidate);
|
|
694
|
-
} catch {
|
|
695
|
-
return UNPARSEABLE;
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
/** Index of the last `,` that sits outside any string literal, or -1. Cutting
|
|
699
|
-
* there discards a dangling key / half-emitted value at the tail while
|
|
700
|
-
* keeping every complete member before it. */
|
|
701
|
-
function lastCommaOutsideString(s) {
|
|
702
|
-
let inString = false;
|
|
703
|
-
let escaped = false;
|
|
704
|
-
let last = -1;
|
|
705
|
-
for (let i = 0; i < s.length; i++) {
|
|
706
|
-
const c = s[i];
|
|
707
|
-
if (escaped) {
|
|
708
|
-
escaped = false;
|
|
709
|
-
continue;
|
|
710
|
-
}
|
|
711
|
-
if (inString) {
|
|
712
|
-
if (c === "\\") escaped = true;
|
|
713
|
-
else if (c === "\"") inString = false;
|
|
714
|
-
continue;
|
|
715
|
-
}
|
|
716
|
-
if (c === "\"") inString = true;
|
|
717
|
-
else if (c === ",") last = i;
|
|
718
|
-
}
|
|
719
|
-
return last;
|
|
720
|
-
}
|
|
721
|
-
/**
|
|
722
|
-
* Best-effort parse of a possibly-truncated JSON payload embedded in model
|
|
723
|
-
* output (prose and markdown fences tolerated). Tries each opener position
|
|
724
|
-
* (earliest `{`/`[` first, then the other when the first yields nothing —
|
|
725
|
-
* prose like `[note] {"score":3}` must not poison the slice), and from each
|
|
726
|
-
* start, in order:
|
|
727
|
-
*
|
|
728
|
-
* 1. plain `JSON.parse` of the opener → last-closer slice,
|
|
729
|
-
* 2. auto-closing unclosed structures at the tail
|
|
730
|
-
* (`autoCloseTruncatedJson`),
|
|
731
|
-
* 3. trimming the tail back to the previous complete member boundary (the
|
|
732
|
-
* last comma outside a string) and auto-closing again, repeatedly.
|
|
733
|
-
*
|
|
734
|
-
* Recovers e.g. `{"correct": false, "` → `{ correct: false }` — the exact
|
|
735
|
-
* cap-hit shape that has zeroed real eval rows. Returns the parsed value
|
|
736
|
-
* (always an object or array, given the slice starts at an opener), or
|
|
737
|
-
* `null` when nothing parseable can be recovered. Never throws.
|
|
738
|
-
*/
|
|
739
|
-
function recoverTruncatedJson(text) {
|
|
740
|
-
const starts = [text.indexOf("{"), text.indexOf("[")].filter((i) => i >= 0).sort((a, b) => a - b);
|
|
741
|
-
for (const start of starts) {
|
|
742
|
-
const recovered = recoverFrom(text.slice(start));
|
|
743
|
-
if (recovered !== UNPARSEABLE) return recovered;
|
|
744
|
-
}
|
|
745
|
-
return null;
|
|
746
|
-
}
|
|
747
|
-
function recoverFrom(slice) {
|
|
748
|
-
let candidate = slice;
|
|
749
|
-
const lastClose = Math.max(candidate.lastIndexOf("}"), candidate.lastIndexOf("]"));
|
|
750
|
-
if (lastClose > 0) {
|
|
751
|
-
const balanced = tryParse(candidate.slice(0, lastClose + 1));
|
|
752
|
-
if (balanced !== UNPARSEABLE) return balanced;
|
|
753
|
-
}
|
|
754
|
-
for (let i = 0; i < 64; i++) {
|
|
755
|
-
const closed = autoCloseTruncatedJson(candidate);
|
|
756
|
-
if (closed !== null) {
|
|
757
|
-
const parsed = tryParse(closed);
|
|
758
|
-
if (parsed !== UNPARSEABLE) return parsed;
|
|
759
|
-
}
|
|
760
|
-
const cut = lastCommaOutsideString(candidate);
|
|
761
|
-
if (cut <= 0) return UNPARSEABLE;
|
|
762
|
-
candidate = candidate.slice(0, cut);
|
|
763
|
-
}
|
|
764
|
-
return UNPARSEABLE;
|
|
765
|
-
}
|
|
766
|
-
//#endregion
|
|
767
|
-
//#region src/reflective-mutation.ts
|
|
471
|
+
// src/reflective-mutation.ts
|
|
768
472
|
/**
|
|
769
473
|
* Reflective mutation — primitives for trace-conditioned prompt rewriting.
|
|
770
474
|
*
|
|
@@ -917,8 +621,7 @@ function parseReflectionResponse(raw, maxProposals) {
|
|
|
917
621
|
}
|
|
918
622
|
return out;
|
|
919
623
|
}
|
|
920
|
-
|
|
921
|
-
//#region src/campaign/score-utils.ts
|
|
624
|
+
// src/campaign/score-utils.ts
|
|
922
625
|
/**
|
|
923
626
|
* Shared campaign-score reductions used by every optimizer preset
|
|
924
627
|
* (`runOptimization`, external optimization methods, `compareOptimizationMethods`).
|
|
@@ -1024,8 +727,7 @@ function campaignBreakdown(campaign) {
|
|
|
1024
727
|
})
|
|
1025
728
|
};
|
|
1026
729
|
}
|
|
1027
|
-
|
|
1028
|
-
//#region src/campaign/provenance.ts
|
|
730
|
+
// src/campaign/provenance.ts
|
|
1029
731
|
/**
|
|
1030
732
|
* Loop provenance — the durable, queryable record of WHAT a self-improvement
|
|
1031
733
|
* loop did and WHY, plus the OTel spans that let an OTLP collector pivot from
|
|
@@ -1497,8 +1199,7 @@ async function emitLoopProvenance(args) {
|
|
|
1497
1199
|
spansPath
|
|
1498
1200
|
};
|
|
1499
1201
|
}
|
|
1500
|
-
|
|
1501
|
-
//#region src/attestation.ts
|
|
1202
|
+
// src/attestation.ts
|
|
1502
1203
|
/**
|
|
1503
1204
|
* Reproducibility attestation for any serializable report object.
|
|
1504
1205
|
*
|
|
@@ -1589,8 +1290,7 @@ function verifyAttestation(report, attested) {
|
|
|
1589
1290
|
};
|
|
1590
1291
|
return { valid: true };
|
|
1591
1292
|
}
|
|
1592
|
-
|
|
1593
|
-
//#region src/experiment/evidence-receipt.ts
|
|
1293
|
+
// src/experiment/evidence-receipt.ts
|
|
1594
1294
|
/**
|
|
1595
1295
|
* Evidence receipts are the join between Runtime execution and Eval promotion.
|
|
1596
1296
|
*
|
|
@@ -1703,8 +1403,7 @@ function requiredIdentity(value, field) {
|
|
|
1703
1403
|
if (normalized.length === 0) throw new TypeError(`evidence receipt: ${field} must be non-empty`);
|
|
1704
1404
|
return normalized;
|
|
1705
1405
|
}
|
|
1706
|
-
|
|
1707
|
-
//#region src/experiment/campaign-evidence.ts
|
|
1406
|
+
// src/experiment/campaign-evidence.ts
|
|
1708
1407
|
/** Bind a complete measured campaign to its executed surface and actual outputs. */
|
|
1709
1408
|
function createCampaignEvidenceReceipt(input) {
|
|
1710
1409
|
const { campaign, surface, context } = input;
|
|
@@ -1727,7 +1426,6 @@ function createCampaignEvidenceReceipt(input) {
|
|
|
1727
1426
|
inputsHash: campaign.splitDigest
|
|
1728
1427
|
});
|
|
1729
1428
|
}
|
|
1730
|
-
|
|
1731
|
-
export { surfaceHashMatches as A, campaignSplitDigestFromIdentities as B, assertCodeSurfaceIdentity as C, surfaceContentHash as D, renderSurfaceDiff as E, assertCampaignSplitIdentity as F, assertCompleteCampaign as I, campaignCoverage as L, assertRealBackend as M, summarizeBackendIntegrity as N, surfaceDispatchRef as O, assertCampaignDesign as P, campaignScenarioIdentity as R, openFinalEvidenceLedger as S, componentSurfaceIdentityMaterial as T, formatCoverageFailures as V, parseReflectionResponse as _, ATTESTATION_ALGORITHM as a, FinalEvidenceConflictError as b, campaignMeasurementDigest as c, loopProvenanceArgsFromResult as d, campaignBreakdown as f, buildReflectionPrompt as g, pairedCampaignComposites as h, verifyEvidenceReceipt as i, BackendIntegrityError as j, surfaceHash as k, canonicalDigest as l, campaignMeanCompositeOrNull as m, createEvidenceReceipt as n, attest as o, campaignMeanComposite as p, isIndependentEvidence as r, verifyAttestation as s, createCampaignEvidenceReceipt as t, emitLoopProvenance as u, recoverTruncatedJson as v, codeSurfaceIdentityMaterial as w, FinalEvidenceError as x, powerPreflight as y, campaignSplitDigest as z };
|
|
1429
|
+
export { campaignSplitDigest as A, assertRealBackend as C, assertCompleteCampaign as D, assertCampaignSplitIdentity as E, formatCoverageFailures as M, campaignCoverage as O, BackendIntegrityError as S, assertCampaignDesign as T, parseReflectionResponse as _, ATTESTATION_ALGORITHM as a, FinalEvidenceError as b, campaignMeasurementDigest as c, loopProvenanceArgsFromResult as d, campaignBreakdown as f, buildReflectionPrompt as g, pairedCampaignComposites as h, verifyEvidenceReceipt as i, campaignSplitDigestFromIdentities as j, campaignScenarioIdentity as k, canonicalDigest as l, campaignMeanCompositeOrNull as m, createEvidenceReceipt as n, attest as o, campaignMeanComposite as p, isIndependentEvidence as r, verifyAttestation as s, createCampaignEvidenceReceipt as t, emitLoopProvenance as u, powerPreflight as v, summarizeBackendIntegrity as w, openFinalEvidenceLedger as x, FinalEvidenceConflictError as y };
|
|
1732
1430
|
|
|
1733
|
-
//# sourceMappingURL=campaign-evidence-
|
|
1431
|
+
//# sourceMappingURL=campaign-evidence-DN8rWuBj.js.map
|