@tangle-network/agent-eval 0.17.2 → 0.18.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/README.md +24 -16
- package/dist/index.d.ts +271 -75
- package/dist/index.js +393 -16
- package/dist/index.js.map +1 -1
- package/docs/concepts.md +155 -0
- package/docs/control-runtime.md +351 -0
- package/docs/feature-guide.md +213 -0
- package/docs/feedback-trajectories.md +193 -0
- package/docs/multi-shot-optimization.md +122 -0
- package/docs/wire-protocol.md +199 -0
- package/package.json +21 -14
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ console.log(ship.result.passed, ship.result.score)
|
|
|
21
21
|
- You ship a content generator and need quality signal beyond "the LLM said it's good".
|
|
22
22
|
- You want a release gate that fails on regressions you can name, not vibes.
|
|
23
23
|
|
|
24
|
-
If that's you, start with [`docs/concepts.md`](./docs/concepts.md) — 5-minute mental model — then
|
|
24
|
+
If that's you, start with [`docs/concepts.md`](./docs/concepts.md) — 5-minute mental model — then use [`docs/feature-guide.md`](./docs/feature-guide.md) to choose the right primitive.
|
|
25
25
|
|
|
26
26
|
## Quickstart
|
|
27
27
|
|
|
@@ -65,6 +65,7 @@ The recipe for a code-generator eval is in [`SKILL.md` §Minimal working path](.
|
|
|
65
65
|
## Two ways to read this repo
|
|
66
66
|
|
|
67
67
|
- **You're a human onboarding** — read [`docs/concepts.md`](./docs/concepts.md) for the mental model, then [`docs/wire-protocol.md`](./docs/wire-protocol.md) if you'll call from another language, or `SKILL.md` if you'll embed in TS.
|
|
68
|
+
- **You're deciding what to integrate** — read [`docs/feature-guide.md`](./docs/feature-guide.md) for the layman explanation, use cases, feature map, and guardrails.
|
|
68
69
|
- **You're an LLM agent writing integration code** — read `SKILL.md`. Every directive there encodes a shipped bug; skipping one reintroduces the bug class.
|
|
69
70
|
|
|
70
71
|
## What's in the box
|
|
@@ -78,8 +79,10 @@ The recipe for a code-generator eval is in [`SKILL.md` §Minimal working path](.
|
|
|
78
79
|
| `clients/python/` | First-party Python client (`tangle-agent-eval` on PyPI). Version-locked to npm. | clients/python/README.md |
|
|
79
80
|
| `BenchmarkRunner`, `executeScenario`, `ConvergenceTracker` | Multi-turn scenario execution + cross-run tracking. | SKILL.md |
|
|
80
81
|
| `runAgentControlLoop` | Policy-based runtime for agentic tasks: observe typed state, validate, decide, act, repeat with budgets, tracing, and stuck-loop guards. | [control-runtime.md](./docs/control-runtime.md) |
|
|
81
|
-
| `FeedbackTrajectory`, `InMemoryFeedbackTrajectoryStore`, `FileSystemFeedbackTrajectoryStore` |
|
|
82
|
+
| `FeedbackTrajectory`, `InMemoryFeedbackTrajectoryStore`, `FileSystemFeedbackTrajectoryStore` | Human/environment feedback loops: capture approvals, rejections, choices, revisions, metrics, and policy blocks as train/dev/test/holdout examples. | [feedback-trajectories.md](./docs/feedback-trajectories.md) |
|
|
83
|
+
| `evaluateActionPolicy` | Generic action preflight for approval, budget, expected-outcome, and kill-criteria checks. | [feature-guide.md](./docs/feature-guide.md) |
|
|
82
84
|
| `ExperimentTracker`, `PromptOptimizer`, `bisector` | A/B prompts, optimize steering, bisect regressions. | SKILL.md |
|
|
85
|
+
| `runMultiShotOptimization`, `trialTraceFromMultiShotTrial` | GEPA-style optimization for variable-length agent trajectories with ASI, paired seeds, and optional held-out promotion gating. | [multi-shot-optimization.md](./docs/multi-shot-optimization.md) |
|
|
83
86
|
| `runPromptEvolution`, `createCompositeMutator`, `createSandboxPool`, `createSandboxCodeMutator`, `MutationTelemetry`, `LineageRecorder`, `CostLedger`, `JsonlTrialCache` | Prompt + code evolution loops with bounded sandbox pools, durable JSONL telemetry, plateau-detecting composite mutators, crash-resumable trial cache. | §Evolution loop |
|
|
84
87
|
| `reflective-mutation` (`buildReflectionPrompt`, `parseReflectionResponse`, `DEFAULT_MUTATION_PRIMITIVES`) | Trace-conditioned LLM mutator that reasons over top/bottom trials instead of blind rewrites. | inline JSDoc |
|
|
85
88
|
| `correlationStudy`, `OutcomeStore`, `ProductRegistry` | Meta-eval: do our scores predict deployment outcomes (revenue, retention)? | inline JSDoc |
|
|
@@ -87,6 +90,12 @@ The recipe for a code-generator eval is in [`SKILL.md` §Minimal working path](.
|
|
|
87
90
|
|
|
88
91
|
## Evolution loop
|
|
89
92
|
|
|
93
|
+
For agent tasks that run across many chat turns or tool calls, start with
|
|
94
|
+
[`runMultiShotOptimization`](./docs/multi-shot-optimization.md). It runs the
|
|
95
|
+
same prompt-evolution core over full trajectories, carries actionable side
|
|
96
|
+
information into reflection, and separates the search winner from the variant
|
|
97
|
+
that actually passes held-out promotion.
|
|
98
|
+
|
|
90
99
|
Closing the loop on a prompt or codebase is **two adapters + a config**. Compose `runPromptEvolution` with `createCompositeMutator` (plateau policy) and you get prompt-only optimization until improvement stalls, then automatic switch to code-channel mutations from a coding agent inside a `SandboxPool`.
|
|
91
100
|
|
|
92
101
|
```ts
|
|
@@ -170,9 +179,9 @@ The `MutationTelemetry`, `LineageRecorder`, and `CostLedger` pass into the `code
|
|
|
170
179
|
|
|
171
180
|
For the full primitive surface and rationale, read each module's JSDoc — `prompt-evolution.ts`, `composite-mutator.ts`, `sandbox-pool.ts`, `code-mutator.ts`, `reflective-mutation.ts`, `evolution-telemetry.ts`.
|
|
172
181
|
|
|
173
|
-
##
|
|
182
|
+
## Feedback trajectory loop
|
|
174
183
|
|
|
175
|
-
When normal
|
|
184
|
+
When normal agent usage should generate training/eval signal, use feedback
|
|
176
185
|
trajectories. They turn approvals, rejections, option choices, edits, metrics,
|
|
177
186
|
and policy blocks into reusable examples.
|
|
178
187
|
|
|
@@ -185,22 +194,21 @@ import {
|
|
|
185
194
|
} from '@tangle-network/agent-eval'
|
|
186
195
|
|
|
187
196
|
const trajectory = createFeedbackTrajectory({
|
|
188
|
-
projectId: '
|
|
189
|
-
scenarioId: '
|
|
190
|
-
task: { intent: '
|
|
197
|
+
projectId: 'research-agent',
|
|
198
|
+
scenarioId: 'brief-review',
|
|
199
|
+
task: { intent: 'Revise a research brief until it is specific and sourced.' },
|
|
191
200
|
attempts: [{
|
|
192
201
|
id: 'draft-1',
|
|
193
202
|
stepIndex: 0,
|
|
194
|
-
artifactType: '
|
|
195
|
-
artifact: {
|
|
196
|
-
options: ['enterprise procurement', 'technical founder pain'],
|
|
203
|
+
artifactType: 'research',
|
|
204
|
+
artifact: { summary: 'Initial brief with weak sourcing.' },
|
|
197
205
|
createdAt: new Date().toISOString(),
|
|
198
206
|
}],
|
|
199
207
|
labels: [{
|
|
200
208
|
source: 'user',
|
|
201
|
-
kind: '
|
|
202
|
-
value: '
|
|
203
|
-
reason: '
|
|
209
|
+
kind: 'revision_request',
|
|
210
|
+
value: 'needs stronger evidence',
|
|
211
|
+
reason: 'add primary sources and remove unsupported claims',
|
|
204
212
|
severity: 'error',
|
|
205
213
|
createdAt: new Date().toISOString(),
|
|
206
214
|
}],
|
|
@@ -211,9 +219,9 @@ const scenarios = feedbackTrajectoriesToDatasetScenarios([trajectory])
|
|
|
211
219
|
const optimizerRows = feedbackTrajectoriesToOptimizerRows([trajectory])
|
|
212
220
|
```
|
|
213
221
|
|
|
214
|
-
This is the bridge between
|
|
215
|
-
|
|
216
|
-
|
|
222
|
+
This is the bridge between feedback and optimization: review signals become
|
|
223
|
+
immediate memory, replayable eval scenarios, and prompt/signature/code optimizer
|
|
224
|
+
input. See [`docs/feedback-trajectories.md`](./docs/feedback-trajectories.md).
|
|
217
225
|
|
|
218
226
|
## v0.16 highlights — production-rigor primitives
|
|
219
227
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1437,6 +1437,17 @@ interface FeedbackOptimizerRow extends OptimizationExample {
|
|
|
1437
1437
|
labelKinds: FeedbackLabelKind[];
|
|
1438
1438
|
score?: number;
|
|
1439
1439
|
}
|
|
1440
|
+
interface FeedbackReplayResult {
|
|
1441
|
+
trajectoryId: string;
|
|
1442
|
+
pass: boolean;
|
|
1443
|
+
score?: number;
|
|
1444
|
+
labels: FeedbackLabel[];
|
|
1445
|
+
outcome?: FeedbackOutcome;
|
|
1446
|
+
metadata?: Record<string, unknown>;
|
|
1447
|
+
}
|
|
1448
|
+
interface FeedbackReplayAdapter {
|
|
1449
|
+
replay(trajectory: FeedbackTrajectory): Promise<Omit<FeedbackReplayResult, 'trajectoryId'>> | Omit<FeedbackReplayResult, 'trajectoryId'>;
|
|
1450
|
+
}
|
|
1440
1451
|
declare class InMemoryFeedbackTrajectoryStore implements FeedbackTrajectoryStore {
|
|
1441
1452
|
private readonly trajectories;
|
|
1442
1453
|
save(trajectory: FeedbackTrajectory): Promise<void>;
|
|
@@ -1479,6 +1490,8 @@ declare function feedbackTrajectoryToDatasetScenario(trajectory: FeedbackTraject
|
|
|
1479
1490
|
declare function feedbackTrajectoriesToDatasetScenarios(trajectories: FeedbackTrajectory[]): DatasetScenario[];
|
|
1480
1491
|
declare function feedbackTrajectoryToOptimizerRow(trajectory: FeedbackTrajectory): FeedbackOptimizerRow;
|
|
1481
1492
|
declare function feedbackTrajectoriesToOptimizerRows(trajectories: FeedbackTrajectory[]): FeedbackOptimizerRow[];
|
|
1493
|
+
declare function replayFeedbackTrajectory(trajectory: FeedbackTrajectory, adapter: FeedbackReplayAdapter): Promise<FeedbackReplayResult>;
|
|
1494
|
+
declare function replayFeedbackTrajectories(trajectories: FeedbackTrajectory[], adapter: FeedbackReplayAdapter): Promise<FeedbackReplayResult[]>;
|
|
1482
1495
|
declare function summarizePreferenceMemory(trajectories: FeedbackTrajectory[], options?: {
|
|
1483
1496
|
maxEntries?: number;
|
|
1484
1497
|
}): PreferenceMemoryEntry[];
|
|
@@ -1494,6 +1507,29 @@ declare function controlRunToFeedbackTrajectory<TState, TAction, TActionResult>(
|
|
|
1494
1507
|
createdAt?: string;
|
|
1495
1508
|
}): FeedbackTrajectory;
|
|
1496
1509
|
|
|
1510
|
+
interface ActionExecutionPolicy {
|
|
1511
|
+
allowedTypes?: string[];
|
|
1512
|
+
blockedTypes?: string[];
|
|
1513
|
+
alwaysRequireApprovalTypes?: string[];
|
|
1514
|
+
autoApproveTypes?: string[];
|
|
1515
|
+
requireApprovalForExternalSideEffects?: boolean;
|
|
1516
|
+
requireApprovalAboveCostUsd?: number;
|
|
1517
|
+
maxActionCostUsd?: number;
|
|
1518
|
+
remainingBudgetUsd?: number;
|
|
1519
|
+
expectedOutcomeRequired?: boolean;
|
|
1520
|
+
killCriteriaRequired?: boolean;
|
|
1521
|
+
}
|
|
1522
|
+
interface ActionPolicyDecision {
|
|
1523
|
+
allowed: boolean;
|
|
1524
|
+
blocked: boolean;
|
|
1525
|
+
requiresApproval: boolean;
|
|
1526
|
+
reasons: string[];
|
|
1527
|
+
label?: FeedbackLabel;
|
|
1528
|
+
}
|
|
1529
|
+
declare function evaluateActionPolicy(action: ProposedSideEffect, policy?: ActionExecutionPolicy, options?: {
|
|
1530
|
+
createdAt?: string;
|
|
1531
|
+
}): ActionPolicyDecision;
|
|
1532
|
+
|
|
1497
1533
|
/**
|
|
1498
1534
|
* Normalize scores so all dimensions follow "higher = better".
|
|
1499
1535
|
* Inverted dimensions (hallucination, false_confidence, worst_failure)
|
|
@@ -1595,7 +1631,7 @@ declare class ConvergenceTracker {
|
|
|
1595
1631
|
* Uses the Web Crypto API (works in Workers, Node 22+, browsers).
|
|
1596
1632
|
*/
|
|
1597
1633
|
interface PromptHandle {
|
|
1598
|
-
/** Stable human-readable id, e.g. '
|
|
1634
|
+
/** Stable human-readable id, e.g. 'browser.system' */
|
|
1599
1635
|
id: string;
|
|
1600
1636
|
/** Caller-chosen version string, e.g. 'v3' or '2026-04-20' */
|
|
1601
1637
|
version: string;
|
|
@@ -1687,7 +1723,7 @@ declare function analyzeAntiSlop(outputs: string[], config: Omit<Required<AntiSl
|
|
|
1687
1723
|
* Artifact validators.
|
|
1688
1724
|
*
|
|
1689
1725
|
* Generic "score a produced artifact" primitive. Tax uses it for PDF form
|
|
1690
|
-
* correctness,
|
|
1726
|
+
* correctness, research for sourced briefs, browser for task assertions, coding
|
|
1691
1727
|
* for social posts. One interface, many validators; all plug into
|
|
1692
1728
|
* `BenchmarkRunner` the same way.
|
|
1693
1729
|
*
|
|
@@ -1975,7 +2011,7 @@ declare class FileSystemExperimentStore implements ExperimentStore {
|
|
|
1975
2011
|
* `Run.status` field one-to-one.
|
|
1976
2012
|
*
|
|
1977
2013
|
* Why this lives next to `InMemoryExperimentStore`:
|
|
1978
|
-
* -
|
|
2014
|
+
* - browser, coding, and computer-use agents can all run as Workers
|
|
1979
2015
|
* - Workers cannot use `node:fs`, so `FileSystemExperimentStore` doesn't apply
|
|
1980
2016
|
* - Hand-rolling D1 SQL in every consumer is exactly the duplication this
|
|
1981
2017
|
* module exists to prevent
|
|
@@ -2008,7 +2044,7 @@ interface D1ExperimentStoreOptions {
|
|
|
2008
2044
|
db: D1Like;
|
|
2009
2045
|
/**
|
|
2010
2046
|
* Optional table-name prefix so multiple ExperimentStores can share a DB
|
|
2011
|
-
* without colliding (e.g. `
|
|
2047
|
+
* without colliding (e.g. `browser_eval_experiments` vs `coding_eval_experiments`).
|
|
2012
2048
|
* Default: `agent_eval_`.
|
|
2013
2049
|
*/
|
|
2014
2050
|
tablePrefix?: string;
|
|
@@ -2592,7 +2628,7 @@ type HostedRunCriticConfig = Pick<RunCriticOptions, 'weights'> & {
|
|
|
2592
2628
|
/**
|
|
2593
2629
|
* Dual-agent convergence bench.
|
|
2594
2630
|
*
|
|
2595
|
-
* Pattern lifted from
|
|
2631
|
+
* Pattern lifted from dual-worker review loops: two agents take turns until
|
|
2596
2632
|
* they converge on a consensus artifact. One proposes, the other critiques;
|
|
2597
2633
|
* the proposer revises; repeat until a score threshold is hit or max rounds.
|
|
2598
2634
|
*
|
|
@@ -3408,7 +3444,7 @@ declare function evaluateOracles(obs: OracleObservation, oracles: Oracle[]): Ora
|
|
|
3408
3444
|
/**
|
|
3409
3445
|
* Cost tracker — token + USD accounting per scenario and per run.
|
|
3410
3446
|
*
|
|
3411
|
-
*
|
|
3447
|
+
* Adapted from generic usage-event accounting. Every
|
|
3412
3448
|
* optimizer needs to know "is the quality gain worth the cost delta?",
|
|
3413
3449
|
* and every dashboard needs dollars-per-completed-task. MODEL_PRICING
|
|
3414
3450
|
* from metrics.ts stays authoritative for estimate math; this module
|
|
@@ -3619,7 +3655,7 @@ declare function analyzeSeries(values: number[], options?: SeriesConvergenceOpti
|
|
|
3619
3655
|
* State continuity scoring — measures how well a resumed/handed-off agent
|
|
3620
3656
|
* preserves prior work.
|
|
3621
3657
|
*
|
|
3622
|
-
*
|
|
3658
|
+
* When session 2 continues
|
|
3623
3659
|
* session 1's work, the key question is: did it preserve key artifacts,
|
|
3624
3660
|
* or start over and lose context? Each `ContinuityCheck` inspects one
|
|
3625
3661
|
* aspect (file preserved, key count grew, status advanced) and yields
|
|
@@ -7633,6 +7669,233 @@ interface PromptEvolutionResult<P = unknown> {
|
|
|
7633
7669
|
}
|
|
7634
7670
|
declare function runPromptEvolution<P>(config: PromptEvolutionConfig<P>): Promise<PromptEvolutionResult<P>>;
|
|
7635
7671
|
|
|
7672
|
+
/**
|
|
7673
|
+
* Reflective mutation — primitives for trace-conditioned prompt rewriting.
|
|
7674
|
+
*
|
|
7675
|
+
* Used by `prompt-evolution.ts` (and any consumer running iterative
|
|
7676
|
+
* improvement). Given a parent prompt + concrete trace evidence (top trials,
|
|
7677
|
+
* bottom trials, missed expectations), produce an LLM-ready prompt that
|
|
7678
|
+
* proposes targeted mutations — not blind rephrasings.
|
|
7679
|
+
*
|
|
7680
|
+
* Why this lives outside `prompt-evolution.ts`: any consumer that wants to
|
|
7681
|
+
* run reflective rewriting WITHOUT the population/Pareto machinery can
|
|
7682
|
+
* import these primitives directly.
|
|
7683
|
+
*
|
|
7684
|
+
* Quality bar (vs. naive "mutate this prompt"):
|
|
7685
|
+
* - Show parent ↔ children diff, not just one variant
|
|
7686
|
+
* - Quote specific missed goldens with their match phrases
|
|
7687
|
+
* - Surface the model's actual emitted output side-by-side with what was expected
|
|
7688
|
+
* - Quote concrete mutation primitives so the model has a vocabulary
|
|
7689
|
+
*/
|
|
7690
|
+
interface TrialTrace {
|
|
7691
|
+
/** Stable id for the trial — surfaces in the prompt for grounding. */
|
|
7692
|
+
id: string;
|
|
7693
|
+
/** Score the trial received on its primary metric. */
|
|
7694
|
+
score: number;
|
|
7695
|
+
/** Candidate inputs the agent was given (e.g., the fixture or scenario). */
|
|
7696
|
+
inputName?: string;
|
|
7697
|
+
/**
|
|
7698
|
+
* Goldens / expectations this trial was tested against, with whether each
|
|
7699
|
+
* was matched. The reflection prompt quotes the missed ones specifically.
|
|
7700
|
+
*/
|
|
7701
|
+
expectations?: Array<{
|
|
7702
|
+
id: string;
|
|
7703
|
+
phrase: string;
|
|
7704
|
+
matched: boolean;
|
|
7705
|
+
}>;
|
|
7706
|
+
/** Free-form text — what the agent actually emitted (e.g., findings, plan). */
|
|
7707
|
+
emitted?: string;
|
|
7708
|
+
/** Optional structured metrics (recall, precision, cost, latency). */
|
|
7709
|
+
metrics?: Record<string, number>;
|
|
7710
|
+
}
|
|
7711
|
+
interface ReflectionContext {
|
|
7712
|
+
/** What is being mutated — appears in the system prompt for orientation. */
|
|
7713
|
+
target: string;
|
|
7714
|
+
/** Current variant's payload — JSON-serialised for the prompt. */
|
|
7715
|
+
parentPayload: unknown;
|
|
7716
|
+
/** Best-performing trials this generation. */
|
|
7717
|
+
topTrials: TrialTrace[];
|
|
7718
|
+
/** Worst-performing trials this generation — the missed-golden source. */
|
|
7719
|
+
bottomTrials: TrialTrace[];
|
|
7720
|
+
/** How many children the mutator should propose. */
|
|
7721
|
+
childCount: number;
|
|
7722
|
+
/** Optional: domain-specific mutation primitives the model can pick from. */
|
|
7723
|
+
mutationPrimitives?: string[];
|
|
7724
|
+
}
|
|
7725
|
+
declare const DEFAULT_MUTATION_PRIMITIVES: string[];
|
|
7726
|
+
/**
|
|
7727
|
+
* Build the LLM-ready reflection prompt. Output is plain text — pass it as
|
|
7728
|
+
* the user message. The system message should be small and stable (e.g.
|
|
7729
|
+
* "Output ONLY a JSON object matching the schema below.").
|
|
7730
|
+
*/
|
|
7731
|
+
declare function buildReflectionPrompt(ctx: ReflectionContext): string;
|
|
7732
|
+
interface ReflectionProposal {
|
|
7733
|
+
label: string;
|
|
7734
|
+
rationale: string;
|
|
7735
|
+
payload: unknown;
|
|
7736
|
+
}
|
|
7737
|
+
declare function parseReflectionResponse(raw: string, maxProposals?: number): ReflectionProposal[];
|
|
7738
|
+
|
|
7739
|
+
/**
|
|
7740
|
+
* Multi-shot optimization adapter.
|
|
7741
|
+
*
|
|
7742
|
+
* This is the canonical bridge between variable-length agent trajectories
|
|
7743
|
+
* and `runPromptEvolution`. Apps provide four things:
|
|
7744
|
+
*
|
|
7745
|
+
* - variants: prompt/config/tool-policy candidates
|
|
7746
|
+
* - runner: executes one full task trajectory for a variant
|
|
7747
|
+
* - scorer: turns that trajectory into score + actionable side information
|
|
7748
|
+
* - mutator: proposes new variants from top/bottom scored trials
|
|
7749
|
+
*
|
|
7750
|
+
* The adapter owns the boring but easy-to-get-wrong glue: stable seeds,
|
|
7751
|
+
* score/cost objectives, error-to-trial conversion, ASI metric projection,
|
|
7752
|
+
* and optional paired holdout gating via `HeldOutGate`.
|
|
7753
|
+
*/
|
|
7754
|
+
|
|
7755
|
+
type MultiShotSplit = 'search' | 'dev' | 'holdout';
|
|
7756
|
+
type AsiSeverity = 'info' | 'warning' | 'error' | 'critical';
|
|
7757
|
+
type MultiShotVariant<P = unknown> = PromptVariant<P>;
|
|
7758
|
+
interface ActionableSideInfo {
|
|
7759
|
+
/** Stable expectation/check id when available. */
|
|
7760
|
+
expectationId?: string;
|
|
7761
|
+
/** Human-readable diagnosis of what happened. */
|
|
7762
|
+
message: string;
|
|
7763
|
+
severity?: AsiSeverity;
|
|
7764
|
+
/** Concrete trace excerpt, file path, tool call, screenshot id, etc. */
|
|
7765
|
+
evidence?: string;
|
|
7766
|
+
/** Prompt/tool/context surface likely responsible. */
|
|
7767
|
+
responsibleSurface?: string;
|
|
7768
|
+
/** Suggested fix in natural language. */
|
|
7769
|
+
suggestion?: string;
|
|
7770
|
+
/** Whether this expectation was satisfied. Defaults to false for ASI rows. */
|
|
7771
|
+
matched?: boolean;
|
|
7772
|
+
metadata?: Record<string, unknown>;
|
|
7773
|
+
}
|
|
7774
|
+
interface MultiShotTrace {
|
|
7775
|
+
scenarioId: string;
|
|
7776
|
+
/** Full turn/tool trace. Shape is intentionally app-owned. */
|
|
7777
|
+
turns?: unknown[];
|
|
7778
|
+
toolCalls?: unknown[];
|
|
7779
|
+
artifacts?: unknown[];
|
|
7780
|
+
/** Compact final output or summary used by reflection prompts. */
|
|
7781
|
+
transcript?: string;
|
|
7782
|
+
output?: unknown;
|
|
7783
|
+
metadata?: Record<string, unknown>;
|
|
7784
|
+
}
|
|
7785
|
+
interface MultiShotRun {
|
|
7786
|
+
trace: MultiShotTrace;
|
|
7787
|
+
costUsd?: number;
|
|
7788
|
+
durationMs?: number;
|
|
7789
|
+
tokenUsage?: {
|
|
7790
|
+
input?: number;
|
|
7791
|
+
output?: number;
|
|
7792
|
+
cached?: number;
|
|
7793
|
+
};
|
|
7794
|
+
metadata?: Record<string, unknown>;
|
|
7795
|
+
}
|
|
7796
|
+
interface MultiShotRunInput<P = unknown> {
|
|
7797
|
+
variant: PromptVariant<P>;
|
|
7798
|
+
scenarioId: string;
|
|
7799
|
+
rep: number;
|
|
7800
|
+
split: MultiShotSplit;
|
|
7801
|
+
/** Stable paired seed for baseline/candidate comparisons. */
|
|
7802
|
+
seed: number;
|
|
7803
|
+
}
|
|
7804
|
+
interface MultiShotRunner<P = unknown> {
|
|
7805
|
+
run(input: MultiShotRunInput<P>): Promise<MultiShotRun> | MultiShotRun;
|
|
7806
|
+
}
|
|
7807
|
+
interface MultiShotScore {
|
|
7808
|
+
/** Primary score in [0,1]. The adapter clamps for safety. */
|
|
7809
|
+
score: number;
|
|
7810
|
+
/** Pass/fail for top/bottom trial selection. Defaults to true. */
|
|
7811
|
+
ok?: boolean;
|
|
7812
|
+
costUsd?: number;
|
|
7813
|
+
durationMs?: number;
|
|
7814
|
+
metrics?: Record<string, number>;
|
|
7815
|
+
asi?: ActionableSideInfo[];
|
|
7816
|
+
/** Optional rich output shown to reflection mutators. */
|
|
7817
|
+
emitted?: string;
|
|
7818
|
+
metadata?: Record<string, unknown>;
|
|
7819
|
+
}
|
|
7820
|
+
interface MultiShotScorer<P = unknown> {
|
|
7821
|
+
score(input: MultiShotRunInput<P> & {
|
|
7822
|
+
run: MultiShotRun;
|
|
7823
|
+
}): Promise<MultiShotScore> | MultiShotScore;
|
|
7824
|
+
}
|
|
7825
|
+
interface MultiShotTrialResult extends TrialResult {
|
|
7826
|
+
split: MultiShotSplit;
|
|
7827
|
+
seed: number;
|
|
7828
|
+
trace?: MultiShotTrace;
|
|
7829
|
+
asi?: ActionableSideInfo[];
|
|
7830
|
+
emitted?: string;
|
|
7831
|
+
metadata?: Record<string, unknown>;
|
|
7832
|
+
}
|
|
7833
|
+
interface MultiShotMutateAdapter<P = unknown> {
|
|
7834
|
+
mutate(args: {
|
|
7835
|
+
parent: PromptVariant<P>;
|
|
7836
|
+
parentAggregate: VariantAggregate;
|
|
7837
|
+
topTrials: MultiShotTrialResult[];
|
|
7838
|
+
bottomTrials: MultiShotTrialResult[];
|
|
7839
|
+
childCount: number;
|
|
7840
|
+
generation: number;
|
|
7841
|
+
}): Promise<PromptVariant<P>[]>;
|
|
7842
|
+
}
|
|
7843
|
+
interface MultiShotGateConfig<P = unknown> {
|
|
7844
|
+
/** Search rows are optional, but enable HeldOutGate's overfit-gap check. */
|
|
7845
|
+
searchScenarioIds?: string[];
|
|
7846
|
+
holdoutScenarioIds: string[];
|
|
7847
|
+
reps?: number;
|
|
7848
|
+
gate: HeldOutGateConfig;
|
|
7849
|
+
/** Convert scored trajectory runs into paper-grade RunRecords. */
|
|
7850
|
+
toRunRecord(input: {
|
|
7851
|
+
variant: PromptVariant<P>;
|
|
7852
|
+
scenarioId: string;
|
|
7853
|
+
rep: number;
|
|
7854
|
+
split: RunSplitTag;
|
|
7855
|
+
seed: number;
|
|
7856
|
+
trial: MultiShotTrialResult;
|
|
7857
|
+
}): RunRecord;
|
|
7858
|
+
}
|
|
7859
|
+
interface MultiShotOptimizationConfig<P = unknown> {
|
|
7860
|
+
runId: string;
|
|
7861
|
+
target: string;
|
|
7862
|
+
seedVariants: PromptVariant<P>[];
|
|
7863
|
+
searchScenarioIds: string[];
|
|
7864
|
+
reps: number;
|
|
7865
|
+
generations: number;
|
|
7866
|
+
populationSize: number;
|
|
7867
|
+
scoreConcurrency?: number;
|
|
7868
|
+
runner: MultiShotRunner<P>;
|
|
7869
|
+
scorer: MultiShotScorer<P>;
|
|
7870
|
+
mutateAdapter: MultiShotMutateAdapter<P>;
|
|
7871
|
+
objectives?: Objective<VariantAggregate>[];
|
|
7872
|
+
scalarWeights?: Record<string, number>;
|
|
7873
|
+
cache?: TrialCache;
|
|
7874
|
+
earlyStopOnNoImprovement?: boolean;
|
|
7875
|
+
seedBase?: number;
|
|
7876
|
+
onProgress?: (event: PromptEvolutionEvent) => void;
|
|
7877
|
+
gate?: MultiShotGateConfig<P>;
|
|
7878
|
+
}
|
|
7879
|
+
interface MultiShotGateResult {
|
|
7880
|
+
decision: GateDecision;
|
|
7881
|
+
candidateRuns: RunRecord[];
|
|
7882
|
+
baselineRuns: RunRecord[];
|
|
7883
|
+
}
|
|
7884
|
+
interface MultiShotOptimizationResult<P = unknown> {
|
|
7885
|
+
evolution: PromptEvolutionResult<P>;
|
|
7886
|
+
/** Best candidate on the optimizer-visible search split. */
|
|
7887
|
+
searchBestVariant: PromptVariant<P>;
|
|
7888
|
+
searchBestAggregate: VariantAggregate;
|
|
7889
|
+
/** Variant callers should actually ship after optional holdout gating. */
|
|
7890
|
+
promotedVariant: PromptVariant<P>;
|
|
7891
|
+
promotedAggregate: VariantAggregate;
|
|
7892
|
+
/** Null when no gate was configured or the search-best candidate was the baseline. */
|
|
7893
|
+
gate: MultiShotGateResult | null;
|
|
7894
|
+
}
|
|
7895
|
+
declare function runMultiShotOptimization<P>(config: MultiShotOptimizationConfig<P>): Promise<MultiShotOptimizationResult<P>>;
|
|
7896
|
+
declare function defaultMultiShotObjectives(): Objective<VariantAggregate>[];
|
|
7897
|
+
declare function trialTraceFromMultiShotTrial(trial: MultiShotTrialResult): TrialTrace;
|
|
7898
|
+
|
|
7636
7899
|
/**
|
|
7637
7900
|
* concurrency — small primitives the evolution loop needs.
|
|
7638
7901
|
*
|
|
@@ -8280,71 +8543,4 @@ declare function judgeReplayGate<TOutput>(args: JudgeReplayGateArgs<TOutput>): P
|
|
|
8280
8543
|
candidateSamples: number;
|
|
8281
8544
|
}>;
|
|
8282
8545
|
|
|
8283
|
-
/**
|
|
8284
|
-
* Reflective mutation — primitives for trace-conditioned prompt rewriting.
|
|
8285
|
-
*
|
|
8286
|
-
* Used by `prompt-evolution.ts` (and any consumer running iterative
|
|
8287
|
-
* improvement). Given a parent prompt + concrete trace evidence (top trials,
|
|
8288
|
-
* bottom trials, missed expectations), produce an LLM-ready prompt that
|
|
8289
|
-
* proposes targeted mutations — not blind rephrasings.
|
|
8290
|
-
*
|
|
8291
|
-
* Why this lives outside `prompt-evolution.ts`: any consumer that wants to
|
|
8292
|
-
* run reflective rewriting WITHOUT the population/Pareto machinery can
|
|
8293
|
-
* import these primitives directly.
|
|
8294
|
-
*
|
|
8295
|
-
* Quality bar (vs. naive "mutate this prompt"):
|
|
8296
|
-
* - Show parent ↔ children diff, not just one variant
|
|
8297
|
-
* - Quote specific missed goldens with their match phrases
|
|
8298
|
-
* - Surface the model's actual emitted output side-by-side with what was expected
|
|
8299
|
-
* - Quote concrete mutation primitives so the model has a vocabulary
|
|
8300
|
-
*/
|
|
8301
|
-
interface TrialTrace {
|
|
8302
|
-
/** Stable id for the trial — surfaces in the prompt for grounding. */
|
|
8303
|
-
id: string;
|
|
8304
|
-
/** Score the trial received on its primary metric. */
|
|
8305
|
-
score: number;
|
|
8306
|
-
/** Candidate inputs the agent was given (e.g., the fixture or scenario). */
|
|
8307
|
-
inputName?: string;
|
|
8308
|
-
/**
|
|
8309
|
-
* Goldens / expectations this trial was tested against, with whether each
|
|
8310
|
-
* was matched. The reflection prompt quotes the missed ones specifically.
|
|
8311
|
-
*/
|
|
8312
|
-
expectations?: Array<{
|
|
8313
|
-
id: string;
|
|
8314
|
-
phrase: string;
|
|
8315
|
-
matched: boolean;
|
|
8316
|
-
}>;
|
|
8317
|
-
/** Free-form text — what the agent actually emitted (e.g., findings, plan). */
|
|
8318
|
-
emitted?: string;
|
|
8319
|
-
/** Optional structured metrics (recall, precision, cost, latency). */
|
|
8320
|
-
metrics?: Record<string, number>;
|
|
8321
|
-
}
|
|
8322
|
-
interface ReflectionContext {
|
|
8323
|
-
/** What is being mutated — appears in the system prompt for orientation. */
|
|
8324
|
-
target: string;
|
|
8325
|
-
/** Current variant's payload — JSON-serialised for the prompt. */
|
|
8326
|
-
parentPayload: unknown;
|
|
8327
|
-
/** Best-performing trials this generation. */
|
|
8328
|
-
topTrials: TrialTrace[];
|
|
8329
|
-
/** Worst-performing trials this generation — the missed-golden source. */
|
|
8330
|
-
bottomTrials: TrialTrace[];
|
|
8331
|
-
/** How many children the mutator should propose. */
|
|
8332
|
-
childCount: number;
|
|
8333
|
-
/** Optional: domain-specific mutation primitives the model can pick from. */
|
|
8334
|
-
mutationPrimitives?: string[];
|
|
8335
|
-
}
|
|
8336
|
-
declare const DEFAULT_MUTATION_PRIMITIVES: string[];
|
|
8337
|
-
/**
|
|
8338
|
-
* Build the LLM-ready reflection prompt. Output is plain text — pass it as
|
|
8339
|
-
* the user message. The system message should be small and stable (e.g.
|
|
8340
|
-
* "Output ONLY a JSON object matching the schema below.").
|
|
8341
|
-
*/
|
|
8342
|
-
declare function buildReflectionPrompt(ctx: ReflectionContext): string;
|
|
8343
|
-
interface ReflectionProposal {
|
|
8344
|
-
label: string;
|
|
8345
|
-
rationale: string;
|
|
8346
|
-
payload: unknown;
|
|
8347
|
-
}
|
|
8348
|
-
declare function parseReflectionResponse(raw: string, maxProposals?: number): ReflectionProposal[];
|
|
8349
|
-
|
|
8350
|
-
export { type ActiveLearningOptions, type AdapterRun, AgentDriver, type AgentDriverConfig, type AlignmentOp, type AntiSlopConfig, type AntiSlopIssue, type AntiSlopReport, type Artifact$1 as Artifact, type ArtifactCheck, type Artifact as ArtifactCheckArtifact, type ArtifactResult, type ArtifactValidator, AxGepaSteeringOptimizer, type AxSteeringOptimizerConfig, BENCHMARK_SPLIT_SEED, type BaselineOptions, type BaselineReport, BehaviorAssertion, type BenchmarkAdapter, type BenchmarkDatasetItem, type BenchmarkEvaluation, type BenchmarkReport, BenchmarkRunner, type BenchmarkRunnerConfig, type BestOfNResult, type BisectOptions, type BisectResult, type BisectStep, type BootstrapOptions, type BootstrapResult, BudgetBreachError, type BudgetBreachFinding, type BudgetBreachReport, BudgetGuard, type BudgetLedgerEntry, type BudgetSpec, BuilderSession, type BuilderSessionInit, type CalibrationBin, type CalibrationOptions, type CalibrationReport, type CalibrationResult, CallExpectation, type CanaryAlert, type CanaryKind, type CanaryLeak, type CanaryOptions, type CanaryReport, type CanarySeverity, type CandidateScenario, type CandidateScore, type CausalAttributionReport, type ChatSummary, type CheckResult, type CodeMutationOutcome, type CodeMutationRunner, type CollectedArtifacts, type CommandRunner, type CompletionCriterion, type CompositePolicy, type ConceptComplexity, type ConceptFinding, type ConceptSpec, type ConceptWeightStrategy, type ContinuityCheck, type ContinuityCheckResult, type ContinuityReport, type ContinuitySnapshotPair, type ContractMetric, type ContractReport, type ControlActionFailureMode, type ControlActionOutcome, type ControlBudget, type ControlContext, type ControlDecision, type ControlEvalResult, type ControlRunResult, type ControlRuntimeConfig, type ControlRuntimeError, type ControlSeverity, type ControlStep, type ControlStopPolicies, ConvergenceTracker, type CorrelationReport, type CorrelationResult, type CorrelationStudyOptions, type CorrelationStudyResult, type CostEntry, CostLedger, type CostLedgerGeneration, type CostLedgerSnapshot, type CostSummary, CostTracker, type CounterfactualContext, type CounterfactualMutation, type CounterfactualResult, type CounterfactualRunner, type CreateCompositeMutatorOpts, type CreateDefaultReviewerOptions, type CreateSandboxCodeMutatorOpts, type CreateSandboxPoolOpts, type CrossTraceDiff, type CrossTraceDiffOptions, D1ExperimentStore, type D1ExperimentStoreOptions, type D1Like, type D1PreparedStatementLike, DEFAULT_AGENT_SLOS, DEFAULT_COMPLEXITY_WEIGHTS, DEFAULT_RULES as DEFAULT_FAILURE_RULES, DEFAULT_FINDERS, DEFAULT_HARNESS_OBJECTIVES, DEFAULT_MUTATION_PRIMITIVES, DEFAULT_MUTATORS, DEFAULT_REDACTION_RULES, DEFAULT_RED_TEAM_CORPUS, DEFAULT_RUN_SCORE_WEIGHTS, DEFAULT_SEVERITY_WEIGHTS, Dataset, type DatasetDifficulty, type DatasetManifest, type DatasetProvenance, type DatasetScenario, type DatasetSplit, type DeployFamily, type DeployGateLayerInput, type DeployRunResult, type DeployRunner, type DeploymentOutcome, type DirEntry, type Direction, type DivergenceOptions, type DivergenceReport, DockerSandboxDriver, type DriverResult, type DriverState, DualAgentBench, type DualAgentBenchConfig, type DualAgentReport, type DualAgentRound, type DualAgentScenario, type DualAgentScenarioResult, ERROR_COUNT_PATTERNS, type ErrorCountPattern, type EuRiskClass, type EvalMetricSpec, type EvalResult, type EventFilter, type EventKind, type EvolutionRound, type PromptVariant as EvolvableVariant, type ExecutorConfig, type Expectation, type Experiment, type ExperimentPlan, type ExperimentResult, type Run as ExperimentRun, type ExperimentStore, ExperimentTracker, type ExportedRewardModel, type ExtractOptions, type ExtractResult, FAILURE_CLASSES, type FactorContribution, type FactorialCell, type FailureClass, type FailureClassification, type FailureCluster, type FailureClusterReport, type FailureContext, type FailureMode, type FailureRule, type FeedbackArtifactType, type FeedbackAttempt, type FeedbackLabel, type FeedbackLabelKind, type FeedbackLabelSource, type FeedbackOptimizerRow, type FeedbackOutcome, type FeedbackPattern, type FeedbackSeverity, type FeedbackSplitPolicy, type FeedbackTask, type FeedbackTrajectory, type FeedbackTrajectoryFilter, type FeedbackTrajectoryStore, FileSystemExperimentStore, type FileSystemExperimentStoreOptions, FileSystemFeedbackTrajectoryStore, FileSystemOutcomeStore, type FileSystemOutcomeStoreOptions, FileSystemTraceStore, type FileSystemTraceStoreOptions, type Finding, type FlowAction, type FlowLayerEnv, type FlowLayerFactoryInput, type FlowRunner, type FlowRunnerStepResult, type FlowSpec, type FlowStep, type GainDistributionBin, type GainDistributionFigureSpec, type GainDistributionOptions, type GateDecision, type GateEvidence, type GenerationReport, type GenericSpan, type GoldenItem, type GoldenSeverity, type GoldenSpec, type GovernanceContext, type GovernanceFinding, type GovernanceReport, type GradedStep, type HarnessAdapter, type HarnessConfig, type HarnessExperimentConfig, type HarnessExperimentResult, type HarnessIntervention, type HarnessRunRequest, type HarnessRunResult, type HarnessScenario, type HarnessSelection, type HarnessVariant, type HarnessVariantReport, HeldOutGate, type HeldOutGateConfig, type HeldOutGateRejectionCode, HoldoutAuditor, HoldoutLockedError, type HostedJudgeConfig, type HostedJudgeDimension, type HostedJudgeRequest, type HostedJudgeResponse, type HostedRunCriticConfig, type HostedRunScoreRequest, type HostedRunScoreResponse, type HypothesisManifest, type HypothesisResult, INTENT_MATCH_JUDGE_VERSION, type ImageData, InMemoryExperimentStore, InMemoryFeedbackTrajectoryStore, InMemoryOutcomeStore, InMemoryTraceStore, InMemoryTrialCache, InMemoryWorkspaceInspector, type InferenceScorer, type InspectorContext, type IntentMatchInput, type IntentMatchOptions, type IntentMatchResult, type InteractionContribution, JsonlTrialCache, type JudgeAgreementReport, type JudgeConfig, type JudgeFleetOptions, type JudgeFn, type JudgeInput, type JudgePair, type JudgeReplayGateArgs, type JudgeReplayResult, type JudgeRubric, JudgeRunner, type JudgeScore, type JudgeSpan, type KeywordConceptSpec, type KeywordCoverageFinding, type KeywordCoverageOptions, type KeywordCoverageResult, type LangfuseEnvelope, type LangfuseGeneration, type LangfuseScore, type Layer, type LayerCorrelation, type LayerResult, type LayerStatus, type LineageKind, type LineageKindResolver, type LineageNode, LineageRecorder, LlmCallError, type LlmCallRequest, type LlmCallResult, LlmClient, type LlmClientOptions, type LlmJsonCall, type LlmMessage, type LlmReviewerConfig, type LlmSpan, type LlmUsage, LockedJsonlAppender, MODEL_PRICING, type MatchResult, type MatcherResult, type MeasurementPolicy, type MergeOptions, type Message, type MetricSamples, type MetricVerdict, MetricsCollector, type MuffledFinder, type MuffledFinding, MultiLayerVerifier, type MultiToolchainLayerConfig, type MutateAdapter, type MutationAttempt, type MutationChannel, MutationTelemetry, type Mutator, Mutex, NoopResearcher, OTEL_AGENT_EVAL_SCOPE, type Objective, type OptimizationConfig, type OptimizationExample, OptimizationLoop, type OptimizationLoopConfig, type OptimizationLoopResult, type OptimizationResult, type Oracle, type OracleObservation, type OracleReport, type OracleResult, type OrthogonalityInput, type OrthogonalityResult, type OtlpExport, type OtlpResourceSpans, type OtlpSpan, type OutcomeFilter, type OutcomePair, type OutcomeStore, type PairedBootstrapOptions, type PairedBootstrapResult, type PairwiseComparison, PairwiseSteeringOptimizer, type ParetoFigureSpec, type ParetoPoint, type ParetoResult, type PersonaConfig, type Playbook, type PlaybookEntry, type PoolSlot, type PositionalBiasResult, type PreferenceMemoryEntry, type PrmGradedTrace, PrmGrader, type PrmTrainingSample, ProductClient, type ProductClientConfig, type ProjectKind, ProjectRegistry, type ProjectSummary, type ProjectTimelineEntry, type PromptEvolutionConfig, type PromptEvolutionEvent, type PromptEvolutionResult, type PromptHandle, PromptOptimizer, PromptRegistry, type TrialResult as PromptTrialResult, type PromptVariant$1 as PromptVariant, type ProposeFn, type ProposeInput, type ProposeOutput, type ProposeReviewConfig, type ProposeReviewControlAction, type ProposeReviewControlConfig, type ProposeReviewControlResult, type ProposeReviewControlState, type ProposeReviewReport, type ProposeReviewShot, type ProposedSideEffect, REDACTION_VERSION, type RedTeamCase, type RedTeamCategory, type RedTeamFinding, type RedTeamPayload, type RedTeamReport, type RedactionReport, type RedactionRule, 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 RegressionOptions, type RegressionSpec, 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 RobustnessResult, type RouteMap, type RubricDimension, type Run$1 as Run, type RunAppScenarioOptions, type RunCommandInput, type RunCommandResult, type RunConfig, RunCritic, type RunCriticOptions, type RunDiff, type RunFilter, type RunJudgeMetadata, type RunLayer, type RunOutcome, type RunRecord, RunRecordValidationError, type RunScore, type RunScoreWeights, type RunSplitTag, type RunStatus, type RunTokenUsage, type RunTrace, SEMANTIC_CONCEPT_JUDGE_VERSION, type SandboxDriver, SandboxHarness, type SandboxHarnessResult, type SandboxJudgeKind, type SandboxJudgeResult, type SandboxJudgeSpec, type SandboxPool, type SandboxResult, type SandboxSpan, type ScanOptions, type Scenario, type ScenarioAggregate, type ScenarioCost, type ScenarioFile, ScenarioRegistry, type ScenarioResult, type ScoreAdapter, type ScoredTarget, type SelfPlayOptions, type SelfPlayProposer, type SelfPlayScorer, type SelfPreferenceResult, type SemanticConceptJudgeInput, type SemanticConceptJudgeOptions, type SemanticConceptJudgeResult, type SeriesConvergenceOptions, type SeriesConvergenceResult, type Severity, type ShipOptions, type SignedManifest, type SliceOptions, type Slo, type SloCheckResult, type SloComparator, type SloReport, type SloSeverity, type SlopCategory, type SlotFactory, type Span, type SpanBase, type SpanFilter, type SpanHandle, type SpanKind, type SpanStatus, type SteeringBundle, type SteeringChange, type SteeringDelta, type SteeringEvaluation, type SteeringOptimizationResult, type SteeringOptimizationRow, type SteeringOptimizationSelector, type SteeringOptimizerBackend, type SteeringOptimizerConfig, type SteeringRolePrompt, type SteeringVariantReport, type StepAttribution, type StepContext, type StepRubric, type StopDecision, type StuckLoopFinding, type StuckLoopOptions, type StuckLoopReport, SubprocessSandboxDriver, type SubprocessSandboxDriverOptions, type SummaryTable, type SummaryTableOptions, type SummaryTableRow, type SynthesisReason, type SynthesisTarget, TRACE_SCHEMA_VERSION, type TestGradedRunOptions, type TestGradedRunResult, type TestGradedScenario, type TestOutputParser, type TestResult, type ThreeLayerProjectReport, type ThresholdContract, TokenCounter, type TokenSpec, type ToolSpan, type ToolStats, type ToolUseMetrics, type ToolUseOptions, type ToolWasteFinding, type ToolWasteOptions, type ToolWasteReport, TraceEmitter, type TraceEmitterOptions, type TraceEvent, type TraceStore, type Trajectory, type TrajectoryStep, type TrialAttempt, type TrialCache, TrialTelemetry, type TrialTrace, type Turn, type TurnMetrics, type TurnResult, UNIVERSAL_FINDERS, type UseCaseSignals, type ValidationContext, type ValidationIssue, type ValidationResult, type VariantAggregate, type VariantScore, type VerbosityBiasResult, type Verdict, type Verification, type VerificationReport, type VerifyContext, type VerifyFn, type VerifyOptions, type VisualDiffOptions, type VisualDiffResult, type ViteDeployRunnerInput, type WorkflowTopology, type WorkspaceAssertion, type WorkspaceAssertionResult, type WorkspaceInspector, type WorkspaceSnapshot, type WranglerDeployRunnerInput, adversarialJudge, aggregateLlm, aggregateRunScore, allCriticalPassed, analyzeAntiSlop, analyzeSeries, argHash, assignFeedbackSplit, attributeCounterfactuals, deterministicSplit as benchmarkDeterministicSplit, index as benchmarks, benjaminiHochberg, bhAdjust, bisect, bonferroni, bootstrapCi, budgetBreachView, buildReflectionPrompt, buildReviewerPrompt, buildTrajectory, byteLengthRange, calibrateJudge, calibrationCurve, callLlm, callLlmJson, canaryLeakView, causalAttribution, checkCanaries, checkSlos, clamp01, classifyEuAiRisk, classifyFailure, codeExecutionJudge, cohensD, coherenceJudge, collectionPreserved, commitBisect, compareReferenceReplay, compareToBaseline, compilerJudge, composeParsers, composeValidators, computeToolUseMetrics, confidenceInterval, containsAll, controlFailureClassFromVerification, controlRunToFeedbackTrajectory, correlateLayers, correlationStudy, createAntiSlopJudge, createCompositeMutator, createCustomJudge, createDefaultReviewer, createDomainExpertJudge, createFeedbackTrajectory, createIntentMatchJudge, createLlmReviewer, createSandboxCodeMutator, createSandboxPool, createSemanticConceptJudge, crossTraceDiff, crowdingDistance, decideReferenceReplayPromotion, decideReferenceReplayRunPromotion, defaultJudges, defaultReferenceReplayMatcher, deployGateLayer, distillPlaybook, dominates, estimateCost, estimateTokens, euAiActReport, evaluateContract, evaluateHypothesis, evaluateOracles, executeScenario, expectAgent, exportRewardModel, exportRunAsOtlp, exportTrainingData, extractAssetUrls, extractErrorCount, failureClusterView, feedbackTrajectoriesToDatasetScenarios, feedbackTrajectoriesToOptimizerRows, feedbackTrajectoryToDatasetScenario, feedbackTrajectoryToOptimizerRow, fileContains, fileExists, findAutoMatchNoExpectation, findConstructorCwdDropped, findFallbackToPass, findLiteralTruePass, findSkipCountsAsPass, firstDivergenceView, flowLayer, formatBenchmarkReport, formatDriverReport, formatFindings, gainHistogram, precision as goldenPrecision, gradeSemanticStatus, groupBy, hashContent, hashScenarios, htmlContainsElement, inMemoryReferenceReplayStore, inMemoryReviewStore, interRaterReliability, iqr, isJudgeSpan, isLlmSpan, isPrmVerdict, isRetrievalSpan, isRunRecord, isSandboxSpan, isToolSpan, jestTestParser, jsonHasKeys, jsonShape, jsonlReferenceReplayStore, jsonlReviewStore, judgeAgreementView, judgeReplayGate, judgeSpans, keyPreserved, linterJudge, llmSpanFromProvider, llmSpans, loadScorerFromGrader, localCommandRunner, lowercaseMutator, mannWhitneyU, matchGoldens, mergeLayerResults, mergeSteeringBundle, multiToolchainLayer, nistAiRmfReport, nonRefusalRubric, normalizeScores, notBlocked, objectiveEval, outputLengthRubric, pairedBootstrap, pairedTTest, pairedWilcoxon, paraphraseRobustness, paretoChart, paretoFrontier, paretoFrontierWithCrowding, parseFeedbackTrajectoriesJsonl, parseReflectionResponse, parseRunRecordSafe, partialCredit, passOrthogonality, pixelDeltaRatio, politenessPrefixMutator, positionalBias, printDriverSummary, prmBestOfN, prmEnsembleBestOfN, probeLlm, promptBisect, proposeSynthesisTargets, pytestTestParser, redTeamDataset, redTeamReport, redactString, redactValue, referenceReplayRunsToSteeringRows, referenceReplayScenarioToRunScore, regexMatch, regexMatches, regressionView, renderMarkdown, renderMarkdownReport, renderPlaybookMarkdown, renderPreferenceMemoryMarkdown, renderSteeringText, replayScorerOverCorpus, replayTraceThroughJudge, requiredSampleSize, resetLockedAppendersForTesting, resumeBuilderSession, roundTripRunRecord, rowCount, rowWhere, runAgentControlLoop, runAssertions, runCanaries, runCounterfactual, runE2EWorkflow, runExpectations, runFailureClass, runHarnessExperiment, runIntentMatchJudge, runJudgeFleet, runKeywordCoverageJudge, runKeywordCoverageJudgeUrl, runPromptEvolution, runProposeReview, runProposeReviewAsControlLoop, runReferenceReplay, runSelfPlay, runSemanticConceptJudge, runTestGradedScenario, runsForScenario, scalarScore, scanForMuffledGates, scoreAllProjects, scoreContinuity, scoreProject, scoreRedTeamOutput, scoreReferenceReplay, securityJudge, selectHarnessVariant, selfPreference, sentenceReorderMutator, serializeFeedbackTrajectoriesJsonl, signManifest, soc2Report, statusAdvanced, stopOnNoProgress, stopOnRepeatedAction, stripFencedJson, stuckLoopView, subjectiveEval, summarize, summarizeHarnessResults, summarizePreferenceMemory, summaryTable, testJudge, textInSnapshot, toLangfuseEnvelope, toNdjson, toPrometheusText, toolIntentAlignmentRubric, toolNamesForRun, toolNonRedundantRubric, toolSpans, toolSuccessRubric, toolWasteView, typoMutator, urlContains, validateRunRecord, verbosityBias, verifyManifest, visualDiff, viteDeployRunner, vitestTestParser, weightedMean, weightedRecall, welchsTTest, whitespaceCollapseMutator, wilcoxonSignedRank, withAssignedFeedbackSplit, wranglerDeployRunner };
|
|
8546
|
+
export { type ActionExecutionPolicy, type ActionPolicyDecision, type ActionableSideInfo, type ActiveLearningOptions, type AdapterRun, AgentDriver, type AgentDriverConfig, type AlignmentOp, type AntiSlopConfig, type AntiSlopIssue, type AntiSlopReport, type Artifact$1 as Artifact, type ArtifactCheck, type Artifact as ArtifactCheckArtifact, type ArtifactResult, type ArtifactValidator, type AsiSeverity, AxGepaSteeringOptimizer, type AxSteeringOptimizerConfig, BENCHMARK_SPLIT_SEED, type BaselineOptions, type BaselineReport, BehaviorAssertion, type BenchmarkAdapter, type BenchmarkDatasetItem, type BenchmarkEvaluation, type BenchmarkReport, BenchmarkRunner, type BenchmarkRunnerConfig, type BestOfNResult, type BisectOptions, type BisectResult, type BisectStep, type BootstrapOptions, type BootstrapResult, BudgetBreachError, type BudgetBreachFinding, type BudgetBreachReport, BudgetGuard, type BudgetLedgerEntry, type BudgetSpec, BuilderSession, type BuilderSessionInit, type CalibrationBin, type CalibrationOptions, type CalibrationReport, type CalibrationResult, CallExpectation, type CanaryAlert, type CanaryKind, type CanaryLeak, type CanaryOptions, type CanaryReport, type CanarySeverity, type CandidateScenario, type CandidateScore, type CausalAttributionReport, type ChatSummary, type CheckResult, type CodeMutationOutcome, type CodeMutationRunner, type CollectedArtifacts, type CommandRunner, type CompletionCriterion, type CompositePolicy, type ConceptComplexity, type ConceptFinding, type ConceptSpec, type ConceptWeightStrategy, type ContinuityCheck, type ContinuityCheckResult, type ContinuityReport, type ContinuitySnapshotPair, type ContractMetric, type ContractReport, type ControlActionFailureMode, type ControlActionOutcome, type ControlBudget, type ControlContext, type ControlDecision, type ControlEvalResult, type ControlRunResult, type ControlRuntimeConfig, type ControlRuntimeError, type ControlSeverity, type ControlStep, type ControlStopPolicies, ConvergenceTracker, type CorrelationReport, type CorrelationResult, type CorrelationStudyOptions, type CorrelationStudyResult, type CostEntry, CostLedger, type CostLedgerGeneration, type CostLedgerSnapshot, type CostSummary, CostTracker, type CounterfactualContext, type CounterfactualMutation, type CounterfactualResult, type CounterfactualRunner, type CreateCompositeMutatorOpts, type CreateDefaultReviewerOptions, type CreateSandboxCodeMutatorOpts, type CreateSandboxPoolOpts, type CrossTraceDiff, type CrossTraceDiffOptions, D1ExperimentStore, type D1ExperimentStoreOptions, type D1Like, type D1PreparedStatementLike, DEFAULT_AGENT_SLOS, DEFAULT_COMPLEXITY_WEIGHTS, DEFAULT_RULES as DEFAULT_FAILURE_RULES, DEFAULT_FINDERS, DEFAULT_HARNESS_OBJECTIVES, DEFAULT_MUTATION_PRIMITIVES, DEFAULT_MUTATORS, DEFAULT_REDACTION_RULES, DEFAULT_RED_TEAM_CORPUS, DEFAULT_RUN_SCORE_WEIGHTS, DEFAULT_SEVERITY_WEIGHTS, Dataset, type DatasetDifficulty, type DatasetManifest, type DatasetProvenance, type DatasetScenario, type DatasetSplit, type DeployFamily, type DeployGateLayerInput, type DeployRunResult, type DeployRunner, type DeploymentOutcome, type DirEntry, type Direction, type DivergenceOptions, type DivergenceReport, DockerSandboxDriver, type DriverResult, type DriverState, DualAgentBench, type DualAgentBenchConfig, type DualAgentReport, type DualAgentRound, type DualAgentScenario, type DualAgentScenarioResult, ERROR_COUNT_PATTERNS, type ErrorCountPattern, type EuRiskClass, type EvalMetricSpec, type EvalResult, type EventFilter, type EventKind, type EvolutionRound, type PromptVariant as EvolvableVariant, type ExecutorConfig, type Expectation, type Experiment, type ExperimentPlan, type ExperimentResult, type Run as ExperimentRun, type ExperimentStore, ExperimentTracker, type ExportedRewardModel, type ExtractOptions, type ExtractResult, FAILURE_CLASSES, type FactorContribution, type FactorialCell, type FailureClass, type FailureClassification, type FailureCluster, type FailureClusterReport, 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, FileSystemExperimentStore, type FileSystemExperimentStoreOptions, FileSystemFeedbackTrajectoryStore, FileSystemOutcomeStore, type FileSystemOutcomeStoreOptions, FileSystemTraceStore, type FileSystemTraceStoreOptions, type Finding, type FlowAction, type FlowLayerEnv, type FlowLayerFactoryInput, type FlowRunner, type FlowRunnerStepResult, type FlowSpec, type FlowStep, type GainDistributionBin, type GainDistributionFigureSpec, type GainDistributionOptions, type GateDecision, type GateEvidence, type GenerationReport, type GenericSpan, type GoldenItem, type GoldenSeverity, type GoldenSpec, type GovernanceContext, type GovernanceFinding, type GovernanceReport, type GradedStep, type HarnessAdapter, type HarnessConfig, type HarnessExperimentConfig, type HarnessExperimentResult, type HarnessIntervention, type HarnessRunRequest, type HarnessRunResult, type HarnessScenario, type HarnessSelection, type HarnessVariant, type HarnessVariantReport, HeldOutGate, type HeldOutGateConfig, type HeldOutGateRejectionCode, HoldoutAuditor, HoldoutLockedError, type HostedJudgeConfig, type HostedJudgeDimension, type HostedJudgeRequest, type HostedJudgeResponse, type HostedRunCriticConfig, type HostedRunScoreRequest, type HostedRunScoreResponse, type HypothesisManifest, type HypothesisResult, INTENT_MATCH_JUDGE_VERSION, type ImageData, InMemoryExperimentStore, InMemoryFeedbackTrajectoryStore, InMemoryOutcomeStore, InMemoryTraceStore, InMemoryTrialCache, InMemoryWorkspaceInspector, type InferenceScorer, type InspectorContext, type IntentMatchInput, type IntentMatchOptions, type IntentMatchResult, type InteractionContribution, JsonlTrialCache, type JudgeAgreementReport, type JudgeConfig, type JudgeFleetOptions, type JudgeFn, type JudgeInput, type JudgePair, type JudgeReplayGateArgs, type JudgeReplayResult, type JudgeRubric, JudgeRunner, type JudgeScore, type JudgeSpan, type KeywordConceptSpec, type KeywordCoverageFinding, type KeywordCoverageOptions, type KeywordCoverageResult, type LangfuseEnvelope, type LangfuseGeneration, type LangfuseScore, type Layer, type LayerCorrelation, type LayerResult, type LayerStatus, type LineageKind, type LineageKindResolver, type LineageNode, LineageRecorder, LlmCallError, type LlmCallRequest, type LlmCallResult, LlmClient, type LlmClientOptions, type LlmJsonCall, type LlmMessage, type LlmReviewerConfig, type LlmSpan, type LlmUsage, LockedJsonlAppender, MODEL_PRICING, type MatchResult, type MatcherResult, type MeasurementPolicy, type MergeOptions, type Message, type MetricSamples, type MetricVerdict, MetricsCollector, type MuffledFinder, type MuffledFinding, MultiLayerVerifier, type MultiShotGateConfig, type MultiShotGateResult, type MultiShotMutateAdapter, type MultiShotOptimizationConfig, type MultiShotOptimizationResult, type MultiShotRun, type MultiShotRunInput, type MultiShotRunner, type MultiShotScore, type MultiShotScorer, type MultiShotSplit, type MultiShotTrace, type MultiShotTrialResult, type MultiShotVariant, type MultiToolchainLayerConfig, type MutateAdapter, type MutationAttempt, type MutationChannel, MutationTelemetry, type Mutator, Mutex, NoopResearcher, OTEL_AGENT_EVAL_SCOPE, type Objective, type OptimizationConfig, type OptimizationExample, OptimizationLoop, type OptimizationLoopConfig, type OptimizationLoopResult, type OptimizationResult, type Oracle, type OracleObservation, type OracleReport, type OracleResult, type OrthogonalityInput, type OrthogonalityResult, type OtlpExport, type OtlpResourceSpans, type OtlpSpan, type OutcomeFilter, type OutcomePair, type OutcomeStore, type PairedBootstrapOptions, type PairedBootstrapResult, type PairwiseComparison, PairwiseSteeringOptimizer, type ParetoFigureSpec, type ParetoPoint, type ParetoResult, type PersonaConfig, type Playbook, type PlaybookEntry, type PoolSlot, type PositionalBiasResult, type PreferenceMemoryEntry, type PrmGradedTrace, PrmGrader, type PrmTrainingSample, ProductClient, type ProductClientConfig, type ProjectKind, ProjectRegistry, type ProjectSummary, type ProjectTimelineEntry, type PromptEvolutionConfig, type PromptEvolutionEvent, type PromptEvolutionResult, type PromptHandle, PromptOptimizer, PromptRegistry, type TrialResult as PromptTrialResult, type PromptVariant$1 as PromptVariant, type ProposeFn, type ProposeInput, type ProposeOutput, type ProposeReviewConfig, type ProposeReviewControlAction, type ProposeReviewControlConfig, type ProposeReviewControlResult, type ProposeReviewControlState, type ProposeReviewReport, type ProposeReviewShot, type ProposedSideEffect, REDACTION_VERSION, type RedTeamCase, type RedTeamCategory, type RedTeamFinding, type RedTeamPayload, type RedTeamReport, type RedactionReport, type RedactionRule, 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 RegressionOptions, type RegressionSpec, 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 RobustnessResult, type RouteMap, type RubricDimension, type Run$1 as Run, type RunAppScenarioOptions, type RunCommandInput, type RunCommandResult, type RunConfig, RunCritic, type RunCriticOptions, type RunDiff, type RunFilter, type RunJudgeMetadata, type RunLayer, type RunOutcome, type RunRecord, RunRecordValidationError, type RunScore, type RunScoreWeights, type RunSplitTag, type RunStatus, type RunTokenUsage, type RunTrace, SEMANTIC_CONCEPT_JUDGE_VERSION, type SandboxDriver, SandboxHarness, type SandboxHarnessResult, type SandboxJudgeKind, type SandboxJudgeResult, type SandboxJudgeSpec, type SandboxPool, type SandboxResult, type SandboxSpan, type ScanOptions, type Scenario, type ScenarioAggregate, type ScenarioCost, type ScenarioFile, ScenarioRegistry, type ScenarioResult, type ScoreAdapter, type ScoredTarget, type SelfPlayOptions, type SelfPlayProposer, type SelfPlayScorer, type SelfPreferenceResult, type SemanticConceptJudgeInput, type SemanticConceptJudgeOptions, type SemanticConceptJudgeResult, type SeriesConvergenceOptions, type SeriesConvergenceResult, type Severity, type ShipOptions, type SignedManifest, type SliceOptions, type Slo, type SloCheckResult, type SloComparator, type SloReport, type SloSeverity, type SlopCategory, type SlotFactory, type Span, type SpanBase, type SpanFilter, type SpanHandle, type SpanKind, type SpanStatus, type SteeringBundle, type SteeringChange, type SteeringDelta, type SteeringEvaluation, type SteeringOptimizationResult, type SteeringOptimizationRow, type SteeringOptimizationSelector, type SteeringOptimizerBackend, type SteeringOptimizerConfig, type SteeringRolePrompt, type SteeringVariantReport, type StepAttribution, type StepContext, type StepRubric, type StopDecision, type StuckLoopFinding, type StuckLoopOptions, type StuckLoopReport, SubprocessSandboxDriver, type SubprocessSandboxDriverOptions, type SummaryTable, type SummaryTableOptions, type SummaryTableRow, type SynthesisReason, type SynthesisTarget, TRACE_SCHEMA_VERSION, type TestGradedRunOptions, type TestGradedRunResult, type TestGradedScenario, type TestOutputParser, type TestResult, type ThreeLayerProjectReport, type ThresholdContract, TokenCounter, type TokenSpec, type ToolSpan, type ToolStats, type ToolUseMetrics, type ToolUseOptions, type ToolWasteFinding, type ToolWasteOptions, type ToolWasteReport, TraceEmitter, type TraceEmitterOptions, type TraceEvent, type TraceStore, type Trajectory, type TrajectoryStep, type TrialAttempt, type TrialCache, TrialTelemetry, type TrialTrace, type Turn, type TurnMetrics, type TurnResult, UNIVERSAL_FINDERS, type UseCaseSignals, type ValidationContext, type ValidationIssue, type ValidationResult, type VariantAggregate, type VariantScore, type VerbosityBiasResult, type Verdict, type Verification, type VerificationReport, type VerifyContext, type VerifyFn, type VerifyOptions, type VisualDiffOptions, type VisualDiffResult, type ViteDeployRunnerInput, type WorkflowTopology, type WorkspaceAssertion, type WorkspaceAssertionResult, type WorkspaceInspector, type WorkspaceSnapshot, type WranglerDeployRunnerInput, adversarialJudge, aggregateLlm, aggregateRunScore, allCriticalPassed, analyzeAntiSlop, analyzeSeries, argHash, assignFeedbackSplit, attributeCounterfactuals, deterministicSplit as benchmarkDeterministicSplit, index as benchmarks, benjaminiHochberg, bhAdjust, bisect, bonferroni, bootstrapCi, budgetBreachView, buildReflectionPrompt, buildReviewerPrompt, buildTrajectory, byteLengthRange, calibrateJudge, calibrationCurve, callLlm, callLlmJson, canaryLeakView, causalAttribution, checkCanaries, checkSlos, clamp01, classifyEuAiRisk, classifyFailure, codeExecutionJudge, cohensD, coherenceJudge, collectionPreserved, commitBisect, compareReferenceReplay, compareToBaseline, compilerJudge, composeParsers, composeValidators, computeToolUseMetrics, confidenceInterval, containsAll, controlFailureClassFromVerification, controlRunToFeedbackTrajectory, correlateLayers, correlationStudy, createAntiSlopJudge, createCompositeMutator, createCustomJudge, createDefaultReviewer, createDomainExpertJudge, createFeedbackTrajectory, createIntentMatchJudge, createLlmReviewer, createSandboxCodeMutator, createSandboxPool, createSemanticConceptJudge, crossTraceDiff, crowdingDistance, decideReferenceReplayPromotion, decideReferenceReplayRunPromotion, defaultJudges, defaultMultiShotObjectives, defaultReferenceReplayMatcher, deployGateLayer, distillPlaybook, dominates, estimateCost, estimateTokens, euAiActReport, evaluateActionPolicy, evaluateContract, evaluateHypothesis, evaluateOracles, executeScenario, expectAgent, exportRewardModel, exportRunAsOtlp, exportTrainingData, extractAssetUrls, extractErrorCount, failureClusterView, feedbackTrajectoriesToDatasetScenarios, feedbackTrajectoriesToOptimizerRows, feedbackTrajectoryToDatasetScenario, feedbackTrajectoryToOptimizerRow, fileContains, fileExists, findAutoMatchNoExpectation, findConstructorCwdDropped, findFallbackToPass, findLiteralTruePass, findSkipCountsAsPass, firstDivergenceView, flowLayer, formatBenchmarkReport, formatDriverReport, formatFindings, gainHistogram, precision as goldenPrecision, gradeSemanticStatus, groupBy, hashContent, hashScenarios, htmlContainsElement, inMemoryReferenceReplayStore, inMemoryReviewStore, interRaterReliability, iqr, isJudgeSpan, isLlmSpan, isPrmVerdict, isRetrievalSpan, isRunRecord, isSandboxSpan, isToolSpan, jestTestParser, jsonHasKeys, jsonShape, jsonlReferenceReplayStore, jsonlReviewStore, judgeAgreementView, judgeReplayGate, judgeSpans, keyPreserved, linterJudge, llmSpanFromProvider, llmSpans, loadScorerFromGrader, localCommandRunner, lowercaseMutator, mannWhitneyU, matchGoldens, mergeLayerResults, mergeSteeringBundle, multiToolchainLayer, nistAiRmfReport, nonRefusalRubric, normalizeScores, notBlocked, objectiveEval, outputLengthRubric, pairedBootstrap, pairedTTest, pairedWilcoxon, paraphraseRobustness, paretoChart, paretoFrontier, paretoFrontierWithCrowding, parseFeedbackTrajectoriesJsonl, parseReflectionResponse, parseRunRecordSafe, partialCredit, passOrthogonality, pixelDeltaRatio, politenessPrefixMutator, positionalBias, printDriverSummary, prmBestOfN, prmEnsembleBestOfN, probeLlm, promptBisect, proposeSynthesisTargets, pytestTestParser, redTeamDataset, redTeamReport, redactString, redactValue, referenceReplayRunsToSteeringRows, referenceReplayScenarioToRunScore, regexMatch, regexMatches, regressionView, renderMarkdown, renderMarkdownReport, renderPlaybookMarkdown, renderPreferenceMemoryMarkdown, renderSteeringText, replayFeedbackTrajectories, replayFeedbackTrajectory, replayScorerOverCorpus, replayTraceThroughJudge, requiredSampleSize, resetLockedAppendersForTesting, resumeBuilderSession, roundTripRunRecord, rowCount, rowWhere, runAgentControlLoop, runAssertions, runCanaries, runCounterfactual, runE2EWorkflow, runExpectations, runFailureClass, runHarnessExperiment, runIntentMatchJudge, runJudgeFleet, runKeywordCoverageJudge, runKeywordCoverageJudgeUrl, runMultiShotOptimization, runPromptEvolution, runProposeReview, runProposeReviewAsControlLoop, runReferenceReplay, runSelfPlay, runSemanticConceptJudge, runTestGradedScenario, runsForScenario, scalarScore, scanForMuffledGates, scoreAllProjects, scoreContinuity, scoreProject, scoreRedTeamOutput, scoreReferenceReplay, securityJudge, selectHarnessVariant, selfPreference, sentenceReorderMutator, serializeFeedbackTrajectoriesJsonl, signManifest, soc2Report, statusAdvanced, stopOnNoProgress, stopOnRepeatedAction, stripFencedJson, stuckLoopView, subjectiveEval, summarize, summarizeHarnessResults, summarizePreferenceMemory, summaryTable, testJudge, textInSnapshot, toLangfuseEnvelope, toNdjson, toPrometheusText, toolIntentAlignmentRubric, toolNamesForRun, toolNonRedundantRubric, toolSpans, toolSuccessRubric, toolWasteView, trialTraceFromMultiShotTrial, typoMutator, urlContains, validateRunRecord, verbosityBias, verifyManifest, visualDiff, viteDeployRunner, vitestTestParser, weightedMean, weightedRecall, welchsTTest, whitespaceCollapseMutator, wilcoxonSignedRank, withAssignedFeedbackSplit, wranglerDeployRunner };
|