@tangle-network/agent-eval 0.126.6 → 0.127.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 +51 -0
- package/README.md +2 -2
- package/dist/analyst/index.d.ts +52 -40
- package/dist/analyst/index.js +4 -4
- package/dist/belief-state/index.d.ts +34 -36
- package/dist/belief-state/index.js +2 -2
- package/dist/benchmarks/index.d.ts +30 -12
- package/dist/benchmarks/index.js +12 -10
- package/dist/builder-eval/index.js +1 -1
- package/dist/campaign/index.d.ts +432 -146
- package/dist/campaign/index.js +11 -9
- package/dist/{chunk-ARU2PZFM.js → chunk-424XHVKV.js} +43 -23
- package/dist/chunk-424XHVKV.js.map +1 -0
- package/dist/{chunk-NUKSVU3W.js → chunk-5DTSBUL2.js} +2 -2
- package/dist/{chunk-BTACVO2W.js → chunk-65QETEKG.js} +542 -258
- package/dist/chunk-65QETEKG.js.map +1 -0
- package/dist/{chunk-CGG5SLH3.js → chunk-ARCFIY7U.js} +2 -2
- package/dist/{chunk-P22LJ3Y2.js → chunk-CLELFRQG.js} +6 -4
- package/dist/chunk-CLELFRQG.js.map +1 -0
- package/dist/{chunk-LUNF2SEL.js → chunk-DJKY2TSY.js} +3 -3
- package/dist/chunk-DPUHNQLN.js +232 -0
- package/dist/chunk-DPUHNQLN.js.map +1 -0
- package/dist/{chunk-IPYXE555.js → chunk-EJGRPCO3.js} +36 -13
- package/dist/chunk-EJGRPCO3.js.map +1 -0
- package/dist/{chunk-K6IAZZ6L.js → chunk-FA3MFYNA.js} +132 -110
- package/dist/chunk-FA3MFYNA.js.map +1 -0
- package/dist/chunk-IG35YDN3.js +614 -0
- package/dist/chunk-IG35YDN3.js.map +1 -0
- package/dist/{chunk-DPZAEKA6.js → chunk-IMGJZBFG.js} +84 -56
- package/dist/chunk-IMGJZBFG.js.map +1 -0
- package/dist/{chunk-H5UD2323.js → chunk-IN455XKS.js} +53 -1
- package/dist/chunk-IN455XKS.js.map +1 -0
- package/dist/{chunk-PJQFMIOX.js → chunk-MHELPNRP.js} +31 -1
- package/dist/chunk-MHELPNRP.js.map +1 -0
- package/dist/{chunk-IILEIWGW.js → chunk-NL33OXEP.js} +41 -36
- package/dist/chunk-NL33OXEP.js.map +1 -0
- package/dist/{chunk-474LBSOX.js → chunk-OD5NQ2CS.js} +41 -16
- package/dist/chunk-OD5NQ2CS.js.map +1 -0
- package/dist/{chunk-QOTFXW5L.js → chunk-P5W7RQKK.js} +2 -2
- package/dist/{chunk-IR3KBHOY.js → chunk-P6FYH6K4.js} +39 -3
- package/dist/chunk-P6FYH6K4.js.map +1 -0
- package/dist/{chunk-J5SQWP6Y.js → chunk-PBE2LOSS.js} +18 -2
- package/dist/chunk-PBE2LOSS.js.map +1 -0
- package/dist/{chunk-E3IADPLG.js → chunk-PRB53E3J.js} +50 -224
- package/dist/chunk-PRB53E3J.js.map +1 -0
- package/dist/{chunk-X4UCIOTZ.js → chunk-S5YLIBFX.js} +2 -2
- package/dist/{chunk-7VYEGHWF.js → chunk-SZLVEKMJ.js} +41 -20
- package/dist/chunk-SZLVEKMJ.js.map +1 -0
- package/dist/{chunk-LKKT3IVV.js → chunk-TSN7JT6D.js} +6 -4
- package/dist/{chunk-LKKT3IVV.js.map → chunk-TSN7JT6D.js.map} +1 -1
- package/dist/{chunk-M7AH34KV.js → chunk-UTA2TGC4.js} +32 -16
- package/dist/chunk-UTA2TGC4.js.map +1 -0
- package/dist/{chunk-MAX3TN3C.js → chunk-UWZZKKU7.js} +7 -19
- package/dist/chunk-UWZZKKU7.js.map +1 -0
- package/dist/{chunk-ZVCHKKOP.js → chunk-WED5KLZQ.js} +39 -15
- package/dist/chunk-WED5KLZQ.js.map +1 -0
- package/dist/{chunk-OCFJACJU.js → chunk-X6VOPMLD.js} +74 -14
- package/dist/chunk-X6VOPMLD.js.map +1 -0
- package/dist/{chunk-MOXWMGPC.js → chunk-Y5CYOL42.js} +159 -70
- package/dist/chunk-Y5CYOL42.js.map +1 -0
- package/dist/{chunk-FO7HEH76.js → chunk-YJBNWCAA.js} +2 -2
- package/dist/chunk-ZPUEEM5U.js +179 -0
- package/dist/chunk-ZPUEEM5U.js.map +1 -0
- package/dist/{chunk-KE2VWPZX.js → chunk-ZUUWPZCV.js} +3 -3
- package/dist/cli.js +4 -4
- package/dist/contract/index.d.ts +464 -126
- package/dist/contract/index.js +425 -211
- package/dist/contract/index.js.map +1 -1
- package/dist/control.d.ts +34 -32
- package/dist/control.js +2 -2
- package/dist/hosted/index.d.ts +142 -41
- package/dist/hosted/index.js +23 -1
- package/dist/index.d.ts +365 -256
- package/dist/index.js +315 -226
- package/dist/index.js.map +1 -1
- package/dist/meta-eval/index.d.ts +32 -32
- package/dist/meta-eval/index.js +2 -2
- package/dist/multishot/index.d.ts +1 -0
- package/dist/openapi.json +1 -1
- package/dist/pipelines/index.js +2 -2
- package/dist/reporting.d.ts +97 -74
- package/dist/reporting.js +5 -4
- package/dist/rl.d.ts +177 -131
- package/dist/rl.js +232 -126
- package/dist/rl.js.map +1 -1
- package/dist/rollout/index.d.ts +53 -63
- package/dist/rollout/index.js +7 -5
- package/dist/{run-campaign-FFRM3RH5.js → run-campaign-3A2EBYBE.js} +4 -3
- package/dist/supervisor-run/index.d.ts +7 -15
- package/dist/supervisor-run/index.js +2 -2
- package/dist/traces.d.ts +66 -41
- package/dist/traces.js +9 -5
- package/dist/wire/index.d.ts +1 -0
- package/dist/wire/index.js +2 -2
- package/docs/concepts.md +18 -1
- package/docs/hosted-ingest-spec.md +37 -40
- package/docs/insight-report.md +57 -7
- package/docs/research-report-methodology.md +20 -21
- package/docs/rollout.md +13 -8
- package/package.json +21 -14
- package/dist/chunk-474LBSOX.js.map +0 -1
- package/dist/chunk-7VYEGHWF.js.map +0 -1
- package/dist/chunk-ARU2PZFM.js.map +0 -1
- package/dist/chunk-BTACVO2W.js.map +0 -1
- package/dist/chunk-DPZAEKA6.js.map +0 -1
- package/dist/chunk-E3IADPLG.js.map +0 -1
- package/dist/chunk-H5UD2323.js.map +0 -1
- package/dist/chunk-IILEIWGW.js.map +0 -1
- package/dist/chunk-IPYXE555.js.map +0 -1
- package/dist/chunk-IR3KBHOY.js.map +0 -1
- package/dist/chunk-J5SQWP6Y.js.map +0 -1
- package/dist/chunk-K6IAZZ6L.js.map +0 -1
- package/dist/chunk-M7AH34KV.js.map +0 -1
- package/dist/chunk-MAX3TN3C.js.map +0 -1
- package/dist/chunk-MOXWMGPC.js.map +0 -1
- package/dist/chunk-OCFJACJU.js.map +0 -1
- package/dist/chunk-P22LJ3Y2.js.map +0 -1
- package/dist/chunk-PJQFMIOX.js.map +0 -1
- package/dist/chunk-ZVCHKKOP.js.map +0 -1
- package/dist/chunk-ZZUXHH3R.js +0 -99
- package/dist/chunk-ZZUXHH3R.js.map +0 -1
- /package/dist/{chunk-NUKSVU3W.js.map → chunk-5DTSBUL2.js.map} +0 -0
- /package/dist/{chunk-CGG5SLH3.js.map → chunk-ARCFIY7U.js.map} +0 -0
- /package/dist/{chunk-LUNF2SEL.js.map → chunk-DJKY2TSY.js.map} +0 -0
- /package/dist/{chunk-QOTFXW5L.js.map → chunk-P5W7RQKK.js.map} +0 -0
- /package/dist/{chunk-X4UCIOTZ.js.map → chunk-S5YLIBFX.js.map} +0 -0
- /package/dist/{chunk-FO7HEH76.js.map → chunk-YJBNWCAA.js.map} +0 -0
- /package/dist/{chunk-KE2VWPZX.js.map → chunk-ZUUWPZCV.js.map} +0 -0
- /package/dist/{run-campaign-FFRM3RH5.js.map → run-campaign-3A2EBYBE.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1492,6 +1492,7 @@ declare function providerFromBaseUrl(baseUrl: string): string;
|
|
|
1492
1492
|
* OpenAI-compatible `/v1/chat/completions` client with:
|
|
1493
1493
|
* - Exponential-backoff retry on 429 + 5xx gateway errors (502/503/504).
|
|
1494
1494
|
* - Retry on transient network errors (fetch failed, AbortError, ECONNRESET).
|
|
1495
|
+
* - One retry at temperature 1 when a model explicitly requires it.
|
|
1495
1496
|
* - Graceful json_schema → json_object degrade on 400 with schema-reject body.
|
|
1496
1497
|
* - Fenced-JSON stripping (```json ... ```) for models that wrap structured output.
|
|
1497
1498
|
* - Configurable base URL + api key / bearer, works with LiteLLM proxies, OpenAI
|
|
@@ -1905,7 +1906,7 @@ declare function createChatClient(opts: CreateChatClientOpts): ChatClient;
|
|
|
1905
1906
|
* `ViewTraceOversized`.
|
|
1906
1907
|
*/
|
|
1907
1908
|
/** OTLP span kind (subset we actually use). */
|
|
1908
|
-
type TraceAnalystSpanKind = 'AGENT' | 'LLM' | 'TOOL' | 'CHAIN' | 'GUARDRAIL' | 'SPAN' | 'UNKNOWN';
|
|
1909
|
+
type TraceAnalystSpanKind = 'AGENT' | 'LLM' | 'TOOL' | 'CHAIN' | 'EVALUATOR' | 'GUARDRAIL' | 'SPAN' | 'UNKNOWN';
|
|
1909
1910
|
type TraceAnalystSpanStatus = 'OK' | 'ERROR' | 'UNSET';
|
|
1910
1911
|
/** Subset of OTLP span fields the analyst exposes to the agent. The
|
|
1911
1912
|
* store's job is to project upstream's full span shape down to this
|
|
@@ -2144,7 +2145,8 @@ interface TraceAnalysisStore {
|
|
|
2144
2145
|
* researcher loop SHOULD be recorded as a `RunRecord`. The mandatory
|
|
2145
2146
|
* fields are exactly those the paper "Two Loops, Three Roles" requires
|
|
2146
2147
|
* for reproducibility: who/what/when/cost/seed/hash, plus the search vs
|
|
2147
|
-
* holdout split tag
|
|
2148
|
+
* holdout split tag. A task score is optional because execution-only records
|
|
2149
|
+
* must preserve missing labels instead of converting errors into zero quality.
|
|
2148
2150
|
*
|
|
2149
2151
|
* This is intentionally NOT a replacement for the rich `Run` /
|
|
2150
2152
|
* `ProposeReviewReport` / `ScenarioResult` types already in the
|
|
@@ -2165,6 +2167,13 @@ interface TraceAnalysisStore {
|
|
|
2165
2167
|
/** Search/dev/holdout split tag. 'search' is the paper-grade alias for the
|
|
2166
2168
|
* combined train+test pool that the optimizer is allowed to read. */
|
|
2167
2169
|
type RunSplitTag = 'search' | 'dev' | 'holdout';
|
|
2170
|
+
/**
|
|
2171
|
+
* Explicit execution-lifecycle result for a run.
|
|
2172
|
+
*
|
|
2173
|
+
* This is separate from task quality (`outcome`) and failure classification.
|
|
2174
|
+
* Producers set it only from root-run or process evidence.
|
|
2175
|
+
*/
|
|
2176
|
+
type RunTerminalOutcome = 'succeeded' | 'failed' | 'cancelled' | 'incomplete' | 'unknown';
|
|
2168
2177
|
interface RunTokenUsage {
|
|
2169
2178
|
input: number;
|
|
2170
2179
|
/** All generated tokens charged as output, including reasoning tokens. */
|
|
@@ -2178,11 +2187,6 @@ interface RunTokenUsage {
|
|
|
2178
2187
|
}
|
|
2179
2188
|
/**
|
|
2180
2189
|
* How a run's USD amount was obtained.
|
|
2181
|
-
*
|
|
2182
|
-
* `costUsd` remains mandatory for wire compatibility. New producers should
|
|
2183
|
-
* always populate this discriminated union so a missing bill is never
|
|
2184
|
-
* mistaken for an observed zero-dollar run. For `uncaptured`, `costUsd` uses
|
|
2185
|
-
* the legacy `0` sentinel while this field carries the truthful null.
|
|
2186
2190
|
*/
|
|
2187
2191
|
type RunCostProvenance = {
|
|
2188
2192
|
kind: 'observed';
|
|
@@ -2228,8 +2232,8 @@ interface JudgeScoresRecord {
|
|
|
2228
2232
|
perJudge: Record<string, Record<string, number>>;
|
|
2229
2233
|
/** Per-dim mean across judges. Convenience — derivable from `perJudge`. */
|
|
2230
2234
|
perDimMean: Record<string, number>;
|
|
2231
|
-
/** Composite mean across
|
|
2232
|
-
*
|
|
2235
|
+
/** Composite mean across successful judges. Mirrors the task score only
|
|
2236
|
+
* when `failedJudges` is empty. */
|
|
2233
2237
|
composite: number;
|
|
2234
2238
|
/** Judges that errored or returned an unparseable verdict. Recorded
|
|
2235
2239
|
* by id (e.g. `['glm-5.1']`) so a partial-failure case is explicit,
|
|
@@ -2240,11 +2244,11 @@ interface JudgeScoresRecord {
|
|
|
2240
2244
|
notes?: string;
|
|
2241
2245
|
}
|
|
2242
2246
|
interface RunOutcome {
|
|
2243
|
-
/** Score on the search/optimization split. Optional
|
|
2244
|
-
*
|
|
2247
|
+
/** Score on the search/optimization split. Optional for holdout-only and
|
|
2248
|
+
* execution-only records. */
|
|
2245
2249
|
searchScore?: number;
|
|
2246
|
-
/** Score on the held-out split. Optional
|
|
2247
|
-
*
|
|
2250
|
+
/** Score on the held-out split. Optional for search-only and execution-only
|
|
2251
|
+
* records. When both scores are absent, the run is explicitly unlabeled. */
|
|
2248
2252
|
holdoutScore?: number;
|
|
2249
2253
|
/** Bag of any other metric the run produced — judge dimensions,
|
|
2250
2254
|
* pass/fail counters, latency stats, etc. Numeric only — keeps
|
|
@@ -2308,42 +2312,39 @@ interface RunRecord {
|
|
|
2308
2312
|
wallMs: number;
|
|
2309
2313
|
/** Time spent queued before execution started, if known. */
|
|
2310
2314
|
queueMs?: number;
|
|
2311
|
-
/** Total USD cost
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
costUsd: number;
|
|
2316
|
-
/** Observed, model-priced estimate, or genuinely uncaptured USD amount.
|
|
2317
|
-
* Optional only so existing serialized RunRecords remain valid. */
|
|
2318
|
-
costProvenance?: RunCostProvenance;
|
|
2315
|
+
/** Total USD cost, or null when the producer could not capture one. */
|
|
2316
|
+
costUsd: number | null;
|
|
2317
|
+
/** Whether `costUsd` came from billing data, a price calculation, or is unavailable. */
|
|
2318
|
+
costProvenance: RunCostProvenance;
|
|
2319
2319
|
/** Token usage breakdown. */
|
|
2320
2320
|
tokenUsage: RunTokenUsage;
|
|
2321
|
+
/** Root-run or process terminal result. Never inferred from a child span. */
|
|
2322
|
+
terminalOutcome: RunTerminalOutcome;
|
|
2323
|
+
/** Root-run or process failure reason. Valid only for a failed, cancelled,
|
|
2324
|
+
* or incomplete terminal result; never populated from a child span. */
|
|
2325
|
+
terminalFailureReason?: string;
|
|
2321
2326
|
/** Judge-side metadata, if a judge was used. */
|
|
2322
2327
|
judgeMetadata?: RunJudgeMetadata;
|
|
2323
2328
|
/** Per-split scores + raw bag. */
|
|
2324
2329
|
outcome: RunOutcome;
|
|
2325
|
-
/** Canonical
|
|
2330
|
+
/** Canonical task-failure class drawn from the shared
|
|
2326
2331
|
* `FAILURE_CLASSES` taxonomy. This is the aggregation key that makes
|
|
2327
2332
|
* "which failure dominates across the whole fleet" answerable in ONE
|
|
2328
2333
|
* vocabulary — every agent classifies against the same enum. Producers
|
|
2329
|
-
* set it
|
|
2330
|
-
*
|
|
2334
|
+
* set it only from task-result evidence. Execution errors belong in
|
|
2335
|
+
* `outcome.raw.execution_error_count`, even when the run later fails. */
|
|
2331
2336
|
failureClass?: FailureClass;
|
|
2332
|
-
/** Free-form
|
|
2337
|
+
/** Free-form task-failure detail, scoped UNDER `failureClass`
|
|
2333
2338
|
* (e.g. failureClass='tool_recovery_failure', failureMode='forge_build_unsatisfied').
|
|
2334
|
-
*
|
|
2339
|
+
* Do not populate this from a child execution error alone. */
|
|
2335
2340
|
failureMode?: string;
|
|
2336
2341
|
/** Which split this run was drawn from. */
|
|
2337
2342
|
splitTag: RunSplitTag;
|
|
2338
2343
|
/**
|
|
2339
|
-
* Stable scenario identifier the run was scored against.
|
|
2340
|
-
*
|
|
2341
|
-
* that pairs runs by scenario (preferences, paired stats, BT tournament)
|
|
2342
|
-
* keys on this. The campaign artifact populates it canonically; legacy
|
|
2343
|
-
* runs without it fall back to inference from `outcome.raw.scenario_id`
|
|
2344
|
-
* or `experimentId`.
|
|
2344
|
+
* Stable scenario identifier the run observed or was scored against.
|
|
2345
|
+
* Comparison primitives match this identity rather than input order.
|
|
2345
2346
|
*/
|
|
2346
|
-
scenarioId
|
|
2347
|
+
scenarioId: string;
|
|
2347
2348
|
/**
|
|
2348
2349
|
* Canonical identity for the agent profile cell that produced this row:
|
|
2349
2350
|
* profile artifact hash plus optional harness/model/prompt/reporting
|
|
@@ -2353,6 +2354,8 @@ interface RunRecord {
|
|
|
2353
2354
|
*/
|
|
2354
2355
|
agentProfile?: AgentProfileCell;
|
|
2355
2356
|
}
|
|
2357
|
+
/** Return task quality, preferring held-out evidence when both scores exist. */
|
|
2358
|
+
declare function runTaskScore(record: RunRecord): number | undefined;
|
|
2356
2359
|
declare class RunRecordValidationError extends ValidationError {
|
|
2357
2360
|
readonly path: string;
|
|
2358
2361
|
constructor(message: string, path?: string);
|
|
@@ -2363,15 +2366,6 @@ declare class RunRecordValidationError extends ValidationError {
|
|
|
2363
2366
|
* `RunRecord` on success — the validator does not coerce.
|
|
2364
2367
|
*/
|
|
2365
2368
|
declare function validateRunRecord(input: unknown): RunRecord;
|
|
2366
|
-
/**
|
|
2367
|
-
* Resolve provenance for both new and legacy records.
|
|
2368
|
-
*
|
|
2369
|
-
* Legacy producers sometimes set `outcome.raw.cost_estimated = 1`. A positive
|
|
2370
|
-
* unlabeled amount is treated as observed, matching the historical contract.
|
|
2371
|
-
* Zero without an explicit label is conservatively uncaptured: claiming an
|
|
2372
|
-
* observed $0 would be stronger than the serialized evidence supports.
|
|
2373
|
-
*/
|
|
2374
|
-
declare function resolveRunCostProvenance(run: Pick<RunRecord, 'costUsd' | 'costProvenance' | 'outcome'>): RunCostProvenance;
|
|
2375
2369
|
/** Boolean validator — convenience for filtering arrays. */
|
|
2376
2370
|
declare function isRunRecord(input: unknown): input is RunRecord;
|
|
2377
2371
|
/** Non-throwing validator — returns a discriminated union. */
|
|
@@ -3036,7 +3030,7 @@ type RawAnalystFinding = z.infer<typeof RawAnalystFindingSchema>;
|
|
|
3036
3030
|
* item so persisted rows and older model fixtures remain readable. New output
|
|
3037
3031
|
* always receives the plural shape.
|
|
3038
3032
|
*/
|
|
3039
|
-
declare const CanonicalRawAnalystFindingSchema: z.
|
|
3033
|
+
declare const CanonicalRawAnalystFindingSchema: z.ZodPreprocess<z.ZodObject<{
|
|
3040
3034
|
evidence: z.ZodArray<z.ZodObject<{
|
|
3041
3035
|
uri: z.ZodString;
|
|
3042
3036
|
excerpt: z.ZodOptional<z.ZodString>;
|
|
@@ -4794,7 +4788,7 @@ declare function acquisitionPlansForKnowledgeGaps(gaps: KnowledgeRequirement[]):
|
|
|
4794
4788
|
* specific promotion path (still useful for replay-style evals).
|
|
4795
4789
|
*/
|
|
4796
4790
|
|
|
4797
|
-
type HeldOutGateRejectionCode = 'few_runs' | 'negative_delta' | 'overfit_gap' | 'cost_ceiling';
|
|
4791
|
+
type HeldOutGateRejectionCode = 'few_runs' | 'missing_split_scores' | 'missing_cost' | 'negative_delta' | 'overfit_gap' | 'cost_ceiling';
|
|
4798
4792
|
interface HeldOutGateConfig {
|
|
4799
4793
|
/** Minimum number of paired (candidate, baseline) holdout observations
|
|
4800
4794
|
* required before the gate will even consider promoting. Default 3. */
|
|
@@ -4825,39 +4819,43 @@ interface HeldOutGateConfig {
|
|
|
4825
4819
|
*
|
|
4826
4820
|
* This exists because "we ship the better prompt" is only an honest
|
|
4827
4821
|
* pitch when the better prompt also fits a customer-stated budget.
|
|
4828
|
-
* Cost is read from `RunRecord.costUsd
|
|
4829
|
-
*
|
|
4822
|
+
* Cost is read from `RunRecord.costUsd`; a null amount rejects a
|
|
4823
|
+
* configured cost check because the limit cannot be proven.
|
|
4830
4824
|
*/
|
|
4831
4825
|
costPerTaskCeiling?: number;
|
|
4832
4826
|
}
|
|
4833
4827
|
interface GateEvidence {
|
|
4834
4828
|
/** Number of paired (candidate, baseline) holdout observations used. */
|
|
4835
4829
|
productiveRuns: number;
|
|
4836
|
-
/**
|
|
4837
|
-
|
|
4838
|
-
/**
|
|
4830
|
+
/** Candidate holdout rows with no baseline row at the same work identity. */
|
|
4831
|
+
unpairedCandidateRuns: number;
|
|
4832
|
+
/** Baseline holdout rows with no candidate row at the same work identity. */
|
|
4833
|
+
unpairedBaselineRuns: number;
|
|
4834
|
+
/** Median of paired holdout deltas, or null when there are no pairs. */
|
|
4835
|
+
medianPairedDelta: number | null;
|
|
4836
|
+
/** Bootstrap CI on the median paired holdout delta, if computed. */
|
|
4839
4837
|
pairedCI: {
|
|
4840
4838
|
low: number;
|
|
4841
4839
|
high: number;
|
|
4842
|
-
};
|
|
4843
|
-
/** Wilcoxon signed-rank p-value
|
|
4844
|
-
pairedPValue: number;
|
|
4845
|
-
/** Mean candidate score on the search split
|
|
4846
|
-
searchScore: number;
|
|
4847
|
-
/** Mean candidate score on the holdout split
|
|
4848
|
-
holdoutScore: number;
|
|
4849
|
-
/** Candidate (search − holdout) gap. */
|
|
4850
|
-
overfitGap: number;
|
|
4851
|
-
/** Baseline (search − holdout) gap. */
|
|
4852
|
-
baselineOverfitGap: number;
|
|
4840
|
+
} | null;
|
|
4841
|
+
/** Wilcoxon signed-rank p-value, if computed. */
|
|
4842
|
+
pairedPValue: number | null;
|
|
4843
|
+
/** Mean candidate score on the search split, or null when absent. */
|
|
4844
|
+
searchScore: number | null;
|
|
4845
|
+
/** Mean candidate score on the holdout split, or null when absent. */
|
|
4846
|
+
holdoutScore: number | null;
|
|
4847
|
+
/** Candidate (search − holdout) gap, or null when either side is absent. */
|
|
4848
|
+
overfitGap: number | null;
|
|
4849
|
+
/** Baseline (search − holdout) gap, or null when either side is absent. */
|
|
4850
|
+
baselineOverfitGap: number | null;
|
|
4853
4851
|
/** Median per-task USD cost across the candidate's runs. Recorded
|
|
4854
4852
|
* even when no `costPerTaskCeiling` is configured so downstream
|
|
4855
4853
|
* dashboards (intelligence.tangle.tools) can render \$/task per
|
|
4856
4854
|
* generation regardless of gating policy. */
|
|
4857
|
-
medianCandidateCost: number;
|
|
4855
|
+
medianCandidateCost: number | null;
|
|
4858
4856
|
/** Median per-task USD cost across the baseline runs, for
|
|
4859
4857
|
* symmetric reporting. */
|
|
4860
|
-
medianBaselineCost: number;
|
|
4858
|
+
medianBaselineCost: number | null;
|
|
4861
4859
|
}
|
|
4862
4860
|
interface GateDecision$1 {
|
|
4863
4861
|
/** Final promote/no-promote verdict. */
|
|
@@ -4888,10 +4886,9 @@ declare class HeldOutGate {
|
|
|
4888
4886
|
private readonly seed?;
|
|
4889
4887
|
private readonly costPerTaskCeiling?;
|
|
4890
4888
|
constructor(config: HeldOutGateConfig);
|
|
4891
|
-
/** Decide whether `candidate` should replace `baseline`.
|
|
4892
|
-
* is by (experimentId, seed)
|
|
4893
|
-
*
|
|
4894
|
-
* a holdout score on both sides are dropped. */
|
|
4889
|
+
/** Decide whether `candidate` should replace `baseline`.
|
|
4890
|
+
* Pairing is by `(experimentId, scenarioId, seed)`.
|
|
4891
|
+
* Missing or duplicate identities throw instead of comparing by position. */
|
|
4895
4892
|
evaluate(candidate: RunRecord[], baseline: RunRecord[]): GateDecision$1;
|
|
4896
4893
|
}
|
|
4897
4894
|
|
|
@@ -4929,7 +4926,7 @@ interface ActionableSideInfo {
|
|
|
4929
4926
|
metadata?: Record<string, unknown>;
|
|
4930
4927
|
}
|
|
4931
4928
|
type ReleaseConfidenceStatus = 'pass' | 'warn' | 'fail';
|
|
4932
|
-
type ReleaseConfidenceAxisName = 'corpus' | 'quality' | 'generalization' | 'diagnostics' | 'efficiency';
|
|
4929
|
+
type ReleaseConfidenceAxisName = 'corpus' | 'quality' | 'reliability' | 'generalization' | 'diagnostics' | 'efficiency';
|
|
4933
4930
|
interface ReleaseTraceEvidence {
|
|
4934
4931
|
scenarioId: string;
|
|
4935
4932
|
candidateId?: string;
|
|
@@ -4976,7 +4973,7 @@ interface ReleaseConfidenceInput {
|
|
|
4976
4973
|
interface ReleaseConfidenceAxis {
|
|
4977
4974
|
name: ReleaseConfidenceAxisName;
|
|
4978
4975
|
status: ReleaseConfidenceStatus;
|
|
4979
|
-
score: number;
|
|
4976
|
+
score: number | null;
|
|
4980
4977
|
detail: string;
|
|
4981
4978
|
}
|
|
4982
4979
|
interface ReleaseConfidenceIssue {
|
|
@@ -4987,15 +4984,25 @@ interface ReleaseConfidenceIssue {
|
|
|
4987
4984
|
}
|
|
4988
4985
|
interface ReleaseConfidenceMetrics {
|
|
4989
4986
|
scenarioCount: number;
|
|
4987
|
+
/** Search rows with a finite search score. */
|
|
4990
4988
|
searchRuns: number;
|
|
4989
|
+
/** Holdout rows with a finite holdout score. */
|
|
4991
4990
|
holdoutRuns: number;
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4991
|
+
/** Runs with neither a split-matched score nor an explicit task failure. */
|
|
4992
|
+
unscoredRuns: number;
|
|
4993
|
+
/** Run rows, or trace rows when no runs exist, with no classified terminal result. */
|
|
4994
|
+
unclassifiedTerminalRuns: number;
|
|
4995
|
+
/** Run rows, or trace rows when no runs exist, that ended unsuccessfully. */
|
|
4996
|
+
terminalFailureRuns: number;
|
|
4997
|
+
/** Success fraction when every run or fallback trace row has a classified result. */
|
|
4998
|
+
reliabilityRate: number | null;
|
|
4999
|
+
passRate: number | null;
|
|
5000
|
+
meanScore: number | null;
|
|
5001
|
+
searchMeanScore: number | null;
|
|
5002
|
+
holdoutMeanScore: number | null;
|
|
5003
|
+
overfitGap: number | null;
|
|
5004
|
+
meanCostUsd: number | null;
|
|
5005
|
+
p95WallMs: number | null;
|
|
4999
5006
|
failedRows: number;
|
|
5000
5007
|
failuresWithAsi: number;
|
|
5001
5008
|
singleShotTraces: number;
|
|
@@ -5343,6 +5350,15 @@ declare function wilcoxonSignedRank(before: number[], after: number[]): {
|
|
|
5343
5350
|
* Rule of thumb: |d| < 0.2 negligible, 0.2–0.5 small, 0.5–0.8 medium, > 0.8 large.
|
|
5344
5351
|
*/
|
|
5345
5352
|
declare function cohensD(a: number[], b: number[]): number;
|
|
5353
|
+
/**
|
|
5354
|
+
* Cohen's dz for paired observations: mean(after - before) divided by the
|
|
5355
|
+
* sample standard deviation of those within-pair deltas.
|
|
5356
|
+
*
|
|
5357
|
+
* Returns null when fewer than two pairs exist or a non-zero constant delta
|
|
5358
|
+
* has zero observed variance. In that case the standardized effect is
|
|
5359
|
+
* undefined, not an arbitrarily large finite number.
|
|
5360
|
+
*/
|
|
5361
|
+
declare function pairedCohensDz(before: number[], after: number[]): number | null;
|
|
5346
5362
|
type CliffsMagnitude = 'negligible' | 'small' | 'medium' | 'large';
|
|
5347
5363
|
/**
|
|
5348
5364
|
* Cliff's delta — a non-parametric effect size for two independent samples.
|
|
@@ -5486,6 +5502,16 @@ declare function requiredSampleSize(opts: {
|
|
|
5486
5502
|
power?: number;
|
|
5487
5503
|
twoSided?: boolean;
|
|
5488
5504
|
}): number;
|
|
5505
|
+
/**
|
|
5506
|
+
* Required number of paired observations for a target Cohen's dz.
|
|
5507
|
+
* Unlike the independent-groups formula, this has no two-arm factor of two.
|
|
5508
|
+
*/
|
|
5509
|
+
declare function requiredPairedSampleSize(opts: {
|
|
5510
|
+
effect: number;
|
|
5511
|
+
alpha?: number;
|
|
5512
|
+
power?: number;
|
|
5513
|
+
twoSided?: boolean;
|
|
5514
|
+
}): number;
|
|
5489
5515
|
/**
|
|
5490
5516
|
* Minimum detectable paired effect (standardised units) for a target paired
|
|
5491
5517
|
* sample size: d_min = (z_{1-α/2} + z_β) / sqrt(n_paired). Multiply by
|
|
@@ -5881,10 +5907,10 @@ interface PairedMetricDelta {
|
|
|
5881
5907
|
n: number;
|
|
5882
5908
|
/** Pairs where at least one side does not carry the metric. */
|
|
5883
5909
|
nMissing: number;
|
|
5884
|
-
/** Median paired delta
|
|
5885
|
-
medianDelta: number;
|
|
5886
|
-
/** Mean paired delta
|
|
5887
|
-
meanDelta: number;
|
|
5910
|
+
/** Median paired delta, or null when `n === 0`. */
|
|
5911
|
+
medianDelta: number | null;
|
|
5912
|
+
/** Mean paired delta, or null when `n === 0`. */
|
|
5913
|
+
meanDelta: number | null;
|
|
5888
5914
|
/** Bootstrap CI on the paired delta (`pairedBootstrap`); null when
|
|
5889
5915
|
* `n === 0` — a zero-width [0, 0] interval on no data would read as a
|
|
5890
5916
|
* measured tight null. */
|
|
@@ -5926,6 +5952,25 @@ interface PairedArmsComparison {
|
|
|
5926
5952
|
* absent" would misreport it as missing coverage.
|
|
5927
5953
|
*/
|
|
5928
5954
|
declare function comparePairedArms(rows: readonly PairedArmRow[], opts: ComparePairedArmsOptions): PairedArmsComparison;
|
|
5955
|
+
interface MatchedRunRecordPair {
|
|
5956
|
+
pairKey: string;
|
|
5957
|
+
repKey: string;
|
|
5958
|
+
baseline: RunRecord;
|
|
5959
|
+
treatment: RunRecord;
|
|
5960
|
+
}
|
|
5961
|
+
interface PairRunRecordsResult {
|
|
5962
|
+
pairs: MatchedRunRecordPair[];
|
|
5963
|
+
unpairedBaseline: RunRecord[];
|
|
5964
|
+
unpairedTreatment: RunRecord[];
|
|
5965
|
+
}
|
|
5966
|
+
/**
|
|
5967
|
+
* Pair two RunRecord arms by the identity of the evaluated work:
|
|
5968
|
+
* `(experimentId, scenarioId, seed)`.
|
|
5969
|
+
*
|
|
5970
|
+
* Falling back to array order, candidate id, or experiment id can compare
|
|
5971
|
+
* different tasks and fabricate lift. Duplicate identities throw.
|
|
5972
|
+
*/
|
|
5973
|
+
declare function pairRunRecords(baselineRuns: readonly RunRecord[], treatmentRuns: readonly RunRecord[]): PairRunRecordsResult;
|
|
5929
5974
|
|
|
5930
5975
|
type PrReviewSource = 'drew' | 'donovan' | 'shady' | 'codex' | 'claude-code' | 'gpt-5.5-high' | 'claude-opus-4.7-high' | 'kimi' | 'opencode' | (string & {});
|
|
5931
5976
|
type PrReviewSeverity = 'critical' | 'high' | 'medium' | 'low' | 'nit';
|
|
@@ -6085,18 +6130,10 @@ declare function printDriverSummary(results: DriverResult[]): void;
|
|
|
6085
6130
|
* flag: a gated line must never export as a positive training example.
|
|
6086
6131
|
*/
|
|
6087
6132
|
declare const ROLLOUT_SCHEMA = "tangle.rollout.v1";
|
|
6088
|
-
/** @deprecated alias kept for consumers of the pre-unification constant name. */
|
|
6089
|
-
declare const ROLLOUT_FORMAT = "tangle.rollout.v1";
|
|
6090
6133
|
/** `agent` = a solo evaluation run (no multi-agent topology). */
|
|
6091
6134
|
type RolloutRole = 'agent' | 'supervisor' | 'worker' | 'proposer' | 'judge' | 'analyst';
|
|
6092
|
-
/**
|
|
6093
|
-
|
|
6094
|
-
* optimizer may read — the trainable split), extended with the ledger's
|
|
6095
|
-
* 'canary'. 'train' is a legacy alias for 'search' emitted by
|
|
6096
|
-
* pre-unification ledgers; it validates and counts as trainable, but new
|
|
6097
|
-
* producers must emit 'search'.
|
|
6098
|
-
*/
|
|
6099
|
-
type RolloutSplit = 'search' | 'dev' | 'holdout' | 'canary' | 'train';
|
|
6135
|
+
/** Split vocabulary follows `RunRecord.splitTag`, extended with `canary`. */
|
|
6136
|
+
type RolloutSplit = 'search' | 'dev' | 'holdout' | 'canary';
|
|
6100
6137
|
declare function isTrainableSplit(split: RolloutSplit): boolean;
|
|
6101
6138
|
/** 'mint' = joined live from RunRecord + trace by `mintRolloutRows`. */
|
|
6102
6139
|
type RolloutCapture = 'mint' | 'settle-time' | 'backfill';
|
|
@@ -6188,10 +6225,9 @@ interface RolloutOutcome {
|
|
|
6188
6225
|
/**
|
|
6189
6226
|
* Anti-Goodhart flag from `RunRecord.outcome.realness.gated`: the run
|
|
6190
6227
|
* faked its success signal. Reward is forced to 0 at mint time and the
|
|
6191
|
-
* line never qualifies for SFT.
|
|
6192
|
-
* so pre-unification ledgers stay readable.
|
|
6228
|
+
* line never qualifies for SFT.
|
|
6193
6229
|
*/
|
|
6194
|
-
realness_gated
|
|
6230
|
+
realness_gated: boolean;
|
|
6195
6231
|
}
|
|
6196
6232
|
interface RolloutCostBlock {
|
|
6197
6233
|
usd: number | null;
|
|
@@ -6220,11 +6256,10 @@ interface RolloutLine {
|
|
|
6220
6256
|
/** Spawning invocation within the same episode (worker → supervisor). */
|
|
6221
6257
|
parent_rollout_id: string | null;
|
|
6222
6258
|
run_id: string;
|
|
6223
|
-
/** Logical experiment grouping from `RunRecord.experimentId
|
|
6224
|
-
|
|
6225
|
-
experiment_id?: string | null;
|
|
6259
|
+
/** Logical experiment grouping from `RunRecord.experimentId`; null = not recorded. */
|
|
6260
|
+
experiment_id: string | null;
|
|
6226
6261
|
/** Stable candidate identity from `RunRecord.candidateId`; null = not recorded. */
|
|
6227
|
-
candidate_id
|
|
6262
|
+
candidate_id: string | null;
|
|
6228
6263
|
/** Improvement-loop generation (-1 = baseline); null = not an improvement loop. */
|
|
6229
6264
|
generation: number | null;
|
|
6230
6265
|
/** Improvement-loop candidate index (-1 = baseline); null = not an improvement loop. */
|
|
@@ -6259,10 +6294,13 @@ declare function isRolloutLine(value: unknown): value is RolloutLine;
|
|
|
6259
6294
|
* labels, no joins.
|
|
6260
6295
|
*/
|
|
6261
6296
|
|
|
6262
|
-
interface
|
|
6263
|
-
/**
|
|
6264
|
-
|
|
6297
|
+
interface TrainingExportOptions {
|
|
6298
|
+
/** Include held-out evaluation data in training output. Default false. */
|
|
6299
|
+
allowHeldOutTrainingData?: boolean;
|
|
6300
|
+
/** Require reward to be strictly greater than this value. Default 0. */
|
|
6301
|
+
minimumQualityExclusive?: number;
|
|
6265
6302
|
}
|
|
6303
|
+
type SftExportOptions = TrainingExportOptions;
|
|
6266
6304
|
interface SftRow {
|
|
6267
6305
|
messages: ChatMessage[];
|
|
6268
6306
|
metadata: {
|
|
@@ -6276,7 +6314,7 @@ interface SftRow {
|
|
|
6276
6314
|
/**
|
|
6277
6315
|
* Supervised fine-tune rows: the completed conversation of each qualifying
|
|
6278
6316
|
* line. Fail-closed filters: trainable split only (never holdout/canary),
|
|
6279
|
-
* reward
|
|
6317
|
+
* positive reward, realness-gated lines never qualify, gap lines carry
|
|
6280
6318
|
* no trainable content.
|
|
6281
6319
|
*/
|
|
6282
6320
|
declare function toSftRows(lines: RolloutLine[], options?: SftExportOptions): SftRow[];
|
|
@@ -6294,13 +6332,9 @@ interface RewardRow {
|
|
|
6294
6332
|
};
|
|
6295
6333
|
}
|
|
6296
6334
|
/**
|
|
6297
|
-
* Reward-labeled rows
|
|
6298
|
-
* failure. Failures are signal here — only the realness-gate zeroing
|
|
6299
|
-
* (applied at mint time) touches the reward, never filtering. Lines with
|
|
6300
|
-
* no verdict (reward null) are excluded: an unlabeled example is a gap,
|
|
6301
|
-
* not a zero.
|
|
6335
|
+
* Reward-labeled rows for completed, positive-quality training runs.
|
|
6302
6336
|
*/
|
|
6303
|
-
declare function toRewardRows(lines: RolloutLine[]): RewardRow[];
|
|
6337
|
+
declare function toRewardRows(lines: RolloutLine[], options?: TrainingExportOptions): RewardRow[];
|
|
6304
6338
|
declare function toJsonl(rows: ReadonlyArray<unknown>): string;
|
|
6305
6339
|
|
|
6306
6340
|
/**
|
|
@@ -6350,12 +6384,14 @@ declare function rolloutReward(record: RunRecord): {
|
|
|
6350
6384
|
/**
|
|
6351
6385
|
* Join RunRecords with their traces into canonical rollout lines. Records
|
|
6352
6386
|
* without spans are emitted as labeled gap lines and reported in
|
|
6353
|
-
* `missingTraces
|
|
6387
|
+
* `missingTraces`. Execution-only records without a task score are rejected
|
|
6388
|
+
* because a missing training label is not a zero reward.
|
|
6354
6389
|
*/
|
|
6355
6390
|
declare function mintRolloutRows(records: RunRecord[], store: TraceStore, options?: MintRolloutOptions): Promise<MintRolloutResult>;
|
|
6356
6391
|
|
|
6357
6392
|
interface RunEvidenceMetadata {
|
|
6358
6393
|
experimentId: string;
|
|
6394
|
+
scenarioId: string;
|
|
6359
6395
|
candidateId: string;
|
|
6360
6396
|
seed: number;
|
|
6361
6397
|
model: string;
|
|
@@ -6364,6 +6400,7 @@ interface RunEvidenceMetadata {
|
|
|
6364
6400
|
commitSha: string;
|
|
6365
6401
|
splitTag: RunSplitTag;
|
|
6366
6402
|
tokenUsage: RunTokenUsage;
|
|
6403
|
+
costProvenance: RunRecord['costProvenance'];
|
|
6367
6404
|
queueMs?: number;
|
|
6368
6405
|
judgeMetadata?: RunRecord['judgeMetadata'];
|
|
6369
6406
|
raw?: Record<string, number>;
|
|
@@ -7002,6 +7039,19 @@ declare function applyLlmSpanOtlpAttributes(attributes: Record<string, unknown>,
|
|
|
7002
7039
|
/** Canonical OpenInference-over-OTLP attribute vocabulary used at the trace boundary. */
|
|
7003
7040
|
|
|
7004
7041
|
type ToolSpanOtlpInput = Pick<ToolSpan, 'toolName' | 'args' | 'argsCaptured' | 'result' | 'latencyMs'>;
|
|
7042
|
+
type OtlpSpanRole = 'AGENT' | 'CHAIN' | 'EVALUATOR' | 'GUARDRAIL' | 'LLM' | 'SPAN' | 'TOOL' | 'UNKNOWN';
|
|
7043
|
+
interface OtlpSpanRoleInput {
|
|
7044
|
+
name: string;
|
|
7045
|
+
attributes: Record<string, unknown>;
|
|
7046
|
+
kind?: string | null;
|
|
7047
|
+
}
|
|
7048
|
+
/**
|
|
7049
|
+
* Classify a span once for both measurement and error accounting.
|
|
7050
|
+
* An explicit OpenInference kind wins; untyped spans use the same tool and
|
|
7051
|
+
* model signals in online and offline intake.
|
|
7052
|
+
*/
|
|
7053
|
+
declare function classifyOtlpSpanRole(input: OtlpSpanRoleInput): OtlpSpanRole;
|
|
7054
|
+
declare function isOtlpModelCall(input: OtlpSpanRoleInput): boolean;
|
|
7005
7055
|
declare function applyToolSpanOtlpAttributes(attributes: Record<string, unknown>, span: ToolSpanOtlpInput): void;
|
|
7006
7056
|
declare function traceSpanKindToOpenInferenceKind(kind: string): string;
|
|
7007
7057
|
|
|
@@ -7399,13 +7449,17 @@ declare function firstStringAttr(attrs: Record<string, unknown>, keys: readonly
|
|
|
7399
7449
|
* `opts.priceUsdPerToken` from the aggregated tokens; else 0 with a
|
|
7400
7450
|
* loud `raw.cost_unpriced = 1` marker so a missing price is visible, not
|
|
7401
7451
|
* a silent zero folded into a gate.
|
|
7402
|
-
* -
|
|
7403
|
-
*
|
|
7452
|
+
* - terminalFailureReason: the failed root's normalized status message,
|
|
7453
|
+
* when one unambiguous root supplies terminal failure evidence.
|
|
7454
|
+
* - terminalOutcome: reduced from root-span status only. Child tool errors
|
|
7455
|
+
* remain visible in `error_span_count` and `execution_error_count` without
|
|
7456
|
+
* changing the run outcome. Root, guardrail, evaluator, propagated, and
|
|
7457
|
+
* unknown errors retain separate counters.
|
|
7404
7458
|
* - model: the dominant LLM model in the trace (snapshot-padded to satisfy
|
|
7405
7459
|
* `validateRunRecord` when the trace's model is a bare alias).
|
|
7406
7460
|
* - outcome score: `opts.scoreForTrace` (AppWorld `world.evaluate()` →
|
|
7407
|
-
* TGC/SGC) when supplied
|
|
7408
|
-
*
|
|
7461
|
+
* TGC/SGC) when supplied. Traces without an external task-quality signal
|
|
7462
|
+
* remain unlabeled; execution errors never become a task score.
|
|
7409
7463
|
* - prompt / completion: carried into `raw` as token-count signals and,
|
|
7410
7464
|
* when the first/last LLM span exposes `input.value` / `output.value`,
|
|
7411
7465
|
* the verbatim text is preserved on the optional `promptText` /
|
|
@@ -7461,9 +7515,9 @@ interface OtlpToRunRecordsOptions {
|
|
|
7461
7515
|
* Score for a produced run's outcome (AppWorld `world.evaluate()` →
|
|
7462
7516
|
* TGC/SGC, or
|
|
7463
7517
|
* any [0,1] task-success signal). Keyed by the logical run id when
|
|
7464
|
-
* `logicalRunIdForTrace` is supplied, otherwise by `trace_id
|
|
7465
|
-
*
|
|
7466
|
-
*
|
|
7518
|
+
* `logicalRunIdForTrace` is supplied, otherwise by `trace_id`. When the map
|
|
7519
|
+
* has no entry or the function returns undefined, the record remains
|
|
7520
|
+
* unlabeled.
|
|
7467
7521
|
*/
|
|
7468
7522
|
scoreForTrace?: (runId: string, span: TraceAggregate) => number | undefined;
|
|
7469
7523
|
/**
|
|
@@ -7495,6 +7549,12 @@ interface TraceAggregate {
|
|
|
7495
7549
|
toolSpanCount: number;
|
|
7496
7550
|
agentSpanCount: number;
|
|
7497
7551
|
errorSpanCount: number;
|
|
7552
|
+
executionErrorCount: number;
|
|
7553
|
+
processErrorCount: number;
|
|
7554
|
+
guardrailErrorCount: number;
|
|
7555
|
+
judgeErrorCount: number;
|
|
7556
|
+
propagatedErrorCount: number;
|
|
7557
|
+
unclassifiedErrorCount: number;
|
|
7498
7558
|
tokenUsage: RunTokenUsage;
|
|
7499
7559
|
/** First error span's normalized status message, if any. */
|
|
7500
7560
|
firstErrorMessage?: string;
|
|
@@ -7502,6 +7562,8 @@ interface TraceAggregate {
|
|
|
7502
7562
|
startTime: string;
|
|
7503
7563
|
endTime: string;
|
|
7504
7564
|
wallMs: number;
|
|
7565
|
+
/** Root-span terminal result. Child span errors do not change this value. */
|
|
7566
|
+
terminalOutcome: RunTerminalOutcome;
|
|
7505
7567
|
}
|
|
7506
7568
|
/**
|
|
7507
7569
|
* Parse + aggregate an OTLP traces.jsonl string into validated
|
|
@@ -8425,14 +8487,17 @@ interface JudgeScore {
|
|
|
8425
8487
|
}
|
|
8426
8488
|
/** Five-valued verdict taxonomy (MOSS-paper alignment). */
|
|
8427
8489
|
type GateDecision = 'ship' | 'hold' | 'need_more_work' | 'model_ceiling' | 'arch_ceiling';
|
|
8490
|
+
/** Outcome of one check that contributed to a release decision. */
|
|
8491
|
+
type GateCheckStatus = 'pass' | 'fail' | 'not_evaluated';
|
|
8492
|
+
interface GateContribution {
|
|
8493
|
+
name: string;
|
|
8494
|
+
status: GateCheckStatus;
|
|
8495
|
+
detail: unknown;
|
|
8496
|
+
}
|
|
8428
8497
|
interface GateResult {
|
|
8429
8498
|
decision: GateDecision;
|
|
8430
8499
|
reasons: string[];
|
|
8431
|
-
contributingGates:
|
|
8432
|
-
name: string;
|
|
8433
|
-
passed: boolean;
|
|
8434
|
-
detail: unknown;
|
|
8435
|
-
}>;
|
|
8500
|
+
contributingGates: GateContribution[];
|
|
8436
8501
|
delta?: number;
|
|
8437
8502
|
}
|
|
8438
8503
|
/** Scoped trace writer handed to each dispatch — every span
|
|
@@ -8491,6 +8556,10 @@ interface CampaignCellResult<TArtifact> {
|
|
|
8491
8556
|
durationMs: number;
|
|
8492
8557
|
seed: number;
|
|
8493
8558
|
cached: boolean;
|
|
8559
|
+
/** Stage that produced `error`. Missing on successful cells. */
|
|
8560
|
+
errorStage?: 'dispatch' | 'judge';
|
|
8561
|
+
/** Judge that threw when `errorStage` is `judge`. */
|
|
8562
|
+
errorJudge?: string;
|
|
8494
8563
|
error?: string;
|
|
8495
8564
|
}
|
|
8496
8565
|
interface JudgeAggregate {
|
|
@@ -8515,8 +8584,10 @@ interface GenerationRecord {
|
|
|
8515
8584
|
* handled — the evidence a blind `Mutator` cannot see. */
|
|
8516
8585
|
interface GenerationCandidate {
|
|
8517
8586
|
surfaceHash: string;
|
|
8518
|
-
|
|
8519
|
-
|
|
8587
|
+
/** Mean over complete task-quality scores, or null when none were produced. */
|
|
8588
|
+
composite: number | null;
|
|
8589
|
+
/** Descriptive interval for `composite`, or null when no score exists. */
|
|
8590
|
+
ci95: [number, number] | null;
|
|
8520
8591
|
/** Exact surface this candidate mutated. */
|
|
8521
8592
|
parentSurfaceHash?: string;
|
|
8522
8593
|
/** Measured search-split composite of the exact parent surface. */
|
|
@@ -8526,13 +8597,12 @@ interface GenerationCandidate {
|
|
|
8526
8597
|
observedDeltaFromParent?: number;
|
|
8527
8598
|
/** Whether this candidate had a scorable result for every designed campaign
|
|
8528
8599
|
* cell and was therefore eligible for ranking, promotion, and Pareto
|
|
8529
|
-
* selection.
|
|
8530
|
-
|
|
8531
|
-
eligibleForPromotion?: boolean;
|
|
8600
|
+
* selection. */
|
|
8601
|
+
eligibleForPromotion: boolean;
|
|
8532
8602
|
/** Exact denominator receipt for selection eligibility. Scores stay
|
|
8533
8603
|
* descriptive: an incomplete candidate is retained with its observed score
|
|
8534
8604
|
* and errors instead of receiving an invented penalty. */
|
|
8535
|
-
coverage
|
|
8605
|
+
coverage: {
|
|
8536
8606
|
expectedCells: number;
|
|
8537
8607
|
scorableCells: number;
|
|
8538
8608
|
unscorableCells: Array<{
|
|
@@ -8573,10 +8643,18 @@ interface CampaignAggregates {
|
|
|
8573
8643
|
cost: CostLedgerSummary;
|
|
8574
8644
|
/** Compatibility alias of `cost.totalCostUsd`. */
|
|
8575
8645
|
totalCostUsd: number;
|
|
8646
|
+
/** Cells whose dispatch completed, including cells whose later judge failed. */
|
|
8576
8647
|
cellsExecuted: number;
|
|
8577
8648
|
cellsSkipped: number;
|
|
8578
8649
|
cellsCached: number;
|
|
8650
|
+
/** All non-skipped dispatch, judge, and unclassified cell failures. */
|
|
8579
8651
|
cellsFailed: number;
|
|
8652
|
+
/** Present on results that record failure stages. */
|
|
8653
|
+
cellsDispatchFailed?: number;
|
|
8654
|
+
/** Present on results that record failure stages. */
|
|
8655
|
+
cellsJudgeFailed?: number;
|
|
8656
|
+
/** Legacy failures whose stage was not recorded. */
|
|
8657
|
+
cellsUnclassifiedFailed?: number;
|
|
8580
8658
|
}
|
|
8581
8659
|
interface CampaignResult<TArtifact = unknown, TScenario extends Scenario = Scenario> {
|
|
8582
8660
|
/** sha256(scenarios, judges, dispatch source ref, optimizer config, seed). Stable identity for reruns. */
|
|
@@ -8698,7 +8776,7 @@ interface FailureClusterReport {
|
|
|
8698
8776
|
*/
|
|
8699
8777
|
|
|
8700
8778
|
interface SummaryTableOptions {
|
|
8701
|
-
/** Comparator candidate id. Wilcoxon + Cohen's
|
|
8779
|
+
/** Comparator candidate id. Wilcoxon + paired Cohen's dz are computed
|
|
8702
8780
|
* versus this candidate. Required for paired stats columns. */
|
|
8703
8781
|
comparator?: string;
|
|
8704
8782
|
/** Which split to read scores from. Default 'holdout'. */
|
|
@@ -8714,10 +8792,16 @@ interface SummaryTableRow {
|
|
|
8714
8792
|
mean: number;
|
|
8715
8793
|
ciLow: number;
|
|
8716
8794
|
ciHigh: number;
|
|
8717
|
-
/** BH-adjusted q-value vs comparator
|
|
8718
|
-
qValue: number;
|
|
8719
|
-
/** Cohen's
|
|
8720
|
-
cohensD: number;
|
|
8795
|
+
/** BH-adjusted q-value vs comparator, or null when unavailable. */
|
|
8796
|
+
qValue: number | null;
|
|
8797
|
+
/** Paired Cohen's dz vs comparator, or null when the paired variance is zero. */
|
|
8798
|
+
cohensD: number | null;
|
|
8799
|
+
/** Matched observations used for paired comparison, or null on the comparator row. */
|
|
8800
|
+
pairedN: number | null;
|
|
8801
|
+
/** Candidate observations without a comparator match. */
|
|
8802
|
+
unpairedCandidateN: number | null;
|
|
8803
|
+
/** Comparator observations without a candidate match. */
|
|
8804
|
+
unpairedComparatorN: number | null;
|
|
8721
8805
|
}
|
|
8722
8806
|
interface SummaryTable {
|
|
8723
8807
|
rows: SummaryTableRow[];
|
|
@@ -8729,7 +8813,7 @@ interface SummaryTable {
|
|
|
8729
8813
|
/**
|
|
8730
8814
|
* Table 1 helper. Buckets runs by `candidateId`, computes mean +
|
|
8731
8815
|
* bootstrap CI on the chosen split, and (when a comparator is given)
|
|
8732
|
-
* BH-adjusted Wilcoxon p + Cohen's
|
|
8816
|
+
* BH-adjusted Wilcoxon p + paired Cohen's dz versus that comparator.
|
|
8733
8817
|
*/
|
|
8734
8818
|
declare function summaryTable(runs: RunRecord[], opts?: SummaryTableOptions): SummaryTable;
|
|
8735
8819
|
interface ParetoPoint {
|
|
@@ -8745,7 +8829,7 @@ interface ParetoPoint {
|
|
|
8745
8829
|
onFrontier: boolean;
|
|
8746
8830
|
/** Optional gate verdict for this candidate, if a `GateDecision`
|
|
8747
8831
|
* for it was passed in. */
|
|
8748
|
-
gate?: 'promote' | '
|
|
8832
|
+
gate?: 'promote' | 'reject';
|
|
8749
8833
|
}
|
|
8750
8834
|
interface ParetoFigureSpec {
|
|
8751
8835
|
kind: 'pareto-cost-quality';
|
|
@@ -8780,12 +8864,16 @@ interface GainDistributionFigureSpec {
|
|
|
8780
8864
|
split: 'search' | 'holdout';
|
|
8781
8865
|
/** Number of pairs used. */
|
|
8782
8866
|
n: number;
|
|
8867
|
+
/** Candidate rows without a comparator match. */
|
|
8868
|
+
unpairedCandidateN: number;
|
|
8869
|
+
/** Comparator rows without a candidate match. */
|
|
8870
|
+
unpairedComparatorN: number;
|
|
8783
8871
|
bins: GainDistributionBin[];
|
|
8784
|
-
median: number;
|
|
8872
|
+
median: number | null;
|
|
8785
8873
|
ci: {
|
|
8786
8874
|
low: number;
|
|
8787
8875
|
high: number;
|
|
8788
|
-
};
|
|
8876
|
+
} | null;
|
|
8789
8877
|
}
|
|
8790
8878
|
interface GainDistributionOptions {
|
|
8791
8879
|
/** Number of histogram bins. Default 11 (so the centre is exact at 0). */
|
|
@@ -8882,8 +8970,8 @@ interface ResearchReportCandidate {
|
|
|
8882
8970
|
mean: number;
|
|
8883
8971
|
ciLow: number;
|
|
8884
8972
|
ciHigh: number;
|
|
8885
|
-
qValue: number;
|
|
8886
|
-
cohensD: number;
|
|
8973
|
+
qValue: number | null;
|
|
8974
|
+
cohensD: number | null;
|
|
8887
8975
|
meanDeltaVsComparator: number | null;
|
|
8888
8976
|
pairedN: number;
|
|
8889
8977
|
medianGain: number | null;
|
|
@@ -8893,10 +8981,9 @@ interface ResearchReportCandidate {
|
|
|
8893
8981
|
high: number;
|
|
8894
8982
|
} | null;
|
|
8895
8983
|
/**
|
|
8896
|
-
* Bayesian-bootstrap
|
|
8897
|
-
*
|
|
8898
|
-
*
|
|
8899
|
-
* matched pairs."
|
|
8984
|
+
* Bayesian-bootstrap posterior summaries on the paired mean delta.
|
|
8985
|
+
* Dirichlet(1, ..., 1) weights represent uncertainty over the empirical
|
|
8986
|
+
* distribution of matched deltas.
|
|
8900
8987
|
*/
|
|
8901
8988
|
prGreaterThanZero: number | null;
|
|
8902
8989
|
prInRope: number | null;
|
|
@@ -8964,7 +9051,7 @@ interface ResearchReport {
|
|
|
8964
9051
|
* - `summaryTable` marginal stats with BH-FDR-adjusted q-values
|
|
8965
9052
|
* - `paretoChart` cost-vs-quality frontier with gate overlay
|
|
8966
9053
|
* - `gainHistogram` per-candidate paired-delta distribution
|
|
8967
|
-
* - paired posterior (this file): bootstrap CI on median, Pr(Δ>0),
|
|
9054
|
+
* - paired posterior (this file): bootstrap CI on median, Bayesian-bootstrap Pr(Δ>0),
|
|
8968
9055
|
* Pr(Δ∈ROPE), MDE at the configured power
|
|
8969
9056
|
*
|
|
8970
9057
|
* Decisions are made on paired evidence — never on marginal means alone —
|
|
@@ -9008,7 +9095,8 @@ interface AnalyzeRunsOptions {
|
|
|
9008
9095
|
split?: 'search' | 'holdout' | 'auto';
|
|
9009
9096
|
/** Pairwise analysis configuration. When both `baselineCandidateId` and
|
|
9010
9097
|
* `candidateCandidateId` are present, lift is computed on paired
|
|
9011
|
-
* (experimentId, seed)
|
|
9098
|
+
* (experimentId, scenarioId, seed) identities shared between the two sides.
|
|
9099
|
+
* Unmatched rows remain visible in the lift result. */
|
|
9012
9100
|
baselineCandidateId?: string;
|
|
9013
9101
|
candidateCandidateId?: string;
|
|
9014
9102
|
/** Canary scenarios — checked against every run's raw output for
|
|
@@ -9043,7 +9131,7 @@ interface AnalyzeRunsOptions {
|
|
|
9043
9131
|
* recommendations fire on statistically significant regressions.
|
|
9044
9132
|
* The two windows do NOT have to share scenarios — the comparison
|
|
9045
9133
|
* is two-sample unpaired (the substrate's `lift` field uses paired
|
|
9046
|
-
* bootstrap on shared (experimentId, seed)
|
|
9134
|
+
* bootstrap on shared (experimentId, scenarioId, seed) identities; this is the
|
|
9047
9135
|
* shape for "this week vs last week" rather than "candidate vs
|
|
9048
9136
|
* baseline within a campaign"). */
|
|
9049
9137
|
baselineRuns?: RunRecord[];
|
|
@@ -11242,9 +11330,9 @@ interface CostSummary {
|
|
|
11242
11330
|
*/
|
|
11243
11331
|
|
|
11244
11332
|
/** The score the query/compare layer ranks on: holdout when present (the
|
|
11245
|
-
* gated number), else search.
|
|
11246
|
-
*
|
|
11247
|
-
declare function runScore(record: RunRecord): number;
|
|
11333
|
+
* gated number), else search. Execution-only records are valid RunRecords,
|
|
11334
|
+
* but cannot participate in score-ranked queries. */
|
|
11335
|
+
declare function runScore(record: RunRecord): number | undefined;
|
|
11248
11336
|
interface RunRecordFilter {
|
|
11249
11337
|
experimentId?: string;
|
|
11250
11338
|
candidateId?: string;
|
|
@@ -13513,6 +13601,8 @@ interface Finding {
|
|
|
13513
13601
|
interface LayerResult {
|
|
13514
13602
|
layer: string;
|
|
13515
13603
|
status: LayerStatus;
|
|
13604
|
+
/** Origin of an `error` or `timeout`. Defaults to `execution`. */
|
|
13605
|
+
errorSource?: 'execution' | 'judge';
|
|
13516
13606
|
/** 0..1 score, optional — layers that don't produce a numeric score omit. */
|
|
13517
13607
|
score?: number;
|
|
13518
13608
|
durationMs: number;
|
|
@@ -13541,6 +13631,8 @@ interface VerifyContext<Env = unknown> {
|
|
|
13541
13631
|
}
|
|
13542
13632
|
interface Layer<Env = unknown> {
|
|
13543
13633
|
name: string;
|
|
13634
|
+
/** Origin assigned when this layer errors or times out. Defaults to `execution`. */
|
|
13635
|
+
errorSource?: 'execution' | 'judge';
|
|
13544
13636
|
/** Stages that must have `status: 'pass'` before this layer runs. */
|
|
13545
13637
|
dependsOn?: string[];
|
|
13546
13638
|
/**
|
|
@@ -13568,22 +13660,29 @@ interface VerifyOptions<Env = unknown> {
|
|
|
13568
13660
|
/** Called with each layer result as it completes. */
|
|
13569
13661
|
onLayer?: (result: LayerResult) => void;
|
|
13570
13662
|
}
|
|
13571
|
-
/** Extends the substrate verdict spine: `valid` = `allPass
|
|
13572
|
-
*
|
|
13573
|
-
* consumers (drivers, gates) read this report without an adapter. */
|
|
13663
|
+
/** Extends the substrate verdict spine: `valid` = `allPass`; `score` is the
|
|
13664
|
+
* complete task score or 0 when the configured scoring panel was incomplete. */
|
|
13574
13665
|
interface VerificationReport extends DefaultVerdict {
|
|
13575
13666
|
layers: LayerResult[];
|
|
13576
13667
|
passCount: number;
|
|
13577
13668
|
failCount: number;
|
|
13578
13669
|
skippedCount: number;
|
|
13579
13670
|
errorCount: number;
|
|
13580
|
-
/** True iff
|
|
13671
|
+
/** True iff the configured scoring panel completed and every layer passed. */
|
|
13581
13672
|
allPass: boolean;
|
|
13582
13673
|
/**
|
|
13583
|
-
*
|
|
13584
|
-
*
|
|
13674
|
+
* Diagnostic weighted mean across contributing layers. This may represent a
|
|
13675
|
+
* partial panel. It is 0 when no layer contributed.
|
|
13585
13676
|
*/
|
|
13586
13677
|
blendedScore: number;
|
|
13678
|
+
/**
|
|
13679
|
+
* Complete task-quality measurement.
|
|
13680
|
+
* Present when at least one layer produced a valid score, every other layer
|
|
13681
|
+
* completed successfully or contributed an explicit scored failure, and no
|
|
13682
|
+
* result is missing because of a failure, skip, error, or timeout.
|
|
13683
|
+
* Use this field, not `blendedScore`, when creating task labels.
|
|
13684
|
+
*/
|
|
13685
|
+
taskScore?: number;
|
|
13587
13686
|
durationMs: number;
|
|
13588
13687
|
startedAt: string;
|
|
13589
13688
|
finishedAt: string;
|
|
@@ -14825,6 +14924,115 @@ interface CampaignStorage {
|
|
|
14825
14924
|
append?(path: string, content: string, expectedBytes: number): number | undefined;
|
|
14826
14925
|
}
|
|
14827
14926
|
|
|
14927
|
+
/**
|
|
14928
|
+
* Liveness canaries — cheap statistical checks that catch the failure
|
|
14929
|
+
* modes a green test suite never sees.
|
|
14930
|
+
*
|
|
14931
|
+
* Three canary types in this module:
|
|
14932
|
+
*
|
|
14933
|
+
* 1. **Silent judge fallback** — the judge degraded to a fallback
|
|
14934
|
+
* path (rules-only / cached / heuristic) without anyone
|
|
14935
|
+
* noticing. Signature: a string of consecutive runs whose
|
|
14936
|
+
* `judgeMetadata.confidence` equals a known fallback constant
|
|
14937
|
+
* (default 0.30) OR whose `judgeMetadata.fallback` is true.
|
|
14938
|
+
*
|
|
14939
|
+
* 2. **Judge calibration drift** — the judge's confidence
|
|
14940
|
+
* distribution has drifted from a historical window. Two-sample
|
|
14941
|
+
* Kolmogorov-Smirnov test on the recent vs historical confidences,
|
|
14942
|
+
* with the empirical-CDF max-difference statistic.
|
|
14943
|
+
*
|
|
14944
|
+
* 3. **Eval-set distribution shift** — the mix of categories /
|
|
14945
|
+
* buckets in the recent runs differs significantly from the
|
|
14946
|
+
* historical mix. Chi-square test on the binned counts.
|
|
14947
|
+
*
|
|
14948
|
+
* Outputs are alerts. The canary does NOT fail loud the way a test
|
|
14949
|
+
* does — failing tests are reserved for hard correctness violations.
|
|
14950
|
+
* A canary that fires is a *signal* to investigate, not a verdict.
|
|
14951
|
+
*
|
|
14952
|
+
* Why this lives here rather than in `observability.ts`: that module
|
|
14953
|
+
* exports already, and is a pure-fanout-to-Langfuse/Prometheus
|
|
14954
|
+
* adapter. Canaries are statistical detectors, not adapters.
|
|
14955
|
+
*/
|
|
14956
|
+
|
|
14957
|
+
type CanaryKind = 'silent_judge_fallback' | 'judge_calibration_drift' | 'distribution_shift';
|
|
14958
|
+
type CanarySeverity = 'info' | 'warn' | 'error';
|
|
14959
|
+
interface CanaryAlert {
|
|
14960
|
+
kind: CanaryKind;
|
|
14961
|
+
severity: CanarySeverity;
|
|
14962
|
+
message: string;
|
|
14963
|
+
/** Numbers that informed the decision — drop straight into a
|
|
14964
|
+
* dashboard / paper figure. */
|
|
14965
|
+
evidence: Record<string, unknown>;
|
|
14966
|
+
}
|
|
14967
|
+
interface CanaryReport {
|
|
14968
|
+
alerts: CanaryAlert[];
|
|
14969
|
+
/** Per-kind summary count. */
|
|
14970
|
+
counts: Record<CanaryKind, number>;
|
|
14971
|
+
/** Whether each enabled detector had enough observations to run. */
|
|
14972
|
+
evaluations: CanaryEvaluation[];
|
|
14973
|
+
}
|
|
14974
|
+
interface CanaryEvaluation {
|
|
14975
|
+
kind: CanaryKind;
|
|
14976
|
+
status: 'evaluated' | 'not_evaluated';
|
|
14977
|
+
observations: number;
|
|
14978
|
+
reason?: string;
|
|
14979
|
+
}
|
|
14980
|
+
interface CanaryOptions {
|
|
14981
|
+
/**
|
|
14982
|
+
* Silent-fallback detection.
|
|
14983
|
+
* - `constant`: confidence value treated as the fallback signal.
|
|
14984
|
+
* Default 0.30 (matches the soft-fail default in
|
|
14985
|
+
* `propose-review.ts`).
|
|
14986
|
+
* - `consecutiveThreshold`: trip the alert after this many
|
|
14987
|
+
* consecutive runs at `constant` (or `fallback === true`).
|
|
14988
|
+
* Default 3.
|
|
14989
|
+
*/
|
|
14990
|
+
silentFallback?: {
|
|
14991
|
+
constant?: number;
|
|
14992
|
+
consecutiveThreshold?: number;
|
|
14993
|
+
/** Floating-point tolerance when comparing against `constant`. */
|
|
14994
|
+
epsilon?: number;
|
|
14995
|
+
};
|
|
14996
|
+
/**
|
|
14997
|
+
* Calibration-drift detection.
|
|
14998
|
+
* - `historyWindow`: number of past runs (oldest-first) treated as
|
|
14999
|
+
* the historical baseline. Default 50.
|
|
15000
|
+
* - `recentWindow`: number of recent runs (newest-first) compared
|
|
15001
|
+
* against history. Default 20.
|
|
15002
|
+
* - `ksAlpha`: alpha for the KS statistic vs critical value.
|
|
15003
|
+
* Default 0.05.
|
|
15004
|
+
* - `minRecent`: minimum recent runs required to even attempt the
|
|
15005
|
+
* check. Default 10.
|
|
15006
|
+
*/
|
|
15007
|
+
calibrationDrift?: {
|
|
15008
|
+
historyWindow?: number;
|
|
15009
|
+
recentWindow?: number;
|
|
15010
|
+
ksAlpha?: number;
|
|
15011
|
+
minRecent?: number;
|
|
15012
|
+
};
|
|
15013
|
+
/**
|
|
15014
|
+
* Distribution-shift detection.
|
|
15015
|
+
* - `category`: function that maps a run to a categorical bucket.
|
|
15016
|
+
* Required to enable this canary; if omitted the chi-square check
|
|
15017
|
+
* is skipped entirely.
|
|
15018
|
+
* - `chiSquareAlpha`: alpha. Default 0.05.
|
|
15019
|
+
* - `historyWindow`, `recentWindow`, `minRecent`: like above.
|
|
15020
|
+
*/
|
|
15021
|
+
distributionShift?: {
|
|
15022
|
+
category: (run: RunRecord) => string | null;
|
|
15023
|
+
chiSquareAlpha?: number;
|
|
15024
|
+
historyWindow?: number;
|
|
15025
|
+
recentWindow?: number;
|
|
15026
|
+
minRecent?: number;
|
|
15027
|
+
};
|
|
15028
|
+
}
|
|
15029
|
+
/**
|
|
15030
|
+
* Run all configured canaries against a chronological run list.
|
|
15031
|
+
* Runs MUST be sorted oldest-to-newest by the caller — the order of
|
|
15032
|
+
* the input is used to define "recent" vs "historical" windows.
|
|
15033
|
+
*/
|
|
15034
|
+
declare function runCanaries(runs: RunRecord[], opts?: CanaryOptions): CanaryReport;
|
|
15035
|
+
|
|
14828
15036
|
interface BenchmarkRunOptions<TPayload = unknown, TArtifact = string> {
|
|
14829
15037
|
adapter: BenchmarkAdapter<BenchmarkDatasetItem<TPayload>, TPayload, TArtifact>;
|
|
14830
15038
|
respond: BenchmarkResponder<TPayload, TArtifact>;
|
|
@@ -15046,107 +15254,6 @@ declare namespace index$1 {
|
|
|
15046
15254
|
export { index$1_BENCHMARK_SPLIT_SEED as BENCHMARK_SPLIT_SEED, type index$1_BenchmarkAdapter as BenchmarkAdapter, type index$1_BenchmarkDatasetItem as BenchmarkDatasetItem, type index$1_BenchmarkDistribution as BenchmarkDistribution, type index$1_BenchmarkEvaluation as BenchmarkEvaluation, type index$1_BenchmarkFamily as BenchmarkFamily, type index$1_BenchmarkMetricCalibrationOptions as BenchmarkMetricCalibrationOptions, type index$1_BenchmarkMetricCalibrationResult as BenchmarkMetricCalibrationResult, type index$1_BenchmarkReport as BenchmarkReport, type index$1_BenchmarkResponder as BenchmarkResponder, type index$1_BenchmarkRunOptions as BenchmarkRunOptions, type index$1_BenchmarkRunResult as BenchmarkRunResult, type index$1_BenchmarkScenario as BenchmarkScenario, type index$1_BenchmarkSliceSummary as BenchmarkSliceSummary, type index$1_BenchmarkSource as BenchmarkSource, type index$1_BenchmarkTaskKind as BenchmarkTaskKind, type index$1_BuildStandardRetrievalItemsOptions as BuildStandardRetrievalItemsOptions, type index$1_RetrievalIdAdapterOptions as RetrievalIdAdapterOptions, type index$1_StandardRetrievalArtifact as StandardRetrievalArtifact, type index$1_StandardRetrievalDocument as StandardRetrievalDocument, type index$1_StandardRetrievalEvaluationOptions as StandardRetrievalEvaluationOptions, type index$1_StandardRetrievalPayload as StandardRetrievalPayload, type index$1_StandardRetrievalQrel as StandardRetrievalQrel, type index$1_StandardRetrievalQuery as StandardRetrievalQuery, type index$1_StandardRetrievalResult as StandardRetrievalResult, index$1_buildStandardRetrievalItems as buildStandardRetrievalItems, index$1_calibrateBenchmarkMetric as calibrateBenchmarkMetric, index$1_createRetrievalIdBenchmarkAdapter as createRetrievalIdBenchmarkAdapter, index$1_deterministicSplit as deterministicSplit, index$1_evaluateStandardRetrieval as evaluateStandardRetrieval, index$1_normalizeRetrievedDocumentIds as normalizeRetrievedDocumentIds, index$1_parseBeirCorpusJsonl as parseBeirCorpusJsonl, index$1_parseBeirQueriesJsonl as parseBeirQueriesJsonl, index$1_parseJsonlRows as parseJsonlRows, index$1_parseQrels as parseQrels, index$1_parseTsvRows as parseTsvRows, index$1_renderBenchmarkReportMarkdown as renderBenchmarkReportMarkdown, index$1_retrievalMetricsAtCutoff as retrievalMetricsAtCutoff, index$2 as routing, index$1_runBenchmarkAdapter as runBenchmarkAdapter, index$1_summarizeBenchmarkCampaign as summarizeBenchmarkCampaign };
|
|
15047
15255
|
}
|
|
15048
15256
|
|
|
15049
|
-
/**
|
|
15050
|
-
* Liveness canaries — cheap statistical checks that catch the failure
|
|
15051
|
-
* modes a green test suite never sees.
|
|
15052
|
-
*
|
|
15053
|
-
* Three canary types in this module:
|
|
15054
|
-
*
|
|
15055
|
-
* 1. **Silent judge fallback** — the judge degraded to a fallback
|
|
15056
|
-
* path (rules-only / cached / heuristic) without anyone
|
|
15057
|
-
* noticing. Signature: a string of consecutive runs whose
|
|
15058
|
-
* `judgeMetadata.confidence` equals a known fallback constant
|
|
15059
|
-
* (default 0.30) OR whose `judgeMetadata.fallback` is true.
|
|
15060
|
-
*
|
|
15061
|
-
* 2. **Judge calibration drift** — the judge's confidence
|
|
15062
|
-
* distribution has drifted from a historical window. Two-sample
|
|
15063
|
-
* Kolmogorov-Smirnov test on the recent vs historical confidences,
|
|
15064
|
-
* with the empirical-CDF max-difference statistic.
|
|
15065
|
-
*
|
|
15066
|
-
* 3. **Eval-set distribution shift** — the mix of categories /
|
|
15067
|
-
* buckets in the recent runs differs significantly from the
|
|
15068
|
-
* historical mix. Chi-square test on the binned counts.
|
|
15069
|
-
*
|
|
15070
|
-
* Outputs are alerts. The canary does NOT fail loud the way a test
|
|
15071
|
-
* does — failing tests are reserved for hard correctness violations.
|
|
15072
|
-
* A canary that fires is a *signal* to investigate, not a verdict.
|
|
15073
|
-
*
|
|
15074
|
-
* Why this lives here rather than in `observability.ts`: that module
|
|
15075
|
-
* exports already, and is a pure-fanout-to-Langfuse/Prometheus
|
|
15076
|
-
* adapter. Canaries are statistical detectors, not adapters.
|
|
15077
|
-
*/
|
|
15078
|
-
|
|
15079
|
-
type CanaryKind = 'silent_judge_fallback' | 'judge_calibration_drift' | 'distribution_shift';
|
|
15080
|
-
type CanarySeverity = 'info' | 'warn' | 'error';
|
|
15081
|
-
interface CanaryAlert {
|
|
15082
|
-
kind: CanaryKind;
|
|
15083
|
-
severity: CanarySeverity;
|
|
15084
|
-
message: string;
|
|
15085
|
-
/** Numbers that informed the decision — drop straight into a
|
|
15086
|
-
* dashboard / paper figure. */
|
|
15087
|
-
evidence: Record<string, unknown>;
|
|
15088
|
-
}
|
|
15089
|
-
interface CanaryReport {
|
|
15090
|
-
alerts: CanaryAlert[];
|
|
15091
|
-
/** Per-kind summary count. */
|
|
15092
|
-
counts: Record<CanaryKind, number>;
|
|
15093
|
-
}
|
|
15094
|
-
interface CanaryOptions {
|
|
15095
|
-
/**
|
|
15096
|
-
* Silent-fallback detection.
|
|
15097
|
-
* - `constant`: confidence value treated as the fallback signal.
|
|
15098
|
-
* Default 0.30 (matches the soft-fail default in
|
|
15099
|
-
* `propose-review.ts`).
|
|
15100
|
-
* - `consecutiveThreshold`: trip the alert after this many
|
|
15101
|
-
* consecutive runs at `constant` (or `fallback === true`).
|
|
15102
|
-
* Default 3.
|
|
15103
|
-
*/
|
|
15104
|
-
silentFallback?: {
|
|
15105
|
-
constant?: number;
|
|
15106
|
-
consecutiveThreshold?: number;
|
|
15107
|
-
/** Floating-point tolerance when comparing against `constant`. */
|
|
15108
|
-
epsilon?: number;
|
|
15109
|
-
};
|
|
15110
|
-
/**
|
|
15111
|
-
* Calibration-drift detection.
|
|
15112
|
-
* - `historyWindow`: number of past runs (oldest-first) treated as
|
|
15113
|
-
* the historical baseline. Default 50.
|
|
15114
|
-
* - `recentWindow`: number of recent runs (newest-first) compared
|
|
15115
|
-
* against history. Default 20.
|
|
15116
|
-
* - `ksAlpha`: alpha for the KS statistic vs critical value.
|
|
15117
|
-
* Default 0.05.
|
|
15118
|
-
* - `minRecent`: minimum recent runs required to even attempt the
|
|
15119
|
-
* check. Default 10.
|
|
15120
|
-
*/
|
|
15121
|
-
calibrationDrift?: {
|
|
15122
|
-
historyWindow?: number;
|
|
15123
|
-
recentWindow?: number;
|
|
15124
|
-
ksAlpha?: number;
|
|
15125
|
-
minRecent?: number;
|
|
15126
|
-
};
|
|
15127
|
-
/**
|
|
15128
|
-
* Distribution-shift detection.
|
|
15129
|
-
* - `category`: function that maps a run to a categorical bucket.
|
|
15130
|
-
* Required to enable this canary; if omitted the chi-square check
|
|
15131
|
-
* is skipped entirely.
|
|
15132
|
-
* - `chiSquareAlpha`: alpha. Default 0.05.
|
|
15133
|
-
* - `historyWindow`, `recentWindow`, `minRecent`: like above.
|
|
15134
|
-
*/
|
|
15135
|
-
distributionShift?: {
|
|
15136
|
-
category: (run: RunRecord) => string | null;
|
|
15137
|
-
chiSquareAlpha?: number;
|
|
15138
|
-
historyWindow?: number;
|
|
15139
|
-
recentWindow?: number;
|
|
15140
|
-
minRecent?: number;
|
|
15141
|
-
};
|
|
15142
|
-
}
|
|
15143
|
-
/**
|
|
15144
|
-
* Run all configured canaries against a chronological run list.
|
|
15145
|
-
* Runs MUST be sorted oldest-to-newest by the caller — the order of
|
|
15146
|
-
* the input is used to define "recent" vs "historical" windows.
|
|
15147
|
-
*/
|
|
15148
|
-
declare function runCanaries(runs: RunRecord[], opts?: CanaryOptions): CanaryReport;
|
|
15149
|
-
|
|
15150
15257
|
/**
|
|
15151
15258
|
* concurrency — small primitives the evolution loop needs.
|
|
15152
15259
|
*
|
|
@@ -15410,8 +15517,10 @@ interface CampaignRunOutcome {
|
|
|
15410
15517
|
pass: boolean;
|
|
15411
15518
|
/** Score for the run on its split. Maps to `searchScore` or `holdoutScore`. */
|
|
15412
15519
|
score: number;
|
|
15413
|
-
/**
|
|
15414
|
-
costUsd: number;
|
|
15520
|
+
/** Cost in USD, or null when the runner could not capture it. */
|
|
15521
|
+
costUsd: number | null;
|
|
15522
|
+
/** Source of the cost amount. */
|
|
15523
|
+
costProvenance: RunCostProvenance;
|
|
15415
15524
|
tokenUsage: RunTokenUsage;
|
|
15416
15525
|
/** Snapshot model id (e.g. `claude-sonnet-4-6@2025-04-15`). */
|
|
15417
15526
|
model: string;
|
|
@@ -17065,4 +17174,4 @@ type CachedJudge<TArtifact, TScenario extends Scenario = Scenario> = JudgeConfig
|
|
|
17065
17174
|
*/
|
|
17066
17175
|
declare function cachedJudge<TArtifact, TScenario extends Scenario = Scenario>(judge: JudgeConfig<TArtifact, TScenario>, store: VerdictCacheStore, options: CachedJudgeOptions): CachedJudge<TArtifact, TScenario>;
|
|
17067
17176
|
|
|
17068
|
-
export { AGENT_PROFILE_KINDS, ATTESTATION_ALGORITHM, type ActionExecutionPolicy, type ActionPolicyDecision, type ActionableSideInfo, type ActiveLearningOptions, type AdapterRun, AgentDriver, type AgentDriverConfig, AgentEvalError, type AgentEvalErrorCode, type AgentInterfaceProfileLike, type AgentProfileCell, type AgentProfileCellInput, type AgentProfileCellSchemaVersion, AgentProfileCellValidationError, type AgentProfileDimensionValue, type AgentProfileHarness, type AgentProfileJson, type AgentProfileJsonObject, type AgentProfileKind, type AgentProfileRuntimeReceipt, type AgentProfileSource, type AgentProfileSourceInput, type AlignmentOp, type Analyst, type AnalystContext, type AnalystCost, type AnalystFinding, type AnalystHooks, type AnalystInputKind, AnalystRegistry, type AnalystRegistryOptions, type AnalystRequirements, type AnalystRunEvent, type AnalystRunInputs, type AnalystRunResult, type AnalystRunSummary, type AnalystSeverity, type AnalystUsageReceipt, type AnalyzeTracesInput, type AnalyzeTracesOptions, type AnalyzeTracesResult, type AnalyzeTracesTurnSnapshot, type AntiSlopConfig, type AntiSlopIssue, type AntiSlopReport, type Artifact$1 as Artifact, type ArtifactCheck, type Artifact as ArtifactCheckArtifact, type ArtifactEventLike, type ArtifactResult, type ArtifactValidator, type AsiSeverity, type AssertCapabilityHeadroomOptions, type AssertCrossFamilyOptions, type AssertSingleBackendOptions, type AttestationProvenance, type AttestationVerification, type AttestedReport, type AutoPrClient, AxGepaSteeringOptimizer, type AxSteeringOptimizerConfig, BENCHMARK_SPLIT_SEED, type BackendDescriptor, BackendIntegrityError, type BackendIntegrityReport, type BaselineOptions, type BaselineReport, BehaviorAssertion, type BehavioralMetrics, type BehavioralTokenSequence, type BenchmarkAdapter, type BenchmarkDatasetItem, type BenchmarkEvaluation, type BenchmarkFamily, type BenchmarkReport$1 as BenchmarkReport, type BenchmarkResponder, BenchmarkRunner, type BenchmarkRunnerConfig, type BenchmarkScenario, type BenchmarkSource, type BenchmarkTaskKind, type BisectOptions, type BisectResult, type BisectStep, type BlendWeights, type BootstrapOptions, type BootstrapResult, BudgetBreachError, BudgetGuard, type BudgetLedgerEntry, type BudgetPolicy, type BudgetSpec, CODING_HARNESSES, type CachedJudge, type CachedJudgeOptions, type CalibrationResult, CallExpectation, CallbackResearcher, type CallbackResearcherOptions, type CampaignFactoryParams, type CampaignIntegrityPolicy, type CampaignRunContext, type CampaignRunOutcome, type CampaignRunner, type CampaignScenario, type CampaignVariant, type CanaryAlert, type CanaryKind, type CanaryLeak, type CanaryOptions, type CanaryReport, type CanarySeverity, type CandidateComparison, type CandidateScenario, type CandidateScore, type CanonicalRawAnalystFinding, type CapabilityHeadroomOptions, type CapabilityHeadroomResult, type CaptureFetchContext, type CaptureFetchOptions, CaptureIntegrityError, type CausalAttributionReport, type CellVerdict, type ChannelRollup, type ChatCallOpts, type ChatClient, type ChatMessage, type ChatRequest, type ChatResponse, type ChatToolCall, type ChatTransport, type CheckResult, type CliBridgeTransportOpts, type CliffsMagnitude, type ClusterBootstrapInterval, type ClusterSignFlipAlternative, type ClusterSignFlipResult, type ClusteredBinaryCluster, type ClusteredMatchedPair, type ClusteredPairedBinaryOptions, type ClusteredPairedBinaryResult, type ClusteredPairedBinaryStatistics, type CollectedArtifacts, type CommandRunner, type ComparePairedArmsOptions, type CompletionCriterion, type CompletionRequirement, type CompletionVerdict, type ConceptComplexity, type ConceptFinding, type ConceptSpec, type ConceptWeightStrategy, ConfigError, type ContinuityCheck, type ContinuityCheckResult, type ContinuityReport, type ContinuitySnapshotPair, type ContinuousAgreement, type ContinuousAgreementOptions, type ContinuousCalibrationResult, type ContractCheckResult, type ContractJudgeOptions, type ContractMetric, type ContractReport, type ContractRule, type ContractRuleKind, type ContractSpan, type ContractVerdict, type ContractViolation, type ControlActionFailureMode, type ControlActionOutcome, type ControlBudget, type ControlContext, type ControlDecision, type ControlEvalResult, type ControlRunResult, type ControlRunToRunRecordOptions, type ControlRuntimeConfig, type ControlRuntimeError, type ControlSeverity, type ControlStep, type ControlStopPolicies, ConvergenceTracker, type CorpusAgreementOptions, type CorpusAgreementPerDimension, type CorpusAgreementReport, type CorpusScoreRecord, type CorrectnessChecker, CostAccountingIncompleteError, CostCallConflictError, CostCeilingReachedError, type CostChannel, type CostEntry, CostLedger, type CostLedgerEntry, type CostLedgerFilter, type CostLedgerHandle, type CostLedgerOptions, type CostLedgerPersistence, CostLedgerPersistenceError, type CostLedgerSummary, type CostReceipt, CostReceiptCaptureError, type CostReceiptInput, type CostReport, CostReservationExceededError, type CostResult, type CostSummary, CostTracker, type CostUsage, type CounterfactualContext, type CounterfactualMutation, type CounterfactualResult, type CounterfactualRunner, type CreateAnalystAiConfig, type CreateChatClientOpts, type CreateDefaultReviewerOptions, type CreateExperimentInput, type CreateSandboxPoolOpts, type CreateTraceAnalystKindOpts, CrossFamilyError, type CrossTraceDiff, type CrossTraceDiffOptions, type CustomTokenPricing, DEFAULT_AGENT_SLOS, DEFAULT_COMPLEXITY_WEIGHTS, DEFAULT_RULES as DEFAULT_FAILURE_RULES, DEFAULT_FINDERS, DEFAULT_HARNESS_OBJECTIVES, DEFAULT_MUTATION_PRIMITIVES, DEFAULT_MUTATORS, DEFAULT_PR_REVIEW_SCORE_WEIGHTS, DEFAULT_REDACTION_RULES, DEFAULT_RED_TEAM_CORPUS, DEFAULT_RUN_SCORE_WEIGHTS, DEFAULT_SEVERITY_WEIGHTS, DEFAULT_TRACE_ANALYST_BUDGETS, DEFAULT_TRACE_ANALYST_KINDS, type DataAcquisitionPlan, Dataset, type DatasetDifficulty, type DatasetManifest, type DatasetOverview, type DatasetProvenance, type DatasetScenario, type DatasetSplit, type DecideNextUserTurnOpts, type DefaultAnalystRegistryOptions, type DefaultVerdict, type DeployFamily, type DeployGateLayerInput, type DeployRunResult, type DeployRunner, type DescriptionLengthCandidate, type DescriptionLengthConfig, type DescriptionLengthDecision, type DescriptionLengthEvidence, DescriptionLengthGate, type DescriptionLengthRejectionCode, type DetectorEvent, type DetectorSeverity, type DetectorSignal, type DiffPolicy, type DiffScorecardOptions, type DirEntry, type DirectProviderTransportOpts, type Direction, type DiscoverPersonasOptions, type DiscoveredPersona, DockerSandboxDriver, type DriverResult, type DriverState, DualAgentBench, type DualAgentBenchConfig, type DualAgentReport, type DualAgentRound, type DualAgentScenario, type DualAgentScenarioResult, type EProcess, type EProcessOptions, type EProcessState, type EProcessStep, ERROR_COUNT_PATTERNS, type EnsembleAggregate, type EnsembleJudgeOptions, type ErrorCluster, type ErrorCountPattern, type ErrorStreakOptions, type EvalCampaignOptions, type EvalCampaignResult, type EvalResult, type EvalToolDef, EvalTraceStore, type EventFilter, type EventKind, type EvidenceRef, type EvolutionRound, type ExecutorConfig, type Expectation, type Experiment, type ExperimentPlan, type ExperimentProvenance, type ExperimentRep, type ExperimentResult, type ExperimentStats, type ExperimentStore, ExperimentTracker, type ExperimentTrackerOptions, type ExperimentVerdict, type ExportableSpan, type ExportedRewardModel, type ExtractOptions, type ExtractResult, type ExtractUsageFromSseOptions, type ExtractedUsage, FAILURE_CLASSES, FAILURE_MODE_KIND_SPEC, type FactorContribution, type FactorialCell, type FailedRun, type FailureClass, type FailureClassification, type FailureContext, type FailureMode, type FailureRule, type FeedbackArtifactType, type FeedbackAttempt, type FeedbackLabel, type FeedbackLabelKind, type FeedbackLabelSource, type FeedbackOptimizerRow, type FeedbackOutcome, type FeedbackPattern, type FeedbackReplayAdapter, type FeedbackReplayResult, type FeedbackSeverity, type FeedbackSplitPolicy, type FeedbackTask, type FeedbackTrajectory, type FeedbackTrajectoryFilter, type FeedbackTrajectoryStore, type FieldDestination, type FileChange, FileSystemFeedbackTrajectoryStore, FileSystemRawProviderSink, type FileSystemRawProviderSinkOptions, FileSystemTraceStore, type FileSystemTraceStoreOptions, type Finding, type FindingSubject, type FindingSubjectKind, type FindingsDiff, FindingsStore, type FlattenOtlpOptions, type FlowAction, type FlowLayerEnv, type FlowLayerFactoryInput, type FlowRunner, type FlowRunnerStepResult, type FlowSpec, type FlowStep, type GainDistributionBin, type GainDistributionFigureSpec, type GainDistributionOptions, type GateDecision$1 as GateDecision, type GateEvidence, type GenericSpan, type GhCliClientOptions, type GoldenItem, type GoldenSeverity, type GoldenSpec, HARNESS_NATIVE_MODEL, type HarnessAdapter, type HarnessConfig, type HarnessExperimentConfig, type HarnessExperimentResult, type HarnessIntervention, type HarnessRunRequest, type HarnessRunResult, type HarnessScenario, type HarnessSelection, type HarnessVariant, type HarnessVariantReport, type HeadroomClass, type HeadroomInput, HeldOutGate, type HeldOutGateConfig, type HeldOutGateRejectionCode, type HeldOutPartition, type HiddenCriteriaGrader, type HiddenGradeResult, type HiddenLeak, HoldoutAuditor, HoldoutLockedError, type HttpGithubClientOptions, type HypothesisManifest, type HypothesisResult, IMPROVEMENT_KIND_SPEC, INPUT_VALUE, INTENT_MATCH_JUDGE_VERSION, type ImageData, type ImprovementThresholds, type ImprovementVerdictResult, InMemoryFeedbackTrajectoryStore, InMemoryRawProviderSink, type InMemoryRawProviderSinkOptions, InMemoryTraceStore, InMemoryWorkspaceInspector, type InferenceScorer, type InspectorContext, type IntentMatchInput, type IntentMatchOptions, type IntentMatchResult, type InteractionContribution, type InterimReleaseConfidence, type InterimReleaseConfidenceInput, type JudgeConfig$1 as JudgeConfig, JudgeError, type JudgeFamily, type JudgeFleetOptions, type JudgeFn, type JudgeInput, JudgeParseError, type JudgeReplayGateArgs, type JudgeReplayResult, type JudgeRetryOutcome, type JudgeRetryPolicy, type JudgeRubric, JudgeRunner, type JudgeScore$1 as JudgeScore, type JudgeScoreInput, type JudgeScoresRecord, type JudgeSpan, type JudgeVerdict, KNOWLEDGE_GAP_KIND_SPEC, KNOWLEDGE_POISONING_KIND_SPEC, type KeywordConceptSpec, type KeywordCoverageFinding, type KeywordCoverageOptions, type KeywordCoverageResult, type KnowledgeAcquisitionMode, type KnowledgeBundle, type KnowledgeFallbackPolicy, type KnowledgeFreshness, type KnowledgeImportance, type KnowledgeReadinessReport, type KnowledgeRecommendedAction, type KnowledgeRequirement, type KnowledgeRequirementCategory, type KnowledgeResponsibleSurface, type KnowledgeSensitivity, LLM_CACHED_TOKENS, LLM_CACHED_TOKEN_ATTR_KEYS, LLM_CACHE_WRITE_TOKENS, LLM_CACHE_WRITE_TOKEN_ATTR_KEYS, LLM_CONTEXT_TOKENS, LLM_COST_ATTR_KEYS, LLM_COST_USD, LLM_INPUT_TOKENS, LLM_INPUT_TOKEN_ATTR_KEYS, LLM_MODEL_ATTR_KEYS, LLM_MODEL_NAME, LLM_OUTPUT_TOKENS, LLM_OUTPUT_TOKEN_ATTR_KEYS, LLM_REASONING_TOKENS, LLM_REASONING_TOKEN_ATTR_KEYS, type LangfuseEnvelope, type LangfuseGeneration, type LangfuseScore, type Layer, type LayerResult, type LayerStatus, type LeaderboardOptions, type LeaderboardRow, type LiveProofArtifact, type LiveProofConfig, type LiveProofContext, type LiveProofResult, LlmCallError, type LlmCallMetadata, type LlmCallRequest, type LlmCallResult, LlmClient, type LlmClientOptions, type LlmCorrectnessCheckerOpts, type LlmJsonCall, type LlmJudgeDimension, type LlmJudgeOptions, type LlmMessage, LlmResponseError, type LlmReviewerConfig, LlmRouteAssertionError, type LlmRouteRequirements, type LlmSpan, type LlmSpanOtlpInput, type LlmUsage, LockedJsonlAppender, MODEL_PRICING, type MakeEvalToolsConfig, type MatchResult, type MatchedPair, type MatcherResult, type MaximumCharge, type McNemarResult, type Measured, type MeasurementPolicy, type MergeOptions, type Message, type MetricSamples, type MetricVerdict, MetricsCollector, type MintRolloutOptions, type MintRolloutResult, type MockTransportOpts, type ModelCostRollup, type ModelPreflight, type ModelSeats, ModelsUnreachableError, type MuffledFinder, type MuffledFinding, MultiLayerVerifier, type MultiToolchainLayerConfig, type Mutator, Mutex, type NoLeakOptions, type NoProgressOptions, NoopRawProviderSink, NoopResearcher, NotFoundError, OPENINFERENCE_SPAN_KIND, OTEL_AGENT_EVAL_SCOPE, OUTPUT_VALUE, type Objective, type Oracle, type OracleObservation, type OracleReport, type OracleResult, type OrthogonalityInput, type OrthogonalityResult, type OtelExportConfig, type OtelExporter, type OtelPipelineHandle, type OtelPipelineOptions, type OtlpExport, OtlpFileTraceStore, type OtlpFileTraceStoreOptions, type OtlpFlatLine, type OtlpResourceSpans, type OtlpSpan, type OtlpToRunRecordsOptions, type OtlpTraceRunRecord, type PaidCallResult, type PairArmsOptions, type PairArmsResult, type PairedArmRow, type PairedArmsComparison, type PairedBootstrapOptions, type PairedBootstrapResult, type PairedCorrectness, type PairedEvalueOptions, type PairedEvalueSequence, type PairedEvalueStep, type PairedMetricDelta, type PairedSignTestResult, PairwiseSteeringOptimizer, type ParaphraseRobustnessScenarioInput, type ParaphraseRobustnessScenarioResult, type ParetoFigureSpec, type ParetoPoint, type ParetoResult, type PartitionHeldOutOptions, type PendingCostCall, type PendingCostCallView, type PersistedFinding, type PersonaConfig, type PersonaRigor, type Playbook, type PlaybookEntry, type PoolSlot, type PositionalBiasResult, type PrReviewAuditCase, type PrReviewBenchmarkSummary, type PrReviewComment, type PrReviewMatchedFinding, type PrReviewOutcome, type PrReviewReferenceFinding, type PrReviewScore, type PrReviewScoreWeights, type PrReviewSeverity, type PrReviewSource, type PreferenceMemoryEntry, type PreflightModelsOptions, type PreflightOutcome, type ProducedProposal, type ProducedState, type ProductBenchmarkArm, type ProductBenchmarkArtifactPaths, type ProductBenchmarkBudgets, type ProductBenchmarkExportOptions, type ProductBenchmarkExportResult, type ProductBenchmarkManifest, type ProductBenchmarkProfileRef, type ProductBenchmarkRecord, type ProductBenchmarkRepoRef, type ProductBenchmarkRunInput, type ProductBenchmarkScenario, type ProductBenchmarkSingleRunExportOptions, type ProductBenchmarkSplit, type ProductBenchmarkSubstrateVersions, type ProductBenchmarkValidationReport, ProductClient, type ProductClientConfig, type ProfileAxisSpec, type ProjectRuntimeTrajectoryEvidenceOptions, type ProjectedOtlpSpan, type PromptHandle, PromptRegistry, type ProportionInterval, type ProposalEventLike, type ProposeAutomatedPullRequestInput, type ProposeAutomatedPullRequestResult, type ProposeFn, type ProposeInput, type ProposeOutput, type ProposeReviewConfig, type ProposeReviewControlAction, type ProposeReviewControlConfig, type ProposeReviewControlResult, type ProposeReviewControlState, type ProposeReviewReport, type ProposeReviewShot, type ProposedSideEffect, type ProvenanceReader, type ProviderRedactor, type QueryTracesPage, REDACTION_VERSION, REFERENCE_EQUIVALENCE_INPUT_LIMITS, REFERENCE_EQUIVALENCE_JUDGE_VERSION, RESEARCH_REPORT_HARD_PAIR_FLOOR, ROLLOUT_FORMAT, ROLLOUT_SCHEMA, RUN_COST_ATTR_KEYS, type RawAnalystEvidence, type RawAnalystFinding, type RawProviderDirection, type RawProviderEvent, type RawProviderSink, type RawProviderSinkFilter, type RecordRunsOptions, type RedTeamCase, type RedTeamCategory, type RedTeamFinding, type RedTeamPayload, type RedTeamReport, type RedactionReport, type RedactionRule, type ReferenceEquivalenceJudgeInput, type ReferenceEquivalenceJudgeOptions, type ReferenceEquivalenceJudgeResult, type ReferenceEquivalenceScenario, type ReferenceMatchResult, type ReferenceReplayAdapter, type ReferenceReplayAdapterFn, type ReferenceReplayAdapterLike, type ReferenceReplayAggregate, type ReferenceReplayCandidate, type ReferenceReplayCase, type ReferenceReplayCaseRun, type ReferenceReplayExecutionScenario, type ReferenceReplayItem, type ReferenceReplayMatch, type ReferenceReplayMatchStrategy, type ReferenceReplayMatcher, type ReferenceReplayPromotionDecision, type ReferenceReplayPromotionPolicy, type ReferenceReplayRun, type ReferenceReplayRunContext, type ReferenceReplayRunOptions, type ReferenceReplayRunStore, type ReferenceReplayScenario, type ReferenceReplayScenarioScore, type ReferenceReplayScore, type ReferenceReplayScoreOptions, type ReferenceReplaySplit, type ReferenceReplaySplitComparison, type ReferenceReplaySteeringRowsOptions, type ReflectionContext, type ReflectionProposal, type RegistryRunOpts, type ReleaseConfidenceAxis, type ReleaseConfidenceAxisName, type ReleaseConfidenceInput, type ReleaseConfidenceIssue, type ReleaseConfidenceMetrics, type ReleaseConfidenceScorecard, type ReleaseConfidenceStatus, type ReleaseConfidenceThresholds, type ReleaseTraceEvidence, type RenderReleaseReportOptions, type RepeatedActionOptions, ReplayCache, type ReplayCacheEntry, ReplayCacheMissError, type ReplayCacheStats, ReplayError, type ReplayFetchOptions, type RepoRef, type RequirementCheck, type ResearchReport, type ResearchReportCandidate, type ResearchReportDecision, type ResearchReportMethodology, type ResearchReportOptions, type ResearchReportRecommendation, type Researcher, type RetrievalSpan, type Review, type ReviewFn, type ReviewInput, type ReviewMemoryEntry, type ReviewMemoryStore, type ReviewerMemoryEntry, type ReviewerOutput, type ReviewerPromptInput, type ReviewerSoftFailDefaults, type ReviewerVerificationSummary, type RewardRow, type RiskDifferenceResult, type RobustnessResult, type RolloutCapture, type RolloutLine, type RolloutRole, type RolloutScrubber, type RolloutSplit, type RolloutStep, type RouteMap, type RoutedField, type RouterTransportOpts, type RubricDimension, type Run, type RunCommandInput, type RunCommandResult, type RunCompleteHook, type RunCompleteHookContext, type RunCostProvenance, RunCritic, type RunCriticOptions, type RunEvidenceMetadata, type RunFilter, RunIntegrityError, type RunIntegrityExpectations, type RunIntegrityIssue, type RunIntegrityIssueCode, type RunIntegrityReport, type RunJudgeMetadata, type RunLayer, type RunOutcome, type RunPaidCallInput, type RunRecord, type RunRecordBackend, type RunRecordFilter, RunRecordValidationError, type RunScore, type RunScoreWeights, type RunSplitTag, type RunStatus, type RunTokenUsage, type RunTrace, type RuntimeEventLike, type RuntimeResolution, type RuntimeTrajectoryEvidenceProjection, type RuntimeTrajectoryEvidenceSummary, type RuntimeTrajectoryHookEvent, type RuntimeTrajectoryRecord, type RuntimeTrajectoryRunRecord, SEMANTIC_CONCEPT_JUDGE_VERSION, SKILL_USAGE_ANALYST, SPAN_KIND_ATTR_KEYS, SUPERVISOR_RUN_SCHEMA, type SandboxDriver, SandboxHarness, type SandboxHarnessResult, type SandboxJudgeKind, type SandboxJudgeResult, type SandboxJudgeSpec, type SandboxPool, type SandboxResult, type SandboxSdkTransportOpts, type SandboxSpan, type SatisfiedBy, type ScanOptions, type Scenario$1 as Scenario, type ScenarioCost, type ScenarioFile, ScenarioRegistry, type ScenarioResult, type ScoreKnowledgeReadinessOptions, type Scorecard, type ScorecardCell, type ScorecardCellDiff, type ScorecardDiff, type ScorecardEntry, type ScorecardLogLine, type ScoredTarget, type SearchSpanResult, type SearchTraceResult, type SeatName, type SeatPresetName, SeatUnsetError, type SelfPlayOptions, type SelfPlayProposer, type SelfPlayScorer, type SelfPreferenceResult, type SemanticConceptJudgeInput, type SemanticConceptJudgeOptions, type SemanticConceptJudgeResult, type SequentialDecision, type SerializedRegex, type SeriesConvergenceOptions, type SeriesConvergenceResult, type Severity, type SftExportOptions, type SftRow, type SignTestAlternative, type SignedManifest, type SignedManifestAlgo, type SingleBackendDivergence, SingleBackendError, type SingleBackendField, type SingleBackendReport, SkillUsageAnalyst, type SliceOptions, type Slo, type SloCheckResult, type SloComparator, type SloReport, type SloSeverity, type SlopCategory, type SlotFactory, type SourceLimits, type Span, type SpanBase, type SpanFilter, type SpanHandle, type SpanKind, type SpanMatchRecord, SpanNotFoundError, type SpanPredicate, type SpanStatus, type SseUsageMode, type SteeringBundle, type SteeringChange, type SteeringDelta, type SteeringOptimizationResult, type SteeringOptimizationRow, type SteeringOptimizationSelector, type SteeringOptimizerBackend, type SteeringOptimizerConfig, type SteeringRolePrompt, type StepAttribution, type StopDecision, type StreamingDetector, type SuboptimalCode, type SuboptimalSignal, SubprocessSandboxDriver, type SubprocessSandboxDriverOptions, type SummaryTable, type SummaryTableOptions, type SummaryTableRow, type SupervisorRunReader, type SupervisorRunReport, type SupervisorRunRollup, type SupervisorRunSources, type SupervisorRunTree, type SynthesisReason, type SynthesisTarget, TOOL_ARGS_CAPTURED, TOOL_LATENCY_MS, TOOL_NAME, TOOL_NAME_ATTR_KEYS, TRACE_ANALYST_ACTOR_DESCRIPTION, TRACE_ANALYST_ACTOR_DESCRIPTION_VERSION, TRACE_ANALYST_TRUNCATION_MARKER_PREFIX, TRACE_SCHEMA_VERSION, type TaskGold, type TaskHeadroom, type TestGradedRunOptions, type TestGradedRunResult, type TestGradedScenario, type TestOutputParser, type TestResult, type TextMatcher, type ThresholdContract, TokenCounter, type TokenSpec, type ToolCallEventLike, type ToolDef, type ToolMatcher, type ToolSpan, type ToolSpanOtlpInput, type ToolStats, type ToolUseMetrics, type ToolUseOptions, type TraceAggregate, type TraceAnalysisStore, type TraceAnalystByteBudgets, type TraceAnalystFilters, type TraceAnalystGolden, type TraceAnalystHookOptions, type TraceAnalystKindSpec, type TraceAnalystSpan, type TraceAnalystSpanKind, type TraceAnalystSpanStatus, type TraceAnalystTraceSummary, type TraceContract, TraceContractBuilder, TraceEmitter, type TraceEmitterOptions, type TraceEvent, TraceFileMissingError, type TraceInsightContext, type TraceInsightFinding, type TraceInsightPanelRole, type TraceInsightPromptInput, type TraceInsightQualityGate, type TraceInsightQuestion, type TraceInsightReadiness, type TraceInsightSuite, type TraceInsightTask, TraceNotFoundError, type TraceStore, type TraceStoreSource, type TraceStoreToOtlpOptions, type TracedAnalystOptions, type TracedJudgeOptions, type TracesToOtlpResult, type Trajectory, type TrajectoryStep, type TreatmentClass, type TreatmentGate, type TreatmentGateInput, type TreatmentGateOptions, type TrialTrace, type Turn, type TurnMetrics, type TurnResult, UI_FINDING_SEVERITIES, UI_LENSES, UNIVERSAL_FINDERS, type UiFinding, type UiFindingScreenshot, type UiFindingSeverity, type UiLens, type Unavailable, type UserQuestion, type ValidationContext, ValidationError, type ValidationIssue, type ValidationResult, type VerbosityBiasResult, type Verdict, type VerdictCacheStats, type VerdictCacheStore, type Verification, VerificationError, type VerificationReport, type VerifyContext, type VerifyFn, type VerifyOptions, type ViewSpansResult, type ViewTraceOversized, type ViewTraceResult, type VisualDiffOptions, type VisualDiffResult, type ViteDeployRunnerInput, type WeightedCompositeInput, type WeightedCompositeResult, type WorkerDriverContext, type WorkflowTopology, type WorkspaceAssertion, type WorkspaceAssertionResult, type WorkspaceInspector, type WorkspaceSnapshot, type WranglerDeployRunnerInput, acquisitionPlansForKnowledgeGaps, adversarialJudge, agentProfileCellHashMaterial, agentProfileCellKey, agentProfileHash, agentProfileId, agentProfileModelId, agentVisibleFields, aggregateJudgeVerdicts, aggregateLlm, aggregatePrReviewScore, aggregateRunScore, allCriticalPassed, analyzeAntiSlop, analyzeSeries, analyzeSupervisorRun, analyzeSupervisorRunSources, analyzeTraces, appendScorecard, applyLlmSpanOtlpAttributes, applyToolSpanOtlpAttributes, argHash, asNumber, asString, assertCapabilityHeadroom, assertCrossFamily, assertLlmRoute, assertModelsServed, assertNoHiddenLeak, assertProductBenchmarkRun, assertRealAgentReceipts, assertRealBackend, assertReleaseConfidence, assertRolloutLine, assertRunAgentProfileCell, assertRunCaptured, assertSingleBackend, assignFeedbackSplit, assignHeldOutTag, attachCostToReport, attest, attributeCounterfactuals, backoffMs, deterministicSplit as benchmarkDeterministicSplit, index$1 as benchmarks, benjaminiHochberg, bisect, blendHeldout, blockingKnowledgeEval, bonferroni, bootstrapCi, buildAgentInterfaceProfileCell, buildAgentProfileCell, buildDefaultAnalystRegistry, buildDriverSystemPrompt, buildProductBenchmarkManifest, buildReflectionPrompt, buildReviewerPrompt, buildTraceAnalystTools, buildTraceInsightContext, buildTraceInsightPrompt, buildTrajectory, buildWorkerDriverSystemPrompt, byteLengthRange, cachedJudge, calibrateJudge, calibrateJudgeContinuous, callLlm, callLlmJson, canaryLeakView, canonicalJson, canonicalize, capabilityHeadroom, captureFetchToRawSink, causalAttribution, checkBehavioralCanary, checkCanaries, checkSlos, checkTraceContracts, clamp01, classifyFailure, classifyTreatment, claudeCodeSupervisorRunReader, cliffsDelta, clusteredPairedBinary, codeExecutionJudge, cohensD, coherenceJudge, collectionPreserved, commentsForSource, commitBisect, comparePairedArms, compareReferenceReplay, compareToBaseline, compilerJudge, completionVerdict, composeParsers, composeValidators, computeExperimentStats, computeFindingId, computeToolUseMetrics, computeTraceMetrics, confidenceInterval, containsAll, contentHash, contextInputTokens, continuousAgreement, contractJudge, controlFailureClassFromVerification, controlRunToFeedbackTrajectory, controlRunToRunRecord, convertTraceStoresToOtlp, corpusInterRaterAgreement, corpusInterRaterAgreementFromJudgeScores, costForTokenPricing, costForUsage, costReceiptFromLlm, costReceiptFromLlmError, costReport, createAnalystAi, createAntiSlopJudge, createChatClient, createCustomJudge, createDefaultReviewer, createDomainExpertJudge, createFeedbackTrajectory, createIntentMatchJudge, createLlmCorrectnessChecker, createLlmReviewer, createOtelExporter, createOtelTracingStore, createReferenceEquivalenceJudge, createReplayFetch, createSandboxPool, createSemanticConceptJudge, createTokenRecallChecker, createTraceAnalystKind, crossTraceDiff, crowdingDistance, dataDescriptionBits, decideNextUserTurn, decideReferenceReplayPromotion, decideReferenceReplayRunPromotion, defaultBlendWeights, defaultIsMaterial, defaultJudges, defaultProviderRedactor, defaultReferenceReplayMatcher, defaultTraceInsightPanel, deployGateLayer, describeTraceInsightScope, diffFindings, diffScorecard, discoverPersonas, distillPlaybook, domainEvidencePattern, dominates, eProcess, ensembleJudge, errorStreakDetector, estimateCost, estimateTokens, evaluateActionPolicy, evaluateContract, evaluateHypothesis, evaluateInterimReleaseConfidence, evaluateOracles, evaluateReleaseConfidence, evaluateTraceContract, executeScenario, expandProfileAxes, expectAgent, exportProductBenchmark, exportProductBenchmarkRuns, exportRewardModel, exportRunAsOtlp, extractAssetUrls, extractErrorCount, extractOtlpAttributes, extractProducedState, extractUsage, extractUsageFromResponse, extractUsageFromSse, feedbackTrajectoriesToDatasetScenarios, feedbackTrajectoriesToOptimizerRows, feedbackTrajectoryToDatasetScenario, feedbackTrajectoryToOptimizerRow, fileContains, fileExists, fileExperimentStore, fileVerdictCache, findAutoMatchNoExpectation, findConstructorCwdDropped, findFallbackToPass, findLiteralTruePass, findProductBenchmarkArtifacts, findSkipCountsAsPass, firstNumberAttr, firstStringAttr, flattenOtlpExportToNdjson, flowLayer, fnv1a32, formatBenchmarkReport, formatDriverReport, formatFindings, formatScorecardDiff, gainHistogram, gateTreatmentApplied, gateTreatmentFromMetrics, gateTreatmentFromSpans, gateTreatmentFromToolSpans, ghCliClient, gitProvenanceReader, precision as goldenPrecision, gradeOnHidden, gradeSemanticStatus, groupBy, groupRunsByAgentProfileCell, harnessAxisOf, hasCapturedToolArgs, hashContent, hashJson, hashScenarios, hashToUnit, hiddenGrade, holm, htmlContainsElement, httpGithubClient, improvementVerdict, inMemoryExperimentStore, inMemoryReferenceReplayStore, inMemoryReviewStore, inMemoryRunRecordBackend, inMemoryVerdictCache, inferDomainKeywords, inferOtlpKind, interRaterReliability, interpretCliffs, iqr, isHiddenDestination, isJudgeSpan, isLlmSpan, isModelPriced, isOtelConfigured, isRetrievalSpan, isRolloutLine, isRunRecord, isSandboxSpan, isToolSpan, isTrainableSplit, isTransientLlmError, isUnavailable, iterateRawCalls, jestTestParser, jsonHasKeys, jsonShape, jsonlReferenceReplayStore, jsonlReviewStore, jsonlRunRecordBackend, judgeFamily, judgeReplayGate, judgeSpans, keyPreserved, knowledgeReadinessTracePayload, leaderboard, linterJudge, llmJudge, llmSpanFromProvider, llmSpans, loadScorecard, loadScorerFromGrader, localCommandRunner, lowercaseMutator, makeEvalTools, makeFinding, mannWhitneyU, mapConcurrent, matchGoldens, matchSpan, maximumChargeForLlmRequest, mcnemar, mcnemarPower, mcnemarRequiredN, mergeLayerResults, mergeSteeringBundle, mintRolloutRows, modelDescriptionBits, modelHasSnapshot, modelPriceKey, mulberry32, multiToolchainLayer, noProgressDetector, normalizeScores, notBlocked, objectiveEval, observeAll, otelRunCompleteHook, otlpRowsToRunRecords, otlpRowsToTraceRunRecords, otlpToRunRecords, otlpToTraceRunRecords, pairArms, pairedBootstrap, pairedEvalueSequence, pairedMde, pairedRiskDifference, pairedSignTest, pairedTTest, paraphraseRobustness, paraphraseRobustnessScenarios, paretoChart, paretoFrontier, paretoFrontierWithCrowding, parseCorrectnessResponse, parseFeedbackTrajectoriesJsonl, parseReflectionResponse, parseRunRecordSafe, parseRuntimeTrajectoryHookEvent, partialCredit, partitionHeldOut, passAtK, passOrthogonality, pearsonR, pixelDeltaRatio, planTraceInsightQuestions, politenessPrefixMutator, positionalBias, preflightModels, printDriverSummary, probeLlm, productBenchmarkIntegrityFailures, productBenchmarkMutableSurfaces, productBenchmarkRepoIdentity, productBenchmarkSplits, index as profile, projectOtlpFlatLine, projectRuntimeTrajectoryEvidence, promptBisect, proposeSynthesisTargets, providerFromBaseUrl, pytestTestParser, ranks, readClaudeCodeSupervisorRun, readOtlpStatus, readProductBenchmarkManifest, readProductBenchmarkRecords, recordRuns, recordRunsToScorecard, redTeamDataset, redTeamReport, redactString, redactValue, referenceReplayRunsToSteeringRows, referenceReplayScenarioToRunScore, regexMatch, regexMatches, renderMarkdownReport, renderPlaybookMarkdown, renderPreferenceMemoryMarkdown, renderPriorFindings, renderReleaseReport, renderSteeringText, renderSupervisorRunHeadline, renderSupervisorRunMarkdown, renderUpstreamFindings, repeatedActionDetector, replayFeedbackTrajectories, replayFeedbackTrajectory, replayScorerOverCorpus, replayTraceThroughJudge, requireAgentProfileCell, requiredSampleSize, researchReport, resolveModelPricing, resolveRunCostProvenance, resolveSeat, rolloutReward, rollupSupervisorRuns, roundTripRunRecord, routeFields, rowCount, rowWhere, runAgentControlLoop, runAssertions, runBehavioralCanaries, runCanaries, runCounterfactual, runE2EWorkflow, runEvalCampaign, runExpectations, runFailureClass, runHarnessExperiment, runIntentMatchJudge, runJudgeFleet, runKeywordCoverageJudge, runKeywordCoverageJudgeUrl, runLiveProof, runProposeReview, runProposeReviewAsControlLoop, runRecordToProductBenchmarkRecord, runReferenceEquivalenceJudge, runReferenceReplay, runScore, runSelfPlay, runSemanticConceptJudge, runTestGradedScenario, runsForScenario, scalarScore, scanForMuffledGates, scoreContinuity, scoreFromEvals, scoreKnowledgeReadiness, scorePrReviewComments, scorePrReviewSource, scoreRedTeamOutput, scoreReferenceReplay, scoreTraceInsightReadiness, seatPresets, securityJudge, selectHarnessVariant, selfPreference, sentenceReorderMutator, serializeFeedbackTrajectoriesJsonl, showMeasured, signManifest, spearmanR, statusAdvanced, stopOnNoProgress, stopOnRepeatedAction, stringField, stripFencedJson, subjectiveEval, summarizeAgentReceiptIntegrity, summarizeBackendIntegrity, summarizeHarnessResults, summarizePrReviewBenchmark, summarizePreferenceMemory, summaryTable, supervisorRunRolloutLines, testJudge, textInSnapshot, throwIfRunIncomplete, toAgentProfileJson, toJsonl, toLangfuseEnvelope, toOpenAiTool, toPrometheusText, toRewardRows, toSftRows, tokenizeDomainWords, toolNamesForRun, toolSpans, traceAnalystFunctionGroup, traceAnalystOnRunComplete, traceContract, traceJudge, traceJudgeEnsemble, traceSpanKindToOpenInferenceKind, tracedAnalyzeTraces, typoMutator, urlContains, userQuestionsForKnowledgeGaps, validateAgentProfileCell, validateProductBenchmarkManifest, validateProductBenchmarkRecord, validateProductBenchmarkRun, validateRolloutLine, validateRunRecord, verbosityBias, verifyAgentProfileCell, verifyAttestation, verifyCompletion, verifyManifest, visualDiff, viteDeployRunner, vitestTestParser, weightedComposite, weightedMean, weightedRecall, welchsTTest, whitespaceCollapseMutator, wilcoxonSignedRank, wilson, withAssignedFeedbackSplit, withHeldoutBlend, withJudgeRetry, withOtelPipeline, wranglerDeployRunner, writeSupervisorRunReport };
|
|
17177
|
+
export { AGENT_PROFILE_KINDS, ATTESTATION_ALGORITHM, type ActionExecutionPolicy, type ActionPolicyDecision, type ActionableSideInfo, type ActiveLearningOptions, type AdapterRun, AgentDriver, type AgentDriverConfig, AgentEvalError, type AgentEvalErrorCode, type AgentInterfaceProfileLike, type AgentProfileCell, type AgentProfileCellInput, type AgentProfileCellSchemaVersion, AgentProfileCellValidationError, type AgentProfileDimensionValue, type AgentProfileHarness, type AgentProfileJson, type AgentProfileJsonObject, type AgentProfileKind, type AgentProfileRuntimeReceipt, type AgentProfileSource, type AgentProfileSourceInput, type AlignmentOp, type Analyst, type AnalystContext, type AnalystCost, type AnalystFinding, type AnalystHooks, type AnalystInputKind, AnalystRegistry, type AnalystRegistryOptions, type AnalystRequirements, type AnalystRunEvent, type AnalystRunInputs, type AnalystRunResult, type AnalystRunSummary, type AnalystSeverity, type AnalystUsageReceipt, type AnalyzeTracesInput, type AnalyzeTracesOptions, type AnalyzeTracesResult, type AnalyzeTracesTurnSnapshot, type AntiSlopConfig, type AntiSlopIssue, type AntiSlopReport, type Artifact$1 as Artifact, type ArtifactCheck, type Artifact as ArtifactCheckArtifact, type ArtifactEventLike, type ArtifactResult, type ArtifactValidator, type AsiSeverity, type AssertCapabilityHeadroomOptions, type AssertCrossFamilyOptions, type AssertSingleBackendOptions, type AttestationProvenance, type AttestationVerification, type AttestedReport, type AutoPrClient, AxGepaSteeringOptimizer, type AxSteeringOptimizerConfig, BENCHMARK_SPLIT_SEED, type BackendDescriptor, BackendIntegrityError, type BackendIntegrityReport, type BaselineOptions, type BaselineReport, BehaviorAssertion, type BehavioralMetrics, type BehavioralTokenSequence, type BenchmarkAdapter, type BenchmarkDatasetItem, type BenchmarkEvaluation, type BenchmarkFamily, type BenchmarkReport$1 as BenchmarkReport, type BenchmarkResponder, BenchmarkRunner, type BenchmarkRunnerConfig, type BenchmarkScenario, type BenchmarkSource, type BenchmarkTaskKind, type BisectOptions, type BisectResult, type BisectStep, type BlendWeights, type BootstrapOptions, type BootstrapResult, BudgetBreachError, BudgetGuard, type BudgetLedgerEntry, type BudgetPolicy, type BudgetSpec, CODING_HARNESSES, type CachedJudge, type CachedJudgeOptions, type CalibrationResult, CallExpectation, CallbackResearcher, type CallbackResearcherOptions, type CampaignFactoryParams, type CampaignIntegrityPolicy, type CampaignRunContext, type CampaignRunOutcome, type CampaignRunner, type CampaignScenario, type CampaignVariant, type CanaryAlert, type CanaryEvaluation, type CanaryKind, type CanaryLeak, type CanaryOptions, type CanaryReport, type CanarySeverity, type CandidateComparison, type CandidateScenario, type CandidateScore, type CanonicalRawAnalystFinding, type CapabilityHeadroomOptions, type CapabilityHeadroomResult, type CaptureFetchContext, type CaptureFetchOptions, CaptureIntegrityError, type CausalAttributionReport, type CellVerdict, type ChannelRollup, type ChatCallOpts, type ChatClient, type ChatMessage, type ChatRequest, type ChatResponse, type ChatToolCall, type ChatTransport, type CheckResult, type CliBridgeTransportOpts, type CliffsMagnitude, type ClusterBootstrapInterval, type ClusterSignFlipAlternative, type ClusterSignFlipResult, type ClusteredBinaryCluster, type ClusteredMatchedPair, type ClusteredPairedBinaryOptions, type ClusteredPairedBinaryResult, type ClusteredPairedBinaryStatistics, type CollectedArtifacts, type CommandRunner, type ComparePairedArmsOptions, type CompletionCriterion, type CompletionRequirement, type CompletionVerdict, type ConceptComplexity, type ConceptFinding, type ConceptSpec, type ConceptWeightStrategy, ConfigError, type ContinuityCheck, type ContinuityCheckResult, type ContinuityReport, type ContinuitySnapshotPair, type ContinuousAgreement, type ContinuousAgreementOptions, type ContinuousCalibrationResult, type ContractCheckResult, type ContractJudgeOptions, type ContractMetric, type ContractReport, type ContractRule, type ContractRuleKind, type ContractSpan, type ContractVerdict, type ContractViolation, type ControlActionFailureMode, type ControlActionOutcome, type ControlBudget, type ControlContext, type ControlDecision, type ControlEvalResult, type ControlRunResult, type ControlRunToRunRecordOptions, type ControlRuntimeConfig, type ControlRuntimeError, type ControlSeverity, type ControlStep, type ControlStopPolicies, ConvergenceTracker, type CorpusAgreementOptions, type CorpusAgreementPerDimension, type CorpusAgreementReport, type CorpusScoreRecord, type CorrectnessChecker, CostAccountingIncompleteError, CostCallConflictError, CostCeilingReachedError, type CostChannel, type CostEntry, CostLedger, type CostLedgerEntry, type CostLedgerFilter, type CostLedgerHandle, type CostLedgerOptions, type CostLedgerPersistence, CostLedgerPersistenceError, type CostLedgerSummary, type CostReceipt, CostReceiptCaptureError, type CostReceiptInput, type CostReport, CostReservationExceededError, type CostResult, type CostSummary, CostTracker, type CostUsage, type CounterfactualContext, type CounterfactualMutation, type CounterfactualResult, type CounterfactualRunner, type CreateAnalystAiConfig, type CreateChatClientOpts, type CreateDefaultReviewerOptions, type CreateExperimentInput, type CreateSandboxPoolOpts, type CreateTraceAnalystKindOpts, CrossFamilyError, type CrossTraceDiff, type CrossTraceDiffOptions, type CustomTokenPricing, DEFAULT_AGENT_SLOS, DEFAULT_COMPLEXITY_WEIGHTS, DEFAULT_RULES as DEFAULT_FAILURE_RULES, DEFAULT_FINDERS, DEFAULT_HARNESS_OBJECTIVES, DEFAULT_MUTATION_PRIMITIVES, DEFAULT_MUTATORS, DEFAULT_PR_REVIEW_SCORE_WEIGHTS, DEFAULT_REDACTION_RULES, DEFAULT_RED_TEAM_CORPUS, DEFAULT_RUN_SCORE_WEIGHTS, DEFAULT_SEVERITY_WEIGHTS, DEFAULT_TRACE_ANALYST_BUDGETS, DEFAULT_TRACE_ANALYST_KINDS, type DataAcquisitionPlan, Dataset, type DatasetDifficulty, type DatasetManifest, type DatasetOverview, type DatasetProvenance, type DatasetScenario, type DatasetSplit, type DecideNextUserTurnOpts, type DefaultAnalystRegistryOptions, type DefaultVerdict, type DeployFamily, type DeployGateLayerInput, type DeployRunResult, type DeployRunner, type DescriptionLengthCandidate, type DescriptionLengthConfig, type DescriptionLengthDecision, type DescriptionLengthEvidence, DescriptionLengthGate, type DescriptionLengthRejectionCode, type DetectorEvent, type DetectorSeverity, type DetectorSignal, type DiffPolicy, type DiffScorecardOptions, type DirEntry, type DirectProviderTransportOpts, type Direction, type DiscoverPersonasOptions, type DiscoveredPersona, DockerSandboxDriver, type DriverResult, type DriverState, DualAgentBench, type DualAgentBenchConfig, type DualAgentReport, type DualAgentRound, type DualAgentScenario, type DualAgentScenarioResult, type EProcess, type EProcessOptions, type EProcessState, type EProcessStep, ERROR_COUNT_PATTERNS, type EnsembleAggregate, type EnsembleJudgeOptions, type ErrorCluster, type ErrorCountPattern, type ErrorStreakOptions, type EvalCampaignOptions, type EvalCampaignResult, type EvalResult, type EvalToolDef, EvalTraceStore, type EventFilter, type EventKind, type EvidenceRef, type EvolutionRound, type ExecutorConfig, type Expectation, type Experiment, type ExperimentPlan, type ExperimentProvenance, type ExperimentRep, type ExperimentResult, type ExperimentStats, type ExperimentStore, ExperimentTracker, type ExperimentTrackerOptions, type ExperimentVerdict, type ExportableSpan, type ExportedRewardModel, type ExtractOptions, type ExtractResult, type ExtractUsageFromSseOptions, type ExtractedUsage, FAILURE_CLASSES, FAILURE_MODE_KIND_SPEC, type FactorContribution, type FactorialCell, type FailedRun, type FailureClass, type FailureClassification, type FailureContext, type FailureMode, type FailureRule, type FeedbackArtifactType, type FeedbackAttempt, type FeedbackLabel, type FeedbackLabelKind, type FeedbackLabelSource, type FeedbackOptimizerRow, type FeedbackOutcome, type FeedbackPattern, type FeedbackReplayAdapter, type FeedbackReplayResult, type FeedbackSeverity, type FeedbackSplitPolicy, type FeedbackTask, type FeedbackTrajectory, type FeedbackTrajectoryFilter, type FeedbackTrajectoryStore, type FieldDestination, type FileChange, FileSystemFeedbackTrajectoryStore, FileSystemRawProviderSink, type FileSystemRawProviderSinkOptions, FileSystemTraceStore, type FileSystemTraceStoreOptions, type Finding, type FindingSubject, type FindingSubjectKind, type FindingsDiff, FindingsStore, type FlattenOtlpOptions, type FlowAction, type FlowLayerEnv, type FlowLayerFactoryInput, type FlowRunner, type FlowRunnerStepResult, type FlowSpec, type FlowStep, type GainDistributionBin, type GainDistributionFigureSpec, type GainDistributionOptions, type GateDecision$1 as GateDecision, type GateEvidence, type GenericSpan, type GhCliClientOptions, type GoldenItem, type GoldenSeverity, type GoldenSpec, HARNESS_NATIVE_MODEL, type HarnessAdapter, type HarnessConfig, type HarnessExperimentConfig, type HarnessExperimentResult, type HarnessIntervention, type HarnessRunRequest, type HarnessRunResult, type HarnessScenario, type HarnessSelection, type HarnessVariant, type HarnessVariantReport, type HeadroomClass, type HeadroomInput, HeldOutGate, type HeldOutGateConfig, type HeldOutGateRejectionCode, type HeldOutPartition, type HiddenCriteriaGrader, type HiddenGradeResult, type HiddenLeak, HoldoutAuditor, HoldoutLockedError, type HttpGithubClientOptions, type HypothesisManifest, type HypothesisResult, IMPROVEMENT_KIND_SPEC, INPUT_VALUE, INTENT_MATCH_JUDGE_VERSION, type ImageData, type ImprovementThresholds, type ImprovementVerdictResult, InMemoryFeedbackTrajectoryStore, InMemoryRawProviderSink, type InMemoryRawProviderSinkOptions, InMemoryTraceStore, InMemoryWorkspaceInspector, type InferenceScorer, type InspectorContext, type IntentMatchInput, type IntentMatchOptions, type IntentMatchResult, type InteractionContribution, type InterimReleaseConfidence, type InterimReleaseConfidenceInput, type JudgeConfig$1 as JudgeConfig, JudgeError, type JudgeFamily, type JudgeFleetOptions, type JudgeFn, type JudgeInput, JudgeParseError, type JudgeReplayGateArgs, type JudgeReplayResult, type JudgeRetryOutcome, type JudgeRetryPolicy, type JudgeRubric, JudgeRunner, type JudgeScore$1 as JudgeScore, type JudgeScoreInput, type JudgeScoresRecord, type JudgeSpan, type JudgeVerdict, KNOWLEDGE_GAP_KIND_SPEC, KNOWLEDGE_POISONING_KIND_SPEC, type KeywordConceptSpec, type KeywordCoverageFinding, type KeywordCoverageOptions, type KeywordCoverageResult, type KnowledgeAcquisitionMode, type KnowledgeBundle, type KnowledgeFallbackPolicy, type KnowledgeFreshness, type KnowledgeImportance, type KnowledgeReadinessReport, type KnowledgeRecommendedAction, type KnowledgeRequirement, type KnowledgeRequirementCategory, type KnowledgeResponsibleSurface, type KnowledgeSensitivity, LLM_CACHED_TOKENS, LLM_CACHED_TOKEN_ATTR_KEYS, LLM_CACHE_WRITE_TOKENS, LLM_CACHE_WRITE_TOKEN_ATTR_KEYS, LLM_CONTEXT_TOKENS, LLM_COST_ATTR_KEYS, LLM_COST_USD, LLM_INPUT_TOKENS, LLM_INPUT_TOKEN_ATTR_KEYS, LLM_MODEL_ATTR_KEYS, LLM_MODEL_NAME, LLM_OUTPUT_TOKENS, LLM_OUTPUT_TOKEN_ATTR_KEYS, LLM_REASONING_TOKENS, LLM_REASONING_TOKEN_ATTR_KEYS, type LangfuseEnvelope, type LangfuseGeneration, type LangfuseScore, type Layer, type LayerResult, type LayerStatus, type LeaderboardOptions, type LeaderboardRow, type LiveProofArtifact, type LiveProofConfig, type LiveProofContext, type LiveProofResult, LlmCallError, type LlmCallMetadata, type LlmCallRequest, type LlmCallResult, LlmClient, type LlmClientOptions, type LlmCorrectnessCheckerOpts, type LlmJsonCall, type LlmJudgeDimension, type LlmJudgeOptions, type LlmMessage, LlmResponseError, type LlmReviewerConfig, LlmRouteAssertionError, type LlmRouteRequirements, type LlmSpan, type LlmSpanOtlpInput, type LlmUsage, LockedJsonlAppender, MODEL_PRICING, type MakeEvalToolsConfig, type MatchResult, type MatchedPair, type MatchedRunRecordPair, type MatcherResult, type MaximumCharge, type McNemarResult, type Measured, type MeasurementPolicy, type MergeOptions, type Message, type MetricSamples, type MetricVerdict, MetricsCollector, type MintRolloutOptions, type MintRolloutResult, type MockTransportOpts, type ModelCostRollup, type ModelPreflight, type ModelSeats, ModelsUnreachableError, type MuffledFinder, type MuffledFinding, MultiLayerVerifier, type MultiToolchainLayerConfig, type Mutator, Mutex, type NoLeakOptions, type NoProgressOptions, NoopRawProviderSink, NoopResearcher, NotFoundError, OPENINFERENCE_SPAN_KIND, OTEL_AGENT_EVAL_SCOPE, OUTPUT_VALUE, type Objective, type Oracle, type OracleObservation, type OracleReport, type OracleResult, type OrthogonalityInput, type OrthogonalityResult, type OtelExportConfig, type OtelExporter, type OtelPipelineHandle, type OtelPipelineOptions, type OtlpExport, OtlpFileTraceStore, type OtlpFileTraceStoreOptions, type OtlpFlatLine, type OtlpResourceSpans, type OtlpSpan, type OtlpSpanRole, type OtlpSpanRoleInput, type OtlpToRunRecordsOptions, type OtlpTraceRunRecord, type PaidCallResult, type PairArmsOptions, type PairArmsResult, type PairRunRecordsResult, type PairedArmRow, type PairedArmsComparison, type PairedBootstrapOptions, type PairedBootstrapResult, type PairedCorrectness, type PairedEvalueOptions, type PairedEvalueSequence, type PairedEvalueStep, type PairedMetricDelta, type PairedSignTestResult, PairwiseSteeringOptimizer, type ParaphraseRobustnessScenarioInput, type ParaphraseRobustnessScenarioResult, type ParetoFigureSpec, type ParetoPoint, type ParetoResult, type PartitionHeldOutOptions, type PendingCostCall, type PendingCostCallView, type PersistedFinding, type PersonaConfig, type PersonaRigor, type Playbook, type PlaybookEntry, type PoolSlot, type PositionalBiasResult, type PrReviewAuditCase, type PrReviewBenchmarkSummary, type PrReviewComment, type PrReviewMatchedFinding, type PrReviewOutcome, type PrReviewReferenceFinding, type PrReviewScore, type PrReviewScoreWeights, type PrReviewSeverity, type PrReviewSource, type PreferenceMemoryEntry, type PreflightModelsOptions, type PreflightOutcome, type ProducedProposal, type ProducedState, type ProductBenchmarkArm, type ProductBenchmarkArtifactPaths, type ProductBenchmarkBudgets, type ProductBenchmarkExportOptions, type ProductBenchmarkExportResult, type ProductBenchmarkManifest, type ProductBenchmarkProfileRef, type ProductBenchmarkRecord, type ProductBenchmarkRepoRef, type ProductBenchmarkRunInput, type ProductBenchmarkScenario, type ProductBenchmarkSingleRunExportOptions, type ProductBenchmarkSplit, type ProductBenchmarkSubstrateVersions, type ProductBenchmarkValidationReport, ProductClient, type ProductClientConfig, type ProfileAxisSpec, type ProjectRuntimeTrajectoryEvidenceOptions, type ProjectedOtlpSpan, type PromptHandle, PromptRegistry, type ProportionInterval, type ProposalEventLike, type ProposeAutomatedPullRequestInput, type ProposeAutomatedPullRequestResult, type ProposeFn, type ProposeInput, type ProposeOutput, type ProposeReviewConfig, type ProposeReviewControlAction, type ProposeReviewControlConfig, type ProposeReviewControlResult, type ProposeReviewControlState, type ProposeReviewReport, type ProposeReviewShot, type ProposedSideEffect, type ProvenanceReader, type ProviderRedactor, type QueryTracesPage, REDACTION_VERSION, REFERENCE_EQUIVALENCE_INPUT_LIMITS, REFERENCE_EQUIVALENCE_JUDGE_VERSION, RESEARCH_REPORT_HARD_PAIR_FLOOR, ROLLOUT_SCHEMA, RUN_COST_ATTR_KEYS, type RawAnalystEvidence, type RawAnalystFinding, type RawProviderDirection, type RawProviderEvent, type RawProviderSink, type RawProviderSinkFilter, type RecordRunsOptions, type RedTeamCase, type RedTeamCategory, type RedTeamFinding, type RedTeamPayload, type RedTeamReport, type RedactionReport, type RedactionRule, type ReferenceEquivalenceJudgeInput, type ReferenceEquivalenceJudgeOptions, type ReferenceEquivalenceJudgeResult, type ReferenceEquivalenceScenario, type ReferenceMatchResult, type ReferenceReplayAdapter, type ReferenceReplayAdapterFn, type ReferenceReplayAdapterLike, type ReferenceReplayAggregate, type ReferenceReplayCandidate, type ReferenceReplayCase, type ReferenceReplayCaseRun, type ReferenceReplayExecutionScenario, type ReferenceReplayItem, type ReferenceReplayMatch, type ReferenceReplayMatchStrategy, type ReferenceReplayMatcher, type ReferenceReplayPromotionDecision, type ReferenceReplayPromotionPolicy, type ReferenceReplayRun, type ReferenceReplayRunContext, type ReferenceReplayRunOptions, type ReferenceReplayRunStore, type ReferenceReplayScenario, type ReferenceReplayScenarioScore, type ReferenceReplayScore, type ReferenceReplayScoreOptions, type ReferenceReplaySplit, type ReferenceReplaySplitComparison, type ReferenceReplaySteeringRowsOptions, type ReflectionContext, type ReflectionProposal, type RegistryRunOpts, type ReleaseConfidenceAxis, type ReleaseConfidenceAxisName, type ReleaseConfidenceInput, type ReleaseConfidenceIssue, type ReleaseConfidenceMetrics, type ReleaseConfidenceScorecard, type ReleaseConfidenceStatus, type ReleaseConfidenceThresholds, type ReleaseTraceEvidence, type RenderReleaseReportOptions, type RepeatedActionOptions, ReplayCache, type ReplayCacheEntry, ReplayCacheMissError, type ReplayCacheStats, ReplayError, type ReplayFetchOptions, type RepoRef, type RequirementCheck, type ResearchReport, type ResearchReportCandidate, type ResearchReportDecision, type ResearchReportMethodology, type ResearchReportOptions, type ResearchReportRecommendation, type Researcher, type RetrievalSpan, type Review, type ReviewFn, type ReviewInput, type ReviewMemoryEntry, type ReviewMemoryStore, type ReviewerMemoryEntry, type ReviewerOutput, type ReviewerPromptInput, type ReviewerSoftFailDefaults, type ReviewerVerificationSummary, type RewardRow, type RiskDifferenceResult, type RobustnessResult, type RolloutCapture, type RolloutLine, type RolloutRole, type RolloutScrubber, type RolloutSplit, type RolloutStep, type RouteMap, type RoutedField, type RouterTransportOpts, type RubricDimension, type Run, type RunCommandInput, type RunCommandResult, type RunCompleteHook, type RunCompleteHookContext, type RunCostProvenance, RunCritic, type RunCriticOptions, type RunEvidenceMetadata, type RunFilter, RunIntegrityError, type RunIntegrityExpectations, type RunIntegrityIssue, type RunIntegrityIssueCode, type RunIntegrityReport, type RunJudgeMetadata, type RunLayer, type RunOutcome, type RunPaidCallInput, type RunRecord, type RunRecordBackend, type RunRecordFilter, RunRecordValidationError, type RunScore, type RunScoreWeights, type RunSplitTag, type RunStatus, type RunTerminalOutcome, type RunTokenUsage, type RunTrace, type RuntimeEventLike, type RuntimeResolution, type RuntimeTrajectoryEvidenceProjection, type RuntimeTrajectoryEvidenceSummary, type RuntimeTrajectoryHookEvent, type RuntimeTrajectoryRecord, type RuntimeTrajectoryRunRecord, SEMANTIC_CONCEPT_JUDGE_VERSION, SKILL_USAGE_ANALYST, SPAN_KIND_ATTR_KEYS, SUPERVISOR_RUN_SCHEMA, type SandboxDriver, SandboxHarness, type SandboxHarnessResult, type SandboxJudgeKind, type SandboxJudgeResult, type SandboxJudgeSpec, type SandboxPool, type SandboxResult, type SandboxSdkTransportOpts, type SandboxSpan, type SatisfiedBy, type ScanOptions, type Scenario$1 as Scenario, type ScenarioCost, type ScenarioFile, ScenarioRegistry, type ScenarioResult, type ScoreKnowledgeReadinessOptions, type Scorecard, type ScorecardCell, type ScorecardCellDiff, type ScorecardDiff, type ScorecardEntry, type ScorecardLogLine, type ScoredTarget, type SearchSpanResult, type SearchTraceResult, type SeatName, type SeatPresetName, SeatUnsetError, type SelfPlayOptions, type SelfPlayProposer, type SelfPlayScorer, type SelfPreferenceResult, type SemanticConceptJudgeInput, type SemanticConceptJudgeOptions, type SemanticConceptJudgeResult, type SequentialDecision, type SerializedRegex, type SeriesConvergenceOptions, type SeriesConvergenceResult, type Severity, type SftExportOptions, type SftRow, type SignTestAlternative, type SignedManifest, type SignedManifestAlgo, type SingleBackendDivergence, SingleBackendError, type SingleBackendField, type SingleBackendReport, SkillUsageAnalyst, type SliceOptions, type Slo, type SloCheckResult, type SloComparator, type SloReport, type SloSeverity, type SlopCategory, type SlotFactory, type SourceLimits, type Span, type SpanBase, type SpanFilter, type SpanHandle, type SpanKind, type SpanMatchRecord, SpanNotFoundError, type SpanPredicate, type SpanStatus, type SseUsageMode, type SteeringBundle, type SteeringChange, type SteeringDelta, type SteeringOptimizationResult, type SteeringOptimizationRow, type SteeringOptimizationSelector, type SteeringOptimizerBackend, type SteeringOptimizerConfig, type SteeringRolePrompt, type StepAttribution, type StopDecision, type StreamingDetector, type SuboptimalCode, type SuboptimalSignal, SubprocessSandboxDriver, type SubprocessSandboxDriverOptions, type SummaryTable, type SummaryTableOptions, type SummaryTableRow, type SupervisorRunReader, type SupervisorRunReport, type SupervisorRunRollup, type SupervisorRunSources, type SupervisorRunTree, type SynthesisReason, type SynthesisTarget, TOOL_ARGS_CAPTURED, TOOL_LATENCY_MS, TOOL_NAME, TOOL_NAME_ATTR_KEYS, TRACE_ANALYST_ACTOR_DESCRIPTION, TRACE_ANALYST_ACTOR_DESCRIPTION_VERSION, TRACE_ANALYST_TRUNCATION_MARKER_PREFIX, TRACE_SCHEMA_VERSION, type TaskGold, type TaskHeadroom, type TestGradedRunOptions, type TestGradedRunResult, type TestGradedScenario, type TestOutputParser, type TestResult, type TextMatcher, type ThresholdContract, TokenCounter, type TokenSpec, type ToolCallEventLike, type ToolDef, type ToolMatcher, type ToolSpan, type ToolSpanOtlpInput, type ToolStats, type ToolUseMetrics, type ToolUseOptions, type TraceAggregate, type TraceAnalysisStore, type TraceAnalystByteBudgets, type TraceAnalystFilters, type TraceAnalystGolden, type TraceAnalystHookOptions, type TraceAnalystKindSpec, type TraceAnalystSpan, type TraceAnalystSpanKind, type TraceAnalystSpanStatus, type TraceAnalystTraceSummary, type TraceContract, TraceContractBuilder, TraceEmitter, type TraceEmitterOptions, type TraceEvent, TraceFileMissingError, type TraceInsightContext, type TraceInsightFinding, type TraceInsightPanelRole, type TraceInsightPromptInput, type TraceInsightQualityGate, type TraceInsightQuestion, type TraceInsightReadiness, type TraceInsightSuite, type TraceInsightTask, TraceNotFoundError, type TraceStore, type TraceStoreSource, type TraceStoreToOtlpOptions, type TracedAnalystOptions, type TracedJudgeOptions, type TracesToOtlpResult, type Trajectory, type TrajectoryStep, type TreatmentClass, type TreatmentGate, type TreatmentGateInput, type TreatmentGateOptions, type TrialTrace, type Turn, type TurnMetrics, type TurnResult, UI_FINDING_SEVERITIES, UI_LENSES, UNIVERSAL_FINDERS, type UiFinding, type UiFindingScreenshot, type UiFindingSeverity, type UiLens, type Unavailable, type UserQuestion, type ValidationContext, ValidationError, type ValidationIssue, type ValidationResult, type VerbosityBiasResult, type Verdict, type VerdictCacheStats, type VerdictCacheStore, type Verification, VerificationError, type VerificationReport, type VerifyContext, type VerifyFn, type VerifyOptions, type ViewSpansResult, type ViewTraceOversized, type ViewTraceResult, type VisualDiffOptions, type VisualDiffResult, type ViteDeployRunnerInput, type WeightedCompositeInput, type WeightedCompositeResult, type WorkerDriverContext, type WorkflowTopology, type WorkspaceAssertion, type WorkspaceAssertionResult, type WorkspaceInspector, type WorkspaceSnapshot, type WranglerDeployRunnerInput, acquisitionPlansForKnowledgeGaps, adversarialJudge, agentProfileCellHashMaterial, agentProfileCellKey, agentProfileHash, agentProfileId, agentProfileModelId, agentVisibleFields, aggregateJudgeVerdicts, aggregateLlm, aggregatePrReviewScore, aggregateRunScore, allCriticalPassed, analyzeAntiSlop, analyzeSeries, analyzeSupervisorRun, analyzeSupervisorRunSources, analyzeTraces, appendScorecard, applyLlmSpanOtlpAttributes, applyToolSpanOtlpAttributes, argHash, asNumber, asString, assertCapabilityHeadroom, assertCrossFamily, assertLlmRoute, assertModelsServed, assertNoHiddenLeak, assertProductBenchmarkRun, assertRealAgentReceipts, assertRealBackend, assertReleaseConfidence, assertRolloutLine, assertRunAgentProfileCell, assertRunCaptured, assertSingleBackend, assignFeedbackSplit, assignHeldOutTag, attachCostToReport, attest, attributeCounterfactuals, backoffMs, deterministicSplit as benchmarkDeterministicSplit, index$1 as benchmarks, benjaminiHochberg, bisect, blendHeldout, blockingKnowledgeEval, bonferroni, bootstrapCi, buildAgentInterfaceProfileCell, buildAgentProfileCell, buildDefaultAnalystRegistry, buildDriverSystemPrompt, buildProductBenchmarkManifest, buildReflectionPrompt, buildReviewerPrompt, buildTraceAnalystTools, buildTraceInsightContext, buildTraceInsightPrompt, buildTrajectory, buildWorkerDriverSystemPrompt, byteLengthRange, cachedJudge, calibrateJudge, calibrateJudgeContinuous, callLlm, callLlmJson, canaryLeakView, canonicalJson, canonicalize, capabilityHeadroom, captureFetchToRawSink, causalAttribution, checkBehavioralCanary, checkCanaries, checkSlos, checkTraceContracts, clamp01, classifyFailure, classifyOtlpSpanRole, classifyTreatment, claudeCodeSupervisorRunReader, cliffsDelta, clusteredPairedBinary, codeExecutionJudge, cohensD, coherenceJudge, collectionPreserved, commentsForSource, commitBisect, comparePairedArms, compareReferenceReplay, compareToBaseline, compilerJudge, completionVerdict, composeParsers, composeValidators, computeExperimentStats, computeFindingId, computeToolUseMetrics, computeTraceMetrics, confidenceInterval, containsAll, contentHash, contextInputTokens, continuousAgreement, contractJudge, controlFailureClassFromVerification, controlRunToFeedbackTrajectory, controlRunToRunRecord, convertTraceStoresToOtlp, corpusInterRaterAgreement, corpusInterRaterAgreementFromJudgeScores, costForTokenPricing, costForUsage, costReceiptFromLlm, costReceiptFromLlmError, costReport, createAnalystAi, createAntiSlopJudge, createChatClient, createCustomJudge, createDefaultReviewer, createDomainExpertJudge, createFeedbackTrajectory, createIntentMatchJudge, createLlmCorrectnessChecker, createLlmReviewer, createOtelExporter, createOtelTracingStore, createReferenceEquivalenceJudge, createReplayFetch, createSandboxPool, createSemanticConceptJudge, createTokenRecallChecker, createTraceAnalystKind, crossTraceDiff, crowdingDistance, dataDescriptionBits, decideNextUserTurn, decideReferenceReplayPromotion, decideReferenceReplayRunPromotion, defaultBlendWeights, defaultIsMaterial, defaultJudges, defaultProviderRedactor, defaultReferenceReplayMatcher, defaultTraceInsightPanel, deployGateLayer, describeTraceInsightScope, diffFindings, diffScorecard, discoverPersonas, distillPlaybook, domainEvidencePattern, dominates, eProcess, ensembleJudge, errorStreakDetector, estimateCost, estimateTokens, evaluateActionPolicy, evaluateContract, evaluateHypothesis, evaluateInterimReleaseConfidence, evaluateOracles, evaluateReleaseConfidence, evaluateTraceContract, executeScenario, expandProfileAxes, expectAgent, exportProductBenchmark, exportProductBenchmarkRuns, exportRewardModel, exportRunAsOtlp, extractAssetUrls, extractErrorCount, extractOtlpAttributes, extractProducedState, extractUsage, extractUsageFromResponse, extractUsageFromSse, feedbackTrajectoriesToDatasetScenarios, feedbackTrajectoriesToOptimizerRows, feedbackTrajectoryToDatasetScenario, feedbackTrajectoryToOptimizerRow, fileContains, fileExists, fileExperimentStore, fileVerdictCache, findAutoMatchNoExpectation, findConstructorCwdDropped, findFallbackToPass, findLiteralTruePass, findProductBenchmarkArtifacts, findSkipCountsAsPass, firstNumberAttr, firstStringAttr, flattenOtlpExportToNdjson, flowLayer, fnv1a32, formatBenchmarkReport, formatDriverReport, formatFindings, formatScorecardDiff, gainHistogram, gateTreatmentApplied, gateTreatmentFromMetrics, gateTreatmentFromSpans, gateTreatmentFromToolSpans, ghCliClient, gitProvenanceReader, precision as goldenPrecision, gradeOnHidden, gradeSemanticStatus, groupBy, groupRunsByAgentProfileCell, harnessAxisOf, hasCapturedToolArgs, hashContent, hashJson, hashScenarios, hashToUnit, hiddenGrade, holm, htmlContainsElement, httpGithubClient, improvementVerdict, inMemoryExperimentStore, inMemoryReferenceReplayStore, inMemoryReviewStore, inMemoryRunRecordBackend, inMemoryVerdictCache, inferDomainKeywords, inferOtlpKind, interRaterReliability, interpretCliffs, iqr, isHiddenDestination, isJudgeSpan, isLlmSpan, isModelPriced, isOtelConfigured, isOtlpModelCall, isRetrievalSpan, isRolloutLine, isRunRecord, isSandboxSpan, isToolSpan, isTrainableSplit, isTransientLlmError, isUnavailable, iterateRawCalls, jestTestParser, jsonHasKeys, jsonShape, jsonlReferenceReplayStore, jsonlReviewStore, jsonlRunRecordBackend, judgeFamily, judgeReplayGate, judgeSpans, keyPreserved, knowledgeReadinessTracePayload, leaderboard, linterJudge, llmJudge, llmSpanFromProvider, llmSpans, loadScorecard, loadScorerFromGrader, localCommandRunner, lowercaseMutator, makeEvalTools, makeFinding, mannWhitneyU, mapConcurrent, matchGoldens, matchSpan, maximumChargeForLlmRequest, mcnemar, mcnemarPower, mcnemarRequiredN, mergeLayerResults, mergeSteeringBundle, mintRolloutRows, modelDescriptionBits, modelHasSnapshot, modelPriceKey, mulberry32, multiToolchainLayer, noProgressDetector, normalizeScores, notBlocked, objectiveEval, observeAll, otelRunCompleteHook, otlpRowsToRunRecords, otlpRowsToTraceRunRecords, otlpToRunRecords, otlpToTraceRunRecords, pairArms, pairRunRecords, pairedBootstrap, pairedCohensDz, pairedEvalueSequence, pairedMde, pairedRiskDifference, pairedSignTest, pairedTTest, paraphraseRobustness, paraphraseRobustnessScenarios, paretoChart, paretoFrontier, paretoFrontierWithCrowding, parseCorrectnessResponse, parseFeedbackTrajectoriesJsonl, parseReflectionResponse, parseRunRecordSafe, parseRuntimeTrajectoryHookEvent, partialCredit, partitionHeldOut, passAtK, passOrthogonality, pearsonR, pixelDeltaRatio, planTraceInsightQuestions, politenessPrefixMutator, positionalBias, preflightModels, printDriverSummary, probeLlm, productBenchmarkIntegrityFailures, productBenchmarkMutableSurfaces, productBenchmarkRepoIdentity, productBenchmarkSplits, index as profile, projectOtlpFlatLine, projectRuntimeTrajectoryEvidence, promptBisect, proposeSynthesisTargets, providerFromBaseUrl, pytestTestParser, ranks, readClaudeCodeSupervisorRun, readOtlpStatus, readProductBenchmarkManifest, readProductBenchmarkRecords, recordRuns, recordRunsToScorecard, redTeamDataset, redTeamReport, redactString, redactValue, referenceReplayRunsToSteeringRows, referenceReplayScenarioToRunScore, regexMatch, regexMatches, renderMarkdownReport, renderPlaybookMarkdown, renderPreferenceMemoryMarkdown, renderPriorFindings, renderReleaseReport, renderSteeringText, renderSupervisorRunHeadline, renderSupervisorRunMarkdown, renderUpstreamFindings, repeatedActionDetector, replayFeedbackTrajectories, replayFeedbackTrajectory, replayScorerOverCorpus, replayTraceThroughJudge, requireAgentProfileCell, requiredPairedSampleSize, requiredSampleSize, researchReport, resolveModelPricing, resolveSeat, rolloutReward, rollupSupervisorRuns, roundTripRunRecord, routeFields, rowCount, rowWhere, runAgentControlLoop, runAssertions, runBehavioralCanaries, runCanaries, runCounterfactual, runE2EWorkflow, runEvalCampaign, runExpectations, runFailureClass, runHarnessExperiment, runIntentMatchJudge, runJudgeFleet, runKeywordCoverageJudge, runKeywordCoverageJudgeUrl, runLiveProof, runProposeReview, runProposeReviewAsControlLoop, runRecordToProductBenchmarkRecord, runReferenceEquivalenceJudge, runReferenceReplay, runScore, runSelfPlay, runSemanticConceptJudge, runTaskScore, runTestGradedScenario, runsForScenario, scalarScore, scanForMuffledGates, scoreContinuity, scoreFromEvals, scoreKnowledgeReadiness, scorePrReviewComments, scorePrReviewSource, scoreRedTeamOutput, scoreReferenceReplay, scoreTraceInsightReadiness, seatPresets, securityJudge, selectHarnessVariant, selfPreference, sentenceReorderMutator, serializeFeedbackTrajectoriesJsonl, showMeasured, signManifest, spearmanR, statusAdvanced, stopOnNoProgress, stopOnRepeatedAction, stringField, stripFencedJson, subjectiveEval, summarizeAgentReceiptIntegrity, summarizeBackendIntegrity, summarizeHarnessResults, summarizePrReviewBenchmark, summarizePreferenceMemory, summaryTable, supervisorRunRolloutLines, testJudge, textInSnapshot, throwIfRunIncomplete, toAgentProfileJson, toJsonl, toLangfuseEnvelope, toOpenAiTool, toPrometheusText, toRewardRows, toSftRows, tokenizeDomainWords, toolNamesForRun, toolSpans, traceAnalystFunctionGroup, traceAnalystOnRunComplete, traceContract, traceJudge, traceJudgeEnsemble, traceSpanKindToOpenInferenceKind, tracedAnalyzeTraces, typoMutator, urlContains, userQuestionsForKnowledgeGaps, validateAgentProfileCell, validateProductBenchmarkManifest, validateProductBenchmarkRecord, validateProductBenchmarkRun, validateRolloutLine, validateRunRecord, verbosityBias, verifyAgentProfileCell, verifyAttestation, verifyCompletion, verifyManifest, visualDiff, viteDeployRunner, vitestTestParser, weightedComposite, weightedMean, weightedRecall, welchsTTest, whitespaceCollapseMutator, wilcoxonSignedRank, wilson, withAssignedFeedbackSplit, withHeldoutBlend, withJudgeRetry, withOtelPipeline, wranglerDeployRunner, writeSupervisorRunReport };
|