@tangle-network/agent-eval 0.123.8 → 0.124.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 +17 -4
- package/dist/analyst/index.d.ts +5 -0
- package/dist/analyst/index.js +4 -4
- package/dist/benchmarks/index.js +4 -4
- package/dist/campaign/index.d.ts +11 -0
- package/dist/campaign/index.js +4 -4
- package/dist/chunk-4Y7AAATF.js +1151 -0
- package/dist/chunk-4Y7AAATF.js.map +1 -0
- package/dist/{chunk-ZU3QWGZE.js → chunk-5PVZVCZB.js} +7 -5
- package/dist/chunk-5PVZVCZB.js.map +1 -0
- package/dist/{chunk-BUR5R4R4.js → chunk-A6GT67HT.js} +3 -3
- package/dist/{chunk-EEHHBAWH.js → chunk-DT7OXY3C.js} +2 -2
- package/dist/{chunk-PDHIOKRE.js → chunk-EQUK3RFS.js} +8 -4
- package/dist/chunk-EQUK3RFS.js.map +1 -0
- package/dist/{chunk-V7HQGZBT.js → chunk-GID26AN4.js} +2 -2
- package/dist/{chunk-27UXRPIQ.js → chunk-HM6V7F3M.js} +2 -2
- package/dist/chunk-IPYXE555.js +594 -0
- package/dist/chunk-IPYXE555.js.map +1 -0
- package/dist/chunk-MAX3TN3C.js +249 -0
- package/dist/chunk-MAX3TN3C.js.map +1 -0
- package/dist/chunk-MGGFVCJ7.js +288 -0
- package/dist/chunk-MGGFVCJ7.js.map +1 -0
- package/dist/{chunk-QVGVJQMR.js → chunk-PMITBABE.js} +7 -5
- package/dist/{chunk-QVGVJQMR.js.map → chunk-PMITBABE.js.map} +1 -1
- package/dist/{chunk-J3LHTAAB.js → chunk-QOTFXW5L.js} +1 -47
- package/dist/chunk-QOTFXW5L.js.map +1 -0
- package/dist/chunk-R7ZRE2KV.js +138 -0
- package/dist/chunk-R7ZRE2KV.js.map +1 -0
- package/dist/chunk-RZTMDUO7.js +49 -0
- package/dist/chunk-RZTMDUO7.js.map +1 -0
- package/dist/{chunk-RQ5TP2TV.js → chunk-W5B3ZGP3.js} +3 -3
- package/dist/cli.js +13 -2
- package/dist/cli.js.map +1 -1
- package/dist/contract/index.d.ts +7 -0
- package/dist/contract/index.js +4 -4
- package/dist/index.d.ts +699 -82
- package/dist/index.js +57 -121
- package/dist/index.js.map +1 -1
- package/dist/openapi.json +1 -1
- package/dist/pipelines/index.js +4 -2
- package/dist/pipelines/index.js.map +1 -1
- package/dist/rl.d.ts +3 -0
- package/dist/rl.js +2 -2
- package/dist/rollout/index.d.ts +1053 -0
- package/dist/rollout/index.js +109 -0
- package/dist/rollout/index.js.map +1 -0
- package/dist/supervisor-run/index.d.ts +705 -0
- package/dist/supervisor-run/index.js +52 -0
- package/dist/supervisor-run/index.js.map +1 -0
- package/dist/wire/index.d.ts +3 -0
- package/dist/wire/index.js +2 -2
- package/docs/rollout.md +48 -0
- package/package.json +11 -1
- package/dist/chunk-J3LHTAAB.js.map +0 -1
- package/dist/chunk-PDHIOKRE.js.map +0 -1
- package/dist/chunk-ZU3QWGZE.js.map +0 -1
- /package/dist/{chunk-BUR5R4R4.js.map → chunk-A6GT67HT.js.map} +0 -0
- /package/dist/{chunk-EEHHBAWH.js.map → chunk-DT7OXY3C.js.map} +0 -0
- /package/dist/{chunk-V7HQGZBT.js.map → chunk-GID26AN4.js.map} +0 -0
- /package/dist/{chunk-27UXRPIQ.js.map → chunk-HM6V7F3M.js.map} +0 -0
- /package/dist/{chunk-RQ5TP2TV.js.map → chunk-W5B3ZGP3.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1512,6 +1512,7 @@ interface LlmMessage {
|
|
|
1512
1512
|
};
|
|
1513
1513
|
}>;
|
|
1514
1514
|
}
|
|
1515
|
+
type LlmThinkingMode = 'enabled' | 'disabled';
|
|
1515
1516
|
interface LlmCallRequest {
|
|
1516
1517
|
model: string;
|
|
1517
1518
|
messages: LlmMessage[];
|
|
@@ -1524,6 +1525,8 @@ interface LlmCallRequest {
|
|
|
1524
1525
|
};
|
|
1525
1526
|
temperature?: number;
|
|
1526
1527
|
maxTokens?: number;
|
|
1528
|
+
/** OpenAI-compatible reasoning mode. Omitted when the provider default should apply. */
|
|
1529
|
+
thinking?: LlmThinkingMode;
|
|
1527
1530
|
/** Per-call timeout, default 300s. */
|
|
1528
1531
|
timeoutMs?: number;
|
|
1529
1532
|
}
|
|
@@ -1531,7 +1534,7 @@ interface LlmCallRequest {
|
|
|
1531
1534
|
* Returns undefined when output or multimodal input is not bounded, causing a
|
|
1532
1535
|
* capped CostLedger to reject the call before execution. Pass
|
|
1533
1536
|
* `customTokenPricing` when package pricing does not cover the model or endpoint. */
|
|
1534
|
-
declare function maximumChargeForLlmRequest(request: Pick<LlmCallRequest, 'model' | 'messages' | 'jsonSchema' | 'maxTokens'>, options?: LlmClientOptions): MaximumCharge | undefined;
|
|
1537
|
+
declare function maximumChargeForLlmRequest(request: Pick<LlmCallRequest, 'model' | 'messages' | 'jsonSchema' | 'maxTokens' | 'thinking'>, options?: LlmClientOptions): MaximumCharge | undefined;
|
|
1535
1538
|
interface LlmUsage {
|
|
1536
1539
|
promptTokens: number;
|
|
1537
1540
|
completionTokens: number;
|
|
@@ -1642,6 +1645,8 @@ interface LlmClientOptions {
|
|
|
1642
1645
|
* Default: `extract`.
|
|
1643
1646
|
*/
|
|
1644
1647
|
jsonPayloadMode?: 'extract' | 'exact';
|
|
1648
|
+
/** Default provider reasoning mode. A per-call request value takes precedence. */
|
|
1649
|
+
thinking?: LlmThinkingMode;
|
|
1645
1650
|
/** Fetch implementation — defaults to global `fetch`. Override for custom transport (e.g. tests). */
|
|
1646
1651
|
fetch?: typeof fetch;
|
|
1647
1652
|
/**
|
|
@@ -6147,30 +6152,82 @@ declare function formatDriverReport(results: DriverResult[]): string;
|
|
|
6147
6152
|
declare function printDriverSummary(results: DriverResult[]): void;
|
|
6148
6153
|
|
|
6149
6154
|
/**
|
|
6150
|
-
*
|
|
6151
|
-
*
|
|
6152
|
-
*
|
|
6153
|
-
*
|
|
6154
|
-
*
|
|
6155
|
-
*
|
|
6156
|
-
*
|
|
6157
|
-
*
|
|
6158
|
-
*
|
|
6159
|
-
*
|
|
6160
|
-
* -
|
|
6161
|
-
*
|
|
6162
|
-
*
|
|
6163
|
-
*
|
|
6164
|
-
*
|
|
6165
|
-
*
|
|
6166
|
-
*
|
|
6167
|
-
*
|
|
6155
|
+
* `tangle.rollout.v1` — THE canonical rollout serialization, owned by
|
|
6156
|
+
* agent-eval. One JSONL line per agent invocation (a solo eval run, a
|
|
6157
|
+
* supervisor episode, a worker session, a proposer shot, a judge call, an
|
|
6158
|
+
* analyst pass), labeled with its task/split coordinates and a single
|
|
6159
|
+
* scalar reward, carrying the FULL message transcript inline.
|
|
6160
|
+
*
|
|
6161
|
+
* This schema is the reconciliation of two prior producers:
|
|
6162
|
+
* - agent-eval's RunRecord-joined rollout rows (PR #410): identity,
|
|
6163
|
+
* provenance hashes, the realness gate travelling into the reward,
|
|
6164
|
+
* trace-derived steps.
|
|
6165
|
+
* - the bench rollout-ledger (agent-runtime PR #591): the wire shape —
|
|
6166
|
+
* role, task.split/rep, parent_rollout_id, policy provenance, capture
|
|
6167
|
+
* provenance, inline canonical chat-with-tools messages.
|
|
6168
|
+
* Where the two conflicted, RunRecord-derived semantics won; the wire
|
|
6169
|
+
* field names follow the ledger (snake_case). See `docs/rollout.md` for
|
|
6170
|
+
* the field-by-field decision table.
|
|
6171
|
+
*
|
|
6172
|
+
* Messages are inlined — never referenced — because every harness store a
|
|
6173
|
+
* rollout can be recovered from is mutable or garbage-collected. A line
|
|
6174
|
+
* must stay a complete training/eval example on its own.
|
|
6175
|
+
*
|
|
6176
|
+
* `outcome.reward` is THE single scalar (null = no verdict exists — a
|
|
6177
|
+
* labeled gap, never 0). `outcome.realness_gated` is the anti-Goodhart
|
|
6178
|
+
* flag: a gated line must never export as a positive training example.
|
|
6179
|
+
*/
|
|
6180
|
+
declare const ROLLOUT_SCHEMA = "tangle.rollout.v1";
|
|
6181
|
+
/** @deprecated alias kept for consumers of the pre-unification constant name. */
|
|
6182
|
+
declare const ROLLOUT_FORMAT = "tangle.rollout.v1";
|
|
6183
|
+
/** `agent` = a solo evaluation run (no multi-agent topology). */
|
|
6184
|
+
type RolloutRole = 'agent' | 'supervisor' | 'worker' | 'proposer' | 'judge' | 'analyst';
|
|
6185
|
+
/**
|
|
6186
|
+
* Split vocabulary follows `RunRecord.splitTag` ('search' is the pool the
|
|
6187
|
+
* optimizer may read — the trainable split), extended with the ledger's
|
|
6188
|
+
* 'canary'. 'train' is a legacy alias for 'search' emitted by
|
|
6189
|
+
* pre-unification ledgers; it validates and counts as trainable, but new
|
|
6190
|
+
* producers must emit 'search'.
|
|
6191
|
+
*/
|
|
6192
|
+
type RolloutSplit = 'search' | 'dev' | 'holdout' | 'canary' | 'train';
|
|
6193
|
+
declare function isTrainableSplit(split: RolloutSplit): boolean;
|
|
6194
|
+
/** 'mint' = joined live from RunRecord + trace by `mintRolloutRows`. */
|
|
6195
|
+
type RolloutCapture = 'mint' | 'settle-time' | 'backfill';
|
|
6196
|
+
type ChatRole = 'system' | 'user' | 'assistant' | 'tool';
|
|
6197
|
+
interface ChatToolCall {
|
|
6198
|
+
id: string;
|
|
6199
|
+
type: 'function';
|
|
6200
|
+
function: {
|
|
6201
|
+
name: string;
|
|
6202
|
+
/** JSON-encoded argument object, exactly as the model emitted it. */
|
|
6203
|
+
arguments: string;
|
|
6204
|
+
};
|
|
6205
|
+
}
|
|
6206
|
+
interface ChatMessage {
|
|
6207
|
+
role: ChatRole;
|
|
6208
|
+
content: string | null;
|
|
6209
|
+
/** Reasoning/thinking channel where the harness captured it (full fidelity). */
|
|
6210
|
+
reasoning_content?: string;
|
|
6211
|
+
tool_calls?: ChatToolCall[];
|
|
6212
|
+
/** Required on role:"tool" — the ChatToolCall this result answers. */
|
|
6213
|
+
tool_call_id?: string;
|
|
6214
|
+
name?: string;
|
|
6215
|
+
}
|
|
6216
|
+
interface ToolDef {
|
|
6217
|
+
type: 'function';
|
|
6218
|
+
function: {
|
|
6219
|
+
name: string;
|
|
6220
|
+
description?: string;
|
|
6221
|
+
parameters?: Record<string, unknown>;
|
|
6222
|
+
};
|
|
6223
|
+
}
|
|
6224
|
+
/**
|
|
6225
|
+
* Compact trace-span projection (llm/tool step) carried alongside the
|
|
6226
|
+
* conversation when the line was minted from a trace. Optional: lines
|
|
6227
|
+
* recovered from harness stores have no span structure.
|
|
6168
6228
|
*/
|
|
6169
|
-
|
|
6170
|
-
declare const ROLLOUT_FORMAT: "tangle.rollout.v1";
|
|
6171
|
-
/** Compact, serialization-safe projection of one span for training rows. */
|
|
6172
6229
|
interface RolloutStep {
|
|
6173
|
-
kind:
|
|
6230
|
+
kind: string;
|
|
6174
6231
|
name: string;
|
|
6175
6232
|
/** llm: last-message summary · tool: stringified args. Scrubbed. */
|
|
6176
6233
|
input?: string;
|
|
@@ -6179,87 +6236,217 @@ interface RolloutStep {
|
|
|
6179
6236
|
status?: 'ok' | 'error';
|
|
6180
6237
|
durationMs?: number;
|
|
6181
6238
|
}
|
|
6182
|
-
interface
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
agentProfileCellId?: string;
|
|
6192
|
-
/** holdoutScore ?? searchScore, forced to 0 when realness-gated. */
|
|
6193
|
-
reward: number;
|
|
6194
|
-
/** True when `outcome.realness.gated` — excluded from SFT positives. */
|
|
6195
|
-
realnessGated: boolean;
|
|
6196
|
-
costUsd: number;
|
|
6197
|
-
totalTokens: number;
|
|
6198
|
-
steps: RolloutStep[];
|
|
6199
|
-
/** Full message history of the final llm span — the SFT conversation. */
|
|
6200
|
-
conversation: Message[];
|
|
6201
|
-
}
|
|
6202
|
-
/** Redactor applied to every exported string (secrets, PII). Identity by default. */
|
|
6203
|
-
type RolloutScrubber = (text: string) => string;
|
|
6204
|
-
interface MintRolloutOptions {
|
|
6205
|
-
scrub?: RolloutScrubber;
|
|
6206
|
-
/** Cap steps per row (longest runs first drop middle steps). Default: no cap. */
|
|
6207
|
-
maxSteps?: number;
|
|
6208
|
-
}
|
|
6209
|
-
interface MintRolloutResult {
|
|
6210
|
-
rows: RolloutRow[];
|
|
6211
|
-
/** runIds that had a RunRecord but no spans — surfaced, never silently dropped. */
|
|
6212
|
-
missingTraces: string[];
|
|
6239
|
+
interface RolloutTask {
|
|
6240
|
+
/** Benchmark/suite id (e.g. "swe-bench-verified") or the experiment id. */
|
|
6241
|
+
suite: string;
|
|
6242
|
+
instance_id: string;
|
|
6243
|
+
split: RolloutSplit;
|
|
6244
|
+
/** Sampling seed the campaign pinned; null = not recorded. */
|
|
6245
|
+
seed: number | null;
|
|
6246
|
+
/** Replicate index (0-based). */
|
|
6247
|
+
rep: number;
|
|
6213
6248
|
}
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6249
|
+
interface RolloutPolicy {
|
|
6250
|
+
/** Harness that drove the invocation (e.g. "opencode", "claude", "pi-loops"). */
|
|
6251
|
+
harness: string | null;
|
|
6252
|
+
harness_version: string | null;
|
|
6253
|
+
model: string | null;
|
|
6254
|
+
provider: string | null;
|
|
6255
|
+
/** Commit of the agent profile / candidate under evaluation. */
|
|
6256
|
+
profile_commit: string | null;
|
|
6257
|
+
/** sha256 of the effective prompt (post-steering), when recorded. */
|
|
6258
|
+
prompt_hash?: string | null;
|
|
6259
|
+
/** sha256 of the effective run config, when recorded. */
|
|
6260
|
+
config_hash?: string | null;
|
|
6261
|
+
/** Canonical agent-profile cell identity, when the run carries one. */
|
|
6262
|
+
agent_profile_cell_id?: string | null;
|
|
6263
|
+
/** Sampling params (temperature, top_p, max_tokens…); null = not recorded. */
|
|
6264
|
+
sampling: Record<string, unknown> | null;
|
|
6265
|
+
}
|
|
6266
|
+
interface RolloutOutcome {
|
|
6267
|
+
/**
|
|
6268
|
+
* THE single scalar training signal — the official verdict.
|
|
6269
|
+
* null = no verdict exists for this invocation (a labeled gap, never 0).
|
|
6270
|
+
*/
|
|
6271
|
+
reward: number | null;
|
|
6272
|
+
/** Where the reward came from (judge id; "/inherited" = parent episode's). */
|
|
6273
|
+
reward_source: string | null;
|
|
6274
|
+
/** Raw judge verdict record, verbatim. */
|
|
6275
|
+
verdict: unknown;
|
|
6276
|
+
/** Everything that is NOT the scalar reward. */
|
|
6277
|
+
metrics: Record<string, unknown>;
|
|
6278
|
+
is_completed: boolean;
|
|
6279
|
+
is_truncated: boolean;
|
|
6280
|
+
error: string | null;
|
|
6281
|
+
/**
|
|
6282
|
+
* Anti-Goodhart flag from `RunRecord.outcome.realness.gated`: the run
|
|
6283
|
+
* faked its success signal. Reward is forced to 0 at mint time and the
|
|
6284
|
+
* line never qualifies for SFT. Optional on the wire (absent = false)
|
|
6285
|
+
* so pre-unification ledgers stay readable.
|
|
6286
|
+
*/
|
|
6287
|
+
realness_gated?: boolean;
|
|
6288
|
+
}
|
|
6289
|
+
interface RolloutCostBlock {
|
|
6290
|
+
usd: number | null;
|
|
6291
|
+
tokens_in: number | null;
|
|
6292
|
+
tokens_out: number | null;
|
|
6293
|
+
tokens_reasoning: number | null;
|
|
6294
|
+
cache_read: number | null;
|
|
6295
|
+
cache_write: number | null;
|
|
6296
|
+
wall_s: number | null;
|
|
6297
|
+
}
|
|
6298
|
+
interface RolloutArtifacts {
|
|
6299
|
+
patch_path: string | null;
|
|
6300
|
+
run_dir: string | null;
|
|
6301
|
+
/** Source-of-truth transcript pointer (session id / jsonl path) for audit. */
|
|
6302
|
+
transcript_ref: string | null;
|
|
6303
|
+
}
|
|
6304
|
+
interface RolloutProvenance {
|
|
6305
|
+
captured_at: string;
|
|
6306
|
+
capture: RolloutCapture;
|
|
6307
|
+
/** Present on gap lines: why `messages` could not be recovered. */
|
|
6308
|
+
gap?: string;
|
|
6309
|
+
}
|
|
6310
|
+
interface RolloutLine {
|
|
6311
|
+
schema: typeof ROLLOUT_SCHEMA;
|
|
6312
|
+
rollout_id: string;
|
|
6313
|
+
/** Spawning invocation within the same episode (worker → supervisor). */
|
|
6314
|
+
parent_rollout_id: string | null;
|
|
6315
|
+
run_id: string;
|
|
6316
|
+
/** Logical experiment grouping from `RunRecord.experimentId`. Optional on
|
|
6317
|
+
* the wire (pre-unification ledgers lack it); null = not recorded. */
|
|
6318
|
+
experiment_id?: string | null;
|
|
6319
|
+
/** Stable candidate identity from `RunRecord.candidateId`; null = not recorded. */
|
|
6320
|
+
candidate_id?: string | null;
|
|
6321
|
+
/** Improvement-loop generation (-1 = baseline); null = not an improvement loop. */
|
|
6322
|
+
generation: number | null;
|
|
6323
|
+
/** Improvement-loop candidate index (-1 = baseline); null = not an improvement loop. */
|
|
6324
|
+
candidate_index: number | null;
|
|
6325
|
+
role: RolloutRole;
|
|
6326
|
+
task: RolloutTask;
|
|
6327
|
+
policy: RolloutPolicy;
|
|
6328
|
+
/** Full transcript, inline. [] = gap line (see provenance.gap). */
|
|
6329
|
+
messages: ChatMessage[];
|
|
6330
|
+
tool_defs: ToolDef[];
|
|
6331
|
+
/** Trace-span projections, when minted from a trace. */
|
|
6332
|
+
steps?: RolloutStep[];
|
|
6333
|
+
outcome: RolloutOutcome;
|
|
6334
|
+
cost: RolloutCostBlock;
|
|
6335
|
+
artifacts: RolloutArtifacts;
|
|
6336
|
+
provenance: RolloutProvenance;
|
|
6337
|
+
}
|
|
6338
|
+
declare function validateRolloutLine(value: unknown): string[];
|
|
6339
|
+
declare function assertRolloutLine(value: unknown, context?: string): asserts value is RolloutLine;
|
|
6340
|
+
declare function isRolloutLine(value: unknown): value is RolloutLine;
|
|
6341
|
+
|
|
6342
|
+
/**
|
|
6343
|
+
* Pure exporters over `tangle.rollout.v1` lines → the training-data shapes
|
|
6344
|
+
* the improvement loops feed:
|
|
6345
|
+
* - SFT chat JSONL (clean trainable successes, {messages, metadata})
|
|
6346
|
+
* - reward rows (every scored line, success or failure, with steps)
|
|
6347
|
+
* - Prime Intellect verifiers RolloutOutput (prompt/completion split + reward)
|
|
6348
|
+
* - OpenAI RFT items (prompt turns + verdict reference fields)
|
|
6349
|
+
*
|
|
6350
|
+
* All exporters are pure functions of the lines — filtering (never train on
|
|
6351
|
+
* holdout, reward thresholds, the realness gate) happens HERE, on inline
|
|
6352
|
+
* labels, no joins.
|
|
6222
6353
|
*/
|
|
6223
|
-
|
|
6354
|
+
|
|
6224
6355
|
interface SftExportOptions {
|
|
6225
|
-
/** Export only
|
|
6356
|
+
/** Export only lines with reward ≥ this (default 1 = clean successes only). */
|
|
6226
6357
|
minReward?: number;
|
|
6227
6358
|
}
|
|
6228
6359
|
interface SftRow {
|
|
6229
|
-
messages:
|
|
6360
|
+
messages: ChatMessage[];
|
|
6230
6361
|
metadata: {
|
|
6231
|
-
|
|
6232
|
-
|
|
6233
|
-
|
|
6362
|
+
rollout_id: string;
|
|
6363
|
+
run_id: string;
|
|
6364
|
+
candidate_id: string | null;
|
|
6365
|
+
instance_id: string;
|
|
6234
6366
|
reward: number;
|
|
6235
6367
|
};
|
|
6236
6368
|
}
|
|
6237
6369
|
/**
|
|
6238
|
-
* Supervised fine-tune rows: the completed conversation of each
|
|
6239
|
-
*
|
|
6240
|
-
*
|
|
6370
|
+
* Supervised fine-tune rows: the completed conversation of each qualifying
|
|
6371
|
+
* line. Fail-closed filters: trainable split only (never holdout/canary),
|
|
6372
|
+
* reward ≥ minReward, realness-gated lines never qualify, gap lines carry
|
|
6373
|
+
* no trainable content.
|
|
6241
6374
|
*/
|
|
6242
|
-
declare function toSftRows(
|
|
6375
|
+
declare function toSftRows(lines: RolloutLine[], options?: SftExportOptions): SftRow[];
|
|
6243
6376
|
interface RewardRow {
|
|
6377
|
+
/** First user turn — the task prompt. */
|
|
6244
6378
|
prompt: string;
|
|
6245
6379
|
steps: RolloutStep[];
|
|
6246
6380
|
reward: number;
|
|
6247
6381
|
metadata: {
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6382
|
+
rollout_id: string;
|
|
6383
|
+
run_id: string;
|
|
6384
|
+
candidate_id: string | null;
|
|
6385
|
+
instance_id: string;
|
|
6386
|
+
split: RolloutSplit;
|
|
6252
6387
|
};
|
|
6253
6388
|
}
|
|
6254
6389
|
/**
|
|
6255
|
-
* Reward-labeled rows
|
|
6256
|
-
* failure
|
|
6257
|
-
*
|
|
6390
|
+
* Reward-labeled rows: every line with a scalar reward, success or
|
|
6391
|
+
* failure. Failures are signal here — only the realness-gate zeroing
|
|
6392
|
+
* (applied at mint time) touches the reward, never filtering. Lines with
|
|
6393
|
+
* no verdict (reward null) are excluded: an unlabeled example is a gap,
|
|
6394
|
+
* not a zero.
|
|
6258
6395
|
*/
|
|
6259
|
-
declare function toRewardRows(
|
|
6260
|
-
/** One JSON object per line — the interchange format for every export. */
|
|
6396
|
+
declare function toRewardRows(lines: RolloutLine[]): RewardRow[];
|
|
6261
6397
|
declare function toJsonl(rows: ReadonlyArray<unknown>): string;
|
|
6262
6398
|
|
|
6399
|
+
/**
|
|
6400
|
+
* Rollout minting — `tangle.rollout.v1` lines joined from the records the
|
|
6401
|
+
* substrate ALREADY keeps. There is no separate rollout store: a rollout
|
|
6402
|
+
* is the JOIN of a RunRecord (identity, provenance, cost, outcome) with
|
|
6403
|
+
* its trace (spans share `runId`), projected into the canonical line.
|
|
6404
|
+
*
|
|
6405
|
+
* Composition, not duplication:
|
|
6406
|
+
* - identity/provenance → `RunRecord` (candidateId, splitTag, agentProfile, hashes)
|
|
6407
|
+
* - step structure → `buildTrajectory` over the shared TraceStore
|
|
6408
|
+
* - preference-pair export → `feedbackTrajectoryToOptimizerRow` (feedback-trajectory.ts)
|
|
6409
|
+
* - PRM / reward-model → `reward-model-export.ts`
|
|
6410
|
+
*
|
|
6411
|
+
* Anti-Goodhart invariant: a run whose `outcome.realness.gated` is true
|
|
6412
|
+
* is never exported with a positive reward — the gate travels into the
|
|
6413
|
+
* training data (`reward` forced to 0, `realness_gated: true`), so a
|
|
6414
|
+
* fine-tune cannot learn from gamed successes.
|
|
6415
|
+
*
|
|
6416
|
+
* Records without spans become labeled GAP LINES (messages: [],
|
|
6417
|
+
* provenance.gap) — present in the output AND surfaced in
|
|
6418
|
+
* `missingTraces`; a capture gap is a finding, never a silent omission.
|
|
6419
|
+
*/
|
|
6420
|
+
|
|
6421
|
+
/** Redactor applied to every exported string (secrets, PII). Identity by default. */
|
|
6422
|
+
type RolloutScrubber = (text: string) => string;
|
|
6423
|
+
interface MintRolloutOptions {
|
|
6424
|
+
scrub?: RolloutScrubber;
|
|
6425
|
+
/** Cap steps per line (longest runs first drop middle steps). Default: no cap. */
|
|
6426
|
+
maxSteps?: number;
|
|
6427
|
+
/** Role recorded on every minted line. Default 'agent' (a solo eval run). */
|
|
6428
|
+
role?: RolloutRole;
|
|
6429
|
+
/** Task suite label. Default: the record's `experimentId`. */
|
|
6430
|
+
suite?: string;
|
|
6431
|
+
/** Injected clock for deterministic output. */
|
|
6432
|
+
now?: () => Date;
|
|
6433
|
+
}
|
|
6434
|
+
interface MintRolloutResult {
|
|
6435
|
+
rows: RolloutLine[];
|
|
6436
|
+
/** runIds that had a RunRecord but no spans — emitted as gap lines AND listed here. */
|
|
6437
|
+
missingTraces: string[];
|
|
6438
|
+
}
|
|
6439
|
+
declare function rolloutReward(record: RunRecord): {
|
|
6440
|
+
reward: number;
|
|
6441
|
+
gated: boolean;
|
|
6442
|
+
};
|
|
6443
|
+
/**
|
|
6444
|
+
* Join RunRecords with their traces into canonical rollout lines. Records
|
|
6445
|
+
* without spans are emitted as labeled gap lines and reported in
|
|
6446
|
+
* `missingTraces` — a capture gap is a finding, not a silent omission.
|
|
6447
|
+
*/
|
|
6448
|
+
declare function mintRolloutRows(records: RunRecord[], store: TraceStore, options?: MintRolloutOptions): Promise<MintRolloutResult>;
|
|
6449
|
+
|
|
6263
6450
|
interface RunEvidenceMetadata {
|
|
6264
6451
|
experimentId: string;
|
|
6265
6452
|
candidateId: string;
|
|
@@ -6290,6 +6477,436 @@ interface ControlRunToRunRecordOptions extends RunEvidenceMetadata {
|
|
|
6290
6477
|
declare function controlRunToRunRecord<TState, TAction, TActionResult, TEval extends ControlEvalResult = ControlEvalResult>(run: ControlRunResult<TState, TAction, TActionResult, TEval>, options: ControlRunToRunRecordOptions): RunRecord;
|
|
6291
6478
|
declare function scoreFromEvals(evals: readonly ControlEvalResult[]): number | undefined;
|
|
6292
6479
|
|
|
6480
|
+
/**
|
|
6481
|
+
* Supervisor-run analysis — the multi-agent analogue of single-rollout trace
|
|
6482
|
+
* analysis. A solo rollout is one invocation with a transcript; a supervisor
|
|
6483
|
+
* run is a TREE of invocations (a brain that spawns, steers, and settles
|
|
6484
|
+
* workers) plus the event timeline that connects them. `src/trace-analyst`
|
|
6485
|
+
* answers "what happened inside one session"; this module answers "what did
|
|
6486
|
+
* the tree do" — did the brain steer anyone mid-task, how many spawn waves,
|
|
6487
|
+
* how concurrent, how idle, what did each role cost, what came back.
|
|
6488
|
+
*
|
|
6489
|
+
* The nodes of that tree are NOT a new shape: they are `tangle.rollout.v1`
|
|
6490
|
+
* rows (`src/rollout`), keyed by `parent_rollout_id`, with `role` already
|
|
6491
|
+
* spanning `supervisor` / `worker`. `supervisorRunRolloutLines` mints them.
|
|
6492
|
+
* What rollout rows deliberately do NOT carry is the inter-invocation event
|
|
6493
|
+
* timeline (spawn/settle/steer instants), which is what every structural
|
|
6494
|
+
* metric here is computed from — so the reader consumes the journal event
|
|
6495
|
+
* stream and emits rollout rows, rather than maintaining a parallel node type.
|
|
6496
|
+
*
|
|
6497
|
+
* ## UNAVAILABLE ≠ ZERO
|
|
6498
|
+
*
|
|
6499
|
+
* Every metric whose backing artifact can be missing is typed
|
|
6500
|
+
* `Measured<T> = T | { unavailable: reason }`. A supervisor that steered
|
|
6501
|
+
* nobody reports `steers: 0`; a supervisor whose worker logs were never
|
|
6502
|
+
* written reports `steers: unavailable — <reason>`. The two have driven
|
|
6503
|
+
* opposite conclusions about the same architecture, so they never collapse.
|
|
6504
|
+
*/
|
|
6505
|
+
|
|
6506
|
+
/** A metric that could not be computed, with the reason its artifact was missing. */
|
|
6507
|
+
interface Unavailable {
|
|
6508
|
+
readonly unavailable: string;
|
|
6509
|
+
}
|
|
6510
|
+
/** A metric value, or the reason it is unknown. NEVER collapse `unavailable` to 0. */
|
|
6511
|
+
type Measured<T> = T | Unavailable;
|
|
6512
|
+
declare function isUnavailable(v: unknown): v is Unavailable;
|
|
6513
|
+
/** Render a measured scalar for the markdown/headline: `0` and `unavailable` stay distinct. */
|
|
6514
|
+
declare function showMeasured(v: Measured<number | string | boolean | null>): string;
|
|
6515
|
+
/** One worker's logs, as read. `null` = the artifact did not exist. */
|
|
6516
|
+
interface WorkerLogSource {
|
|
6517
|
+
readonly label: string;
|
|
6518
|
+
/** Worker event stream — started / progress / finished / message events (JSONL). */
|
|
6519
|
+
readonly events: string | null;
|
|
6520
|
+
/** The durable steer queue — one line per steer request (JSONL). */
|
|
6521
|
+
readonly inbox: string | null;
|
|
6522
|
+
/** Worker patch byte length, or null when absent. */
|
|
6523
|
+
readonly patchBytes: number | null;
|
|
6524
|
+
}
|
|
6525
|
+
/**
|
|
6526
|
+
* Everything the pure analyzer reads — already-read bytes, never paths. Each
|
|
6527
|
+
* field is `null` when its artifact was absent, which is what turns the
|
|
6528
|
+
* dependent metrics into `unavailable` rather than 0.
|
|
6529
|
+
*
|
|
6530
|
+
* This is the whole input contract. Any store that can produce these strings
|
|
6531
|
+
* (an on-disk loops run, an object-store archive, a database, a test fixture)
|
|
6532
|
+
* is a valid source; `loopsSupervisorRunReader` is ONE implementation.
|
|
6533
|
+
*/
|
|
6534
|
+
interface SupervisorRunSources {
|
|
6535
|
+
/** Stable identity of the run being analyzed (a directory, a run id, a URL). */
|
|
6536
|
+
readonly runRef: string;
|
|
6537
|
+
readonly instanceId: string | null;
|
|
6538
|
+
/** Which arm/variant of a comparison this run is, when the run belongs to one. */
|
|
6539
|
+
readonly arm: string | null;
|
|
6540
|
+
/** Identity of the supervision-tree store this was read from; null = none found. */
|
|
6541
|
+
readonly supRunDir: string | null;
|
|
6542
|
+
/** Supervision journal — spawned / settled / cancelled / metered events (JSONL). */
|
|
6543
|
+
readonly journal: string | null;
|
|
6544
|
+
/** Per-brain-call tap (JSONL): finish_reason, completion tokens, requested max tokens. */
|
|
6545
|
+
readonly brainLog: string | null;
|
|
6546
|
+
/** Supervisor state document (JSON). */
|
|
6547
|
+
readonly state: string | null;
|
|
6548
|
+
/** Supervisor progress stream (JSONL). */
|
|
6549
|
+
readonly progress: string | null;
|
|
6550
|
+
/** Per-worker logs; `null` = the worker log store itself was missing. */
|
|
6551
|
+
readonly workers: readonly WorkerLogSource[] | null;
|
|
6552
|
+
/** Why `workers` is null (only set when it is). */
|
|
6553
|
+
readonly workersMissingReason: string | null;
|
|
6554
|
+
/** Run result document (JSON). */
|
|
6555
|
+
readonly result: string | null;
|
|
6556
|
+
/**
|
|
6557
|
+
* Judge verdict document (JSON), or the matching ledger row re-encoded as
|
|
6558
|
+
* one. Runners that write the verdict straight to a ledger leave no judge
|
|
6559
|
+
* document, so the ledger row is the same fact from the same run — not a
|
|
6560
|
+
* substitute measurement.
|
|
6561
|
+
*/
|
|
6562
|
+
readonly judge: string | null;
|
|
6563
|
+
/** Where `judge` came from, for the report's provenance line. */
|
|
6564
|
+
readonly judgeSource: string | null;
|
|
6565
|
+
/** Delivered unified-diff patch text. */
|
|
6566
|
+
readonly patch: string | null;
|
|
6567
|
+
/** Outer-driver log (used for the driver's steer verbs + deadline evidence). */
|
|
6568
|
+
readonly driverLog: string | null;
|
|
6569
|
+
/**
|
|
6570
|
+
* Worker tokens recovered from a harness session store; null = store unavailable.
|
|
6571
|
+
* `store` names the store in the report's provenance line (e.g. `opencode`).
|
|
6572
|
+
*/
|
|
6573
|
+
readonly harnessWorkerTokens: {
|
|
6574
|
+
store: string;
|
|
6575
|
+
sessions: number;
|
|
6576
|
+
input: number;
|
|
6577
|
+
output: number;
|
|
6578
|
+
} | null;
|
|
6579
|
+
readonly harnessMissingReason: string | null;
|
|
6580
|
+
}
|
|
6581
|
+
/**
|
|
6582
|
+
* A source of supervisor-run bytes. Implementations own their storage layout;
|
|
6583
|
+
* the analyzer only ever sees `SupervisorRunSources`.
|
|
6584
|
+
*/
|
|
6585
|
+
interface SupervisorRunReader {
|
|
6586
|
+
/** Stable identity of what this reader points at (for logs and report labels). */
|
|
6587
|
+
readonly runRef: string;
|
|
6588
|
+
read(): Promise<SupervisorRunSources>;
|
|
6589
|
+
}
|
|
6590
|
+
declare const SUPERVISOR_RUN_SCHEMA = "tangle.supervisor-run@1";
|
|
6591
|
+
declare const SUPERVISOR_RUN_ROLLUP_SCHEMA = "tangle.supervisor-run-rollup@1";
|
|
6592
|
+
interface SteerBreakdown {
|
|
6593
|
+
readonly worker: string;
|
|
6594
|
+
/** Steer requests durably queued to this worker's inbox. */
|
|
6595
|
+
readonly queued: number;
|
|
6596
|
+
/** Steers the worker's executor actually accepted (control event `delivered:true`). */
|
|
6597
|
+
readonly delivered: number;
|
|
6598
|
+
}
|
|
6599
|
+
interface OrchestrationMetrics {
|
|
6600
|
+
readonly workersSpawned: Measured<number>;
|
|
6601
|
+
readonly workersSettled: Measured<number>;
|
|
6602
|
+
readonly workersCancelled: Measured<number>;
|
|
6603
|
+
/** THE HEADLINE: mid-task steers the brain sent to live workers. 0 ≠ unavailable. */
|
|
6604
|
+
readonly steers: Measured<number>;
|
|
6605
|
+
readonly steersDelivered: Measured<number>;
|
|
6606
|
+
readonly steersByWorker: Measured<readonly SteerBreakdown[]>;
|
|
6607
|
+
/** Outer-driver `supervisor_steer` tool calls seen in the driver log (a second steer path). */
|
|
6608
|
+
readonly driverSteerCalls: Measured<number>;
|
|
6609
|
+
/**
|
|
6610
|
+
* Spawn waves. A wave is a maximal run of worker spawns with no settle/cancel between
|
|
6611
|
+
* them: wave N+1 begins at the first spawn issued after at least one worker from an
|
|
6612
|
+
* earlier wave has settled. Structural, not a time threshold — no tunable constant.
|
|
6613
|
+
*/
|
|
6614
|
+
readonly waves: Measured<number>;
|
|
6615
|
+
readonly waveSizes: Measured<readonly number[]>;
|
|
6616
|
+
readonly maxConcurrency: Measured<number>;
|
|
6617
|
+
/** Worker spawns issued after the first settlement — the retry/respawn tail. */
|
|
6618
|
+
readonly respawns: Measured<number>;
|
|
6619
|
+
/** Labels spawned more than once (a literal retry of the same subtask). */
|
|
6620
|
+
readonly repeatedLabels: Measured<readonly string[]>;
|
|
6621
|
+
/** Longest parent chain below the root, in worker hops. */
|
|
6622
|
+
readonly delegationDepth: Measured<number>;
|
|
6623
|
+
readonly timeToFirstSpawnMs: Measured<number>;
|
|
6624
|
+
readonly supervisorWallMs: Measured<number>;
|
|
6625
|
+
/** Wall time inside the supervisor run with ZERO live workers. */
|
|
6626
|
+
readonly idleMs: Measured<number>;
|
|
6627
|
+
readonly idlePct: Measured<number>;
|
|
6628
|
+
/** sum(worker wall) / supervisor wall. >1 means real parallelism. */
|
|
6629
|
+
readonly workerUtilization: Measured<number>;
|
|
6630
|
+
}
|
|
6631
|
+
interface DecisionMetrics {
|
|
6632
|
+
readonly settledByStatus: Measured<Record<string, number>>;
|
|
6633
|
+
readonly settledVerdicts: Measured<Record<string, number>>;
|
|
6634
|
+
/** Worker verified its own work green AND produced a patch. */
|
|
6635
|
+
readonly accepted: Measured<number>;
|
|
6636
|
+
/** Worker settled with a failing verify. */
|
|
6637
|
+
readonly rejected: Measured<number>;
|
|
6638
|
+
/** Worker verified green but delivered no patch bytes — output with nothing to accept. */
|
|
6639
|
+
readonly emptyPass: Measured<number>;
|
|
6640
|
+
/** Settlements the brain observed before issuing its next spawn (evidence→respawn). */
|
|
6641
|
+
readonly observeThenRespawn: Measured<number>;
|
|
6642
|
+
/** Respawns with no settled evidence in front of them. */
|
|
6643
|
+
readonly respawnWithoutEvidence: Measured<number>;
|
|
6644
|
+
/** Steer + question traffic on the live down/up legs — the only "review while running" signal. */
|
|
6645
|
+
readonly reviewActions: Measured<number>;
|
|
6646
|
+
readonly workerEvidenceBytes: Measured<number>;
|
|
6647
|
+
}
|
|
6648
|
+
interface RoleSpend {
|
|
6649
|
+
readonly tokensIn: Measured<number>;
|
|
6650
|
+
readonly tokensOut: Measured<number>;
|
|
6651
|
+
readonly usd: Measured<number>;
|
|
6652
|
+
readonly source: string;
|
|
6653
|
+
}
|
|
6654
|
+
interface PerWorkerRow {
|
|
6655
|
+
readonly worker: string;
|
|
6656
|
+
readonly wallMs: number | null;
|
|
6657
|
+
readonly tokensIn: number;
|
|
6658
|
+
readonly tokensOut: number;
|
|
6659
|
+
readonly usd: number;
|
|
6660
|
+
readonly patchBytes: number | null;
|
|
6661
|
+
readonly passed: boolean | null;
|
|
6662
|
+
}
|
|
6663
|
+
interface WallDistribution {
|
|
6664
|
+
readonly n: number;
|
|
6665
|
+
readonly min: number;
|
|
6666
|
+
readonly p50: number;
|
|
6667
|
+
readonly p90: number;
|
|
6668
|
+
readonly max: number;
|
|
6669
|
+
readonly sum: number;
|
|
6670
|
+
}
|
|
6671
|
+
interface EconomicsMetrics {
|
|
6672
|
+
/** Driver/brain inference — journal `metered` events. */
|
|
6673
|
+
readonly brain: RoleSpend;
|
|
6674
|
+
/**
|
|
6675
|
+
* Brain completions that came back `finish_reason: "length"` — output TRUNCATED. Any value
|
|
6676
|
+
* above 0 means the supervisor planned into a wall and then acted on the half-written plan,
|
|
6677
|
+
* which is a defect and not a cost figure. The journal's `metered` rows carry token counts
|
|
6678
|
+
* but no finish reason, so this reads the per-call brain tap; a run whose supervisor
|
|
6679
|
+
* predates that tap reports `unavailable`, never 0.
|
|
6680
|
+
*/
|
|
6681
|
+
readonly brainTruncations: Measured<number>;
|
|
6682
|
+
/** Worker inference — journal `settled` spend plus the harness session join. */
|
|
6683
|
+
readonly workers: RoleSpend;
|
|
6684
|
+
readonly totalUsd: Measured<number>;
|
|
6685
|
+
/**
|
|
6686
|
+
* Where `totalUsd` came from. CLI-backend workers never price their own inference into
|
|
6687
|
+
* the journal, so on those arms the total is BRAIN-ONLY and the worker row's token
|
|
6688
|
+
* counts (recovered from the harness store) are the honest worker-side figure.
|
|
6689
|
+
*/
|
|
6690
|
+
readonly totalUsdSource: string;
|
|
6691
|
+
readonly costPerAcceptedPatchUsd: Measured<number>;
|
|
6692
|
+
readonly workerWallMsDistribution: Measured<WallDistribution>;
|
|
6693
|
+
readonly perWorker: Measured<readonly PerWorkerRow[]>;
|
|
6694
|
+
}
|
|
6695
|
+
interface PatchStats {
|
|
6696
|
+
readonly files: number;
|
|
6697
|
+
readonly linesAdded: number;
|
|
6698
|
+
readonly linesRemoved: number;
|
|
6699
|
+
readonly testFilesTouched: readonly string[];
|
|
6700
|
+
}
|
|
6701
|
+
interface OutcomeMetrics {
|
|
6702
|
+
readonly supStatus: Measured<string>;
|
|
6703
|
+
readonly supVerdict: Measured<string>;
|
|
6704
|
+
readonly delivered: Measured<boolean>;
|
|
6705
|
+
readonly judgeResolved: Measured<boolean | null>;
|
|
6706
|
+
readonly judgeScore: Measured<number | null>;
|
|
6707
|
+
readonly judgePassed: Measured<number | null>;
|
|
6708
|
+
readonly judgeTotal: Measured<number | null>;
|
|
6709
|
+
readonly verifyPass: Measured<boolean>;
|
|
6710
|
+
readonly verifyRc: Measured<number>;
|
|
6711
|
+
readonly patch: Measured<PatchStats>;
|
|
6712
|
+
/** Which document the judge fields came from (a judge file, a ledger row, or nothing). */
|
|
6713
|
+
readonly judgeSource: string | null;
|
|
6714
|
+
}
|
|
6715
|
+
interface SupervisorRunReport {
|
|
6716
|
+
readonly schema: typeof SUPERVISOR_RUN_SCHEMA;
|
|
6717
|
+
/** The `runRef` of the sources this report was computed from. */
|
|
6718
|
+
readonly runRef: string;
|
|
6719
|
+
readonly instanceId: string | null;
|
|
6720
|
+
readonly arm: string | null;
|
|
6721
|
+
readonly supervisorId: Measured<string>;
|
|
6722
|
+
readonly generatedAt: string;
|
|
6723
|
+
readonly orchestration: OrchestrationMetrics;
|
|
6724
|
+
readonly decision: DecisionMetrics;
|
|
6725
|
+
readonly economics: EconomicsMetrics;
|
|
6726
|
+
readonly outcome: OutcomeMetrics;
|
|
6727
|
+
/** Artifacts that were missing, in read order — the provenance of every `unavailable`. */
|
|
6728
|
+
readonly gaps: readonly string[];
|
|
6729
|
+
/** The `traces` CLI command that covers the harness-session layer for this run. */
|
|
6730
|
+
readonly traceCommand: string;
|
|
6731
|
+
}
|
|
6732
|
+
interface RollupCellRow {
|
|
6733
|
+
readonly instanceId: string | null;
|
|
6734
|
+
readonly arm: string | null;
|
|
6735
|
+
readonly steers: Measured<number>;
|
|
6736
|
+
readonly waves: Measured<number>;
|
|
6737
|
+
readonly utilization: Measured<number>;
|
|
6738
|
+
readonly idlePct: Measured<number>;
|
|
6739
|
+
readonly resolved: Measured<boolean | null>;
|
|
6740
|
+
readonly usd: Measured<number>;
|
|
6741
|
+
}
|
|
6742
|
+
interface SupervisorRunRollup {
|
|
6743
|
+
readonly schema: typeof SUPERVISOR_RUN_ROLLUP_SCHEMA;
|
|
6744
|
+
readonly cells: number;
|
|
6745
|
+
readonly steersTotal: Measured<number>;
|
|
6746
|
+
readonly cellsWithSteers: Measured<number>;
|
|
6747
|
+
readonly cellsWithUnavailableSteers: number;
|
|
6748
|
+
readonly wavesMean: Measured<number>;
|
|
6749
|
+
readonly maxConcurrencyMax: Measured<number>;
|
|
6750
|
+
readonly utilizationMean: Measured<number>;
|
|
6751
|
+
readonly idlePctMean: Measured<number>;
|
|
6752
|
+
readonly workersSpawnedTotal: Measured<number>;
|
|
6753
|
+
readonly acceptedTotal: Measured<number>;
|
|
6754
|
+
readonly usdTotal: Measured<number>;
|
|
6755
|
+
readonly resolvedCount: Measured<number>;
|
|
6756
|
+
readonly perCell: readonly RollupCellRow[];
|
|
6757
|
+
}
|
|
6758
|
+
/**
|
|
6759
|
+
* A supervision tree expressed in the canonical rollout row type: one
|
|
6760
|
+
* `RolloutLine` per invocation, joined by `parent_rollout_id`. The root row
|
|
6761
|
+
* carries `role: 'supervisor'`; every spawned worker carries `role: 'worker'`
|
|
6762
|
+
* with the root as its parent.
|
|
6763
|
+
*/
|
|
6764
|
+
interface SupervisorRunTree {
|
|
6765
|
+
readonly rootId: string | null;
|
|
6766
|
+
readonly nodes: readonly RolloutLine[];
|
|
6767
|
+
/** Why a node could not be recovered, in read order. */
|
|
6768
|
+
readonly gaps: readonly string[];
|
|
6769
|
+
}
|
|
6770
|
+
|
|
6771
|
+
/**
|
|
6772
|
+
* The pure analyzer. Takes already-read bytes (`SupervisorRunSources`) and
|
|
6773
|
+
* returns the report — every metric derivable from a synthetic journal string
|
|
6774
|
+
* with no filesystem, no process, and no network. All I/O lives in a reader
|
|
6775
|
+
* (`loops-reader.ts` is one).
|
|
6776
|
+
*/
|
|
6777
|
+
|
|
6778
|
+
/**
|
|
6779
|
+
* Analyze already-read supervisor-run bytes. Pure and synchronous: same bytes
|
|
6780
|
+
* in, same report out (modulo `generatedAt`, which `now` pins in tests).
|
|
6781
|
+
*/
|
|
6782
|
+
declare function analyzeSupervisorRunSources(src: SupervisorRunSources, now?: () => number): SupervisorRunReport;
|
|
6783
|
+
/**
|
|
6784
|
+
* Aggregate many supervisor-run reports. A metric no run could measure stays
|
|
6785
|
+
* `unavailable` rather than becoming a 0-valued mean, and cells whose steer
|
|
6786
|
+
* count was unavailable are counted separately from cells that measured zero.
|
|
6787
|
+
*/
|
|
6788
|
+
declare function rollupSupervisorRuns(reports: readonly SupervisorRunReport[]): SupervisorRunRollup;
|
|
6789
|
+
|
|
6790
|
+
/**
|
|
6791
|
+
* ONE implementation of `SupervisorRunReader`: the on-disk layout the loops
|
|
6792
|
+
* supervisor writes — `<runDir>/ws/.loops/supervisor/<id>/{journal.jsonl,
|
|
6793
|
+
* state.json, progress.ndjson, workers/*.ndjson}` alongside the run's
|
|
6794
|
+
* `result.json` / `judge.json` / `driver.log` / delivered patch.
|
|
6795
|
+
*
|
|
6796
|
+
* Nothing in `analyze.ts` knows this layout exists. A different store (an
|
|
6797
|
+
* archive, an object bucket, a database) implements the same interface and
|
|
6798
|
+
* gets the same report.
|
|
6799
|
+
*
|
|
6800
|
+
* Worker token recovery reuses the rollout module's opencode reader rather
|
|
6801
|
+
* than opening a second sqlite path — one store client, one corruption policy.
|
|
6802
|
+
*/
|
|
6803
|
+
|
|
6804
|
+
interface LoopsReaderOptions {
|
|
6805
|
+
/** Override the workspace dir (default `<runDir>/ws`). */
|
|
6806
|
+
readonly ws?: string;
|
|
6807
|
+
/** Delivered patch path (default: `patchPath` from result.json). */
|
|
6808
|
+
readonly patchPath?: string;
|
|
6809
|
+
/** opencode sqlite store; set to `null` to skip the worker-token join entirely. */
|
|
6810
|
+
readonly opencodeDb?: string | null;
|
|
6811
|
+
/** Ledger to fall back to when the run has no `judge.json` (matched on iid + arm + runDir). */
|
|
6812
|
+
readonly ledgerPath?: string;
|
|
6813
|
+
}
|
|
6814
|
+
/**
|
|
6815
|
+
* Analyze a supervisor run. Accepts a run directory (read through the loops
|
|
6816
|
+
* reader), any `SupervisorRunReader`, or already-read source bytes — so a
|
|
6817
|
+
* caller with its own store never has to touch the filesystem layout.
|
|
6818
|
+
*/
|
|
6819
|
+
declare function analyzeSupervisorRun(input: string | SupervisorRunReader | SupervisorRunSources, opts?: LoopsReaderOptions): Promise<SupervisorRunReport>;
|
|
6820
|
+
interface WriteSupervisorRunOptions extends LoopsReaderOptions {
|
|
6821
|
+
/** Append the headline block here (the experiment's run log). */
|
|
6822
|
+
readonly appendHeadlineTo?: string;
|
|
6823
|
+
/** Also console.log the headline (default true). */
|
|
6824
|
+
readonly echo?: boolean;
|
|
6825
|
+
/**
|
|
6826
|
+
* Write `run-report.{json,md}` here instead of into the run dir. Set when
|
|
6827
|
+
* reporting over a run directory that must stay READ-ONLY (a live run, an
|
|
6828
|
+
* archived generation).
|
|
6829
|
+
*/
|
|
6830
|
+
readonly reportDir?: string;
|
|
6831
|
+
}
|
|
6832
|
+
/**
|
|
6833
|
+
* Read a completed run, write `run-report.json` + `run-report.md` beside its
|
|
6834
|
+
* artifacts, and append the headline block to the run log. Never throws on a
|
|
6835
|
+
* missing artifact — a run that produced nothing still yields a report whose
|
|
6836
|
+
* every metric says why.
|
|
6837
|
+
*/
|
|
6838
|
+
declare function writeSupervisorRunReport(runDir: string, opts?: WriteSupervisorRunOptions): Promise<SupervisorRunReport>;
|
|
6839
|
+
|
|
6840
|
+
/**
|
|
6841
|
+
* Human-readable renderings of a supervisor-run report. Zero and unavailable
|
|
6842
|
+
* render differently on purpose (`0` vs `unavailable — <reason>`), because the
|
|
6843
|
+
* two have driven opposite conclusions about the same architecture.
|
|
6844
|
+
*/
|
|
6845
|
+
|
|
6846
|
+
/**
|
|
6847
|
+
* The block appended to a run log after every run — the answers an operator asks
|
|
6848
|
+
* for, in the log tail, with no extra command.
|
|
6849
|
+
*/
|
|
6850
|
+
declare function renderSupervisorRunHeadline(r: SupervisorRunReport): string;
|
|
6851
|
+
declare function renderSupervisorRunMarkdown(r: SupervisorRunReport): string;
|
|
6852
|
+
|
|
6853
|
+
/**
|
|
6854
|
+
* The supervision tree as `tangle.rollout.v1` rows.
|
|
6855
|
+
*
|
|
6856
|
+
* A supervisor run IS a tree of rollouts, so its nodes are not a new shape:
|
|
6857
|
+
* the root becomes one `RolloutLine` with `role: 'supervisor'`, every spawned
|
|
6858
|
+
* worker becomes a `RolloutLine` with `role: 'worker'` and
|
|
6859
|
+
* `parent_rollout_id` pointing at its spawner. The rows append to the same
|
|
6860
|
+
* ledger as solo-agent rollouts and join to them with the same keys.
|
|
6861
|
+
*
|
|
6862
|
+
* What the journal CANNOT supply is the transcript: a worker's messages live
|
|
6863
|
+
* in its harness store (opencode sqlite, Claude Code jsonl), which the
|
|
6864
|
+
* `src/rollout/readers/*` intake readers own. Rows minted here are therefore
|
|
6865
|
+
* GAP lines (`messages: []`, `provenance.gap` set) carrying identity,
|
|
6866
|
+
* structure, outcome and cost; hydrating them with messages is the readers'
|
|
6867
|
+
* job, keyed on `artifacts.transcript_ref`.
|
|
6868
|
+
*
|
|
6869
|
+
* Timing lives in `outcome.metrics` (`spawned_at` / `settled_at` / `wall_ms`)
|
|
6870
|
+
* rather than a schema field: `tangle.rollout.v1` describes ONE invocation,
|
|
6871
|
+
* and the inter-invocation event timeline — which is what waves, concurrency,
|
|
6872
|
+
* idle and utilization are computed from — is a property of the journal, not
|
|
6873
|
+
* of any single row. The analyzer reads that timeline; these rows carry the
|
|
6874
|
+
* per-node facts.
|
|
6875
|
+
*/
|
|
6876
|
+
|
|
6877
|
+
interface SupervisorRolloutOptions {
|
|
6878
|
+
/** Benchmark/suite id for `task.suite`. Defaults to `'supervisor-run'`. */
|
|
6879
|
+
readonly suite?: string;
|
|
6880
|
+
/** `task.split`. Defaults to `'search'` (the trainable pool). */
|
|
6881
|
+
readonly split?: RolloutSplit;
|
|
6882
|
+
/** Replicate index. Defaults to 0. */
|
|
6883
|
+
readonly rep?: number;
|
|
6884
|
+
/** Sampling seed the campaign pinned. Defaults to null (not recorded). */
|
|
6885
|
+
readonly seed?: number | null;
|
|
6886
|
+
/** `run_id` for every node. Defaults to the supervisor root id, else `runRef`. */
|
|
6887
|
+
readonly runId?: string;
|
|
6888
|
+
/** Harness that drove the supervisor. */
|
|
6889
|
+
readonly supervisorHarness?: string | null;
|
|
6890
|
+
/** Harness that drove the workers. */
|
|
6891
|
+
readonly workerHarness?: string | null;
|
|
6892
|
+
/** Model the supervisor ran on. */
|
|
6893
|
+
readonly supervisorModel?: string | null;
|
|
6894
|
+
/** Model the workers ran on. */
|
|
6895
|
+
readonly workerModel?: string | null;
|
|
6896
|
+
readonly experimentId?: string | null;
|
|
6897
|
+
readonly candidateId?: string | null;
|
|
6898
|
+
readonly generation?: number | null;
|
|
6899
|
+
readonly candidateIndex?: number | null;
|
|
6900
|
+
/** Pins `provenance.captured_at`; defaults to now. */
|
|
6901
|
+
readonly capturedAt?: string;
|
|
6902
|
+
}
|
|
6903
|
+
/**
|
|
6904
|
+
* Mint the supervision tree as rollout rows. Returns the rows plus the gaps
|
|
6905
|
+
* that made any of them incomplete — same unavailable-vs-zero discipline as
|
|
6906
|
+
* the report: a row with no transcript says WHY, it never pretends to be empty.
|
|
6907
|
+
*/
|
|
6908
|
+
declare function supervisorRunRolloutLines(src: SupervisorRunSources, opts?: SupervisorRolloutOptions): SupervisorRunTree;
|
|
6909
|
+
|
|
6293
6910
|
/** Canonical OpenInference-over-OTLP attribute names used at trace boundaries. */
|
|
6294
6911
|
declare const OPENINFERENCE_SPAN_KIND = "openinference.span.kind";
|
|
6295
6912
|
declare const LLM_MODEL_NAME = "llm.model_name";
|
|
@@ -16930,4 +17547,4 @@ type CachedJudge<TArtifact, TScenario extends Scenario = Scenario> = JudgeConfig
|
|
|
16930
17547
|
*/
|
|
16931
17548
|
declare function cachedJudge<TArtifact, TScenario extends Scenario = Scenario>(judge: JudgeConfig<TArtifact, TScenario>, store: VerdictCacheStore, options: CachedJudgeOptions): CachedJudge<TArtifact, TScenario>;
|
|
16932
17549
|
|
|
16933
|
-
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 AgreementResult, 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, type BuildAgreementJudgeOptions, 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 ChatRequest, type ChatResponse, 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 CompareLabels, 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 FieldAgreementSpec, type FieldDestination, type FileChange, FileSystemFeedbackTrajectoryStore, FileSystemRawProviderSink, type FileSystemRawProviderSinkOptions, FileSystemTraceStore, type FileSystemTraceStoreOptions, type Finding, type FindingSubject, type FindingSubjectKind, type FindingToPolicyEditOptions, 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 GoldScenario, type GoldSplit, 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 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, POLICY_EDIT_AXES, POLICY_EDIT_CANDIDATE_RECORD_SCHEMA, POLICY_EDIT_TARGET_SURFACES, 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 ParseStudentLabel, type PartitionHeldOutOptions, type PendingCostCall, type PendingCostCallView, type PersistedFinding, type PersonaConfig, type PersonaRigor, type Playbook, type PlaybookEntry, type PolicyEdit, type PolicyEditAdmission, type PolicyEditAdmissionOptions, type PolicyEditAxis, type PolicyEditCandidateRecord, type PolicyEditChange, type PolicyEditExpectedGain, type PolicyEditGainDirection, type PolicyEditGainUnit, type PolicyEditInit, type PolicyEditRisk, type PolicyEditSchemaVersion, type PolicyEditSource, type PolicyEditTarget, type PolicyEditTargetSurface, PolicyEditValidationError, 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, 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 RenderStudentPrompt, 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 RolloutRow, type RolloutScrubber, 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 RunDistillationOptions, type RunDistillationResult, 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, 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 Span, type SpanBase, type SpanFilter, type SpanHandle, type SpanKind, type SpanMatchRecord, SpanNotFoundError, type SpanPredicate, type SpanStatus, type SplitGoldOptions, 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 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 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 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, admitPolicyEdit, adversarialJudge, agentProfileCellHashMaterial, agentProfileCellKey, agentProfileHash, agentProfileId, agentProfileModelId, agentVisibleFields, aggregateJudgeVerdicts, aggregateLlm, aggregatePrReviewScore, aggregateRunScore, allCriticalPassed, analyzeAntiSlop, analyzeSeries, analyzeTraces, appendScorecard, applyLlmSpanOtlpAttributes, applyPolicyEditToSurface, applyToolSpanOtlpAttributes, argHash, asNumber, asString, assertCapabilityHeadroom, assertCrossFamily, assertLlmRoute, assertModelsServed, assertNoHiddenLeak, assertProductBenchmarkRun, assertRealAgentReceipts, assertRealBackend, assertReleaseConfidence, assertRunAgentProfileCell, assertRunCaptured, assertSingleBackend, assignFeedbackSplit, assignHeldOutTag, attachCostToReport, attest, attributeCounterfactuals, backoffMs, deterministicSplit as benchmarkDeterministicSplit, index$1 as benchmarks, benjaminiHochberg, bisect, blendHeldout, blockingKnowledgeEval, bonferroni, bootstrapCi, buildAgentInterfaceProfileCell, buildAgentProfileCell, buildAgreementJudge, 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, cliffsDelta, clusteredPairedBinary, codeExecutionJudge, cohensD, coherenceJudge, collectionPreserved, commentsForSource, commitBisect, comparePairedArms, compareReferenceReplay, compareToBaseline, compilerJudge, completionVerdict, composeParsers, composeValidators, computeExperimentStats, computeFindingId, computePolicyEditId, 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, defaultParseStudentLabel, defaultProviderRedactor, defaultReferenceReplayMatcher, defaultRenderStudentPrompt, 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, fieldAgreement, 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, isPolicyEdit, isRetrievalSpan, isRunRecord, isSandboxSpan, isToolSpan, isTransientLlmError, iterateRawCalls, jestTestParser, jsonHasKeys, jsonShape, jsonlReferenceReplayStore, jsonlReviewStore, jsonlRunRecordBackend, judgeFamily, judgeReplayGate, judgeSpans, keyPreserved, knowledgeReadinessTracePayload, leaderboard, linterJudge, llmJudge, llmSpanFromProvider, llmSpans, loadGoldScenarios, loadScorecard, loadScorerFromGrader, localCommandRunner, lowercaseMutator, makeEvalTools, makeFinding, makePolicyEdit, makePolicyEditCandidateRecord, 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, parseGoldJsonl, parseReflectionResponse, parseRunRecordSafe, parseRuntimeTrajectoryHookEvent, partialCredit, partitionHeldOut, passAtK, passOrthogonality, pearsonR, pixelDeltaRatio, planTraceInsightQuestions, policyEditFromFinding, policyEditsFromFindings, politenessPrefixMutator, positionalBias, preflightModels, printDriverSummary, probeLlm, productBenchmarkIntegrityFailures, productBenchmarkMutableSurfaces, productBenchmarkRepoIdentity, productBenchmarkSplits, index as profile, projectOtlpFlatLine, projectRuntimeTrajectoryEvidence, promptBisect, proposeSynthesisTargets, providerFromBaseUrl, pytestTestParser, ranks, readOtlpStatus, readProductBenchmarkManifest, readProductBenchmarkRecords, recordRuns, recordRunsToScorecard, redTeamDataset, redTeamReport, redactString, redactValue, referenceReplayRunsToSteeringRows, referenceReplayScenarioToRunScore, regexMatch, regexMatches, renderMarkdownReport, renderPlaybookMarkdown, renderPreferenceMemoryMarkdown, renderPriorFindings, renderReleaseReport, renderSteeringText, renderUpstreamFindings, repeatedActionDetector, replayFeedbackTrajectories, replayFeedbackTrajectory, replayScorerOverCorpus, replayTraceThroughJudge, requireAgentProfileCell, requiredSampleSize, researchReport, resolveModelPricing, resolveRunCostProvenance, resolveSeat, rolloutReward, roundTripRunRecord, routeFields, rowCount, rowWhere, runAgentControlLoop, runAssertions, runBehavioralCanaries, runCanaries, runCounterfactual, runDistillation, 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, scorePolicyEditReadiness, scorePrReviewComments, scorePrReviewSource, scoreRedTeamOutput, scoreReferenceReplay, scoreTraceInsightReadiness, seatPresets, securityJudge, selectHarnessVariant, selfPreference, sentenceReorderMutator, serializeFeedbackTrajectoriesJsonl, signManifest, spearmanR, splitGold, statusAdvanced, stopOnNoProgress, stopOnRepeatedAction, stringField, stripFencedJson, subjectiveEval, summarizeAgentReceiptIntegrity, summarizeBackendIntegrity, summarizeHarnessResults, summarizePrReviewBenchmark, summarizePreferenceMemory, summaryTable, testJudge, textInSnapshot, throwIfRunIncomplete, toAgentProfileJson, toJsonl, toLangfuseEnvelope, toOpenAiTool, toPrometheusText, toRewardRows, toSftRows, tokenizeDomainWords, toolNamesForRun, toolSpans, traceAnalystFunctionGroup, traceAnalystOnRunComplete, traceContract, traceJudge, traceJudgeEnsemble, traceSpanKindToOpenInferenceKind, tracedAnalyzeTraces, typoMutator, urlContains, userQuestionsForKnowledgeGaps, validateAgentProfileCell, validatePolicyEdit, validatePolicyEditCandidateRecord, validateProductBenchmarkManifest, validateProductBenchmarkRecord, validateProductBenchmarkRun, validateRunRecord, verbosityBias, verifyAgentProfileCell, verifyAttestation, verifyCompletion, verifyManifest, visualDiff, viteDeployRunner, vitestTestParser, weightedComposite, weightedMean, weightedRecall, welchsTTest, whitespaceCollapseMutator, wilcoxonSignedRank, wilson, withAssignedFeedbackSplit, withHeldoutBlend, withJudgeRetry, withOtelPipeline, wranglerDeployRunner };
|
|
17550
|
+
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 AgreementResult, 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, type BuildAgreementJudgeOptions, 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 CompareLabels, 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 FieldAgreementSpec, type FieldDestination, type FileChange, FileSystemFeedbackTrajectoryStore, FileSystemRawProviderSink, type FileSystemRawProviderSinkOptions, FileSystemTraceStore, type FileSystemTraceStoreOptions, type Finding, type FindingSubject, type FindingSubjectKind, type FindingToPolicyEditOptions, 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 GoldScenario, type GoldSplit, 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, POLICY_EDIT_AXES, POLICY_EDIT_CANDIDATE_RECORD_SCHEMA, POLICY_EDIT_TARGET_SURFACES, 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 ParseStudentLabel, type PartitionHeldOutOptions, type PendingCostCall, type PendingCostCallView, type PersistedFinding, type PersonaConfig, type PersonaRigor, type Playbook, type PlaybookEntry, type PolicyEdit, type PolicyEditAdmission, type PolicyEditAdmissionOptions, type PolicyEditAxis, type PolicyEditCandidateRecord, type PolicyEditChange, type PolicyEditExpectedGain, type PolicyEditGainDirection, type PolicyEditGainUnit, type PolicyEditInit, type PolicyEditRisk, type PolicyEditSchemaVersion, type PolicyEditSource, type PolicyEditTarget, type PolicyEditTargetSurface, PolicyEditValidationError, 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 RenderStudentPrompt, 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 RunDistillationOptions, type RunDistillationResult, 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 Span, type SpanBase, type SpanFilter, type SpanHandle, type SpanKind, type SpanMatchRecord, SpanNotFoundError, type SpanPredicate, type SpanStatus, type SplitGoldOptions, 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, admitPolicyEdit, adversarialJudge, agentProfileCellHashMaterial, agentProfileCellKey, agentProfileHash, agentProfileId, agentProfileModelId, agentVisibleFields, aggregateJudgeVerdicts, aggregateLlm, aggregatePrReviewScore, aggregateRunScore, allCriticalPassed, analyzeAntiSlop, analyzeSeries, analyzeSupervisorRun, analyzeSupervisorRunSources, analyzeTraces, appendScorecard, applyLlmSpanOtlpAttributes, applyPolicyEditToSurface, 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, buildAgreementJudge, 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, cliffsDelta, clusteredPairedBinary, codeExecutionJudge, cohensD, coherenceJudge, collectionPreserved, commentsForSource, commitBisect, comparePairedArms, compareReferenceReplay, compareToBaseline, compilerJudge, completionVerdict, composeParsers, composeValidators, computeExperimentStats, computeFindingId, computePolicyEditId, 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, defaultParseStudentLabel, defaultProviderRedactor, defaultReferenceReplayMatcher, defaultRenderStudentPrompt, 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, fieldAgreement, 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, isPolicyEdit, 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, loadGoldScenarios, loadScorecard, loadScorerFromGrader, localCommandRunner, lowercaseMutator, makeEvalTools, makeFinding, makePolicyEdit, makePolicyEditCandidateRecord, 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, parseGoldJsonl, parseReflectionResponse, parseRunRecordSafe, parseRuntimeTrajectoryHookEvent, partialCredit, partitionHeldOut, passAtK, passOrthogonality, pearsonR, pixelDeltaRatio, planTraceInsightQuestions, policyEditFromFinding, policyEditsFromFindings, politenessPrefixMutator, positionalBias, preflightModels, printDriverSummary, probeLlm, productBenchmarkIntegrityFailures, productBenchmarkMutableSurfaces, productBenchmarkRepoIdentity, productBenchmarkSplits, index as profile, projectOtlpFlatLine, projectRuntimeTrajectoryEvidence, promptBisect, proposeSynthesisTargets, providerFromBaseUrl, pytestTestParser, ranks, 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, runDistillation, 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, scorePolicyEditReadiness, scorePrReviewComments, scorePrReviewSource, scoreRedTeamOutput, scoreReferenceReplay, scoreTraceInsightReadiness, seatPresets, securityJudge, selectHarnessVariant, selfPreference, sentenceReorderMutator, serializeFeedbackTrajectoriesJsonl, showMeasured, signManifest, spearmanR, splitGold, 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, validatePolicyEdit, validatePolicyEditCandidateRecord, 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 };
|