@tangle-network/agent-eval 0.126.7 → 0.128.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 +59 -0
- package/README.md +6 -2
- package/dist/analyst/index.d.ts +52 -43
- package/dist/analyst/index.js +4 -4
- package/dist/belief-state/index.d.ts +35 -40
- package/dist/belief-state/index.js +2 -2
- package/dist/benchmarks/index.d.ts +30 -12
- package/dist/benchmarks/index.js +12 -11
- package/dist/builder-eval/index.js +1 -1
- package/dist/campaign/index.d.ts +441 -160
- package/dist/campaign/index.js +11 -10
- package/dist/{chunk-IILEIWGW.js → chunk-2JX3CFMB.js} +100 -40
- package/dist/chunk-2JX3CFMB.js.map +1 -0
- package/dist/chunk-2MKQIFS4.js +183 -0
- package/dist/chunk-2MKQIFS4.js.map +1 -0
- package/dist/{chunk-NUKSVU3W.js → chunk-5DTSBUL2.js} +2 -2
- package/dist/{chunk-H5UD2323.js → chunk-7ZZMD7UK.js} +102 -2
- package/dist/chunk-7ZZMD7UK.js.map +1 -0
- package/dist/{chunk-474LBSOX.js → chunk-BYT7ELPS.js} +45 -18
- package/dist/chunk-BYT7ELPS.js.map +1 -0
- package/dist/{chunk-LUNF2SEL.js → chunk-DJKY2TSY.js} +3 -3
- package/dist/chunk-DPUHNQLN.js +232 -0
- package/dist/chunk-DPUHNQLN.js.map +1 -0
- package/dist/chunk-DRYIUNWY.js +622 -0
- package/dist/chunk-DRYIUNWY.js.map +1 -0
- package/dist/{chunk-IPYXE555.js → chunk-EJGRPCO3.js} +36 -13
- package/dist/chunk-EJGRPCO3.js.map +1 -0
- package/dist/{chunk-OCFJACJU.js → chunk-EOSZT7PL.js} +82 -18
- package/dist/chunk-EOSZT7PL.js.map +1 -0
- package/dist/{chunk-ZVCHKKOP.js → chunk-EZJEIH2R.js} +39 -15
- package/dist/chunk-EZJEIH2R.js.map +1 -0
- package/dist/{chunk-M7AH34KV.js → chunk-IHQDPH7D.js} +32 -16
- package/dist/chunk-IHQDPH7D.js.map +1 -0
- package/dist/{chunk-PJQFMIOX.js → chunk-MHELPNRP.js} +31 -1
- package/dist/chunk-MHELPNRP.js.map +1 -0
- package/dist/{chunk-K6IAZZ6L.js → chunk-NACAGYSY.js} +153 -122
- package/dist/chunk-NACAGYSY.js.map +1 -0
- package/dist/{chunk-BTACVO2W.js → chunk-NKAGIDE2.js} +542 -258
- package/dist/chunk-NKAGIDE2.js.map +1 -0
- package/dist/{chunk-ARU2PZFM.js → chunk-NYLOYM6N.js} +43 -23
- package/dist/chunk-NYLOYM6N.js.map +1 -0
- package/dist/{chunk-QOTFXW5L.js → chunk-P5W7RQKK.js} +2 -2
- package/dist/{chunk-IR3KBHOY.js → chunk-P6FYH6K4.js} +39 -3
- package/dist/chunk-P6FYH6K4.js.map +1 -0
- package/dist/{chunk-J5SQWP6Y.js → chunk-PBE2LOSS.js} +18 -2
- package/dist/chunk-PBE2LOSS.js.map +1 -0
- package/dist/{chunk-X4UCIOTZ.js → chunk-S5YLIBFX.js} +2 -2
- package/dist/{chunk-7VYEGHWF.js → chunk-SZLVEKMJ.js} +41 -20
- package/dist/chunk-SZLVEKMJ.js.map +1 -0
- package/dist/{chunk-P22LJ3Y2.js → chunk-TBL77AUT.js} +8 -8
- package/dist/chunk-TBL77AUT.js.map +1 -0
- package/dist/{chunk-LKKT3IVV.js → chunk-TSN7JT6D.js} +6 -4
- package/dist/{chunk-LKKT3IVV.js.map → chunk-TSN7JT6D.js.map} +1 -1
- package/dist/{chunk-E3IADPLG.js → chunk-UB2LOJ6Q.js} +51 -227
- package/dist/chunk-UB2LOJ6Q.js.map +1 -0
- package/dist/{chunk-MAX3TN3C.js → chunk-UWZZKKU7.js} +7 -19
- package/dist/chunk-UWZZKKU7.js.map +1 -0
- package/dist/{chunk-DPZAEKA6.js → chunk-VLOATJQ2.js} +85 -57
- package/dist/chunk-VLOATJQ2.js.map +1 -0
- package/dist/{chunk-MOXWMGPC.js → chunk-XDWDC2MP.js} +197 -79
- package/dist/chunk-XDWDC2MP.js.map +1 -0
- package/dist/{chunk-CGG5SLH3.js → chunk-XPRT64IE.js} +2 -2
- package/dist/{chunk-FO7HEH76.js → chunk-YJBNWCAA.js} +2 -2
- package/dist/{chunk-KE2VWPZX.js → chunk-ZUUWPZCV.js} +3 -3
- package/dist/cli.js +4 -4
- package/dist/contract/index.d.ts +438 -138
- package/dist/contract/index.js +259 -113
- package/dist/contract/index.js.map +1 -1
- package/dist/control.d.ts +56 -39
- package/dist/control.js +2 -3
- package/dist/hosted/index.d.ts +152 -51
- package/dist/hosted/index.js +24 -1
- package/dist/index.d.ts +399 -277
- package/dist/index.js +363 -244
- package/dist/index.js.map +1 -1
- package/dist/meta-eval/index.d.ts +33 -36
- package/dist/meta-eval/index.js +2 -2
- package/dist/multishot/index.d.ts +1 -0
- package/dist/openapi.json +1 -1
- package/dist/pipelines/index.js +2 -2
- package/dist/reporting.d.ts +101 -80
- package/dist/reporting.js +7 -5
- package/dist/rl.d.ts +198 -142
- package/dist/rl.js +235 -127
- package/dist/rl.js.map +1 -1
- package/dist/rollout/index.d.ts +54 -67
- package/dist/rollout/index.js +6 -5
- package/dist/{run-campaign-FFRM3RH5.js → run-campaign-ISHFZ7FJ.js} +6 -3
- package/dist/supervisor-run/index.d.ts +7 -15
- package/dist/supervisor-run/index.js +2 -2
- package/dist/traces.d.ts +72 -50
- package/dist/traces.js +9 -6
- package/dist/wire/index.d.ts +1 -0
- package/dist/wire/index.js +2 -2
- package/docs/concepts.md +18 -1
- package/docs/customer-journeys.md +7 -6
- package/docs/hosted-ingest-spec.md +37 -40
- package/docs/insight-report.md +78 -7
- package/docs/research-report-methodology.md +20 -21
- package/docs/rollout.md +13 -8
- package/package.json +4 -3
- package/dist/chunk-474LBSOX.js.map +0 -1
- package/dist/chunk-7VYEGHWF.js.map +0 -1
- package/dist/chunk-ARU2PZFM.js.map +0 -1
- package/dist/chunk-BTACVO2W.js.map +0 -1
- package/dist/chunk-DPZAEKA6.js.map +0 -1
- package/dist/chunk-E3IADPLG.js.map +0 -1
- package/dist/chunk-H5UD2323.js.map +0 -1
- package/dist/chunk-IILEIWGW.js.map +0 -1
- package/dist/chunk-IPYXE555.js.map +0 -1
- package/dist/chunk-IR3KBHOY.js.map +0 -1
- package/dist/chunk-J5SQWP6Y.js.map +0 -1
- package/dist/chunk-K6IAZZ6L.js.map +0 -1
- package/dist/chunk-M7AH34KV.js.map +0 -1
- package/dist/chunk-MAX3TN3C.js.map +0 -1
- package/dist/chunk-MOXWMGPC.js.map +0 -1
- package/dist/chunk-OCFJACJU.js.map +0 -1
- package/dist/chunk-P22LJ3Y2.js.map +0 -1
- package/dist/chunk-PJQFMIOX.js.map +0 -1
- package/dist/chunk-VSMTAMNK.js +0 -53
- package/dist/chunk-VSMTAMNK.js.map +0 -1
- package/dist/chunk-ZVCHKKOP.js.map +0 -1
- package/dist/chunk-ZZUXHH3R.js +0 -99
- package/dist/chunk-ZZUXHH3R.js.map +0 -1
- /package/dist/{chunk-NUKSVU3W.js.map → chunk-5DTSBUL2.js.map} +0 -0
- /package/dist/{chunk-LUNF2SEL.js.map → chunk-DJKY2TSY.js.map} +0 -0
- /package/dist/{chunk-QOTFXW5L.js.map → chunk-P5W7RQKK.js.map} +0 -0
- /package/dist/{chunk-X4UCIOTZ.js.map → chunk-S5YLIBFX.js.map} +0 -0
- /package/dist/{chunk-CGG5SLH3.js.map → chunk-XPRT64IE.js.map} +0 -0
- /package/dist/{chunk-FO7HEH76.js.map → chunk-YJBNWCAA.js.map} +0 -0
- /package/dist/{chunk-KE2VWPZX.js.map → chunk-ZUUWPZCV.js.map} +0 -0
- /package/dist/{run-campaign-FFRM3RH5.js.map → run-campaign-ISHFZ7FJ.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -516,6 +516,8 @@ type ControlDecision<TAction> = {
|
|
|
516
516
|
reason: string;
|
|
517
517
|
pass?: boolean;
|
|
518
518
|
score?: number;
|
|
519
|
+
/** Canonical task-failure class when this stop represents a failed task. */
|
|
520
|
+
failureClass?: FailureClass;
|
|
519
521
|
};
|
|
520
522
|
interface StopDecision {
|
|
521
523
|
stop: boolean;
|
|
@@ -1492,6 +1494,7 @@ declare function providerFromBaseUrl(baseUrl: string): string;
|
|
|
1492
1494
|
* OpenAI-compatible `/v1/chat/completions` client with:
|
|
1493
1495
|
* - Exponential-backoff retry on 429 + 5xx gateway errors (502/503/504).
|
|
1494
1496
|
* - Retry on transient network errors (fetch failed, AbortError, ECONNRESET).
|
|
1497
|
+
* - One retry at temperature 1 when a model explicitly requires it.
|
|
1495
1498
|
* - Graceful json_schema → json_object degrade on 400 with schema-reject body.
|
|
1496
1499
|
* - Fenced-JSON stripping (```json ... ```) for models that wrap structured output.
|
|
1497
1500
|
* - Configurable base URL + api key / bearer, works with LiteLLM proxies, OpenAI
|
|
@@ -1905,7 +1908,7 @@ declare function createChatClient(opts: CreateChatClientOpts): ChatClient;
|
|
|
1905
1908
|
* `ViewTraceOversized`.
|
|
1906
1909
|
*/
|
|
1907
1910
|
/** OTLP span kind (subset we actually use). */
|
|
1908
|
-
type TraceAnalystSpanKind = 'AGENT' | 'LLM' | 'TOOL' | 'CHAIN' | 'GUARDRAIL' | 'SPAN' | 'UNKNOWN';
|
|
1911
|
+
type TraceAnalystSpanKind = 'AGENT' | 'LLM' | 'TOOL' | 'CHAIN' | 'EVALUATOR' | 'GUARDRAIL' | 'SPAN' | 'UNKNOWN';
|
|
1909
1912
|
type TraceAnalystSpanStatus = 'OK' | 'ERROR' | 'UNSET';
|
|
1910
1913
|
/** Subset of OTLP span fields the analyst exposes to the agent. The
|
|
1911
1914
|
* store's job is to project upstream's full span shape down to this
|
|
@@ -2144,7 +2147,8 @@ interface TraceAnalysisStore {
|
|
|
2144
2147
|
* researcher loop SHOULD be recorded as a `RunRecord`. The mandatory
|
|
2145
2148
|
* fields are exactly those the paper "Two Loops, Three Roles" requires
|
|
2146
2149
|
* for reproducibility: who/what/when/cost/seed/hash, plus the search vs
|
|
2147
|
-
* holdout split tag
|
|
2150
|
+
* holdout split tag. A task score is optional because execution-only records
|
|
2151
|
+
* must preserve missing labels instead of converting errors into zero quality.
|
|
2148
2152
|
*
|
|
2149
2153
|
* This is intentionally NOT a replacement for the rich `Run` /
|
|
2150
2154
|
* `ProposeReviewReport` / `ScenarioResult` types already in the
|
|
@@ -2165,6 +2169,13 @@ interface TraceAnalysisStore {
|
|
|
2165
2169
|
/** Search/dev/holdout split tag. 'search' is the paper-grade alias for the
|
|
2166
2170
|
* combined train+test pool that the optimizer is allowed to read. */
|
|
2167
2171
|
type RunSplitTag = 'search' | 'dev' | 'holdout';
|
|
2172
|
+
/**
|
|
2173
|
+
* Explicit execution-lifecycle result for a run.
|
|
2174
|
+
*
|
|
2175
|
+
* This is separate from task quality (`outcome`) and failure classification.
|
|
2176
|
+
* Producers set it only from root-run or process evidence.
|
|
2177
|
+
*/
|
|
2178
|
+
type RunTerminalOutcome = 'succeeded' | 'failed' | 'cancelled' | 'incomplete' | 'unknown';
|
|
2168
2179
|
interface RunTokenUsage {
|
|
2169
2180
|
input: number;
|
|
2170
2181
|
/** All generated tokens charged as output, including reasoning tokens. */
|
|
@@ -2178,11 +2189,6 @@ interface RunTokenUsage {
|
|
|
2178
2189
|
}
|
|
2179
2190
|
/**
|
|
2180
2191
|
* How a run's USD amount was obtained.
|
|
2181
|
-
*
|
|
2182
|
-
* `costUsd` remains mandatory for wire compatibility. New producers should
|
|
2183
|
-
* always populate this discriminated union so a missing bill is never
|
|
2184
|
-
* mistaken for an observed zero-dollar run. For `uncaptured`, `costUsd` uses
|
|
2185
|
-
* the legacy `0` sentinel while this field carries the truthful null.
|
|
2186
2192
|
*/
|
|
2187
2193
|
type RunCostProvenance = {
|
|
2188
2194
|
kind: 'observed';
|
|
@@ -2228,8 +2234,8 @@ interface JudgeScoresRecord {
|
|
|
2228
2234
|
perJudge: Record<string, Record<string, number>>;
|
|
2229
2235
|
/** Per-dim mean across judges. Convenience — derivable from `perJudge`. */
|
|
2230
2236
|
perDimMean: Record<string, number>;
|
|
2231
|
-
/** Composite mean across
|
|
2232
|
-
*
|
|
2237
|
+
/** Composite mean across successful judges. Mirrors the task score only
|
|
2238
|
+
* when `failedJudges` is empty. */
|
|
2233
2239
|
composite: number;
|
|
2234
2240
|
/** Judges that errored or returned an unparseable verdict. Recorded
|
|
2235
2241
|
* by id (e.g. `['glm-5.1']`) so a partial-failure case is explicit,
|
|
@@ -2240,11 +2246,11 @@ interface JudgeScoresRecord {
|
|
|
2240
2246
|
notes?: string;
|
|
2241
2247
|
}
|
|
2242
2248
|
interface RunOutcome {
|
|
2243
|
-
/** Score on the search/optimization split. Optional
|
|
2244
|
-
*
|
|
2249
|
+
/** Score on the search/optimization split. Optional for holdout-only and
|
|
2250
|
+
* execution-only records. */
|
|
2245
2251
|
searchScore?: number;
|
|
2246
|
-
/** Score on the held-out split. Optional
|
|
2247
|
-
*
|
|
2252
|
+
/** Score on the held-out split. Optional for search-only and execution-only
|
|
2253
|
+
* records. When both scores are absent, the run is explicitly unlabeled. */
|
|
2248
2254
|
holdoutScore?: number;
|
|
2249
2255
|
/** Bag of any other metric the run produced — judge dimensions,
|
|
2250
2256
|
* pass/fail counters, latency stats, etc. Numeric only — keeps
|
|
@@ -2308,42 +2314,36 @@ interface RunRecord {
|
|
|
2308
2314
|
wallMs: number;
|
|
2309
2315
|
/** Time spent queued before execution started, if known. */
|
|
2310
2316
|
queueMs?: number;
|
|
2311
|
-
/** Total USD cost
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
costUsd: number;
|
|
2316
|
-
/** Observed, model-priced estimate, or genuinely uncaptured USD amount.
|
|
2317
|
-
* Optional only so existing serialized RunRecords remain valid. */
|
|
2318
|
-
costProvenance?: RunCostProvenance;
|
|
2317
|
+
/** Total USD cost, or null when the producer could not capture one. */
|
|
2318
|
+
costUsd: number | null;
|
|
2319
|
+
/** Whether `costUsd` came from billing data, a price calculation, or is unavailable. */
|
|
2320
|
+
costProvenance: RunCostProvenance;
|
|
2319
2321
|
/** Token usage breakdown. */
|
|
2320
2322
|
tokenUsage: RunTokenUsage;
|
|
2323
|
+
/** Root-run or process terminal result. Never inferred from a child span. */
|
|
2324
|
+
terminalOutcome: RunTerminalOutcome;
|
|
2325
|
+
/** Root-run or process failure reason. Valid only for a failed, cancelled,
|
|
2326
|
+
* or incomplete terminal result; never populated from a child span. */
|
|
2327
|
+
terminalFailureReason?: string;
|
|
2321
2328
|
/** Judge-side metadata, if a judge was used. */
|
|
2322
2329
|
judgeMetadata?: RunJudgeMetadata;
|
|
2323
2330
|
/** Per-split scores + raw bag. */
|
|
2324
2331
|
outcome: RunOutcome;
|
|
2325
|
-
/** Canonical
|
|
2326
|
-
* `FAILURE_CLASSES` taxonomy.
|
|
2327
|
-
*
|
|
2328
|
-
*
|
|
2329
|
-
* set it via the substrate classifier; leave unset only when the failure
|
|
2330
|
-
* genuinely can't be classified. */
|
|
2332
|
+
/** Canonical task-failure class drawn from the shared
|
|
2333
|
+
* `FAILURE_CLASSES` taxonomy. Producers set it only from task-result
|
|
2334
|
+
* evidence. Execution errors belong in
|
|
2335
|
+
* `outcome.raw.execution_error_count`. */
|
|
2331
2336
|
failureClass?: FailureClass;
|
|
2332
|
-
/** Free-form
|
|
2333
|
-
*
|
|
2334
|
-
* The within-agent drill-down; `failureClass` is the cross-agent key. */
|
|
2337
|
+
/** Free-form task-failure detail scoped under a non-success
|
|
2338
|
+
* `failureClass`. It is invalid without that class. */
|
|
2335
2339
|
failureMode?: string;
|
|
2336
2340
|
/** Which split this run was drawn from. */
|
|
2337
2341
|
splitTag: RunSplitTag;
|
|
2338
2342
|
/**
|
|
2339
|
-
* Stable scenario identifier the run was scored against.
|
|
2340
|
-
*
|
|
2341
|
-
* that pairs runs by scenario (preferences, paired stats, BT tournament)
|
|
2342
|
-
* keys on this. The campaign artifact populates it canonically; legacy
|
|
2343
|
-
* runs without it fall back to inference from `outcome.raw.scenario_id`
|
|
2344
|
-
* or `experimentId`.
|
|
2343
|
+
* Stable scenario identifier the run observed or was scored against.
|
|
2344
|
+
* Comparison primitives match this identity rather than input order.
|
|
2345
2345
|
*/
|
|
2346
|
-
scenarioId
|
|
2346
|
+
scenarioId: string;
|
|
2347
2347
|
/**
|
|
2348
2348
|
* Canonical identity for the agent profile cell that produced this row:
|
|
2349
2349
|
* profile artifact hash plus optional harness/model/prompt/reporting
|
|
@@ -2353,6 +2353,25 @@ interface RunRecord {
|
|
|
2353
2353
|
*/
|
|
2354
2354
|
agentProfile?: AgentProfileCell;
|
|
2355
2355
|
}
|
|
2356
|
+
/**
|
|
2357
|
+
* Canonical task-result classification.
|
|
2358
|
+
*
|
|
2359
|
+
* A producer may omit classification, record explicit success, or attach
|
|
2360
|
+
* domain-specific detail to a non-success class. Detail can never stand alone.
|
|
2361
|
+
* Execution errors belong in `outcome.raw.execution_error_count`.
|
|
2362
|
+
*/
|
|
2363
|
+
type RunTaskFailure = {
|
|
2364
|
+
failureClass?: undefined;
|
|
2365
|
+
failureMode?: undefined;
|
|
2366
|
+
} | {
|
|
2367
|
+
failureClass: 'success';
|
|
2368
|
+
failureMode?: undefined;
|
|
2369
|
+
} | {
|
|
2370
|
+
failureClass: Exclude<FailureClass, 'success'>;
|
|
2371
|
+
failureMode?: string;
|
|
2372
|
+
};
|
|
2373
|
+
/** Return task quality, preferring held-out evidence when both scores exist. */
|
|
2374
|
+
declare function runTaskScore(record: RunRecord): number | undefined;
|
|
2356
2375
|
declare class RunRecordValidationError extends ValidationError {
|
|
2357
2376
|
readonly path: string;
|
|
2358
2377
|
constructor(message: string, path?: string);
|
|
@@ -2363,15 +2382,6 @@ declare class RunRecordValidationError extends ValidationError {
|
|
|
2363
2382
|
* `RunRecord` on success — the validator does not coerce.
|
|
2364
2383
|
*/
|
|
2365
2384
|
declare function validateRunRecord(input: unknown): RunRecord;
|
|
2366
|
-
/**
|
|
2367
|
-
* Resolve provenance for both new and legacy records.
|
|
2368
|
-
*
|
|
2369
|
-
* Legacy producers sometimes set `outcome.raw.cost_estimated = 1`. A positive
|
|
2370
|
-
* unlabeled amount is treated as observed, matching the historical contract.
|
|
2371
|
-
* Zero without an explicit label is conservatively uncaptured: claiming an
|
|
2372
|
-
* observed $0 would be stronger than the serialized evidence supports.
|
|
2373
|
-
*/
|
|
2374
|
-
declare function resolveRunCostProvenance(run: Pick<RunRecord, 'costUsd' | 'costProvenance' | 'outcome'>): RunCostProvenance;
|
|
2375
2385
|
/** Boolean validator — convenience for filtering arrays. */
|
|
2376
2386
|
declare function isRunRecord(input: unknown): input is RunRecord;
|
|
2377
2387
|
/** Non-throwing validator — returns a discriminated union. */
|
|
@@ -4794,7 +4804,7 @@ declare function acquisitionPlansForKnowledgeGaps(gaps: KnowledgeRequirement[]):
|
|
|
4794
4804
|
* specific promotion path (still useful for replay-style evals).
|
|
4795
4805
|
*/
|
|
4796
4806
|
|
|
4797
|
-
type HeldOutGateRejectionCode = 'few_runs' | 'negative_delta' | 'overfit_gap' | 'cost_ceiling';
|
|
4807
|
+
type HeldOutGateRejectionCode = 'few_runs' | 'missing_split_scores' | 'missing_cost' | 'negative_delta' | 'overfit_gap' | 'cost_ceiling';
|
|
4798
4808
|
interface HeldOutGateConfig {
|
|
4799
4809
|
/** Minimum number of paired (candidate, baseline) holdout observations
|
|
4800
4810
|
* required before the gate will even consider promoting. Default 3. */
|
|
@@ -4825,39 +4835,43 @@ interface HeldOutGateConfig {
|
|
|
4825
4835
|
*
|
|
4826
4836
|
* This exists because "we ship the better prompt" is only an honest
|
|
4827
4837
|
* pitch when the better prompt also fits a customer-stated budget.
|
|
4828
|
-
* Cost is read from `RunRecord.costUsd
|
|
4829
|
-
*
|
|
4838
|
+
* Cost is read from `RunRecord.costUsd`; a null amount rejects a
|
|
4839
|
+
* configured cost check because the limit cannot be proven.
|
|
4830
4840
|
*/
|
|
4831
4841
|
costPerTaskCeiling?: number;
|
|
4832
4842
|
}
|
|
4833
4843
|
interface GateEvidence {
|
|
4834
4844
|
/** Number of paired (candidate, baseline) holdout observations used. */
|
|
4835
4845
|
productiveRuns: number;
|
|
4836
|
-
/**
|
|
4837
|
-
|
|
4838
|
-
/**
|
|
4846
|
+
/** Candidate holdout rows with no baseline row at the same work identity. */
|
|
4847
|
+
unpairedCandidateRuns: number;
|
|
4848
|
+
/** Baseline holdout rows with no candidate row at the same work identity. */
|
|
4849
|
+
unpairedBaselineRuns: number;
|
|
4850
|
+
/** Median of paired holdout deltas, or null when there are no pairs. */
|
|
4851
|
+
medianPairedDelta: number | null;
|
|
4852
|
+
/** Bootstrap CI on the median paired holdout delta, if computed. */
|
|
4839
4853
|
pairedCI: {
|
|
4840
4854
|
low: number;
|
|
4841
4855
|
high: number;
|
|
4842
|
-
};
|
|
4843
|
-
/** Wilcoxon signed-rank p-value
|
|
4844
|
-
pairedPValue: number;
|
|
4845
|
-
/** Mean candidate score on the search split
|
|
4846
|
-
searchScore: number;
|
|
4847
|
-
/** Mean candidate score on the holdout split
|
|
4848
|
-
holdoutScore: number;
|
|
4849
|
-
/** Candidate (search − holdout) gap. */
|
|
4850
|
-
overfitGap: number;
|
|
4851
|
-
/** Baseline (search − holdout) gap. */
|
|
4852
|
-
baselineOverfitGap: number;
|
|
4856
|
+
} | null;
|
|
4857
|
+
/** Wilcoxon signed-rank p-value, if computed. */
|
|
4858
|
+
pairedPValue: number | null;
|
|
4859
|
+
/** Mean candidate score on the search split, or null when absent. */
|
|
4860
|
+
searchScore: number | null;
|
|
4861
|
+
/** Mean candidate score on the holdout split, or null when absent. */
|
|
4862
|
+
holdoutScore: number | null;
|
|
4863
|
+
/** Candidate (search − holdout) gap, or null when either side is absent. */
|
|
4864
|
+
overfitGap: number | null;
|
|
4865
|
+
/** Baseline (search − holdout) gap, or null when either side is absent. */
|
|
4866
|
+
baselineOverfitGap: number | null;
|
|
4853
4867
|
/** Median per-task USD cost across the candidate's runs. Recorded
|
|
4854
4868
|
* even when no `costPerTaskCeiling` is configured so downstream
|
|
4855
4869
|
* dashboards (intelligence.tangle.tools) can render \$/task per
|
|
4856
4870
|
* generation regardless of gating policy. */
|
|
4857
|
-
medianCandidateCost: number;
|
|
4871
|
+
medianCandidateCost: number | null;
|
|
4858
4872
|
/** Median per-task USD cost across the baseline runs, for
|
|
4859
4873
|
* symmetric reporting. */
|
|
4860
|
-
medianBaselineCost: number;
|
|
4874
|
+
medianBaselineCost: number | null;
|
|
4861
4875
|
}
|
|
4862
4876
|
interface GateDecision$1 {
|
|
4863
4877
|
/** Final promote/no-promote verdict. */
|
|
@@ -4888,10 +4902,9 @@ declare class HeldOutGate {
|
|
|
4888
4902
|
private readonly seed?;
|
|
4889
4903
|
private readonly costPerTaskCeiling?;
|
|
4890
4904
|
constructor(config: HeldOutGateConfig);
|
|
4891
|
-
/** Decide whether `candidate` should replace `baseline`.
|
|
4892
|
-
* is by (experimentId, seed)
|
|
4893
|
-
*
|
|
4894
|
-
* a holdout score on both sides are dropped. */
|
|
4905
|
+
/** Decide whether `candidate` should replace `baseline`.
|
|
4906
|
+
* Pairing is by `(experimentId, scenarioId, seed)`.
|
|
4907
|
+
* Missing or duplicate identities throw instead of comparing by position. */
|
|
4895
4908
|
evaluate(candidate: RunRecord[], baseline: RunRecord[]): GateDecision$1;
|
|
4896
4909
|
}
|
|
4897
4910
|
|
|
@@ -4929,7 +4942,7 @@ interface ActionableSideInfo {
|
|
|
4929
4942
|
metadata?: Record<string, unknown>;
|
|
4930
4943
|
}
|
|
4931
4944
|
type ReleaseConfidenceStatus = 'pass' | 'warn' | 'fail';
|
|
4932
|
-
type ReleaseConfidenceAxisName = 'corpus' | 'quality' | 'generalization' | 'diagnostics' | 'efficiency';
|
|
4945
|
+
type ReleaseConfidenceAxisName = 'corpus' | 'quality' | 'reliability' | 'generalization' | 'diagnostics' | 'efficiency';
|
|
4933
4946
|
interface ReleaseTraceEvidence {
|
|
4934
4947
|
scenarioId: string;
|
|
4935
4948
|
candidateId?: string;
|
|
@@ -4939,7 +4952,8 @@ interface ReleaseTraceEvidence {
|
|
|
4939
4952
|
turnCount?: number;
|
|
4940
4953
|
costUsd?: number;
|
|
4941
4954
|
durationMs?: number;
|
|
4942
|
-
|
|
4955
|
+
/** Canonical task-failure class. Free-form detail belongs in ASI. */
|
|
4956
|
+
failureClass?: FailureClass;
|
|
4943
4957
|
asi?: ActionableSideInfo[];
|
|
4944
4958
|
metadata?: Record<string, unknown>;
|
|
4945
4959
|
}
|
|
@@ -4976,7 +4990,7 @@ interface ReleaseConfidenceInput {
|
|
|
4976
4990
|
interface ReleaseConfidenceAxis {
|
|
4977
4991
|
name: ReleaseConfidenceAxisName;
|
|
4978
4992
|
status: ReleaseConfidenceStatus;
|
|
4979
|
-
score: number;
|
|
4993
|
+
score: number | null;
|
|
4980
4994
|
detail: string;
|
|
4981
4995
|
}
|
|
4982
4996
|
interface ReleaseConfidenceIssue {
|
|
@@ -4987,22 +5001,32 @@ interface ReleaseConfidenceIssue {
|
|
|
4987
5001
|
}
|
|
4988
5002
|
interface ReleaseConfidenceMetrics {
|
|
4989
5003
|
scenarioCount: number;
|
|
5004
|
+
/** Search rows with a finite search score. */
|
|
4990
5005
|
searchRuns: number;
|
|
5006
|
+
/** Holdout rows with a finite holdout score. */
|
|
4991
5007
|
holdoutRuns: number;
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
5008
|
+
/** Runs with neither a split-matched score nor an explicit task failure. */
|
|
5009
|
+
unscoredRuns: number;
|
|
5010
|
+
/** Run rows, or trace rows when no runs exist, with no classified terminal result. */
|
|
5011
|
+
unclassifiedTerminalRuns: number;
|
|
5012
|
+
/** Run rows, or trace rows when no runs exist, that ended unsuccessfully. */
|
|
5013
|
+
terminalFailureRuns: number;
|
|
5014
|
+
/** Success fraction when every run or fallback trace row has a classified result. */
|
|
5015
|
+
reliabilityRate: number | null;
|
|
5016
|
+
passRate: number | null;
|
|
5017
|
+
meanScore: number | null;
|
|
5018
|
+
searchMeanScore: number | null;
|
|
5019
|
+
holdoutMeanScore: number | null;
|
|
5020
|
+
overfitGap: number | null;
|
|
5021
|
+
meanCostUsd: number | null;
|
|
5022
|
+
p95WallMs: number | null;
|
|
4999
5023
|
failedRows: number;
|
|
5000
5024
|
failuresWithAsi: number;
|
|
5001
5025
|
singleShotTraces: number;
|
|
5002
5026
|
multiShotTraces: number;
|
|
5003
5027
|
splitCounts: Record<DatasetSplit, number>;
|
|
5004
5028
|
domainCounts: Record<string, number>;
|
|
5005
|
-
|
|
5029
|
+
failureClassCounts: Partial<Record<FailureClass, number>>;
|
|
5006
5030
|
responsibleSurfaceCounts: Record<string, number>;
|
|
5007
5031
|
}
|
|
5008
5032
|
interface ReleaseConfidenceScorecard {
|
|
@@ -5343,6 +5367,15 @@ declare function wilcoxonSignedRank(before: number[], after: number[]): {
|
|
|
5343
5367
|
* Rule of thumb: |d| < 0.2 negligible, 0.2–0.5 small, 0.5–0.8 medium, > 0.8 large.
|
|
5344
5368
|
*/
|
|
5345
5369
|
declare function cohensD(a: number[], b: number[]): number;
|
|
5370
|
+
/**
|
|
5371
|
+
* Cohen's dz for paired observations: mean(after - before) divided by the
|
|
5372
|
+
* sample standard deviation of those within-pair deltas.
|
|
5373
|
+
*
|
|
5374
|
+
* Returns null when fewer than two pairs exist or a non-zero constant delta
|
|
5375
|
+
* has zero observed variance. In that case the standardized effect is
|
|
5376
|
+
* undefined, not an arbitrarily large finite number.
|
|
5377
|
+
*/
|
|
5378
|
+
declare function pairedCohensDz(before: number[], after: number[]): number | null;
|
|
5346
5379
|
type CliffsMagnitude = 'negligible' | 'small' | 'medium' | 'large';
|
|
5347
5380
|
/**
|
|
5348
5381
|
* Cliff's delta — a non-parametric effect size for two independent samples.
|
|
@@ -5486,6 +5519,16 @@ declare function requiredSampleSize(opts: {
|
|
|
5486
5519
|
power?: number;
|
|
5487
5520
|
twoSided?: boolean;
|
|
5488
5521
|
}): number;
|
|
5522
|
+
/**
|
|
5523
|
+
* Required number of paired observations for a target Cohen's dz.
|
|
5524
|
+
* Unlike the independent-groups formula, this has no two-arm factor of two.
|
|
5525
|
+
*/
|
|
5526
|
+
declare function requiredPairedSampleSize(opts: {
|
|
5527
|
+
effect: number;
|
|
5528
|
+
alpha?: number;
|
|
5529
|
+
power?: number;
|
|
5530
|
+
twoSided?: boolean;
|
|
5531
|
+
}): number;
|
|
5489
5532
|
/**
|
|
5490
5533
|
* Minimum detectable paired effect (standardised units) for a target paired
|
|
5491
5534
|
* sample size: d_min = (z_{1-α/2} + z_β) / sqrt(n_paired). Multiply by
|
|
@@ -5881,10 +5924,10 @@ interface PairedMetricDelta {
|
|
|
5881
5924
|
n: number;
|
|
5882
5925
|
/** Pairs where at least one side does not carry the metric. */
|
|
5883
5926
|
nMissing: number;
|
|
5884
|
-
/** Median paired delta
|
|
5885
|
-
medianDelta: number;
|
|
5886
|
-
/** Mean paired delta
|
|
5887
|
-
meanDelta: number;
|
|
5927
|
+
/** Median paired delta, or null when `n === 0`. */
|
|
5928
|
+
medianDelta: number | null;
|
|
5929
|
+
/** Mean paired delta, or null when `n === 0`. */
|
|
5930
|
+
meanDelta: number | null;
|
|
5888
5931
|
/** Bootstrap CI on the paired delta (`pairedBootstrap`); null when
|
|
5889
5932
|
* `n === 0` — a zero-width [0, 0] interval on no data would read as a
|
|
5890
5933
|
* measured tight null. */
|
|
@@ -5926,6 +5969,25 @@ interface PairedArmsComparison {
|
|
|
5926
5969
|
* absent" would misreport it as missing coverage.
|
|
5927
5970
|
*/
|
|
5928
5971
|
declare function comparePairedArms(rows: readonly PairedArmRow[], opts: ComparePairedArmsOptions): PairedArmsComparison;
|
|
5972
|
+
interface MatchedRunRecordPair {
|
|
5973
|
+
pairKey: string;
|
|
5974
|
+
repKey: string;
|
|
5975
|
+
baseline: RunRecord;
|
|
5976
|
+
treatment: RunRecord;
|
|
5977
|
+
}
|
|
5978
|
+
interface PairRunRecordsResult {
|
|
5979
|
+
pairs: MatchedRunRecordPair[];
|
|
5980
|
+
unpairedBaseline: RunRecord[];
|
|
5981
|
+
unpairedTreatment: RunRecord[];
|
|
5982
|
+
}
|
|
5983
|
+
/**
|
|
5984
|
+
* Pair two RunRecord arms by the identity of the evaluated work:
|
|
5985
|
+
* `(experimentId, scenarioId, seed)`.
|
|
5986
|
+
*
|
|
5987
|
+
* Falling back to array order, candidate id, or experiment id can compare
|
|
5988
|
+
* different tasks and fabricate lift. Duplicate identities throw.
|
|
5989
|
+
*/
|
|
5990
|
+
declare function pairRunRecords(baselineRuns: readonly RunRecord[], treatmentRuns: readonly RunRecord[]): PairRunRecordsResult;
|
|
5929
5991
|
|
|
5930
5992
|
type PrReviewSource = 'drew' | 'donovan' | 'shady' | 'codex' | 'claude-code' | 'gpt-5.5-high' | 'claude-opus-4.7-high' | 'kimi' | 'opencode' | (string & {});
|
|
5931
5993
|
type PrReviewSeverity = 'critical' | 'high' | 'medium' | 'low' | 'nit';
|
|
@@ -6085,18 +6147,10 @@ declare function printDriverSummary(results: DriverResult[]): void;
|
|
|
6085
6147
|
* flag: a gated line must never export as a positive training example.
|
|
6086
6148
|
*/
|
|
6087
6149
|
declare const ROLLOUT_SCHEMA = "tangle.rollout.v1";
|
|
6088
|
-
/** @deprecated alias kept for consumers of the pre-unification constant name. */
|
|
6089
|
-
declare const ROLLOUT_FORMAT = "tangle.rollout.v1";
|
|
6090
6150
|
/** `agent` = a solo evaluation run (no multi-agent topology). */
|
|
6091
6151
|
type RolloutRole = 'agent' | 'supervisor' | 'worker' | 'proposer' | 'judge' | 'analyst';
|
|
6092
|
-
/**
|
|
6093
|
-
|
|
6094
|
-
* optimizer may read — the trainable split), extended with the ledger's
|
|
6095
|
-
* 'canary'. 'train' is a legacy alias for 'search' emitted by
|
|
6096
|
-
* pre-unification ledgers; it validates and counts as trainable, but new
|
|
6097
|
-
* producers must emit 'search'.
|
|
6098
|
-
*/
|
|
6099
|
-
type RolloutSplit = 'search' | 'dev' | 'holdout' | 'canary' | 'train';
|
|
6152
|
+
/** Split vocabulary follows `RunRecord.splitTag`, extended with `canary`. */
|
|
6153
|
+
type RolloutSplit = 'search' | 'dev' | 'holdout' | 'canary';
|
|
6100
6154
|
declare function isTrainableSplit(split: RolloutSplit): boolean;
|
|
6101
6155
|
/** 'mint' = joined live from RunRecord + trace by `mintRolloutRows`. */
|
|
6102
6156
|
type RolloutCapture = 'mint' | 'settle-time' | 'backfill';
|
|
@@ -6188,10 +6242,9 @@ interface RolloutOutcome {
|
|
|
6188
6242
|
/**
|
|
6189
6243
|
* Anti-Goodhart flag from `RunRecord.outcome.realness.gated`: the run
|
|
6190
6244
|
* faked its success signal. Reward is forced to 0 at mint time and the
|
|
6191
|
-
* line never qualifies for SFT.
|
|
6192
|
-
* so pre-unification ledgers stay readable.
|
|
6245
|
+
* line never qualifies for SFT.
|
|
6193
6246
|
*/
|
|
6194
|
-
realness_gated
|
|
6247
|
+
realness_gated: boolean;
|
|
6195
6248
|
}
|
|
6196
6249
|
interface RolloutCostBlock {
|
|
6197
6250
|
usd: number | null;
|
|
@@ -6220,11 +6273,10 @@ interface RolloutLine {
|
|
|
6220
6273
|
/** Spawning invocation within the same episode (worker → supervisor). */
|
|
6221
6274
|
parent_rollout_id: string | null;
|
|
6222
6275
|
run_id: string;
|
|
6223
|
-
/** Logical experiment grouping from `RunRecord.experimentId
|
|
6224
|
-
|
|
6225
|
-
experiment_id?: string | null;
|
|
6276
|
+
/** Logical experiment grouping from `RunRecord.experimentId`; null = not recorded. */
|
|
6277
|
+
experiment_id: string | null;
|
|
6226
6278
|
/** Stable candidate identity from `RunRecord.candidateId`; null = not recorded. */
|
|
6227
|
-
candidate_id
|
|
6279
|
+
candidate_id: string | null;
|
|
6228
6280
|
/** Improvement-loop generation (-1 = baseline); null = not an improvement loop. */
|
|
6229
6281
|
generation: number | null;
|
|
6230
6282
|
/** Improvement-loop candidate index (-1 = baseline); null = not an improvement loop. */
|
|
@@ -6259,10 +6311,13 @@ declare function isRolloutLine(value: unknown): value is RolloutLine;
|
|
|
6259
6311
|
* labels, no joins.
|
|
6260
6312
|
*/
|
|
6261
6313
|
|
|
6262
|
-
interface
|
|
6263
|
-
/**
|
|
6264
|
-
|
|
6314
|
+
interface TrainingExportOptions {
|
|
6315
|
+
/** Include held-out evaluation data in training output. Default false. */
|
|
6316
|
+
allowHeldOutTrainingData?: boolean;
|
|
6317
|
+
/** Require reward to be strictly greater than this value. Default 0. */
|
|
6318
|
+
minimumQualityExclusive?: number;
|
|
6265
6319
|
}
|
|
6320
|
+
type SftExportOptions = TrainingExportOptions;
|
|
6266
6321
|
interface SftRow {
|
|
6267
6322
|
messages: ChatMessage[];
|
|
6268
6323
|
metadata: {
|
|
@@ -6276,7 +6331,7 @@ interface SftRow {
|
|
|
6276
6331
|
/**
|
|
6277
6332
|
* Supervised fine-tune rows: the completed conversation of each qualifying
|
|
6278
6333
|
* line. Fail-closed filters: trainable split only (never holdout/canary),
|
|
6279
|
-
* reward
|
|
6334
|
+
* positive reward, realness-gated lines never qualify, gap lines carry
|
|
6280
6335
|
* no trainable content.
|
|
6281
6336
|
*/
|
|
6282
6337
|
declare function toSftRows(lines: RolloutLine[], options?: SftExportOptions): SftRow[];
|
|
@@ -6294,13 +6349,9 @@ interface RewardRow {
|
|
|
6294
6349
|
};
|
|
6295
6350
|
}
|
|
6296
6351
|
/**
|
|
6297
|
-
* Reward-labeled rows
|
|
6298
|
-
* failure. Failures are signal here — only the realness-gate zeroing
|
|
6299
|
-
* (applied at mint time) touches the reward, never filtering. Lines with
|
|
6300
|
-
* no verdict (reward null) are excluded: an unlabeled example is a gap,
|
|
6301
|
-
* not a zero.
|
|
6352
|
+
* Reward-labeled rows for completed, positive-quality training runs.
|
|
6302
6353
|
*/
|
|
6303
|
-
declare function toRewardRows(lines: RolloutLine[]): RewardRow[];
|
|
6354
|
+
declare function toRewardRows(lines: RolloutLine[], options?: TrainingExportOptions): RewardRow[];
|
|
6304
6355
|
declare function toJsonl(rows: ReadonlyArray<unknown>): string;
|
|
6305
6356
|
|
|
6306
6357
|
/**
|
|
@@ -6350,12 +6401,14 @@ declare function rolloutReward(record: RunRecord): {
|
|
|
6350
6401
|
/**
|
|
6351
6402
|
* Join RunRecords with their traces into canonical rollout lines. Records
|
|
6352
6403
|
* without spans are emitted as labeled gap lines and reported in
|
|
6353
|
-
* `missingTraces
|
|
6404
|
+
* `missingTraces`. Execution-only records without a task score are rejected
|
|
6405
|
+
* because a missing training label is not a zero reward.
|
|
6354
6406
|
*/
|
|
6355
6407
|
declare function mintRolloutRows(records: RunRecord[], store: TraceStore, options?: MintRolloutOptions): Promise<MintRolloutResult>;
|
|
6356
6408
|
|
|
6357
6409
|
interface RunEvidenceMetadata {
|
|
6358
6410
|
experimentId: string;
|
|
6411
|
+
scenarioId: string;
|
|
6359
6412
|
candidateId: string;
|
|
6360
6413
|
seed: number;
|
|
6361
6414
|
model: string;
|
|
@@ -6364,15 +6417,15 @@ interface RunEvidenceMetadata {
|
|
|
6364
6417
|
commitSha: string;
|
|
6365
6418
|
splitTag: RunSplitTag;
|
|
6366
6419
|
tokenUsage: RunTokenUsage;
|
|
6420
|
+
costProvenance: RunRecord['costProvenance'];
|
|
6367
6421
|
queueMs?: number;
|
|
6368
6422
|
judgeMetadata?: RunRecord['judgeMetadata'];
|
|
6369
6423
|
raw?: Record<string, number>;
|
|
6370
6424
|
}
|
|
6371
|
-
|
|
6425
|
+
type ControlRunToRunRecordOptions = RunEvidenceMetadata & RunTaskFailure & {
|
|
6372
6426
|
runId?: string;
|
|
6373
6427
|
score?: number;
|
|
6374
|
-
|
|
6375
|
-
}
|
|
6428
|
+
};
|
|
6376
6429
|
/**
|
|
6377
6430
|
* Project a completed control-loop run into the strict RunRecord shape used by
|
|
6378
6431
|
* release gates, optimizer tables, and research reports.
|
|
@@ -7002,6 +7055,19 @@ declare function applyLlmSpanOtlpAttributes(attributes: Record<string, unknown>,
|
|
|
7002
7055
|
/** Canonical OpenInference-over-OTLP attribute vocabulary used at the trace boundary. */
|
|
7003
7056
|
|
|
7004
7057
|
type ToolSpanOtlpInput = Pick<ToolSpan, 'toolName' | 'args' | 'argsCaptured' | 'result' | 'latencyMs'>;
|
|
7058
|
+
type OtlpSpanRole = 'AGENT' | 'CHAIN' | 'EVALUATOR' | 'GUARDRAIL' | 'LLM' | 'SPAN' | 'TOOL' | 'UNKNOWN';
|
|
7059
|
+
interface OtlpSpanRoleInput {
|
|
7060
|
+
name: string;
|
|
7061
|
+
attributes: Record<string, unknown>;
|
|
7062
|
+
kind?: string | null;
|
|
7063
|
+
}
|
|
7064
|
+
/**
|
|
7065
|
+
* Classify a span once for both measurement and error accounting.
|
|
7066
|
+
* An explicit OpenInference kind wins; untyped spans use the same tool and
|
|
7067
|
+
* model signals in online and offline intake.
|
|
7068
|
+
*/
|
|
7069
|
+
declare function classifyOtlpSpanRole(input: OtlpSpanRoleInput): OtlpSpanRole;
|
|
7070
|
+
declare function isOtlpModelCall(input: OtlpSpanRoleInput): boolean;
|
|
7005
7071
|
declare function applyToolSpanOtlpAttributes(attributes: Record<string, unknown>, span: ToolSpanOtlpInput): void;
|
|
7006
7072
|
declare function traceSpanKindToOpenInferenceKind(kind: string): string;
|
|
7007
7073
|
|
|
@@ -7396,16 +7462,21 @@ declare function firstStringAttr(attrs: Record<string, unknown>, keys: readonly
|
|
|
7396
7462
|
* - tokenUsage: reconcile input, output, cache-read, and cache-write across
|
|
7397
7463
|
* nested model-call wrappers without double-counting parent aggregates.
|
|
7398
7464
|
* - costUsd: reconcile complete observed model-call cost when present; else priced via
|
|
7399
|
-
* `opts.priceUsdPerToken` from the aggregated tokens; else
|
|
7400
|
-
* loud `raw.cost_unpriced = 1` marker
|
|
7401
|
-
*
|
|
7402
|
-
*
|
|
7403
|
-
*
|
|
7465
|
+
* `opts.priceUsdPerToken` from the aggregated tokens; else `null` with a
|
|
7466
|
+
* loud `raw.cost_unpriced = 1` marker.
|
|
7467
|
+
* - task failure class and detail: read from process-root
|
|
7468
|
+
* `tangle.task.failure_*` attributes; malformed or conflicting values throw.
|
|
7469
|
+
* - terminalFailureReason: the failed root's normalized status message,
|
|
7470
|
+
* when one unambiguous root supplies terminal failure evidence.
|
|
7471
|
+
* - terminalOutcome: reduced from root-span status only. Child tool errors
|
|
7472
|
+
* remain visible in `error_span_count` and `execution_error_count` without
|
|
7473
|
+
* changing the run outcome. Root, guardrail, evaluator, propagated, and
|
|
7474
|
+
* unknown errors retain separate counters.
|
|
7404
7475
|
* - model: the dominant LLM model in the trace (snapshot-padded to satisfy
|
|
7405
7476
|
* `validateRunRecord` when the trace's model is a bare alias).
|
|
7406
7477
|
* - outcome score: `opts.scoreForTrace` (AppWorld `world.evaluate()` →
|
|
7407
|
-
* TGC/SGC) when supplied
|
|
7408
|
-
*
|
|
7478
|
+
* TGC/SGC) when supplied. Traces without an external task-quality signal
|
|
7479
|
+
* remain unlabeled; execution errors never become a task score.
|
|
7409
7480
|
* - prompt / completion: carried into `raw` as token-count signals and,
|
|
7410
7481
|
* when the first/last LLM span exposes `input.value` / `output.value`,
|
|
7411
7482
|
* the verbatim text is preserved on the optional `promptText` /
|
|
@@ -7444,8 +7515,7 @@ interface OtlpToRunRecordsOptions {
|
|
|
7444
7515
|
/**
|
|
7445
7516
|
* USD per total token (input+output) used to price a trace when no
|
|
7446
7517
|
* per-span cost attribute is present. When unset, an unpriced trace
|
|
7447
|
-
* records `costUsd:
|
|
7448
|
-
* never silent.
|
|
7518
|
+
* records `costUsd: null` and `raw.cost_unpriced = 1`.
|
|
7449
7519
|
*/
|
|
7450
7520
|
priceUsdPerToken?: number;
|
|
7451
7521
|
/**
|
|
@@ -7461,9 +7531,9 @@ interface OtlpToRunRecordsOptions {
|
|
|
7461
7531
|
* Score for a produced run's outcome (AppWorld `world.evaluate()` →
|
|
7462
7532
|
* TGC/SGC, or
|
|
7463
7533
|
* any [0,1] task-success signal). Keyed by the logical run id when
|
|
7464
|
-
* `logicalRunIdForTrace` is supplied, otherwise by `trace_id
|
|
7465
|
-
*
|
|
7466
|
-
*
|
|
7534
|
+
* `logicalRunIdForTrace` is supplied, otherwise by `trace_id`. When the map
|
|
7535
|
+
* has no entry or the function returns undefined, the record remains
|
|
7536
|
+
* unlabeled.
|
|
7467
7537
|
*/
|
|
7468
7538
|
scoreForTrace?: (runId: string, span: TraceAggregate) => number | undefined;
|
|
7469
7539
|
/**
|
|
@@ -7495,6 +7565,12 @@ interface TraceAggregate {
|
|
|
7495
7565
|
toolSpanCount: number;
|
|
7496
7566
|
agentSpanCount: number;
|
|
7497
7567
|
errorSpanCount: number;
|
|
7568
|
+
executionErrorCount: number;
|
|
7569
|
+
processErrorCount: number;
|
|
7570
|
+
guardrailErrorCount: number;
|
|
7571
|
+
judgeErrorCount: number;
|
|
7572
|
+
propagatedErrorCount: number;
|
|
7573
|
+
unclassifiedErrorCount: number;
|
|
7498
7574
|
tokenUsage: RunTokenUsage;
|
|
7499
7575
|
/** First error span's normalized status message, if any. */
|
|
7500
7576
|
firstErrorMessage?: string;
|
|
@@ -7502,6 +7578,8 @@ interface TraceAggregate {
|
|
|
7502
7578
|
startTime: string;
|
|
7503
7579
|
endTime: string;
|
|
7504
7580
|
wallMs: number;
|
|
7581
|
+
/** Root-span terminal result. Child span errors do not change this value. */
|
|
7582
|
+
terminalOutcome: RunTerminalOutcome;
|
|
7505
7583
|
}
|
|
7506
7584
|
/**
|
|
7507
7585
|
* Parse + aggregate an OTLP traces.jsonl string into validated
|
|
@@ -8425,14 +8503,17 @@ interface JudgeScore {
|
|
|
8425
8503
|
}
|
|
8426
8504
|
/** Five-valued verdict taxonomy (MOSS-paper alignment). */
|
|
8427
8505
|
type GateDecision = 'ship' | 'hold' | 'need_more_work' | 'model_ceiling' | 'arch_ceiling';
|
|
8506
|
+
/** Outcome of one check that contributed to a release decision. */
|
|
8507
|
+
type GateCheckStatus = 'pass' | 'fail' | 'not_evaluated';
|
|
8508
|
+
interface GateContribution {
|
|
8509
|
+
name: string;
|
|
8510
|
+
status: GateCheckStatus;
|
|
8511
|
+
detail: unknown;
|
|
8512
|
+
}
|
|
8428
8513
|
interface GateResult {
|
|
8429
8514
|
decision: GateDecision;
|
|
8430
8515
|
reasons: string[];
|
|
8431
|
-
contributingGates:
|
|
8432
|
-
name: string;
|
|
8433
|
-
passed: boolean;
|
|
8434
|
-
detail: unknown;
|
|
8435
|
-
}>;
|
|
8516
|
+
contributingGates: GateContribution[];
|
|
8436
8517
|
delta?: number;
|
|
8437
8518
|
}
|
|
8438
8519
|
/** Scoped trace writer handed to each dispatch — every span
|
|
@@ -8491,6 +8572,10 @@ interface CampaignCellResult<TArtifact> {
|
|
|
8491
8572
|
durationMs: number;
|
|
8492
8573
|
seed: number;
|
|
8493
8574
|
cached: boolean;
|
|
8575
|
+
/** Stage that produced `error`. Missing on successful cells. */
|
|
8576
|
+
errorStage?: 'dispatch' | 'judge';
|
|
8577
|
+
/** Judge that threw when `errorStage` is `judge`. */
|
|
8578
|
+
errorJudge?: string;
|
|
8494
8579
|
error?: string;
|
|
8495
8580
|
}
|
|
8496
8581
|
interface JudgeAggregate {
|
|
@@ -8515,8 +8600,10 @@ interface GenerationRecord {
|
|
|
8515
8600
|
* handled — the evidence a blind `Mutator` cannot see. */
|
|
8516
8601
|
interface GenerationCandidate {
|
|
8517
8602
|
surfaceHash: string;
|
|
8518
|
-
|
|
8519
|
-
|
|
8603
|
+
/** Mean over complete task-quality scores, or null when none were produced. */
|
|
8604
|
+
composite: number | null;
|
|
8605
|
+
/** Descriptive interval for `composite`, or null when no score exists. */
|
|
8606
|
+
ci95: [number, number] | null;
|
|
8520
8607
|
/** Exact surface this candidate mutated. */
|
|
8521
8608
|
parentSurfaceHash?: string;
|
|
8522
8609
|
/** Measured search-split composite of the exact parent surface. */
|
|
@@ -8526,13 +8613,12 @@ interface GenerationCandidate {
|
|
|
8526
8613
|
observedDeltaFromParent?: number;
|
|
8527
8614
|
/** Whether this candidate had a scorable result for every designed campaign
|
|
8528
8615
|
* cell and was therefore eligible for ranking, promotion, and Pareto
|
|
8529
|
-
* selection.
|
|
8530
|
-
|
|
8531
|
-
eligibleForPromotion?: boolean;
|
|
8616
|
+
* selection. */
|
|
8617
|
+
eligibleForPromotion: boolean;
|
|
8532
8618
|
/** Exact denominator receipt for selection eligibility. Scores stay
|
|
8533
8619
|
* descriptive: an incomplete candidate is retained with its observed score
|
|
8534
8620
|
* and errors instead of receiving an invented penalty. */
|
|
8535
|
-
coverage
|
|
8621
|
+
coverage: {
|
|
8536
8622
|
expectedCells: number;
|
|
8537
8623
|
scorableCells: number;
|
|
8538
8624
|
unscorableCells: Array<{
|
|
@@ -8573,10 +8659,18 @@ interface CampaignAggregates {
|
|
|
8573
8659
|
cost: CostLedgerSummary;
|
|
8574
8660
|
/** Compatibility alias of `cost.totalCostUsd`. */
|
|
8575
8661
|
totalCostUsd: number;
|
|
8662
|
+
/** Cells whose dispatch completed, including cells whose later judge failed. */
|
|
8576
8663
|
cellsExecuted: number;
|
|
8577
8664
|
cellsSkipped: number;
|
|
8578
8665
|
cellsCached: number;
|
|
8666
|
+
/** All non-skipped dispatch, judge, and unclassified cell failures. */
|
|
8579
8667
|
cellsFailed: number;
|
|
8668
|
+
/** Present on results that record failure stages. */
|
|
8669
|
+
cellsDispatchFailed?: number;
|
|
8670
|
+
/** Present on results that record failure stages. */
|
|
8671
|
+
cellsJudgeFailed?: number;
|
|
8672
|
+
/** Legacy failures whose stage was not recorded. */
|
|
8673
|
+
cellsUnclassifiedFailed?: number;
|
|
8580
8674
|
}
|
|
8581
8675
|
interface CampaignResult<TArtifact = unknown, TScenario extends Scenario = Scenario> {
|
|
8582
8676
|
/** sha256(scenarios, judges, dispatch source ref, optimizer config, seed). Stable identity for reruns. */
|
|
@@ -8698,7 +8792,7 @@ interface FailureClusterReport {
|
|
|
8698
8792
|
*/
|
|
8699
8793
|
|
|
8700
8794
|
interface SummaryTableOptions {
|
|
8701
|
-
/** Comparator candidate id. Wilcoxon + Cohen's
|
|
8795
|
+
/** Comparator candidate id. Wilcoxon + paired Cohen's dz are computed
|
|
8702
8796
|
* versus this candidate. Required for paired stats columns. */
|
|
8703
8797
|
comparator?: string;
|
|
8704
8798
|
/** Which split to read scores from. Default 'holdout'. */
|
|
@@ -8714,10 +8808,16 @@ interface SummaryTableRow {
|
|
|
8714
8808
|
mean: number;
|
|
8715
8809
|
ciLow: number;
|
|
8716
8810
|
ciHigh: number;
|
|
8717
|
-
/** BH-adjusted q-value vs comparator
|
|
8718
|
-
qValue: number;
|
|
8719
|
-
/** Cohen's
|
|
8720
|
-
cohensD: number;
|
|
8811
|
+
/** BH-adjusted q-value vs comparator, or null when unavailable. */
|
|
8812
|
+
qValue: number | null;
|
|
8813
|
+
/** Paired Cohen's dz vs comparator, or null when the paired variance is zero. */
|
|
8814
|
+
cohensD: number | null;
|
|
8815
|
+
/** Matched observations used for paired comparison, or null on the comparator row. */
|
|
8816
|
+
pairedN: number | null;
|
|
8817
|
+
/** Candidate observations without a comparator match. */
|
|
8818
|
+
unpairedCandidateN: number | null;
|
|
8819
|
+
/** Comparator observations without a candidate match. */
|
|
8820
|
+
unpairedComparatorN: number | null;
|
|
8721
8821
|
}
|
|
8722
8822
|
interface SummaryTable {
|
|
8723
8823
|
rows: SummaryTableRow[];
|
|
@@ -8729,7 +8829,7 @@ interface SummaryTable {
|
|
|
8729
8829
|
/**
|
|
8730
8830
|
* Table 1 helper. Buckets runs by `candidateId`, computes mean +
|
|
8731
8831
|
* bootstrap CI on the chosen split, and (when a comparator is given)
|
|
8732
|
-
* BH-adjusted Wilcoxon p + Cohen's
|
|
8832
|
+
* BH-adjusted Wilcoxon p + paired Cohen's dz versus that comparator.
|
|
8733
8833
|
*/
|
|
8734
8834
|
declare function summaryTable(runs: RunRecord[], opts?: SummaryTableOptions): SummaryTable;
|
|
8735
8835
|
interface ParetoPoint {
|
|
@@ -8745,7 +8845,7 @@ interface ParetoPoint {
|
|
|
8745
8845
|
onFrontier: boolean;
|
|
8746
8846
|
/** Optional gate verdict for this candidate, if a `GateDecision`
|
|
8747
8847
|
* for it was passed in. */
|
|
8748
|
-
gate?: 'promote' | '
|
|
8848
|
+
gate?: 'promote' | 'reject';
|
|
8749
8849
|
}
|
|
8750
8850
|
interface ParetoFigureSpec {
|
|
8751
8851
|
kind: 'pareto-cost-quality';
|
|
@@ -8780,12 +8880,16 @@ interface GainDistributionFigureSpec {
|
|
|
8780
8880
|
split: 'search' | 'holdout';
|
|
8781
8881
|
/** Number of pairs used. */
|
|
8782
8882
|
n: number;
|
|
8883
|
+
/** Candidate rows without a comparator match. */
|
|
8884
|
+
unpairedCandidateN: number;
|
|
8885
|
+
/** Comparator rows without a candidate match. */
|
|
8886
|
+
unpairedComparatorN: number;
|
|
8783
8887
|
bins: GainDistributionBin[];
|
|
8784
|
-
median: number;
|
|
8888
|
+
median: number | null;
|
|
8785
8889
|
ci: {
|
|
8786
8890
|
low: number;
|
|
8787
8891
|
high: number;
|
|
8788
|
-
};
|
|
8892
|
+
} | null;
|
|
8789
8893
|
}
|
|
8790
8894
|
interface GainDistributionOptions {
|
|
8791
8895
|
/** Number of histogram bins. Default 11 (so the centre is exact at 0). */
|
|
@@ -8882,8 +8986,8 @@ interface ResearchReportCandidate {
|
|
|
8882
8986
|
mean: number;
|
|
8883
8987
|
ciLow: number;
|
|
8884
8988
|
ciHigh: number;
|
|
8885
|
-
qValue: number;
|
|
8886
|
-
cohensD: number;
|
|
8989
|
+
qValue: number | null;
|
|
8990
|
+
cohensD: number | null;
|
|
8887
8991
|
meanDeltaVsComparator: number | null;
|
|
8888
8992
|
pairedN: number;
|
|
8889
8993
|
medianGain: number | null;
|
|
@@ -8893,10 +8997,9 @@ interface ResearchReportCandidate {
|
|
|
8893
8997
|
high: number;
|
|
8894
8998
|
} | null;
|
|
8895
8999
|
/**
|
|
8896
|
-
* Bayesian-bootstrap
|
|
8897
|
-
*
|
|
8898
|
-
*
|
|
8899
|
-
* matched pairs."
|
|
9000
|
+
* Bayesian-bootstrap posterior summaries on the paired mean delta.
|
|
9001
|
+
* Dirichlet(1, ..., 1) weights represent uncertainty over the empirical
|
|
9002
|
+
* distribution of matched deltas.
|
|
8900
9003
|
*/
|
|
8901
9004
|
prGreaterThanZero: number | null;
|
|
8902
9005
|
prInRope: number | null;
|
|
@@ -8964,7 +9067,7 @@ interface ResearchReport {
|
|
|
8964
9067
|
* - `summaryTable` marginal stats with BH-FDR-adjusted q-values
|
|
8965
9068
|
* - `paretoChart` cost-vs-quality frontier with gate overlay
|
|
8966
9069
|
* - `gainHistogram` per-candidate paired-delta distribution
|
|
8967
|
-
* - paired posterior (this file): bootstrap CI on median, Pr(Δ>0),
|
|
9070
|
+
* - paired posterior (this file): bootstrap CI on median, Bayesian-bootstrap Pr(Δ>0),
|
|
8968
9071
|
* Pr(Δ∈ROPE), MDE at the configured power
|
|
8969
9072
|
*
|
|
8970
9073
|
* Decisions are made on paired evidence — never on marginal means alone —
|
|
@@ -9008,7 +9111,8 @@ interface AnalyzeRunsOptions {
|
|
|
9008
9111
|
split?: 'search' | 'holdout' | 'auto';
|
|
9009
9112
|
/** Pairwise analysis configuration. When both `baselineCandidateId` and
|
|
9010
9113
|
* `candidateCandidateId` are present, lift is computed on paired
|
|
9011
|
-
* (experimentId, seed)
|
|
9114
|
+
* (experimentId, scenarioId, seed) identities shared between the two sides.
|
|
9115
|
+
* Unmatched rows remain visible in the lift result. */
|
|
9012
9116
|
baselineCandidateId?: string;
|
|
9013
9117
|
candidateCandidateId?: string;
|
|
9014
9118
|
/** Canary scenarios — checked against every run's raw output for
|
|
@@ -9043,7 +9147,7 @@ interface AnalyzeRunsOptions {
|
|
|
9043
9147
|
* recommendations fire on statistically significant regressions.
|
|
9044
9148
|
* The two windows do NOT have to share scenarios — the comparison
|
|
9045
9149
|
* is two-sample unpaired (the substrate's `lift` field uses paired
|
|
9046
|
-
* bootstrap on shared (experimentId, seed)
|
|
9150
|
+
* bootstrap on shared (experimentId, scenarioId, seed) identities; this is the
|
|
9047
9151
|
* shape for "this week vs last week" rather than "candidate vs
|
|
9048
9152
|
* baseline within a campaign"). */
|
|
9049
9153
|
baselineRuns?: RunRecord[];
|
|
@@ -11242,9 +11346,9 @@ interface CostSummary {
|
|
|
11242
11346
|
*/
|
|
11243
11347
|
|
|
11244
11348
|
/** The score the query/compare layer ranks on: holdout when present (the
|
|
11245
|
-
* gated number), else search.
|
|
11246
|
-
*
|
|
11247
|
-
declare function runScore(record: RunRecord): number;
|
|
11349
|
+
* gated number), else search. Execution-only records are valid RunRecords,
|
|
11350
|
+
* but cannot participate in score-ranked queries. */
|
|
11351
|
+
declare function runScore(record: RunRecord): number | undefined;
|
|
11248
11352
|
interface RunRecordFilter {
|
|
11249
11353
|
experimentId?: string;
|
|
11250
11354
|
candidateId?: string;
|
|
@@ -13513,6 +13617,8 @@ interface Finding {
|
|
|
13513
13617
|
interface LayerResult {
|
|
13514
13618
|
layer: string;
|
|
13515
13619
|
status: LayerStatus;
|
|
13620
|
+
/** Origin of an `error` or `timeout`. Defaults to `execution`. */
|
|
13621
|
+
errorSource?: 'execution' | 'judge';
|
|
13516
13622
|
/** 0..1 score, optional — layers that don't produce a numeric score omit. */
|
|
13517
13623
|
score?: number;
|
|
13518
13624
|
durationMs: number;
|
|
@@ -13541,6 +13647,8 @@ interface VerifyContext<Env = unknown> {
|
|
|
13541
13647
|
}
|
|
13542
13648
|
interface Layer<Env = unknown> {
|
|
13543
13649
|
name: string;
|
|
13650
|
+
/** Origin assigned when this layer errors or times out. Defaults to `execution`. */
|
|
13651
|
+
errorSource?: 'execution' | 'judge';
|
|
13544
13652
|
/** Stages that must have `status: 'pass'` before this layer runs. */
|
|
13545
13653
|
dependsOn?: string[];
|
|
13546
13654
|
/**
|
|
@@ -13568,22 +13676,29 @@ interface VerifyOptions<Env = unknown> {
|
|
|
13568
13676
|
/** Called with each layer result as it completes. */
|
|
13569
13677
|
onLayer?: (result: LayerResult) => void;
|
|
13570
13678
|
}
|
|
13571
|
-
/** Extends the substrate verdict spine: `valid` = `allPass
|
|
13572
|
-
*
|
|
13573
|
-
* consumers (drivers, gates) read this report without an adapter. */
|
|
13679
|
+
/** Extends the substrate verdict spine: `valid` = `allPass`; `score` is the
|
|
13680
|
+
* complete task score or 0 when the configured scoring panel was incomplete. */
|
|
13574
13681
|
interface VerificationReport extends DefaultVerdict {
|
|
13575
13682
|
layers: LayerResult[];
|
|
13576
13683
|
passCount: number;
|
|
13577
13684
|
failCount: number;
|
|
13578
13685
|
skippedCount: number;
|
|
13579
13686
|
errorCount: number;
|
|
13580
|
-
/** True iff
|
|
13687
|
+
/** True iff the configured scoring panel completed and every layer passed. */
|
|
13581
13688
|
allPass: boolean;
|
|
13582
13689
|
/**
|
|
13583
|
-
*
|
|
13584
|
-
*
|
|
13690
|
+
* Diagnostic weighted mean across contributing layers. This may represent a
|
|
13691
|
+
* partial panel. It is 0 when no layer contributed.
|
|
13585
13692
|
*/
|
|
13586
13693
|
blendedScore: number;
|
|
13694
|
+
/**
|
|
13695
|
+
* Complete task-quality measurement.
|
|
13696
|
+
* Present when at least one layer produced a valid score, every other layer
|
|
13697
|
+
* completed successfully or contributed an explicit scored failure, and no
|
|
13698
|
+
* result is missing because of a failure, skip, error, or timeout.
|
|
13699
|
+
* Use this field, not `blendedScore`, when creating task labels.
|
|
13700
|
+
*/
|
|
13701
|
+
taskScore?: number;
|
|
13587
13702
|
durationMs: number;
|
|
13588
13703
|
startedAt: string;
|
|
13589
13704
|
finishedAt: string;
|
|
@@ -14825,6 +14940,115 @@ interface CampaignStorage {
|
|
|
14825
14940
|
append?(path: string, content: string, expectedBytes: number): number | undefined;
|
|
14826
14941
|
}
|
|
14827
14942
|
|
|
14943
|
+
/**
|
|
14944
|
+
* Liveness canaries — cheap statistical checks that catch the failure
|
|
14945
|
+
* modes a green test suite never sees.
|
|
14946
|
+
*
|
|
14947
|
+
* Three canary types in this module:
|
|
14948
|
+
*
|
|
14949
|
+
* 1. **Silent judge fallback** — the judge degraded to a fallback
|
|
14950
|
+
* path (rules-only / cached / heuristic) without anyone
|
|
14951
|
+
* noticing. Signature: a string of consecutive runs whose
|
|
14952
|
+
* `judgeMetadata.confidence` equals a known fallback constant
|
|
14953
|
+
* (default 0.30) OR whose `judgeMetadata.fallback` is true.
|
|
14954
|
+
*
|
|
14955
|
+
* 2. **Judge calibration drift** — the judge's confidence
|
|
14956
|
+
* distribution has drifted from a historical window. Two-sample
|
|
14957
|
+
* Kolmogorov-Smirnov test on the recent vs historical confidences,
|
|
14958
|
+
* with the empirical-CDF max-difference statistic.
|
|
14959
|
+
*
|
|
14960
|
+
* 3. **Eval-set distribution shift** — the mix of categories /
|
|
14961
|
+
* buckets in the recent runs differs significantly from the
|
|
14962
|
+
* historical mix. Chi-square test on the binned counts.
|
|
14963
|
+
*
|
|
14964
|
+
* Outputs are alerts. The canary does NOT fail loud the way a test
|
|
14965
|
+
* does — failing tests are reserved for hard correctness violations.
|
|
14966
|
+
* A canary that fires is a *signal* to investigate, not a verdict.
|
|
14967
|
+
*
|
|
14968
|
+
* Why this lives here rather than in `observability.ts`: that module
|
|
14969
|
+
* exports already, and is a pure-fanout-to-Langfuse/Prometheus
|
|
14970
|
+
* adapter. Canaries are statistical detectors, not adapters.
|
|
14971
|
+
*/
|
|
14972
|
+
|
|
14973
|
+
type CanaryKind = 'silent_judge_fallback' | 'judge_calibration_drift' | 'distribution_shift';
|
|
14974
|
+
type CanarySeverity = 'info' | 'warn' | 'error';
|
|
14975
|
+
interface CanaryAlert {
|
|
14976
|
+
kind: CanaryKind;
|
|
14977
|
+
severity: CanarySeverity;
|
|
14978
|
+
message: string;
|
|
14979
|
+
/** Numbers that informed the decision — drop straight into a
|
|
14980
|
+
* dashboard / paper figure. */
|
|
14981
|
+
evidence: Record<string, unknown>;
|
|
14982
|
+
}
|
|
14983
|
+
interface CanaryReport {
|
|
14984
|
+
alerts: CanaryAlert[];
|
|
14985
|
+
/** Per-kind summary count. */
|
|
14986
|
+
counts: Record<CanaryKind, number>;
|
|
14987
|
+
/** Whether each enabled detector had enough observations to run. */
|
|
14988
|
+
evaluations: CanaryEvaluation[];
|
|
14989
|
+
}
|
|
14990
|
+
interface CanaryEvaluation {
|
|
14991
|
+
kind: CanaryKind;
|
|
14992
|
+
status: 'evaluated' | 'not_evaluated';
|
|
14993
|
+
observations: number;
|
|
14994
|
+
reason?: string;
|
|
14995
|
+
}
|
|
14996
|
+
interface CanaryOptions {
|
|
14997
|
+
/**
|
|
14998
|
+
* Silent-fallback detection.
|
|
14999
|
+
* - `constant`: confidence value treated as the fallback signal.
|
|
15000
|
+
* Default 0.30 (matches the soft-fail default in
|
|
15001
|
+
* `propose-review.ts`).
|
|
15002
|
+
* - `consecutiveThreshold`: trip the alert after this many
|
|
15003
|
+
* consecutive runs at `constant` (or `fallback === true`).
|
|
15004
|
+
* Default 3.
|
|
15005
|
+
*/
|
|
15006
|
+
silentFallback?: {
|
|
15007
|
+
constant?: number;
|
|
15008
|
+
consecutiveThreshold?: number;
|
|
15009
|
+
/** Floating-point tolerance when comparing against `constant`. */
|
|
15010
|
+
epsilon?: number;
|
|
15011
|
+
};
|
|
15012
|
+
/**
|
|
15013
|
+
* Calibration-drift detection.
|
|
15014
|
+
* - `historyWindow`: number of past runs (oldest-first) treated as
|
|
15015
|
+
* the historical baseline. Default 50.
|
|
15016
|
+
* - `recentWindow`: number of recent runs (newest-first) compared
|
|
15017
|
+
* against history. Default 20.
|
|
15018
|
+
* - `ksAlpha`: alpha for the KS statistic vs critical value.
|
|
15019
|
+
* Default 0.05.
|
|
15020
|
+
* - `minRecent`: minimum recent runs required to even attempt the
|
|
15021
|
+
* check. Default 10.
|
|
15022
|
+
*/
|
|
15023
|
+
calibrationDrift?: {
|
|
15024
|
+
historyWindow?: number;
|
|
15025
|
+
recentWindow?: number;
|
|
15026
|
+
ksAlpha?: number;
|
|
15027
|
+
minRecent?: number;
|
|
15028
|
+
};
|
|
15029
|
+
/**
|
|
15030
|
+
* Distribution-shift detection.
|
|
15031
|
+
* - `category`: function that maps a run to a categorical bucket.
|
|
15032
|
+
* Required to enable this canary; if omitted the chi-square check
|
|
15033
|
+
* is skipped entirely.
|
|
15034
|
+
* - `chiSquareAlpha`: alpha. Default 0.05.
|
|
15035
|
+
* - `historyWindow`, `recentWindow`, `minRecent`: like above.
|
|
15036
|
+
*/
|
|
15037
|
+
distributionShift?: {
|
|
15038
|
+
category: (run: RunRecord) => string | null;
|
|
15039
|
+
chiSquareAlpha?: number;
|
|
15040
|
+
historyWindow?: number;
|
|
15041
|
+
recentWindow?: number;
|
|
15042
|
+
minRecent?: number;
|
|
15043
|
+
};
|
|
15044
|
+
}
|
|
15045
|
+
/**
|
|
15046
|
+
* Run all configured canaries against a chronological run list.
|
|
15047
|
+
* Runs MUST be sorted oldest-to-newest by the caller — the order of
|
|
15048
|
+
* the input is used to define "recent" vs "historical" windows.
|
|
15049
|
+
*/
|
|
15050
|
+
declare function runCanaries(runs: RunRecord[], opts?: CanaryOptions): CanaryReport;
|
|
15051
|
+
|
|
14828
15052
|
interface BenchmarkRunOptions<TPayload = unknown, TArtifact = string> {
|
|
14829
15053
|
adapter: BenchmarkAdapter<BenchmarkDatasetItem<TPayload>, TPayload, TArtifact>;
|
|
14830
15054
|
respond: BenchmarkResponder<TPayload, TArtifact>;
|
|
@@ -15046,107 +15270,6 @@ declare namespace index$1 {
|
|
|
15046
15270
|
export { index$1_BENCHMARK_SPLIT_SEED as BENCHMARK_SPLIT_SEED, type index$1_BenchmarkAdapter as BenchmarkAdapter, type index$1_BenchmarkDatasetItem as BenchmarkDatasetItem, type index$1_BenchmarkDistribution as BenchmarkDistribution, type index$1_BenchmarkEvaluation as BenchmarkEvaluation, type index$1_BenchmarkFamily as BenchmarkFamily, type index$1_BenchmarkMetricCalibrationOptions as BenchmarkMetricCalibrationOptions, type index$1_BenchmarkMetricCalibrationResult as BenchmarkMetricCalibrationResult, type index$1_BenchmarkReport as BenchmarkReport, type index$1_BenchmarkResponder as BenchmarkResponder, type index$1_BenchmarkRunOptions as BenchmarkRunOptions, type index$1_BenchmarkRunResult as BenchmarkRunResult, type index$1_BenchmarkScenario as BenchmarkScenario, type index$1_BenchmarkSliceSummary as BenchmarkSliceSummary, type index$1_BenchmarkSource as BenchmarkSource, type index$1_BenchmarkTaskKind as BenchmarkTaskKind, type index$1_BuildStandardRetrievalItemsOptions as BuildStandardRetrievalItemsOptions, type index$1_RetrievalIdAdapterOptions as RetrievalIdAdapterOptions, type index$1_StandardRetrievalArtifact as StandardRetrievalArtifact, type index$1_StandardRetrievalDocument as StandardRetrievalDocument, type index$1_StandardRetrievalEvaluationOptions as StandardRetrievalEvaluationOptions, type index$1_StandardRetrievalPayload as StandardRetrievalPayload, type index$1_StandardRetrievalQrel as StandardRetrievalQrel, type index$1_StandardRetrievalQuery as StandardRetrievalQuery, type index$1_StandardRetrievalResult as StandardRetrievalResult, index$1_buildStandardRetrievalItems as buildStandardRetrievalItems, index$1_calibrateBenchmarkMetric as calibrateBenchmarkMetric, index$1_createRetrievalIdBenchmarkAdapter as createRetrievalIdBenchmarkAdapter, index$1_deterministicSplit as deterministicSplit, index$1_evaluateStandardRetrieval as evaluateStandardRetrieval, index$1_normalizeRetrievedDocumentIds as normalizeRetrievedDocumentIds, index$1_parseBeirCorpusJsonl as parseBeirCorpusJsonl, index$1_parseBeirQueriesJsonl as parseBeirQueriesJsonl, index$1_parseJsonlRows as parseJsonlRows, index$1_parseQrels as parseQrels, index$1_parseTsvRows as parseTsvRows, index$1_renderBenchmarkReportMarkdown as renderBenchmarkReportMarkdown, index$1_retrievalMetricsAtCutoff as retrievalMetricsAtCutoff, index$2 as routing, index$1_runBenchmarkAdapter as runBenchmarkAdapter, index$1_summarizeBenchmarkCampaign as summarizeBenchmarkCampaign };
|
|
15047
15271
|
}
|
|
15048
15272
|
|
|
15049
|
-
/**
|
|
15050
|
-
* Liveness canaries — cheap statistical checks that catch the failure
|
|
15051
|
-
* modes a green test suite never sees.
|
|
15052
|
-
*
|
|
15053
|
-
* Three canary types in this module:
|
|
15054
|
-
*
|
|
15055
|
-
* 1. **Silent judge fallback** — the judge degraded to a fallback
|
|
15056
|
-
* path (rules-only / cached / heuristic) without anyone
|
|
15057
|
-
* noticing. Signature: a string of consecutive runs whose
|
|
15058
|
-
* `judgeMetadata.confidence` equals a known fallback constant
|
|
15059
|
-
* (default 0.30) OR whose `judgeMetadata.fallback` is true.
|
|
15060
|
-
*
|
|
15061
|
-
* 2. **Judge calibration drift** — the judge's confidence
|
|
15062
|
-
* distribution has drifted from a historical window. Two-sample
|
|
15063
|
-
* Kolmogorov-Smirnov test on the recent vs historical confidences,
|
|
15064
|
-
* with the empirical-CDF max-difference statistic.
|
|
15065
|
-
*
|
|
15066
|
-
* 3. **Eval-set distribution shift** — the mix of categories /
|
|
15067
|
-
* buckets in the recent runs differs significantly from the
|
|
15068
|
-
* historical mix. Chi-square test on the binned counts.
|
|
15069
|
-
*
|
|
15070
|
-
* Outputs are alerts. The canary does NOT fail loud the way a test
|
|
15071
|
-
* does — failing tests are reserved for hard correctness violations.
|
|
15072
|
-
* A canary that fires is a *signal* to investigate, not a verdict.
|
|
15073
|
-
*
|
|
15074
|
-
* Why this lives here rather than in `observability.ts`: that module
|
|
15075
|
-
* exports already, and is a pure-fanout-to-Langfuse/Prometheus
|
|
15076
|
-
* adapter. Canaries are statistical detectors, not adapters.
|
|
15077
|
-
*/
|
|
15078
|
-
|
|
15079
|
-
type CanaryKind = 'silent_judge_fallback' | 'judge_calibration_drift' | 'distribution_shift';
|
|
15080
|
-
type CanarySeverity = 'info' | 'warn' | 'error';
|
|
15081
|
-
interface CanaryAlert {
|
|
15082
|
-
kind: CanaryKind;
|
|
15083
|
-
severity: CanarySeverity;
|
|
15084
|
-
message: string;
|
|
15085
|
-
/** Numbers that informed the decision — drop straight into a
|
|
15086
|
-
* dashboard / paper figure. */
|
|
15087
|
-
evidence: Record<string, unknown>;
|
|
15088
|
-
}
|
|
15089
|
-
interface CanaryReport {
|
|
15090
|
-
alerts: CanaryAlert[];
|
|
15091
|
-
/** Per-kind summary count. */
|
|
15092
|
-
counts: Record<CanaryKind, number>;
|
|
15093
|
-
}
|
|
15094
|
-
interface CanaryOptions {
|
|
15095
|
-
/**
|
|
15096
|
-
* Silent-fallback detection.
|
|
15097
|
-
* - `constant`: confidence value treated as the fallback signal.
|
|
15098
|
-
* Default 0.30 (matches the soft-fail default in
|
|
15099
|
-
* `propose-review.ts`).
|
|
15100
|
-
* - `consecutiveThreshold`: trip the alert after this many
|
|
15101
|
-
* consecutive runs at `constant` (or `fallback === true`).
|
|
15102
|
-
* Default 3.
|
|
15103
|
-
*/
|
|
15104
|
-
silentFallback?: {
|
|
15105
|
-
constant?: number;
|
|
15106
|
-
consecutiveThreshold?: number;
|
|
15107
|
-
/** Floating-point tolerance when comparing against `constant`. */
|
|
15108
|
-
epsilon?: number;
|
|
15109
|
-
};
|
|
15110
|
-
/**
|
|
15111
|
-
* Calibration-drift detection.
|
|
15112
|
-
* - `historyWindow`: number of past runs (oldest-first) treated as
|
|
15113
|
-
* the historical baseline. Default 50.
|
|
15114
|
-
* - `recentWindow`: number of recent runs (newest-first) compared
|
|
15115
|
-
* against history. Default 20.
|
|
15116
|
-
* - `ksAlpha`: alpha for the KS statistic vs critical value.
|
|
15117
|
-
* Default 0.05.
|
|
15118
|
-
* - `minRecent`: minimum recent runs required to even attempt the
|
|
15119
|
-
* check. Default 10.
|
|
15120
|
-
*/
|
|
15121
|
-
calibrationDrift?: {
|
|
15122
|
-
historyWindow?: number;
|
|
15123
|
-
recentWindow?: number;
|
|
15124
|
-
ksAlpha?: number;
|
|
15125
|
-
minRecent?: number;
|
|
15126
|
-
};
|
|
15127
|
-
/**
|
|
15128
|
-
* Distribution-shift detection.
|
|
15129
|
-
* - `category`: function that maps a run to a categorical bucket.
|
|
15130
|
-
* Required to enable this canary; if omitted the chi-square check
|
|
15131
|
-
* is skipped entirely.
|
|
15132
|
-
* - `chiSquareAlpha`: alpha. Default 0.05.
|
|
15133
|
-
* - `historyWindow`, `recentWindow`, `minRecent`: like above.
|
|
15134
|
-
*/
|
|
15135
|
-
distributionShift?: {
|
|
15136
|
-
category: (run: RunRecord) => string | null;
|
|
15137
|
-
chiSquareAlpha?: number;
|
|
15138
|
-
historyWindow?: number;
|
|
15139
|
-
recentWindow?: number;
|
|
15140
|
-
minRecent?: number;
|
|
15141
|
-
};
|
|
15142
|
-
}
|
|
15143
|
-
/**
|
|
15144
|
-
* Run all configured canaries against a chronological run list.
|
|
15145
|
-
* Runs MUST be sorted oldest-to-newest by the caller — the order of
|
|
15146
|
-
* the input is used to define "recent" vs "historical" windows.
|
|
15147
|
-
*/
|
|
15148
|
-
declare function runCanaries(runs: RunRecord[], opts?: CanaryOptions): CanaryReport;
|
|
15149
|
-
|
|
15150
15273
|
/**
|
|
15151
15274
|
* concurrency — small primitives the evolution loop needs.
|
|
15152
15275
|
*
|
|
@@ -15405,13 +15528,15 @@ interface CampaignRunContext<V> {
|
|
|
15405
15528
|
*/
|
|
15406
15529
|
llmOpts: LlmClientOptions;
|
|
15407
15530
|
}
|
|
15408
|
-
interface
|
|
15531
|
+
interface CampaignRunOutcomeFields {
|
|
15409
15532
|
/** Did the run pass? Mirrors `RunOutcome.pass` semantics. */
|
|
15410
15533
|
pass: boolean;
|
|
15411
15534
|
/** Score for the run on its split. Maps to `searchScore` or `holdoutScore`. */
|
|
15412
15535
|
score: number;
|
|
15413
|
-
/**
|
|
15414
|
-
costUsd: number;
|
|
15536
|
+
/** Cost in USD, or null when the runner could not capture it. */
|
|
15537
|
+
costUsd: number | null;
|
|
15538
|
+
/** Source of the cost amount. */
|
|
15539
|
+
costProvenance: RunCostProvenance;
|
|
15415
15540
|
tokenUsage: RunTokenUsage;
|
|
15416
15541
|
/** Snapshot model id (e.g. `claude-sonnet-4-6@2025-04-15`). */
|
|
15417
15542
|
model: string;
|
|
@@ -15421,12 +15546,6 @@ interface CampaignRunOutcome {
|
|
|
15421
15546
|
configHash: string;
|
|
15422
15547
|
/** Optional extra numeric metrics to land in `outcome.raw`. */
|
|
15423
15548
|
raw?: Record<string, number>;
|
|
15424
|
-
/** Canonical cross-agent failure class from the shared `FAILURE_CLASSES`
|
|
15425
|
-
* taxonomy. Propagated to `RunRecord.failureClass` so campaign runs
|
|
15426
|
-
* aggregate failures in the same vocabulary as every other producer. */
|
|
15427
|
-
failureClass?: FailureClass;
|
|
15428
|
-
/** Optional free-form failure detail, scoped under `failureClass`. */
|
|
15429
|
-
failureMode?: string;
|
|
15430
15549
|
/** Optional judge metadata when a judge was used. */
|
|
15431
15550
|
judgeMetadata?: RunJudgeMetadata;
|
|
15432
15551
|
/**
|
|
@@ -15442,6 +15561,8 @@ interface CampaignRunOutcome {
|
|
|
15442
15561
|
*/
|
|
15443
15562
|
agentProfile?: AgentProfileCell | AgentProfileCellInput;
|
|
15444
15563
|
}
|
|
15564
|
+
/** Campaign result with the same task-failure invariant as `RunRecord`. */
|
|
15565
|
+
type CampaignRunOutcome = CampaignRunOutcomeFields & RunTaskFailure;
|
|
15445
15566
|
type CampaignRunner<V> = (ctx: CampaignRunContext<V>) => Promise<CampaignRunOutcome>;
|
|
15446
15567
|
type CampaignIntegrityPolicy = 'throw' | 'mark_failed' | 'log';
|
|
15447
15568
|
interface EvalCampaignOptions<V> {
|
|
@@ -16916,7 +17037,8 @@ interface ProductBenchmarkRecord {
|
|
|
16916
17037
|
readonly pass: boolean;
|
|
16917
17038
|
readonly score: number;
|
|
16918
17039
|
readonly dimensions: Record<string, number>;
|
|
16919
|
-
readonly
|
|
17040
|
+
readonly failureClass: Exclude<FailureClass, 'success'> | null;
|
|
17041
|
+
readonly failureDetail: string | null;
|
|
16920
17042
|
};
|
|
16921
17043
|
readonly usage: {
|
|
16922
17044
|
readonly inputTokens: number;
|
|
@@ -17065,4 +17187,4 @@ type CachedJudge<TArtifact, TScenario extends Scenario = Scenario> = JudgeConfig
|
|
|
17065
17187
|
*/
|
|
17066
17188
|
declare function cachedJudge<TArtifact, TScenario extends Scenario = Scenario>(judge: JudgeConfig<TArtifact, TScenario>, store: VerdictCacheStore, options: CachedJudgeOptions): CachedJudge<TArtifact, TScenario>;
|
|
17067
17189
|
|
|
17068
|
-
export { AGENT_PROFILE_KINDS, ATTESTATION_ALGORITHM, type ActionExecutionPolicy, type ActionPolicyDecision, type ActionableSideInfo, type ActiveLearningOptions, type AdapterRun, AgentDriver, type AgentDriverConfig, AgentEvalError, type AgentEvalErrorCode, type AgentInterfaceProfileLike, type AgentProfileCell, type AgentProfileCellInput, type AgentProfileCellSchemaVersion, AgentProfileCellValidationError, type AgentProfileDimensionValue, type AgentProfileHarness, type AgentProfileJson, type AgentProfileJsonObject, type AgentProfileKind, type AgentProfileRuntimeReceipt, type AgentProfileSource, type AgentProfileSourceInput, type AlignmentOp, type Analyst, type AnalystContext, type AnalystCost, type AnalystFinding, type AnalystHooks, type AnalystInputKind, AnalystRegistry, type AnalystRegistryOptions, type AnalystRequirements, type AnalystRunEvent, type AnalystRunInputs, type AnalystRunResult, type AnalystRunSummary, type AnalystSeverity, type AnalystUsageReceipt, type AnalyzeTracesInput, type AnalyzeTracesOptions, type AnalyzeTracesResult, type AnalyzeTracesTurnSnapshot, type AntiSlopConfig, type AntiSlopIssue, type AntiSlopReport, type Artifact$1 as Artifact, type ArtifactCheck, type Artifact as ArtifactCheckArtifact, type ArtifactEventLike, type ArtifactResult, type ArtifactValidator, type AsiSeverity, type AssertCapabilityHeadroomOptions, type AssertCrossFamilyOptions, type AssertSingleBackendOptions, type AttestationProvenance, type AttestationVerification, type AttestedReport, type AutoPrClient, AxGepaSteeringOptimizer, type AxSteeringOptimizerConfig, BENCHMARK_SPLIT_SEED, type BackendDescriptor, BackendIntegrityError, type BackendIntegrityReport, type BaselineOptions, type BaselineReport, BehaviorAssertion, type BehavioralMetrics, type BehavioralTokenSequence, type BenchmarkAdapter, type BenchmarkDatasetItem, type BenchmarkEvaluation, type BenchmarkFamily, type BenchmarkReport$1 as BenchmarkReport, type BenchmarkResponder, BenchmarkRunner, type BenchmarkRunnerConfig, type BenchmarkScenario, type BenchmarkSource, type BenchmarkTaskKind, type BisectOptions, type BisectResult, type BisectStep, type BlendWeights, type BootstrapOptions, type BootstrapResult, BudgetBreachError, BudgetGuard, type BudgetLedgerEntry, type BudgetPolicy, type BudgetSpec, CODING_HARNESSES, type CachedJudge, type CachedJudgeOptions, type CalibrationResult, CallExpectation, CallbackResearcher, type CallbackResearcherOptions, type CampaignFactoryParams, type CampaignIntegrityPolicy, type CampaignRunContext, type CampaignRunOutcome, type CampaignRunner, type CampaignScenario, type CampaignVariant, type CanaryAlert, type CanaryKind, type CanaryLeak, type CanaryOptions, type CanaryReport, type CanarySeverity, type CandidateComparison, type CandidateScenario, type CandidateScore, type CanonicalRawAnalystFinding, type CapabilityHeadroomOptions, type CapabilityHeadroomResult, type CaptureFetchContext, type CaptureFetchOptions, CaptureIntegrityError, type CausalAttributionReport, type CellVerdict, type ChannelRollup, type ChatCallOpts, type ChatClient, type ChatMessage, type ChatRequest, type ChatResponse, type ChatToolCall, type ChatTransport, type CheckResult, type CliBridgeTransportOpts, type CliffsMagnitude, type ClusterBootstrapInterval, type ClusterSignFlipAlternative, type ClusterSignFlipResult, type ClusteredBinaryCluster, type ClusteredMatchedPair, type ClusteredPairedBinaryOptions, type ClusteredPairedBinaryResult, type ClusteredPairedBinaryStatistics, type CollectedArtifacts, type CommandRunner, type ComparePairedArmsOptions, type CompletionCriterion, type CompletionRequirement, type CompletionVerdict, type ConceptComplexity, type ConceptFinding, type ConceptSpec, type ConceptWeightStrategy, ConfigError, type ContinuityCheck, type ContinuityCheckResult, type ContinuityReport, type ContinuitySnapshotPair, type ContinuousAgreement, type ContinuousAgreementOptions, type ContinuousCalibrationResult, type ContractCheckResult, type ContractJudgeOptions, type ContractMetric, type ContractReport, type ContractRule, type ContractRuleKind, type ContractSpan, type ContractVerdict, type ContractViolation, type ControlActionFailureMode, type ControlActionOutcome, type ControlBudget, type ControlContext, type ControlDecision, type ControlEvalResult, type ControlRunResult, type ControlRunToRunRecordOptions, type ControlRuntimeConfig, type ControlRuntimeError, type ControlSeverity, type ControlStep, type ControlStopPolicies, ConvergenceTracker, type CorpusAgreementOptions, type CorpusAgreementPerDimension, type CorpusAgreementReport, type CorpusScoreRecord, type CorrectnessChecker, CostAccountingIncompleteError, CostCallConflictError, CostCeilingReachedError, type CostChannel, type CostEntry, CostLedger, type CostLedgerEntry, type CostLedgerFilter, type CostLedgerHandle, type CostLedgerOptions, type CostLedgerPersistence, CostLedgerPersistenceError, type CostLedgerSummary, type CostReceipt, CostReceiptCaptureError, type CostReceiptInput, type CostReport, CostReservationExceededError, type CostResult, type CostSummary, CostTracker, type CostUsage, type CounterfactualContext, type CounterfactualMutation, type CounterfactualResult, type CounterfactualRunner, type CreateAnalystAiConfig, type CreateChatClientOpts, type CreateDefaultReviewerOptions, type CreateExperimentInput, type CreateSandboxPoolOpts, type CreateTraceAnalystKindOpts, CrossFamilyError, type CrossTraceDiff, type CrossTraceDiffOptions, type CustomTokenPricing, DEFAULT_AGENT_SLOS, DEFAULT_COMPLEXITY_WEIGHTS, DEFAULT_RULES as DEFAULT_FAILURE_RULES, DEFAULT_FINDERS, DEFAULT_HARNESS_OBJECTIVES, DEFAULT_MUTATION_PRIMITIVES, DEFAULT_MUTATORS, DEFAULT_PR_REVIEW_SCORE_WEIGHTS, DEFAULT_REDACTION_RULES, DEFAULT_RED_TEAM_CORPUS, DEFAULT_RUN_SCORE_WEIGHTS, DEFAULT_SEVERITY_WEIGHTS, DEFAULT_TRACE_ANALYST_BUDGETS, DEFAULT_TRACE_ANALYST_KINDS, type DataAcquisitionPlan, Dataset, type DatasetDifficulty, type DatasetManifest, type DatasetOverview, type DatasetProvenance, type DatasetScenario, type DatasetSplit, type DecideNextUserTurnOpts, type DefaultAnalystRegistryOptions, type DefaultVerdict, type DeployFamily, type DeployGateLayerInput, type DeployRunResult, type DeployRunner, type DescriptionLengthCandidate, type DescriptionLengthConfig, type DescriptionLengthDecision, type DescriptionLengthEvidence, DescriptionLengthGate, type DescriptionLengthRejectionCode, type DetectorEvent, type DetectorSeverity, type DetectorSignal, type DiffPolicy, type DiffScorecardOptions, type DirEntry, type DirectProviderTransportOpts, type Direction, type DiscoverPersonasOptions, type DiscoveredPersona, DockerSandboxDriver, type DriverResult, type DriverState, DualAgentBench, type DualAgentBenchConfig, type DualAgentReport, type DualAgentRound, type DualAgentScenario, type DualAgentScenarioResult, type EProcess, type EProcessOptions, type EProcessState, type EProcessStep, ERROR_COUNT_PATTERNS, type EnsembleAggregate, type EnsembleJudgeOptions, type ErrorCluster, type ErrorCountPattern, type ErrorStreakOptions, type EvalCampaignOptions, type EvalCampaignResult, type EvalResult, type EvalToolDef, EvalTraceStore, type EventFilter, type EventKind, type EvidenceRef, type EvolutionRound, type ExecutorConfig, type Expectation, type Experiment, type ExperimentPlan, type ExperimentProvenance, type ExperimentRep, type ExperimentResult, type ExperimentStats, type ExperimentStore, ExperimentTracker, type ExperimentTrackerOptions, type ExperimentVerdict, type ExportableSpan, type ExportedRewardModel, type ExtractOptions, type ExtractResult, type ExtractUsageFromSseOptions, type ExtractedUsage, FAILURE_CLASSES, FAILURE_MODE_KIND_SPEC, type FactorContribution, type FactorialCell, type FailedRun, type FailureClass, type FailureClassification, type FailureContext, type FailureMode, type FailureRule, type FeedbackArtifactType, type FeedbackAttempt, type FeedbackLabel, type FeedbackLabelKind, type FeedbackLabelSource, type FeedbackOptimizerRow, type FeedbackOutcome, type FeedbackPattern, type FeedbackReplayAdapter, type FeedbackReplayResult, type FeedbackSeverity, type FeedbackSplitPolicy, type FeedbackTask, type FeedbackTrajectory, type FeedbackTrajectoryFilter, type FeedbackTrajectoryStore, type FieldDestination, type FileChange, FileSystemFeedbackTrajectoryStore, FileSystemRawProviderSink, type FileSystemRawProviderSinkOptions, FileSystemTraceStore, type FileSystemTraceStoreOptions, type Finding, type FindingSubject, type FindingSubjectKind, type FindingsDiff, FindingsStore, type FlattenOtlpOptions, type FlowAction, type FlowLayerEnv, type FlowLayerFactoryInput, type FlowRunner, type FlowRunnerStepResult, type FlowSpec, type FlowStep, type GainDistributionBin, type GainDistributionFigureSpec, type GainDistributionOptions, type GateDecision$1 as GateDecision, type GateEvidence, type GenericSpan, type GhCliClientOptions, type GoldenItem, type GoldenSeverity, type GoldenSpec, HARNESS_NATIVE_MODEL, type HarnessAdapter, type HarnessConfig, type HarnessExperimentConfig, type HarnessExperimentResult, type HarnessIntervention, type HarnessRunRequest, type HarnessRunResult, type HarnessScenario, type HarnessSelection, type HarnessVariant, type HarnessVariantReport, type HeadroomClass, type HeadroomInput, HeldOutGate, type HeldOutGateConfig, type HeldOutGateRejectionCode, type HeldOutPartition, type HiddenCriteriaGrader, type HiddenGradeResult, type HiddenLeak, HoldoutAuditor, HoldoutLockedError, type HttpGithubClientOptions, type HypothesisManifest, type HypothesisResult, IMPROVEMENT_KIND_SPEC, INPUT_VALUE, INTENT_MATCH_JUDGE_VERSION, type ImageData, type ImprovementThresholds, type ImprovementVerdictResult, InMemoryFeedbackTrajectoryStore, InMemoryRawProviderSink, type InMemoryRawProviderSinkOptions, InMemoryTraceStore, InMemoryWorkspaceInspector, type InferenceScorer, type InspectorContext, type IntentMatchInput, type IntentMatchOptions, type IntentMatchResult, type InteractionContribution, type InterimReleaseConfidence, type InterimReleaseConfidenceInput, type JudgeConfig$1 as JudgeConfig, JudgeError, type JudgeFamily, type JudgeFleetOptions, type JudgeFn, type JudgeInput, JudgeParseError, type JudgeReplayGateArgs, type JudgeReplayResult, type JudgeRetryOutcome, type JudgeRetryPolicy, type JudgeRubric, JudgeRunner, type JudgeScore$1 as JudgeScore, type JudgeScoreInput, type JudgeScoresRecord, type JudgeSpan, type JudgeVerdict, KNOWLEDGE_GAP_KIND_SPEC, KNOWLEDGE_POISONING_KIND_SPEC, type KeywordConceptSpec, type KeywordCoverageFinding, type KeywordCoverageOptions, type KeywordCoverageResult, type KnowledgeAcquisitionMode, type KnowledgeBundle, type KnowledgeFallbackPolicy, type KnowledgeFreshness, type KnowledgeImportance, type KnowledgeReadinessReport, type KnowledgeRecommendedAction, type KnowledgeRequirement, type KnowledgeRequirementCategory, type KnowledgeResponsibleSurface, type KnowledgeSensitivity, LLM_CACHED_TOKENS, LLM_CACHED_TOKEN_ATTR_KEYS, LLM_CACHE_WRITE_TOKENS, LLM_CACHE_WRITE_TOKEN_ATTR_KEYS, LLM_CONTEXT_TOKENS, LLM_COST_ATTR_KEYS, LLM_COST_USD, LLM_INPUT_TOKENS, LLM_INPUT_TOKEN_ATTR_KEYS, LLM_MODEL_ATTR_KEYS, LLM_MODEL_NAME, LLM_OUTPUT_TOKENS, LLM_OUTPUT_TOKEN_ATTR_KEYS, LLM_REASONING_TOKENS, LLM_REASONING_TOKEN_ATTR_KEYS, type LangfuseEnvelope, type LangfuseGeneration, type LangfuseScore, type Layer, type LayerResult, type LayerStatus, type LeaderboardOptions, type LeaderboardRow, type LiveProofArtifact, type LiveProofConfig, type LiveProofContext, type LiveProofResult, LlmCallError, type LlmCallMetadata, type LlmCallRequest, type LlmCallResult, LlmClient, type LlmClientOptions, type LlmCorrectnessCheckerOpts, type LlmJsonCall, type LlmJudgeDimension, type LlmJudgeOptions, type LlmMessage, LlmResponseError, type LlmReviewerConfig, LlmRouteAssertionError, type LlmRouteRequirements, type LlmSpan, type LlmSpanOtlpInput, type LlmUsage, LockedJsonlAppender, MODEL_PRICING, type MakeEvalToolsConfig, type MatchResult, type MatchedPair, type MatcherResult, type MaximumCharge, type McNemarResult, type Measured, type MeasurementPolicy, type MergeOptions, type Message, type MetricSamples, type MetricVerdict, MetricsCollector, type MintRolloutOptions, type MintRolloutResult, type MockTransportOpts, type ModelCostRollup, type ModelPreflight, type ModelSeats, ModelsUnreachableError, type MuffledFinder, type MuffledFinding, MultiLayerVerifier, type MultiToolchainLayerConfig, type Mutator, Mutex, type NoLeakOptions, type NoProgressOptions, NoopRawProviderSink, NoopResearcher, NotFoundError, OPENINFERENCE_SPAN_KIND, OTEL_AGENT_EVAL_SCOPE, OUTPUT_VALUE, type Objective, type Oracle, type OracleObservation, type OracleReport, type OracleResult, type OrthogonalityInput, type OrthogonalityResult, type OtelExportConfig, type OtelExporter, type OtelPipelineHandle, type OtelPipelineOptions, type OtlpExport, OtlpFileTraceStore, type OtlpFileTraceStoreOptions, type OtlpFlatLine, type OtlpResourceSpans, type OtlpSpan, type OtlpToRunRecordsOptions, type OtlpTraceRunRecord, type PaidCallResult, type PairArmsOptions, type PairArmsResult, type PairedArmRow, type PairedArmsComparison, type PairedBootstrapOptions, type PairedBootstrapResult, type PairedCorrectness, type PairedEvalueOptions, type PairedEvalueSequence, type PairedEvalueStep, type PairedMetricDelta, type PairedSignTestResult, PairwiseSteeringOptimizer, type ParaphraseRobustnessScenarioInput, type ParaphraseRobustnessScenarioResult, type ParetoFigureSpec, type ParetoPoint, type ParetoResult, type PartitionHeldOutOptions, type PendingCostCall, type PendingCostCallView, type PersistedFinding, type PersonaConfig, type PersonaRigor, type Playbook, type PlaybookEntry, type PoolSlot, type PositionalBiasResult, type PrReviewAuditCase, type PrReviewBenchmarkSummary, type PrReviewComment, type PrReviewMatchedFinding, type PrReviewOutcome, type PrReviewReferenceFinding, type PrReviewScore, type PrReviewScoreWeights, type PrReviewSeverity, type PrReviewSource, type PreferenceMemoryEntry, type PreflightModelsOptions, type PreflightOutcome, type ProducedProposal, type ProducedState, type ProductBenchmarkArm, type ProductBenchmarkArtifactPaths, type ProductBenchmarkBudgets, type ProductBenchmarkExportOptions, type ProductBenchmarkExportResult, type ProductBenchmarkManifest, type ProductBenchmarkProfileRef, type ProductBenchmarkRecord, type ProductBenchmarkRepoRef, type ProductBenchmarkRunInput, type ProductBenchmarkScenario, type ProductBenchmarkSingleRunExportOptions, type ProductBenchmarkSplit, type ProductBenchmarkSubstrateVersions, type ProductBenchmarkValidationReport, ProductClient, type ProductClientConfig, type ProfileAxisSpec, type ProjectRuntimeTrajectoryEvidenceOptions, type ProjectedOtlpSpan, type PromptHandle, PromptRegistry, type ProportionInterval, type ProposalEventLike, type ProposeAutomatedPullRequestInput, type ProposeAutomatedPullRequestResult, type ProposeFn, type ProposeInput, type ProposeOutput, type ProposeReviewConfig, type ProposeReviewControlAction, type ProposeReviewControlConfig, type ProposeReviewControlResult, type ProposeReviewControlState, type ProposeReviewReport, type ProposeReviewShot, type ProposedSideEffect, type ProvenanceReader, type ProviderRedactor, type QueryTracesPage, REDACTION_VERSION, REFERENCE_EQUIVALENCE_INPUT_LIMITS, REFERENCE_EQUIVALENCE_JUDGE_VERSION, RESEARCH_REPORT_HARD_PAIR_FLOOR, ROLLOUT_FORMAT, ROLLOUT_SCHEMA, RUN_COST_ATTR_KEYS, type RawAnalystEvidence, type RawAnalystFinding, type RawProviderDirection, type RawProviderEvent, type RawProviderSink, type RawProviderSinkFilter, type RecordRunsOptions, type RedTeamCase, type RedTeamCategory, type RedTeamFinding, type RedTeamPayload, type RedTeamReport, type RedactionReport, type RedactionRule, type ReferenceEquivalenceJudgeInput, type ReferenceEquivalenceJudgeOptions, type ReferenceEquivalenceJudgeResult, type ReferenceEquivalenceScenario, type ReferenceMatchResult, type ReferenceReplayAdapter, type ReferenceReplayAdapterFn, type ReferenceReplayAdapterLike, type ReferenceReplayAggregate, type ReferenceReplayCandidate, type ReferenceReplayCase, type ReferenceReplayCaseRun, type ReferenceReplayExecutionScenario, type ReferenceReplayItem, type ReferenceReplayMatch, type ReferenceReplayMatchStrategy, type ReferenceReplayMatcher, type ReferenceReplayPromotionDecision, type ReferenceReplayPromotionPolicy, type ReferenceReplayRun, type ReferenceReplayRunContext, type ReferenceReplayRunOptions, type ReferenceReplayRunStore, type ReferenceReplayScenario, type ReferenceReplayScenarioScore, type ReferenceReplayScore, type ReferenceReplayScoreOptions, type ReferenceReplaySplit, type ReferenceReplaySplitComparison, type ReferenceReplaySteeringRowsOptions, type ReflectionContext, type ReflectionProposal, type RegistryRunOpts, type ReleaseConfidenceAxis, type ReleaseConfidenceAxisName, type ReleaseConfidenceInput, type ReleaseConfidenceIssue, type ReleaseConfidenceMetrics, type ReleaseConfidenceScorecard, type ReleaseConfidenceStatus, type ReleaseConfidenceThresholds, type ReleaseTraceEvidence, type RenderReleaseReportOptions, type RepeatedActionOptions, ReplayCache, type ReplayCacheEntry, ReplayCacheMissError, type ReplayCacheStats, ReplayError, type ReplayFetchOptions, type RepoRef, type RequirementCheck, type ResearchReport, type ResearchReportCandidate, type ResearchReportDecision, type ResearchReportMethodology, type ResearchReportOptions, type ResearchReportRecommendation, type Researcher, type RetrievalSpan, type Review, type ReviewFn, type ReviewInput, type ReviewMemoryEntry, type ReviewMemoryStore, type ReviewerMemoryEntry, type ReviewerOutput, type ReviewerPromptInput, type ReviewerSoftFailDefaults, type ReviewerVerificationSummary, type RewardRow, type RiskDifferenceResult, type RobustnessResult, type RolloutCapture, type RolloutLine, type RolloutRole, type RolloutScrubber, type RolloutSplit, type RolloutStep, type RouteMap, type RoutedField, type RouterTransportOpts, type RubricDimension, type Run, type RunCommandInput, type RunCommandResult, type RunCompleteHook, type RunCompleteHookContext, type RunCostProvenance, RunCritic, type RunCriticOptions, type RunEvidenceMetadata, type RunFilter, RunIntegrityError, type RunIntegrityExpectations, type RunIntegrityIssue, type RunIntegrityIssueCode, type RunIntegrityReport, type RunJudgeMetadata, type RunLayer, type RunOutcome, type RunPaidCallInput, type RunRecord, type RunRecordBackend, type RunRecordFilter, RunRecordValidationError, type RunScore, type RunScoreWeights, type RunSplitTag, type RunStatus, type RunTokenUsage, type RunTrace, type RuntimeEventLike, type RuntimeResolution, type RuntimeTrajectoryEvidenceProjection, type RuntimeTrajectoryEvidenceSummary, type RuntimeTrajectoryHookEvent, type RuntimeTrajectoryRecord, type RuntimeTrajectoryRunRecord, SEMANTIC_CONCEPT_JUDGE_VERSION, SKILL_USAGE_ANALYST, SPAN_KIND_ATTR_KEYS, SUPERVISOR_RUN_SCHEMA, type SandboxDriver, SandboxHarness, type SandboxHarnessResult, type SandboxJudgeKind, type SandboxJudgeResult, type SandboxJudgeSpec, type SandboxPool, type SandboxResult, type SandboxSdkTransportOpts, type SandboxSpan, type SatisfiedBy, type ScanOptions, type Scenario$1 as Scenario, type ScenarioCost, type ScenarioFile, ScenarioRegistry, type ScenarioResult, type ScoreKnowledgeReadinessOptions, type Scorecard, type ScorecardCell, type ScorecardCellDiff, type ScorecardDiff, type ScorecardEntry, type ScorecardLogLine, type ScoredTarget, type SearchSpanResult, type SearchTraceResult, type SeatName, type SeatPresetName, SeatUnsetError, type SelfPlayOptions, type SelfPlayProposer, type SelfPlayScorer, type SelfPreferenceResult, type SemanticConceptJudgeInput, type SemanticConceptJudgeOptions, type SemanticConceptJudgeResult, type SequentialDecision, type SerializedRegex, type SeriesConvergenceOptions, type SeriesConvergenceResult, type Severity, type SftExportOptions, type SftRow, type SignTestAlternative, type SignedManifest, type SignedManifestAlgo, type SingleBackendDivergence, SingleBackendError, type SingleBackendField, type SingleBackendReport, SkillUsageAnalyst, type SliceOptions, type Slo, type SloCheckResult, type SloComparator, type SloReport, type SloSeverity, type SlopCategory, type SlotFactory, type SourceLimits, type Span, type SpanBase, type SpanFilter, type SpanHandle, type SpanKind, type SpanMatchRecord, SpanNotFoundError, type SpanPredicate, type SpanStatus, type SseUsageMode, type SteeringBundle, type SteeringChange, type SteeringDelta, type SteeringOptimizationResult, type SteeringOptimizationRow, type SteeringOptimizationSelector, type SteeringOptimizerBackend, type SteeringOptimizerConfig, type SteeringRolePrompt, type StepAttribution, type StopDecision, type StreamingDetector, type SuboptimalCode, type SuboptimalSignal, SubprocessSandboxDriver, type SubprocessSandboxDriverOptions, type SummaryTable, type SummaryTableOptions, type SummaryTableRow, type SupervisorRunReader, type SupervisorRunReport, type SupervisorRunRollup, type SupervisorRunSources, type SupervisorRunTree, type SynthesisReason, type SynthesisTarget, TOOL_ARGS_CAPTURED, TOOL_LATENCY_MS, TOOL_NAME, TOOL_NAME_ATTR_KEYS, TRACE_ANALYST_ACTOR_DESCRIPTION, TRACE_ANALYST_ACTOR_DESCRIPTION_VERSION, TRACE_ANALYST_TRUNCATION_MARKER_PREFIX, TRACE_SCHEMA_VERSION, type TaskGold, type TaskHeadroom, type TestGradedRunOptions, type TestGradedRunResult, type TestGradedScenario, type TestOutputParser, type TestResult, type TextMatcher, type ThresholdContract, TokenCounter, type TokenSpec, type ToolCallEventLike, type ToolDef, type ToolMatcher, type ToolSpan, type ToolSpanOtlpInput, type ToolStats, type ToolUseMetrics, type ToolUseOptions, type TraceAggregate, type TraceAnalysisStore, type TraceAnalystByteBudgets, type TraceAnalystFilters, type TraceAnalystGolden, type TraceAnalystHookOptions, type TraceAnalystKindSpec, type TraceAnalystSpan, type TraceAnalystSpanKind, type TraceAnalystSpanStatus, type TraceAnalystTraceSummary, type TraceContract, TraceContractBuilder, TraceEmitter, type TraceEmitterOptions, type TraceEvent, TraceFileMissingError, type TraceInsightContext, type TraceInsightFinding, type TraceInsightPanelRole, type TraceInsightPromptInput, type TraceInsightQualityGate, type TraceInsightQuestion, type TraceInsightReadiness, type TraceInsightSuite, type TraceInsightTask, TraceNotFoundError, type TraceStore, type TraceStoreSource, type TraceStoreToOtlpOptions, type TracedAnalystOptions, type TracedJudgeOptions, type TracesToOtlpResult, type Trajectory, type TrajectoryStep, type TreatmentClass, type TreatmentGate, type TreatmentGateInput, type TreatmentGateOptions, type TrialTrace, type Turn, type TurnMetrics, type TurnResult, UI_FINDING_SEVERITIES, UI_LENSES, UNIVERSAL_FINDERS, type UiFinding, type UiFindingScreenshot, type UiFindingSeverity, type UiLens, type Unavailable, type UserQuestion, type ValidationContext, ValidationError, type ValidationIssue, type ValidationResult, type VerbosityBiasResult, type Verdict, type VerdictCacheStats, type VerdictCacheStore, type Verification, VerificationError, type VerificationReport, type VerifyContext, type VerifyFn, type VerifyOptions, type ViewSpansResult, type ViewTraceOversized, type ViewTraceResult, type VisualDiffOptions, type VisualDiffResult, type ViteDeployRunnerInput, type WeightedCompositeInput, type WeightedCompositeResult, type WorkerDriverContext, type WorkflowTopology, type WorkspaceAssertion, type WorkspaceAssertionResult, type WorkspaceInspector, type WorkspaceSnapshot, type WranglerDeployRunnerInput, acquisitionPlansForKnowledgeGaps, adversarialJudge, agentProfileCellHashMaterial, agentProfileCellKey, agentProfileHash, agentProfileId, agentProfileModelId, agentVisibleFields, aggregateJudgeVerdicts, aggregateLlm, aggregatePrReviewScore, aggregateRunScore, allCriticalPassed, analyzeAntiSlop, analyzeSeries, analyzeSupervisorRun, analyzeSupervisorRunSources, analyzeTraces, appendScorecard, applyLlmSpanOtlpAttributes, applyToolSpanOtlpAttributes, argHash, asNumber, asString, assertCapabilityHeadroom, assertCrossFamily, assertLlmRoute, assertModelsServed, assertNoHiddenLeak, assertProductBenchmarkRun, assertRealAgentReceipts, assertRealBackend, assertReleaseConfidence, assertRolloutLine, assertRunAgentProfileCell, assertRunCaptured, assertSingleBackend, assignFeedbackSplit, assignHeldOutTag, attachCostToReport, attest, attributeCounterfactuals, backoffMs, deterministicSplit as benchmarkDeterministicSplit, index$1 as benchmarks, benjaminiHochberg, bisect, blendHeldout, blockingKnowledgeEval, bonferroni, bootstrapCi, buildAgentInterfaceProfileCell, buildAgentProfileCell, buildDefaultAnalystRegistry, buildDriverSystemPrompt, buildProductBenchmarkManifest, buildReflectionPrompt, buildReviewerPrompt, buildTraceAnalystTools, buildTraceInsightContext, buildTraceInsightPrompt, buildTrajectory, buildWorkerDriverSystemPrompt, byteLengthRange, cachedJudge, calibrateJudge, calibrateJudgeContinuous, callLlm, callLlmJson, canaryLeakView, canonicalJson, canonicalize, capabilityHeadroom, captureFetchToRawSink, causalAttribution, checkBehavioralCanary, checkCanaries, checkSlos, checkTraceContracts, clamp01, classifyFailure, classifyTreatment, claudeCodeSupervisorRunReader, cliffsDelta, clusteredPairedBinary, codeExecutionJudge, cohensD, coherenceJudge, collectionPreserved, commentsForSource, commitBisect, comparePairedArms, compareReferenceReplay, compareToBaseline, compilerJudge, completionVerdict, composeParsers, composeValidators, computeExperimentStats, computeFindingId, computeToolUseMetrics, computeTraceMetrics, confidenceInterval, containsAll, contentHash, contextInputTokens, continuousAgreement, contractJudge, controlFailureClassFromVerification, controlRunToFeedbackTrajectory, controlRunToRunRecord, convertTraceStoresToOtlp, corpusInterRaterAgreement, corpusInterRaterAgreementFromJudgeScores, costForTokenPricing, costForUsage, costReceiptFromLlm, costReceiptFromLlmError, costReport, createAnalystAi, createAntiSlopJudge, createChatClient, createCustomJudge, createDefaultReviewer, createDomainExpertJudge, createFeedbackTrajectory, createIntentMatchJudge, createLlmCorrectnessChecker, createLlmReviewer, createOtelExporter, createOtelTracingStore, createReferenceEquivalenceJudge, createReplayFetch, createSandboxPool, createSemanticConceptJudge, createTokenRecallChecker, createTraceAnalystKind, crossTraceDiff, crowdingDistance, dataDescriptionBits, decideNextUserTurn, decideReferenceReplayPromotion, decideReferenceReplayRunPromotion, defaultBlendWeights, defaultIsMaterial, defaultJudges, defaultProviderRedactor, defaultReferenceReplayMatcher, defaultTraceInsightPanel, deployGateLayer, describeTraceInsightScope, diffFindings, diffScorecard, discoverPersonas, distillPlaybook, domainEvidencePattern, dominates, eProcess, ensembleJudge, errorStreakDetector, estimateCost, estimateTokens, evaluateActionPolicy, evaluateContract, evaluateHypothesis, evaluateInterimReleaseConfidence, evaluateOracles, evaluateReleaseConfidence, evaluateTraceContract, executeScenario, expandProfileAxes, expectAgent, exportProductBenchmark, exportProductBenchmarkRuns, exportRewardModel, exportRunAsOtlp, extractAssetUrls, extractErrorCount, extractOtlpAttributes, extractProducedState, extractUsage, extractUsageFromResponse, extractUsageFromSse, feedbackTrajectoriesToDatasetScenarios, feedbackTrajectoriesToOptimizerRows, feedbackTrajectoryToDatasetScenario, feedbackTrajectoryToOptimizerRow, fileContains, fileExists, fileExperimentStore, fileVerdictCache, findAutoMatchNoExpectation, findConstructorCwdDropped, findFallbackToPass, findLiteralTruePass, findProductBenchmarkArtifacts, findSkipCountsAsPass, firstNumberAttr, firstStringAttr, flattenOtlpExportToNdjson, flowLayer, fnv1a32, formatBenchmarkReport, formatDriverReport, formatFindings, formatScorecardDiff, gainHistogram, gateTreatmentApplied, gateTreatmentFromMetrics, gateTreatmentFromSpans, gateTreatmentFromToolSpans, ghCliClient, gitProvenanceReader, precision as goldenPrecision, gradeOnHidden, gradeSemanticStatus, groupBy, groupRunsByAgentProfileCell, harnessAxisOf, hasCapturedToolArgs, hashContent, hashJson, hashScenarios, hashToUnit, hiddenGrade, holm, htmlContainsElement, httpGithubClient, improvementVerdict, inMemoryExperimentStore, inMemoryReferenceReplayStore, inMemoryReviewStore, inMemoryRunRecordBackend, inMemoryVerdictCache, inferDomainKeywords, inferOtlpKind, interRaterReliability, interpretCliffs, iqr, isHiddenDestination, isJudgeSpan, isLlmSpan, isModelPriced, isOtelConfigured, isRetrievalSpan, isRolloutLine, isRunRecord, isSandboxSpan, isToolSpan, isTrainableSplit, isTransientLlmError, isUnavailable, iterateRawCalls, jestTestParser, jsonHasKeys, jsonShape, jsonlReferenceReplayStore, jsonlReviewStore, jsonlRunRecordBackend, judgeFamily, judgeReplayGate, judgeSpans, keyPreserved, knowledgeReadinessTracePayload, leaderboard, linterJudge, llmJudge, llmSpanFromProvider, llmSpans, loadScorecard, loadScorerFromGrader, localCommandRunner, lowercaseMutator, makeEvalTools, makeFinding, mannWhitneyU, mapConcurrent, matchGoldens, matchSpan, maximumChargeForLlmRequest, mcnemar, mcnemarPower, mcnemarRequiredN, mergeLayerResults, mergeSteeringBundle, mintRolloutRows, modelDescriptionBits, modelHasSnapshot, modelPriceKey, mulberry32, multiToolchainLayer, noProgressDetector, normalizeScores, notBlocked, objectiveEval, observeAll, otelRunCompleteHook, otlpRowsToRunRecords, otlpRowsToTraceRunRecords, otlpToRunRecords, otlpToTraceRunRecords, pairArms, pairedBootstrap, pairedEvalueSequence, pairedMde, pairedRiskDifference, pairedSignTest, pairedTTest, paraphraseRobustness, paraphraseRobustnessScenarios, paretoChart, paretoFrontier, paretoFrontierWithCrowding, parseCorrectnessResponse, parseFeedbackTrajectoriesJsonl, parseReflectionResponse, parseRunRecordSafe, parseRuntimeTrajectoryHookEvent, partialCredit, partitionHeldOut, passAtK, passOrthogonality, pearsonR, pixelDeltaRatio, planTraceInsightQuestions, politenessPrefixMutator, positionalBias, preflightModels, printDriverSummary, probeLlm, productBenchmarkIntegrityFailures, productBenchmarkMutableSurfaces, productBenchmarkRepoIdentity, productBenchmarkSplits, index as profile, projectOtlpFlatLine, projectRuntimeTrajectoryEvidence, promptBisect, proposeSynthesisTargets, providerFromBaseUrl, pytestTestParser, ranks, readClaudeCodeSupervisorRun, readOtlpStatus, readProductBenchmarkManifest, readProductBenchmarkRecords, recordRuns, recordRunsToScorecard, redTeamDataset, redTeamReport, redactString, redactValue, referenceReplayRunsToSteeringRows, referenceReplayScenarioToRunScore, regexMatch, regexMatches, renderMarkdownReport, renderPlaybookMarkdown, renderPreferenceMemoryMarkdown, renderPriorFindings, renderReleaseReport, renderSteeringText, renderSupervisorRunHeadline, renderSupervisorRunMarkdown, renderUpstreamFindings, repeatedActionDetector, replayFeedbackTrajectories, replayFeedbackTrajectory, replayScorerOverCorpus, replayTraceThroughJudge, requireAgentProfileCell, requiredSampleSize, researchReport, resolveModelPricing, resolveRunCostProvenance, resolveSeat, rolloutReward, rollupSupervisorRuns, roundTripRunRecord, routeFields, rowCount, rowWhere, runAgentControlLoop, runAssertions, runBehavioralCanaries, runCanaries, runCounterfactual, runE2EWorkflow, runEvalCampaign, runExpectations, runFailureClass, runHarnessExperiment, runIntentMatchJudge, runJudgeFleet, runKeywordCoverageJudge, runKeywordCoverageJudgeUrl, runLiveProof, runProposeReview, runProposeReviewAsControlLoop, runRecordToProductBenchmarkRecord, runReferenceEquivalenceJudge, runReferenceReplay, runScore, runSelfPlay, runSemanticConceptJudge, runTestGradedScenario, runsForScenario, scalarScore, scanForMuffledGates, scoreContinuity, scoreFromEvals, scoreKnowledgeReadiness, scorePrReviewComments, scorePrReviewSource, scoreRedTeamOutput, scoreReferenceReplay, scoreTraceInsightReadiness, seatPresets, securityJudge, selectHarnessVariant, selfPreference, sentenceReorderMutator, serializeFeedbackTrajectoriesJsonl, showMeasured, signManifest, spearmanR, statusAdvanced, stopOnNoProgress, stopOnRepeatedAction, stringField, stripFencedJson, subjectiveEval, summarizeAgentReceiptIntegrity, summarizeBackendIntegrity, summarizeHarnessResults, summarizePrReviewBenchmark, summarizePreferenceMemory, summaryTable, supervisorRunRolloutLines, testJudge, textInSnapshot, throwIfRunIncomplete, toAgentProfileJson, toJsonl, toLangfuseEnvelope, toOpenAiTool, toPrometheusText, toRewardRows, toSftRows, tokenizeDomainWords, toolNamesForRun, toolSpans, traceAnalystFunctionGroup, traceAnalystOnRunComplete, traceContract, traceJudge, traceJudgeEnsemble, traceSpanKindToOpenInferenceKind, tracedAnalyzeTraces, typoMutator, urlContains, userQuestionsForKnowledgeGaps, validateAgentProfileCell, validateProductBenchmarkManifest, validateProductBenchmarkRecord, validateProductBenchmarkRun, validateRolloutLine, validateRunRecord, verbosityBias, verifyAgentProfileCell, verifyAttestation, verifyCompletion, verifyManifest, visualDiff, viteDeployRunner, vitestTestParser, weightedComposite, weightedMean, weightedRecall, welchsTTest, whitespaceCollapseMutator, wilcoxonSignedRank, wilson, withAssignedFeedbackSplit, withHeldoutBlend, withJudgeRetry, withOtelPipeline, wranglerDeployRunner, writeSupervisorRunReport };
|
|
17190
|
+
export { AGENT_PROFILE_KINDS, ATTESTATION_ALGORITHM, type ActionExecutionPolicy, type ActionPolicyDecision, type ActionableSideInfo, type ActiveLearningOptions, type AdapterRun, AgentDriver, type AgentDriverConfig, AgentEvalError, type AgentEvalErrorCode, type AgentInterfaceProfileLike, type AgentProfileCell, type AgentProfileCellInput, type AgentProfileCellSchemaVersion, AgentProfileCellValidationError, type AgentProfileDimensionValue, type AgentProfileHarness, type AgentProfileJson, type AgentProfileJsonObject, type AgentProfileKind, type AgentProfileRuntimeReceipt, type AgentProfileSource, type AgentProfileSourceInput, type AlignmentOp, type Analyst, type AnalystContext, type AnalystCost, type AnalystFinding, type AnalystHooks, type AnalystInputKind, AnalystRegistry, type AnalystRegistryOptions, type AnalystRequirements, type AnalystRunEvent, type AnalystRunInputs, type AnalystRunResult, type AnalystRunSummary, type AnalystSeverity, type AnalystUsageReceipt, type AnalyzeTracesInput, type AnalyzeTracesOptions, type AnalyzeTracesResult, type AnalyzeTracesTurnSnapshot, type AntiSlopConfig, type AntiSlopIssue, type AntiSlopReport, type Artifact$1 as Artifact, type ArtifactCheck, type Artifact as ArtifactCheckArtifact, type ArtifactEventLike, type ArtifactResult, type ArtifactValidator, type AsiSeverity, type AssertCapabilityHeadroomOptions, type AssertCrossFamilyOptions, type AssertSingleBackendOptions, type AttestationProvenance, type AttestationVerification, type AttestedReport, type AutoPrClient, AxGepaSteeringOptimizer, type AxSteeringOptimizerConfig, BENCHMARK_SPLIT_SEED, type BackendDescriptor, BackendIntegrityError, type BackendIntegrityReport, type BaselineOptions, type BaselineReport, BehaviorAssertion, type BehavioralMetrics, type BehavioralTokenSequence, type BenchmarkAdapter, type BenchmarkDatasetItem, type BenchmarkEvaluation, type BenchmarkFamily, type BenchmarkReport$1 as BenchmarkReport, type BenchmarkResponder, BenchmarkRunner, type BenchmarkRunnerConfig, type BenchmarkScenario, type BenchmarkSource, type BenchmarkTaskKind, type BisectOptions, type BisectResult, type BisectStep, type BlendWeights, type BootstrapOptions, type BootstrapResult, BudgetBreachError, BudgetGuard, type BudgetLedgerEntry, type BudgetPolicy, type BudgetSpec, CODING_HARNESSES, type CachedJudge, type CachedJudgeOptions, type CalibrationResult, CallExpectation, CallbackResearcher, type CallbackResearcherOptions, type CampaignFactoryParams, type CampaignIntegrityPolicy, type CampaignRunContext, type CampaignRunOutcome, type CampaignRunner, type CampaignScenario, type CampaignVariant, type CanaryAlert, type CanaryEvaluation, type CanaryKind, type CanaryLeak, type CanaryOptions, type CanaryReport, type CanarySeverity, type CandidateComparison, type CandidateScenario, type CandidateScore, type CanonicalRawAnalystFinding, type CapabilityHeadroomOptions, type CapabilityHeadroomResult, type CaptureFetchContext, type CaptureFetchOptions, CaptureIntegrityError, type CausalAttributionReport, type CellVerdict, type ChannelRollup, type ChatCallOpts, type ChatClient, type ChatMessage, type ChatRequest, type ChatResponse, type ChatToolCall, type ChatTransport, type CheckResult, type CliBridgeTransportOpts, type CliffsMagnitude, type ClusterBootstrapInterval, type ClusterSignFlipAlternative, type ClusterSignFlipResult, type ClusteredBinaryCluster, type ClusteredMatchedPair, type ClusteredPairedBinaryOptions, type ClusteredPairedBinaryResult, type ClusteredPairedBinaryStatistics, type CollectedArtifacts, type CommandRunner, type ComparePairedArmsOptions, type CompletionCriterion, type CompletionRequirement, type CompletionVerdict, type ConceptComplexity, type ConceptFinding, type ConceptSpec, type ConceptWeightStrategy, ConfigError, type ContinuityCheck, type ContinuityCheckResult, type ContinuityReport, type ContinuitySnapshotPair, type ContinuousAgreement, type ContinuousAgreementOptions, type ContinuousCalibrationResult, type ContractCheckResult, type ContractJudgeOptions, type ContractMetric, type ContractReport, type ContractRule, type ContractRuleKind, type ContractSpan, type ContractVerdict, type ContractViolation, type ControlActionFailureMode, type ControlActionOutcome, type ControlBudget, type ControlContext, type ControlDecision, type ControlEvalResult, type ControlRunResult, type ControlRunToRunRecordOptions, type ControlRuntimeConfig, type ControlRuntimeError, type ControlSeverity, type ControlStep, type ControlStopPolicies, ConvergenceTracker, type CorpusAgreementOptions, type CorpusAgreementPerDimension, type CorpusAgreementReport, type CorpusScoreRecord, type CorrectnessChecker, CostAccountingIncompleteError, CostCallConflictError, CostCeilingReachedError, type CostChannel, type CostEntry, CostLedger, type CostLedgerEntry, type CostLedgerFilter, type CostLedgerHandle, type CostLedgerOptions, type CostLedgerPersistence, CostLedgerPersistenceError, type CostLedgerSummary, type CostReceipt, CostReceiptCaptureError, type CostReceiptInput, type CostReport, CostReservationExceededError, type CostResult, type CostSummary, CostTracker, type CostUsage, type CounterfactualContext, type CounterfactualMutation, type CounterfactualResult, type CounterfactualRunner, type CreateAnalystAiConfig, type CreateChatClientOpts, type CreateDefaultReviewerOptions, type CreateExperimentInput, type CreateSandboxPoolOpts, type CreateTraceAnalystKindOpts, CrossFamilyError, type CrossTraceDiff, type CrossTraceDiffOptions, type CustomTokenPricing, DEFAULT_AGENT_SLOS, DEFAULT_COMPLEXITY_WEIGHTS, DEFAULT_RULES as DEFAULT_FAILURE_RULES, DEFAULT_FINDERS, DEFAULT_HARNESS_OBJECTIVES, DEFAULT_MUTATION_PRIMITIVES, DEFAULT_MUTATORS, DEFAULT_PR_REVIEW_SCORE_WEIGHTS, DEFAULT_REDACTION_RULES, DEFAULT_RED_TEAM_CORPUS, DEFAULT_RUN_SCORE_WEIGHTS, DEFAULT_SEVERITY_WEIGHTS, DEFAULT_TRACE_ANALYST_BUDGETS, DEFAULT_TRACE_ANALYST_KINDS, type DataAcquisitionPlan, Dataset, type DatasetDifficulty, type DatasetManifest, type DatasetOverview, type DatasetProvenance, type DatasetScenario, type DatasetSplit, type DecideNextUserTurnOpts, type DefaultAnalystRegistryOptions, type DefaultVerdict, type DeployFamily, type DeployGateLayerInput, type DeployRunResult, type DeployRunner, type DescriptionLengthCandidate, type DescriptionLengthConfig, type DescriptionLengthDecision, type DescriptionLengthEvidence, DescriptionLengthGate, type DescriptionLengthRejectionCode, type DetectorEvent, type DetectorSeverity, type DetectorSignal, type DiffPolicy, type DiffScorecardOptions, type DirEntry, type DirectProviderTransportOpts, type Direction, type DiscoverPersonasOptions, type DiscoveredPersona, DockerSandboxDriver, type DriverResult, type DriverState, DualAgentBench, type DualAgentBenchConfig, type DualAgentReport, type DualAgentRound, type DualAgentScenario, type DualAgentScenarioResult, type EProcess, type EProcessOptions, type EProcessState, type EProcessStep, ERROR_COUNT_PATTERNS, type EnsembleAggregate, type EnsembleJudgeOptions, type ErrorCluster, type ErrorCountPattern, type ErrorStreakOptions, type EvalCampaignOptions, type EvalCampaignResult, type EvalResult, type EvalToolDef, EvalTraceStore, type EventFilter, type EventKind, type EvidenceRef, type EvolutionRound, type ExecutorConfig, type Expectation, type Experiment, type ExperimentPlan, type ExperimentProvenance, type ExperimentRep, type ExperimentResult, type ExperimentStats, type ExperimentStore, ExperimentTracker, type ExperimentTrackerOptions, type ExperimentVerdict, type ExportableSpan, type ExportedRewardModel, type ExtractOptions, type ExtractResult, type ExtractUsageFromSseOptions, type ExtractedUsage, FAILURE_CLASSES, FAILURE_MODE_KIND_SPEC, type FactorContribution, type FactorialCell, type FailedRun, type FailureClass, type FailureClassification, type FailureContext, type FailureMode, type FailureRule, type FeedbackArtifactType, type FeedbackAttempt, type FeedbackLabel, type FeedbackLabelKind, type FeedbackLabelSource, type FeedbackOptimizerRow, type FeedbackOutcome, type FeedbackPattern, type FeedbackReplayAdapter, type FeedbackReplayResult, type FeedbackSeverity, type FeedbackSplitPolicy, type FeedbackTask, type FeedbackTrajectory, type FeedbackTrajectoryFilter, type FeedbackTrajectoryStore, type FieldDestination, type FileChange, FileSystemFeedbackTrajectoryStore, FileSystemRawProviderSink, type FileSystemRawProviderSinkOptions, FileSystemTraceStore, type FileSystemTraceStoreOptions, type Finding, type FindingSubject, type FindingSubjectKind, type FindingsDiff, FindingsStore, type FlattenOtlpOptions, type FlowAction, type FlowLayerEnv, type FlowLayerFactoryInput, type FlowRunner, type FlowRunnerStepResult, type FlowSpec, type FlowStep, type GainDistributionBin, type GainDistributionFigureSpec, type GainDistributionOptions, type GateDecision$1 as GateDecision, type GateEvidence, type GenericSpan, type GhCliClientOptions, type GoldenItem, type GoldenSeverity, type GoldenSpec, HARNESS_NATIVE_MODEL, type HarnessAdapter, type HarnessConfig, type HarnessExperimentConfig, type HarnessExperimentResult, type HarnessIntervention, type HarnessRunRequest, type HarnessRunResult, type HarnessScenario, type HarnessSelection, type HarnessVariant, type HarnessVariantReport, type HeadroomClass, type HeadroomInput, HeldOutGate, type HeldOutGateConfig, type HeldOutGateRejectionCode, type HeldOutPartition, type HiddenCriteriaGrader, type HiddenGradeResult, type HiddenLeak, HoldoutAuditor, HoldoutLockedError, type HttpGithubClientOptions, type HypothesisManifest, type HypothesisResult, IMPROVEMENT_KIND_SPEC, INPUT_VALUE, INTENT_MATCH_JUDGE_VERSION, type ImageData, type ImprovementThresholds, type ImprovementVerdictResult, InMemoryFeedbackTrajectoryStore, InMemoryRawProviderSink, type InMemoryRawProviderSinkOptions, InMemoryTraceStore, InMemoryWorkspaceInspector, type InferenceScorer, type InspectorContext, type IntentMatchInput, type IntentMatchOptions, type IntentMatchResult, type InteractionContribution, type InterimReleaseConfidence, type InterimReleaseConfidenceInput, type JudgeConfig$1 as JudgeConfig, JudgeError, type JudgeFamily, type JudgeFleetOptions, type JudgeFn, type JudgeInput, JudgeParseError, type JudgeReplayGateArgs, type JudgeReplayResult, type JudgeRetryOutcome, type JudgeRetryPolicy, type JudgeRubric, JudgeRunner, type JudgeScore$1 as JudgeScore, type JudgeScoreInput, type JudgeScoresRecord, type JudgeSpan, type JudgeVerdict, KNOWLEDGE_GAP_KIND_SPEC, KNOWLEDGE_POISONING_KIND_SPEC, type KeywordConceptSpec, type KeywordCoverageFinding, type KeywordCoverageOptions, type KeywordCoverageResult, type KnowledgeAcquisitionMode, type KnowledgeBundle, type KnowledgeFallbackPolicy, type KnowledgeFreshness, type KnowledgeImportance, type KnowledgeReadinessReport, type KnowledgeRecommendedAction, type KnowledgeRequirement, type KnowledgeRequirementCategory, type KnowledgeResponsibleSurface, type KnowledgeSensitivity, LLM_CACHED_TOKENS, LLM_CACHED_TOKEN_ATTR_KEYS, LLM_CACHE_WRITE_TOKENS, LLM_CACHE_WRITE_TOKEN_ATTR_KEYS, LLM_CONTEXT_TOKENS, LLM_COST_ATTR_KEYS, LLM_COST_USD, LLM_INPUT_TOKENS, LLM_INPUT_TOKEN_ATTR_KEYS, LLM_MODEL_ATTR_KEYS, LLM_MODEL_NAME, LLM_OUTPUT_TOKENS, LLM_OUTPUT_TOKEN_ATTR_KEYS, LLM_REASONING_TOKENS, LLM_REASONING_TOKEN_ATTR_KEYS, type LangfuseEnvelope, type LangfuseGeneration, type LangfuseScore, type Layer, type LayerResult, type LayerStatus, type LeaderboardOptions, type LeaderboardRow, type LiveProofArtifact, type LiveProofConfig, type LiveProofContext, type LiveProofResult, LlmCallError, type LlmCallMetadata, type LlmCallRequest, type LlmCallResult, LlmClient, type LlmClientOptions, type LlmCorrectnessCheckerOpts, type LlmJsonCall, type LlmJudgeDimension, type LlmJudgeOptions, type LlmMessage, LlmResponseError, type LlmReviewerConfig, LlmRouteAssertionError, type LlmRouteRequirements, type LlmSpan, type LlmSpanOtlpInput, type LlmUsage, LockedJsonlAppender, MODEL_PRICING, type MakeEvalToolsConfig, type MatchResult, type MatchedPair, type MatchedRunRecordPair, type MatcherResult, type MaximumCharge, type McNemarResult, type Measured, type MeasurementPolicy, type MergeOptions, type Message, type MetricSamples, type MetricVerdict, MetricsCollector, type MintRolloutOptions, type MintRolloutResult, type MockTransportOpts, type ModelCostRollup, type ModelPreflight, type ModelSeats, ModelsUnreachableError, type MuffledFinder, type MuffledFinding, MultiLayerVerifier, type MultiToolchainLayerConfig, type Mutator, Mutex, type NoLeakOptions, type NoProgressOptions, NoopRawProviderSink, NoopResearcher, NotFoundError, OPENINFERENCE_SPAN_KIND, OTEL_AGENT_EVAL_SCOPE, OUTPUT_VALUE, type Objective, type Oracle, type OracleObservation, type OracleReport, type OracleResult, type OrthogonalityInput, type OrthogonalityResult, type OtelExportConfig, type OtelExporter, type OtelPipelineHandle, type OtelPipelineOptions, type OtlpExport, OtlpFileTraceStore, type OtlpFileTraceStoreOptions, type OtlpFlatLine, type OtlpResourceSpans, type OtlpSpan, type OtlpSpanRole, type OtlpSpanRoleInput, type OtlpToRunRecordsOptions, type OtlpTraceRunRecord, type PaidCallResult, type PairArmsOptions, type PairArmsResult, type PairRunRecordsResult, type PairedArmRow, type PairedArmsComparison, type PairedBootstrapOptions, type PairedBootstrapResult, type PairedCorrectness, type PairedEvalueOptions, type PairedEvalueSequence, type PairedEvalueStep, type PairedMetricDelta, type PairedSignTestResult, PairwiseSteeringOptimizer, type ParaphraseRobustnessScenarioInput, type ParaphraseRobustnessScenarioResult, type ParetoFigureSpec, type ParetoPoint, type ParetoResult, type PartitionHeldOutOptions, type PendingCostCall, type PendingCostCallView, type PersistedFinding, type PersonaConfig, type PersonaRigor, type Playbook, type PlaybookEntry, type PoolSlot, type PositionalBiasResult, type PrReviewAuditCase, type PrReviewBenchmarkSummary, type PrReviewComment, type PrReviewMatchedFinding, type PrReviewOutcome, type PrReviewReferenceFinding, type PrReviewScore, type PrReviewScoreWeights, type PrReviewSeverity, type PrReviewSource, type PreferenceMemoryEntry, type PreflightModelsOptions, type PreflightOutcome, type ProducedProposal, type ProducedState, type ProductBenchmarkArm, type ProductBenchmarkArtifactPaths, type ProductBenchmarkBudgets, type ProductBenchmarkExportOptions, type ProductBenchmarkExportResult, type ProductBenchmarkManifest, type ProductBenchmarkProfileRef, type ProductBenchmarkRecord, type ProductBenchmarkRepoRef, type ProductBenchmarkRunInput, type ProductBenchmarkScenario, type ProductBenchmarkSingleRunExportOptions, type ProductBenchmarkSplit, type ProductBenchmarkSubstrateVersions, type ProductBenchmarkValidationReport, ProductClient, type ProductClientConfig, type ProfileAxisSpec, type ProjectRuntimeTrajectoryEvidenceOptions, type ProjectedOtlpSpan, type PromptHandle, PromptRegistry, type ProportionInterval, type ProposalEventLike, type ProposeAutomatedPullRequestInput, type ProposeAutomatedPullRequestResult, type ProposeFn, type ProposeInput, type ProposeOutput, type ProposeReviewConfig, type ProposeReviewControlAction, type ProposeReviewControlConfig, type ProposeReviewControlResult, type ProposeReviewControlState, type ProposeReviewReport, type ProposeReviewShot, type ProposedSideEffect, type ProvenanceReader, type ProviderRedactor, type QueryTracesPage, REDACTION_VERSION, REFERENCE_EQUIVALENCE_INPUT_LIMITS, REFERENCE_EQUIVALENCE_JUDGE_VERSION, RESEARCH_REPORT_HARD_PAIR_FLOOR, ROLLOUT_SCHEMA, RUN_COST_ATTR_KEYS, type RawAnalystEvidence, type RawAnalystFinding, type RawProviderDirection, type RawProviderEvent, type RawProviderSink, type RawProviderSinkFilter, type RecordRunsOptions, type RedTeamCase, type RedTeamCategory, type RedTeamFinding, type RedTeamPayload, type RedTeamReport, type RedactionReport, type RedactionRule, type ReferenceEquivalenceJudgeInput, type ReferenceEquivalenceJudgeOptions, type ReferenceEquivalenceJudgeResult, type ReferenceEquivalenceScenario, type ReferenceMatchResult, type ReferenceReplayAdapter, type ReferenceReplayAdapterFn, type ReferenceReplayAdapterLike, type ReferenceReplayAggregate, type ReferenceReplayCandidate, type ReferenceReplayCase, type ReferenceReplayCaseRun, type ReferenceReplayExecutionScenario, type ReferenceReplayItem, type ReferenceReplayMatch, type ReferenceReplayMatchStrategy, type ReferenceReplayMatcher, type ReferenceReplayPromotionDecision, type ReferenceReplayPromotionPolicy, type ReferenceReplayRun, type ReferenceReplayRunContext, type ReferenceReplayRunOptions, type ReferenceReplayRunStore, type ReferenceReplayScenario, type ReferenceReplayScenarioScore, type ReferenceReplayScore, type ReferenceReplayScoreOptions, type ReferenceReplaySplit, type ReferenceReplaySplitComparison, type ReferenceReplaySteeringRowsOptions, type ReflectionContext, type ReflectionProposal, type RegistryRunOpts, type ReleaseConfidenceAxis, type ReleaseConfidenceAxisName, type ReleaseConfidenceInput, type ReleaseConfidenceIssue, type ReleaseConfidenceMetrics, type ReleaseConfidenceScorecard, type ReleaseConfidenceStatus, type ReleaseConfidenceThresholds, type ReleaseTraceEvidence, type RenderReleaseReportOptions, type RepeatedActionOptions, ReplayCache, type ReplayCacheEntry, ReplayCacheMissError, type ReplayCacheStats, ReplayError, type ReplayFetchOptions, type RepoRef, type RequirementCheck, type ResearchReport, type ResearchReportCandidate, type ResearchReportDecision, type ResearchReportMethodology, type ResearchReportOptions, type ResearchReportRecommendation, type Researcher, type RetrievalSpan, type Review, type ReviewFn, type ReviewInput, type ReviewMemoryEntry, type ReviewMemoryStore, type ReviewerMemoryEntry, type ReviewerOutput, type ReviewerPromptInput, type ReviewerSoftFailDefaults, type ReviewerVerificationSummary, type RewardRow, type RiskDifferenceResult, type RobustnessResult, type RolloutCapture, type RolloutLine, type RolloutRole, type RolloutScrubber, type RolloutSplit, type RolloutStep, type RouteMap, type RoutedField, type RouterTransportOpts, type RubricDimension, type Run, type RunCommandInput, type RunCommandResult, type RunCompleteHook, type RunCompleteHookContext, type RunCostProvenance, RunCritic, type RunCriticOptions, type RunEvidenceMetadata, type RunFilter, RunIntegrityError, type RunIntegrityExpectations, type RunIntegrityIssue, type RunIntegrityIssueCode, type RunIntegrityReport, type RunJudgeMetadata, type RunLayer, type RunOutcome, type RunPaidCallInput, type RunRecord, type RunRecordBackend, type RunRecordFilter, RunRecordValidationError, type RunScore, type RunScoreWeights, type RunSplitTag, type RunStatus, type RunTaskFailure, type RunTerminalOutcome, type RunTokenUsage, type RunTrace, type RuntimeEventLike, type RuntimeResolution, type RuntimeTrajectoryEvidenceProjection, type RuntimeTrajectoryEvidenceSummary, type RuntimeTrajectoryHookEvent, type RuntimeTrajectoryRecord, type RuntimeTrajectoryRunRecord, SEMANTIC_CONCEPT_JUDGE_VERSION, SKILL_USAGE_ANALYST, SPAN_KIND_ATTR_KEYS, SUPERVISOR_RUN_SCHEMA, type SandboxDriver, SandboxHarness, type SandboxHarnessResult, type SandboxJudgeKind, type SandboxJudgeResult, type SandboxJudgeSpec, type SandboxPool, type SandboxResult, type SandboxSdkTransportOpts, type SandboxSpan, type SatisfiedBy, type ScanOptions, type Scenario$1 as Scenario, type ScenarioCost, type ScenarioFile, ScenarioRegistry, type ScenarioResult, type ScoreKnowledgeReadinessOptions, type Scorecard, type ScorecardCell, type ScorecardCellDiff, type ScorecardDiff, type ScorecardEntry, type ScorecardLogLine, type ScoredTarget, type SearchSpanResult, type SearchTraceResult, type SeatName, type SeatPresetName, SeatUnsetError, type SelfPlayOptions, type SelfPlayProposer, type SelfPlayScorer, type SelfPreferenceResult, type SemanticConceptJudgeInput, type SemanticConceptJudgeOptions, type SemanticConceptJudgeResult, type SequentialDecision, type SerializedRegex, type SeriesConvergenceOptions, type SeriesConvergenceResult, type Severity, type SftExportOptions, type SftRow, type SignTestAlternative, type SignedManifest, type SignedManifestAlgo, type SingleBackendDivergence, SingleBackendError, type SingleBackendField, type SingleBackendReport, SkillUsageAnalyst, type SliceOptions, type Slo, type SloCheckResult, type SloComparator, type SloReport, type SloSeverity, type SlopCategory, type SlotFactory, type SourceLimits, type Span, type SpanBase, type SpanFilter, type SpanHandle, type SpanKind, type SpanMatchRecord, SpanNotFoundError, type SpanPredicate, type SpanStatus, type SseUsageMode, type SteeringBundle, type SteeringChange, type SteeringDelta, type SteeringOptimizationResult, type SteeringOptimizationRow, type SteeringOptimizationSelector, type SteeringOptimizerBackend, type SteeringOptimizerConfig, type SteeringRolePrompt, type StepAttribution, type StopDecision, type StreamingDetector, type SuboptimalCode, type SuboptimalSignal, SubprocessSandboxDriver, type SubprocessSandboxDriverOptions, type SummaryTable, type SummaryTableOptions, type SummaryTableRow, type SupervisorRunReader, type SupervisorRunReport, type SupervisorRunRollup, type SupervisorRunSources, type SupervisorRunTree, type SynthesisReason, type SynthesisTarget, TOOL_ARGS_CAPTURED, TOOL_LATENCY_MS, TOOL_NAME, TOOL_NAME_ATTR_KEYS, TRACE_ANALYST_ACTOR_DESCRIPTION, TRACE_ANALYST_ACTOR_DESCRIPTION_VERSION, TRACE_ANALYST_TRUNCATION_MARKER_PREFIX, TRACE_SCHEMA_VERSION, type TaskGold, type TaskHeadroom, type TestGradedRunOptions, type TestGradedRunResult, type TestGradedScenario, type TestOutputParser, type TestResult, type TextMatcher, type ThresholdContract, TokenCounter, type TokenSpec, type ToolCallEventLike, type ToolDef, type ToolMatcher, type ToolSpan, type ToolSpanOtlpInput, type ToolStats, type ToolUseMetrics, type ToolUseOptions, type TraceAggregate, type TraceAnalysisStore, type TraceAnalystByteBudgets, type TraceAnalystFilters, type TraceAnalystGolden, type TraceAnalystHookOptions, type TraceAnalystKindSpec, type TraceAnalystSpan, type TraceAnalystSpanKind, type TraceAnalystSpanStatus, type TraceAnalystTraceSummary, type TraceContract, TraceContractBuilder, TraceEmitter, type TraceEmitterOptions, type TraceEvent, TraceFileMissingError, type TraceInsightContext, type TraceInsightFinding, type TraceInsightPanelRole, type TraceInsightPromptInput, type TraceInsightQualityGate, type TraceInsightQuestion, type TraceInsightReadiness, type TraceInsightSuite, type TraceInsightTask, TraceNotFoundError, type TraceStore, type TraceStoreSource, type TraceStoreToOtlpOptions, type TracedAnalystOptions, type TracedJudgeOptions, type TracesToOtlpResult, type Trajectory, type TrajectoryStep, type TreatmentClass, type TreatmentGate, type TreatmentGateInput, type TreatmentGateOptions, type TrialTrace, type Turn, type TurnMetrics, type TurnResult, UI_FINDING_SEVERITIES, UI_LENSES, UNIVERSAL_FINDERS, type UiFinding, type UiFindingScreenshot, type UiFindingSeverity, type UiLens, type Unavailable, type UserQuestion, type ValidationContext, ValidationError, type ValidationIssue, type ValidationResult, type VerbosityBiasResult, type Verdict, type VerdictCacheStats, type VerdictCacheStore, type Verification, VerificationError, type VerificationReport, type VerifyContext, type VerifyFn, type VerifyOptions, type ViewSpansResult, type ViewTraceOversized, type ViewTraceResult, type VisualDiffOptions, type VisualDiffResult, type ViteDeployRunnerInput, type WeightedCompositeInput, type WeightedCompositeResult, type WorkerDriverContext, type WorkflowTopology, type WorkspaceAssertion, type WorkspaceAssertionResult, type WorkspaceInspector, type WorkspaceSnapshot, type WranglerDeployRunnerInput, acquisitionPlansForKnowledgeGaps, adversarialJudge, agentProfileCellHashMaterial, agentProfileCellKey, agentProfileHash, agentProfileId, agentProfileModelId, agentVisibleFields, aggregateJudgeVerdicts, aggregateLlm, aggregatePrReviewScore, aggregateRunScore, allCriticalPassed, analyzeAntiSlop, analyzeSeries, analyzeSupervisorRun, analyzeSupervisorRunSources, analyzeTraces, appendScorecard, applyLlmSpanOtlpAttributes, applyToolSpanOtlpAttributes, argHash, asNumber, asString, assertCapabilityHeadroom, assertCrossFamily, assertLlmRoute, assertModelsServed, assertNoHiddenLeak, assertProductBenchmarkRun, assertRealAgentReceipts, assertRealBackend, assertReleaseConfidence, assertRolloutLine, assertRunAgentProfileCell, assertRunCaptured, assertSingleBackend, assignFeedbackSplit, assignHeldOutTag, attachCostToReport, attest, attributeCounterfactuals, backoffMs, deterministicSplit as benchmarkDeterministicSplit, index$1 as benchmarks, benjaminiHochberg, bisect, blendHeldout, blockingKnowledgeEval, bonferroni, bootstrapCi, buildAgentInterfaceProfileCell, buildAgentProfileCell, buildDefaultAnalystRegistry, buildDriverSystemPrompt, buildProductBenchmarkManifest, buildReflectionPrompt, buildReviewerPrompt, buildTraceAnalystTools, buildTraceInsightContext, buildTraceInsightPrompt, buildTrajectory, buildWorkerDriverSystemPrompt, byteLengthRange, cachedJudge, calibrateJudge, calibrateJudgeContinuous, callLlm, callLlmJson, canaryLeakView, canonicalJson, canonicalize, capabilityHeadroom, captureFetchToRawSink, causalAttribution, checkBehavioralCanary, checkCanaries, checkSlos, checkTraceContracts, clamp01, classifyFailure, classifyOtlpSpanRole, classifyTreatment, claudeCodeSupervisorRunReader, cliffsDelta, clusteredPairedBinary, codeExecutionJudge, cohensD, coherenceJudge, collectionPreserved, commentsForSource, commitBisect, comparePairedArms, compareReferenceReplay, compareToBaseline, compilerJudge, completionVerdict, composeParsers, composeValidators, computeExperimentStats, computeFindingId, computeToolUseMetrics, computeTraceMetrics, confidenceInterval, containsAll, contentHash, contextInputTokens, continuousAgreement, contractJudge, controlFailureClassFromVerification, controlRunToFeedbackTrajectory, controlRunToRunRecord, convertTraceStoresToOtlp, corpusInterRaterAgreement, corpusInterRaterAgreementFromJudgeScores, costForTokenPricing, costForUsage, costReceiptFromLlm, costReceiptFromLlmError, costReport, createAnalystAi, createAntiSlopJudge, createChatClient, createCustomJudge, createDefaultReviewer, createDomainExpertJudge, createFeedbackTrajectory, createIntentMatchJudge, createLlmCorrectnessChecker, createLlmReviewer, createOtelExporter, createOtelTracingStore, createReferenceEquivalenceJudge, createReplayFetch, createSandboxPool, createSemanticConceptJudge, createTokenRecallChecker, createTraceAnalystKind, crossTraceDiff, crowdingDistance, dataDescriptionBits, decideNextUserTurn, decideReferenceReplayPromotion, decideReferenceReplayRunPromotion, defaultBlendWeights, defaultIsMaterial, defaultJudges, defaultProviderRedactor, defaultReferenceReplayMatcher, defaultTraceInsightPanel, deployGateLayer, describeTraceInsightScope, diffFindings, diffScorecard, discoverPersonas, distillPlaybook, domainEvidencePattern, dominates, eProcess, ensembleJudge, errorStreakDetector, estimateCost, estimateTokens, evaluateActionPolicy, evaluateContract, evaluateHypothesis, evaluateInterimReleaseConfidence, evaluateOracles, evaluateReleaseConfidence, evaluateTraceContract, executeScenario, expandProfileAxes, expectAgent, exportProductBenchmark, exportProductBenchmarkRuns, exportRewardModel, exportRunAsOtlp, extractAssetUrls, extractErrorCount, extractOtlpAttributes, extractProducedState, extractUsage, extractUsageFromResponse, extractUsageFromSse, feedbackTrajectoriesToDatasetScenarios, feedbackTrajectoriesToOptimizerRows, feedbackTrajectoryToDatasetScenario, feedbackTrajectoryToOptimizerRow, fileContains, fileExists, fileExperimentStore, fileVerdictCache, findAutoMatchNoExpectation, findConstructorCwdDropped, findFallbackToPass, findLiteralTruePass, findProductBenchmarkArtifacts, findSkipCountsAsPass, firstNumberAttr, firstStringAttr, flattenOtlpExportToNdjson, flowLayer, fnv1a32, formatBenchmarkReport, formatDriverReport, formatFindings, formatScorecardDiff, gainHistogram, gateTreatmentApplied, gateTreatmentFromMetrics, gateTreatmentFromSpans, gateTreatmentFromToolSpans, ghCliClient, gitProvenanceReader, precision as goldenPrecision, gradeOnHidden, gradeSemanticStatus, groupBy, groupRunsByAgentProfileCell, harnessAxisOf, hasCapturedToolArgs, hashContent, hashJson, hashScenarios, hashToUnit, hiddenGrade, holm, htmlContainsElement, httpGithubClient, improvementVerdict, inMemoryExperimentStore, inMemoryReferenceReplayStore, inMemoryReviewStore, inMemoryRunRecordBackend, inMemoryVerdictCache, inferDomainKeywords, inferOtlpKind, interRaterReliability, interpretCliffs, iqr, isHiddenDestination, isJudgeSpan, isLlmSpan, isModelPriced, isOtelConfigured, isOtlpModelCall, isRetrievalSpan, isRolloutLine, isRunRecord, isSandboxSpan, isToolSpan, isTrainableSplit, isTransientLlmError, isUnavailable, iterateRawCalls, jestTestParser, jsonHasKeys, jsonShape, jsonlReferenceReplayStore, jsonlReviewStore, jsonlRunRecordBackend, judgeFamily, judgeReplayGate, judgeSpans, keyPreserved, knowledgeReadinessTracePayload, leaderboard, linterJudge, llmJudge, llmSpanFromProvider, llmSpans, loadScorecard, loadScorerFromGrader, localCommandRunner, lowercaseMutator, makeEvalTools, makeFinding, mannWhitneyU, mapConcurrent, matchGoldens, matchSpan, maximumChargeForLlmRequest, mcnemar, mcnemarPower, mcnemarRequiredN, mergeLayerResults, mergeSteeringBundle, mintRolloutRows, modelDescriptionBits, modelHasSnapshot, modelPriceKey, mulberry32, multiToolchainLayer, noProgressDetector, normalizeScores, notBlocked, objectiveEval, observeAll, otelRunCompleteHook, otlpRowsToRunRecords, otlpRowsToTraceRunRecords, otlpToRunRecords, otlpToTraceRunRecords, pairArms, pairRunRecords, pairedBootstrap, pairedCohensDz, pairedEvalueSequence, pairedMde, pairedRiskDifference, pairedSignTest, pairedTTest, paraphraseRobustness, paraphraseRobustnessScenarios, paretoChart, paretoFrontier, paretoFrontierWithCrowding, parseCorrectnessResponse, parseFeedbackTrajectoriesJsonl, parseReflectionResponse, parseRunRecordSafe, parseRuntimeTrajectoryHookEvent, partialCredit, partitionHeldOut, passAtK, passOrthogonality, pearsonR, pixelDeltaRatio, planTraceInsightQuestions, politenessPrefixMutator, positionalBias, preflightModels, printDriverSummary, probeLlm, productBenchmarkIntegrityFailures, productBenchmarkMutableSurfaces, productBenchmarkRepoIdentity, productBenchmarkSplits, index as profile, projectOtlpFlatLine, projectRuntimeTrajectoryEvidence, promptBisect, proposeSynthesisTargets, providerFromBaseUrl, pytestTestParser, ranks, readClaudeCodeSupervisorRun, readOtlpStatus, readProductBenchmarkManifest, readProductBenchmarkRecords, recordRuns, recordRunsToScorecard, redTeamDataset, redTeamReport, redactString, redactValue, referenceReplayRunsToSteeringRows, referenceReplayScenarioToRunScore, regexMatch, regexMatches, renderMarkdownReport, renderPlaybookMarkdown, renderPreferenceMemoryMarkdown, renderPriorFindings, renderReleaseReport, renderSteeringText, renderSupervisorRunHeadline, renderSupervisorRunMarkdown, renderUpstreamFindings, repeatedActionDetector, replayFeedbackTrajectories, replayFeedbackTrajectory, replayScorerOverCorpus, replayTraceThroughJudge, requireAgentProfileCell, requiredPairedSampleSize, requiredSampleSize, researchReport, resolveModelPricing, resolveSeat, rolloutReward, rollupSupervisorRuns, roundTripRunRecord, routeFields, rowCount, rowWhere, runAgentControlLoop, runAssertions, runBehavioralCanaries, runCanaries, runCounterfactual, runE2EWorkflow, runEvalCampaign, runExpectations, runFailureClass, runHarnessExperiment, runIntentMatchJudge, runJudgeFleet, runKeywordCoverageJudge, runKeywordCoverageJudgeUrl, runLiveProof, runProposeReview, runProposeReviewAsControlLoop, runRecordToProductBenchmarkRecord, runReferenceEquivalenceJudge, runReferenceReplay, runScore, runSelfPlay, runSemanticConceptJudge, runTaskScore, runTestGradedScenario, runsForScenario, scalarScore, scanForMuffledGates, scoreContinuity, scoreFromEvals, scoreKnowledgeReadiness, scorePrReviewComments, scorePrReviewSource, scoreRedTeamOutput, scoreReferenceReplay, scoreTraceInsightReadiness, seatPresets, securityJudge, selectHarnessVariant, selfPreference, sentenceReorderMutator, serializeFeedbackTrajectoriesJsonl, showMeasured, signManifest, spearmanR, statusAdvanced, stopOnNoProgress, stopOnRepeatedAction, stringField, stripFencedJson, subjectiveEval, summarizeAgentReceiptIntegrity, summarizeBackendIntegrity, summarizeHarnessResults, summarizePrReviewBenchmark, summarizePreferenceMemory, summaryTable, supervisorRunRolloutLines, testJudge, textInSnapshot, throwIfRunIncomplete, toAgentProfileJson, toJsonl, toLangfuseEnvelope, toOpenAiTool, toPrometheusText, toRewardRows, toSftRows, tokenizeDomainWords, toolNamesForRun, toolSpans, traceAnalystFunctionGroup, traceAnalystOnRunComplete, traceContract, traceJudge, traceJudgeEnsemble, traceSpanKindToOpenInferenceKind, tracedAnalyzeTraces, typoMutator, urlContains, userQuestionsForKnowledgeGaps, validateAgentProfileCell, validateProductBenchmarkManifest, validateProductBenchmarkRecord, validateProductBenchmarkRun, validateRolloutLine, validateRunRecord, verbosityBias, verifyAgentProfileCell, verifyAttestation, verifyCompletion, verifyManifest, visualDiff, viteDeployRunner, vitestTestParser, weightedComposite, weightedMean, weightedRecall, welchsTTest, whitespaceCollapseMutator, wilcoxonSignedRank, wilson, withAssignedFeedbackSplit, withHeldoutBlend, withJudgeRetry, withOtelPipeline, wranglerDeployRunner, writeSupervisorRunReport };
|