reeval 0.4.0 → 0.6.1
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/THIRD_PARTY_NOTICES.md +5 -5
- package/assets/package.json +1 -1
- package/assets/pnpm-lock.yaml +61 -66
- package/dist/{agent-C9dLMCM7.js → agent-BrqDHAx6.js} +5 -5
- package/dist/{agent-C9dLMCM7.js.map → agent-BrqDHAx6.js.map} +1 -1
- package/dist/{agent-M70OWyfG.js → agent-bHgHIPVD.js} +4 -4
- package/dist/{agent-M70OWyfG.js.map → agent-bHgHIPVD.js.map} +1 -1
- package/dist/{analysis-CxSCt1YY.js → analysis-BV3TCznv.js} +9 -5
- package/dist/analysis-BV3TCznv.js.map +1 -0
- package/dist/{assemble-BmVT26kf.js → assemble-BB_dcnfh.js} +41 -15
- package/dist/assemble-BB_dcnfh.js.map +1 -0
- package/dist/assemble-DcLLkwnB.js +2 -0
- package/dist/bridge/index.mjs +1 -1
- package/dist/capture-EvOaSXj_.js +2 -0
- package/dist/capture-tcMRp6ks.js +587 -0
- package/dist/capture-tcMRp6ks.js.map +1 -0
- package/dist/{cli-BdxFLEIc.js → cli-BM-qbqO_.js} +80 -56
- package/dist/cli-BM-qbqO_.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/{command-BtcBitmY.js → command-BT9i1I5S.js} +15 -14
- package/dist/command-BT9i1I5S.js.map +1 -0
- package/dist/command-Bn_kbh3B.js +2 -0
- package/dist/{command-ByqQ-v-j.js → command-BpoZJVeI.js} +14 -14
- package/dist/{command-ByqQ-v-j.js.map → command-BpoZJVeI.js.map} +1 -1
- package/dist/{command-CIsO5xdR.js → command-DATlIXj1.js} +10 -10
- package/dist/{command-CIsO5xdR.js.map → command-DATlIXj1.js.map} +1 -1
- package/dist/{command-CQiFfn-C.js → command-DITkSzxp.js} +71 -21
- package/dist/command-DITkSzxp.js.map +1 -0
- package/dist/{commands-CPrrZ2mI.js → commands-C0SFWd1T.js} +9 -7
- package/dist/commands-C0SFWd1T.js.map +1 -0
- package/dist/{commands-D3Dxgh60.js → commands-CDty3r_G.js} +1 -1
- package/dist/{config-B93Csktg.js → config-Cy_vLUbw.js} +13 -9
- package/dist/config-Cy_vLUbw.js.map +1 -0
- package/dist/db-4nMvBFNX.js +2 -0
- package/dist/{db-SpvY8l1g.js → db-iskAs8Ox.js} +13 -10
- package/dist/db-iskAs8Ox.js.map +1 -0
- package/dist/{dist-C2k9IvL3.js → dist-Dmm3bnKA.js} +4 -4
- package/dist/{dist-C2k9IvL3.js.map → dist-Dmm3bnKA.js.map} +1 -1
- package/dist/{docker-uNaAGE2C.js → docker-B9wx9-KX.js} +8 -4
- package/dist/{docker-uNaAGE2C.js.map → docker-B9wx9-KX.js.map} +1 -1
- package/dist/{docker-C2YwD_dh.js → docker-Ctnty6xd.js} +2 -2
- package/dist/{docker-C2YwD_dh.js.map → docker-Ctnty6xd.js.map} +1 -1
- package/dist/{docker-Bv1ZC6V7.js → docker-Di4o89kZ.js} +1 -1
- package/dist/{doctor-COH-levb.js → doctor-BMUVi-gC.js} +17 -16
- package/dist/doctor-BMUVi-gC.js.map +1 -0
- package/dist/duration-JsJrIWXq.js +26 -0
- package/dist/duration-JsJrIWXq.js.map +1 -0
- package/dist/{egress-C7Obb71D.js → egress-3bdvDu1s.js} +86 -24
- package/dist/{egress-C7Obb71D.js.map → egress-3bdvDu1s.js.map} +1 -1
- package/dist/{environment-lDFQY2BF.js → environment-DiCljXMD.js} +43 -40
- package/dist/environment-DiCljXMD.js.map +1 -0
- package/dist/errors-yDAEwmZo.js +15 -0
- package/dist/errors-yDAEwmZo.js.map +1 -0
- package/dist/files-BM78_nnF.js +2 -0
- package/dist/{files-CMoTBEul.js → files-CITwkC4O.js} +2 -2
- package/dist/{files-CMoTBEul.js.map → files-CITwkC4O.js.map} +1 -1
- package/dist/files-C_CsTMtM.js +2 -0
- package/dist/{files-BLlrhU4-.js → files-Ca0d6Uq3.js} +2 -2
- package/dist/{files-BLlrhU4-.js.map → files-Ca0d6Uq3.js.map} +1 -1
- package/dist/{files-BO9P6msM.js → files-DGhQZaXT.js} +92 -8
- package/dist/files-DGhQZaXT.js.map +1 -0
- package/dist/files-vgLA9tcj.js +2 -0
- package/dist/{git-LJp55bkf.js → git-BzyBakoB.js} +2 -2
- package/dist/{git-LJp55bkf.js.map → git-BzyBakoB.js.map} +1 -1
- package/dist/{harness-BbMShUC-.js → harness-8-dnGNgT.js} +2 -2
- package/dist/{harness-BbMShUC-.js.map → harness-8-dnGNgT.js.map} +1 -1
- package/dist/harness.d.ts +1 -1
- package/dist/harness.js +1 -1
- package/dist/{header-sPQ9Lq2S.js → header-IE-uIvX0.js} +2 -2
- package/dist/{header-sPQ9Lq2S.js.map → header-IE-uIvX0.js.map} +1 -1
- package/dist/{images-Pph_XJ68.js → images-QBtOj-_q.js} +6 -6
- package/dist/{images-Pph_XJ68.js.map → images-QBtOj-_q.js.map} +1 -1
- package/dist/index.d.ts +8 -4
- package/dist/index.js +51 -84
- package/dist/index.js.map +1 -1
- package/dist/{init-BcYpzHXs.js → init-B47uIoHu.js} +7 -9
- package/dist/init-B47uIoHu.js.map +1 -0
- package/dist/init-DIAJuCs2.js +2 -0
- package/dist/{jiti-DWsGEgxD.js → jiti-BcJHCtrb.js} +2 -2
- package/dist/{jiti-DWsGEgxD.js.map → jiti-BcJHCtrb.js.map} +1 -1
- package/dist/{judge-D6wqgTDp.js → judge-7WjNdU9z.js} +5 -5
- package/dist/judge-7WjNdU9z.js.map +1 -0
- package/dist/judge.d.ts +1 -1
- package/dist/judge.js +1 -1
- package/dist/{matchers-DbFPZQgA.js → matchers-Bp-OH1vj.js} +2 -2
- package/dist/{matchers-DbFPZQgA.js.map → matchers-Bp-OH1vj.js.map} +1 -1
- package/dist/{model-CJ6USX6C.js → model-BeoRxCcJ.js} +1 -1
- package/dist/{model-f0wprGPm.js → model-Bv8uUZ07.js} +2 -2
- package/dist/{model-f0wprGPm.js.map → model-Bv8uUZ07.js.map} +1 -1
- package/dist/model-C_B5JrhL.js +2 -0
- package/dist/{model-DUZtNaYR.js → model-Cp6NoAT3.js} +8 -6
- package/dist/{model-DUZtNaYR.js.map → model-Cp6NoAT3.js.map} +1 -1
- package/dist/{model-ORtLm2UB.js → model-CtrJdFi6.js} +157 -7
- package/dist/model-CtrJdFi6.js.map +1 -0
- package/dist/{node-OXPxBD2N.js → node-Co7EXge0.js} +4 -3
- package/dist/{node-OXPxBD2N.js.map → node-Co7EXge0.js.map} +1 -1
- package/dist/{options-Ftb2gE01.js → options-DVB78W8X.js} +161 -58
- package/dist/options-DVB78W8X.js.map +1 -0
- package/dist/{patch-BxqggH-T.js → patch-CGCVipPu.js} +2 -2
- package/dist/{patch-BxqggH-T.js.map → patch-CGCVipPu.js.map} +1 -1
- package/dist/{paths-CBvm6pap.js → paths-BmR-7tx3.js} +7 -3
- package/dist/{paths-CBvm6pap.js.map → paths-BmR-7tx3.js.map} +1 -1
- package/dist/{plan-BkhLKrsN.js → plan-Bsge1_cc.js} +3 -3
- package/dist/{plan-BkhLKrsN.js.map → plan-Bsge1_cc.js.map} +1 -1
- package/dist/{preflight-D3cJETui.js → preflight-B5ue4TlX.js} +1 -1
- package/dist/{preflight-CuvY0o3B.js → preflight-BOstyJDX.js} +3 -3
- package/dist/{preflight-CuvY0o3B.js.map → preflight-BOstyJDX.js.map} +1 -1
- package/dist/{prepare-CVuTk5F9.js → prepare-ChIEi8hP.js} +2 -2
- package/dist/{prepare-BI9j2-H-.js → prepare-jpXfdH-9.js} +6 -5
- package/dist/prepare-jpXfdH-9.js.map +1 -0
- package/dist/{provenance-6n49wska.js → provenance-BTJCjEPg.js} +2 -2
- package/dist/{provenance-6n49wska.js.map → provenance-BTJCjEPg.js.map} +1 -1
- package/dist/{providers-BFapaM2D.js → providers-BJCxWIm4.js} +4 -4
- package/dist/{providers-BFapaM2D.js.map → providers-BJCxWIm4.js.map} +1 -1
- package/dist/{providers-Cay8pI0y.js → providers-DxVIaae1.js} +1 -1
- package/dist/query-BtLxk32J.js +2 -0
- package/dist/{query-CnstTDt8.js → query-Cpe659ni.js} +3 -3
- package/dist/{query-CnstTDt8.js.map → query-Cpe659ni.js.map} +1 -1
- package/dist/{questions-Cm321-Mo.js → questions-ZdT3JDyQ.js} +4 -4
- package/dist/{questions-Cm321-Mo.js.map → questions-ZdT3JDyQ.js.map} +1 -1
- package/dist/{results-D9GgBYw5.js → results-CiJzkjNI.js} +4 -4
- package/dist/{results-D9GgBYw5.js.map → results-CiJzkjNI.js.map} +1 -1
- package/dist/{root-Zeokqt3-.js → root-CvdRlRZX.js} +3 -3
- package/dist/{root-Zeokqt3-.js.map → root-CvdRlRZX.js.map} +1 -1
- package/dist/{sandbox-CO__l-i1.js → sandbox--ZXuscAZ.js} +4 -3
- package/dist/sandbox--ZXuscAZ.js.map +1 -0
- package/dist/sandbox.d.ts +1 -1
- package/dist/sandbox.js +1 -1
- package/dist/server-CN3lGbK-.js +2 -0
- package/dist/{server-DsmIrBzi.js → server-CSSXF89R.js} +9 -9
- package/dist/{server-DsmIrBzi.js.map → server-CSSXF89R.js.map} +1 -1
- package/dist/{source-DJ1c8jwe.js → source-BcHShRWU.js} +2 -2
- package/dist/{source-DJ1c8jwe.js.map → source-BcHShRWU.js.map} +1 -1
- package/dist/source-CxLRUqU2.js +2 -0
- package/dist/{src-B1OT_Zhf.js → src-B3J1D0nL.js} +51 -68
- package/dist/src-B3J1D0nL.js.map +1 -0
- package/dist/{src-V-iU5X9S.js → src-BRdoxjJS.js} +16 -16
- package/dist/{src-V-iU5X9S.js.map → src-BRdoxjJS.js.map} +1 -1
- package/dist/src-Ba3zMSdv.js +3 -0
- package/dist/{src-D0RdqpNb.js → src-BjVw2K4H.js} +4 -4
- package/dist/{src-D0RdqpNb.js.map → src-BjVw2K4H.js.map} +1 -1
- package/dist/src-BpVFmHqj.js +3 -0
- package/dist/src-CJONyPRm.js +3 -0
- package/dist/src-CLO4dUg7.js +3 -0
- package/dist/{src-BAiYD4eC.js → src-CdwJuMBO.js} +25 -5
- package/dist/src-CdwJuMBO.js.map +1 -0
- package/dist/{src-DWk0e7ix.js → src-Czhg5ONv.js} +54 -58
- package/dist/src-Czhg5ONv.js.map +1 -0
- package/dist/src-DQCjANtm.js +3 -0
- package/dist/{src-DfEAlC9s.js → src-Dk96a9w7.js} +4 -4
- package/dist/{src-DfEAlC9s.js.map → src-Dk96a9w7.js.map} +1 -1
- package/dist/{src-BmBFlEIe.js → src-DyQJdvp2.js} +8 -6
- package/dist/{src-BmBFlEIe.js.map → src-DyQJdvp2.js.map} +1 -1
- package/dist/{src-BC5FFzE8.js → src-a6y9cGkR.js} +1 -1
- package/dist/src-yCDQ7kpQ.js +4 -0
- package/dist/state-CeYoWFWx.js +2 -0
- package/dist/{state-DFbJrVi3.js → state-evRYxV_q.js} +17 -17
- package/dist/{state-DFbJrVi3.js.map → state-evRYxV_q.js.map} +1 -1
- package/dist/studio-app/assets/{index-B1Pf3LAT.css → index-CUx6GoL5.css} +1 -1
- package/dist/studio-app/assets/{index-BhorHbrj.js → index-WQPq5K3E.js} +9 -9
- package/dist/studio-app/index.html +2 -2
- package/dist/{summary-WR5qLj_z.js → summary-CIw18kb-.js} +6 -6
- package/dist/{summary-WR5qLj_z.js.map → summary-CIw18kb-.js.map} +1 -1
- package/dist/{summary-CEMYhzXm.js → summary-DTUCNA-v.js} +5 -3
- package/dist/summary-DTUCNA-v.js.map +1 -0
- package/dist/{tools-DN-cJcfi.js → tools-By2WuNxm.js} +3 -3
- package/dist/{tools-DN-cJcfi.js.map → tools-By2WuNxm.js.map} +1 -1
- package/dist/{types-B_CqVrOS.d.ts → types-C2Gl05_c.d.ts} +128 -13
- package/dist/types-C5vI3g1C.js.map +1 -1
- package/dist/view/index.d.ts +56 -5
- package/dist/view/index.js +5 -5
- package/dist/views-BEurSpHC.js +3 -0
- package/dist/{views-DNbUdW9d.js → views-BJ0i1Iuw.js} +4 -4
- package/dist/{views-DNbUdW9d.js.map → views-BJ0i1Iuw.js.map} +1 -1
- package/dist/{worker-entry-CJmG4hhE.js → worker-entry-mCctDzig.js} +6 -6
- package/dist/{worker-entry-CJmG4hhE.js.map → worker-entry-mCctDzig.js.map} +1 -1
- package/dist/{workspace-QtlJtRut.js → workspace-Bl1SiRQa.js} +4 -4
- package/dist/{workspace-QtlJtRut.js.map → workspace-Bl1SiRQa.js.map} +1 -1
- package/dist/{workspace-CmSp2MXO.js → workspace-CvAPfa8b.js} +1 -1
- package/package.json +7 -7
- package/dist/analysis-CxSCt1YY.js.map +0 -1
- package/dist/assemble-BmVT26kf.js.map +0 -1
- package/dist/assemble-DZiN1p_E.js +0 -2
- package/dist/cli-BdxFLEIc.js.map +0 -1
- package/dist/command-BtcBitmY.js.map +0 -1
- package/dist/command-CQiFfn-C.js.map +0 -1
- package/dist/command-DllipyoK.js +0 -2
- package/dist/commands-CPrrZ2mI.js.map +0 -1
- package/dist/config-B93Csktg.js.map +0 -1
- package/dist/db-DIE0bsNO.js +0 -2
- package/dist/db-SpvY8l1g.js.map +0 -1
- package/dist/doctor-COH-levb.js.map +0 -1
- package/dist/environment-lDFQY2BF.js.map +0 -1
- package/dist/errors-CSxfJ4qu.js +0 -11
- package/dist/errors-CSxfJ4qu.js.map +0 -1
- package/dist/files-BO9P6msM.js.map +0 -1
- package/dist/files-BRWmQJ-9.js +0 -2
- package/dist/files-BvHCFWgD.js +0 -2
- package/dist/files-Bwr8UW4b.js +0 -2
- package/dist/init-BcYpzHXs.js.map +0 -1
- package/dist/init-YS5qBRwV.js +0 -2
- package/dist/judge-D6wqgTDp.js.map +0 -1
- package/dist/model-CNoc8t2Y.js +0 -2
- package/dist/model-ORtLm2UB.js.map +0 -1
- package/dist/options-Ftb2gE01.js.map +0 -1
- package/dist/prepare-BI9j2-H-.js.map +0 -1
- package/dist/query-Br77sQYj.js +0 -2
- package/dist/sandbox-CO__l-i1.js.map +0 -1
- package/dist/server-D5Zq3I5N.js +0 -2
- package/dist/source-BgqURlel.js +0 -2
- package/dist/src-B1OT_Zhf.js.map +0 -1
- package/dist/src-BAiYD4eC.js.map +0 -1
- package/dist/src-Bi2Y3EkE.js +0 -3
- package/dist/src-C8WNyopo.js +0 -3
- package/dist/src-CYz-TreZ.js +0 -3
- package/dist/src-C_91Ln3Z.js +0 -4
- package/dist/src-DWk0e7ix.js.map +0 -1
- package/dist/src-gPJFzHcK.js +0 -3
- package/dist/src-gVzsO4_f.js +0 -3
- package/dist/state-Joc2b4qk.js +0 -2
- package/dist/summary-CEMYhzXm.js.map +0 -1
- package/dist/views-DnYbVkKg.js +0 -3
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
<meta name="referrer" content="no-referrer" />
|
|
7
7
|
<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
|
|
8
8
|
<title>reeval Studio</title>
|
|
9
|
-
<script type="module" crossorigin src="./assets/index-
|
|
10
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
9
|
+
<script type="module" crossorigin src="./assets/index-WQPq5K3E.js"></script>
|
|
10
|
+
<link rel="stylesheet" crossorigin href="./assets/index-CUx6GoL5.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
|
13
13
|
<div id="root"></div>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as writeCached } from "./files-
|
|
2
|
-
import { a as providerModel } from "./model-
|
|
3
|
-
import { r as fromRecorded, t as attemptSummary } from "./tools-
|
|
4
|
-
import { n as allRuns } from "./commands-
|
|
5
|
-
import { a as failedAnalysis, i as defaultBase, o as prepareAnalysis, s as promptOf, t as analyseDigest } from "./command-
|
|
1
|
+
import { l as writeCached } from "./files-CITwkC4O.js";
|
|
2
|
+
import { a as providerModel } from "./model-Cp6NoAT3.js";
|
|
3
|
+
import { r as fromRecorded, t as attemptSummary } from "./tools-By2WuNxm.js";
|
|
4
|
+
import { n as allRuns } from "./commands-C0SFWd1T.js";
|
|
5
|
+
import { a as failedAnalysis, i as defaultBase, o as prepareAnalysis, s as promptOf, t as analyseDigest } from "./command-DITkSzxp.js";
|
|
6
6
|
import { join } from "node:path";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import { generateText, stepCountIs, tool } from "ai";
|
|
@@ -189,4 +189,4 @@ function fakeSummaryModel(p) {
|
|
|
189
189
|
//#endregion
|
|
190
190
|
export { writeRunSummary };
|
|
191
191
|
|
|
192
|
-
//# sourceMappingURL=summary-
|
|
192
|
+
//# sourceMappingURL=summary-CIw18kb-.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"summary-
|
|
1
|
+
{"version":3,"file":"summary-CIw18kb-.js","names":[],"sources":["../src/analysis/agent/summary.ts"],"mappings":";;;;;;;;;AA4BA,MAAM,aAAa;AAEnB,MAAa,uBAAuB;;;;;;AAOpC,SAAgB,aAAa,GAAqB,UAAkB;CAClE,IAAI,OAAO;CACX,MAAM,SAAY,UAAoC;EACpD,MAAM,OAAO,KAAK,UAAU,KAAK,CAAC,CAAC;EACnC,IAAI,OAAO,MACT,OAAO,EACL,OACE,8FACJ;EAEF,QAAQ;EACR,OAAO;CACT;CACA,MAAM,OAAO,CAAC,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,MAAO,IAAI,CAAC,CAAC,IAAI,CAAC,CAAE;CACjE,OAAO;EACL,eAAe,KAAK;GAClB,aACE;GACF,aAAa,EAAE,OAAO,EACpB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA+C,EACzE,CAAC;GACD,SAAS,OAAO,EAAE,SAAS;IACzB,MAAM,OAAO,EAAE,QAAQ,MAAM,MAAM,EAAE,OAAO,EAAE;IAC9C,IAAI,MAAM;KACR,MAAM,EAAE,UAAU,WAAW,GAAG,SAAS;KACzC,OAAO,MAAM,IAAI;IACnB;IACA,OAAO,EACL,OAAO,EAAE,OAAO,SAAS,MAAM,MAAM,EAAE,OAAO,EAAE,IAC5C,GAAG,GAAG,8BACN,uBAAuB,GAAG,aAAa,EAAE,OAAO,QAAQ,KAAK,IAAI,KAAK,OAAO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GAAG;GAAE,EAAE,CAC5D;GACA,IAAI,YAAY,CAAC,MAAM,QACrB,OAAO,OACL,CAAC;IAAE,MAAM;IAAQ,MAAM,QAAQ,WAAW,kBAAkB,UAAU;GAAG,CAAC,GAC1E,MACF;GAEF,OAAO,OACL,MAAM,KAAK,GAAG,OAAO;IACnB,MAAM;IACN,YAAY,QAAQ,EAAE,KAAK,GAAG;IAC9B,UAAU,EAAE;IACZ,OAAO,KAAK,UAAU,EAAE,KAAK;GAC/B,EAAE,GACF,YACF;EACF;EACA,UAAU,YAAY;GACpB,MAAM,IAAI,MAAM,yCAAyC;EAC3D;CACF;AACF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as clip, r as formatDuration } from "./text-gEcKjAyp.js";
|
|
2
|
-
import {
|
|
3
|
-
import { o as warnings } from "./state-
|
|
2
|
+
import { B as cellContrast, E as runtimeLabel, G as effortLabel, L as judgeRatesLabel, M as cellJudgeRates, N as cellUsage, b as isUngatedMiss, g as harnessLabel, h as formatUsage, x as languageLabel } from "./model-CtrJdFi6.js";
|
|
3
|
+
import { o as warnings } from "./state-evRYxV_q.js";
|
|
4
4
|
//#region src/history/summary.ts
|
|
5
5
|
const OUTCOME_MARK = {
|
|
6
6
|
pass: "✓",
|
|
@@ -68,6 +68,8 @@ function cellCounts(e) {
|
|
|
68
68
|
c.gate !== "all" && c.gate !== "none" ? `gate ${gateLabel(c.gate)}` : "",
|
|
69
69
|
c.lift ? liftLabel(c.lift) : "",
|
|
70
70
|
...[cellContrast(e, c.key)].flatMap((effort) => effort ? [`effort ${effortLabel(effort)}`] : []),
|
|
71
|
+
...[judgeRatesLabel(cellJudgeRates(e, c.key))].filter(Boolean),
|
|
72
|
+
...[formatUsage(cellUsage(e, c.key))].filter((u) => Boolean(u)),
|
|
71
73
|
c.overrides.length ? `overrides ${c.overrides.join(", ")}` : ""
|
|
72
74
|
].filter(Boolean);
|
|
73
75
|
return `${c.key} ${c.pass}/${c.pass + c.fail}${notes.length ? ` (${notes.join(", ")})` : ""}`;
|
|
@@ -191,4 +193,4 @@ function attemptDetail(lines, a) {
|
|
|
191
193
|
//#endregion
|
|
192
194
|
export { liftLabel as a, stateRows as c, gateLabel as i, summaryCounts as l, answersLabel as n, renderSummary as o, cellCounts as r, repeatsVerdict as s, OUTCOME_MARK as t };
|
|
193
195
|
|
|
194
|
-
//# sourceMappingURL=summary-
|
|
196
|
+
//# sourceMappingURL=summary-DTUCNA-v.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"summary-DTUCNA-v.js","names":[],"sources":["../src/history/summary.ts"],"mappings":";;;;AAcA,MAAa,eAAwC;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,SAAS;AACX;;AAGA,MAAM,qBAAqB;AAE3B,MAAM,QAAQ,MAAc,EAAE,QAAQ,OAAO,KAAK,CAAC,CAAC,QAAQ,OAAO,GAAG;AAEtE,SAAgB,cAAc,GAAiC;CAC7D,MAAM,QAAQ;EACZ,EAAE,QAAQ,GAAG,EAAE,KAAK;EACpB,EAAE,OAAO,EAAE,WAAW,KAAK,GAAG,EAAE,OAAO,EAAE,SAAS;EAClD,EAAE,WAAW,KAAK,GAAG,EAAE,SAAS;EAChC,EAAE,cAAc,GAAG,EAAE,WAAW;EAChC,EAAE,WAAW,GAAG,EAAE,QAAQ;CAC5B,CAAC,CAAC,OAAO,OAAO;CAChB,IAAI,MAAM,WAAW,GAAG,OAAO;CAC/B,MAAM,QAAQ,EAAE,aAAa,EAAE,QAAQ,KAAK,KAAK,EAAE,SAAS,aAAa,EAAE,MAAM;CACjF,OAAO,GAAG,MAAM,KAAK,KAAK,IAAI;AAChC;AAEA,MAAM,gBAAgB,MAAc,GAAG,KAAK,IAAI,MAAM,MAAM,KAAK,MAAM,KAAK,IAAI,CAAC,IAAI,GAAG;;AAGxF,MAAa,aAAa,SACxB,SAAS,SAAS,SAAS,SAAS,OAAO,YAAY,KAAK;;;;;AAM9D,SAAgB,UAAU,MAA+C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AAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,EAAE,IAAI,KAAK,MAAM,IAC3F;CAEF,IAAI,EAAE,aAAa,QACjB,MAAM,KACJ,cAAc,EAAE,aAAa,KAAK,MAAO,EAAE,QAAQ,KAAK,EAAE,KAAK,MAAM,EAAE,MAAM,WAAW,GAAG,EAAE,OAAO,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,KAAK,IAAI,GACjI;CAEF,MAAM,OAAO,EAAE,MAAM,GAAG,EAAE,CAAC,EAAE;CAC7B,IAAI,MAAM;EACR,MAAM,QAAQ,KAAK,SAAS,qBAAqB,GAAG,KAAK,MAAM,GAAG,kBAAkB,EAAE,KAAK;EAC3F,MAAM,KACJ,IACA,iBACA,IACA,GAAG,MACA,QAAQ,CAAC,CACT,MAAM,IAAI,CAAC,CACX,KAAK,MAAM,KAAK,GAAG,GACtB,EACF;CACF;CACA,MAAM,QAAQ;EACZ,EAAE,MAAM,YAAY,eAAe,EAAE,MAAM,SAAS,KAAK;EACzD,EAAE,MAAM,cAAc,gBAAgB,EAAE,MAAM,WAAW,KAAK;EAC9D,EAAE,MAAM,QAAQ,UAAU,EAAE,MAAM,KAAK,KAAK;EAC5C,EAAE,MAAM,cAAc,iBAAiB,EAAE,MAAM,WAAW,KAAK;CACjE,CAAC,CAAC,OAAO,OAAO;CAChB,IAAI,MAAM,QAAQ,MAAM,KAAK,YAAY,MAAM,KAAK,KAAK,GAAG;AAC9D"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as recordFileName } from "./ids-Bp6ut7ZD.js";
|
|
2
2
|
import { n as clip } from "./text-gEcKjAyp.js";
|
|
3
|
-
import {
|
|
4
|
-
import { s as mergeOutcome } from "./assemble-
|
|
3
|
+
import { S as parseTranscript } from "./model-CtrJdFi6.js";
|
|
4
|
+
import { s as mergeOutcome } from "./assemble-BB_dcnfh.js";
|
|
5
5
|
import { join } from "node:path";
|
|
6
6
|
import { readFile } from "node:fs/promises";
|
|
7
7
|
//#region src/analysis/agent/tools.ts
|
|
@@ -246,4 +246,4 @@ function divergence(failed, passed, window = 6) {
|
|
|
246
246
|
//#endregion
|
|
247
247
|
export { stagedAttempts as a, listOutcomes as i, divergence as n, fromRecorded as r, attemptSummary as t };
|
|
248
248
|
|
|
249
|
-
//# sourceMappingURL=tools-
|
|
249
|
+
//# sourceMappingURL=tools-By2WuNxm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools-
|
|
1
|
+
{"version":3,"file":"tools-By2WuNxm.js","names":[],"sources":["../src/analysis/agent/tools.ts"],"mappings":";;;;;;;AA8BA,MAAM,aAAa;CACjB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;;AAGA,SAAS,aAAa,OAAwB;CAC5C,IAAI,OAAO,UAAU,UAAU,OAAO,KAAK,MAAM,QAAQ,QAAQ,GAAG,GAAG,GAAG;CAC1E,IAAI,OAAO,UAAU,YAAY,UAAU,MAAM,OAAO;CACxD,MAAM,SAAS;CACf,KAAK,MAAM,OAAO,YAAY;EAC5B,MAAM,QAAQ,OAAO;EACrB,IAAI,OAAO,UAAU,YAAY,OAAO,OAAO,KAAK,MAAM,QAAQ,QAAQ,GAAG,GAAG,GAAG;EACnF,IAAI,MAAM,QAAQ,KAAK,KAAK,MAAM,OAAO,MAAM,OAAO,MAAM,QAAQ,GAClE,OAAO,KAAK,MAAM,KAAK,GAAG,GAAG,GAAG;CACpC;CACA,OAAO,KAAK,KAAK,UAAU,KAAK,GAAG,GAAG;AACxC;;AAGA,SAAgB,OAAO,OAAuC;CAC5D,QAAQ,MAAM,MAAd;EACE,KAAK,QAAQ;GACX,MAAM,QAAQ,aAAa,MAAM,KAAK;GACtC,OAAO,GAAG,MAAM,OAAO,QAAQ,KAAK,UAAU,KAAK,MAAM,KAAK,KAAK;EACrE;EACA,KAAK,aACH,OAAO,SAAS,MAAM,KAAK,KAAK,MAAM;EACxC,KAAK,cACH,OAAO,eAAe,KAAK,M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c,OAAO,OAAO,MAAM,MAAM,EAAE,YAAY,CAAC,CAAC,EAAE,UAAU;EACtE,EAAE;EACJ,YAAY,UACT,QAAQ,MAAM,QAAQ,QAAQ,CAAC,MAAM,QAAQ,QAAQ,CAAC,CAAC,CAAC,CACxD,KAAK,OAAO;GACX,UAAU,KAAK,GAAG,GAAG;GACrB,QAAQ,QAAQ,QAAQ,CAAC;GACzB,QAAQ,QAAQ,QAAQ,CAAC;EAC3B,EAAE;EACJ,OAAO;GACL,YAAY,OAAO,MAAM,QAAQ,MAAM,CAAC,OAAO,MAAM,SAAS,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,EAAE;GAC7E,YAAY,OAAO,MAAM,QAAQ,MAAM,CAAC,OAAO,MAAM,SAAS,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,EAAE;EAC/E;EACA,WAAW;GAAE,QAAQ,KAAK,MAAM;GAAG,QAAQ,KAAK,MAAM;EAAE;EACxD,MAAM;GAAE,QAAQ,KAAK,OAAO,OAAO,IAAI;GAAG,QAAQ,KAAK,OAAO,OAAO,IAAI;EAAE;CAC7E;AACF"}
|
|
@@ -78,6 +78,20 @@ type FileRef = {
|
|
|
78
78
|
sha256: string;
|
|
79
79
|
bytes: number;
|
|
80
80
|
};
|
|
81
|
+
/** A generic attempt file from `c.capture()` (and later video). */
|
|
82
|
+
type ArtifactRef = FileRef & {
|
|
83
|
+
name: string;
|
|
84
|
+
mediaType: 'image/png';
|
|
85
|
+
/** Set when the file came from `c.capture()`. */
|
|
86
|
+
capture?: {
|
|
87
|
+
port: number;
|
|
88
|
+
path: string;
|
|
89
|
+
viewport?: {
|
|
90
|
+
width: number;
|
|
91
|
+
height: number;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
81
95
|
type GitInfo = {
|
|
82
96
|
/**
|
|
83
97
|
* The commit the run executed at: HEAD when `reeval run` started. The later commit that adds the
|
|
@@ -144,6 +158,8 @@ type AttemptFiles = {
|
|
|
144
158
|
rawTranscript?: FileRef;
|
|
145
159
|
diff?: FileRef;
|
|
146
160
|
judgeInput?: FileRef;
|
|
161
|
+
/** PNGs from `c.capture()`, under `artifacts/<name>.png`. */
|
|
162
|
+
artifacts?: ArtifactRef[];
|
|
147
163
|
};
|
|
148
164
|
type ContextFile = {
|
|
149
165
|
path: string;
|
|
@@ -248,8 +264,9 @@ type EvalEntry = {
|
|
|
248
264
|
/** The baseline environment, when the eval uses `compare`. */
|
|
249
265
|
compare?: EvalCompareMeta;
|
|
250
266
|
/**
|
|
251
|
-
* Over gated cells: `fail` if any failed, else `infra_error` if any
|
|
252
|
-
* all were, else `pass`. An ungated cell's
|
|
267
|
+
* Over gated cells: `fail` if any failed, else `infra_error` if any is (a cell is `infra_error`
|
|
268
|
+
* only when nothing counted), else `skipped` if all were, else `pass`. An ungated cell's
|
|
269
|
+
* failures don't fail the eval.
|
|
253
270
|
*/
|
|
254
271
|
outcome: Outcome;
|
|
255
272
|
/** A placeholder, `evaluate.todo` or `group.todo`: it never runs, and its outcome is `skipped`. */
|
|
@@ -325,7 +342,10 @@ type CellRecord = Cell & {
|
|
|
325
342
|
infraError: number;
|
|
326
343
|
skipped: number;
|
|
327
344
|
passRate: number | null;
|
|
328
|
-
/**
|
|
345
|
+
/**
|
|
346
|
+
* By `gate`. `'all'` matches `{ passRate: 1 }` (infra only when nothing counted); `'none'`
|
|
347
|
+
* reports the worst outcome. A variant below its `minLift` fails too.
|
|
348
|
+
*/
|
|
329
349
|
outcome: Outcome;
|
|
330
350
|
lift?: Lift;
|
|
331
351
|
};
|
|
@@ -620,6 +640,57 @@ type ExecResult = {
|
|
|
620
640
|
stdout: string;
|
|
621
641
|
stderr: string;
|
|
622
642
|
};
|
|
643
|
+
/** CSS pixels for `c.capture()`. Default 1280×720 when the call and cascade omit it. */
|
|
644
|
+
type Viewport = {
|
|
645
|
+
width: number;
|
|
646
|
+
height: number;
|
|
647
|
+
};
|
|
648
|
+
/**
|
|
649
|
+
* Camera defaults for `c.capture()`. Cascades config → profile defaults → group → eval,
|
|
650
|
+
* shallow-merged. `viewport` on a level replaces the whole object. `port` is not an option:
|
|
651
|
+
* pass it as the first argument to `c.capture`.
|
|
652
|
+
*/
|
|
653
|
+
type CaptureOptions = {
|
|
654
|
+
viewport?: Viewport;
|
|
655
|
+
/** How long to poll before failing. Default `'60s'`. */
|
|
656
|
+
timeout?: Duration;
|
|
657
|
+
/** `false` refuses the host `chrome-headless-shell` binary. `c.capture()` then throws. */
|
|
658
|
+
browser?: boolean;
|
|
659
|
+
};
|
|
660
|
+
/** A background process started by `c.exec(..., { background: true })` or `c.serve`. */
|
|
661
|
+
type BackgroundHandle = {
|
|
662
|
+
kill(): Promise<void>;
|
|
663
|
+
};
|
|
664
|
+
/** `c.serve`: a background process plus the port it was given or allocated. */
|
|
665
|
+
type ServeHandle = BackgroundHandle & {
|
|
666
|
+
port: number;
|
|
667
|
+
};
|
|
668
|
+
/** What `c.capture()` returns: the PNG is also in the attempt record under `artifacts/`. */
|
|
669
|
+
type Capture = {
|
|
670
|
+
name: string;
|
|
671
|
+
/** Container port that was tunneled. */
|
|
672
|
+
port: number;
|
|
673
|
+
/** Path on the app, as passed in. */
|
|
674
|
+
path: string;
|
|
675
|
+
viewport: Viewport;
|
|
676
|
+
/** `artifacts/<name>.png` under the attempt directory. */
|
|
677
|
+
file: {
|
|
678
|
+
path: string;
|
|
679
|
+
sha256: string;
|
|
680
|
+
bytes: number;
|
|
681
|
+
};
|
|
682
|
+
};
|
|
683
|
+
/**
|
|
684
|
+
* Optional camera and path for `c.capture(port | ServeHandle, options?)`.
|
|
685
|
+
* `port` is the first argument, not a field here. Default `path` is `/`;
|
|
686
|
+
* default `name` is derived from the path.
|
|
687
|
+
*/
|
|
688
|
+
type CaptureCall = {
|
|
689
|
+
name?: string;
|
|
690
|
+
path?: string;
|
|
691
|
+
viewport?: Viewport;
|
|
692
|
+
timeout?: Duration;
|
|
693
|
+
};
|
|
623
694
|
type FileChange = {
|
|
624
695
|
path: string;
|
|
625
696
|
status: 'added' | 'modified' | 'deleted';
|
|
@@ -737,6 +808,23 @@ type AttemptContext = {
|
|
|
737
808
|
/** Asks the judge a yes/no question about the latest turn (or `options.on`). */
|
|
738
809
|
judge(question: string, options?: JudgeCallOptions): Promise<Verdict | JudgeFailure>;
|
|
739
810
|
exec(command: string): Promise<ExecResult>;
|
|
811
|
+
exec(command: string, options: {
|
|
812
|
+
background: true;
|
|
813
|
+
}): Promise<BackgroundHandle>;
|
|
814
|
+
exec(command: string, options?: {
|
|
815
|
+
background?: boolean;
|
|
816
|
+
}): Promise<ExecResult | BackgroundHandle>;
|
|
817
|
+
/**
|
|
818
|
+
* Starts `command` in the background and returns its port. A given `port` is used; omit it
|
|
819
|
+
* and reeval allocates one. Sets `PORT` so a bash string can use `$PORT`.
|
|
820
|
+
*/
|
|
821
|
+
serve(command: string, port?: number): Promise<ServeHandle>;
|
|
822
|
+
/**
|
|
823
|
+
* Screenshots a path on a tunneled sandbox port and writes `artifacts/<name>.png`.
|
|
824
|
+
* First argument is the container port or a `ServeHandle` from `c.serve`.
|
|
825
|
+
* Needs a sandbox, same as `c.exec`.
|
|
826
|
+
*/
|
|
827
|
+
capture(target: number | ServeHandle, options?: CaptureCall): Promise<Capture>;
|
|
740
828
|
/** Workspace-relative, or `~/` for the home directory; `null` when there's no such file. */
|
|
741
829
|
readFile(path: string): Promise<string | null>;
|
|
742
830
|
/**
|
|
@@ -974,7 +1062,7 @@ type FakeSandboxDescriptor = {
|
|
|
974
1062
|
};
|
|
975
1063
|
type DockerSandboxDescriptor = {
|
|
976
1064
|
kind: 'docker';
|
|
977
|
-
/** Cell id; defaults to `docker`, or `docker:<image>` for other images. */
|
|
1065
|
+
/** Cell id; defaults to `docker`, or `docker:<image>` for other images, plus an install hash. */
|
|
978
1066
|
id?: string;
|
|
979
1067
|
/** An image that already has the harness baked in, used as is. */
|
|
980
1068
|
image?: string;
|
|
@@ -1152,6 +1240,11 @@ type GitHelper = (repo: string | URL, options?: {
|
|
|
1152
1240
|
}) => GitWorkspace;
|
|
1153
1241
|
/** What an eval runs in: the declarative, phased spec of one environment. */
|
|
1154
1242
|
type EnvironmentSpec = {
|
|
1243
|
+
/**
|
|
1244
|
+
* Where the attempt runs: `docker()` or `fakeSandbox()`. A child's `extend` / `extendEnvironment`
|
|
1245
|
+
* replaces the parent's entirely when it sets one; install is not merged onto the parent image.
|
|
1246
|
+
*/
|
|
1247
|
+
sandbox?: SandboxDescriptor;
|
|
1155
1248
|
/** The code the workspace starts as, before `files`, `rules` and `setup`; a child's replaces its parent's. */
|
|
1156
1249
|
workspace?: GitWorkspace;
|
|
1157
1250
|
env?: EnvVars;
|
|
@@ -1171,8 +1264,8 @@ type EnvironmentLayer = {
|
|
|
1171
1264
|
spec: EnvironmentSpec;
|
|
1172
1265
|
};
|
|
1173
1266
|
/**
|
|
1174
|
-
* What an eval runs in: skills, MCP servers, files, rules, variables, secrets and
|
|
1175
|
-
* data (`layers` root first), plus
|
|
1267
|
+
* What an eval runs in: the sandbox, skills, MCP servers, files, rules, variables, secrets and
|
|
1268
|
+
* setup. Plain data (`layers` root first), plus non-enumerable `extend` / `extendEnvironment`.
|
|
1176
1269
|
*/
|
|
1177
1270
|
type Environment = {
|
|
1178
1271
|
readonly kind: 'environment';
|
|
@@ -1180,9 +1273,13 @@ type Environment = {
|
|
|
1180
1273
|
readonly layers: readonly EnvironmentLayer[];
|
|
1181
1274
|
/**
|
|
1182
1275
|
* A child environment layered on this one; wherever it sets a key this one has, it wins.
|
|
1183
|
-
*
|
|
1276
|
+
* `sandbox` is replaced entirely when the child sets one; when the child omits it, the
|
|
1277
|
+
* parent's sandbox is kept. This is how two `compare` arms share setup: `compare` itself
|
|
1278
|
+
* never layers.
|
|
1184
1279
|
*/
|
|
1185
1280
|
extendEnvironment(name: string, spec: EnvironmentInput): Environment;
|
|
1281
|
+
/** Alias of `extendEnvironment`. */
|
|
1282
|
+
extend(name: string, spec: EnvironmentInput): Environment;
|
|
1186
1283
|
};
|
|
1187
1284
|
/** Typed helpers for environment specs, passed to `defineEnvironment` and `extend` callbacks. */
|
|
1188
1285
|
type EnvironmentHelpers = {
|
|
@@ -1277,7 +1374,7 @@ type HarnessOption = HarnessData | ((inherited: HarnessDescriptor[]) => HarnessD
|
|
|
1277
1374
|
type CompareGate = 'variants' | 'all' | 'none';
|
|
1278
1375
|
/**
|
|
1279
1376
|
* The baseline and each variant run as their own environments, with the same prompt and checks.
|
|
1280
|
-
* `compare` does not layer them. Share setup first with `environment.extendEnvironment`.
|
|
1377
|
+
* `compare` does not layer them. Share setup first with `environment.extend` / `extendEnvironment`.
|
|
1281
1378
|
* `false` is not a value here: a profile turns compare off with `limit.compare`.
|
|
1282
1379
|
*/
|
|
1283
1380
|
type CompareOptions<E = Environment> = {
|
|
@@ -1362,6 +1459,10 @@ type CompareSpec<E = Environment> = CompareOptions<E>;
|
|
|
1362
1459
|
type EvalOptionFields = {
|
|
1363
1460
|
/** The only list: each harness is its own cell. */
|
|
1364
1461
|
harness?: HarnessOption;
|
|
1462
|
+
/**
|
|
1463
|
+
* The default machine when the resolved environment omits `sandbox`. Cascades like `harness`.
|
|
1464
|
+
* Not an environment: it does not invent skills, files or a name.
|
|
1465
|
+
*/
|
|
1365
1466
|
sandbox?: SandboxDescriptor;
|
|
1366
1467
|
/** Attempts per cell. */
|
|
1367
1468
|
runs?: number;
|
|
@@ -1375,6 +1476,8 @@ type EvalOptionFields = {
|
|
|
1375
1476
|
*/
|
|
1376
1477
|
egress?: EgressPolicy;
|
|
1377
1478
|
judge?: JudgeOptions;
|
|
1479
|
+
/** Screenshot defaults for `c.capture()`. Shallow-merged; `viewport` replaces the whole object. */
|
|
1480
|
+
capture?: CaptureOptions;
|
|
1378
1481
|
/** Per attempt. */
|
|
1379
1482
|
timeout?: Duration;
|
|
1380
1483
|
tags?: string[];
|
|
@@ -1424,6 +1527,7 @@ type Budget = {
|
|
|
1424
1527
|
/** What evals get when they don't say otherwise: under groups and evals. */
|
|
1425
1528
|
type ProfileDefaults = {
|
|
1426
1529
|
harness?: HarnessDescriptor | HarnessDescriptor[];
|
|
1530
|
+
/** The default machine when the resolved environment omits `sandbox`. */
|
|
1427
1531
|
sandbox?: SandboxDescriptor;
|
|
1428
1532
|
environment?: Environment;
|
|
1429
1533
|
runs?: number;
|
|
@@ -1432,6 +1536,7 @@ type ProfileDefaults = {
|
|
|
1432
1536
|
egress?: EgressPolicy;
|
|
1433
1537
|
judge?: ConfigJudgeOptions;
|
|
1434
1538
|
timeout?: Duration;
|
|
1539
|
+
capture?: CaptureOptions;
|
|
1435
1540
|
};
|
|
1436
1541
|
/** Over every eval, and it can only narrow; `pin` on a group or eval skips it. */
|
|
1437
1542
|
type ProfileLimit = {
|
|
@@ -1514,6 +1619,10 @@ type AnalysisConfig = {
|
|
|
1514
1619
|
type EsConfig = {
|
|
1515
1620
|
include?: string[];
|
|
1516
1621
|
harness?: HarnessDescriptor | HarnessDescriptor[];
|
|
1622
|
+
/**
|
|
1623
|
+
* The default machine when the resolved environment omits `sandbox`. Not an environment:
|
|
1624
|
+
* it does not invent skills, files or a name. Implicit `docker()` when nobody sets one.
|
|
1625
|
+
*/
|
|
1517
1626
|
sandbox?: SandboxDescriptor;
|
|
1518
1627
|
environment?: Environment;
|
|
1519
1628
|
runs?: number;
|
|
@@ -1523,6 +1632,11 @@ type EsConfig = {
|
|
|
1523
1632
|
egress?: EgressPolicy;
|
|
1524
1633
|
judge?: ConfigJudgeOptions;
|
|
1525
1634
|
timeout?: Duration;
|
|
1635
|
+
/**
|
|
1636
|
+
* Screenshot defaults for `c.capture()`. `REEVAL_CAPTURE_BROWSER=0` refuses the host
|
|
1637
|
+
* binary when `c.capture()` runs; it does not change this object.
|
|
1638
|
+
*/
|
|
1639
|
+
capture?: CaptureOptions;
|
|
1526
1640
|
/** How many attempts run at once. `--concurrency` and `REEVAL_CONCURRENCY` override it. */
|
|
1527
1641
|
concurrency?: number;
|
|
1528
1642
|
/** When runs are copied into the history folder: `reeval record` only, in CI, or on every run. */
|
|
@@ -1593,9 +1707,10 @@ type PhaseTimings = {
|
|
|
1593
1707
|
};
|
|
1594
1708
|
type CellRole = 'control' | 'variant';
|
|
1595
1709
|
/**
|
|
1596
|
-
* One cell of an eval: a harness
|
|
1597
|
-
* `
|
|
1598
|
-
* each variant is that environment on
|
|
1710
|
+
* One cell of an eval: a harness, an environment (`-` when none is set) and that environment's
|
|
1711
|
+
* image (`sandbox` id: tag, dockerfile and install). With `compare`, the control is `baseline`
|
|
1712
|
+
* (or the cascaded environment, or an empty `baseline`) and each variant is that environment on
|
|
1713
|
+
* its own, including its sandbox.
|
|
1599
1714
|
*/
|
|
1600
1715
|
type Cell = {
|
|
1601
1716
|
key: string;
|
|
@@ -1742,5 +1857,5 @@ type SandboxWarning = {
|
|
|
1742
1857
|
message: string;
|
|
1743
1858
|
};
|
|
1744
1859
|
//#endregion
|
|
1745
|
-
export {
|
|
1746
|
-
//# sourceMappingURL=types-
|
|
1860
|
+
export { JudgeFailure as $, effortVerdict as $t, EnvironmentHelpers as A, FileRef as At, FakeNoteInput as B, EffortSample as Bt, DirectoryOptions as C, Verdict as Ct, EgressRecord as D, AttemptRecord as Dt, EgressPolicy as E, ArtifactRef as Et, EvalOptions as F, RunRecord as Ft, GroupOptions as G, cellEffort as Gt, FakeScriptStep as H, Spread as Ht, ExecResult as I, StackSummary as It, HarnessEdit as J, effortChangeLabel as Jt, HarnessData as K, cellSamples as Kt, FakeAnalysisModel as L, CellEffort as Lt, EnvironmentSpec as M, HistoryEntry as Mt, EsConfig as N, JudgementRecord as Nt, EnvVars as O, CellRecord as Ot, EvalFn as P, Lift as Pt, JudgeCallOptions as Q, effortSummary as Qt, FakeHarnessDescriptor as R, EFFORT_ALPHA as Rt, Diff as S, TurnStatus as St, Duration as T, WebEventType as Tt, FakeVote as U, VERDICT_TEXT as Ut, FakeSandboxDescriptor as V, EffortVerdict as Vt, GooseHarnessDescriptor as W, cellContrast as Wt, HistoryConfig as X, effortOf as Xt, HarnessOption as Y, effortLabel as Yt, HostFile as Z, effortSample as Zt, CompareOptions as _, SkillSource as _t, BackgroundHandle as a, PairVote as at, ConfigJudgeOptions as b, Turn as bt, Capture as c, Profile as ct, Cell as d, SandboxDescriptor as dt, formatCount as en, JudgeModel as et, CellRole as f, SandboxWarning as ft, CompareCut as g, SetupStep as gt, CompareAnswer as h, ServeHandle as ht, AttemptContext as i, Outcome as it, EnvironmentInput as j, HistoryCell as jt, Environment as k, EvalEntry as kt, CaptureCall as l, ProfileDefaults as lt, CodexHarnessDescriptor as m, SecretTemplate as mt, AnalysisConfig as n, formatSeconds as nn, McpServer as nt, BlindPair as o, PiHarnessDescriptor as ot, ClaudeCodeHarnessDescriptor as p, Secret as pt, HarnessDescriptor as q, contrastEffort as qt, AntigravityHarnessDescriptor as r, OpenCodeHarnessDescriptor as rt, Budget as s, PinnableKey as st, AgentHarnessDescriptor as t, formatRatio as tn, JudgeOptions as tt, CaptureOptions as u, ProfileLimit as ut, CompareQuestion as v, TokenUsage as vt, DockerSandboxDescriptor as w, Viewport as wt, CursorHarnessDescriptor as x, TurnData as xt, ConfigHelpers as y, TranscriptEvent as yt, FakeJudgeModel as z, EffortContrast as zt };
|
|
1861
|
+
//# sourceMappingURL=types-C2Gl05_c.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types-C5vI3g1C.js","names":[],"sources":["../src/sandbox/types.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"types-C5vI3g1C.js","names":[],"sources":["../src/sandbox/types.ts"],"mappings":";;AAoCA,IAAa,aAAb,cAAgC,MAAM;CACpC,OAAgB;AAClB"}
|
package/dist/view/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $t as effortVerdict, At as FileRef, Bt as EffortSample, Dt as AttemptRecord, Et as ArtifactRef, Ft as RunRecord, Gt as cellEffort, Ht as Spread, It as StackSummary, Jt as effortChangeLabel, Kt as cellSamples, Lt as CellEffort, Mt as HistoryEntry, Nt as JudgementRecord, Ot as CellRecord, Pt as Lift, Qt as effortSummary, Rt as EFFORT_ALPHA, St as TurnStatus, Ut as VERDICT_TEXT, Vt as EffortVerdict, Wt as cellContrast, Xt as effortOf, Yt as effortLabel, Zt as effortSample, en as formatCount, ft as SandboxWarning, it as Outcome, jt as HistoryCell, kt as EvalEntry, nn as formatSeconds, qt as contrastEffort, tn as formatRatio, vt as TokenUsage, yt as TranscriptEvent, zt as EffortContrast } from "../types-C2Gl05_c.js";
|
|
2
2
|
//#region src/view/analysis.d.ts
|
|
3
3
|
/** Bumped when the system prompt or output schema changes: an older analysis is superseded. */
|
|
4
|
-
export declare const ANALYSIS_PROMPT_VERSION = "analysis-
|
|
4
|
+
export declare const ANALYSIS_PROMPT_VERSION = "analysis-v5";
|
|
5
5
|
/** Bumped when the digest's shape or selection rules change. */
|
|
6
|
-
export declare const DIGEST_VERSION =
|
|
6
|
+
export declare const DIGEST_VERSION = 3;
|
|
7
7
|
export type Confidence = 'high' | 'medium' | 'low';
|
|
8
8
|
export type AnalysisClaim = {
|
|
9
9
|
text: string;
|
|
@@ -146,6 +146,8 @@ export type AnalysisIndex = {
|
|
|
146
146
|
notes?: AnalysisNote[];
|
|
147
147
|
};
|
|
148
148
|
export declare const analysisDataPath: (runId: string) => string;
|
|
149
|
+
/** The newest analysis that wrote a TL;DR, for the studio run header. */
|
|
150
|
+
export declare function pinnedAnalysis(entries: readonly AnalysisEntry[]): AnalysisEntry | undefined;
|
|
149
151
|
/** Newest first, saved before cached at the same time. */
|
|
150
152
|
export declare function sortAnalyses(entries: AnalysisEntry[]): AnalysisEntry[];
|
|
151
153
|
/** Superseded by a newer prompt or digest version: the studio says so. */
|
|
@@ -298,6 +300,44 @@ export declare function requestLine(r: Omit<DebugRequest, 'at'>): string;
|
|
|
298
300
|
/** The derived header of one run: what listings, indexes and comparisons need without the record. */
|
|
299
301
|
export declare function runHeader(record: RunRecord, recorded: boolean): HistoryEntry;
|
|
300
302
|
//#endregion
|
|
303
|
+
//#region src/view/judgements.d.ts
|
|
304
|
+
/**
|
|
305
|
+
* Fewest counted attempts on each side for a lift that can exclude 0 (2/2 vs 0/2).
|
|
306
|
+
* Same floor as analyse's insufficient lift.
|
|
307
|
+
*/
|
|
308
|
+
export declare const LIFT_MIN_COUNTED = 2;
|
|
309
|
+
/** Short name for a judge question, e.g. `login` from `login?`. */
|
|
310
|
+
export declare function judgeLabel(question: string): string;
|
|
311
|
+
export type JudgeKeyRate = {
|
|
312
|
+
key: string;
|
|
313
|
+
label: string;
|
|
314
|
+
question: string;
|
|
315
|
+
pass: number;
|
|
316
|
+
counted: number;
|
|
317
|
+
/** Compact lift vs the paired control, only when both sides have enough counted. */
|
|
318
|
+
lift: Pick<Lift, 'points' | 'control' | 'variant' | 'withinNoise'> | null;
|
|
319
|
+
};
|
|
320
|
+
/** Per-key pass/counted for one cell's counted attempts, with lift on a variant when both sides qualify. */
|
|
321
|
+
export declare function cellJudgeRates(e: Pick<EvalEntry, 'attempts' | 'cells'>, cellKey: string): JudgeKeyRate[];
|
|
322
|
+
/** `login 4/5 · checkout 0/5`, with `(+80 pts)` on a key that has lift. */
|
|
323
|
+
export declare function judgeRatesLabel(rates: readonly JudgeKeyRate[]): string;
|
|
324
|
+
export type CollapsedJudge = {
|
|
325
|
+
verdict: 'pass' | 'fail';
|
|
326
|
+
score: number;
|
|
327
|
+
threshold: number;
|
|
328
|
+
label: string;
|
|
329
|
+
key: string;
|
|
330
|
+
};
|
|
331
|
+
/** Each key, or the lowest score plus how many judges there were. */
|
|
332
|
+
export declare function collapsedJudges(judgements: readonly JudgementRecord[]): {
|
|
333
|
+
shown: CollapsedJudge[];
|
|
334
|
+
extra: number;
|
|
335
|
+
};
|
|
336
|
+
/** `fail 0.78/0.80`, or `fail 0.33/0.80 · 3 judges` when there are many. */
|
|
337
|
+
export declare function collapsedJudgeLabel(judgements: readonly JudgementRecord[]): string | null;
|
|
338
|
+
/** Sum of counted attempts' usage; null when none of them reported any. */
|
|
339
|
+
export declare function cellUsage(e: Pick<EvalEntry, 'attempts'>, cellKey: string): TokenUsage | null;
|
|
340
|
+
//#endregion
|
|
301
341
|
//#region src/view/live.d.ts
|
|
302
342
|
/** The progress file's name inside the run's staging directory. */
|
|
303
343
|
export declare const LIVE_FILE = "live.json";
|
|
@@ -440,6 +480,13 @@ export declare function runOutcome(run: {
|
|
|
440
480
|
outcome: Outcome;
|
|
441
481
|
}>;
|
|
442
482
|
}): Outcome;
|
|
483
|
+
/** Distinct judge labels that failed on a counted attempt, in first-seen order. */
|
|
484
|
+
export declare function failedJudgeLabels(record: Pick<RunRecord, 'evals'>): string[];
|
|
485
|
+
/**
|
|
486
|
+
* One sentence for the studio run header: counted pass/fail, which judges failed, and infra.
|
|
487
|
+
* Works without `reeval analyze`.
|
|
488
|
+
*/
|
|
489
|
+
export declare function runLead(record: Pick<RunRecord, 'summary' | 'evals'>): string;
|
|
443
490
|
export type RunRow = {
|
|
444
491
|
entry: HistoryEntry;
|
|
445
492
|
passed: number;
|
|
@@ -510,6 +557,10 @@ export type CellRow = {
|
|
|
510
557
|
effort: CellEffort | null;
|
|
511
558
|
/** A variant's effort against its control, with the rank test's verdict. */
|
|
512
559
|
effortVsControl: EffortContrast | null;
|
|
560
|
+
/** Per-key judge pass/counted over this cell's counted attempts. */
|
|
561
|
+
judgeRates: JudgeKeyRate[];
|
|
562
|
+
/** Sum of counted attempts' tokens; null when none reported. */
|
|
563
|
+
usage: TokenUsage | null;
|
|
513
564
|
attempts: AttemptRecord[];
|
|
514
565
|
};
|
|
515
566
|
/** One row per cell: controls and variants, with each variant's recorded lift. */
|
|
@@ -681,7 +732,7 @@ export type DataTarget = {
|
|
|
681
732
|
* backslashes and NUL never get through.
|
|
682
733
|
*/
|
|
683
734
|
export declare function parseDataPath(path: string): DataTarget | null;
|
|
684
|
-
/** Artifacts are untrusted agent output: JSON stays JSON,
|
|
735
|
+
/** Artifacts are untrusted agent output: JSON stays JSON, PNGs are images, else plain text. */
|
|
685
736
|
export declare const artifactType: (name: string) => string;
|
|
686
737
|
//#endregion
|
|
687
738
|
//#region src/view/record.d.ts
|
|
@@ -703,5 +754,5 @@ export declare const readableTranscriptLine: (line: TranscriptLine) => Transcrip
|
|
|
703
754
|
/** An analysis document as every reader sees it; one from a newer reeval throws. */
|
|
704
755
|
export declare const readableAnalysis: (doc: AnalysisDoc, what?: string) => AnalysisDoc;
|
|
705
756
|
//#endregion
|
|
706
|
-
export { type AttemptRecord, CellEffort, type CellRecord, EFFORT_ALPHA, EffortContrast, EffortSample, EffortVerdict, type EvalEntry, type FileRef, type HistoryCell, type HistoryEntry, type JudgementRecord, type Outcome, type RunRecord, type SandboxWarning, Spread, type StackSummary, type TranscriptEvent, VERDICT_TEXT, cellContrast, cellEffort, cellSamples, contrastEffort, effortChangeLabel, effortLabel, effortOf, effortSample, effortSummary, effortVerdict, formatCount, formatRatio, formatSeconds };
|
|
757
|
+
export { type ArtifactRef, type AttemptRecord, CellEffort, type CellRecord, EFFORT_ALPHA, EffortContrast, EffortSample, EffortVerdict, type EvalEntry, type FileRef, type HistoryCell, type HistoryEntry, type JudgementRecord, type Outcome, type RunRecord, type SandboxWarning, Spread, type StackSummary, type TranscriptEvent, VERDICT_TEXT, cellContrast, cellEffort, cellSamples, contrastEffort, effortChangeLabel, effortLabel, effortOf, effortSample, effortSummary, effortVerdict, formatCount, formatRatio, formatSeconds };
|
|
707
758
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/view/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as parseDataPath, c as shardPath, i as manifestPath, l as studioPath, n as artifactPath, o as recordPath, r as artifactType, s as shardOf, t as RUN_ID } from "../paths-
|
|
1
|
+
import { a as parseDataPath, c as shardPath, i as manifestPath, l as studioPath, n as artifactPath, o as recordPath, r as artifactType, s as shardOf, t as RUN_ID } from "../paths-BmR-7tx3.js";
|
|
2
2
|
import { a as debugApiPath, c as formatBytes, d as requestLine, f as traceApiPath, i as TRACE_FILE, l as parseDebugLog, n as DEBUG_PHASES, o as debugLogLine, r as REQUESTS_FILE, s as debugTime, t as DEBUG_LOG, u as parseNdjson } from "../debug-D24NOQH1.js";
|
|
3
|
-
import { a as
|
|
4
|
-
import { A as
|
|
5
|
-
import { t as runHeader } from "../header-
|
|
3
|
+
import { a as pinnedAnalysis, i as isSuperseded, n as DIGEST_VERSION, o as sortAnalyses, r as analysisDataPath, t as ANALYSIS_PROMPT_VERSION } from "../analysis-BV3TCznv.js";
|
|
4
|
+
import { $ as cellsChanged, A as transcriptItems, B as cellContrast, C as runLead, D as shortSha, E as runtimeLabel, F as collapsedJudges, G as effortLabel, H as cellSamples, I as judgeLabel, J as effortSummary, K as effortOf, L as judgeRatesLabel, M as cellJudgeRates, N as cellUsage, O as splitEvalId, P as collapsedJudgeLabel, Q as formatSeconds, R as EFFORT_ALPHA, S as parseTranscript, T as runRows, U as contrastEffort, V as cellEffort, W as effortChangeLabel, X as formatCount, Y as effortVerdict, Z as formatRatio, _ as hasUngatedCells, a as cellRows, b as isUngatedMiss, c as evalHistory, d as findAttempt, et as compare, f as findEval, g as harnessLabel, h as formatUsage, i as buildIndex, j as LIFT_MIN_COUNTED, k as splitPatch, l as evalTree, m as formatPercent, n as activityLabel, nt as stackChanges, o as compareView, p as formatDuration, q as effortSample, r as answerRows, rt as whyChanged, s as defaultAttempt, t as COMPARE_ORDER, tt as sourceChanges, u as failedJudgeLabels, v as indexFiles, w as runOutcome, x as languageLabel, y as isMatrix, z as VERDICT_TEXT } from "../model-CtrJdFi6.js";
|
|
5
|
+
import { t as runHeader } from "../header-IE-uIvX0.js";
|
|
6
6
|
import { c as readableTranscriptLine, r as readableAnalysis, s as readableRecord, t as NewerSchemaError } from "../record-CbuQH4l1.js";
|
|
7
7
|
import { a as liveApiPath, c as readableLiveProgress, i as isFinished, n as LIVE_FILE, o as liveCounts, r as LIVE_SCHEMA_VERSION, s as liveTranscriptPath, t as FINISHED } from "../live-DZkCtmNP.js";
|
|
8
|
-
export { ANALYSIS_PROMPT_VERSION, COMPARE_ORDER, DEBUG_LOG, DEBUG_PHASES, DIGEST_VERSION, EFFORT_ALPHA, FINISHED, LIVE_FILE, LIVE_SCHEMA_VERSION, NewerSchemaError, REQUESTS_FILE, RUN_ID, TRACE_FILE, VERDICT_TEXT, activityLabel, analysisDataPath, answerRows, artifactPath, artifactType, buildIndex, cellContrast, cellEffort, cellRows, cellSamples, cellsChanged, compare, compareView, contrastEffort, debugApiPath, debugLogLine, debugTime, defaultAttempt, effortChangeLabel, effortLabel, effortOf, effortSample, effortSummary, effortVerdict, evalHistory, evalTree, findAttempt, findEval, formatBytes, formatCount, formatDuration, formatPercent, formatRatio, formatSeconds, formatUsage, harnessLabel, hasUngatedCells, indexFiles, isFinished, isMatrix, isSuperseded, isUngatedMiss, languageLabel, liveApiPath, liveCounts, liveTranscriptPath, manifestPath, parseDataPath, parseDebugLog, parseNdjson, parseTranscript, readableAnalysis, readableLiveProgress, readableRecord, readableTranscriptLine, recordPath, requestLine, runHeader, runOutcome, runRows, runtimeLabel, shardOf, shardPath, shortSha, sortAnalyses, sourceChanges, splitEvalId, splitPatch, stackChanges, studioPath, traceApiPath, transcriptItems, whyChanged };
|
|
8
|
+
export { ANALYSIS_PROMPT_VERSION, COMPARE_ORDER, DEBUG_LOG, DEBUG_PHASES, DIGEST_VERSION, EFFORT_ALPHA, FINISHED, LIFT_MIN_COUNTED, LIVE_FILE, LIVE_SCHEMA_VERSION, NewerSchemaError, REQUESTS_FILE, RUN_ID, TRACE_FILE, VERDICT_TEXT, activityLabel, analysisDataPath, answerRows, artifactPath, artifactType, buildIndex, cellContrast, cellEffort, cellJudgeRates, cellRows, cellSamples, cellUsage, cellsChanged, collapsedJudgeLabel, collapsedJudges, compare, compareView, contrastEffort, debugApiPath, debugLogLine, debugTime, defaultAttempt, effortChangeLabel, effortLabel, effortOf, effortSample, effortSummary, effortVerdict, evalHistory, evalTree, failedJudgeLabels, findAttempt, findEval, formatBytes, formatCount, formatDuration, formatPercent, formatRatio, formatSeconds, formatUsage, harnessLabel, hasUngatedCells, indexFiles, isFinished, isMatrix, isSuperseded, isUngatedMiss, judgeLabel, judgeRatesLabel, languageLabel, liveApiPath, liveCounts, liveTranscriptPath, manifestPath, parseDataPath, parseDebugLog, parseNdjson, parseTranscript, pinnedAnalysis, readableAnalysis, readableLiveProgress, readableRecord, readableTranscriptLine, recordPath, requestLine, runHeader, runLead, runOutcome, runRows, runtimeLabel, shardOf, shardPath, shortSha, sortAnalyses, sourceChanges, splitEvalId, splitPatch, stackChanges, studioPath, traceApiPath, transcriptItems, whyChanged };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as formatDuration } from "./text-gEcKjAyp.js";
|
|
2
|
-
import {
|
|
3
|
-
import { o as warnings } from "./state-
|
|
4
|
-
import { c as stateRows, l as summaryCounts, r as cellCounts, s as repeatsVerdict, t as OUTCOME_MARK } from "./summary-
|
|
2
|
+
import { $ as cellsChanged, W as effortChangeLabel, nt as stackChanges } from "./model-CtrJdFi6.js";
|
|
3
|
+
import { o as warnings } from "./state-evRYxV_q.js";
|
|
4
|
+
import { c as stateRows, l as summaryCounts, r as cellCounts, s as repeatsVerdict, t as OUTCOME_MARK } from "./summary-DTUCNA-v.js";
|
|
5
5
|
//#region src/history/views.ts
|
|
6
6
|
var RefError = class extends Error {
|
|
7
7
|
name = "RefError";
|
|
@@ -217,4 +217,4 @@ function formatShow(run) {
|
|
|
217
217
|
//#endregion
|
|
218
218
|
export { formatShow as a, resolveRun as c, formatNoBaseline as i, unreachable as l, formatCompare as n, history as o, formatHistory as r, pickBaseline as s, RefError as t };
|
|
219
219
|
|
|
220
|
-
//# sourceMappingURL=views-
|
|
220
|
+
//# sourceMappingURL=views-BJ0i1Iuw.js.map
|