@tangle-network/agent-eval 0.206.0 → 0.207.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/adapters/http.d.ts +1 -1
- package/dist/benchmarks/index.d.ts +2 -2
- package/dist/campaign/index.d.ts +3 -3
- package/dist/campaign/index.js +2 -2
- package/dist/cli.js +2 -1
- package/dist/cli.js.map +1 -1
- package/dist/contract/index.d.ts +4 -4
- package/dist/{define-agent-eval-CKB6wyML.d.ts → define-agent-eval-B2YV-RDE.d.ts} +3 -3
- package/dist/{define-agent-eval-CKB6wyML.d.ts.map → define-agent-eval-B2YV-RDE.d.ts.map} +1 -1
- package/dist/{index-BRdZ0oJo.d.ts → index-CojsA_EE.d.ts} +2 -2
- package/dist/{index-BRdZ0oJo.d.ts.map → index-CojsA_EE.d.ts.map} +1 -1
- package/dist/{index-R8Xhod8e.d.ts → index-DVDiJIhi.d.ts} +3 -3
- package/dist/{index-R8Xhod8e.d.ts.map → index-DVDiJIhi.d.ts.map} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/meta-eval/index.d.ts +63 -0
- package/dist/meta-eval/index.d.ts.map +1 -1
- package/dist/meta-eval/index.js +121 -1
- package/dist/meta-eval/index.js.map +1 -1
- package/dist/openapi.json +1 -1
- package/dist/search/index.d.ts +8 -2
- package/dist/search/index.d.ts.map +1 -1
- package/dist/search/index.js +1 -1
- package/dist/{search-kernel-DNpsHb8P.d.ts → search-kernel-CZ8KJQRw.d.ts} +6 -3
- package/dist/{search-kernel-DNpsHb8P.d.ts.map → search-kernel-CZ8KJQRw.d.ts.map} +1 -1
- package/dist/{tree-By7LtLUu.js → tree-CN8mlzUO.js} +11 -3
- package/dist/{tree-By7LtLUu.js.map → tree-CN8mlzUO.js.map} +1 -1
- package/docs/public-api.md +18 -17
- package/docs/search-ledger.md +9 -3
- package/docs/systemone.md +15 -3
- package/package.json +1 -1
package/docs/public-api.md
CHANGED
|
@@ -7,9 +7,9 @@ Generated by `pnpm api:census` on demand — this is a dated reading, not a gate
|
|
|
7
7
|
| measure | count |
|
|
8
8
|
| --- | --- |
|
|
9
9
|
| export subpaths | 33 |
|
|
10
|
-
| published value exports (subpath x symbol) |
|
|
11
|
-
| distinct symbols |
|
|
12
|
-
| production |
|
|
10
|
+
| published value exports (subpath x symbol) | 1615 |
|
|
11
|
+
| distinct symbols | 1423 |
|
|
12
|
+
| production | 1053 |
|
|
13
13
|
| planned | 296 |
|
|
14
14
|
| none | 266 |
|
|
15
15
|
|
|
@@ -655,7 +655,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
655
655
|
|
|
656
656
|
### `./campaign`
|
|
657
657
|
|
|
658
|
-
|
|
658
|
+
169 value exports — 120 production, 22 planned, 27 none.
|
|
659
659
|
|
|
660
660
|
| symbol | consumer | evidence |
|
|
661
661
|
| --- | --- | --- |
|
|
@@ -787,6 +787,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
787
787
|
| `searchClaimReserveUsd` | production | this package: scripts/search-meta-sim.ts:43 |
|
|
788
788
|
| `searchDivergence` | planned | doc: docs/search-ledger.md |
|
|
789
789
|
| `searchEdgeId` | planned | doc: docs/search-ledger.md |
|
|
790
|
+
| `searchEstimateMethod` | production | this package: src/search/lenses/edit-credit.ts:34 |
|
|
790
791
|
| `searchExpansionIndex` | production | this package: scripts/search-sim.ts:122 |
|
|
791
792
|
| `searchHistoryCoverageRow` | production | this package: src/campaign/optimization-method.ts:14 |
|
|
792
793
|
| `SearchHistoryRequiredError` | none | — |
|
|
@@ -1119,11 +1120,11 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1119
1120
|
| --- | --- | --- |
|
|
1120
1121
|
| `auditEvaluator` | planned | example: examples/evaluation-integrity/index.ts:15 |
|
|
1121
1122
|
| `auditProbabilityPolicy` | planned | doc: docs/changes/probability-policy-audit.md |
|
|
1122
|
-
| `brierScore` | planned | doc: docs/systemone.md |
|
|
1123
|
+
| `brierScore` | planned | doc: docs/changes/systemone-provider-neutral.md |
|
|
1123
1124
|
| `calibrateJudge` | production | creative-agent:eval/calibrate-judges.ts |
|
|
1124
1125
|
| `calibrateJudgeContinuous` | planned | consumer tests: tax-agent:tests/eval/lib/judge-sentinel.ts |
|
|
1125
1126
|
| `calibrationCurve` | planned | doc: docs/eval-surface-map.md |
|
|
1126
|
-
| `calibrationFromPairs` | planned | doc: docs/
|
|
1127
|
+
| `calibrationFromPairs` | planned | doc: docs/changes/systemone-provider-neutral.md |
|
|
1127
1128
|
| `catchRate` | planned | doc: docs/eval-surface-map.md |
|
|
1128
1129
|
| `continuousAgreement` | production | agent-builder:frontier/judges/eval-validity.ts |
|
|
1129
1130
|
| `correlationStudy` | production | phony:products/builder/api/src/eval/outcomes.ts |
|
|
@@ -1333,7 +1334,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1333
1334
|
| `sourceScopeRefereeMessages` | planned | doc: docs/systemone-behavior-review.md |
|
|
1334
1335
|
| `stepRewardsToJsonl` | none | only this package's tests: src/rollout/gate-properties.test.ts:38 |
|
|
1335
1336
|
| `summarizeVerifiedFindings` | none | only this package's tests: src/rl/verified-findings-dataset.test.ts:5 |
|
|
1336
|
-
| `systemOneSignal` | planned | doc: docs/systemone-
|
|
1337
|
+
| `systemOneSignal` | planned | doc: docs/changes/systemone-provider-neutral.md |
|
|
1337
1338
|
| `toAnthropicFormat` | production | blueprint-agent:scripts/experiments/lib/steering-dataset.ts |
|
|
1338
1339
|
| `toDpoJsonl` | production | this package: src/rl/dataset.ts:27 |
|
|
1339
1340
|
| `toDpoRows` | production | this package: src/rl/dataset.ts:27 |
|
|
@@ -1466,7 +1467,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1466
1467
|
| `summarizeSamples` | production | this package: src/search/lenses/meta-search.ts:55 |
|
|
1467
1468
|
| `surfaceDigestEdits` | none | — |
|
|
1468
1469
|
| `surfaceTextEdits` | production | this package: src/search-command.ts:41 |
|
|
1469
|
-
| `taskMatrix` | production | this package: scripts/prove-task-matrix.mts:
|
|
1470
|
+
| `taskMatrix` | production | this package: scripts/prove-task-matrix.mts:19 |
|
|
1470
1471
|
| `tree` | production | this package: src/search-command.ts:47 |
|
|
1471
1472
|
| `vectorEmbedding` | planned | doc: docs/search-ledger.md |
|
|
1472
1473
|
|
|
@@ -1531,20 +1532,20 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1531
1532
|
| --- | --- | --- |
|
|
1532
1533
|
| `asAnalyst` | production | this package: src/systemone.ts:5 |
|
|
1533
1534
|
| `asJudge` | production | this package: src/systemone.ts:5 |
|
|
1534
|
-
| `assessSystemOneReview` | planned | doc: docs/systemone-
|
|
1535
|
+
| `assessSystemOneReview` | planned | doc: docs/changes/systemone-provider-neutral.md |
|
|
1535
1536
|
| `createEvaluator` | production | this package: src/systemone.ts:5 |
|
|
1536
|
-
| `normalizedSystemOneScore` | planned | doc: docs/systemone.md |
|
|
1537
|
-
| `normalizeSystemOneResult` | planned | doc: docs/systemone.md |
|
|
1537
|
+
| `normalizedSystemOneScore` | planned | doc: docs/changes/systemone-provider-neutral.md |
|
|
1538
|
+
| `normalizeSystemOneResult` | planned | doc: docs/changes/systemone-provider-neutral.md |
|
|
1538
1539
|
| `parseSystemOneQuestions` | production | this package: src/systemone.ts:14 |
|
|
1539
1540
|
| `parseSystemOneRecordedRequest` | planned | example: examples/systemone-replay.ts:7 |
|
|
1540
1541
|
| `parseSystemOneRequest` | production | this package: src/systemone-review.ts:11 |
|
|
1541
1542
|
| `parseSystemOneResult` | production | this package: src/systemone-review.ts:11 |
|
|
1542
1543
|
| `prepareSystemOneReview` | production | this package: src/rl/claim-integrity.ts:47 |
|
|
1543
1544
|
| `systemOneAnalyst` | planned | example: examples/systemone-behavior-review.ts:3 |
|
|
1544
|
-
| `systemOneConfidence` | planned | doc: docs/systemone.md |
|
|
1545
|
-
| `systemOneEvaluator` | planned | doc: docs/systemone-
|
|
1545
|
+
| `systemOneConfidence` | planned | doc: docs/changes/systemone-provider-neutral.md |
|
|
1546
|
+
| `systemOneEvaluator` | planned | doc: docs/changes/systemone-provider-neutral.md |
|
|
1546
1547
|
| `systemOneJudge` | planned | example: examples/systemone-product-integrity.ts:4 |
|
|
1547
|
-
| `SystemOneResponseError` | planned | doc: docs/systemone.md |
|
|
1548
|
+
| `SystemOneResponseError` | planned | doc: docs/changes/systemone-provider-neutral.md |
|
|
1548
1549
|
| `systemOneReviewFindings` | planned | example: examples/systemone-behavior-review.ts:3 |
|
|
1549
1550
|
| `systemOneUsage` | production | this package: src/systemone.ts:14 |
|
|
1550
1551
|
|
|
@@ -1554,13 +1555,13 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1554
1555
|
|
|
1555
1556
|
| symbol | consumer | evidence |
|
|
1556
1557
|
| --- | --- | --- |
|
|
1557
|
-
| `normalizeSystemOneResult` | planned | doc: docs/systemone.md |
|
|
1558
|
+
| `normalizeSystemOneResult` | planned | doc: docs/changes/systemone-provider-neutral.md |
|
|
1558
1559
|
| `parseSystemOneQuestions` | production | this package: src/systemone.ts:14 |
|
|
1559
1560
|
| `parseSystemOneRecordedRequest` | planned | example: examples/systemone-replay.ts:7 |
|
|
1560
1561
|
| `parseSystemOneRequest` | production | this package: src/systemone-review.ts:11 |
|
|
1561
1562
|
| `parseSystemOneResult` | production | this package: src/systemone-review.ts:11 |
|
|
1562
|
-
| `systemOneConfidence` | planned | doc: docs/systemone.md |
|
|
1563
|
-
| `SystemOneResponseError` | planned | doc: docs/systemone.md |
|
|
1563
|
+
| `systemOneConfidence` | planned | doc: docs/changes/systemone-provider-neutral.md |
|
|
1564
|
+
| `SystemOneResponseError` | planned | doc: docs/changes/systemone-provider-neutral.md |
|
|
1564
1565
|
| `systemOneUsage` | production | this package: src/systemone.ts:14 |
|
|
1565
1566
|
|
|
1566
1567
|
### `./trace-attributes`
|
package/docs/search-ledger.md
CHANGED
|
@@ -208,18 +208,24 @@ The two `--wired` behaviors above (`incumbentWithOperatorBandit`, `draftOnPlatea
|
|
|
208
208
|
| `tree(state)` | a tidy tree of nodes and edges — the base view every other lens sits beside; a node with unknown-cost cells shows its known spend, its proven floor and how many cells are unknown, never a total | `tree.nodeCount` (drives no policy) |
|
|
209
209
|
| `operatorYield(state, { split? })` | each edge operator's proposals, re-proposals, outcome counts and yield: a node's gain over the root from `searchPosterior` (`estimateNode`'s tree-wide contrast) divided by the known cost of producing and screening it — its even share of the proposal operation's cost over that operation's child edges, plus its cells allocated before its first decision (the first rung and the train feedback); cells of later rungs and the claim are the allocator's and the claim's choice, so they are not charged to the operator; a node counts once, under the operator of the edge that registered it, and a re-proposal adds a proposal but no outcome or sample; a node is excluded from yield when it was decided invalid, shares fewer than 2 units with the root, or its proposal or a screen cell has an unknown, unrecorded or zero cost | `operatorYield.weights`: an operator's yield mean once it has 6 or more yield-eligible nodes (`MIN_OUTCOMES_FOR_WEIGHT`), else `null` |
|
|
210
210
|
| `front(state, { split?, axes? })` | the Pareto frontier over per-unit mean score and known cost per attempted cell on the split (reusing `paretoFrontier`), with room for caller-declared extra axes; a node's total spend depends on how far the allocator measured it, so it is shown but is not an axis; a node decided invalid, scored on fewer than 2 units, with an unknown-cost cell on the split, or with a non-finite extra axis is excluded from every frontier pass, with the reason | `front.membership`: 1 for a node on the frontier, 0 otherwise (including an excluded node) |
|
|
211
|
-
| `taskMatrix(state, { split? })` | nodes and units
|
|
211
|
+
| `taskMatrix(state, { split? })` | at most 200 nodes, evenly sampled in registration order when the ledger is larger, and their observed units; each axis is single-linkage clustered on the root-mean-square difference over shared scores, cutoff at the sample's own median pairwise distance; sampled results report `data.sampling` counts and the cap in `data.method` | `taskMatrix.specialistGain`: per unit cluster, the best sampled node's mean minus the mean of sampled node means, in the objective's direction, among nodes not decided invalid that scored every unit of the cluster; `null` with the reason, and omitted from the signal, below 2 such nodes or 6 units |
|
|
212
212
|
|
|
213
213
|
`agent-eval search show <ledger> [--tree] [--operator-yield] [--front] [--task-matrix]` prints each lens's text form below the search summary, so an agent reading the CLI sees the same numbers Intelligence, discovery lab, VerticalBench and agent-runtime `improve()` would render from the same JSON.
|
|
214
214
|
|
|
215
215
|
The task matrix evaluates each node pair and each unit pair at most twice.
|
|
216
|
-
|
|
216
|
+
Its 200-node cap bounds node-distance calls to 39,800, under 1% of the 3,998,000 calls for 2,000 nodes.
|
|
217
|
+
It reuses the same `evenSample` helper as `landscape`; the matrix cells, unit clusters, and specialist gains all use those selected nodes.
|
|
218
|
+
Units observed only on omitted nodes are omitted too. The unit count itself is not capped.
|
|
219
|
+
For a larger ledger, `data.sampling` is `{ nodesClustered: 200, nodesTotal, cap: 200 }`, `data.method` states the cap and scope, and the text CLI prints how many nodes were clustered out of the total.
|
|
220
|
+
Ledgers with at most 200 nodes retain their complete output, including the original method text and absence of sampling metadata.
|
|
221
|
+
Within that node set, clustering preserves the median cutoff, missing-score rules, deterministic ordering, and specialist-gain eligibility.
|
|
217
222
|
Piped CLI output includes the complete JSON before the process exits.
|
|
218
223
|
|
|
219
|
-
Run the proof
|
|
224
|
+
Run the self-contained proof, optionally adding retained search ledgers:
|
|
220
225
|
|
|
221
226
|
```sh
|
|
222
227
|
pnpm build
|
|
228
|
+
pnpm exec tsx scripts/prove-task-matrix.mts
|
|
223
229
|
pnpm exec tsx scripts/prove-task-matrix.mts /path/to/search-ledger.jsonl
|
|
224
230
|
```
|
|
225
231
|
|
package/docs/systemone.md
CHANGED
|
@@ -91,9 +91,21 @@ recorded TypeSafe score answers and both recorded Clef score answers.
|
|
|
91
91
|
|
|
92
92
|
Probabilities are not made equivalent across models. A Clef 0.8 and a Jev 0.8 are different
|
|
93
93
|
statements, so a threshold belongs to one model: change `{ model, threshold }` together and audit
|
|
94
|
-
the pair with `auditProbabilityPolicy` against independent outcomes.
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
the pair with `auditProbabilityPolicy` against independent outcomes.
|
|
95
|
+
|
|
96
|
+
Score each question type with its proper scoring rule from `/meta-eval`, on `probabilities` and
|
|
97
|
+
`noul`, never on `confidence`:
|
|
98
|
+
|
|
99
|
+
| Question | Rule |
|
|
100
|
+
| --- | --- |
|
|
101
|
+
| `noul` | `brierScore` (binary) |
|
|
102
|
+
| `choice` | `multiclassBrierScore` (sum form, range 0 to 2) |
|
|
103
|
+
| `score` | `rankedProbabilityScore` (levels in order, range 0 to 1) |
|
|
104
|
+
|
|
105
|
+
Top-label ECE comes from `calibrationFromPairs` on (top probability, top answer correct) pairs, with
|
|
106
|
+
`range: { lo: 0, hi: 1 }` and `binning: 'equal-frequency'` for equal-mass bins.
|
|
107
|
+
When items share a source (one task, one pull request), interval estimates resample whole sources:
|
|
108
|
+
`clusterBootstrapMean` takes per-item values or per-item paired differences with their cluster id.
|
|
97
109
|
|
|
98
110
|
## Any classifier, not only System One
|
|
99
111
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-eval",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.207.0",
|
|
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": {
|