@tangle-network/agent-eval 2.0.5 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist/adapters/http.d.ts +2 -2
- package/dist/{agent-profile-CcOq7bOO.d.ts → agent-profile-ORN4aArD.d.ts} +5 -5
- package/dist/{agent-profile-CcOq7bOO.d.ts.map → agent-profile-ORN4aArD.d.ts.map} +1 -1
- package/dist/analyst/index.d.ts +15 -15
- package/dist/analyst/index.js +18 -14
- package/dist/analyst/index.js.map +1 -1
- package/dist/{analyze-runs-C_9cXPZn.js → analyze-runs-CE_5VKh2.js} +6 -5
- package/dist/{analyze-runs-C_9cXPZn.js.map → analyze-runs-CE_5VKh2.js.map} +1 -1
- package/dist/analyze-runs-DT693FJ7.d.ts +65 -0
- package/dist/analyze-runs-DT693FJ7.d.ts.map +1 -0
- package/dist/app-grade/index.d.ts +4 -4
- package/dist/app-grade/index.js +1 -1
- package/dist/{benchmark-command-MfXRocwZ.js → benchmark-command-DLg8E4y8.js} +16 -9
- package/dist/benchmark-command-DLg8E4y8.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 +12 -11
- package/dist/{campaign-DfSWSreo.js → campaign-C_S3MOYa.js} +1589 -14
- package/dist/campaign-C_S3MOYa.js.map +1 -0
- package/dist/{campaign-evidence-D_oBFfLc.js → campaign-evidence-BTfzZo1u.js} +4 -4
- package/dist/{campaign-evidence-D_oBFfLc.js.map → campaign-evidence-BTfzZo1u.js.map} +1 -1
- package/dist/{campaign-evidence-BmMs8YJt.d.ts → campaign-evidence-CM4FBOkX.d.ts} +5 -5
- package/dist/{campaign-evidence-BmMs8YJt.d.ts.map → campaign-evidence-CM4FBOkX.d.ts.map} +1 -1
- package/dist/{cluster-Bj90LK-1.d.ts → chat-client-uQNXGuO4.d.ts} +3 -240
- package/dist/chat-client-uQNXGuO4.d.ts.map +1 -0
- package/dist/cli.js +6 -6
- package/dist/cluster-C-K0N2br.d.ts +241 -0
- package/dist/cluster-C-K0N2br.d.ts.map +1 -0
- package/dist/{cluster-bootstrap-DPzVy3_K.js → cluster-bootstrap-DXbnIdm8.js} +3 -2
- package/dist/{cluster-bootstrap-DPzVy3_K.js.map → cluster-bootstrap-DXbnIdm8.js.map} +1 -1
- package/dist/{completion-verifier-Cy38EpGE.d.ts → completion-verifier-C7wipJOK.d.ts} +2 -2
- package/dist/{completion-verifier-Cy38EpGE.d.ts.map → completion-verifier-C7wipJOK.d.ts.map} +1 -1
- package/dist/contract/index.d.ts +14 -12
- package/dist/contract/index.js +13 -11
- 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-CUuorCWZ.d.ts → default-registry-Bskl2HzV.d.ts} +6 -7
- package/dist/default-registry-Bskl2HzV.d.ts.map +1 -0
- package/dist/{default-registry-IkE3byrA.js → default-registry-kps1SOaD.js} +27 -15
- package/dist/default-registry-kps1SOaD.js.map +1 -0
- package/dist/define-agent-eval-Dnh4jXLX.js +96 -0
- package/dist/define-agent-eval-Dnh4jXLX.js.map +1 -0
- package/dist/define-agent-eval-tu3anVlk.d.ts +52 -0
- package/dist/define-agent-eval-tu3anVlk.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-DE11iBcC.js → dspy-rlm-engine-DQbPdT_o.js} +8 -4
- package/dist/{dspy-rlm-engine-DE11iBcC.js.map → dspy-rlm-engine-DQbPdT_o.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-DswSn7Gm.js} +3 -3
- package/dist/{eval-campaign-Cyk-tkLh.js.map → eval-campaign-DswSn7Gm.js.map} +1 -1
- package/dist/{evaluation-DfyLPVL1.d.ts → evaluation-C4-tf3Z_.d.ts} +4 -4
- package/dist/{evaluation-DfyLPVL1.d.ts.map → evaluation-C4-tf3Z_.d.ts.map} +1 -1
- package/dist/evaluation.d.ts +1 -1
- package/dist/{exact-types-CiCXYhNK.d.ts → exact-types-CUsSMW3n.d.ts} +2 -2
- package/dist/{exact-types-CiCXYhNK.d.ts.map → exact-types-CUsSMW3n.d.ts.map} +1 -1
- package/dist/{execution-insight-wUNXxo5Y.d.ts → execution-insight-YihQrSqd.d.ts} +2 -2
- package/dist/{execution-insight-wUNXxo5Y.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-process-4QdcF7Kd.js → external-optimizer-process-CVi1x2nb.js} +2 -2
- package/dist/{external-optimizer-process-4QdcF7Kd.js.map → external-optimizer-process-CVi1x2nb.js.map} +1 -1
- package/dist/{external-optimizer-subprocess-BW0ZWUUr.js → external-optimizer-subprocess-mV-2swJI.js} +3 -357
- package/dist/external-optimizer-subprocess-mV-2swJI.js.map +1 -0
- package/dist/{feedback-trajectory-HJticMDz.d.ts → feedback-trajectory-D7hgL6y5.d.ts} +3 -3
- package/dist/{feedback-trajectory-HJticMDz.d.ts.map → feedback-trajectory-D7hgL6y5.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-BxpV-hfH.js → findings-store-CZy5kUDo.js} +26 -19
- package/dist/findings-store-CZy5kUDo.js.map +1 -0
- package/dist/fuzz.js +1 -1
- package/dist/{harness-session-lines-CSxKR6no.js → harness-session-lines-CTh1-uOb.js} +21 -19
- package/dist/harness-session-lines-CTh1-uOb.js.map +1 -0
- package/dist/{index-Ucp54Pcl.d.ts → index--vDCtdaj.d.ts} +7 -8
- package/dist/index--vDCtdaj.d.ts.map +1 -0
- package/dist/{index-CKjqN9_U.d.ts → index-CIqYaySd.d.ts} +89 -3
- package/dist/index-CIqYaySd.d.ts.map +1 -0
- package/dist/{index-C6TG1LwA.d.ts → index-Cav3abKy.d.ts} +256 -131
- package/dist/index-Cav3abKy.d.ts.map +1 -0
- package/dist/{index-CR-guIiZ.d.ts → index-DmMHTDjT.d.ts} +10 -8
- package/dist/index-DmMHTDjT.d.ts.map +1 -0
- package/dist/{index-oX0TuJFv.d.ts → index-Er8TKQ3q.d.ts} +4 -4
- package/dist/{index-oX0TuJFv.d.ts.map → index-Er8TKQ3q.d.ts.map} +1 -1
- package/dist/{index-B_k8aY9k.d.ts → index-moZnazVj.d.ts} +22 -21
- package/dist/index-moZnazVj.d.ts.map +1 -0
- package/dist/index.d.ts +33 -30
- package/dist/index.js +27 -24
- package/dist/index.js.map +1 -1
- package/dist/{analyze-runs-Ke0WbAf6.d.ts → insight-report-DYofCMLx.d.ts} +4 -64
- package/dist/insight-report-DYofCMLx.d.ts.map +1 -0
- package/dist/{integrity-B9320cw1.d.ts → integrity-BJGstiCh.d.ts} +2 -2
- package/dist/{integrity-B9320cw1.d.ts.map → integrity-BJGstiCh.d.ts.map} +1 -1
- package/dist/{judge-gate-DqlzOBOm.js → judge-gate-DANg5FLq.js} +2 -2
- package/dist/{judge-gate-DqlzOBOm.js.map → judge-gate-DANg5FLq.js.map} +1 -1
- package/dist/{kind-factory-BDd4rhML.js → kind-factory-B-xCxG7p.js} +33 -5
- package/dist/kind-factory-B-xCxG7p.js.map +1 -0
- package/dist/llm-judge-DFoSy4Qn.js +476 -0
- package/dist/llm-judge-DFoSy4Qn.js.map +1 -0
- package/dist/{matrix-DlSrRl_v.d.ts → matrix-OgdWQBQa.d.ts} +6 -2
- package/dist/matrix-OgdWQBQa.d.ts.map +1 -0
- package/dist/measure-validity-plan-B1_qYlsk.d.ts +143 -0
- package/dist/measure-validity-plan-B1_qYlsk.d.ts.map +1 -0
- package/dist/measure-validity-plan-t0YQRzJQ.js +117 -0
- package/dist/measure-validity-plan-t0YQRzJQ.js.map +1 -0
- package/dist/meta-eval/index.d.ts +5 -3
- package/dist/meta-eval/index.js +664 -14
- package/dist/meta-eval/index.js.map +1 -1
- package/dist/multishot/golden/index.d.ts +1 -1
- package/dist/multishot/index.d.ts +458 -4
- package/dist/multishot/index.d.ts.map +1 -1
- package/dist/multishot/index.js +926 -47
- package/dist/multishot/index.js.map +1 -1
- package/dist/openapi.json +1 -1
- package/dist/{llm-judge-DQJTQx01.js → optimization-method-D4CpYsVA.js} +18 -482
- package/dist/optimization-method-D4CpYsVA.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-B6EXnI47.js} +3 -2
- package/dist/{paired-arms-DZhH3FGu.js.map → paired-arms-B6EXnI47.js.map} +1 -1
- package/dist/{paired-promotion-decision-ChHBuuHV.d.ts → paired-promotion-decision-DuvRdnsW.d.ts} +2 -2
- package/dist/{paired-promotion-decision-ChHBuuHV.d.ts.map → paired-promotion-decision-DuvRdnsW.d.ts.map} +1 -1
- package/dist/{paired-promotion-decision-Dn3-jaq4.js → paired-promotion-decision-xYe881cD.js} +3 -2
- package/dist/{paired-promotion-decision-Dn3-jaq4.js.map → paired-promotion-decision-xYe881cD.js.map} +1 -1
- package/dist/{paired-promotion-power-BlzXdgMD.js → paired-promotion-power-DirShsIs.js} +3 -3
- package/dist/{paired-promotion-power-BlzXdgMD.js.map → paired-promotion-power-DirShsIs.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-DTg6u30w.js} +181 -4
- package/dist/power-DTg6u30w.js.map +1 -0
- package/dist/{prime-protocol-iEaSEGZB.d.ts → prime-protocol-Jm2pWh--.d.ts} +2 -2
- package/dist/{prime-protocol-iEaSEGZB.d.ts.map → prime-protocol-Jm2pWh--.d.ts.map} +1 -1
- package/dist/{promotion-gate-CGkxh36r.d.ts → promotion-gate-BXgcORnM.d.ts} +2 -2
- package/dist/{promotion-gate-CGkxh36r.d.ts.map → promotion-gate-BXgcORnM.d.ts.map} +1 -1
- package/dist/{promotion-policy-CxDIh-9p.js → promotion-policy-Z5E-C32U.js} +4 -4
- package/dist/{promotion-policy-CxDIh-9p.js.map → promotion-policy-Z5E-C32U.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-V8o2kZtn.d.ts → registry-DEZDECdr.d.ts} +4 -4
- package/dist/{registry-V8o2kZtn.d.ts.map → registry-DEZDECdr.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-CIgUe1lv.d.ts} +2 -2
- package/dist/{research-report-D6XIK0eK.d.ts.map → research-report-CIgUe1lv.d.ts.map} +1 -1
- package/dist/{researcher---DhHG4J.d.ts → researcher-CY_byuZl.d.ts} +4 -4
- package/dist/{researcher---DhHG4J.d.ts.map → researcher-CY_byuZl.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 +2 -2
- package/dist/{rollout-DVwpCHBC.js → rollout-B_lrpd9a.js} +2 -2
- package/dist/{rollout-DVwpCHBC.js.map → rollout-B_lrpd9a.js.map} +1 -1
- 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-CtLyPb5-.d.ts → run-improvement-loop-BaPDVbW8.d.ts} +384 -11
- package/dist/run-improvement-loop-BaPDVbW8.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-DdUijr_t.js → runtime-rollouts-Vv-BAqmq.js} +3 -3
- package/dist/{runtime-rollouts-DdUijr_t.js.map → runtime-rollouts-Vv-BAqmq.js.map} +1 -1
- package/dist/search/index.d.ts +2 -2
- package/dist/search/index.js +2 -2
- package/dist/{search-kernel-DXA1EhnN.d.ts → search-kernel-BzTeb89p.d.ts} +3 -3
- package/dist/{search-kernel-DXA1EhnN.d.ts.map → search-kernel-BzTeb89p.d.ts.map} +1 -1
- package/dist/{pareto-Bg75Gajo.js → search-kernel-DOPW08Hx.js} +6 -88
- package/dist/search-kernel-DOPW08Hx.js.map +1 -0
- package/dist/{search-summary-B1x1Vmzh.js → search-summary-CYOHZAAy.js} +4 -4
- package/dist/{search-summary-B1x1Vmzh.js.map → search-summary-CYOHZAAy.js.map} +1 -1
- package/dist/{define-agent-eval-B6uE3gNu.js → self-improve-CIFqccHV.js} +8 -97
- package/dist/self-improve-CIFqccHV.js.map +1 -0
- package/dist/{define-agent-eval-D17XsdAt.d.ts → self-improve-DY8ZY4lY.d.ts} +8 -54
- package/dist/self-improve-DY8ZY4lY.d.ts.map +1 -0
- package/dist/{sequential-BhbTSxpt.d.ts → sequential-B9iROM1S.d.ts} +2 -2
- package/dist/{sequential-BhbTSxpt.d.ts.map → sequential-B9iROM1S.d.ts.map} +1 -1
- package/dist/{sequential-ux_XrjBf.js → sequential-tZjGysXY.js} +3 -3
- package/dist/{sequential-ux_XrjBf.js.map → sequential-tZjGysXY.js.map} +1 -1
- package/dist/{skillopt-optimization-method-D_swD0Cy.js → skillopt-optimization-method-CbHBkopM.js} +9 -8
- package/dist/{skillopt-optimization-method-D_swD0Cy.js.map → skillopt-optimization-method-CbHBkopM.js.map} +1 -1
- package/dist/{statistical-heldout-CaS4T-43.js → statistical-heldout-C7Jjo5nP.js} +3 -3
- package/dist/{statistical-heldout-CaS4T-43.js.map → statistical-heldout-C7Jjo5nP.js.map} +1 -1
- package/dist/{statistics-DSidA5I2.js → statistics-BPl13X3G.js} +208 -700
- package/dist/statistics-BPl13X3G.js.map +1 -0
- package/dist/statistics.d.ts +3 -3
- package/dist/statistics.js +3 -2
- package/dist/{store-otlp-CR9fWum6.js → store-otlp-CdeW7NWq.js} +2 -2
- package/dist/{store-otlp-CR9fWum6.js.map → store-otlp-CdeW7NWq.js.map} +1 -1
- package/dist/{store-tool-spans-tkdUJWup.js → store-tool-spans-CVX-jfkk.js} +3 -3
- package/dist/{store-tool-spans-tkdUJWup.js.map → store-tool-spans-CVX-jfkk.js.map} +1 -1
- package/dist/{store-tool-spans-C47hUUVM.d.ts → store-tool-spans-Dq8r0PbJ.d.ts} +4 -5
- package/dist/store-tool-spans-Dq8r0PbJ.d.ts.map +1 -0
- package/dist/{summary-report-CI4J6gxU.js → summary-report-DzbnK81K.js} +15 -7
- package/dist/summary-report-DzbnK81K.js.map +1 -0
- package/dist/summary-report-figures-CJHygLgw.d.ts.map +1 -1
- package/dist/supervisor-run/index.d.ts +1 -1
- package/dist/supervisor-run/index.js +1 -1
- package/dist/{systemone-MXhFSYdy.d.ts → systemone-BuSZTI88.d.ts} +8 -7
- package/dist/systemone-BuSZTI88.d.ts.map +1 -0
- package/dist/{systemone-review-C9kbs3zD.d.ts → systemone-review-mlfxWdLz.d.ts} +2 -2
- package/dist/{systemone-review-C9kbs3zD.d.ts.map → systemone-review-mlfxWdLz.d.ts.map} +1 -1
- package/dist/systemone.d.ts +3 -3
- package/dist/systemone.js +1 -1
- package/dist/{tool-groups-BSd08M7B.d.ts → tool-groups-PNDX8fd-.d.ts} +2 -3
- package/dist/tool-groups-PNDX8fd-.d.ts.map +1 -0
- package/dist/{tool-waste-u7JJ_BlE.js → tool-waste-783VCo1y.js} +3 -2
- package/dist/{tool-waste-u7JJ_BlE.js.map → tool-waste-783VCo1y.js.map} +1 -1
- package/dist/tool-waste-B01AMpID.d.ts +121 -0
- package/dist/tool-waste-B01AMpID.d.ts.map +1 -0
- package/dist/{trace-questions-CJANeK9P.d.ts → trace-questions-DBtr4jWi.d.ts} +2 -3
- package/dist/trace-questions-DBtr4jWi.d.ts.map +1 -0
- package/dist/trace-repair/index.d.ts +1 -1
- package/dist/trace-repair/index.js +1 -1
- package/dist/traces.d.ts +4 -5
- package/dist/traces.d.ts.map +1 -1
- package/dist/traces.js +4 -4
- 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-CtlQQL1w.js} +6 -4
- package/dist/{tree-DQMlcNFI.js.map → tree-CtlQQL1w.js.map} +1 -1
- package/dist/{types-DD1eUTLn.d.ts → types-BO948H-U.d.ts} +7 -4
- package/dist/{types-DD1eUTLn.d.ts.map → types-BO948H-U.d.ts.map} +1 -1
- package/dist/{types-AGUuvnae.d.ts → types-CKNAzCSA.d.ts} +158 -3
- package/dist/types-CKNAzCSA.d.ts.map +1 -0
- package/dist/{types-BLv2Ngla.d.ts → types-D-WF1KM3.d.ts} +2 -2
- package/dist/{types-BLv2Ngla.d.ts.map → types-D-WF1KM3.d.ts.map} +1 -1
- package/dist/types-DK4vNv5q.js.map +1 -1
- package/dist/{types-CE9JMZhk.d.ts → types-DbeIGi73.d.ts} +2 -2
- package/dist/{types-CE9JMZhk.d.ts.map → types-DbeIGi73.d.ts.map} +1 -1
- package/dist/types-_tlhWGUq.js.map +1 -1
- package/dist/wire/index.d.ts +4 -4
- 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 +31 -0
- package/docs/eval-surface-map.md +4 -1
- package/docs/feature-guide.md +2 -0
- package/docs/multi-turn-optimization.md +80 -0
- package/docs/outcome-validity.md +69 -0
- package/docs/public-api.md +86 -31
- package/docs/trace-analysis.md +1 -0
- package/docs/world.md +104 -0
- package/package.json +7 -2
- package/dist/analyze-runs-Ke0WbAf6.d.ts.map +0 -1
- package/dist/benchmark-command-MfXRocwZ.js.map +0 -1
- package/dist/campaign-DfSWSreo.js.map +0 -1
- package/dist/cluster-Bj90LK-1.d.ts.map +0 -1
- package/dist/default-registry-CUuorCWZ.d.ts.map +0 -1
- package/dist/default-registry-IkE3byrA.js.map +0 -1
- package/dist/define-agent-eval-B6uE3gNu.js.map +0 -1
- package/dist/define-agent-eval-D17XsdAt.d.ts.map +0 -1
- package/dist/engine-BZVXOc6n.d.ts +0 -152
- package/dist/engine-BZVXOc6n.d.ts.map +0 -1
- package/dist/external-optimizer-subprocess-BW0ZWUUr.js.map +0 -1
- package/dist/findings-store-BxpV-hfH.js.map +0 -1
- package/dist/harness-session-lines-CSxKR6no.js.map +0 -1
- package/dist/index-B_k8aY9k.d.ts.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-CR-guIiZ.d.ts.map +0 -1
- package/dist/index-Ucp54Pcl.d.ts.map +0 -1
- package/dist/interval-CWyxqDpE.d.ts +0 -43
- package/dist/interval-CWyxqDpE.d.ts.map +0 -1
- package/dist/kind-factory-BDd4rhML.js.map +0 -1
- package/dist/llm-judge-DQJTQx01.js.map +0 -1
- package/dist/matrix-DlSrRl_v.d.ts.map +0 -1
- package/dist/outcome-observations-DL3CC8w1.js.map +0 -1
- package/dist/pareto-Bg75Gajo.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-CtLyPb5-.d.ts.map +0 -1
- package/dist/run-record-Bqg0NZ_e.js.map +0 -1
- package/dist/sequential-BphITa5b.js.map +0 -1
- package/dist/statistics-DSidA5I2.js.map +0 -1
- package/dist/store-tool-spans-C47hUUVM.d.ts.map +0 -1
- package/dist/summary-report-CI4J6gxU.js.map +0 -1
- package/dist/systemone-MXhFSYdy.d.ts.map +0 -1
- package/dist/tool-groups-BSd08M7B.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/trace-questions-CJANeK9P.d.ts.map +0 -1
- package/dist/types-AGUuvnae.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,30 @@ All notable changes to `@tangle-network/agent-eval` and its sibling `agent-eval-
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## [2.0.9] — 2026-11-22
|
|
8
|
+
|
|
9
|
+
- `/world` runs an agent through many sessions of a simulated world whose clock the test controls. A scenario is data with a hidden key; spend returns outcomes days later with noise, ramp, saturation and wear; a gated lever refuses spend with no recorded approval; only the notes an agent saved cross between sessions. `runWorldEpisode` scores the end state and the decision log, `worldDecisionCosts` prices each action by replay, and `compareWorldPolicies` checks on shared seeds that a patient scripted policy beats an impulsive one beyond noise before a model is run. `launchQuarterScenario` is the first scenario and `chatWorldAgent` puts a chat model through it.
|
|
10
|
+
- A multi-turn conversation with a simulated user is an optimization and comparison target. `multishotRollout` runs the conversation engine as the `selfImprove` and `compareOptimizationMethods` dispatch, with every leg metered through the cell and a code-checked outcome as the score. `conversationGate` refuses a comparison whose arms met a different simulated user or seed, and `describeConversation` gives the native proposer and GEPA the same evidence.
|
|
11
|
+
- `passHatK` and `repeatReliability` report success in all k seeded repeats beside mean success, per independent unit.
|
|
12
|
+
- `measureSimulatorRealism` measures a simulated user against recorded real user turns with a calibrated System One judge; `improveAdversarialUser` searches the user side on the agent's failure rate only and emits what it finds as train scenarios.
|
|
13
|
+
- `renderProfileMatrixReport` turns profile-matrix records into one self-contained decision page (inline SVG and CSS, no network, light and dark): quality against dollars, tokens and seconds with the Pareto set, paired differences from a baseline with clustered intervals, factor main effects from matched profile pairs, a slice heatmap, error overlap with the oracle ceiling, item difficulty, calibration and the smallest detectable difference. Cells that ran different numbers of cases keep all their evidence: each paired difference (from the baseline, inside a factor effect, in a race) uses the cases both profiles scored and prints its own n and clusters, while the frontiers, overlap, difficulty, slices and power use the common cases of the panel, the profiles that scored at least `minCoverage` (default 0.9) of the baseline's cases or a race's survivors. Profiles under that line get a partial-coverage table with their own accuracy, coverage, paired difference and, from a race, the batch that dropped them. `analyzeProfileMatrix` returns the same numbers as data, with `panelProfiles`, `commonCases` and each profile's `pairedN`.
|
|
14
|
+
- `raceProfileMatrix` runs a profile-matrix plan in doubling case batches, drops a profile once its paired interval against the leader lies below zero, always keeps the baseline, and states that the leader's score on raced cases is biased upward. Skipped rows stay claimable, so `finalizeProfileMatrix` can still complete the plan.
|
|
15
|
+
- Campaign cells record the dispatch's own wall clock as `dispatchMs`, and run records carry it as `raw.dispatch_ms`, so agent latency excludes judging.
|
|
16
|
+
- `measureValidityStudy()` takes past changes (id, time, independent unit, numbers known at change time, optional before and after values) and later outcomes from the existing `OutcomeStore`, and reports for every measure and outcome whether the measure predicts the outcome on changes after a sealed cut. Directions are fixed before the cut and every test is one-sided in that direction, with whole-unit intervals and Benjamini-Hochberg across every pair tested. Each pair carries a pooled and a within-unit statistic; a pair that passes only pooled is `predicts-pooled-only`, because differences between units, not between changes, may carry it. Unmeasured values are reported as coverage, never zero; a measure on which too few held-out changes differ (`minMinority`, default 20) is `insufficient`. The report adds lead time, sensitivity and directional agreement under change, and a redundancy-penalized subset to climb with the remaining admitted measures returned as guards. `guardDrift()` checks a later batch for a climbed measure rising away from its guards. Prediction is not causation; the report's `claim` says what records would show cause.
|
|
17
|
+
- `sealMeasureValidityPlan()` and `verifyMeasureValidityPlan()` seal the cut, level, minimum counts, outcomes and measures under the RFC 8785 digest `sealExperiment` uses; the study refuses a plan whose seal does not verify.
|
|
18
|
+
- `clusteredAssociation()` tests an AUC or rank correlation, pooled or within units, with a whole-unit bootstrap standard error and a two-sided or one-sided Student-t p-value on `units - 1` degrees of freedom; `associationEstimate()` returns the point statistic alone.
|
|
19
|
+
- `correlationStudy()` and `rubricPredictiveValidity()` share outcome grouping and reduction with the new study; their results are unchanged.
|
|
20
|
+
|
|
21
|
+
The 2.0.8 source tag failed one test cleanup hook on a loaded runner before npm and PyPI publication. 2.0.9 is that release plus the profile-matrix family verdict and run-stability changes merged after the tag (#1329), with test hooks given the test timeout.
|
|
22
|
+
|
|
23
|
+
## [2.0.7] — 2026-11-21
|
|
24
|
+
|
|
25
|
+
- A forked native rollout keeps its copied conversation and counts each model and tool call under the session that performed it. A renamed Prime file keeps its native ID and parent.
|
|
26
|
+
- Trace analysts report completed model calls and admitted trace-tool calls when an investigation fails. The failure keeps its diagnostic and produces no answer or findings.
|
|
27
|
+
- Exact registry runs retain their findings and measured activity, including after a saved run is reopened. Usage summaries preserve partial token counts and their estimation status.
|
|
28
|
+
|
|
29
|
+
The 2.0.6 source tag failed the exact-registry checks before npm and PyPI publication.
|
|
30
|
+
|
|
7
31
|
## [2.0.5] — 2026-11-21
|
|
8
32
|
|
|
9
33
|
- Observers can return structured answers and lists of findings directly from DSPy. The bridge preserves nested JSON values and plain text. Valid findings reach the analyst without spending another model call on formatting.
|
package/dist/adapters/http.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as CostReceipt } from "../cost-ledger-CSP-OfFe.js";
|
|
2
|
-
import { R as Scenario, d as DispatchContext, f as DispatchFn } from "../types-
|
|
3
|
-
import "../index-
|
|
2
|
+
import { R as Scenario, d as DispatchContext, f as DispatchFn } from "../types-BO948H-U.js";
|
|
3
|
+
import "../index-DmMHTDjT.js";
|
|
4
4
|
export interface HttpDispatchOptions<TScenario extends Scenario, _TArtifact> {
|
|
5
5
|
/** Static endpoint URL. Mutually exclusive with `resolveUrl`. */
|
|
6
6
|
url?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { d as CostReceipt, f as CostReceiptInput, m as CustomTokenPricing } from "./cost-ledger-CSP-OfFe.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { dt as TraceAnalysisStore, i as AnalystFinding, m as EvidenceRef, p as AnalystUsageReceipt } from "./types-CKNAzCSA.js";
|
|
3
|
+
import { i as ChatResponse, r as ChatRequest } from "./chat-client-uQNXGuO4.js";
|
|
4
4
|
import { E as SearchExecutionIdentity, Q as SearchTaskOutcome, a as SearchAttemptAccounting, et as SearchTraceRef, j as SearchModelIdentity, z as SearchOperationRecordedEvent } from "./search-ledger-types-BhZE848w.js";
|
|
5
|
-
import { r as CampaignCellResult } from "./types-
|
|
6
|
-
import { o as SearchCellResult } from "./search-kernel-
|
|
5
|
+
import { r as CampaignCellResult } from "./types-BO948H-U.js";
|
|
6
|
+
import { o as SearchCellResult } from "./search-kernel-BzTeb89p.js";
|
|
7
7
|
import { AgentProfile, AgentProfile as AgentProfile$1, HarnessType, HarnessType as HarnessType$1 } from "@tangle-network/agent-interface";
|
|
8
8
|
interface AnalystEvidenceExpectation {
|
|
9
9
|
uri: string;
|
|
@@ -545,4 +545,4 @@ declare function agentProfileId(profile: AgentProfile): string;
|
|
|
545
545
|
*/
|
|
546
546
|
declare function agentProfileHash(profile: AgentProfile): string;
|
|
547
547
|
export { RunAnalystBenchmarkOptions as $, campaignCellMeasurement as A, AnalystBenchmarkObservation as B, ExternalOptimizerProcessLimits as C, ExternalTextCandidate as D, ExternalOptimizerWireCounts as E, AnalystBenchmarkCase as F, AnalystBenchmarkSummary as G, AnalystBenchmarkProvenance as H, AnalystBenchmarkDatasetRef as I, AnalystEvidenceResolutionError as J, AnalystEvidenceExpectation as K, AnalystBenchmarkDescriptor as L, searchModelIdentity as M, searchProposalExecution as N, ExternalTextEvaluationRequest as O, searchReceiptAccounting as P, AnalystLatencyDistribution as Q, AnalystBenchmarkError as R, ExternalOptimizerModelExecutionObservation as S, ExternalOptimizerRunnerCommand as T, AnalystBenchmarkResult as U, AnalystBenchmarkOutput as V, AnalystBenchmarkRunner as W, AnalystFindingScore as X, AnalystEvidenceResolver as Y, AnalystIssueExpectation as Z, ExternalOptimizerEvaluationRefusalReason as _, ProfileAxisSpec as a, ExternalOptimizerModelCallRequest as b, expandProfileAxes as c, DEFAULT_EXTERNAL_OPTIMIZER_PROCESS_LIMITS as d, runAnalystBenchmark as et, ExternalEvaluationMeasurement as f, ExternalOptimizerEvaluationObservation as g, ExternalOptimizerEndpointFormat as h, HarnessType$1 as i, campaignCellSearchResult as j, CampaignCellMeasurement as k, harnessAxisOf as l, ExternalOptimizerChatRequest as m, CODING_HARNESSES as n, agentProfileHash as o, ExternalOptimizerCallbackLimits as p, AnalystEvidenceResolution as q, HARNESS_NATIVE_MODEL as r, agentProfileId as s, AgentProfile$1 as t, traceStoreEvidenceResolver as tt, DEFAULT_EXTERNAL_OPTIMIZER_CALLBACK_LIMITS as u, ExternalOptimizerModelBudget as v, ExternalOptimizerResumeMode as w, ExternalOptimizerModelCallResult as x, ExternalOptimizerModelCall as y, AnalystBenchmarkLabelState as z };
|
|
548
|
-
//# sourceMappingURL=agent-profile-
|
|
548
|
+
//# sourceMappingURL=agent-profile-ORN4aArD.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-profile-
|
|
1
|
+
{"version":3,"file":"agent-profile-ORN4aArD.d.ts","names":["_$___cost_ledger0.CostReceiptInput"],"sources":["../src/analyst/benchmark.ts","../src/campaign/search-campaign-cell.ts","../src/campaign/external-optimizer-contracts.ts","../src/agent-profile.ts"],"mappings":";;;;;;;UAUiB;EACf;EACA,OAAO;;UAGQ;EACf;EACA;EACA;EACA;EACA,oBAAoB;EACpB;;EAEA,4BAA4B;;KAGlB;UAEK,qBAAqB;EACpC;;EAEA;;EAEA,YAAY;EACZ,OAAO;EACP,yBAAyB;;EAEzB,2BAA2B;EAC3B;EACA,WAAW;;UAGI;EACf;EACA;EACA;EACA;EACA;EACA,mBAAmB;EACnB;EACA;EACA;EACA;;EAEA;;EAEA;;EAEA;EACA;;UAGe;EACf,UAAU;EACV;EACA;;UAGe;EACf;EACA;EACA,oBAAoB;EACpB,QAAQ;;EAER;;KAGU,wBAAwB,qBAAqB;EACvD;EACA,WAAW;EACX,UAAU;EACV,SAAS;gBACK;;;;;iBAMA,2BAA2B,QACzC,WAAW,OAAO,WAAW,qBAC5B,wBAAwB;UAoBV;EACf,mBAAmB;EACnB,QAAQ;EACR,WAAW;;;;;EAKX;;EAEA,QAAQ;;UAGO;EACf;EACA;EACA;EACA;;UAGe,uBAAuB;EACtC;EACA,QACE,OAAO,QACP;IAAW;IAAgB;IAAoB,SAAS;MACvD,yBAAyB,QAAQ;;UAGrB;EACf;EACA;EACA;EACA,YAAY;EACZ;EACA;EACA;EACA;EACA,mBAAmB;EACnB,OAAO;EACP,qBAAqB;EACrB;EACA,eAAe;EACf,QAAQ;EACR,iBAAiB;EACjB,QAAQ;;UAGO;EACf;EACA;EACA;EACA;EACA;;UAGe;EACf;EACA;EACA;EACA;EACA;EACA;EACA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;EAEA;;EAEA;;EAEA;;EAEA;EACA,WAAW;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;UAGe;EACf;EACA;EACA;;UAGe;EACf;EACA,UAAU;EACV;EACA,cAAc;EACd,WAAW;;UAGI,mCAAmC;EAClD;EACA;EACA;EACA;EACA;EACA;EACA;;UAGe;EACf,YAAY;EACZ,cAAc;EACd,WAAW;;UAGI,2BAA2B;EAC1C,gBAAgB,qBAAqB;EACrC,kBAAkB,uBAAuB;EACzC;EACA;EACA;EACA,kBAAkB,wBAAwB;EAC1C,YAAY;;EAEZ,+BAA+B;EAC/B,iBAAiB,aAAa,uCAAuC;EACrE,SAAS;;iBAGW,oBAAoB,QACxC,SAAS,2BAA2B,UACnC,QAAQ;;;;;;;UC9OM;;EAEf;EACA;EACA;;EAEA;IAAW;IAAsB;;;EAEjC;EACA,SAAS;EACT,YAAY;;EAEZ;EACA;;;EAGA,WAAW;;;;;;;;;;iBAWG,wBAAwB,WACtC,MAAM,mBAAmB,aACxB;;;;;;;;;iBAyBa,yBAAyB,WACvC,MAAM,mBAAmB,aAAa,yBACtC;EAAS,WAAW;EAAyB;IAC5C;;iBA8Ba,oBAAoB,eAAe,mBAAmB;;;iBAkEtD,wBACd,UAAU,cAAc,eACvB;;;iBA+Ba,wBACd,UAAU,cAAc,cACxB,kBACA,QAAQ,sDACP;UC/Mc;;EAEf;;EAEA;;EAEA;;cAGW,2CAA2C,SAAS;UAOhD;;EAEf;;EAEA;;cAGW,4CAA4C,SAAS;UAMjD;EACf;EACA;EACA,MAAM,OAAO;;EAEb,SAAS,QAAQ;;KAGP;KAEA,iCAAiC;UAE5B;EACf,WAAW;EACX;;KAqDG,aAAa,KAAK,eAAc,6BACjC,IACA,0BAA0B,gBACf,aAAa,OACtB,+BACc,WAAW,IAAI,aAAa,EAAE,SAC1C;;KAGI,+BAA+B,aACzC,KAAK;EAA0B;;KAGrB;;UAMK;;WAEN;;WAEA,SAAS;;WAET,iBAAiB;WACjB,QAAQ;;;KAIP;WAEG;;WAEA,UAAU;;;;;;;WAOV,SAPUA;;WASV;;WAGA;;WAEA;;WAEA,SATkCA;;WAWlC;;;;;;;;;;;;KAaH,8BACV,SAAS,sCACN,QAAQ;;KAGD;WAEG;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAGA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;;;;UASE;WACN;WACA,gBAAgB;;KAGf;;;;;;KAUA;WAEG;WACA;WACA,WAAW;WACX;;WAGA;WACA;WACA,WAAW;WACX;WACA;;WAEA;WACA;;;WAGA,cAAc;;WAGd;WACA;WACA,QAAQ;WACR,YAAY;WACZ;WACA;;;;;;;WAOA,cAAc;;UAGZ;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;;;EAUA;;;;;;EAMA,UAAU;;EAEV;;;UAIe;;EAEf;;EAEA;;;;;;;;;cCzRW,2BAA2B;UAOvB;;;EAGf,MAAM;;EAEN,qBAAqB;;;EAGrB;;;;;;EAMA;;;;;;;cAQW;;;;;;;;;;;;;;;;;;;iBAoBG,kBAAkB,MAAM,kBAAkB;;;;;;;;iBAkD1C,cACd,SAAS,KAAK;EACX,SAAS;EAAa;;;;;;;;;iBAiBX,eAAe,SAAS;;;;;;;;;;;iBAmDxB,iBAAiB,SAAS"}
|
package/dist/analyst/index.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { m as CustomTokenPricing, o as CostLedgerHandle } from "../cost-ledger-CSP-OfFe.js";
|
|
2
|
-
import { A as FindingParseOutcome, B as FindingTreatment, C as CalibrationInterval, D as FindingLayer, E as FindingEvidenceUnit, F as independentUnitCount, H as TreatmentLayer, I as lineageRoots, L as parseAnalystFinding, M as FindingScope, N as FindingScopeReading, O as FindingMeasure, P as ProposalFindingSchema, R as readFindingScope, S as makeProposalFinding, T as FindingCalibration, V as TREATMENT_LAYERS, Y as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { a as
|
|
2
|
+
import { $ as parseRawFinding, A as FindingParseOutcome, B as FindingTreatment, C as CalibrationInterval, D as FindingLayer, E as FindingEvidenceUnit, F as independentUnitCount, G as TraceAnalysisEngineRequest, H as TreatmentLayer, I as lineageRoots, J as RAW_FINDING_SCHEMA_PROMPT, K as TraceAnalysisEngineResult, L as parseAnalystFinding, M as FindingScope, N as FindingScopeReading, O as FindingMeasure, P as ProposalFindingSchema, Q as evidenceRefsFromRawFinding, R as readFindingScope, S as makeProposalFinding, St as TraceAnalystSpan, T as FindingCalibration, U as TraceAnalysisActivity, V as TREATMENT_LAYERS, W as TraceAnalysisEngine, X as RawAnalystFinding, Y as RawAnalystEvidence, Z as RawAnalystFindingSchema, _ as ExecutionProbeRequest, a as AnalystFindingSchemaVersion, b as computeFindingId, c as AnalystRunEvent, d as AnalystRunSummary, dt as TraceAnalysisStore, f as AnalystSeverity, g as ExecutionProbeOutcome, h as ExecutionProbe, i as AnalystFinding, j as FindingReaderLabel, k as FindingMethod, l as AnalystRunInputs, m as EvidenceRef, n as AnalystContext, o as AnalystInputKind, p as AnalystUsageReceipt, q as TraceAnalystLimits, r as AnalystCost, s as AnalystRequirements, t as Analyst, u as AnalystRunResult, v as ProposalFinding, w as FINDING_LAYERS, x as makeFinding, y as ProposalFindingOrigin, z as FindingConditions } from "../types-CKNAzCSA.js";
|
|
3
|
+
import { a as ChatTransport, d as SandboxSdkTransportOpts, f as createChatClient, i as ChatResponse, l as MockTransportOpts, n as ChatClient, o as CreateChatClientOpts, r as ChatRequest, s as CustomTransportOpts, t as ChatCallOpts, u as OpenAiCompatibleTransportOpts } from "../chat-client-uQNXGuO4.js";
|
|
4
|
+
import { t as BootstrapInterval } from "../cluster-C-K0N2br.js";
|
|
5
|
+
import { Xt as NominalAgreementOptions } from "../index-CIqYaySd.js";
|
|
6
|
+
import { $ as RunAnalystBenchmarkOptions, B as AnalystBenchmarkObservation, F as AnalystBenchmarkCase, G as AnalystBenchmarkSummary, H as AnalystBenchmarkProvenance, I as AnalystBenchmarkDatasetRef, J as AnalystEvidenceResolutionError, K as AnalystEvidenceExpectation, L as AnalystBenchmarkDescriptor, Q as AnalystLatencyDistribution, R as AnalystBenchmarkError, S as ExternalOptimizerModelExecutionObservation, T as ExternalOptimizerRunnerCommand, U as AnalystBenchmarkResult, V as AnalystBenchmarkOutput, W as AnalystBenchmarkRunner, X as AnalystFindingScore, Y as AnalystEvidenceResolver, Z as AnalystIssueExpectation, et as runAnalystBenchmark, q as AnalystEvidenceResolution, t as AgentProfile, tt as traceStoreEvidenceResolver, y as ExternalOptimizerModelCall, z as AnalystBenchmarkLabelState } from "../agent-profile-ORN4aArD.js";
|
|
7
|
+
import { C as BehavioralWindowPolicy, S as BehavioralTraceWindow, _ as BehavioralTraceEventMap, a as createTraceAnalyst, b as BehavioralTraceQuestionsOptions, c as BehavioralAnalystOptions, d as pinBehavioralFailureClass, f as BEHAVIORAL_TRACE_QUESTIONS, g as BehavioralTraceEvent, h as BehavioralTraceAnswer, i as TraceAnalystDefinition, l as assertFailureClasses, m as BehavioralQuestionCalibration, n as buildDefaultAnalystRegistry, o as runTraceAnalyst, p as BEHAVIORAL_TRACE_QUESTIONS_VERSION, r as CreateTraceAnalystOptions, s as BEHAVIORAL_FAILURE_CLASS, t as DefaultAnalystRegistryOptions, u as behavioralAnalyst, v as BehavioralTraceLayer, w as behavioralTraceQuestionDigest, x as BehavioralTraceSupport, y as BehavioralTraceQuestionId } from "../default-registry-Bskl2HzV.js";
|
|
8
|
+
import { a as ExactAnalystRunPolicySnapshot, c as ExactAnalystSnapshot, d as ExactExecutionComponentSnapshot, i as ExactAnalystRunEvent, l as ExactCapableAnalyst, n as ExactAnalystExecutionPlanSnapshot, o as ExactAnalystRunResult, r as ExactAnalystRunCompletion, s as ExactAnalystRunSummary, t as ExactAnalystBudgetSnapshot, u as ExactExecutionComponentIdentity } from "../exact-types-CUsSMW3n.js";
|
|
8
9
|
import { g as SystemOneState } from "../systemone-protocol-C4t7JH4Y.js";
|
|
9
|
-
import { B as DiffPolicy, F as FindingsTimeStep, H as FindingsStore, I as LedgerFinding, L as diffFindingsOverTime, M as FindingsLedgerOutcome, N as FindingsLedgerRead, P as FindingsQuery, R as openFindingsLedger, U as PersistedFinding, V as FindingsDiff, W as diffFindings, j as FindingsLedger, r as SystemOneEvaluatorOptions, z as queryFindings } from "../systemone-
|
|
10
|
-
import {
|
|
11
|
-
import { n as
|
|
12
|
-
import { a as
|
|
13
|
-
import { T as
|
|
14
|
-
import { C as runPrimeExchange, D as ReplyRowDecoded, E as ReplyEnvelope, O as ReplyRowRejection, S as projectPrimeTrajectory, T as ReplyContract, _ as buildPrimePrompt, a as PrimeProjectionOutcome, b as normalizePrimeUsage, c as PrimeProtocolIdentity, d as PrimeRepairPromptSpec, f as PrimeRepairState, g as analystUsageReceiptFromPrimeUsage, h as PrimeTurnRecord, i as PrimeProjectionDelivery, l as PrimeRawUsage, m as PrimeRowDecoded, n as PrimeExchangeOutcome, o as PrimeProjectionSource, p as PrimeReplyContract, r as PrimeFailure, s as PrimePromptSpec, t as PrimeExchangeOptions, u as PrimeRejectedRow, v as buildPrimeRepairPrompt, w as DecodedReply, x as primeProtocolSha256, y as mergePrimeRawUsage } from "../prime-protocol-iEaSEGZB.js";
|
|
10
|
+
import { B as DiffPolicy, F as FindingsTimeStep, H as FindingsStore, I as LedgerFinding, L as diffFindingsOverTime, M as FindingsLedgerOutcome, N as FindingsLedgerRead, P as FindingsQuery, R as openFindingsLedger, U as PersistedFinding, V as FindingsDiff, W as diffFindings, j as FindingsLedger, r as SystemOneEvaluatorOptions, z as queryFindings } from "../systemone-BuSZTI88.js";
|
|
11
|
+
import { n as buildTraceToolsForGroup, t as TraceToolGroupName } from "../tool-groups-PNDX8fd-.js";
|
|
12
|
+
import { a as BudgetPolicy, c as RegistryRunOpts, i as AnalystRegistryOptions, n as ExactAnalystRunExecutionError, o as ExactAnalystBudgetPolicy, r as AnalystHooks, s as ExactRegistryRunOpts, t as AnalystRegistry } from "../registry-DEZDECdr.js";
|
|
13
|
+
import { T as SemanticConceptJudgeOptions, _ as DspyRlmTraceEngineOptions, a as FAILURE_MODE_KIND_SPEC, b as createChatTraceEngine, c as emitControlIntegrityFindings, d as FindingSubject, f as FindingSubjectKind, g as renderFindingSubject, h as parseFindingSubject, i as IMPROVEMENT_KIND_SPEC, l as FINDING_SUBJECT_KINDS, m as findingSubjectGrammarPromptFor, n as KNOWLEDGE_POISONING_KIND_SPEC, o as CONTROL_INTEGRITY_ANALYST, p as KIND_EXPECTED_SUBJECTS, r as KNOWLEDGE_GAP_KIND_SPEC, s as ControlIntegrityAnalyst, t as DEFAULT_TRACE_ANALYST_KINDS, u as FINDING_SUBJECT_SYNTAX, v as createDspyRlmTraceEngine, y as ChatTraceEngineOptions } from "../index--vDCtdaj.js";
|
|
14
|
+
import { C as runPrimeExchange, D as ReplyRowDecoded, E as ReplyEnvelope, O as ReplyRowRejection, S as projectPrimeTrajectory, T as ReplyContract, _ as buildPrimePrompt, a as PrimeProjectionOutcome, b as normalizePrimeUsage, c as PrimeProtocolIdentity, d as PrimeRepairPromptSpec, f as PrimeRepairState, g as analystUsageReceiptFromPrimeUsage, h as PrimeTurnRecord, i as PrimeProjectionDelivery, l as PrimeRawUsage, m as PrimeRowDecoded, n as PrimeExchangeOutcome, o as PrimeProjectionSource, p as PrimeReplyContract, r as PrimeFailure, s as PrimePromptSpec, t as PrimeExchangeOptions, u as PrimeRejectedRow, v as buildPrimeRepairPrompt, w as DecodedReply, x as primeProtocolSha256, y as mergePrimeRawUsage } from "../prime-protocol-Jm2pWh--.js";
|
|
15
15
|
import { i as nodeHttpPrimeBridgeTransport, n as PrimeBridgeTransportRequest, r as PrimeBridgeTransportResult, t as PrimeBridgeTransport } from "../prime-bridge-transport-Cfqir_Im.js";
|
|
16
|
-
import { b as SupervisorRunSources } from "../types-
|
|
17
|
-
import { a as askTraceQuestions, i as VerifiedTraceFinding, n as TraceQuestionOutcome, r as TraceQuestionSpec, t as AskTraceQuestionsOptions } from "../trace-questions-
|
|
16
|
+
import { b as SupervisorRunSources } from "../types-D-WF1KM3.js";
|
|
17
|
+
import { a as askTraceQuestions, i as VerifiedTraceFinding, n as TraceQuestionOutcome, r as TraceQuestionSpec, t as AskTraceQuestionsOptions } from "../trace-questions-DBtr4jWi.js";
|
|
18
18
|
import { z } from "zod";
|
|
19
19
|
interface SemanticConceptJudgeAdapterOpts {
|
|
20
20
|
id?: string;
|
|
@@ -1679,5 +1679,5 @@ export declare function classifyTeamShape(input: TeamShapeInput): TeamShapeOutco
|
|
|
1679
1679
|
* timestamps fails the analyst instead of emitting a shape it did not measure.
|
|
1680
1680
|
*/
|
|
1681
1681
|
export declare function teamShapeAnalyst(): Analyst<TeamShapeInput>;
|
|
1682
|
-
export { type AgentRxBenchmarkCaseOptions, type AgentRxCalibrationRunnerSummary, type AgentRxCalibrationSummary, type AgentRxFailure, type AgentRxPrediction, type AgentRxPredictionReport, type AgentRxRow, type Analyst, type AnalystBenchmarkArtifact, type AnalystBenchmarkCase, type AnalystBenchmarkCommandConfig, type AnalystBenchmarkCommandDependencies, type AnalystBenchmarkDatasetRef, type AnalystBenchmarkDescriptor, type AnalystBenchmarkError, type AnalystBenchmarkLabelState, type AnalystBenchmarkLocalRunReceipt, type AnalystBenchmarkObservation, type AnalystBenchmarkOutput, type AnalystBenchmarkProgressRow, type AnalystBenchmarkProvenance, type AnalystBenchmarkResult, type AnalystBenchmarkRunIdentity, type AnalystBenchmarkRunManifest, type AnalystBenchmarkRunner, type AnalystBenchmarkSummary, type AnalystBudgetDeclaration, type AnalystComparisonMetric, type AnalystContext, type AnalystCost, type AnalystDefinition, type AnalystDefinitionAsymmetry, type AnalystDefinitionAsymmetryReport, type AnalystEvidenceBinding, type AnalystEvidenceExpectation, type AnalystEvidenceResolution, type AnalystEvidenceResolutionError, type AnalystEvidenceResolver, type AnalystFinding, type AnalystFindingSchemaVersion, type AnalystFindingScore, type AnalystHooks, type AnalystInputKind, type AnalystInstructionsOverride, type AnalystIssueExpectation, type AnalystLatencyDistribution, type AnalystMetricComparison, type AnalystProfileFragment, AnalystRegistry, type AnalystRegistryOptions, type AnalystRepairDeclaration, type AnalystRequirements, type AnalystRowExpansion, type AnalystRunEvent, type AnalystRunInputs, type AnalystRunResult, type AnalystRunSummary, type AnalystRunnerComparison, type AnalystSeverity, type AnalystTransportBinding, type AnalystUsageReceipt, type AskTraceQuestionsOptions, BEHAVIORAL_FAILURE_CLASS, BEHAVIORAL_TRACE_QUESTIONS, BEHAVIORAL_TRACE_QUESTIONS_VERSION, type BehavioralAnalystOptions, type BehavioralQuestionCalibration, type BehavioralTraceAnswer, type BehavioralTraceCalibrationRow, type BehavioralTraceEvent, type BehavioralTraceEventMap, type BehavioralTraceGold, type BehavioralTraceLayer, type BehavioralTraceQuestionId, type BehavioralTraceQuestionsOptions, type BehavioralTraceSupport, type BehavioralTraceWindow, type BehavioralWindowPolicy, type BudgetPolicy, CONTROL_INTEGRITY_ANALYST, type CalibrationInterval, type ChatCallOpts, type ChatClient, type ChatRequest, type ChatResponse, type ChatTraceEngineOptions, type ChatTransport, type ChoiceCalibration, type ChoiceGold, type ChoiceOptionCalibration, type ChoicePrediction, type ChunkedEvidenceBinding, type ClassCalibration, type CodeTraceBenchCaseOptions, type CodeTraceBenchLabelOptions, type CodeTraceBenchLabelSet, type CodeTraceBenchRow, type CodeTraceBlockDiagnostics, type CodeTraceCalibrationRunnerSummary, type CodeTraceCalibrationSummary, type CodeTraceFailureBlock, type CodeTraceStageAnnotation, type CodeTracerLabelGroup, type CodeTracerPredictionAdapterOptions, type CodeTracerPredictions, type CodeTracerStepLabel, ControlIntegrityAnalyst, type CreateChatClientOpts, type CreateTraceAnalystOptions, type CustomTransportOpts, DEFAULT_TRACE_ANALYST_KINDS, type DecodedReply, type DefaultAnalystRegistryOptions, type DefineCustomAnalystOptions, type DefineExactCustomAnalystOptions, type DiffPolicy, type DomainTaxonomy, type DspyRlmTraceEngineOptions, type EvidenceProjection, type EvidenceRef, type ExactAnalystBudgetPolicy, type ExactAnalystBudgetSnapshot, type ExactAnalystExecutionPlanSnapshot, type ExactAnalystRunCompletion, type ExactAnalystRunEvent, ExactAnalystRunExecutionError, type ExactAnalystRunPolicySnapshot, type ExactAnalystRunResult, type ExactAnalystRunSummary, type ExactAnalystSnapshot, type ExactCapableAnalyst, type ExactExecutionComponentIdentity, type ExactExecutionComponentSnapshot, type ExactRegistryRunOpts, type ExecutionProbe, type ExecutionProbeOutcome, type ExecutionProbeRequest, type ExpandRowsArgs, FAILURE_MODE_KIND_SPEC, FINDING_LAYERS, FINDING_SUBJECT_KINDS, FINDING_SUBJECT_SYNTAX, type FailureModeGold, type FailureModeGoldSources, type FailureModeLabel, type FailureModeLabelItem, type FailureModesAnalystOptions, type FailureModesCalibration, type FailureModesOutcome, type FindingCalibration, type FindingConditions, type FindingEvidenceUnit, type FindingLayer, type FindingMeasure, type FindingMethod, type FindingParseOutcome, type FindingReaderLabel, type FindingScope, type FindingScopeReading, type FindingSubject, type FindingSubjectKind, type FindingTreatment, type FindingsDiff, type FindingsLedger, type FindingsLedgerOutcome, type FindingsLedgerRead, type FindingsQuery, FindingsStore, type FindingsTimeStep, IMPROVEMENT_KIND_SPEC, type InlineEvidenceBinding, KIND_EXPECTED_SUBJECTS, KNOWLEDGE_GAP_KIND_SPEC, KNOWLEDGE_POISONING_KIND_SPEC, type LedgerFinding, type LoadedVerificationArtifacts, type MockTransportOpts, type NotObservable, type OpenAiCompatibleTransportOpts, type PersistedFinding, type PreparedPublicAnalystBenchmark, type PrimeBenchmarkRunnerOptions, type PrimeBridgeTransport, type PrimeBridgeTransportRequest, type PrimeBridgeTransportResult, type PrimeCodeTraceDefinitionArgs, type PrimeExchangeOptions, type PrimeExchangeOutcome, type PrimeFailure, type PrimeProjectionDelivery, type PrimeProjectionOutcome, type PrimeProjectionSource, type PrimePromptSpec, type PrimeProtocolIdentity, type PrimeRawUsage, type PrimeRejectedRow, type PrimeRepairPromptSpec, type PrimeRepairState, type PrimeReplyContract, type PrimeRowDecoded, type PrimeTurnRecord, type PromoteOptions, type PromotionHold, type PromotionResult, type ProposalFinding, type ProposalFindingOrigin, ProposalFindingSchema, type PublicAnalystBenchmarkDataset, type PublicAnalystBenchmarkModelConfig, type PublicAnalystBenchmarkModelOwner, type PublicAnalystBenchmarkModelSettings, type PublicBenchmarkDistributions, type PublicBenchmarkModelPrediction, type PublicBenchmarkSelectionReport, type PublicBenchmarkValueDistribution, type PublicDirectDefinitionArgs, type PublicRlmDefinitionArgs, RAW_FINDING_SCHEMA_PROMPT, type RawAnalystEvidence, type RawAnalystFinding, RawAnalystFindingSchema, type RegistryRunOpts, type ReplVariableConsensusPort, type ReplVariableEvidenceBinding, type ReplyContract, type ReplyEnvelope, type ReplyRowDecoded, type ReplyRowRejection, type RollupInput, type RollupOptions, type RollupResult, type RunAnalystBenchmarkOptions, type SandboxSdkTransportOpts, type SemanticConceptJudgeAdapterOpts, type SkillUsageRecord, type SkillUsageReport, type SkillUsageScanConfig, type StepLabelAdapterOptions, TREATMENT_LAYERS, type TaxonomyAttachment, type TaxonomyNode, type TaxonomyNodeLayer, type TaxonomyOutcome, type TeamIntegration, type TeamShape, type TeamShapeCheck, type TeamShapeClass, type TeamShapeEdge, type TeamShapeFeatures, type TeamShapeInput, type TeamShapeObserved, type TeamShapeOutcome, type TraceAnalysisEngine, type TraceAnalysisEngineRequest, type TraceAnalysisEngineResult, type TraceAnalystDefinition, type TraceAnalystLimits, type TraceQuestionOutcome, type TraceQuestionSpec, type TraceToolGroupName, type TreatmentLayer, type UpstreamPredictionAdapterOptions, type VerificationArtifactFile, type VerificationArtifactManifest, type VerificationArtifactRole, type VerificationAvailabilitySummary, type VerificationOutcome, type VerificationOutcomeSource, type VerificationOutcomeStatus, type VerificationResultFile, type VerifiedTraceFinding, analystUsageReceiptFromPrimeUsage, askTraceQuestions, assertFailureClasses, behavioralAnalyst, behavioralTraceQuestionDigest, buildDefaultAnalystRegistry, buildPrimePrompt, buildPrimeRepairPrompt, buildTraceToolsForGroup, computeFindingId, createChatClient, createChatTraceEngine, createDspyRlmTraceEngine, createTraceAnalyst, diffFindings, diffFindingsOverTime, emitControlIntegrityFindings, evidenceRefsFromRawFinding, findingSubjectGrammarPromptFor, independentUnitCount, lineageRoots, makeFinding, makeProposalFinding, mergePrimeRawUsage, nodeHttpPrimeBridgeTransport, normalizePrimeUsage, openFindingsLedger, parseAnalystFinding, parseFindingSubject, parseRawFinding, pinBehavioralFailureClass, primeProtocolSha256, projectPrimeTrajectory, queryFindings, readFindingScope, renderFindingSubject, runAnalystBenchmark, runPrimeExchange, runTraceAnalyst, traceStoreEvidenceResolver };
|
|
1682
|
+
export { type AgentRxBenchmarkCaseOptions, type AgentRxCalibrationRunnerSummary, type AgentRxCalibrationSummary, type AgentRxFailure, type AgentRxPrediction, type AgentRxPredictionReport, type AgentRxRow, type Analyst, type AnalystBenchmarkArtifact, type AnalystBenchmarkCase, type AnalystBenchmarkCommandConfig, type AnalystBenchmarkCommandDependencies, type AnalystBenchmarkDatasetRef, type AnalystBenchmarkDescriptor, type AnalystBenchmarkError, type AnalystBenchmarkLabelState, type AnalystBenchmarkLocalRunReceipt, type AnalystBenchmarkObservation, type AnalystBenchmarkOutput, type AnalystBenchmarkProgressRow, type AnalystBenchmarkProvenance, type AnalystBenchmarkResult, type AnalystBenchmarkRunIdentity, type AnalystBenchmarkRunManifest, type AnalystBenchmarkRunner, type AnalystBenchmarkSummary, type AnalystBudgetDeclaration, type AnalystComparisonMetric, type AnalystContext, type AnalystCost, type AnalystDefinition, type AnalystDefinitionAsymmetry, type AnalystDefinitionAsymmetryReport, type AnalystEvidenceBinding, type AnalystEvidenceExpectation, type AnalystEvidenceResolution, type AnalystEvidenceResolutionError, type AnalystEvidenceResolver, type AnalystFinding, type AnalystFindingSchemaVersion, type AnalystFindingScore, type AnalystHooks, type AnalystInputKind, type AnalystInstructionsOverride, type AnalystIssueExpectation, type AnalystLatencyDistribution, type AnalystMetricComparison, type AnalystProfileFragment, AnalystRegistry, type AnalystRegistryOptions, type AnalystRepairDeclaration, type AnalystRequirements, type AnalystRowExpansion, type AnalystRunEvent, type AnalystRunInputs, type AnalystRunResult, type AnalystRunSummary, type AnalystRunnerComparison, type AnalystSeverity, type AnalystTransportBinding, type AnalystUsageReceipt, type AskTraceQuestionsOptions, BEHAVIORAL_FAILURE_CLASS, BEHAVIORAL_TRACE_QUESTIONS, BEHAVIORAL_TRACE_QUESTIONS_VERSION, type BehavioralAnalystOptions, type BehavioralQuestionCalibration, type BehavioralTraceAnswer, type BehavioralTraceCalibrationRow, type BehavioralTraceEvent, type BehavioralTraceEventMap, type BehavioralTraceGold, type BehavioralTraceLayer, type BehavioralTraceQuestionId, type BehavioralTraceQuestionsOptions, type BehavioralTraceSupport, type BehavioralTraceWindow, type BehavioralWindowPolicy, type BudgetPolicy, CONTROL_INTEGRITY_ANALYST, type CalibrationInterval, type ChatCallOpts, type ChatClient, type ChatRequest, type ChatResponse, type ChatTraceEngineOptions, type ChatTransport, type ChoiceCalibration, type ChoiceGold, type ChoiceOptionCalibration, type ChoicePrediction, type ChunkedEvidenceBinding, type ClassCalibration, type CodeTraceBenchCaseOptions, type CodeTraceBenchLabelOptions, type CodeTraceBenchLabelSet, type CodeTraceBenchRow, type CodeTraceBlockDiagnostics, type CodeTraceCalibrationRunnerSummary, type CodeTraceCalibrationSummary, type CodeTraceFailureBlock, type CodeTraceStageAnnotation, type CodeTracerLabelGroup, type CodeTracerPredictionAdapterOptions, type CodeTracerPredictions, type CodeTracerStepLabel, ControlIntegrityAnalyst, type CreateChatClientOpts, type CreateTraceAnalystOptions, type CustomTransportOpts, DEFAULT_TRACE_ANALYST_KINDS, type DecodedReply, type DefaultAnalystRegistryOptions, type DefineCustomAnalystOptions, type DefineExactCustomAnalystOptions, type DiffPolicy, type DomainTaxonomy, type DspyRlmTraceEngineOptions, type EvidenceProjection, type EvidenceRef, type ExactAnalystBudgetPolicy, type ExactAnalystBudgetSnapshot, type ExactAnalystExecutionPlanSnapshot, type ExactAnalystRunCompletion, type ExactAnalystRunEvent, ExactAnalystRunExecutionError, type ExactAnalystRunPolicySnapshot, type ExactAnalystRunResult, type ExactAnalystRunSummary, type ExactAnalystSnapshot, type ExactCapableAnalyst, type ExactExecutionComponentIdentity, type ExactExecutionComponentSnapshot, type ExactRegistryRunOpts, type ExecutionProbe, type ExecutionProbeOutcome, type ExecutionProbeRequest, type ExpandRowsArgs, FAILURE_MODE_KIND_SPEC, FINDING_LAYERS, FINDING_SUBJECT_KINDS, FINDING_SUBJECT_SYNTAX, type FailureModeGold, type FailureModeGoldSources, type FailureModeLabel, type FailureModeLabelItem, type FailureModesAnalystOptions, type FailureModesCalibration, type FailureModesOutcome, type FindingCalibration, type FindingConditions, type FindingEvidenceUnit, type FindingLayer, type FindingMeasure, type FindingMethod, type FindingParseOutcome, type FindingReaderLabel, type FindingScope, type FindingScopeReading, type FindingSubject, type FindingSubjectKind, type FindingTreatment, type FindingsDiff, type FindingsLedger, type FindingsLedgerOutcome, type FindingsLedgerRead, type FindingsQuery, FindingsStore, type FindingsTimeStep, IMPROVEMENT_KIND_SPEC, type InlineEvidenceBinding, KIND_EXPECTED_SUBJECTS, KNOWLEDGE_GAP_KIND_SPEC, KNOWLEDGE_POISONING_KIND_SPEC, type LedgerFinding, type LoadedVerificationArtifacts, type MockTransportOpts, type NotObservable, type OpenAiCompatibleTransportOpts, type PersistedFinding, type PreparedPublicAnalystBenchmark, type PrimeBenchmarkRunnerOptions, type PrimeBridgeTransport, type PrimeBridgeTransportRequest, type PrimeBridgeTransportResult, type PrimeCodeTraceDefinitionArgs, type PrimeExchangeOptions, type PrimeExchangeOutcome, type PrimeFailure, type PrimeProjectionDelivery, type PrimeProjectionOutcome, type PrimeProjectionSource, type PrimePromptSpec, type PrimeProtocolIdentity, type PrimeRawUsage, type PrimeRejectedRow, type PrimeRepairPromptSpec, type PrimeRepairState, type PrimeReplyContract, type PrimeRowDecoded, type PrimeTurnRecord, type PromoteOptions, type PromotionHold, type PromotionResult, type ProposalFinding, type ProposalFindingOrigin, ProposalFindingSchema, type PublicAnalystBenchmarkDataset, type PublicAnalystBenchmarkModelConfig, type PublicAnalystBenchmarkModelOwner, type PublicAnalystBenchmarkModelSettings, type PublicBenchmarkDistributions, type PublicBenchmarkModelPrediction, type PublicBenchmarkSelectionReport, type PublicBenchmarkValueDistribution, type PublicDirectDefinitionArgs, type PublicRlmDefinitionArgs, RAW_FINDING_SCHEMA_PROMPT, type RawAnalystEvidence, type RawAnalystFinding, RawAnalystFindingSchema, type RegistryRunOpts, type ReplVariableConsensusPort, type ReplVariableEvidenceBinding, type ReplyContract, type ReplyEnvelope, type ReplyRowDecoded, type ReplyRowRejection, type RollupInput, type RollupOptions, type RollupResult, type RunAnalystBenchmarkOptions, type SandboxSdkTransportOpts, type SemanticConceptJudgeAdapterOpts, type SkillUsageRecord, type SkillUsageReport, type SkillUsageScanConfig, type StepLabelAdapterOptions, TREATMENT_LAYERS, type TaxonomyAttachment, type TaxonomyNode, type TaxonomyNodeLayer, type TaxonomyOutcome, type TeamIntegration, type TeamShape, type TeamShapeCheck, type TeamShapeClass, type TeamShapeEdge, type TeamShapeFeatures, type TeamShapeInput, type TeamShapeObserved, type TeamShapeOutcome, type TraceAnalysisActivity, type TraceAnalysisEngine, type TraceAnalysisEngineRequest, type TraceAnalysisEngineResult, type TraceAnalystDefinition, type TraceAnalystLimits, type TraceQuestionOutcome, type TraceQuestionSpec, type TraceToolGroupName, type TreatmentLayer, type UpstreamPredictionAdapterOptions, type VerificationArtifactFile, type VerificationArtifactManifest, type VerificationArtifactRole, type VerificationAvailabilitySummary, type VerificationOutcome, type VerificationOutcomeSource, type VerificationOutcomeStatus, type VerificationResultFile, type VerifiedTraceFinding, analystUsageReceiptFromPrimeUsage, askTraceQuestions, assertFailureClasses, behavioralAnalyst, behavioralTraceQuestionDigest, buildDefaultAnalystRegistry, buildPrimePrompt, buildPrimeRepairPrompt, buildTraceToolsForGroup, computeFindingId, createChatClient, createChatTraceEngine, createDspyRlmTraceEngine, createTraceAnalyst, diffFindings, diffFindingsOverTime, emitControlIntegrityFindings, evidenceRefsFromRawFinding, findingSubjectGrammarPromptFor, independentUnitCount, lineageRoots, makeFinding, makeProposalFinding, mergePrimeRawUsage, nodeHttpPrimeBridgeTransport, normalizePrimeUsage, openFindingsLedger, parseAnalystFinding, parseFindingSubject, parseRawFinding, pinBehavioralFailureClass, primeProtocolSha256, projectPrimeTrajectory, queryFindings, readFindingScope, renderFindingSubject, runAnalystBenchmark, runPrimeExchange, runTraceAnalyst, traceStoreEvidenceResolver };
|
|
1683
1683
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/analyst/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { n as assertConsistentFindingConditions, o as mergeFindingComposition, r as findingCompositionKey, t as TREATMENT_LAYERS } from "../finding-composition-CyWSTcAY.js";
|
|
2
|
-
import {
|
|
2
|
+
import { J as nominalAgreement, W as rocAuc, nt as clusterBootstrap } from "../statistics-BPl13X3G.js";
|
|
3
3
|
import { t as FileLedgerJournal } from "../journal-3y-btqaP.js";
|
|
4
4
|
import { r as merkleRoot } from "../ledger-core-auznoaD7.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a as independentUnitCount, c as mostSevere, d as spanningWindow, i as UNKNOWN_LINEAGE, l as parseAnalystFinding, n as FINDING_LAYERS, o as lineageRoots, r as ProposalFindingSchema, s as mergeEvidenceUnits, t as AnalystFindingSchema, u as readFindingScope } from "../finding-scope-B_As3F_v.js";
|
|
6
6
|
import { a as makeProposalFinding, i as makeFinding, r as computeFindingId } from "../types-_tlhWGUq.js";
|
|
7
|
-
import { t as assertProposalFindings } from "../proposal-findings-
|
|
8
|
-
import { A as RawAnalystFindingSchema, B as parseFindingSubject, F as stripCodeFences, I as FINDING_SUBJECT_KINDS, L as FINDING_SUBJECT_SYNTAX, M as parseRawFinding, N as parseTraceSpanEvidenceUri, R as KIND_EXPECTED_SUBJECTS, V as renderFindingSubject, j as evidenceRefsFromRawFinding, k as RAW_FINDING_SCHEMA_PROMPT, n as runTraceAnalyst, r as buildTraceToolsForGroup, t as createTraceAnalyst, z as findingSubjectGrammarPromptFor } from "../kind-factory-
|
|
9
|
-
import { _ as behavioralTraceSupportSchema, a as KNOWLEDGE_POISONING_KIND_SPEC, b as behavioralTraceQuestionDigest, c as FAILURE_MODE_KIND_SPEC, d as emitControlIntegrityFindings, f as BEHAVIORAL_FAILURE_CLASS, g as validBehavioralCalibration, h as pinBehavioralFailureClass, i as DEFAULT_TRACE_ANALYST_KINDS, l as CONTROL_INTEGRITY_ANALYST, m as behavioralAnalyst, n as AnalystRegistry, o as KNOWLEDGE_GAP_KIND_SPEC, p as assertFailureClasses, r as ExactAnalystRunExecutionError, s as IMPROVEMENT_KIND_SPEC, t as buildDefaultAnalystRegistry, u as ControlIntegrityAnalyst, v as BEHAVIORAL_TRACE_QUESTIONS, y as BEHAVIORAL_TRACE_QUESTIONS_VERSION } from "../default-registry-
|
|
7
|
+
import { t as assertProposalFindings } from "../proposal-findings-CfRFCFXS.js";
|
|
8
|
+
import { A as RawAnalystFindingSchema, B as parseFindingSubject, F as stripCodeFences, I as FINDING_SUBJECT_KINDS, L as FINDING_SUBJECT_SYNTAX, M as parseRawFinding, N as parseTraceSpanEvidenceUri, R as KIND_EXPECTED_SUBJECTS, V as renderFindingSubject, j as evidenceRefsFromRawFinding, k as RAW_FINDING_SCHEMA_PROMPT, n as runTraceAnalyst, r as buildTraceToolsForGroup, t as createTraceAnalyst, z as findingSubjectGrammarPromptFor } from "../kind-factory-B-xCxG7p.js";
|
|
9
|
+
import { _ as behavioralTraceSupportSchema, a as KNOWLEDGE_POISONING_KIND_SPEC, b as behavioralTraceQuestionDigest, c as FAILURE_MODE_KIND_SPEC, d as emitControlIntegrityFindings, f as BEHAVIORAL_FAILURE_CLASS, g as validBehavioralCalibration, h as pinBehavioralFailureClass, i as DEFAULT_TRACE_ANALYST_KINDS, l as CONTROL_INTEGRITY_ANALYST, m as behavioralAnalyst, n as AnalystRegistry, o as KNOWLEDGE_GAP_KIND_SPEC, p as assertFailureClasses, r as ExactAnalystRunExecutionError, s as IMPROVEMENT_KIND_SPEC, t as buildDefaultAnalystRegistry, u as ControlIntegrityAnalyst, v as BEHAVIORAL_TRACE_QUESTIONS, y as BEHAVIORAL_TRACE_QUESTIONS_VERSION } from "../default-registry-kps1SOaD.js";
|
|
10
10
|
import { n as createChatClient } from "../chat-client-CvyDOQBv.js";
|
|
11
|
-
import { t as createDspyRlmTraceEngine } from "../dspy-rlm-engine-
|
|
12
|
-
import { n as diffFindings, r as createChatTraceEngine, t as FindingsStore } from "../findings-store-
|
|
13
|
-
import { m as validDecisionIdentity, o as systemOneAnalyst, t as DECISION_POINT_AUC_BAR } from "../decision-point-
|
|
14
|
-
import { A as agentRxBenchmarkCase, C as ANALYST_BENCHMARK_COST_LEDGER_FILE, D as AGENT_RX_UPSTREAM_REVISION, E as ANALYST_BENCHMARK_OBSERVATIONS_FILE, F as runAnalystBenchmark, I as traceStoreEvidenceResolver, M as normalizeAgentRxCategory, N as externalId, O as codeTraceBenchCase, P as positiveStep, S as ANALYST_BENCHMARK_IMPLEMENTATION_FILES, T as ANALYST_BENCHMARK_MANIFEST_FILE, _ as readAnalystBenchmarkArtifact, a as runInlineAnalystDefinition, b as ANALYST_BENCHMARK_EVIDENCE_DEPENDENCY_LOCK_SHA256, c as publicRlmAnalystDefinition, d as publicDirectAnalystDefinition, f as runChunkedAnalystDefinition, g as expandCodeTraceFailureBlocks, h as analystDefinitionProtocolSha256, i as primeCodeTraceAnalystDefinition, j as agentRxPredictionsToFindings, k as codeTracerPredictionsToFindings, l as runReplVariableAnalystDefinition, m as analystDefinitionAsymmetries, n as createPrimeBenchmarkRunner, o as loadPublicBenchmarkRows, p as AnalystExpressivenessError, r as primeAnalystProtocolSha256, s as createPublicBenchmarkRlmRunner, t as runAnalystBenchmarkCommand, u as createPublicBenchmarkDirectRunner, v as CODE_TRACE_BENCH_ANALYST_PROMPT, w as ANALYST_BENCHMARK_LOCAL_RECEIPT_FILE, x as ANALYST_BENCHMARK_EVIDENCE_IMPLEMENTATION_SHA256, y as publicBenchmarkProtocolSha256 } from "../benchmark-command-
|
|
11
|
+
import { t as createDspyRlmTraceEngine } from "../dspy-rlm-engine-DQbPdT_o.js";
|
|
12
|
+
import { n as diffFindings, r as createChatTraceEngine, t as FindingsStore } from "../findings-store-CZy5kUDo.js";
|
|
13
|
+
import { m as validDecisionIdentity, o as systemOneAnalyst, t as DECISION_POINT_AUC_BAR } from "../decision-point-CfqtnGop.js";
|
|
14
|
+
import { A as agentRxBenchmarkCase, C as ANALYST_BENCHMARK_COST_LEDGER_FILE, D as AGENT_RX_UPSTREAM_REVISION, E as ANALYST_BENCHMARK_OBSERVATIONS_FILE, F as runAnalystBenchmark, I as traceStoreEvidenceResolver, M as normalizeAgentRxCategory, N as externalId, O as codeTraceBenchCase, P as positiveStep, S as ANALYST_BENCHMARK_IMPLEMENTATION_FILES, T as ANALYST_BENCHMARK_MANIFEST_FILE, _ as readAnalystBenchmarkArtifact, a as runInlineAnalystDefinition, b as ANALYST_BENCHMARK_EVIDENCE_DEPENDENCY_LOCK_SHA256, c as publicRlmAnalystDefinition, d as publicDirectAnalystDefinition, f as runChunkedAnalystDefinition, g as expandCodeTraceFailureBlocks, h as analystDefinitionProtocolSha256, i as primeCodeTraceAnalystDefinition, j as agentRxPredictionsToFindings, k as codeTracerPredictionsToFindings, l as runReplVariableAnalystDefinition, m as analystDefinitionAsymmetries, n as createPrimeBenchmarkRunner, o as loadPublicBenchmarkRows, p as AnalystExpressivenessError, r as primeAnalystProtocolSha256, s as createPublicBenchmarkRlmRunner, t as runAnalystBenchmarkCommand, u as createPublicBenchmarkDirectRunner, v as CODE_TRACE_BENCH_ANALYST_PROMPT, w as ANALYST_BENCHMARK_LOCAL_RECEIPT_FILE, x as ANALYST_BENCHMARK_EVIDENCE_IMPLEMENTATION_SHA256, y as publicBenchmarkProtocolSha256 } from "../benchmark-command-DLg8E4y8.js";
|
|
15
15
|
import { a as normalizePrimeUsage, c as runPrimeExchange, i as mergePrimeRawUsage, n as buildPrimePrompt, o as primeProtocolSha256, r as buildPrimeRepairPrompt, s as projectPrimeTrajectory, t as analystUsageReceiptFromPrimeUsage } from "../prime-protocol-CrhpXRz9.js";
|
|
16
16
|
import { t as nodeHttpPrimeBridgeTransport } from "../prime-bridge-transport-Csd5SQg7.js";
|
|
17
|
-
import { t as clusterBootstrapMean } from "../cluster-bootstrap-
|
|
17
|
+
import { t as clusterBootstrapMean } from "../cluster-bootstrap-DXbnIdm8.js";
|
|
18
18
|
import { z } from "zod";
|
|
19
19
|
import { existsSync, readFileSync, readdirSync, statSync } from "node:fs";
|
|
20
20
|
import { join } from "node:path";
|
|
@@ -2027,6 +2027,7 @@ async function askTraceQuestions(opts) {
|
|
|
2027
2027
|
const askOne = async (question) => {
|
|
2028
2028
|
if (opts.signal?.aborted) return failed(question, "the run was aborted before the question started");
|
|
2029
2029
|
let completed;
|
|
2030
|
+
let activity;
|
|
2030
2031
|
try {
|
|
2031
2032
|
completed = await runTraceAnalyst({
|
|
2032
2033
|
definition: defineTraceAnalyst({
|
|
@@ -2048,12 +2049,15 @@ async function askTraceQuestions(opts) {
|
|
|
2048
2049
|
correlationId: `${opts.runId}:${question.id}`,
|
|
2049
2050
|
costLedger: opts.costLedger,
|
|
2050
2051
|
costPhase: "trace-question",
|
|
2052
|
+
recordUsage: (receipt) => {
|
|
2053
|
+
activity = receipt.activity;
|
|
2054
|
+
},
|
|
2051
2055
|
...opts.signal ? { signal: opts.signal } : {},
|
|
2052
2056
|
...opts.log ? { log: opts.log } : {}
|
|
2053
2057
|
}
|
|
2054
2058
|
});
|
|
2055
2059
|
} catch (error) {
|
|
2056
|
-
return failed(question, errorText(error));
|
|
2060
|
+
return failed(question, errorText(error), activity);
|
|
2057
2061
|
}
|
|
2058
2062
|
const findings = [];
|
|
2059
2063
|
for (const [index, finding] of completed.findings.entries()) {
|
|
@@ -2181,7 +2185,7 @@ function citedSpansOnly(store, allowed) {
|
|
|
2181
2185
|
}
|
|
2182
2186
|
};
|
|
2183
2187
|
}
|
|
2184
|
-
function failed(question, failure) {
|
|
2188
|
+
function failed(question, failure, activity) {
|
|
2185
2189
|
return {
|
|
2186
2190
|
id: question.id,
|
|
2187
2191
|
question: question.question,
|
|
@@ -2189,8 +2193,8 @@ function failed(question, failure) {
|
|
|
2189
2193
|
failure,
|
|
2190
2194
|
answer: null,
|
|
2191
2195
|
findings: [],
|
|
2192
|
-
modelCalls: null,
|
|
2193
|
-
toolCalls: null
|
|
2196
|
+
modelCalls: activity?.modelCalls ?? null,
|
|
2197
|
+
toolCalls: activity?.toolCalls ?? null
|
|
2194
2198
|
};
|
|
2195
2199
|
}
|
|
2196
2200
|
function errorText(error) {
|