@tangle-network/agent-eval 2.0.12 → 2.0.13
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 +15 -0
- package/dist/adapters/http.d.ts +2 -2
- package/dist/{agent-profile-C0FBdYa6.d.ts → agent-profile-8S2LfCvs.d.ts} +4 -4
- package/dist/{agent-profile-C0FBdYa6.d.ts.map → agent-profile-8S2LfCvs.d.ts.map} +1 -1
- package/dist/analyst/index.d.ts +36 -4
- package/dist/analyst/index.d.ts.map +1 -1
- package/dist/analyst/index.js +1 -1
- package/dist/app-grade/index.d.ts +2 -2
- package/dist/{benchmark-command-Be5O6A2v.js → benchmark-command-C7ObyGm9.js} +177 -29
- package/dist/benchmark-command-C7ObyGm9.js.map +1 -0
- 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 +7 -7
- package/dist/{campaign-CE08mvQO.js → campaign-CaO2k8Jb.js} +7 -7
- package/dist/{campaign-CE08mvQO.js.map → campaign-CaO2k8Jb.js.map} +1 -1
- package/dist/{campaign-evidence-DRvr7lZU.d.ts → campaign-evidence-DcTgo4ze.d.ts} +2 -2
- package/dist/{campaign-evidence-DRvr7lZU.d.ts.map → campaign-evidence-DcTgo4ze.d.ts.map} +1 -1
- package/dist/cli.js +616 -24
- package/dist/cli.js.map +1 -1
- package/dist/{client-DUMIaMob.d.ts → client-3sR4_h5q.d.ts} +2 -2
- package/dist/{client-DUMIaMob.d.ts.map → client-3sR4_h5q.d.ts.map} +1 -1
- package/dist/contract/index.d.ts +9 -9
- package/dist/contract/index.js +5 -5
- package/dist/{default-registry-DFRlBniE.d.ts → default-registry-CVklg2e-.d.ts} +2 -2
- package/dist/{default-registry-DFRlBniE.d.ts.map → default-registry-CVklg2e-.d.ts.map} +1 -1
- package/dist/{define-agent-eval-BHn6t-DC.js → define-agent-eval-BLHr0_IP.js} +3 -3
- package/dist/{define-agent-eval-BHn6t-DC.js.map → define-agent-eval-BLHr0_IP.js.map} +1 -1
- package/dist/{define-agent-eval-n63vmQMR.d.ts → define-agent-eval-DZ7wWMHC.d.ts} +5 -5
- package/dist/{define-agent-eval-n63vmQMR.d.ts.map → define-agent-eval-DZ7wWMHC.d.ts.map} +1 -1
- package/dist/{evaluation-VbjqORBn.d.ts → evaluation-D50Dzyce.d.ts} +2 -2
- package/dist/{evaluation-VbjqORBn.d.ts.map → evaluation-D50Dzyce.d.ts.map} +1 -1
- package/dist/evaluation.d.ts +1 -1
- package/dist/experiment/index.d.ts +2 -2
- package/dist/hosted/index.d.ts +2 -2
- package/dist/hosted/index.js +1 -1
- package/dist/{index-BEXEYURJ.d.ts → index-Bam453Y5.d.ts} +8 -8
- package/dist/{index-BEXEYURJ.d.ts.map → index-Bam453Y5.d.ts.map} +1 -1
- package/dist/{index-CbzPtg7O.d.ts → index-CYrvUGQl.d.ts} +13 -13
- package/dist/{index-CbzPtg7O.d.ts.map → index-CYrvUGQl.d.ts.map} +1 -1
- package/dist/{index-rrPT3Pw0.d.ts → index-CxciVDt0.d.ts} +2 -2
- package/dist/{index-rrPT3Pw0.d.ts.map → index-CxciVDt0.d.ts.map} +1 -1
- package/dist/{index-Dt3zWlRa.d.ts → index-D1ghgNRI.d.ts} +3 -3
- package/dist/{index-Dt3zWlRa.d.ts.map → index-D1ghgNRI.d.ts.map} +1 -1
- package/dist/index.d.ts +13 -13
- package/dist/index.js +4 -4
- package/dist/{llm-judge-CgF3ZM3R.js → llm-judge-ChGnwj4s.js} +2 -2
- package/dist/{llm-judge-CgF3ZM3R.js.map → llm-judge-ChGnwj4s.js.map} +1 -1
- package/dist/{matrix-B95YsrV7.d.ts → matrix-CAeyP9m-.d.ts} +2 -2
- package/dist/{matrix-B95YsrV7.d.ts.map → matrix-CAeyP9m-.d.ts.map} +1 -1
- package/dist/multishot/golden/index.d.ts +1 -1
- package/dist/multishot/index.d.ts +6 -6
- package/dist/multishot/index.js +2 -2
- package/dist/openapi.json +1 -1
- package/dist/{optimization-method-1xzXK-B6.js → optimization-method-D2uCSc2j.js} +4 -4
- package/dist/{optimization-method-1xzXK-B6.js.map → optimization-method-D2uCSc2j.js.map} +1 -1
- package/dist/rl.d.ts +1 -1
- package/dist/rollout/index.d.ts +2 -2
- package/dist/{run-improvement-loop-BPhkYKV2.d.ts → run-improvement-loop-C9z817z_.d.ts} +7 -7
- package/dist/{run-improvement-loop-BPhkYKV2.d.ts.map → run-improvement-loop-C9z817z_.d.ts.map} +1 -1
- package/dist/search/index.d.ts +3 -3
- package/dist/search/index.js +2 -2
- package/dist/{search-kernel-BkkDo75N.js → search-kernel-B1TEQ9pa.js} +2 -2
- package/dist/{search-kernel-BkkDo75N.js.map → search-kernel-B1TEQ9pa.js.map} +1 -1
- package/dist/{search-kernel-CDSEWa2X.d.ts → search-kernel-CZmj8gJW.d.ts} +3 -3
- package/dist/{search-kernel-CDSEWa2X.d.ts.map → search-kernel-CZmj8gJW.d.ts.map} +1 -1
- package/dist/{search-ledger-sormHFLS.js → search-ledger-EjLGVZ4X.js} +9 -5
- package/dist/search-ledger-EjLGVZ4X.js.map +1 -0
- package/dist/{search-ledger-types-BhZE848w.d.ts → search-ledger-types-D4FsvPP9.d.ts} +8 -2
- package/dist/search-ledger-types-D4FsvPP9.d.ts.map +1 -0
- package/dist/{search-shipper-BJ2Bkx2q.js → search-shipper-DtSnRfOJ.js} +2 -2
- package/dist/{search-shipper-BJ2Bkx2q.js.map → search-shipper-DtSnRfOJ.js.map} +1 -1
- package/dist/{search-summary-DMckFUNY.js → search-summary-C5fewoUi.js} +2 -2
- package/dist/{search-summary-DMckFUNY.js.map → search-summary-C5fewoUi.js.map} +1 -1
- package/dist/{self-improve-CMrPmjYE.js → self-improve-CQM7hIL_.js} +3 -3
- package/dist/{self-improve-CMrPmjYE.js.map → self-improve-CQM7hIL_.js.map} +1 -1
- package/dist/{self-improve-D0TtJz4e.d.ts → self-improve-Eo-EAWL8.d.ts} +7 -7
- package/dist/{self-improve-D0TtJz4e.d.ts.map → self-improve-Eo-EAWL8.d.ts.map} +1 -1
- package/dist/{skillopt-optimization-method-D-BPMi8J.js → skillopt-optimization-method-DQ4urRij.js} +3 -3
- package/dist/{skillopt-optimization-method-D-BPMi8J.js.map → skillopt-optimization-method-DQ4urRij.js.map} +1 -1
- package/dist/{store-tool-spans-M3WxeRrG.d.ts → store-tool-spans-BD5Z304_.d.ts} +2 -2
- package/dist/{store-tool-spans-M3WxeRrG.d.ts.map → store-tool-spans-BD5Z304_.d.ts.map} +1 -1
- package/dist/{systemone-C26IFS-a.d.ts → systemone-D7FQ7n00.d.ts} +3 -3
- package/dist/{systemone-C26IFS-a.d.ts.map → systemone-D7FQ7n00.d.ts.map} +1 -1
- package/dist/systemone.d.ts +2 -2
- package/dist/traces.d.ts +1 -1
- package/dist/{tree-BX9ykHi3.js → tree-CljLPWVm.js} +3 -3
- package/dist/{tree-BX9ykHi3.js.map → tree-CljLPWVm.js.map} +1 -1
- package/dist/{types-CBT-XcX5.d.ts → types-BtWzceBY.d.ts} +4 -2
- package/dist/types-BtWzceBY.d.ts.map +1 -0
- package/dist/{types-CYPV2dlR.d.ts → types-XxFZ2IAT.d.ts} +2 -2
- package/dist/{types-CYPV2dlR.d.ts.map → types-XxFZ2IAT.d.ts.map} +1 -1
- package/docs/search-ledger.md +1 -1
- package/docs/skill-eval.md +10 -3
- package/package.json +1 -1
- package/dist/benchmark-command-Be5O6A2v.js.map +0 -1
- package/dist/search-ledger-sormHFLS.js.map +0 -1
- package/dist/search-ledger-types-BhZE848w.d.ts.map +0 -1
- package/dist/types-CBT-XcX5.d.ts.map +0 -1
|
@@ -4,7 +4,7 @@ import { v as ProposalFinding } from "./types-B1W3v8dT.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";
|
|
7
|
-
import { A as SearchLedgerHash, F as SearchNodeRegisteredEvent, G as SearchSplit, I as SearchNodeStatus, L as SearchOpenedEvent, N as SearchNodeDecision, O as SearchLedgerEntry, P as SearchNodeRef, Q as SearchTaskOutcome, R as SearchOperationKind, U as SearchReservation, Z as SearchTask, b as SearchClosedEvent, d as SearchCellCancelledEvent, et as SearchTraceRef, i as SearchArtifactRef, l as SearchCandidateSurface, o as SearchAudit, p as SearchCellStage, t as NodeEstimate, w as SearchEdgeRecordedEvent, z as SearchOperationRecordedEvent } from "./search-ledger-types-
|
|
7
|
+
import { A as SearchLedgerHash, F as SearchNodeRegisteredEvent, G as SearchSplit, I as SearchNodeStatus, L as SearchOpenedEvent, N as SearchNodeDecision, O as SearchLedgerEntry, P as SearchNodeRef, Q as SearchTaskOutcome, R as SearchOperationKind, U as SearchReservation, Z as SearchTask, b as SearchClosedEvent, d as SearchCellCancelledEvent, et as SearchTraceRef, i as SearchArtifactRef, l as SearchCandidateSurface, o as SearchAudit, p as SearchCellStage, t as NodeEstimate, w as SearchEdgeRecordedEvent, z as SearchOperationRecordedEvent } from "./search-ledger-types-D4FsvPP9.js";
|
|
8
8
|
import { y as LedgerProjector } from "./index-qy6buL6y.js";
|
|
9
9
|
import { s as TraceStore } from "./store-CMs5wGXP.js";
|
|
10
10
|
import { a as MintedRolloutLine, m as RolloutEvidenceAttempt, t as ChatMessage, w as ToolDef, y as RolloutRole } from "./schema-BfSoJjD-.js";
|
|
@@ -93,6 +93,8 @@ interface SearchCell {
|
|
|
93
93
|
spentUsd: number;
|
|
94
94
|
/** Every attempt's cost is known. */
|
|
95
95
|
costKnown: boolean;
|
|
96
|
+
/** Attempts whose cost basis is a subscription seat: known, with no dollar figure. */
|
|
97
|
+
subscriptionAttempts: number;
|
|
96
98
|
/** Tokens summed over the attempts that reported them. Read `tokensKnown`
|
|
97
99
|
* before treating the sum as the cell's total. */
|
|
98
100
|
tokens: {
|
|
@@ -1119,4 +1121,4 @@ interface CampaignResult<TArtifact = unknown, TScenario extends Scenario = Scena
|
|
|
1119
1121
|
scenarios: Array<CampaignScenarioIdentity & Pick<TScenario, 'id' | 'kind'>>;
|
|
1120
1122
|
}
|
|
1121
1123
|
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 };
|
|
1122
|
-
//# sourceMappingURL=types-
|
|
1124
|
+
//# sourceMappingURL=types-BtWzceBY.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-BtWzceBY.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;UCHlD;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;;EAEA;EACA,WAAW;;EAEX;;EAEA;;EAEA;;;EAGA;IAAU;IAAqB;IAAsB;;;EAErD;;EAEA;;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;;cClJI;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;EAIhB,KAAK,iBAAiB;EAItB;EAIA,KAAK,iBAAiB;EAKtB,QAAQ;EAKR,UAAU,sBAAsB;EAKhC,YAAY,gBAAgB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;;;;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"}
|
|
@@ -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-BtWzceBY.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-XxFZ2IAT.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types-
|
|
1
|
+
{"version":3,"file":"types-XxFZ2IAT.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"}
|
package/docs/search-ledger.md
CHANGED
|
@@ -58,7 +58,7 @@ The same code runs in the producer's journal, the kernel, and the Intelligence v
|
|
|
58
58
|
- **Claim start:** once a node is decided `finalist`, the search only claims: no operation, node, edge or non-claim cell follows.
|
|
59
59
|
- **Parents:** a node decided `invalid` (by admission or by the divergence rule) never appears as a parent on a later edge.
|
|
60
60
|
- **Attempts:** attempts count from 1 without gaps. A `passed` or `failed` outcome is final; only a retryable `errored` outcome admits another attempt.
|
|
61
|
-
- **Budget:** at every `cell-allocated` and `operation-started` that holds a reservation, committed spend plus open reservations plus the unspent claim reserve plus the new reservation stays within `maxUsd`. A claim cell draws on the unspent claim reserve first, and a cell the reserve covers is admitted even when overspend elsewhere took committed spend past the cap. An event without a reservation is always admitted: the rule admits holds, and refusing to record work would leave a search that can never close. Spend above a reservation is recorded as overspend, never refused. An unknown cost counts as its proven floor.
|
|
61
|
+
- **Budget:** at every `cell-allocated` and `operation-started` that holds a reservation, committed spend plus open reservations plus the unspent claim reserve plus the new reservation stays within `maxUsd`. A claim cell draws on the unspent claim reserve first, and a cell the reserve covers is admitted even when overspend elsewhere took committed spend past the cap. An event without a reservation is always admitted: the rule admits holds, and refusing to record work would leave a search that can never close. Spend above a reservation is recorded as overspend, never refused. An unknown cost counts as its proven floor. A cost of source `subscription` is known and carries no dollar figure: a seat bills nothing per call, so it counts as known with usd 0 in the spend books, while the procedure registry reports its cell's dollars as null with `costBasis: 'subscription'`, apart from a `free` measured zero and from an unknown cost.
|
|
62
62
|
- **Completion:** `search-closed` needs every allocated cell settled or cancelled, every started operation recorded, and every node with an edge and a terminal decision.
|
|
63
63
|
- **Claim:** the claim names every node decided `finalist`, estimates each against the root on test, and tests each at `1 - (1 - confidence) / k` for its k finalists. A `ship` claim needs a promoted finalist, held-out test units, a pinned judge, and every test unit scored by the root and the shipped finalist; any other claim keeps the root.
|
|
64
64
|
|
package/docs/skill-eval.md
CHANGED
|
@@ -42,9 +42,16 @@ A session that invokes several skills counts its later work under each of them,
|
|
|
42
42
|
`claudeCodeSkillSessions(directory)` is the adapter for a Claude Code projects directory.
|
|
43
43
|
`skillSessionFromHarnessSession(session, markers)` maps any session `@tangle-network/harness-sessions` normalizes; `markers` says which tool calls or messages invoke a skill, because that is the one thing that differs by harness.
|
|
44
44
|
|
|
45
|
-
Codex sessions
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
`codexSkillSessions(directory)` is the adapter for a Codex sessions directory (`~/.codex/sessions`, or one account's), and `--harness codex` selects it in `skill-usage` and `procedure-registry`.
|
|
46
|
+
Codex has no skill tool: the agent uses a skill by reading its `SKILL.md` with a shell command (`cat`, `sed`, `head`), so the reader counts a shell call that views a file named `skills/<name>/SKILL.md` as that skill's invocation.
|
|
47
|
+
The read is often partial, so the session gives no version; the report reads the skill file as it is when it runs, and marks the version `file`, which can be newer than the call.
|
|
48
|
+
A script run by Codex's code-mode `exec` tool makes several shell commands under one call. The change ledger's hook names such a command by its own `exec-<id>`; the rollout names the same id on the command's completion between the call and its output, which places the change in the turn that ran the script. When several scripts are open at once the id names none of them, the session says so in its gaps, and a ledger change that cannot be placed makes the whole session's changes unknown rather than none.
|
|
49
|
+
|
|
50
|
+
A gateway that runs the harness for a caller can write change ledger rows with no hook in the harness: it sees turns, not tool calls.
|
|
51
|
+
Its rows carry the gateway's `sessionId`, the harness's `nativeSessionId` (the reader keys by it, so the row joins that harness's transcript), a `turnId`, and `turnStartedAt`; the change belongs to the last tool call of the session record whose time lies between `turnStartedAt` and the row's `at`.
|
|
52
|
+
Each turn also writes a `turn` row with the repository's HEAD before and after, and a `push` row for each remote branch it pushed.
|
|
53
|
+
A `turn` row whose `incomplete` is set (a checkout shared with another running turn, a failed pull request read, more commits than the list holds) leaves the session's changes unknown, with a gap that names the reason.
|
|
54
|
+
The field list is the header of `src/skill-usage/change-ledger.ts`.
|
|
48
55
|
|
|
49
56
|
## The recipe
|
|
50
57
|
|
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.13",
|
|
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": {
|