@tangle-network/agent-eval 0.208.2 → 0.210.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 +26 -0
- package/README.md +1 -1
- package/dist/adapters/http.d.ts +2 -2
- package/dist/{agent-profile-CEhxR_I3.d.ts → agent-profile-BGyt2z8U.d.ts} +3 -3
- package/dist/{agent-profile-CEhxR_I3.d.ts.map → agent-profile-BGyt2z8U.d.ts.map} +1 -1
- package/dist/{agent-profile-cell-BHcB-mZX.d.ts → agent-profile-cell-BNp-Js9F.d.ts} +2 -3
- package/dist/agent-profile-cell-BNp-Js9F.d.ts.map +1 -0
- package/dist/{agent-profile-cell-DcFW4vOc.js → agent-profile-cell-BYc0bxsL.js} +2 -2
- package/dist/agent-profile-cell-BYc0bxsL.js.map +1 -0
- package/dist/analyst/index.d.ts +12 -12
- package/dist/analyst/index.js +5 -5
- package/dist/{analyze-runs-GZ0VSwui.js → analyze-runs-3xpby3p2.js} +6 -6
- package/dist/analyze-runs-3xpby3p2.js.map +1 -0
- package/dist/{analyze-runs-CTJyUplR.d.ts → analyze-runs-BlslTkOJ.d.ts} +4 -4
- package/dist/{analyze-runs-CTJyUplR.d.ts.map → analyze-runs-BlslTkOJ.d.ts.map} +1 -1
- package/dist/{benchmark-command-BC265T1r.js → benchmark-command-S8tCtkxh.js} +6 -6
- package/dist/{benchmark-command-BC265T1r.js.map → benchmark-command-S8tCtkxh.js.map} +1 -1
- package/dist/benchmarks/index.d.ts +5 -7
- package/dist/benchmarks/index.d.ts.map +1 -1
- package/dist/benchmarks/index.js +3 -3
- package/dist/builder-eval/index.js +1 -1
- package/dist/campaign/index.d.ts +6 -6
- package/dist/campaign/index.js +10 -10
- package/dist/{campaign-evidence-DW3Krxov.js → campaign-evidence-OcUciD-N.js} +4 -4
- package/dist/campaign-evidence-OcUciD-N.js.map +1 -0
- package/dist/{campaign-C5pjR-Qn.js → campaign-wvvJA1ps.js} +14 -14
- package/dist/{campaign-C5pjR-Qn.js.map → campaign-wvvJA1ps.js.map} +1 -1
- package/dist/claude-jsonl-dZir12m6.js +86 -0
- package/dist/claude-jsonl-dZir12m6.js.map +1 -0
- package/dist/cli.js +7 -7
- package/dist/contract/index.d.ts +10 -10
- package/dist/contract/index.js +92 -16
- package/dist/contract/index.js.map +1 -1
- package/dist/counterfactual-DtMWvn7D.js.map +1 -1
- package/dist/{default-registry-DZFWY2_E.d.ts → default-registry-Crk3QEy1.d.ts} +6 -6
- package/dist/{default-registry-DZFWY2_E.d.ts.map → default-registry-Crk3QEy1.d.ts.map} +1 -1
- package/dist/{default-registry-DX5R7_n9.js → default-registry-DF4Yp7HQ.js} +2 -2
- package/dist/{default-registry-DX5R7_n9.js.map → default-registry-DF4Yp7HQ.js.map} +1 -1
- package/dist/{define-agent-eval-C8zBSbsc.d.ts → define-agent-eval-B_zZY2AZ.d.ts} +7 -7
- package/dist/{define-agent-eval-C8zBSbsc.d.ts.map → define-agent-eval-B_zZY2AZ.d.ts.map} +1 -1
- package/dist/{define-agent-eval-BjKXcDQp.js → define-agent-eval-CoXXDCMu.js} +7 -7
- package/dist/{define-agent-eval-BjKXcDQp.js.map → define-agent-eval-CoXXDCMu.js.map} +1 -1
- package/dist/diagnosis/index.d.ts +2 -5
- package/dist/diagnosis/index.d.ts.map +1 -1
- package/dist/diagnosis/index.js +2 -26
- package/dist/diagnosis/index.js.map +1 -1
- package/dist/{dspy-rlm-engine-sHwdSxK3.js → dspy-rlm-engine-BpaKVKJA.js} +2 -2
- package/dist/{dspy-rlm-engine-sHwdSxK3.js.map → dspy-rlm-engine-BpaKVKJA.js.map} +1 -1
- package/dist/{engine-DProXJ7A.d.ts → engine-D-YZ32ZJ.d.ts} +5 -12
- package/dist/engine-D-YZ32ZJ.d.ts.map +1 -0
- package/dist/{eval-campaign-DU_p8qVt.js → eval-campaign-4byTtqrf.js} +4 -4
- package/dist/{eval-campaign-DU_p8qVt.js.map → eval-campaign-4byTtqrf.js.map} +1 -1
- package/dist/evaluation.d.ts +2 -2
- package/dist/{exact-types-Cq6xXNVR.d.ts → exact-types-DjhfZglz.d.ts} +2 -2
- package/dist/{exact-types-Cq6xXNVR.d.ts.map → exact-types-DjhfZglz.d.ts.map} +1 -1
- package/dist/experiment/index.d.ts +2 -2
- package/dist/experiment/index.js +8 -8
- package/dist/{feedback-trajectory-C6Z8PRoF.d.ts → feedback-trajectory-CX01700m.d.ts} +3 -3
- package/dist/{feedback-trajectory-C6Z8PRoF.d.ts.map → feedback-trajectory-CX01700m.d.ts.map} +1 -1
- package/dist/hosted/index.js +1 -1
- package/dist/{index-CbBfavbT.d.ts → index-D0_l25We.d.ts} +21 -42
- package/dist/{index-CbBfavbT.d.ts.map → index-D0_l25We.d.ts.map} +1 -1
- package/dist/{index-nwNoS582.d.ts → index-DnZdBxCL.d.ts} +14 -11
- package/dist/{index-nwNoS582.d.ts.map → index-DnZdBxCL.d.ts.map} +1 -1
- package/dist/{index-DkucR0KJ.d.ts → index-UxNTvn-w.d.ts} +6 -6
- package/dist/{index-DkucR0KJ.d.ts.map → index-UxNTvn-w.d.ts.map} +1 -1
- package/dist/{index-Bzto04CY.d.ts → index-xnhRdqik.d.ts} +9 -20
- package/dist/{index-Bzto04CY.d.ts.map → index-xnhRdqik.d.ts.map} +1 -1
- package/dist/index.d.ts +28 -37
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +28 -90
- package/dist/index.js.map +1 -1
- package/dist/judge-gate-C59znGmR.js +638 -0
- package/dist/judge-gate-C59znGmR.js.map +1 -0
- package/dist/judge-gate-D2hCppem.d.ts +439 -0
- package/dist/judge-gate-D2hCppem.d.ts.map +1 -0
- package/dist/{kind-factory-Cn1lbsAd.js → kind-factory-ivTx6koH.js} +2 -11
- package/dist/{kind-factory-Cn1lbsAd.js.map → kind-factory-ivTx6koH.js.map} +1 -1
- package/dist/{llm-judge-HLWASwUJ.js → llm-judge-Tr7MBUnf.js} +9 -9
- package/dist/llm-judge-Tr7MBUnf.js.map +1 -0
- package/dist/{matrix-Cqkk7eYI.d.ts → matrix-jHTsHEkR.d.ts} +2 -2
- package/dist/{matrix-Cqkk7eYI.d.ts.map → matrix-jHTsHEkR.d.ts.map} +1 -1
- package/dist/meta-eval/index.d.ts +3 -133
- package/dist/meta-eval/index.d.ts.map +1 -1
- package/dist/meta-eval/index.js +3 -276
- package/dist/meta-eval/index.js.map +1 -1
- package/dist/{mint-C1W8w5wo.d.ts → mint-CDy-brUR.d.ts} +2 -2
- package/dist/{mint-C1W8w5wo.d.ts.map → mint-CDy-brUR.d.ts.map} +1 -1
- package/dist/{mint-CWG-s2mI.js → mint-Csor1BLJ.js} +2 -2
- package/dist/{mint-CWG-s2mI.js.map → mint-Csor1BLJ.js.map} +1 -1
- package/dist/multishot/golden/index.d.ts +1 -1
- package/dist/multishot/index.d.ts +2 -2
- package/dist/openapi.json +1 -1
- package/dist/{paired-arms-CgWT7sHy.js → paired-arms-DzKn0TfY.js} +3 -5
- package/dist/{paired-arms-CgWT7sHy.js.map → paired-arms-DzKn0TfY.js.map} +1 -1
- package/dist/{paired-binary-b2L3WKqr.js → paired-binary-Q36bhn2R.js} +13 -9
- package/dist/paired-binary-Q36bhn2R.js.map +1 -0
- package/dist/{paired-promotion-decision-2deJ7sDX.js → paired-promotion-decision-BN6IQTiu.js} +2 -2
- package/dist/{paired-promotion-decision-2deJ7sDX.js.map → paired-promotion-decision-BN6IQTiu.js.map} +1 -1
- package/dist/pipelines/index.d.ts +1 -1
- package/dist/pipelines/index.js +2 -2
- package/dist/{prime-protocol-Csr9kcOM.d.ts → prime-protocol-B7et3tI7.d.ts} +2 -2
- package/dist/{prime-protocol-Csr9kcOM.d.ts.map → prime-protocol-B7et3tI7.d.ts.map} +1 -1
- package/dist/{produced-state-Bzlh09oj.js → produced-state-CKybuR9F.js} +3 -3
- package/dist/produced-state-CKybuR9F.js.map +1 -0
- package/dist/profile-cell.d.ts +2 -2
- package/dist/profile-cell.js +2 -2
- package/dist/{promotion-policy-CCmyEH_c.js → promotion-policy-CWW35UWq.js} +3 -3
- package/dist/{promotion-policy-CCmyEH_c.js.map → promotion-policy-CWW35UWq.js.map} +1 -1
- package/dist/{query-DlV0pdx4.js → query-B1D1qp2Z.js} +2 -2
- package/dist/{query-DlV0pdx4.js.map → query-B1D1qp2Z.js.map} +1 -1
- package/dist/{query-DBUQhehH.d.ts → query-DK1nWcmp.d.ts} +2 -3
- package/dist/{query-DBUQhehH.d.ts.map → query-DK1nWcmp.d.ts.map} +1 -1
- package/dist/{registry-DMkmhBQ5.d.ts → registry-BL7H33tj.d.ts} +3 -3
- package/dist/{registry-DMkmhBQ5.d.ts.map → registry-BL7H33tj.d.ts.map} +1 -1
- package/dist/{release-confidence-CkoXFx9I.d.ts → release-confidence-C4kI7lQi.d.ts} +4 -12
- package/dist/release-confidence-C4kI7lQi.d.ts.map +1 -0
- package/dist/{release-confidence-CiFg1EPq.js → release-confidence-Dbe9AS_X.js} +2 -2
- package/dist/{release-confidence-CiFg1EPq.js.map → release-confidence-Dbe9AS_X.js.map} +1 -1
- package/dist/{report-command-pXtxg5YK.js → report-command-CtIIsQKP.js} +3 -28
- package/dist/{report-command-pXtxg5YK.js.map → report-command-CtIIsQKP.js.map} +1 -1
- package/dist/reporting.d.ts +3 -3
- package/dist/reporting.js +3 -3
- package/dist/{researcher-CZFZjj-u.d.ts → researcher-DuIJ9IaA.d.ts} +4 -4
- package/dist/{researcher-CZFZjj-u.d.ts.map → researcher-DuIJ9IaA.d.ts.map} +1 -1
- package/dist/{reward-hacking-Cyk-QHk9.d.ts → reward-hacking-C6Kp54Av.d.ts} +2 -2
- package/dist/{reward-hacking-Cyk-QHk9.d.ts.map → reward-hacking-C6Kp54Av.d.ts.map} +1 -1
- package/dist/reward-nw2xZGZG.js.map +1 -1
- package/dist/rl.d.ts +10 -29
- package/dist/rl.d.ts.map +1 -1
- package/dist/rl.js +7 -7
- package/dist/rl.js.map +1 -1
- package/dist/rollout/index.d.ts +3 -3
- package/dist/rollout/index.js +4 -4
- package/dist/{rollout-l9w3Gdvh.js → rollout-D9bKKBnZ.js} +30 -165
- package/dist/rollout-D9bKKBnZ.js.map +1 -0
- package/dist/{rubric-predictive-validity-DIUwJJ9Y.d.ts → rubric-predictive-validity-BiNNEjpG.d.ts} +2 -2
- package/dist/{rubric-predictive-validity-DIUwJJ9Y.d.ts.map → rubric-predictive-validity-BiNNEjpG.d.ts.map} +1 -1
- package/dist/{run-record-BRlM99rX.js → run-record-DlTZ_lqe.js} +3 -13
- package/dist/run-record-DlTZ_lqe.js.map +1 -0
- package/dist/{run-record-BB290Y9A.js → run-record-ES07wfz9.js} +2 -2
- package/dist/{run-record-BB290Y9A.js.map → run-record-ES07wfz9.js.map} +1 -1
- package/dist/{run-record-DF-fuu31.d.ts → run-record-p2AYTrCn.d.ts} +3 -7
- package/dist/run-record-p2AYTrCn.d.ts.map +1 -0
- package/dist/search/index.d.ts +2 -24
- package/dist/search/index.d.ts.map +1 -1
- package/dist/search/index.js +3 -3
- package/dist/{search-kernel-CIie6xig.js → search-kernel-BIXWM7YV.js} +4 -4
- package/dist/search-kernel-BIXWM7YV.js.map +1 -0
- package/dist/{search-kernel-uKdPVRAe.d.ts → search-kernel-ah2GESe3.d.ts} +3 -3
- package/dist/{search-kernel-uKdPVRAe.d.ts.map → search-kernel-ah2GESe3.d.ts.map} +1 -1
- package/dist/{search-ledger-CXQPwdWz.js → search-ledger-aMTNQn_m.js} +2 -2
- package/dist/{search-ledger-CXQPwdWz.js.map → search-ledger-aMTNQn_m.js.map} +1 -1
- package/dist/{search-shipper-DhhofkDX.js → search-shipper-DKXWuLnp.js} +2 -2
- package/dist/{search-shipper-DhhofkDX.js.map → search-shipper-DKXWuLnp.js.map} +1 -1
- package/dist/{search-summary-BV5uehLd.js → search-summary-nwrtXxC_.js} +3 -3
- package/dist/{search-summary-BV5uehLd.js.map → search-summary-nwrtXxC_.js.map} +1 -1
- package/dist/{semantic-concept-judge-D1wH-YKc.js → semantic-concept-judge-BQxZyXdN.js} +3 -3
- package/dist/{semantic-concept-judge-D1wH-YKc.js.map → semantic-concept-judge-BQxZyXdN.js.map} +1 -1
- package/dist/{sequential-DMqr3sni.js → sequential-D-1PPCmM.js} +3 -3
- package/dist/{sequential-DMqr3sni.js.map → sequential-D-1PPCmM.js.map} +1 -1
- package/dist/{skillopt-optimization-method-Dcnh5Pvr.js → skillopt-optimization-method-DujPOiwD.js} +5 -5
- package/dist/{skillopt-optimization-method-Dcnh5Pvr.js.map → skillopt-optimization-method-DujPOiwD.js.map} +1 -1
- package/dist/{statistical-heldout-BP6iEJvR.js → statistical-heldout-1Gbmex7v.js} +2 -2
- package/dist/{statistical-heldout-BP6iEJvR.js.map → statistical-heldout-1Gbmex7v.js.map} +1 -1
- package/dist/{statistical-heldout-DFKtp-Qm.d.ts → statistical-heldout-8RGPIeyo.d.ts} +17 -14
- package/dist/statistical-heldout-8RGPIeyo.d.ts.map +1 -0
- package/dist/{store-otlp-BA7G1Du-.js → store-otlp-__ebQ6Hn.js} +2 -2
- package/dist/{store-otlp-BA7G1Du-.js.map → store-otlp-__ebQ6Hn.js.map} +1 -1
- package/dist/{store-tool-spans-DKoVbE-w.js → store-tool-spans-TbRBuIM7.js} +3 -3
- package/dist/{store-tool-spans-DKoVbE-w.js.map → store-tool-spans-TbRBuIM7.js.map} +1 -1
- package/dist/{store-tool-spans-9YJNMP-z.d.ts → store-tool-spans-wQ9idsnn.d.ts} +5 -5
- package/dist/{store-tool-spans-9YJNMP-z.d.ts.map → store-tool-spans-wQ9idsnn.d.ts.map} +1 -1
- package/dist/{summary-report-DvvesgR_.d.ts → summary-report-CK0ueoJd.d.ts} +2 -2
- package/dist/{summary-report-DvvesgR_.d.ts.map → summary-report-CK0ueoJd.d.ts.map} +1 -1
- package/dist/{summary-report-fXurE2TR.js → summary-report-DtdRucM0.js} +3 -3
- package/dist/{summary-report-fXurE2TR.js.map → summary-report-DtdRucM0.js.map} +1 -1
- package/dist/supervisor-run/index.d.ts +0 -8
- package/dist/supervisor-run/index.d.ts.map +1 -1
- package/dist/supervisor-run/index.js +36 -71
- package/dist/supervisor-run/index.js.map +1 -1
- package/dist/{systemone-review-Bt4JcxMc.d.ts → systemone-review-BReh3mvm.d.ts} +2 -2
- package/dist/{systemone-review-Bt4JcxMc.d.ts.map → systemone-review-BReh3mvm.d.ts.map} +1 -1
- package/dist/systemone.d.ts +3 -3
- package/dist/{tool-groups-j19pmOfP.d.ts → tool-groups-v28A-ZAF.d.ts} +3 -3
- package/dist/tool-groups-v28A-ZAF.d.ts.map +1 -0
- package/dist/{tool-waste-x_E8h9Ih.js → tool-waste-BYt5rdt8.js} +2 -2
- package/dist/{tool-waste-x_E8h9Ih.js.map → tool-waste-BYt5rdt8.js.map} +1 -1
- package/dist/{tool-waste-DxlebQkx.d.ts → tool-waste-Wi4g6Ekb.d.ts} +2 -2
- package/dist/{tool-waste-DxlebQkx.d.ts.map → tool-waste-Wi4g6Ekb.d.ts.map} +1 -1
- package/dist/{trace-questions-dRvmsbTk.d.ts → trace-questions-C26UvI3D.d.ts} +3 -3
- package/dist/{trace-questions-dRvmsbTk.d.ts.map → trace-questions-C26UvI3D.d.ts.map} +1 -1
- package/dist/trace-repair/index.d.ts +2 -9
- package/dist/trace-repair/index.d.ts.map +1 -1
- package/dist/trace-repair/index.js +1 -1
- package/dist/traces.d.ts +6 -8
- package/dist/traces.d.ts.map +1 -1
- package/dist/traces.js +6 -6
- package/dist/trajectory-replay/index.d.ts +0 -2
- package/dist/trajectory-replay/index.d.ts.map +1 -1
- package/dist/trajectory-replay/index.js +1 -1
- package/dist/{tree-CJOXbVcv.js → tree-kc1d80yF.js} +5 -25
- package/dist/tree-kc1d80yF.js.map +1 -0
- package/dist/{types-CFCUZk0B.d.ts → types-Dv9sYwBB.d.ts} +4 -4
- package/dist/{types-CFCUZk0B.d.ts.map → types-Dv9sYwBB.d.ts.map} +1 -1
- package/dist/{types-DAPpAkd4.d.ts → types-KEkKkETv.d.ts} +2 -2
- package/dist/{types-DAPpAkd4.d.ts.map → types-KEkKkETv.d.ts.map} +1 -1
- package/dist/{types-BlSBUNRd.d.ts → types-tWFY6bON.d.ts} +3 -3
- package/dist/{types-BlSBUNRd.d.ts.map → types-tWFY6bON.d.ts.map} +1 -1
- package/dist/wire/index.d.ts +1 -1
- package/docs/concepts.md +13 -0
- package/docs/experiment.md +10 -0
- package/docs/public-api.md +399 -424
- package/docs/trace-analysis.md +3 -0
- package/package.json +6 -5
- package/dist/agent-profile-cell-BHcB-mZX.d.ts.map +0 -1
- package/dist/agent-profile-cell-DcFW4vOc.js.map +0 -1
- package/dist/analyze-runs-GZ0VSwui.js.map +0 -1
- package/dist/campaign-evidence-DW3Krxov.js.map +0 -1
- package/dist/claude-jsonl-CG3JUbTJ.js +0 -211
- package/dist/claude-jsonl-CG3JUbTJ.js.map +0 -1
- package/dist/engine-DProXJ7A.d.ts.map +0 -1
- package/dist/llm-judge-HLWASwUJ.js.map +0 -1
- package/dist/paired-binary-b2L3WKqr.js.map +0 -1
- package/dist/produced-state-Bzlh09oj.js.map +0 -1
- package/dist/release-confidence-CkoXFx9I.d.ts.map +0 -1
- package/dist/rollout-l9w3Gdvh.js.map +0 -1
- package/dist/run-record-BRlM99rX.js.map +0 -1
- package/dist/run-record-DF-fuu31.d.ts.map +0 -1
- package/dist/search-kernel-CIie6xig.js.map +0 -1
- package/dist/series-convergence-CjO2QdRW.js +0 -43
- package/dist/series-convergence-CjO2QdRW.js.map +0 -1
- package/dist/series-convergence-hEfKdoi-.d.ts +0 -126
- package/dist/series-convergence-hEfKdoi-.d.ts.map +0 -1
- package/dist/statistical-heldout-DFKtp-Qm.d.ts.map +0 -1
- package/dist/tool-groups-j19pmOfP.d.ts.map +0 -1
- package/dist/tree-CJOXbVcv.js.map +0 -1
package/dist/reporting.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as benjaminiHochberg } from "./multiplicity-DIWHvysC.js";
|
|
2
2
|
import { d as PairedBootstrapResult, h as pairedBootstrap, u as PairedBootstrapOptions } from "./paired-promotion-decision-DPKz8ZnF.js";
|
|
3
|
-
import { _ as bootstrapCi, a as ReleaseConfidenceIssue, c as ReleaseConfidenceStatus, d as assertReleaseConfidence, f as evaluateReleaseConfidence, g as Verdict, h as JudgeReplayGateArgs, i as ReleaseConfidenceInput,
|
|
4
|
-
import { _ as paretoChart, a as ParetoPoint, c as ResearchReportCandidate, d as ResearchReportOptions, f as ResearchReportRecommendation, g as gainHistogram, h as SummaryTableRow, i as ParetoFigureSpec, l as ResearchReportDecision, m as SummaryTableOptions, n as GainDistributionFigureSpec, o as RESEARCH_REPORT_HARD_PAIR_FLOOR, p as SummaryTable, r as GainDistributionOptions, s as ResearchReport, t as GainDistributionBin, u as ResearchReportMethodology, v as researchReport, y as summaryTable } from "./summary-report-
|
|
3
|
+
import { T as wilcoxonSignedRank, _ as bootstrapCi, a as ReleaseConfidenceIssue, c as ReleaseConfidenceStatus, d as assertReleaseConfidence, f as evaluateReleaseConfidence, g as Verdict, h as JudgeReplayGateArgs, i as ReleaseConfidenceInput, l as ReleaseConfidenceThresholds, m as BootstrapResult, n as ReleaseConfidenceAxis, o as ReleaseConfidenceMetrics, p as BootstrapOptions, r as ReleaseConfidenceAxisName, s as ReleaseConfidenceScorecard, u as ReleaseTraceEvidence, v as judgeReplayGate } from "./release-confidence-C4kI7lQi.js";
|
|
4
|
+
import { _ as paretoChart, a as ParetoPoint, c as ResearchReportCandidate, d as ResearchReportOptions, f as ResearchReportRecommendation, g as gainHistogram, h as SummaryTableRow, i as ParetoFigureSpec, l as ResearchReportDecision, m as SummaryTableOptions, n as GainDistributionFigureSpec, o as RESEARCH_REPORT_HARD_PAIR_FLOOR, p as SummaryTable, r as GainDistributionOptions, s as ResearchReport, t as GainDistributionBin, u as ResearchReportMethodology, v as researchReport, y as summaryTable } from "./summary-report-CK0ueoJd.js";
|
|
5
5
|
import { a as PairedEvalueStep, c as SequentialDecision, i as PairedEvalueSequence, l as evaluateInterimReleaseConfidence, n as InterimReleaseConfidenceInput, r as PairedEvalueOptions, t as InterimReleaseConfidence, u as pairedEvalueSequence } from "./sequential-BhsrMupG.js";
|
|
6
|
-
import { a as RubricPredictiveValidityReport, i as RubricPredictiveValidityInput, o as RubricRanking, r as RubricOutcomePair, s as rubricPredictiveValidity } from "./rubric-predictive-validity-
|
|
6
|
+
import { a as RubricPredictiveValidityReport, i as RubricPredictiveValidityInput, o as RubricRanking, r as RubricOutcomePair, s as rubricPredictiveValidity } from "./rubric-predictive-validity-BiNNEjpG.js";
|
|
7
7
|
export { type BootstrapOptions, type BootstrapResult, type GainDistributionBin, type GainDistributionFigureSpec, type GainDistributionOptions, type InterimReleaseConfidence, type InterimReleaseConfidenceInput, type JudgeReplayGateArgs, type PairedBootstrapOptions, type PairedBootstrapResult, type PairedEvalueOptions, type PairedEvalueSequence, type PairedEvalueStep, type ParetoFigureSpec, type ParetoPoint, RESEARCH_REPORT_HARD_PAIR_FLOOR, type ReleaseConfidenceAxis, type ReleaseConfidenceAxisName, type ReleaseConfidenceInput, type ReleaseConfidenceIssue, type ReleaseConfidenceMetrics, type ReleaseConfidenceScorecard, type ReleaseConfidenceStatus, type ReleaseConfidenceThresholds, type ReleaseTraceEvidence, type ResearchReport, type ResearchReportCandidate, type ResearchReportDecision, type ResearchReportMethodology, type ResearchReportOptions, type ResearchReportRecommendation, type RubricOutcomePair, type RubricPredictiveValidityInput, type RubricPredictiveValidityReport, type RubricRanking, type SequentialDecision, type SummaryTable, type SummaryTableOptions, type SummaryTableRow, type Verdict, assertReleaseConfidence, benjaminiHochberg, bootstrapCi, evaluateInterimReleaseConfidence, evaluateReleaseConfidence, gainHistogram, judgeReplayGate, pairedBootstrap, pairedEvalueSequence, paretoChart, researchReport, rubricPredictiveValidity, summaryTable, wilcoxonSignedRank };
|
package/dist/reporting.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as benjaminiHochberg } from "./multiplicity-D9cjmStq.js";
|
|
2
2
|
import { r as pairedBootstrap } from "./paired-tests-jbwPdSz5.js";
|
|
3
|
-
import {
|
|
4
|
-
import { a as summaryTable, i as researchReport, n as gainHistogram, r as paretoChart, t as RESEARCH_REPORT_HARD_PAIR_FLOOR } from "./summary-report-
|
|
3
|
+
import { a as wilcoxonSignedRank } from "./paired-arms-DzKn0TfY.js";
|
|
4
|
+
import { a as summaryTable, i as researchReport, n as gainHistogram, r as paretoChart, t as RESEARCH_REPORT_HARD_PAIR_FLOOR } from "./summary-report-DtdRucM0.js";
|
|
5
5
|
import { n as pairedEvalueSequence, t as evaluateInterimReleaseConfidence } from "./sequential-CzK5DarL.js";
|
|
6
|
-
import { i as judgeReplayGate, n as evaluateReleaseConfidence, r as bootstrapCi, t as assertReleaseConfidence } from "./release-confidence-
|
|
6
|
+
import { i as judgeReplayGate, n as evaluateReleaseConfidence, r as bootstrapCi, t as assertReleaseConfidence } from "./release-confidence-Dbe9AS_X.js";
|
|
7
7
|
import { t as rubricPredictiveValidity } from "./rubric-predictive-validity-BsgkBfT0.js";
|
|
8
8
|
export { RESEARCH_REPORT_HARD_PAIR_FLOOR, assertReleaseConfidence, benjaminiHochberg, bootstrapCi, evaluateInterimReleaseConfidence, evaluateReleaseConfidence, gainHistogram, judgeReplayGate, pairedBootstrap, pairedEvalueSequence, paretoChart, researchReport, rubricPredictiveValidity, summaryTable, wilcoxonSignedRank };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as AgentProfileCellInput, r as AgentProfileCell } from "./agent-profile-cell-
|
|
2
|
-
import { a as RunRecord, c as RunSplitTag, d as RunTokenUsage, l as RunTaskFailure, n as RunCostProvenance, r as RunJudgeMetadata, t as JudgeScoresRecord } from "./run-record-
|
|
1
|
+
import { i as AgentProfileCellInput, r as AgentProfileCell } from "./agent-profile-cell-BNp-Js9F.js";
|
|
2
|
+
import { a as RunRecord, c as RunSplitTag, d as RunTokenUsage, l as RunTaskFailure, n as RunCostProvenance, r as RunJudgeMetadata, t as JudgeScoresRecord } from "./run-record-p2AYTrCn.js";
|
|
3
3
|
import { rt as RawProviderSink, x as ChatClient } from "./types-Lub7o6bN.js";
|
|
4
4
|
import { s as TraceStore } from "./store-C4avFjIi.js";
|
|
5
|
-
import { b as GateDecision, d as ResearchReportOptions, s as ResearchReport } from "./summary-report-
|
|
5
|
+
import { b as GateDecision, d as ResearchReportOptions, s as ResearchReport } from "./summary-report-CK0ueoJd.js";
|
|
6
6
|
import { o as TraceEmitter, r as RunCompleteHook } from "./emitter-HcCmFQl_.js";
|
|
7
7
|
import { a as RunIntegrityReport, n as RunIntegrityExpectations } from "./integrity-zloavsM_.js";
|
|
8
8
|
//#region src/eval-campaign.d.ts
|
|
@@ -290,4 +290,4 @@ interface Researcher {
|
|
|
290
290
|
}
|
|
291
291
|
//#endregion
|
|
292
292
|
export { SteeringChange as a, CampaignRunContext as c, CampaignVariant as d, EvalCampaignOptions as f, runEvalCampaign as h, Researcher as i, CampaignRunOutcome as l, FailedRun as m, ExperimentResult as n, CampaignFactoryParams as o, EvalCampaignResult as p, FailureMode as r, CampaignIntegrityPolicy as s, ExperimentPlan as t, CampaignScenario as u };
|
|
293
|
-
//# sourceMappingURL=researcher-
|
|
293
|
+
//# sourceMappingURL=researcher-DuIJ9IaA.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"researcher-
|
|
1
|
+
{"version":3,"file":"researcher-DuIJ9IaA.d.ts","names":[],"sources":["../src/eval-campaign.ts","../src/researcher.ts"],"mappings":";;;;;;;;UAuEiB,gBAAgB;EAC/B;EACA,SAAS;;UAGM;EACf;;EAEA,OAAO;;UAGQ,mBAAmB;;EAElC;;EAEA;EACA,SAAS;EACT;EACA;EACA,cAAc;EACd;EACA,UAAU;;;;;;;EAOV,SAAS;EACT,OAAO;EACP,SAAS;;;;;EAKT,MAAM;;;UAIS;;;;;;EAMf,SAAS;EACT;;UAGQ;;EAER;;EAEA;;EAEA;;EAEA,gBAAgB;EAChB,YAAY;;E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
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as RunRecord } from "./run-record-
|
|
1
|
+
import { a as RunRecord } from "./run-record-p2AYTrCn.js";
|
|
2
2
|
import { x as VerificationStrategySource } from "./verdict-E4eRNf7-.js";
|
|
3
3
|
import { s as VerificationReport } from "./multi-layer-verifier-BUaQ4C17.js";
|
|
4
4
|
//#region src/rl/verifiable-reward.d.ts
|
|
@@ -251,4 +251,4 @@ interface DetectRewardHackingInput {
|
|
|
251
251
|
declare function detectRewardHacking(input: DetectRewardHackingInput): RewardHackingReport;
|
|
252
252
|
//#endregion
|
|
253
253
|
export { detectRewardHacking as a, VerifiableRewardSource as c, filterDeterministicallyRewarded as d, RewardHackingSignal as i, extractVerifiableReward as l, RewardHackingFinding as n, VerifiableReward as o, RewardHackingReport as r, VerifiableRewardExtractionOptions as s, DetectRewardHackingInput as t, extractVerifiableRewardsFromRecords as u };
|
|
254
|
-
//# sourceMappingURL=reward-hacking-
|
|
254
|
+
//# sourceMappingURL=reward-hacking-C6Kp54Av.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reward-hacking-
|
|
1
|
+
{"version":3,"file":"reward-hacking-C6Kp54Av.d.ts","names":[],"sources":["../src/rl/verifiable-reward.ts","../src/rl/reward-hacking.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA+DY,yBAAyB;UAEpB;;EAEf;;EAEA,QAAQ;;;;;;;;EAQR;;;;;;EAMA;;EAEA;;;;;;;EAOA,YAAY;;;;;;;;;;;EAWZ;;;;;;;;;;;;;;;;;;EAkBA;;UAGe;;;;;;;;EAQf;;;;EAIA,aAAa,sBAAsB;;;;;;;EAOnC;;;;;EAKA;;;;;;;;;;;;EAYA;;;;;;;;;;;;;;;iBA+Dc,wBACd,QAAQ,oBACR,OAAM,oCACL;;;;;;;;;;;;;;;;;;;;;;;iBAqGa,oCACd,MAAM,aACN,OAAM,oCACL;EAAQ;EAAe,QAAQ;;;;;;;;;;;iBA4GlB,gCACd,MAAM,aACN,OAAM,oCACL;EAAQ,KAAK;EAAW,QAAQ;;;;KC1YvB;UAMK;EACf,QAAQ;;EAER;EACA;;EAEA,QAAQ;;UAGO;EACf,UAAU;;EAEV,kBAAkB;;;;;;EAMlB;;EAEA;;EAEA;;UAGe;;;;;EAKf,MAAM;;;;;EAKN,WAAW,KAAK;;;;;;EAMhB,WAAW,KAAK;;;;;;EAMhB,qBAAqB,KAAK;;;;;EAK1B;;;;;EAKA;IAAe;IAAkB;;;;;EAIjC,0BAA0B;;iBAgBZ,oBAAoB,OAAO,2BAA2B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reward-nw2xZGZG.js","names":[],"sources":["../src/rollout/reward.ts"],"sourcesContent":["/**\n * The two named score derivations every consumer must choose between.\n *\n * The anti-Goodhart gate (`outcome.realness.gated`) only holds if it is\n * impossible to read a run's score WITHOUT deciding whether the gate applies.\n * A bare `outcome.holdoutScore ?? outcome.searchScore` makes that decision\n * invisible — and silently answers \"no gate\", which is the wrong default on\n * every path that produces training data. So the expression lives here, once,\n * behind two names that force the caller to state the intent:\n *\n * - `trainingScore` / `trainingReward` — GATED. Anything that becomes\n * training data, or a reward a trainer consumes, uses these.\n * - `observedScore` — RAW. Analysis, reporting, and reward-hack DETECTION\n * need the ungated number; that is how a gamed run is visible at all.\n *\n * A leaf module on purpose: it imports only the `RunRecord` type, so gate and\n * reporting code can depend on it without pulling in the trace store that\n * `mint.ts` needs.\n */\n\nimport type { RunRecord } from '../run-record'\n\n/**\n * Which split's score wins when a record carries both. `'holdout'` is the\n * canonical \"real signal\" default; `'search'` exists because some callers\n * deliberately score on the search split when both are present.\n */\nexport type ScorePreference = 'holdout' | 'search'\n\n/** Only the outcome is read, so every accessor here accepts anything carrying one. */\ntype Scored = Pick<RunRecord, 'outcome'>\n\n/** True when the authenticity gate flagged the run as gamed (`realness.gated`). */\nexport function isRealnessGated(record: Scored): boolean {\n return record.outcome.realness?.gated === true\n}\n\n/**\n * The RAW score recorded on ONE split, with no cross-split fallback and no\n * anti-Goodhart gate.\n *\n * The narrowest of the three raw readers, and the one every split-scoped\n * consumer wants: a per-split report, a promotion gate, or a paired comparison\n * asks \"what did this run score on the split I am summarising\", and answering\n * it with the other split's number silently mixes populations. `undefined` =\n * that split was never scored.\n *\n * Same warning as `observedScore`: this INCLUDES runs flagged as gamed. Never\n * feed it into training data.\n */\nexport function observedSplitScore(record: Scored, split: ScorePreference): number | undefined {\n return split === 'search' ? record.outcome.searchScore : record.outcome.holdoutScore\n}\n\n/**\n * The RAW split score the run carries, with NO anti-Goodhart gate applied.\n *\n * INCLUDES RUNS FLAGGED AS GAMED (`outcome.realness.gated === true`); NEVER\n * feed this into training data — a fine-tune that sees it learns from gamed\n * successes. It is exported anyway because analysis, reporting, and\n * reward-hacking detection legitimately need the ungated number: forcing a\n * gamed run to 0 collapses the proxy signal toward ground truth and makes a\n * detector report \"clean\" on exactly the population that is being gamed.\n *\n * Returns `undefined` when the record carries neither score — an unscored run\n * is a labeled gap, not a measured zero, and each caller picks its own\n * sentinel (`?? 0`, `?? null`, skip, throw). Non-finite values are returned\n * as-is; callers that care keep their own `Number.isFinite` guard.\n */\nexport function observedScore(\n record: Scored,\n prefer: ScorePreference = 'holdout',\n): number | undefined {\n const other: ScorePreference = prefer === 'search' ? 'holdout' : 'search'\n return observedSplitScore(record, prefer) ?? observedSplitScore(record, other)\n}\n\n/** Which split actually carried the score, or that none did. */\nexport type ScoreOrigin = 'holdout' | 'search' | 'unscored'\n\n/**\n * Where `observedScore` / `trainingScore` read their number from — the\n * provenance label a rollout line's `reward_source` is built from, and the\n * only supported way to ask \"was this run scored at all\" without respelling\n * the field access.\n */\nexport function scoreOrigin(record: Scored, prefer: ScorePreference = 'holdout'): ScoreOrigin {\n const other: ScorePreference = prefer === 'search' ? 'holdout' : 'search'\n if (observedSplitScore(record, prefer) !== undefined) return prefer\n if (observedSplitScore(record, other) !== undefined) return other\n return 'unscored'\n}\n\n/**\n * The GATED score — the only derivation allowed to reach training data.\n *\n * A realness-gated run scores 0 no matter what it claims, so a fine-tune\n * cannot learn from a gamed success. An unscored run stays `undefined` (a\n * labeled gap), keeping \"we never measured this\" distinct from \"we measured\n * zero\"; callers that need a number apply their own sentinel.\n */\nexport function trainingScore(\n record: Scored,\n prefer: ScorePreference = 'holdout',\n): number | undefined {\n if (isRealnessGated(record)) return 0\n return observedScore(record, prefer)\n}\n\n/**\n * `{reward, gated}` as written onto a minted `RolloutLine` — `trainingScore`\n * plus the flag itself, so the gate travels into the exported row and a\n * downstream filter can drop or down-weight the line.\n *\n * An unscored record yields `reward: null`, matching the schema's \"no verdict\n * exists — a labeled gap, never 0\" rule. It previously collapsed to 0, which\n * made a run nobody graded indistinguishable from one graded as a total\n * failure, and taught any trainer reading the row that the trajectory was bad.\n * A gated run still yields 0, because that IS a verdict: the gate decided.\n */\nexport function trainingReward(record: Scored): { reward: number | null; gated: boolean } {\n return { reward: trainingScore(record) ?? null, gated: isRealnessGated(record) }\n}\n\n/**\n * A reward the CALLER computed, with the gate applied on top.\n *\n * Several published exporters accept a `rewardOf` hook so a consumer can drive\n * training off a verifiable signal instead of the headline judge score. That is\n * a real feature and the gate does not remove it — but a reward derived from a\n * gamed run is a gamed reward whatever its source, so it falls to 0 exactly\n * like the score it replaced.\n *\n * It lives here because the same hook exists under the same name in two\n * modules, and for a while only one of them gated it: `rl/exporters.toGrpoRows`\n * forced a gated run to 0 while `rl/preferences.extractPreferences` handed the\n * caller's number straight through, which put a gamed run on the CHOSEN side of\n * every DPO pair against its honest sibling. Two same-named hooks with\n * different gating behaviour was the defect; one implementation is the fix.\n *\n * `null` means \"no reward\" and is preserved: a non-finite or absent value is a\n * gap, and a gap is not a zero.\n */\nexport function trainingRewardOverride(record: Scored, value: number | null): number | null {\n if (value === null || !Number.isFinite(value)) return null\n return isRealnessGated(record) ? 0 : value\n}\n\n/**\n * The two fields a rollout line's `outcome` has to state TOGETHER — the reward\n * and whether the authenticity gate fired on it.\n *\n * Stating them together is the point. `realness_gated` used to be optional on\n * the wire, so a producer that wrote `reward` and simply never thought about\n * the flag emitted a row on which `isLineRealnessGated` was structurally false\n * — which is how a second minting door existed for every supervisor and worker\n * row without anyone noticing it had never consulted the gate. The wire schema\n * now requires the flag, and this pair is how a producer states it.\n */\nexport interface RolloutRewardFields {\n reward: number | null\n realness_gated: boolean\n /**\n * Whether a screen RAN, as distinct from its verdict. Omitted when the\n * producer cannot tell — see `unscreenedRewardFields` and the field's own doc\n * on `RolloutOutcome`.\n */\n realness_screened?: boolean\n}\n\n/**\n * `trainingReward` in the line's own field names — what `mintRolloutRows`\n * writes onto every row it produces.\n *\n * `realness_screened: true` is written only when the record actually carries an\n * `outcome.realness` verdict, i.e. a screen genuinely ran and reported. A\n * record without one gets the field OMITTED rather than `false`: the record\n * cannot distinguish \"the screen ran elsewhere and this pipeline did not record\n * it\" from \"no screen exists\", and `false` is a load-bearing claim that\n * `assertMinted` refuses on. Absent = unknown, which is the truth here.\n */\nexport function rolloutRewardFields(record: Scored): RolloutRewardFields {\n const { reward, gated } = trainingReward(record)\n const screened = record.outcome.realness !== undefined\n return { reward, realness_gated: gated, ...(screened ? { realness_screened: true } : {}) }\n}\n\n/**\n * The same fields for a producer that has a graded score but NO `RunRecord`\n * behind it — a supervision journal, a harness session store, any second\n * intake. There is no `outcome.realness` to consult, so no authenticity screen\n * has run on this score.\n *\n * `realness_gated: false` alone was the WRONG way to say that. `false` is the\n * gate's VERDICT, and a verdict is a claim that somebody looked; on this path\n * nobody did, so the row asserted \"screened and clean\" about a score that had\n * never been screened at all — indistinguishable on the wire from a genuinely\n * clean one, which is exactly what an adversary needs. The two claims are now\n * carried by two fields:\n *\n * - `realness_screened: false` — no screen ran. Explicit, not inferable from\n * absence, and impossible to read as \"clean\" because it is not the gate's\n * verdict field.\n * - `realness_gated: false` — no gate fired, which is trivially true when no\n * gate ran, and is what a consumer filtering on the flag expects to see.\n *\n * `assertMinted` REFUSES a line carrying `realness_screened: false` with a\n * reward above zero, so these rows can be written, read, reported and analysed,\n * but a positive one cannot become training data until something screens it.\n *\n * A separate function from `rolloutRewardFields` on purpose: picking this one\n * is a producer declaring that its rewards were never screened.\n */\nexport function unscreenedRewardFields(score: number | null): RolloutRewardFields {\n return { reward: score, realness_gated: false, realness_screened: false }\n}\n"],"mappings":";;AAiCA,SAAgB,gBAAgB,QAAyB;CACvD,OAAO,OAAO,QAAQ,UAAU,UAAU;AAC5C;;;;;;;;;;;;;;AAeA,SAAgB,mBAAmB,QAAgB,OAA4C;CAC7F,OAAO,UAAU,WAAW,OAAO,QAAQ,cAAc,OAAO,QAAQ;AAC1E;;;;;;;;;;;;;;;;AAiBA,SAAgB,cACd,QACA,SAA0B,WACN;CACpB,MAAM,QAAyB,WAAW,WAAW,YAAY;CACjE,OAAO,mBAAmB,QAAQ,MAAM,KAAK,mBAAmB,QAAQ,KAAK;AAC/E;;;;;;;AAWA,SAAgB,YAAY,QAAgB,SAA0B,WAAwB;CAC5F,MAAM,QAAyB,WAAW,WAAW,YAAY;CACjE,IAAI,mBAAmB,QAAQ,MAAM,MAAM,KAAA,GAAW,OAAO;CAC7D,IAAI,mBAAmB,QAAQ,KAAK,MAAM,KAAA,GAAW,OAAO;CAC5D,OAAO;AACT;;;;;;;;;AAUA,SAAgB,cACd,QACA,SAA0B,WACN;CACpB,IAAI,gBAAgB,MAAM,GAAG,OAAO;CACpC,OAAO,cAAc,QAAQ,MAAM;AACrC;;;;;;;;;;;;AAaA,SAAgB,eAAe,QAA2D;CACxF,OAAO;EAAE,QAAQ,cAAc,MAAM,KAAK;EAAM,OAAO,gBAAgB,MAAM;CAAE;AACjF;;;;;;;;;;;;AA2DA,SAAgB,oBAAoB,QAAqC;CACvE,MAAM,EAAE,QAAQ,UAAU,eAAe,MAAM;CAE/C,OAAO;EAAE;EAAQ,gBAAgB;EAAO,GADvB,OAAO,QAAQ,aAAa,KAAA,IACU,EAAE,mBAAmB,KAAK,IAAI,CAAC;CAAG;AAC3F;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,SAAgB,uBAAuB,OAA2C;CAChF,OAAO;EAAE,QAAQ;EAAO,gBAAgB;EAAO,mBAAmB;CAAM;AAC1E"}
|
|
1
|
+
{"version":3,"file":"reward-nw2xZGZG.js","names":[],"sources":["../src/rollout/reward.ts"],"sourcesContent":["/**\n * The two named score derivations every consumer must choose between.\n *\n * The anti-Goodhart gate (`outcome.realness.gated`) only holds if it is\n * impossible to read a run's score WITHOUT deciding whether the gate applies.\n * A bare `outcome.holdoutScore ?? outcome.searchScore` makes that decision\n * invisible — and silently answers \"no gate\", which is the wrong default on\n * every path that produces training data. So the expression lives here, once,\n * behind two names that force the caller to state the intent:\n *\n * - `trainingScore` / `trainingReward` — GATED. Anything that becomes\n * training data, or a reward a trainer consumes, uses these.\n * - `observedScore` — RAW. Analysis, reporting, and reward-hack DETECTION\n * need the ungated number; that is how a gamed run is visible at all.\n *\n * A leaf module on purpose: it imports only the `RunRecord` type, so gate and\n * reporting code can depend on it without pulling in the trace store that\n * `mint.ts` needs.\n */\n\nimport type { RunRecord } from '../run-record'\n\n/**\n * Which split's score wins when a record carries both. `'holdout'` is the\n * canonical \"real signal\" default; `'search'` exists because some callers\n * deliberately score on the search split when both are present.\n */\nexport type ScorePreference = 'holdout' | 'search'\n\n/** Only the outcome is read, so every accessor here accepts anything carrying one. */\ntype Scored = Pick<RunRecord, 'outcome'>\n\n/** True when the authenticity gate flagged the run as gamed (`realness.gated`). */\nexport function isRealnessGated(record: Scored): boolean {\n return record.outcome.realness?.gated === true\n}\n\n/**\n * The RAW score recorded on ONE split, with no cross-split fallback and no\n * anti-Goodhart gate.\n *\n * The narrowest of the three raw readers, and the one every split-scoped\n * consumer wants: a per-split report, a promotion gate, or a paired comparison\n * asks \"what did this run score on the split I am summarising\", and answering\n * it with the other split's number silently mixes populations. `undefined` =\n * that split was never scored.\n *\n * Same warning as `observedScore`: this INCLUDES runs flagged as gamed. Never\n * feed it into training data.\n */\nexport function observedSplitScore(record: Scored, split: ScorePreference): number | undefined {\n return split === 'search' ? record.outcome.searchScore : record.outcome.holdoutScore\n}\n\n/**\n * The RAW split score the run carries, with NO anti-Goodhart gate applied.\n *\n * INCLUDES RUNS FLAGGED AS GAMED (`outcome.realness.gated === true`); NEVER\n * feed this into training data — a fine-tune that sees it learns from gamed\n * successes. It is exported anyway because analysis, reporting, and\n * reward-hacking detection legitimately need the ungated number: forcing a\n * gamed run to 0 collapses the proxy signal toward ground truth and makes a\n * detector report \"clean\" on exactly the population that is being gamed.\n *\n * Returns `undefined` when the record carries neither score — an unscored run\n * is a labeled gap, not a measured zero, and each caller picks its own\n * sentinel (`?? 0`, `?? null`, skip, throw). Non-finite values are returned\n * as-is; callers that care keep their own `Number.isFinite` guard.\n */\nexport function observedScore(\n record: Scored,\n prefer: ScorePreference = 'holdout',\n): number | undefined {\n const other: ScorePreference = prefer === 'search' ? 'holdout' : 'search'\n return observedSplitScore(record, prefer) ?? observedSplitScore(record, other)\n}\n\n/** Which split actually carried the score, or that none did. */\nexport type ScoreOrigin = 'holdout' | 'search' | 'unscored'\n\n/**\n * Where `observedScore` / `trainingScore` read their number from — the\n * provenance label a rollout line's `reward_source` is built from, and the\n * only supported way to ask \"was this run scored at all\" without respelling\n * the field access.\n */\nexport function scoreOrigin(record: Scored, prefer: ScorePreference = 'holdout'): ScoreOrigin {\n const other: ScorePreference = prefer === 'search' ? 'holdout' : 'search'\n if (observedSplitScore(record, prefer) !== undefined) return prefer\n if (observedSplitScore(record, other) !== undefined) return other\n return 'unscored'\n}\n\n/**\n * The GATED score — the only derivation allowed to reach training data.\n *\n * A realness-gated run scores 0 no matter what it claims, so a fine-tune\n * cannot learn from a gamed success. An unscored run stays `undefined` (a\n * labeled gap), keeping \"we never measured this\" distinct from \"we measured\n * zero\"; callers that need a number apply their own sentinel.\n */\nexport function trainingScore(\n record: Scored,\n prefer: ScorePreference = 'holdout',\n): number | undefined {\n if (isRealnessGated(record)) return 0\n return observedScore(record, prefer)\n}\n\n/**\n * `{reward, gated}` as written onto a minted `RolloutLine` — `trainingScore`\n * plus the flag itself, so the gate travels into the exported row and a\n * downstream filter can drop or down-weight the line.\n *\n * An unscored record yields `reward: null`, matching the schema's \"no verdict\n * exists — a labeled gap, never 0\" rule. It previously collapsed to 0, which\n * made a run nobody graded indistinguishable from one graded as a total\n * failure, and taught any trainer reading the row that the trajectory was bad.\n * A gated run still yields 0, because that IS a verdict: the gate decided.\n */\nexport function trainingReward(record: Scored): { reward: number | null; gated: boolean } {\n return { reward: trainingScore(record) ?? null, gated: isRealnessGated(record) }\n}\n\n/**\n * The two fields a rollout line's `outcome` has to state TOGETHER — the reward\n * and whether the authenticity gate fired on it.\n *\n * Stating them together is the point. `realness_gated` used to be optional on\n * the wire, so a producer that wrote `reward` and simply never thought about\n * the flag emitted a row on which `isLineRealnessGated` was structurally false\n * — which is how a second minting door existed for every supervisor and worker\n * row without anyone noticing it had never consulted the gate. The wire schema\n * now requires the flag, and this pair is how a producer states it.\n */\nexport interface RolloutRewardFields {\n reward: number | null\n realness_gated: boolean\n /**\n * Whether a screen RAN, as distinct from its verdict. Omitted when the\n * producer cannot tell — see `unscreenedRewardFields` and the field's own doc\n * on `RolloutOutcome`.\n */\n realness_screened?: boolean\n}\n\n/**\n * `trainingReward` in the line's own field names — what `mintRolloutRows`\n * writes onto every row it produces.\n *\n * `realness_screened: true` is written only when the record actually carries an\n * `outcome.realness` verdict, i.e. a screen genuinely ran and reported. A\n * record without one gets the field OMITTED rather than `false`: the record\n * cannot distinguish \"the screen ran elsewhere and this pipeline did not record\n * it\" from \"no screen exists\", and `false` is a load-bearing claim that\n * `assertMinted` refuses on. Absent = unknown, which is the truth here.\n */\nexport function rolloutRewardFields(record: Scored): RolloutRewardFields {\n const { reward, gated } = trainingReward(record)\n const screened = record.outcome.realness !== undefined\n return { reward, realness_gated: gated, ...(screened ? { realness_screened: true } : {}) }\n}\n\n/**\n * The same fields for a producer that has a graded score but NO `RunRecord`\n * behind it — a supervision journal, a harness session store, any second\n * intake. There is no `outcome.realness` to consult, so no authenticity screen\n * has run on this score.\n *\n * `realness_gated: false` alone was the WRONG way to say that. `false` is the\n * gate's VERDICT, and a verdict is a claim that somebody looked; on this path\n * nobody did, so the row asserted \"screened and clean\" about a score that had\n * never been screened at all — indistinguishable on the wire from a genuinely\n * clean one, which is exactly what an adversary needs. The two claims are now\n * carried by two fields:\n *\n * - `realness_screened: false` — no screen ran. Explicit, not inferable from\n * absence, and impossible to read as \"clean\" because it is not the gate's\n * verdict field.\n * - `realness_gated: false` — no gate fired, which is trivially true when no\n * gate ran, and is what a consumer filtering on the flag expects to see.\n *\n * `assertMinted` REFUSES a line carrying `realness_screened: false` with a\n * reward above zero, so these rows can be written, read, reported and analysed,\n * but a positive one cannot become training data until something screens it.\n *\n * A separate function from `rolloutRewardFields` on purpose: picking this one\n * is a producer declaring that its rewards were never screened.\n */\nexport function unscreenedRewardFields(score: number | null): RolloutRewardFields {\n return { reward: score, realness_gated: false, realness_screened: false }\n}\n"],"mappings":";;AAiCA,SAAgB,gBAAgB,QAAyB;CACvD,OAAO,OAAO,QAAQ,UAAU,UAAU;AAC5C;;;;;;;;;;;;;;AAeA,SAAgB,mBAAmB,QAAgB,OAA4C;CAC7F,OAAO,UAAU,WAAW,OAAO,QAAQ,cAAc,OAAO,QAAQ;AAC1E;;;;;;;;;;;;;;;;AAiBA,SAAgB,cACd,QACA,SAA0B,WACN;CACpB,MAAM,QAAyB,WAAW,WAAW,YAAY;CACjE,OAAO,mBAAmB,QAAQ,MAAM,KAAK,mBAAmB,QAAQ,KAAK;AAC/E;;;;;;;AAWA,SAAgB,YAAY,QAAgB,SAA0B,WAAwB;CAC5F,MAAM,QAAyB,WAAW,WAAW,YAAY;CACjE,IAAI,mBAAmB,QAAQ,MAAM,MAAM,KAAA,GAAW,OAAO;CAC7D,IAAI,mBAAmB,QAAQ,KAAK,MAAM,KAAA,GAAW,OAAO;CAC5D,OAAO;AACT;;;;;;;;;AAUA,SAAgB,cACd,QACA,SAA0B,WACN;CACpB,IAAI,gBAAgB,MAAM,GAAG,OAAO;CACpC,OAAO,cAAc,QAAQ,MAAM;AACrC;;;;;;;;;;;;AAaA,SAAgB,eAAe,QAA2D;CACxF,OAAO;EAAE,QAAQ,cAAc,MAAM,KAAK;EAAM,OAAO,gBAAgB,MAAM;CAAE;AACjF;;;;;;;;;;;;AAmCA,SAAgB,oBAAoB,QAAqC;CACvE,MAAM,EAAE,QAAQ,UAAU,eAAe,MAAM;CAE/C,OAAO;EAAE;EAAQ,gBAAgB;EAAO,GADvB,OAAO,QAAQ,aAAa,KAAA,IACU,EAAE,mBAAmB,KAAK,IAAI,CAAC;CAAG;AAC3F;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,SAAgB,uBAAuB,OAA2C;CAChF,OAAO;EAAE,QAAQ;EAAO,gBAAgB;EAAO,mBAAmB;CAAM;AAC1E"}
|
package/dist/rl.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { v as Span } from "./schema-2g7trUwH.js";
|
|
2
|
-
import { a as RunRecord, c as RunSplitTag } from "./run-record-
|
|
2
|
+
import { a as RunRecord, c as RunSplitTag } from "./run-record-p2AYTrCn.js";
|
|
3
3
|
import { a as PairedPromotionDecision, d as PairedBootstrapResult } from "./paired-promotion-decision-DPKz8ZnF.js";
|
|
4
4
|
import { s as TraceStore } from "./store-C4avFjIi.js";
|
|
5
5
|
import { a as MintedRolloutLine, b as RolloutSplit, t as ChatMessage } from "./schema-C-ziyJD7.js";
|
|
6
|
-
import { t as MintRolloutOptions } from "./mint-
|
|
7
|
-
import { a as CampaignResult } from "./types-
|
|
6
|
+
import { t as MintRolloutOptions } from "./mint-CDy-brUR.js";
|
|
7
|
+
import { a as CampaignResult } from "./types-Dv9sYwBB.js";
|
|
8
8
|
import { s as VerificationReport } from "./multi-layer-verifier-BUaQ4C17.js";
|
|
9
|
-
import { a as detectRewardHacking, c as VerifiableRewardSource, d as filterDeterministicallyRewarded, i as RewardHackingSignal, l as extractVerifiableReward, n as RewardHackingFinding, o as VerifiableReward, r as RewardHackingReport, s as VerifiableRewardExtractionOptions, t as DetectRewardHackingInput, u as extractVerifiableRewardsFromRecords } from "./reward-hacking-
|
|
9
|
+
import { a as detectRewardHacking, c as VerifiableRewardSource, d as filterDeterministicallyRewarded, i as RewardHackingSignal, l as extractVerifiableReward, n as RewardHackingFinding, o as VerifiableReward, r as RewardHackingReport, s as VerifiableRewardExtractionOptions, t as DetectRewardHackingInput, u as extractVerifiableRewardsFromRecords } from "./reward-hacking-C6Kp54Av.js";
|
|
10
10
|
import { i as InMemoryOutcomeStore, n as FileSystemOutcomeStore, o as OutcomeStore, r as FileSystemOutcomeStoreOptions, t as DeploymentOutcome } from "./outcome-store-CNt4iZ67.js";
|
|
11
|
-
import { n as TraceQuestionOutcome, r as TraceQuestionSpec } from "./trace-questions-
|
|
11
|
+
import { n as TraceQuestionOutcome, r as TraceQuestionSpec } from "./trace-questions-C26UvI3D.js";
|
|
12
12
|
import { t as InterimReleaseConfidence } from "./sequential-BhsrMupG.js";
|
|
13
13
|
import { t as AdversarialMutation } from "./adversarial-smnADNFS.js";
|
|
14
|
-
import { a as SteeringChange, f as EvalCampaignOptions, h as runEvalCampaign, i as Researcher, n as ExperimentResult, p as EvalCampaignResult, r as FailureMode, t as ExperimentPlan } from "./researcher-
|
|
14
|
+
import { a as SteeringChange, f as EvalCampaignOptions, h as runEvalCampaign, i as Researcher, n as ExperimentResult, p as EvalCampaignResult, r as FailureMode, t as ExperimentPlan } from "./researcher-DuIJ9IaA.js";
|
|
15
15
|
import { o as TrainingExportOptions } from "./exporters-ChTnR90l.js";
|
|
16
|
-
import { a as RubricPredictiveValidityReport, t as OutcomeMetricSpec } from "./rubric-predictive-validity-
|
|
17
|
-
import { a as SystemOneReviewReport, t as PreparedSystemOneReview } from "./systemone-review-
|
|
16
|
+
import { a as RubricPredictiveValidityReport, t as OutcomeMetricSpec } from "./rubric-predictive-validity-BiNNEjpG.js";
|
|
17
|
+
import { a as SystemOneReviewReport, t as PreparedSystemOneReview } from "./systemone-review-BReh3mvm.js";
|
|
18
18
|
//#region src/rl/active-curriculum.d.ts
|
|
19
19
|
/**
|
|
20
20
|
* Adaptive curriculum: active scenario selection by variance.
|
|
@@ -310,26 +310,7 @@ export declare function checkerReadSignal(events: readonly TrajectoryEvent[], op
|
|
|
310
310
|
checkers: readonly string[];
|
|
311
311
|
firstClaimAt: string | number | null;
|
|
312
312
|
}): IntegritySignal;
|
|
313
|
-
|
|
314
|
-
export declare function claimBrief(claim: IntegrityClaim, scope: SourceScope): {
|
|
315
|
-
statement: string;
|
|
316
|
-
source: string;
|
|
317
|
-
excerpts: {
|
|
318
|
-
cite: string;
|
|
319
|
-
text: string;
|
|
320
|
-
}[];
|
|
321
|
-
claim: {
|
|
322
|
-
field: string | null;
|
|
323
|
-
instance: string | null;
|
|
324
|
-
asserts: string | null;
|
|
325
|
-
novelty: "known" | "new" | null;
|
|
326
|
-
parameters: {
|
|
327
|
-
[k: string]: unknown;
|
|
328
|
-
};
|
|
329
|
-
parameterMeaning: Readonly<Record<string, string>>;
|
|
330
|
-
};
|
|
331
|
-
};
|
|
332
|
-
export declare const REFEREE_VERDICTS: readonly ['holds', 'excluded', 'trivial', 'known', 'unclear'];
|
|
313
|
+
declare const REFEREE_VERDICTS: readonly ['holds', 'excluded', 'trivial', 'known', 'unclear'];
|
|
333
314
|
export type RefereeVerdict = (typeof REFEREE_VERDICTS)[number];
|
|
334
315
|
/** The referee's messages for one claim, for any chat model. */
|
|
335
316
|
export declare function sourceScopeRefereeMessages(claim: IntegrityClaim, scope: SourceScope): ({
|
|
@@ -361,7 +342,7 @@ export declare function refereeSignal(claim: IntegrityClaim, answer: SourceScope
|
|
|
361
342
|
* System One typed questions over the same brief the referee reads. Each names a way the claim can be true of
|
|
362
343
|
* the checker and not of the statement; `true` supports that hypothesis, except `inScope`.
|
|
363
344
|
*/
|
|
364
|
-
|
|
345
|
+
declare const claimIntegritySystemOneQuestions: {
|
|
365
346
|
readonly excludedBySource: {
|
|
366
347
|
readonly type: 'noul';
|
|
367
348
|
readonly instructions: "Using only the source excerpts, does the source exclude the claim's case from its statement, by a hypothesis, a definition, or an assumption it states (for example a proof that calls a case easy and then assumes it away)?";
|
package/dist/rl.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rl.d.ts","names":[],"sources":["../src/rl/active-curriculum.ts","../src/rl/adaptation-eval.ts","../src/rl/claim-integrity.ts","../src/rl/compute-curves.ts","../src/rl/contamination.ts","../src/rl/rollout-input.ts","../src/rl/preferences.ts","../src/rl/process-reward.ts","../src/rl/exporters.ts","../src/rl/dataset.ts","../src/rl/corpus.ts","../src/rl/off-policy.ts","../src/rl/predictive-validity-researcher.ts","../src/rl/rl-campaign.ts","../src/rl/run-record-adapters.ts","../src/rl/sim-fidelity.ts","../src/rl/tournament.ts","../src/rl/verified-findings-dataset.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgBiB;EACf;EACA;;EAEA;;iBAGe;EACf;EACA;;EAEA;;EAEA;;iBAGe;;EAEf;;;;;;EAMA;;;;;EAKA;;;;;;;;;wBAUc,wBACd,cAAc,mBACd,gBAAgB;EAAQ;EAAmB;IAC3C,MAAM,4BACL;;;iBC9Cc,iBAAiB;;;;;;EAMhC,IAAI;IAAQ,UAAU;IAAG;IAAW;MAAgB;;iBAGrC,0BAA0B;EACzC,WAAW;;EAEX;;EAEA;EACA,QAAQ,iBAAiB;;EAEzB;;iBAGe;EACf;EACA;EACA;EACA;EACA;;EAEA,aAAa;IAAQ;IAAoB;IAAmB;IAAgB;;;iBAG7D;EACf,QAAQ;;;;;EAKR;;;;;EAKA;;wBAGoB,mBAAmB;EAAY;GACnD,MAAM,0BAA0B,KAC/B,QAAQ;iBAmEM;EACf,MAAM;IACJ;;IAEA,OAAO;;;EAGT,WAAW;;EAEX,cAAc;EACd,cAAc;;EAEd;;EAEA;;EAEA;;;;;;;;;wBAUc,wBACd,GAAG,iBACH,GAAG,iBACH;EACE;EACA;EACA;;EAEA;IAED;;wBA0Ea,WAAW,OAAO,iBAAiB;;;YC5LvC;YACA;;iBAGK;WACN;WACA,IAAI;WACJ,OAAO,sBAAsB;;iBAGvB;;WAEN;WACA,eAAe;;WAEf;;WAEA;;WAEA;;iBAGM;WACN;WACA;;;;;;;iBAQM;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA,SAAS,SAAS;;;;;WAKlB,aAAa,SAAS;;WAEtB,mBAAmB;;WAEnB,oBAAoB;;WAEpB,kBAAkB;;WAElB,mBAAmB;;;iBAIb;;WAEN;;WAEA;WACA;WACA;WACA;;WAEA,YAAY,SAAS;;WAErB;;WAEA;;WAEA;;YAGC;YACA;iBAYK;WACN;WACA;WACA;;iBAGM;WACN,IAAI;WACJ,MAAM;;WAEN;WACA;WACA,mBAAmB;;WAEnB;;;wBA2BK,UAAU,MAAM,WAAW,OAAO,KAAK;;;;;;wBAyDvC,aACd,OAAO,gBACP,OAAO,0BACN;iBAsCc;;WAEN;;;;;;;;;wBAUK,cACd,OAAO,gBACP,qBAAqB,kBACrB,OAAO,yBACP,UAAS,iBACR;;;;;;;;;;;qBAkFU;WAEL;WAEF;;WAGE;WAEF;;WAGE;WACK;;WAGL;WACK;;;wBAKG,sBAAsB,kCAAkC;;iBAqCvD;WACN;WACA;;WAEA;;;;;;;wBAQK,kBACd,iBAAiB,mBACjB;EAAW;EAA6B;IACvC
|
|
1
|
+
{"version":3,"file":"rl.d.ts","names":[],"sources":["../src/rl/active-curriculum.ts","../src/rl/adaptation-eval.ts","../src/rl/claim-integrity.ts","../src/rl/compute-curves.ts","../src/rl/contamination.ts","../src/rl/rollout-input.ts","../src/rl/preferences.ts","../src/rl/process-reward.ts","../src/rl/exporters.ts","../src/rl/dataset.ts","../src/rl/corpus.ts","../src/rl/off-policy.ts","../src/rl/predictive-validity-researcher.ts","../src/rl/rl-campaign.ts","../src/rl/run-record-adapters.ts","../src/rl/sim-fidelity.ts","../src/rl/tournament.ts","../src/rl/verified-findings-dataset.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgBiB;EACf;EACA;;EAEA;;iBAGe;EACf;EACA;;EAEA;;EAEA;;iBAGe;;EAEf;;;;;;EAMA;;;;;EAKA;;;;;;;;;wBAUc,wBACd,cAAc,mBACd,gBAAgB;EAAQ;EAAmB;IAC3C,MAAM,4BACL;;;iBC9Cc,iBAAiB;;;;;;EAMhC,IAAI;IAAQ,UAAU;IAAG;IAAW;MAAgB;;iBAGrC,0BAA0B;EACzC,WAAW;;EAEX;;EAEA;EACA,QAAQ,iBAAiB;;EAEzB;;iBAGe;EACf;EACA;EACA;EACA;EACA;;EAEA,aAAa;IAAQ;IAAoB;IAAmB;IAAgB;;;iBAG7D;EACf,QAAQ;;;;;EAKR;;;;;EAKA;;wBAGoB,mBAAmB;EAAY;GACnD,MAAM,0BAA0B,KAC/B,QAAQ;iBAmEM;EACf,MAAM;IACJ;;IAEA,OAAO;;;EAGT,WAAW;;EAEX,cAAc;EACd,cAAc;;EAEd;;EAEA;;EAEA;;;;;;;;;wBAUc,wBACd,GAAG,iBACH,GAAG,iBACH;EACE;EACA;EACA;;EAEA;IAED;;wBA0Ea,WAAW,OAAO,iBAAiB;;;YC5LvC;YACA;;iBAGK;WACN;WACA,IAAI;WACJ,OAAO,sBAAsB;;iBAGvB;;WAEN;WACA,eAAe;;WAEf;;WAEA;;WAEA;;iBAGM;WACN;WACA;;;;;;;iBAQM;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA,SAAS,SAAS;;;;;WAKlB,aAAa,SAAS;;WAEtB,mBAAmB;;WAEnB,oBAAoB;;WAEpB,kBAAkB;;WAElB,mBAAmB;;;iBAIb;;WAEN;;WAEA;WACA;WACA;WACA;;WAEA,YAAY,SAAS;;WAErB;;WAEA;;WAEA;;YAGC;YACA;iBAYK;WACN;WACA;WACA;;iBAG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AM,kBACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBC/Xc;;EAEf;;EAEA;;;;;EAKA;;;;;;EAMA;;iBAGe;EACf;;EAEA;;EAEA;;EAEA;;EAEA;;iBAGe;EACf,SAAS;;EAET;;EAEA;EACA;;;;;;;;;;;wBAYc,gBACd,UAAU,mBACV;EAAQ;EAAoB;EAAwB;IACnD;;;;;;;;;iBA+Gc;;EAEf;;EAEA;;wBAGc,eACd,SAAS,qBACT,SAAS,iBACT,OAAM;EACH;EAAqB;;;;;;;;iBA2BT;EACf,MAAM;IACJ;;IAEA;IACA;;;;;;EAMF;;wBAGc,0BACd,OAAO,iCACN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBC/MU;;iBAKI;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;EAEA;EACA,KAAK;EACL;;iBAGe;EACf;EACA;EACA;EACA;EACA;EACA;;iBAGe;EACf;EACA,OAAO;;;iBAIQ;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA,kBAAkB;IAAQ;IAAkB;;;;iBAI7B;EACf;EACA;EACA;;iBAGe;EACf;;;EAGA;;EAEA;EACA;;;iBAIe;EACf;EACA;EACA;EACA;EACA,mBAAmB;EACnB;EACA;IAAU;IAAyB;;;iBAKpB;EACf;EACA;EACA;;EAEA;EACA;;YAGU;iBAEK;EACf,SAAS;EACT;EACA;EACA;EACA;;iBAGe;EACf,eAAe;;EAEf;EACA;EACA;EACA;IACE;IACA;IACA;IACA;IACA;IACA;;EAEF;;IAEE;;IAEA;;IAEA;;IAEA;IACA;;;EAGF;IACE;MAAU;MAAe;;IACzB,OAAO;;EAET;IACE;;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;;;IAGA;IACA,wBAAwB;IACxB;IACA;IACA;IACA;;EAEF,KAAK;EACL;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;;iBAIa;EACf;EACA;;;;EAIA;EACA,KAAK,OAAO;EACZ,UAAU;IAAiB;IAAc;IAAoB;;;iBAO9C;EACf,WAAW;EACX,OAAO;EACP,OAAO;EACP;EACA;EACA;EACA;EACA;EACA;EACA;EACA,SAAS;EACT;;;;;;wBAiEc,wBAAwB,MAAM,8BAA8B;wBA8I5D,0BAA0B,MAAM,uBAAuB;wBAwBvD,wBAAwB,MAAM;iBAM7B;EACf;;EAEA;;iBAGe;EACf;;EAEA;;EAEA,SAAS,eAAe;;EAExB;EACA;;iBAGe;EACf,MAAM;EACN,SAAS;EACT;IACE;IACA;IACA;IACA;IACA,SAAS;MAAiB;MAAoB;MAAsB;;;;;;;;;wBAuExD,4BACd,QAAQ,yBACP"}
|
package/dist/rl.js
CHANGED
|
@@ -3,17 +3,17 @@ import { a as hashCanonical, i as compareCodeUnits } from "./canonical-BsZVgBhW.
|
|
|
3
3
|
import { a as medianInPlace } from "./internal-CRHwS9iz.js";
|
|
4
4
|
import { t as mulberry32 } from "./random-Dn5fPWkt.js";
|
|
5
5
|
import { r as pairedBootstrap } from "./paired-tests-jbwPdSz5.js";
|
|
6
|
-
import {
|
|
7
|
-
import { t as decidePairedPromotion } from "./paired-promotion-decision-
|
|
6
|
+
import { a as wilcoxonSignedRank } from "./paired-arms-DzKn0TfY.js";
|
|
7
|
+
import { t as decidePairedPromotion } from "./paired-promotion-decision-BN6IQTiu.js";
|
|
8
8
|
import { r as observedSplitScore, s as trainingScore } from "./reward-nw2xZGZG.js";
|
|
9
|
-
import {
|
|
10
|
-
import { n as campaignCellToRunRecord } from "./run-record-
|
|
9
|
+
import { o as runTaskScore } from "./run-record-DlTZ_lqe.js";
|
|
10
|
+
import { n as campaignCellToRunRecord } from "./run-record-ES07wfz9.js";
|
|
11
11
|
import { i as filterDeterministicallyRewarded, n as extractVerifiableReward, r as extractVerifiableRewardsFromRecords, t as detectRewardHacking } from "./reward-hacking-BFcQgkux.js";
|
|
12
12
|
import { n as InMemoryTraceStore } from "./store-BhNuLdJw.js";
|
|
13
|
-
import { t as runEvalCampaign } from "./eval-campaign-
|
|
13
|
+
import { t as runEvalCampaign } from "./eval-campaign-4byTtqrf.js";
|
|
14
14
|
import { s as assertRewardGate } from "./schema-BuiujZ-g.js";
|
|
15
15
|
import { n as isTrainingLineEligible, s as toSftRows$1, t as isSplitEligible } from "./exporters-X4xwla8A.js";
|
|
16
|
-
import { t as mintRolloutRows } from "./mint-
|
|
16
|
+
import { t as mintRolloutRows } from "./mint-Csor1BLJ.js";
|
|
17
17
|
import { t as evaluateInterimReleaseConfidence } from "./sequential-CzK5DarL.js";
|
|
18
18
|
import { n as prepareSystemOneReview } from "./systemone-review-DTClwgmE.js";
|
|
19
19
|
import { n as assertUniqueObservationIds, s as validateOutcomeMetricSpecifications, t as rubricPredictiveValidity } from "./rubric-predictive-validity-BsgkBfT0.js";
|
|
@@ -3711,6 +3711,6 @@ function loadVerifiedFindingsDataset(source) {
|
|
|
3711
3711
|
};
|
|
3712
3712
|
}
|
|
3713
3713
|
//#endregion
|
|
3714
|
-
export { ABSENT_CATEGORY, CLAIM_INTEGRITY_VERSION, FileSystemOutcomeStore, GRADER_REFERENCE_PHRASES, InMemoryOutcomeStore, PredictiveValidityResearcher,
|
|
3714
|
+
export { ABSENT_CATEGORY, CLAIM_INTEGRITY_VERSION, FileSystemOutcomeStore, GRADER_REFERENCE_PHRASES, InMemoryOutcomeStore, PredictiveValidityResearcher, VERIFIED_FINDING_SCHEMA, appendToCorpus, applyEloUpdate, bestOfN, bucketLabel, buildDatasetFromCorpus, buildPairwiseFromCampaign, buildRlDataset, buildVerifiedFindingRow, campaignToRunRecords, checkerReadSignal, claimIntegrityDigest, claimIntegritySystemOneReview, claimIntegrityTraceQuestions, claimIntegrityVerdict, compareAdaptationCurves, datasheetToMarkdown, defaultBehaviorFeatures, detectRewardHacking, doublyRobust, easyModeCheck, extractPreferences, extractStepRewards, extractVerifiableReward, extractVerifiableRewardsFromRecords, farmingSignal, filterDeterministicallyRewarded, firstPassK, fitBradleyTerry, graderReferenceSignal, injectIrrelevantClause, inverseProbabilityWeighting, jsDivergence, loadVerifiedFindingsDataset, monitorSignal, offPolicyEstimateAll, paretoFrontier, parseSourceScopeReferee, prmTrainingPairs, quantileEdges, readCorpus, refereeSignal, renameVariables, ruleHolds, runAdaptationCurve, runComputeCurve, runContaminationProbe, runEvalCampaign, runRLCampaign, runwiseStepRewardSummary, scopeSignals, selfConsistency, selfNormalizedImportanceWeighting, shuffleOrder, simFidelityReport, sourceScopeRefereeMessages, stepRewardsToJsonl, summarizeVerifiedFindings, systemOneSignal, toAnthropicFormat, toDpoJsonl, toDpoRows, toGrpoJsonl, toGrpoRows, toPrmJsonl, toPrmRows, toSftJsonl, toSftRows, toTRLFormat, validateDatasetFormats, varianceBasedCurriculum, verificationReportToRunRecord, verifiedFindingsToJsonl };
|
|
3715
3715
|
|
|
3716
3716
|
//# sourceMappingURL=rl.js.map
|