@tangle-network/agent-eval 2.0.19 → 2.0.21
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 +35 -0
- package/dist/adapters/http.d.ts +2 -2
- package/dist/{agent-profile-_A7aMA4F.d.ts → agent-profile-CTneqKs4.d.ts} +4 -4
- package/dist/{agent-profile-_A7aMA4F.d.ts.map → agent-profile-CTneqKs4.d.ts.map} +1 -1
- package/dist/analyst/index.d.ts +25 -11
- package/dist/analyst/index.d.ts.map +1 -1
- package/dist/analyst/index.js +1 -1
- package/dist/{analyze-runs-Izz_ZeWg.d.ts → analyze-runs-ByEuSMUT.d.ts} +2 -2
- package/dist/{analyze-runs-Izz_ZeWg.d.ts.map → analyze-runs-ByEuSMUT.d.ts.map} +1 -1
- package/dist/app-grade/index.d.ts +3 -3
- package/dist/{benchmark-command-DOQeozeM.js → benchmark-command-pmeFawvb.js} +17 -8
- package/dist/{benchmark-command-DOQeozeM.js.map → benchmark-command-pmeFawvb.js.map} +1 -1
- package/dist/benchmarks/index.d.ts +4 -4
- package/dist/benchmarks/index.js +2 -2
- package/dist/campaign/index.d.ts +6 -6
- package/dist/campaign/index.js +6 -6
- package/dist/{campaign-CJRlis5N.js → campaign-DPB35MjP.js} +25 -8
- package/dist/{campaign-CJRlis5N.js.map → campaign-DPB35MjP.js.map} +1 -1
- package/dist/{campaign-evidence-Biq06MQ9.d.ts → campaign-evidence-CSb3y1ob.d.ts} +3 -3
- package/dist/{campaign-evidence-Biq06MQ9.d.ts.map → campaign-evidence-CSb3y1ob.d.ts.map} +1 -1
- package/dist/cli.js +2145 -26
- package/dist/cli.js.map +1 -1
- package/dist/contract/index.d.ts +10 -10
- package/dist/contract/index.js +5 -5
- package/dist/{default-registry-BKHpiYiW.d.ts → default-registry-CKAFLuJg.d.ts} +6 -6
- package/dist/{default-registry-BKHpiYiW.d.ts.map → default-registry-CKAFLuJg.d.ts.map} +1 -1
- package/dist/{define-agent-eval-Dd6hFx0-.js → define-agent-eval-CBhYD7Gq.js} +3 -3
- package/dist/{define-agent-eval-Dd6hFx0-.js.map → define-agent-eval-CBhYD7Gq.js.map} +1 -1
- package/dist/{define-agent-eval-Bh8tJHZI.d.ts → define-agent-eval-DyVma2pV.d.ts} +4 -4
- package/dist/{define-agent-eval-Bh8tJHZI.d.ts.map → define-agent-eval-DyVma2pV.d.ts.map} +1 -1
- package/dist/diagnosis/index.d.ts +2 -2
- package/dist/{evaluation-f-UIDwbL.d.ts → evaluation-BnRaBCKu.d.ts} +4 -4
- package/dist/{evaluation-f-UIDwbL.d.ts.map → evaluation-BnRaBCKu.d.ts.map} +1 -1
- package/dist/evaluation.d.ts +1 -1
- package/dist/{exact-types-BIHqYBYf.d.ts → exact-types-QwxMWchv.d.ts} +2 -2
- package/dist/{exact-types-BIHqYBYf.d.ts.map → exact-types-QwxMWchv.d.ts.map} +1 -1
- package/dist/experiment/index.d.ts +1 -1
- package/dist/{feedback-trajectory-CoQPmSJV.d.ts → feedback-trajectory-BkWAgoY0.d.ts} +3 -3
- package/dist/{feedback-trajectory-CoQPmSJV.d.ts.map → feedback-trajectory-BkWAgoY0.d.ts.map} +1 -1
- package/dist/{index-C1jQ7qqy.d.ts → index-BrALSxZU.d.ts} +9 -9
- package/dist/{index-C1jQ7qqy.d.ts.map → index-BrALSxZU.d.ts.map} +1 -1
- package/dist/{index-DH_Jxu9p.d.ts → index-CUpIEvoN.d.ts} +2 -2
- package/dist/{index-DH_Jxu9p.d.ts.map → index-CUpIEvoN.d.ts.map} +1 -1
- package/dist/{index-Cq_5SLfF.d.ts → index-D4SWfwQe.d.ts} +18 -18
- package/dist/{index-Cq_5SLfF.d.ts.map → index-D4SWfwQe.d.ts.map} +1 -1
- package/dist/{index-4khf0Q7g.d.ts → index-DmsDwlPe.d.ts} +5 -5
- package/dist/{index-4khf0Q7g.d.ts.map → index-DmsDwlPe.d.ts.map} +1 -1
- package/dist/index.d.ts +18 -18
- package/dist/index.js +4 -4
- package/dist/{llm-judge-Bf3p1WNA.js → llm-judge-DRHTRT66.js} +2 -2
- package/dist/{llm-judge-Bf3p1WNA.js.map → llm-judge-DRHTRT66.js.map} +1 -1
- package/dist/{matrix-BtyN7jpb.d.ts → matrix-CHbTz1bP.d.ts} +2 -2
- package/dist/{matrix-BtyN7jpb.d.ts.map → matrix-CHbTz1bP.d.ts.map} +1 -1
- package/dist/multishot/golden/index.d.ts +1 -1
- package/dist/multishot/index.d.ts +7 -7
- package/dist/multishot/index.js +2 -2
- package/dist/openapi.json +1 -1
- package/dist/{optimization-method-BO2sb1m4.js → optimization-method-B-NFaHom.js} +3 -3
- package/dist/{optimization-method-BO2sb1m4.js.map → optimization-method-B-NFaHom.js.map} +1 -1
- package/dist/{prime-protocol-BRMk6dGI.d.ts → prime-protocol-46WvqIIt.d.ts} +2 -2
- package/dist/{prime-protocol-BRMk6dGI.d.ts.map → prime-protocol-46WvqIIt.d.ts.map} +1 -1
- package/dist/{registry-BeInzotS.d.ts → registry-Bh1M9hrf.d.ts} +3 -3
- package/dist/{registry-BeInzotS.d.ts.map → registry-Bh1M9hrf.d.ts.map} +1 -1
- package/dist/rl.d.ts +3 -3
- package/dist/rollout/index.d.ts +2 -2
- package/dist/{run-improvement-loop-D9IAZviC.d.ts → run-improvement-loop-E4Uec3my.d.ts} +6 -6
- package/dist/{run-improvement-loop-D9IAZviC.d.ts.map → run-improvement-loop-E4Uec3my.d.ts.map} +1 -1
- package/dist/search/index.d.ts +2 -2
- package/dist/search/index.js +2 -2
- package/dist/{search-kernel-C2XOJHvk.d.ts → search-kernel-By0lhdoJ.d.ts} +2 -2
- package/dist/{search-kernel-C2XOJHvk.d.ts.map → search-kernel-By0lhdoJ.d.ts.map} +1 -1
- package/dist/{search-kernel-D96Eibc_.js → search-kernel-DezUrquk.js} +3 -3
- package/dist/{search-kernel-D96Eibc_.js.map → search-kernel-DezUrquk.js.map} +1 -1
- package/dist/{search-summary-DjgKz7B1.js → search-summary-DOhRouoT.js} +2 -2
- package/dist/{search-summary-DjgKz7B1.js.map → search-summary-DOhRouoT.js.map} +1 -1
- package/dist/{self-improve-DZ8W-QY-.d.ts → self-improve-CpmIIb57.d.ts} +6 -6
- package/dist/{self-improve-DZ8W-QY-.d.ts.map → self-improve-CpmIIb57.d.ts.map} +1 -1
- package/dist/{self-improve-BiTuylQQ.js → self-improve-Dm9PvLF2.js} +2 -2
- package/dist/{self-improve-BiTuylQQ.js.map → self-improve-Dm9PvLF2.js.map} +1 -1
- package/dist/{skillopt-optimization-method-CJkejuSP.js → skillopt-optimization-method-QZoNbg57.js} +2 -2
- package/dist/{skillopt-optimization-method-CJkejuSP.js.map → skillopt-optimization-method-QZoNbg57.js.map} +1 -1
- package/dist/{store-tool-spans-wH8y7InB.d.ts → store-tool-spans-B9zc0I1r.d.ts} +3 -3
- package/dist/{store-tool-spans-wH8y7InB.d.ts.map → store-tool-spans-B9zc0I1r.d.ts.map} +1 -1
- package/dist/{systemone-CpW1U2Uy.d.ts → systemone-Co2Lv810.d.ts} +6 -6
- package/dist/{systemone-CpW1U2Uy.d.ts.map → systemone-Co2Lv810.d.ts.map} +1 -1
- package/dist/{systemone-review-DpAXWDkL.d.ts → systemone-review-CRJ-Zdfo.d.ts} +3 -3
- package/dist/{systemone-review-DpAXWDkL.d.ts.map → systemone-review-CRJ-Zdfo.d.ts.map} +1 -1
- package/dist/systemone.d.ts +3 -3
- package/dist/{tool-groups-SlnoQNyT.d.ts → tool-groups-BHX9G_oE.d.ts} +2 -2
- package/dist/tool-groups-BHX9G_oE.d.ts.map +1 -0
- package/dist/{trace-questions-ybyF0B6N.d.ts → trace-questions-DfaIVysB.d.ts} +2 -2
- package/dist/{trace-questions-ybyF0B6N.d.ts.map → trace-questions-DfaIVysB.d.ts.map} +1 -1
- package/dist/trace-repair/index.d.ts +1 -1
- package/dist/traces.d.ts +2 -2
- package/dist/{tree-lU9KWuxr.js → tree-DBvepwFt.js} +2 -2
- package/dist/{tree-lU9KWuxr.js.map → tree-DBvepwFt.js.map} +1 -1
- package/dist/{types-DSU3qb_o.d.ts → types-Ci2r6el5.d.ts} +2 -2
- package/dist/{types-DSU3qb_o.d.ts.map → types-Ci2r6el5.d.ts.map} +1 -1
- package/dist/{types-B1W3v8dT.d.ts → types-CjrzKsOK.d.ts} +8 -8
- package/dist/{types-B1W3v8dT.d.ts.map → types-CjrzKsOK.d.ts.map} +1 -1
- package/dist/{types-BpIAnRCe.d.ts → types-CmHcpGl0.d.ts} +2 -2
- package/dist/{types-BpIAnRCe.d.ts.map → types-CmHcpGl0.d.ts.map} +1 -1
- package/dist/wire/index.d.ts +1 -1
- package/docs/real-work.md +81 -0
- package/package.json +1 -1
- package/dist/tool-groups-SlnoQNyT.d.ts.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as RunSplitTag } from "./run-record-kuOr3BCF.js";
|
|
2
2
|
import { a as CheckerIdentity, n as VerdictCertification, x as VerificationStrategySource } from "./verdict-D_qiBQ6_.js";
|
|
3
|
-
import { R as Scenario, d as DispatchContext } from "./types-
|
|
3
|
+
import { R as Scenario, d as DispatchContext } from "./types-CmHcpGl0.js";
|
|
4
4
|
/** A planned measurement contract. It is not evidence that its checker executed. */
|
|
5
5
|
interface BenchmarkDefinition {
|
|
6
6
|
schemaVersion: 1;
|
|
@@ -211,4 +211,4 @@ declare const BENCHMARK_SPLIT_SEED = "agent-eval-v1";
|
|
|
211
211
|
*/
|
|
212
212
|
declare function deterministicSplit(itemId: string, seed?: string, cuts?: readonly [number, number]): RunSplitTag;
|
|
213
213
|
export { defineBenchmarkResult as _, BenchmarkFamily as a, defineBenchmark as b, BenchmarkRuntimeHooks as c, BenchmarkTaskKind as d, deterministicSplit as f, benchmarkResultEvidenceDigest as g, benchmarkResult as h, BenchmarkEvaluation as i, BenchmarkScenario as l, BenchmarkResult as m, BenchmarkAdapter as n, BenchmarkLoadOptions as o, selectBenchmarkItems as p, BenchmarkDatasetItem as r, BenchmarkResponder as s, BENCHMARK_SPLIT_SEED as t, BenchmarkSource as u, BenchmarkDefinition as v, benchmarkDefinitionDigest as y };
|
|
214
|
-
//# sourceMappingURL=types-
|
|
214
|
+
//# sourceMappingURL=types-Ci2r6el5.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types-
|
|
1
|
+
{"version":3,"file":"types-Ci2r6el5.d.ts","names":[],"sources":["../src/benchmarks/definition.ts","../src/benchmarks/result.ts","../src/benchmarks/types.ts"],"mappings":";;;;UAQiB;EACf;EACA;EACA,QAAQ;IAAoB;;;EAE5B;EACA;IACE;IACA;IACA;;IAEA;;IAEA;;IAEA;;EAEF;IACE,UAAU;IACV,SAAS;IACT;;;;iBA4DY,gBAAgB,iBAAiB;;iBAMjC,0BAA0B;;UCtFzB;EACf;EACA;EACA;;EAEA;EACA,YAAY;IAAwB;;;;;;;iBA2CtB,sBACd,gBACA,aAAa,sBACZ;;iBA+Ba,8BAA8B,QAAQ;;iBAWtC,gBAAgB;EAC9B,YAAY;EACZ;EACA;EACA,YAAY;IAAwB;;IAClC;KC/FQ;KAQA;UAgBK,qBAAqB;;;EAGpC;;EAEA,SAAS;;EAET,QAAQ;;EAER,SAAS;;EAET,WAAW;;EAEX;;EAEA,SAAS;EACT,WAAW;;UAGI;;;;EAIf;;EAEA;;EAEA,aAAa;;;EAGb,KAAK;;EAEL,gBAAgB;EAChB;;UAGe;EACf;EACA;EACA;;EAEA;EACA;EACA;;EAEA;;;;;EAKA;;;;;;UAOe;EACf;EACA;;;;;;;UAQe,sBAAsB,oBAAoB,oBAAoB;;EAE7E,OAAO,MAAM,qBAAqB;;EAElC,cAAc;;EAEd,cAAc,MAAM,qBAAqB,YAAY,QAAQ;;EAE7D;IAAW,MAAM,QAAQ,WAAW;;;EAEpC,gBAAgB,MAAM,qBAAqB;IAAc;IAAiB;;;EAE1E,kBAAkB,MAAM,qBAAqB;IAAc;IAAiB;;;EAE5E,QAAQ;IAAU;IAAe;IAAuB;;;;iBAI1C,qBAAqB;EAAY;GAC/C,gBAAgB,KAChB,UAAU,uBACT;;UAcc,iBACf,kBACA,oBACA,oBACA;;EAGA;EACA,SAAS;EACT,WAAW;EACX;EACA,SAAS;EACT;;EAEA,aAAa;;EAEb;;;;;EAKA,YACE,OAAO,aACP,UAAU,uBACT,QAAQ,qBAAqB;;EAEhC,UAAU,sBAAsB,UAAU,WAAW;;EAErD,SAAS,MAAM,qBAAqB,WAAW,UAAU,YAAY,QAAQ;;EAE7E,gBACE,MAAM,qBAAqB,WAC3B,UAAU,YACT,QAAQ;;;;EAIX,YAAY,iBAAiB;;UAGd,kBAAkB,4BAA4B;EAC7D;EACA;EACA,QAAQ;EACR,UAAU;EACV,UAAU;EACV,MAAM,qBAAqB;;KAGjB,mBAAmB,oBAAoB,uBAAuB;EACxE,UAAU,kBAAkB;EAC5B,MAAM,qBAAqB;EAC3B,SAAS;MACL,QAAQ,aAAa;;;cAoBd;;;;;;;;;;iBAWG,mBACd,gBACA,eACA,mCACC"}
|
|
@@ -442,8 +442,8 @@ declare const findingTreatmentSchema: z.ZodObject<{
|
|
|
442
442
|
definition_digest: z.ZodString;
|
|
443
443
|
definition_refs: z.ZodArray<z.ZodObject<{
|
|
444
444
|
kind: z.ZodEnum<{
|
|
445
|
-
event: "event";
|
|
446
445
|
span: "span";
|
|
446
|
+
event: "event";
|
|
447
447
|
artifact: "artifact";
|
|
448
448
|
finding: "finding";
|
|
449
449
|
metric: "metric";
|
|
@@ -470,8 +470,8 @@ declare const findingConditionsSchema: z.ZodObject<{
|
|
|
470
470
|
observed_at: z.ZodString;
|
|
471
471
|
evidence_refs: z.ZodArray<z.ZodObject<{
|
|
472
472
|
kind: z.ZodEnum<{
|
|
473
|
-
event: "event";
|
|
474
473
|
span: "span";
|
|
474
|
+
event: "event";
|
|
475
475
|
artifact: "artifact";
|
|
476
476
|
finding: "finding";
|
|
477
477
|
metric: "metric";
|
|
@@ -492,8 +492,8 @@ declare const findingConditionsSchema: z.ZodObject<{
|
|
|
492
492
|
planned: z.ZodNullable<z.ZodBoolean>;
|
|
493
493
|
evidence_ref: z.ZodObject<{
|
|
494
494
|
kind: z.ZodEnum<{
|
|
495
|
-
event: "event";
|
|
496
495
|
span: "span";
|
|
496
|
+
event: "event";
|
|
497
497
|
artifact: "artifact";
|
|
498
498
|
finding: "finding";
|
|
499
499
|
metric: "metric";
|
|
@@ -593,8 +593,8 @@ declare const ProposalFindingSchema: z.ZodObject<{
|
|
|
593
593
|
rationale: z.ZodOptional<z.ZodString>;
|
|
594
594
|
evidence_refs: z.ZodArray<z.ZodObject<{
|
|
595
595
|
kind: z.ZodEnum<{
|
|
596
|
-
event: "event";
|
|
597
596
|
span: "span";
|
|
597
|
+
event: "event";
|
|
598
598
|
artifact: "artifact";
|
|
599
599
|
finding: "finding";
|
|
600
600
|
metric: "metric";
|
|
@@ -682,8 +682,8 @@ declare const ProposalFindingSchema: z.ZodObject<{
|
|
|
682
682
|
definition_digest: z.ZodString;
|
|
683
683
|
definition_refs: z.ZodArray<z.ZodObject<{
|
|
684
684
|
kind: z.ZodEnum<{
|
|
685
|
-
event: "event";
|
|
686
685
|
span: "span";
|
|
686
|
+
event: "event";
|
|
687
687
|
artifact: "artifact";
|
|
688
688
|
finding: "finding";
|
|
689
689
|
metric: "metric";
|
|
@@ -709,8 +709,8 @@ declare const ProposalFindingSchema: z.ZodObject<{
|
|
|
709
709
|
observed_at: z.ZodString;
|
|
710
710
|
evidence_refs: z.ZodArray<z.ZodObject<{
|
|
711
711
|
kind: z.ZodEnum<{
|
|
712
|
-
event: "event";
|
|
713
712
|
span: "span";
|
|
713
|
+
event: "event";
|
|
714
714
|
artifact: "artifact";
|
|
715
715
|
finding: "finding";
|
|
716
716
|
metric: "metric";
|
|
@@ -731,8 +731,8 @@ declare const ProposalFindingSchema: z.ZodObject<{
|
|
|
731
731
|
planned: z.ZodNullable<z.ZodBoolean>;
|
|
732
732
|
evidence_ref: z.ZodObject<{
|
|
733
733
|
kind: z.ZodEnum<{
|
|
734
|
-
event: "event";
|
|
735
734
|
span: "span";
|
|
735
|
+
event: "event";
|
|
736
736
|
artifact: "artifact";
|
|
737
737
|
finding: "finding";
|
|
738
738
|
metric: "metric";
|
|
@@ -1167,4 +1167,4 @@ type AnalystRunEvent = {
|
|
|
1167
1167
|
result: AnalystRunResult;
|
|
1168
1168
|
};
|
|
1169
1169
|
export { parseRawFinding as $, FindingParseOutcome as A, FindingTreatment as B, CalibrationInterval as C, TraceAnalystSpanKind as Ct, FindingLayer as D, ViewTraceOversized as Dt, FindingEvidenceUnit as E, ViewSpansResult as Et, independentUnitCount as F, TraceAnalysisEngineRequest as G, TreatmentLayer as H, lineageRoots as I, RAW_FINDING_SCHEMA_PROMPT as J, TraceAnalysisEngineResult as K, parseAnalystFinding as L, FindingScope as M, FindingScopeReading as N, FindingMeasure as O, ViewTraceResult as Ot, ProposalFindingSchema as P, evidenceRefsFromRawFinding as Q, readFindingScope as R, makeProposalFinding as S, TraceAnalystSpan as St, FindingCalibration as T, TraceAnalystTraceSummary as Tt, TraceAnalysisActivity as U, TREATMENT_LAYERS as V, TraceAnalysisEngine as W, RawAnalystFinding as X, RawAnalystEvidence as Y, RawAnalystFindingSchema as Z, ExecutionProbeRequest as _, SearchSpanResult as _t, AnalystFindingSchemaVersion as a, createBoundedTraceAnalysisStore as at, computeFindingId as b, TraceAnalystByteBudgets as bt, AnalystRunEvent as c, ReadSpanSourceResult as ct, AnalystRunSummary as d, TraceAnalysisStore as dt, BuildTraceAnalysisToolsOptions as et, AnalystSeverity as f, TraceAnalysisStoreContext as ft, ExecutionProbeOutcome as g, QueryTracesPage as gt, ExecutionProbe as h, ErrorCluster as ht, AnalystFinding as i, buildTraceAnalysisToolDescriptors as it, FindingReaderLabel as j, FindingMethod as k, AnalystRunInputs as l, SpanSourceReader as lt, EvidenceRef as m, DatasetOverview as mt, AnalystContext as n, TraceAnalysisToolDescriptor as nt, AnalystInputKind as o, BoundedTraceAnalysisStoreOptions as ot, AnalystUsageReceipt as p, DEFAULT_TRACE_ANALYST_BUDGETS as pt, TraceAnalystLimits as q, AnalystCost as r, UNTRUSTED_TRACE_TEXT as rt, AnalystRequirements as s, ReadSpanSourceInput as st, Analyst as t, TRACE_ANALYST_TOOL_NAMESPACE as tt, AnalystRunResult as u, TRACE_ANALYSIS_LIMITS as ut, ProposalFinding as v, SearchTraceResult as vt, FINDING_LAYERS as w, TraceAnalystSpanStatus as wt, makeFinding as x, TraceAnalystFilters as xt, ProposalFindingOrigin as y, SpanMatchRecord as yt, FindingConditions as z };
|
|
1170
|
-
//# sourceMappingURL=types-
|
|
1170
|
+
//# sourceMappingURL=types-CjrzKsOK.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types-
|
|
1
|
+
{"version":3,"file":"types-CjrzKsOK.d.ts","names":[],"sources":["../src/trace-analyst/types.ts","../src/trace-analyst/store-contract.ts","../src/trace-analyst/store-boundary.ts","../src/eval-tools.ts","../src/trace-analyst/tools.ts","../src/analyst/finding-signature.ts","../src/analyst/engine.ts","../src/analyst/finding-composition.ts","../src/analyst/finding-scope.ts","../src/analyst/types.ts"],"mappings":";;;;;;;;;;;;KAsBY,uBAAuB;KAEvB;;;;UAKK;EACf;EACA;EACA;EACA;EACA,MAAM;EACN;EACA;EACA;EACA,QAAQ;EACR;EACA;EACA;EACA;EACA;;;EAGA,YAAY;;UAGG;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;UAGe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;EAGA;;;;;;;UAQe;;EAEf;;EAEA;;EAEA;;EAEA;EACA;EACA;;EAEA;;EAEA;;EAEA;;UAGe;EACf;EACA;EACA;EACA;EACA;EACA;;EAEA;EACA;IAAU;IAAqB;;;;;;EAK/B,gBAAgB;EAChB;IAAc;IAAkB;;;UAGjB;EACf,QAAQ;EACR;EACA;;;;;UAMe;EACf;EACA,QAAQ;EACR,YAAY;;UAGG;EAC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;;EAEA;EAAkB;IAAS;IAAe;;;;;;;;UAO/B;;WAEN;EACT,QAAQ,SAAS,wBAAwB,QAAQ;;;;;;;;UASlC,QAAQ;;WAEd;;WAEA;WACA,WAAW;WACX,MAAM;WACN,WAAW;;WAEX;EACT,QAAQ,OAAO,QAAQ,KAAK,iBAAiB,QAAQ;;;UAItC;;EAEf,WAAW;;EAEX;;EAEA,QAAQ;;EAER,MAAM;;EAEN;;;;;;;;EAQA;IAAkB;IAAsB;;;;;;;;EAOxC;;;;;;;;;;;;iBAec,iBAAiB;EAC/B;EACA;EACA;EACA;;EAEA;EACA,YAAY;EACZ,aAAa;;;;;;iBAyCC,YACd,MAAM,KAAK;EACT;EACA;IAED;;iBAsBa,oBACd,MAAM,KAAK;EACT;EACA;IAED;UAOc;EACf;EACA;;EAEA;EACA;EACA;;EAEA,OAAO;;EAEP;IAAU;IAAe;;;UAGV;EACf;EACA;EACA;EACA;EACA,UAAU;EACV,aAAa;;EAEb;;;;;EAKA,wBAAwB;;;;;;;;;;;;;;;KAkBd;EAEN;EACA;EACA;EACA;;EAEA,aAAa;;EAGb;EACA,SAAS;;EAGT;EACA;EACA;;EAGA;;EAEA,SAAS;EACT,UAAU,cAAc;;EAGxB;EACA,QAAQ"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as PaidCallResult, i as CostChannel, l as CostLedgerSummary, o as CostLedgerHandle, r as CostBreakdown, u as CostProvenance, y as RunPaidCallInput } from "./cost-ledger-CSP-OfFe.js";
|
|
2
2
|
import { a as RunRecord, d as RunTokenUsage, s as RunSearchCoordinates } from "./run-record-kuOr3BCF.js";
|
|
3
|
-
import { v as ProposalFinding } from "./types-
|
|
3
|
+
import { v as ProposalFinding } from "./types-CjrzKsOK.js";
|
|
4
4
|
import { p as LlmCallMetadata } from "./chat-client-BlTooBDA.js";
|
|
5
5
|
import { gt as SeriesDistribution } from "./index-Bk1XEkP7.js";
|
|
6
6
|
import { n as VerdictCertification } from "./verdict-D_qiBQ6_.js";
|
|
@@ -1131,4 +1131,4 @@ interface CampaignResult<TArtifact = unknown, TScenario extends Scenario = Scena
|
|
|
1131
1131
|
scenarios: Array<CampaignScenarioIdentity & Pick<TScenario, 'id' | 'kind'>>;
|
|
1132
1132
|
}
|
|
1133
1133
|
export { MintRolloutResult as $, LabeledScenarioWrite as A, ScoredSurfaceOutcome as B, JudgeDimension as C, LabeledScenarioSampleArgs as D, LabeledScenarioRecord as E, ProposeContext as F, SearchProposerView as G, SurfaceProposer as H, ProposedCandidate as I, searchProposerView as J, SearchSummaryOptions as K, RedactionStatus as L, OptimizerConfig as M, ParetoParent as N, LabeledScenarioSource as O, ProposalTrackContext as P, MintRolloutOptions as Q, Scenario as R, JudgeConfig as S, LabelTrust as T, TraceSpan as U, SessionScript as V, isProposedCandidate as W, SearchStateView as X, SearchState as Y, searchUnitScores as Z, GateDecision as _, CampaignResult as a, SearchCompletion as at, GenerationRecord as b, CampaignTraceWriter as c, SearchOperation as ct, DispatchContext as d, SearchUnitScore as dt, RolloutScrubber as et, DispatchFn as f, searchCellId as ft, GateContribution as g, GateContext as h, CampaignCostMeter as i, SearchCell as it, MutableSurface as j, LabeledScenarioStore as k, CodeSurface as l, SearchScoredCell as lt, GateCheckStatus as m, searchTaskSetDigest as mt, CampaignArtifactWriter as n, mintRolloutRows as nt, CampaignScenarioIdentity as o, SearchDecisionRecord as ot, Gate as p, searchNodeId as pt, renderSearchSummary as q, CampaignCellResult as r, unmintableReasons as rt, CampaignTokenUsage as s, SearchNode as st, CampaignAggregates as t, RolloutSearchLineage as tt, ComponentSurface as u, SearchSpend as ut, GateResult as v, JudgeScore as w, JudgeAggregate as x, GenerationCandidate as y, ScenarioAggregate as z };
|
|
1134
|
-
//# sourceMappingURL=types-
|
|
1134
|
+
//# sourceMappingURL=types-CmHcpGl0.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types-
|
|
1
|
+
{"version":3,"file":"types-CmHcpGl0.d.ts","names":[],"sources":["../src/campaign/search-state-identity.ts","../src/campaign/search-state-types.ts","../src/campaign/search-state-indexes.ts","../src/rollout/mint.ts","../src/campaign/search-state-view.ts","../src/campaign/search-state-projection.ts","../src/campaign/search-summary.ts","../src/campaign/types.ts"],"mappings":";;;;;;;;;;;iBAOgB,aAAa,kBAAkB;;iBAK/B,aACd,kBACA,gBACA,gBACA,OAAO,aACP;;iBAMc,oBAAoB,gBAAgB,eAAe;UCDlD;EACf;EACA,UAAU;EACV,OAAO;EACP;EACA;;UAGe;EACf;EACA;EACA;EACA;;;;UAKe;EACf;EACA;EACA;EACA;;;UAIe;EACf;EACA;;EAEA;EACA;;UAGe;EACf;;EAEA;EACA,gBAAgB;EAChB,UAAU;EACV,mBAAmB;;;EAGnB;;EAEA;;;;EAIA,kBAAkB;EAClB;EACA;EACA,QAAQ;EACR;;EAEA;EACA,oBAAoB;EACpB;EACA,OAAO;EACP;EACA;;UAGe;EACf;EACA;EACA;EACA;EACA,OAAO;EACP;EACA,OAAO;EACP;EACA,aAAa;EACb;EACA;EACA,SAAS;;EAET,eAAe;;EAEf;;EAEA;EACA,WAAW;;EAEX;;EAEA;;EAEA;;;EAGA;IAAU;IAAqB;IAAsB;;;EAErD;;;;;EAKA;IAAiB,OAAO;IAAgC;;;EAExD;;EAEA;EACA;EACA;EACA;;UAGe;EACf;EACA,eAAe;EACf,aAAa;EACb;;EAEA,SAAS;;;EAGT,WAAW;;;EAGX,oBAAoB;;EAEpB;;EAEA;;UAGe;EACf;EACA;;UAGe;EACf,OAAO;EACP;EACA;EACA;EACA;EACA,SAAS;EACT,YAAY;EACZ;EACA;EACA;EACA,WAAW;EACX;EACA;EACA;EACA,OAAO;;cC3JI;WACF,OAAK;IAA4B,OAAA;IAAqB;;WACtD,OAAK,YAAA;WACL;WACA,cAAY;WACZ,OAAK,YAAA;WACL;WACA,OAAK,YAAA;WACL,YAAU,YAAA;EAEnB,KAAK,iBAAiB;EAKtB;EAIA,QAAQ;EAIR,gBAAgB;EAI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Oe;EACf;;;;EAIA;;;;EAIA;;;;EAIA;IACE;IACA;IACA,iBAAiB;MAAQ;MAAgB;;;;;EAI3C,YAAY;;;;;;;;;;EAUZ,WAAW;IAAQ;IAAoB;IAAmB;IAAgB;;;;EAG1E;;;;EAIA;;;;EAIA,cAAc,SAAS;;UAGR;EACf,SAAS,eAAe;EACxB,YAAY,eAAe;;EAE3B,MAAM;;EAEN;EACA;EACA;;EAEA;;EAEA;;EAEA;;EAEA;;UAGe,eAAe,qBAAqB,kBAAkB,WAAW;;EAEhF;;EAEA;EACA;;EAEA;EACA;EACA;EACA;EACA,OAAO,MAAM,mBAAmB;EAChC,YAAY;EACZ;IACE,aAAa;IACb;;EAEF,OAAO;EACP;EACA;EACA,iBAAiB;;;EAGjB,WAAW,MAAM,2BAA2B,KAAK"}
|
package/dist/wire/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as CustomTokenPricing, o as CostLedgerHandle } from "../cost-ledger-CSP-OfFe.js";
|
|
2
2
|
import { n as ChatClient } from "../chat-client-BlTooBDA.js";
|
|
3
3
|
import { s as TraceStore } from "../store-CMs5wGXP.js";
|
|
4
|
-
import { m as FeedbackTrajectoryStore } from "../feedback-trajectory-
|
|
4
|
+
import { m as FeedbackTrajectoryStore } from "../feedback-trajectory-BkWAgoY0.js";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import { ServerType } from "@hono/node-server";
|
|
7
7
|
import { Hono } from "hono";
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Real-work benchmark builder
|
|
2
|
+
|
|
3
|
+
`src/real-work/` builds a benchmark of real work from git history. A task starts at the code just before a merged change, holds back the tests that change added or changed, and is graded by them. Every candidate merge in the window becomes a task or carries the reason it was rejected.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
agent-eval real-work build real-work.config.json
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
From an agent-eval checkout, after `pnpm install --frozen-lockfile` and `pnpm build`, the same command is `node dist/cli.js real-work build real-work.config.json`; it runs on Node 22 and later. `build` runs every stage. `census`, `build-env`, `grade`, `laterfix`, `timecut`, `seal` and `report` run the incomplete stages up to that one. Progress persists in `<outDir>/.work/state.json` and is checkpointed after every candidate, so a stopped build resumes; `gradeBatchSize` bounds how many buildable candidates one invocation grades. The schema in [`src/real-work/config.ts`](../src/real-work/config.ts) owns every config field and default.
|
|
10
|
+
|
|
11
|
+
The builder records its own commit in the manifest: HEAD of the agent-eval checkout running it. An installed package is not a checkout, so it needs `builderCommit` in the config, and a `builderCommit` that disagrees with the checkout is refused.
|
|
12
|
+
|
|
13
|
+
## Stages
|
|
14
|
+
|
|
15
|
+
| Stage | What it does | Module |
|
|
16
|
+
| --- | --- | --- |
|
|
17
|
+
| census | Every first-parent merge on each default branch in the window is a candidate. The repository is cached as a bare clone and fetched again on every census. | [`git-history.ts`](../src/real-work/git-history.ts) |
|
|
18
|
+
| build-env | The repository's build runs twice, in two clean checkouts of the snapshot, from the frozen lockfile. | [`environment.ts`](../src/real-work/environment.ts) |
|
|
19
|
+
| grade | Red and green receipts, three runs each, with the grader mounted read-only. | [`receipts.ts`](../src/real-work/receipts.ts), [`grader.ts`](../src/real-work/grader.ts) |
|
|
20
|
+
| laterfix | A later merge that fixes the change becomes its hidden grader. | [`later-fix.ts`](../src/real-work/later-fix.ts) |
|
|
21
|
+
| timecut | The solver's repository is cut at the snapshot and canaries are planted and probed. | [`time-cut.ts`](../src/real-work/time-cut.ts) |
|
|
22
|
+
| solve | Oracle, null and middle-model cells. | [`solvers.ts`](../src/real-work/solvers.ts) |
|
|
23
|
+
| retrieval | The notes-only control; a task it solves is dropped. | [`solvers.ts`](../src/real-work/solvers.ts) |
|
|
24
|
+
| audit | Red and green rerun on a sample, recorded under the configured auditor. | [`pipeline.ts`](../src/real-work/pipeline.ts) |
|
|
25
|
+
| seal | Train, selection and test splits, and the test-set digest. | [`seal.ts`](../src/real-work/seal.ts) |
|
|
26
|
+
| report | The delivered pages. | [`report.ts`](../src/real-work/report.ts) |
|
|
27
|
+
|
|
28
|
+
## Rejection reasons
|
|
29
|
+
|
|
30
|
+
Before any environment is built, a candidate is `no-tests` when it touches no test path, `too-large` when it adds more than `maxAddedLines` lines or touches more than `maxFiles` files, and `generated-only` when every non-test file it touches is under a `generatedOnly` path. A repository without a gate makes its candidates `no-gate`.
|
|
31
|
+
|
|
32
|
+
A candidate is `env-unbuildable` when its snapshot's lockfile differs from the lockfile at `gateRef` (the default branch unless set), when the repository declares no build command, when either build fails, when the two builds disagree on a digest, or when the environment fails to install before a graded run.
|
|
33
|
+
|
|
34
|
+
Grading rejects a candidate as `no-tests` when the merged change's run reports no test, `tests-flaky` when the three runs of a receipt disagree, the snapshot's run fails without naming a failing test, or a test failing red does not pass green, `already-passes` when the snapshot passes, `generated-only` when the change touches only test files, `merged-fails` when the merged change does not pass, and `duplicate` when its merged commit is already a task. The retrieval stage moves a task it solves to `answer-in-notes`.
|
|
35
|
+
|
|
36
|
+
## Grader and receipts
|
|
37
|
+
|
|
38
|
+
A test path is a file under a `test`, `tests`, `__tests__`, `spec`, `acceptance` or `fixtures` directory, or a file named `*.test.*`, `*.spec.*`, `*_test.*` or `test_*.py`. The grader is the repository's gate restricted to the change's test paths: appended as arguments (`gate.mode: "argv"`), passed in `TEST_FILES` (`"env"`), or not restricted (`"none"`). The gate runs exactly as configured, through no shell. `runner` selects the parser for its output: `jest`, `vitest` (whose JSON report is read from `--outputFile`, added when the gate names none), `tap`, `cargo`, `pytest` or `go`. Output the parser cannot read reports no tests.
|
|
39
|
+
|
|
40
|
+
A receipt is one verdict repeated three times. Each run resets the checkout (`clean -fdx`, `checkout --force`, `reset --hard`), installs the environment, mounts the grader read-only and runs the gate. Red applies nothing; green applies the merged commit. The verdict is the first failing run's, and `runs` keeps every run so disagreement is visible. `receiptDigest` is the canonical digest ([`ledger-core/canonical.ts`](../src/ledger-core/canonical.ts)) of the receipt without that field, so a reader recomputes it from the JSON. `host` names the configured host kind (`local` by default) and id (this machine's hostname by default), and a fresh `runId` per receipt.
|
|
41
|
+
|
|
42
|
+
## Later fixes
|
|
43
|
+
|
|
44
|
+
A later fix is a merge on the default branch within seven days after the change and before `builtAt`, touching a non-test file the change touched, with test files the change does not hold back. The shipped change must fail the fix's tests and the fix must pass them, each over three runs; otherwise the task stays ordinary. Solvers on a later-fix task are graded by the hidden grader, so an oracle that replays the shipped change fails there.
|
|
45
|
+
|
|
46
|
+
## Time cut and canaries
|
|
47
|
+
|
|
48
|
+
The solver's repository is one orphan commit of the snapshot tree, dated at the snapshot, with every held-back test removed. Remotes, branches, tags and reflogs are deleted and unreachable objects pruned, and the cut throws if a later commit or the original snapshot survives. Receipts and audits use the original snapshot from the builder's cache.
|
|
49
|
+
|
|
50
|
+
The four stores under `stores.root` are `memory.json`, `knowledge/`, `docs/` and `history.jsonl`. For every task the builder writes a fresh random token into each store, so point `stores.root` at a copy. The probe requires each token to be findable in its store and counts its occurrences in the solver's context: the prompt and every file of the solver's repository. `solverContextSha256` is the canonical digest of `{prompt, files}`, where `files` holds the sorted `[path, sha256]` pairs. The builder gives a solver no search index, so `timeCut.indexes` is empty.
|
|
51
|
+
|
|
52
|
+
Solvers run in clones of the solver repository under `<outDir>/.work/runs/`, next to the builder's cache and state, which hold the answers. The time cut controls what the checkout holds, not what the solver process can read: run the model and notes commands somewhere that sees only their working directory.
|
|
53
|
+
|
|
54
|
+
## Solvers
|
|
55
|
+
|
|
56
|
+
- The oracle applies every file of the real change except the graders, which only the harness writes.
|
|
57
|
+
- The null solver does nothing.
|
|
58
|
+
- The middle model is invoked as `<command> <workdir> <gate> <prompt>`. A nonzero exit is a graded attempt; a command that cannot start stops the build.
|
|
59
|
+
- The retrieval control is invoked as `<command> <workdir> <prompt> <storesRoot>`, with the allowed search tools in `REAL_WORK_RETRIEVAL_TOOLS`. It must attempt the task, so a failing command stops the build rather than reading as a miss.
|
|
60
|
+
|
|
61
|
+
A cell's `tokens` is what the solver reported on a last `TOKENS <n>` line, with `tokensSource: "reported"`, or else an estimate of four bytes a token over the prompt and the applied change, with `tokensSource: "estimated"`. `graderIntegrity.solverWrites` lists every path whose content changed, appeared or disappeared while a solver worked; the grader is mounted only afterwards.
|
|
62
|
+
|
|
63
|
+
## Kinds
|
|
64
|
+
|
|
65
|
+
The caller's `kinds` rules are tried in order. A rule matches when a changed path has a segment equal to one of its `pathSegments` (a token ending in `*` matches a segment that starts with it), or when the change's subject or an added line matches its `linePattern`, case-insensitively. Otherwise the kind is the change type read from the merged branch's subject: `perf`, `refactor`, `test` (also a change touching only test files), `fix`, else `feature`. A task's family is `<repo>/<kind>`.
|
|
66
|
+
|
|
67
|
+
## Audit
|
|
68
|
+
|
|
69
|
+
The audit stage reruns red and green on `audit.count` tasks (a tenth, at least three, by default) and records each under `audit.agent`. The builder cannot verify who invoked it, so the rerun is independent only when the auditor runs that stage: the builder runs `seal`, and the auditor runs `report` from the same state.
|
|
70
|
+
|
|
71
|
+
## Seal
|
|
72
|
+
|
|
73
|
+
The test split holds `max(minTest, the number of repositories with at least minPerRepo tasks, ceil(N * maxTestShare / 3))` tasks, capped at `floor(N * maxTestShare)`. Every such repository gets a test task first; the rest are taken at a stride through the merge-time order, and selection is the first quarter of what remains. The assignment depends only on the tasks' merge times and ids. `testSetSha256` is the sha256 of the sorted test ids joined by newlines.
|
|
74
|
+
|
|
75
|
+
## Pages
|
|
76
|
+
|
|
77
|
+
`<outDir>` receives `manifest.json` (schema `real-work-benchmark.v2`), `candidates.json`, `yield.json`, `tasks/<id>.json`, `spread.json` and `retrieval.json`. [`report.ts`](../src/real-work/report.ts) owns every field. `builtAt` is the report time unless the config pins one, and the census window ends at it. `manifest.builder.command` is `agent-eval real-work <stage> <config>` as invoked unless `builderCommand` overrides it, and `manifest.agents` names the builder agent and the middle model.
|
|
78
|
+
|
|
79
|
+
## Verification
|
|
80
|
+
|
|
81
|
+
[`tests/real-work-builder.integration.test.ts`](../tests/real-work-builder.integration.test.ts) builds three invented repositories with [`tests/fixtures/real-work/repos.ts`](../tests/fixtures/real-work/repos.ts), runs the command as a child process and checks the pages: every candidate's reason, recomputed receipt digests, three agreeing red and green runs, the later fix, the time cut and its canaries, the notes-only drop, the seal, and a resumed grade.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-eval",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.21",
|
|
4
4
|
"description": "Evaluate and improve AI agents from runs, traces, judges, and feedback. Compare candidates, cluster failures, measure lift, and gate releases.",
|
|
5
5
|
"homepage": "https://github.com/tangle-network/agent-eval#readme",
|
|
6
6
|
"repository": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tool-groups-SlnoQNyT.d.ts","names":[],"sources":["../src/analyst/tool-groups.ts"],"mappings":";;KAmBY;;;;;;;;;;;;;;;;;;;;iBAyDI,wBACd,OAAO,oBACP,OAAO,qBACN"}
|