@tangle-network/agent-eval 0.100.2 → 0.101.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 +19 -0
- package/dist/adapters/http.d.ts +1 -1
- package/dist/adapters/langchain.d.ts +1 -1
- package/dist/adapters/otel.d.ts +1 -1
- package/dist/campaign/index.d.ts +58 -8
- package/dist/campaign/index.js +207 -34
- package/dist/campaign/index.js.map +1 -1
- package/dist/chunk-63MBSQTX.js +350 -0
- package/dist/chunk-63MBSQTX.js.map +1 -0
- package/dist/{chunk-G7IB3GJ5.js → chunk-CHIFZIQD.js} +3 -3
- package/dist/{chunk-VWQ6PO5O.js → chunk-GUII3E73.js} +54 -1
- package/dist/{chunk-VWQ6PO5O.js.map → chunk-GUII3E73.js.map} +1 -1
- package/dist/{chunk-2KTBHICD.js → chunk-NK77GPUH.js} +3 -3
- package/dist/chunk-NK77GPUH.js.map +1 -0
- package/dist/{chunk-QZYXA7ZO.js → chunk-X5OUZB4T.js} +2 -2
- package/dist/{chunk-HRGTA6U5.js → chunk-XIOQHCHU.js} +256 -32
- package/dist/chunk-XIOQHCHU.js.map +1 -0
- package/dist/contract/index.d.ts +6 -6
- package/dist/contract/index.js +7 -7
- package/dist/{gepa-BRgNnmGZ.d.ts → gepa-CEy1AIWp.d.ts} +36 -2
- package/dist/hosted/index.d.ts +1 -1
- package/dist/index.d.ts +57 -7
- package/dist/index.js +33 -132
- package/dist/index.js.map +1 -1
- package/dist/multishot/index.d.ts +1 -1
- package/dist/openapi.json +1 -1
- package/dist/{pre-registration-DB8oDqZJ.d.ts → pre-registration-BjGZf9YA.d.ts} +1 -1
- package/dist/product-benchmark/index.d.ts +144 -0
- package/dist/product-benchmark/index.js +23 -0
- package/dist/{provenance-B0SZw1z2.d.ts → provenance-DdfmVfqR.d.ts} +2 -2
- package/dist/rl.d.ts +1 -1
- package/dist/{run-campaign-OWCFOEQG.js → run-campaign-HG4WTSDH.js} +4 -2
- package/dist/run-campaign-HG4WTSDH.js.map +1 -0
- package/dist/{types-Cv1bo4_a.d.ts → types-fWqEJm7h.d.ts} +3 -0
- package/docs/concepts.md +1 -0
- package/docs/eval-fixtures.md +115 -0
- package/docs/feature-guide.md +4 -0
- package/package.json +6 -1
- package/dist/chunk-2KTBHICD.js.map +0 -1
- package/dist/chunk-HRGTA6U5.js.map +0 -1
- /package/dist/{chunk-G7IB3GJ5.js.map → chunk-CHIFZIQD.js.map} +0 -0
- /package/dist/{chunk-QZYXA7ZO.js.map → chunk-X5OUZB4T.js.map} +0 -0
- /package/dist/{run-campaign-OWCFOEQG.js.map → product-benchmark/index.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -18,8 +18,8 @@ import { A as AgentEvalError, J as JudgeError, a as ConfigError } from './errors
|
|
|
18
18
|
export { b as AgentEvalErrorCode, C as CaptureIntegrityError, N as NotFoundError, R as ReplayError, V as ValidationError, c as VerificationError } from './errors-CzMUYo7b.js';
|
|
19
19
|
import { b as FeedbackLabel, F as FeedbackTrajectoryStore, a as FeedbackTrajectory } from './feedback-trajectory-BxY0cKfs.js';
|
|
20
20
|
export { c as FeedbackArtifactType, d as FeedbackAttempt, e as FeedbackLabelKind, f as FeedbackLabelSource, g as FeedbackOptimizerRow, h as FeedbackOutcome, i as FeedbackReplayAdapter, j as FeedbackReplayResult, k as FeedbackSeverity, l as FeedbackSplitPolicy, m as FeedbackTask, n as FeedbackTrajectoryFilter, o as FileSystemFeedbackTrajectoryStore, I as InMemoryFeedbackTrajectoryStore, P as PreferenceMemoryEntry, p as ProposedSideEffect, q as assignFeedbackSplit, r as controlRunToFeedbackTrajectory, s as createFeedbackTrajectory, t as feedbackTrajectoriesToDatasetScenarios, u as feedbackTrajectoriesToOptimizerRows, v as feedbackTrajectoryToDatasetScenario, w as feedbackTrajectoryToOptimizerRow, x as parseFeedbackTrajectoriesJsonl, y as renderPreferenceMemoryMarkdown, z as replayFeedbackTrajectories, A as replayFeedbackTrajectory, B as serializeFeedbackTrajectoriesJsonl, C as summarizePreferenceMemory, D as withAssignedFeedbackSplit } from './feedback-trajectory-BxY0cKfs.js';
|
|
21
|
-
import { b as CorrectnessChecker } from './pre-registration-
|
|
22
|
-
export { A as ArtifactCheckArtifact, d as ArtifactEventLike, e as ArtifactValidator, f as BackendIntegrityError, B as BackendIntegrityReport, C as CompletionRequirement, a as CompletionVerdict, H as HypothesisManifest, g as HypothesisResult, h as LlmCorrectnessCheckerOpts, L as LlmJudgeDimension, c as LlmJudgeOptions, i as ProducedProposal, P as ProducedState, j as ProposalEventLike, k as RequirementCheck, R as RuntimeEventLike, m as SatisfiedBy, S as SignedManifest, n as SignedManifestAlgo, T as TaskGold, o as ToolCallEventLike, V as ValidationContext, p as ValidationIssue, q as ValidationResult, r as assertRealBackend, s as byteLengthRange, t as canonicalize, u as completionVerdict, v as composeValidators, w as containsAll, x as createLlmCorrectnessChecker, y as createTokenRecallChecker, z as evaluateHypothesis, D as extractProducedState, E as hashJson, F as jsonHasKeys, l as llmJudge, G as parseCorrectnessResponse, I as regexMatch, J as signManifest, K as summarizeBackendIntegrity, M as verifyCompletion, N as verifyManifest } from './pre-registration-
|
|
21
|
+
import { b as CorrectnessChecker } from './pre-registration-BjGZf9YA.js';
|
|
22
|
+
export { A as ArtifactCheckArtifact, d as ArtifactEventLike, e as ArtifactValidator, f as BackendIntegrityError, B as BackendIntegrityReport, C as CompletionRequirement, a as CompletionVerdict, H as HypothesisManifest, g as HypothesisResult, h as LlmCorrectnessCheckerOpts, L as LlmJudgeDimension, c as LlmJudgeOptions, i as ProducedProposal, P as ProducedState, j as ProposalEventLike, k as RequirementCheck, R as RuntimeEventLike, m as SatisfiedBy, S as SignedManifest, n as SignedManifestAlgo, T as TaskGold, o as ToolCallEventLike, V as ValidationContext, p as ValidationIssue, q as ValidationResult, r as assertRealBackend, s as byteLengthRange, t as canonicalize, u as completionVerdict, v as composeValidators, w as containsAll, x as createLlmCorrectnessChecker, y as createTokenRecallChecker, z as evaluateHypothesis, D as extractProducedState, E as hashJson, F as jsonHasKeys, l as llmJudge, G as parseCorrectnessResponse, I as regexMatch, J as signManifest, K as summarizeBackendIntegrity, M as verifyCompletion, N as verifyManifest } from './pre-registration-BjGZf9YA.js';
|
|
23
23
|
export { DataAcquisitionPlan, KnowledgeAcquisitionMode, KnowledgeBundle, KnowledgeFallbackPolicy, KnowledgeFreshness, KnowledgeImportance, KnowledgeReadinessReport, KnowledgeRecommendedAction, KnowledgeRequirement, KnowledgeRequirementCategory, KnowledgeResponsibleSurface, KnowledgeSensitivity, ScoreKnowledgeReadinessOptions, UserQuestion, acquisitionPlansForKnowledgeGaps, blockingKnowledgeEval, knowledgeReadinessTracePayload, scoreKnowledgeReadiness, userQuestionsForKnowledgeGaps } from './knowledge/index.js';
|
|
24
24
|
import { h as ReleaseConfidenceThresholds, f as ReleaseConfidenceScorecard } from './release-report-B1tA6pKu.js';
|
|
25
25
|
export { A as ActionableSideInfo, o as AsiSeverity, B as BootstrapOptions, a as BootstrapResult, J as JudgeReplayGateArgs, R as ReleaseConfidenceAxis, b as ReleaseConfidenceAxisName, c as ReleaseConfidenceInput, d as ReleaseConfidenceIssue, e as ReleaseConfidenceMetrics, g as ReleaseConfidenceStatus, i as ReleaseTraceEvidence, j as RenderReleaseReportOptions, V as Verdict, k as assertReleaseConfidence, l as bootstrapCi, m as evaluateReleaseConfidence, n as judgeReplayGate, r as renderReleaseReport } from './release-report-B1tA6pKu.js';
|
|
@@ -30,7 +30,7 @@ import { a as AnalyzeTracesInput, A as AnalyzeTracesOptions, b as AnalyzeTracesR
|
|
|
30
30
|
export { c as AnalyzeTracesTurnSnapshot, d as analyzeTraces } from './analyst-C8HHvfJp.js';
|
|
31
31
|
import { a as TraceAnalystSpan } from './store-C1YxJDEK.js';
|
|
32
32
|
export { D as DEFAULT_TRACE_ANALYST_BUDGETS, b as DatasetOverview, E as ErrorCluster, Q as QueryTracesPage, S as SearchSpanResult, c as SearchTraceResult, d as SpanMatchRecord, e as TRACE_ANALYST_TRUNCATION_MARKER_PREFIX, T as TraceAnalysisStore, f as TraceAnalystByteBudgets, g as TraceAnalystFilters, h as TraceAnalystSpanKind, i as TraceAnalystSpanStatus, j as TraceAnalystTraceSummary, V as ViewSpansResult, k as ViewTraceOversized, l as ViewTraceResult } from './store-C1YxJDEK.js';
|
|
33
|
-
import { a as JudgeConfig, J as JudgeScore, S as Scenario$1, g as Gate } from './types-
|
|
33
|
+
import { a as JudgeConfig, J as JudgeScore, S as Scenario$1, g as Gate } from './types-fWqEJm7h.js';
|
|
34
34
|
import { A as AnalyzeRunsOptions } from './analyze-runs-BlJRBniC.js';
|
|
35
35
|
import { S as SteeringBundle } from './harness-optimizer-mOl9XX_O.js';
|
|
36
36
|
export { D as DEFAULT_HARNESS_OBJECTIVES, H as HarnessAdapter, a as HarnessExperimentConfig, b as HarnessExperimentResult, c as HarnessIntervention, d as HarnessRunRequest, e as HarnessRunResult, f as HarnessScenario, g as HarnessSelection, h as HarnessVariant, i as HarnessVariantReport, M as MeasurementPolicy, j as SteeringDelta, k as SteeringRolePrompt, W as WorkflowTopology, m as mergeSteeringBundle, r as renderSteeringText, l as runHarnessExperiment, s as selectHarnessVariant, n as summarizeHarnessResults } from './harness-optimizer-mOl9XX_O.js';
|
|
@@ -52,8 +52,8 @@ import { a as BaselineReport } from './baseline-Bbid3WoO.js';
|
|
|
52
52
|
export { B as BaselineOptions, M as MetricSamples, b as MetricVerdict, T as ToolStats, d as ToolUseMetrics, e as ToolUseOptions, f as compareToBaseline, c as computeToolUseMetrics, i as iqr, w as welchsTTest } from './baseline-Bbid3WoO.js';
|
|
53
53
|
import { a as TrajectoryStep, T as Trajectory } from './trajectory-2TkpSEVh.js';
|
|
54
54
|
export { b as buildTrajectory } from './trajectory-2TkpSEVh.js';
|
|
55
|
-
import { AgentProfile } from '@tangle-network/agent-interface';
|
|
56
|
-
export { AgentProfile } from '@tangle-network/agent-interface';
|
|
55
|
+
import { HarnessType, AgentProfile } from '@tangle-network/agent-interface';
|
|
56
|
+
export { AgentProfile, HarnessType } from '@tangle-network/agent-interface';
|
|
57
57
|
import { b as ChannelRollup, C as CostLedger } from './cost-ledger-DuSqlw5B.js';
|
|
58
58
|
export { a as CostChannel, c as CostLedgerEntry, d as CostLedgerSummary, e as CostResult, f as CostUsage, g as costForUsage, m as modelPriceKey } from './cost-ledger-DuSqlw5B.js';
|
|
59
59
|
export { D as Direction, O as Objective, P as ParetoResult, c as crowdingDistance, d as dominates, p as paretoFrontier, a as paretoFrontierWithCrowding, s as scalarScore } from './pareto-E-pembql.js';
|
|
@@ -75,8 +75,9 @@ export { C as CallbackResearcher, d as CallbackResearcherOptions, e as CampaignF
|
|
|
75
75
|
export { G as GainDistributionBin, a as GainDistributionFigureSpec, b as GainDistributionOptions, m as GateDecision, n as GateEvidence, H as HeldOutGate, o as HeldOutGateConfig, q as HeldOutGateRejectionCode, P as ParetoFigureSpec, c as ParetoPoint, R as RESEARCH_REPORT_HARD_PAIR_FLOOR, d as ResearchReport, e as ResearchReportCandidate, f as ResearchReportDecision, g as ResearchReportMethodology, h as ResearchReportOptions, i as ResearchReportRecommendation, S as SummaryTable, j as SummaryTableOptions, k as SummaryTableRow, l as gainHistogram, p as paretoChart, r as researchReport, s as summaryTable } from './summary-report-C4uzRWh8.js';
|
|
76
76
|
export { L as LockedJsonlAppender } from './testing-C21CHsq2.js';
|
|
77
77
|
export { I as InterimReleaseConfidence, a as InterimReleaseConfidenceInput, P as PairedEvalueOptions, b as PairedEvalueSequence, c as PairedEvalueStep, S as SequentialDecision, e as evaluateInterimReleaseConfidence, p as pairedEvalueSequence } from './sequential-5iSVfzl2.js';
|
|
78
|
-
import {
|
|
78
|
+
import { j as GepaProposerConstraints, b as RunImprovementLoopResult } from './gepa-CEy1AIWp.js';
|
|
79
79
|
export { IntegrityResult, IntegrityViolation, JourneySpec, PerfBaseline, PerfGateResult, PerfRegression, PerfScenario, PerfStat, ScenarioAxes, assertRecordIntegrity, checkRecordIntegrity, expandMatrix, gatePerf, scenarioKey, summarizeRecords } from './perf/index.js';
|
|
80
|
+
export { AgentProfileRuntimeReceipt, ProductBenchmarkArm, ProductBenchmarkArtifactPaths, ProductBenchmarkBudgets, ProductBenchmarkManifest, ProductBenchmarkProfileRef, ProductBenchmarkRecord, ProductBenchmarkRepoRef, ProductBenchmarkRunInput, ProductBenchmarkScenario, ProductBenchmarkSplit, ProductBenchmarkSubstrateVersions, ProductBenchmarkValidationReport, RuntimeResolution, findProductBenchmarkArtifacts, productBenchmarkIntegrityFailures, productBenchmarkSplits, readProductBenchmarkManifest, readProductBenchmarkRecords, validateProductBenchmarkManifest, validateProductBenchmarkRecord, validateProductBenchmarkRun } from './product-benchmark/index.js';
|
|
80
81
|
import '@ax-llm/ax';
|
|
81
82
|
import 'zod';
|
|
82
83
|
import './insight-report-C02J3q4T.js';
|
|
@@ -1969,6 +1970,55 @@ declare function blendHeldout(heldoutPassRate: number, judgeScore: number, weigh
|
|
|
1969
1970
|
*/
|
|
1970
1971
|
declare function withHeldoutBlend<TArtifact>(score: (input: JudgeScoreInput<TArtifact>) => JudgeScore | Promise<JudgeScore>, heldoutPassRate: (artifact: TArtifact) => number, weights?: BlendWeights): (input: JudgeScoreInput<TArtifact>) => Promise<JudgeScore>;
|
|
1971
1972
|
|
|
1973
|
+
/**
|
|
1974
|
+
* The agentic coding harnesses an eval sweeps by default — the ones we care about
|
|
1975
|
+
* ranking. This is the SINGLE source of that list; consumers import it instead of
|
|
1976
|
+
* re-declaring their own (a re-declared list is how the fleet drifts). Pass an
|
|
1977
|
+
* explicit `harnesses` (e.g. `harnessTypeSchema.options` for literally every known
|
|
1978
|
+
* harness) to widen beyond these.
|
|
1979
|
+
*/
|
|
1980
|
+
declare const CODING_HARNESSES: readonly HarnessType[];
|
|
1981
|
+
interface ProfileAxisSpec {
|
|
1982
|
+
/** The domain profile to sweep. Its prompt/tools/skills are held fixed; only the
|
|
1983
|
+
* harness and model vary. `model.default` is the fallback model. */
|
|
1984
|
+
base: AgentProfile;
|
|
1985
|
+
/** Harnesses to cross. Default: {@link CODING_HARNESSES}. */
|
|
1986
|
+
harnesses?: readonly HarnessType[];
|
|
1987
|
+
/** Models to cross. Default: `[base.model.default]` — one model, i.e. today's
|
|
1988
|
+
* single-model behaviour, so omitting this never changes an existing run. */
|
|
1989
|
+
models?: readonly string[];
|
|
1990
|
+
/** Keep (harness, model) pairs the harness can't run instead of dropping them.
|
|
1991
|
+
* Default: drop (via `harnessSupportsModel`), so a vendor-locked harness paired
|
|
1992
|
+
* with a foreign model doesn't become a guaranteed-failing cell. */
|
|
1993
|
+
keepIncompatible?: boolean;
|
|
1994
|
+
}
|
|
1995
|
+
/**
|
|
1996
|
+
* Expand a base profile across the harness × model matrix into the `AgentProfile[]`
|
|
1997
|
+
* that `runProfileMatrix` / `selfImprove` score — the ONE place "which harnesses ×
|
|
1998
|
+
* which models do we evaluate" lives, so no product hand-rolls its own harness list
|
|
1999
|
+
* or column→profile mapping (the pattern that let those copies drift and silently
|
|
2000
|
+
* break the harness pivot).
|
|
2001
|
+
*
|
|
2002
|
+
* Each cell clones `base`, sets `model.default`, and stamps `metadata.harness` +
|
|
2003
|
+
* `metadata.harnessModel` (both hash-bearing, so every cell gets a distinct
|
|
2004
|
+
* `agentProfileId` row and results join back by harness/model via {@link harnessAxisOf}
|
|
2005
|
+
* with no hand-recomputed key). Incompatible pairs are dropped unless `keepIncompatible`.
|
|
2006
|
+
*
|
|
2007
|
+
* Omit `harnesses`/`models` to sweep the full default set — the "turn it on for
|
|
2008
|
+
* everything we care about" switch, identical in shape whether one harness or all.
|
|
2009
|
+
*/
|
|
2010
|
+
declare function expandProfileAxes(spec: ProfileAxisSpec): AgentProfile[];
|
|
2011
|
+
/**
|
|
2012
|
+
* Read the (harness, model) a matrix cell ran under, off a profile or a result row's
|
|
2013
|
+
* profile — the join-back for a `byHarness` pivot. Returns undefined when the profile
|
|
2014
|
+
* wasn't produced by {@link expandProfileAxes}. Callers group `result.byProfile` by
|
|
2015
|
+
* this instead of recomputing an id (recomputing the wrong key is what broke the pivot
|
|
2016
|
+
* in the hand-rolled copies).
|
|
2017
|
+
*/
|
|
2018
|
+
declare function harnessAxisOf(profile: Pick<AgentProfile, 'metadata'>): {
|
|
2019
|
+
harness: HarnessType;
|
|
2020
|
+
model: string;
|
|
2021
|
+
} | undefined;
|
|
1972
2022
|
/**
|
|
1973
2023
|
* Collision-resistant, path-safe, human-readable profile id for eval artifacts.
|
|
1974
2024
|
* Scorecard joins still use `agentProfileHash`; this id is for run ids, matrix
|
|
@@ -6019,4 +6069,4 @@ type CachedJudge<TArtifact, TScenario extends Scenario$1 = Scenario$1> = JudgeCo
|
|
|
6019
6069
|
*/
|
|
6020
6070
|
declare function cachedJudge<TArtifact, TScenario extends Scenario$1 = Scenario$1>(judge: JudgeConfig<TArtifact, TScenario>, store: VerdictCacheStore, options: CachedJudgeOptions): CachedJudge<TArtifact, TScenario>;
|
|
6021
6071
|
|
|
6022
|
-
export { ATTESTATION_ALGORITHM, type ActiveLearningOptions, type AdapterRun, AgentDriver, type AgentDriverConfig, AgentEvalError, type AgreementResult, type AlignmentOp, AnalyzeTracesInput, AnalyzeTracesOptions, AnalyzeTracesResult, type AntiSlopConfig, type AntiSlopIssue, type AntiSlopReport, type AssertCrossFamilyOptions, type AssertSingleBackendOptions, type AttestationProvenance, type AttestationVerification, type AttestedReport, type AutoPrClient, AxGepaSteeringOptimizer, type AxSteeringOptimizerConfig, type BackendDescriptor, BaselineReport, BehaviorAssertion, BehavioralMetrics, BenchmarkReport, BenchmarkRunner, BenchmarkRunnerConfig, type BisectOptions, type BisectResult, type BisectStep, type BlendWeights, BudgetBreachError, BudgetGuard, BudgetLedgerEntry, BudgetSpec, type BuildAgreementJudgeOptions, type CachedJudge, type CachedJudgeOptions, CallExpectation, type CanaryAlert, type CanaryKind, type CanaryLeak, type CanaryOptions, type CanaryReport, type CanarySeverity, type CandidateComparison, type CandidateScenario, type CausalAttributionReport, type CellVerdict, ChannelRollup, ChatRequest, CheckResult, CollectedArtifacts, type CommandRunner, type CompareLabels, CompletionCriterion, ConfigError, type ContinuityCheck, type ContinuityCheckResult, type ContinuityReport, type ContinuitySnapshotPair, type ContractCheckResult, type ContractJudgeOptions, type ContractMetric, type ContractReport, type ContractRule, type ContractRuleKind, type ContractSpan, type ContractVerdict, type ContractViolation, ConvergenceTracker, CorrectnessChecker, type CostEntry, CostLedger, type CostReport, type CostSummary, CostTracker, CreateChatClientOpts, type CreateDefaultReviewerOptions, type CreateExperimentInput, type CreateSandboxPoolOpts, CrossFamilyError, type CrossTraceDiff, type CrossTraceDiffOptions, DEFAULT_AGENT_SLOS, DEFAULT_FINDERS, DEFAULT_MUTATION_PRIMITIVES, DEFAULT_MUTATORS, DEFAULT_PR_REVIEW_SCORE_WEIGHTS, DEFAULT_SEVERITY_WEIGHTS, Dataset, DatasetScenario, type DecideNextUserTurnOpts, 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 DiffScorecardOptions, type DirEntry, type DiscoverPersonasOptions, type DiscoveredPersona, DriverResult, DriverState, DualAgentBench, type DualAgentBenchConfig, type DualAgentReport, type DualAgentRound, type DualAgentScenario, type DualAgentScenarioResult, ERROR_COUNT_PATTERNS, type EnsembleAggregate, type EnsembleJudgeOptions, type ErrorCountPattern, type ErrorStreakOptions, type EvalToolDef, EvalTraceStore, type EvolutionRound, type ExecutorConfig, type Expectation, type Experiment, type ExperimentProvenance, type ExperimentRep, type ExperimentStats, type ExperimentStore, ExperimentTracker, type ExperimentTrackerOptions, type ExperimentVerdict, type ExportedRewardModel, type ExtractOptions, type ExtractResult, type FactorContribution, type FactorialCell, FailureClass, FeedbackLabel, FeedbackTrajectory, FeedbackTrajectoryStore, type FieldAgreementSpec, type FieldDestination, type FileChange, type FlowAction, type FlowLayerEnv, type FlowLayerFactoryInput, type FlowRunner, type FlowRunnerStepResult, type FlowSpec, type FlowStep, type GhCliClientOptions, type GoldScenario, type GoldSplit, type GoldenSeverity, type GoldenSpec, HarnessConfig, type HeldOutPartition, type HiddenCriteriaGrader, type HiddenGradeResult, type HiddenLeak, HoldoutAuditor, type HttpGithubClientOptions, INTENT_MATCH_JUDGE_VERSION, type ImageData, type ImprovementThresholds, type ImprovementVerdictResult, InMemoryWorkspaceInspector, type InferenceScorer, type InspectorContext, type IntentMatchInput, type IntentMatchOptions, type IntentMatchResult, type InteractionContribution, JudgeError, type JudgeFamily, type JudgeFleetOptions, JudgeFn, JudgeParseError, type JudgeReplayResult, type JudgeRetryOutcome, type JudgeRetryPolicy, JudgeRunner, type JudgeScoreInput, type JudgeVerdict, type KeywordConceptSpec, type KeywordCoverageFinding, type KeywordCoverageOptions, type KeywordCoverageResult, type LangfuseEnvelope, type LangfuseGeneration, type LangfuseScore, Layer, LayerResult, type LeaderboardOptions, type LeaderboardRow, type LiveProofArtifact, type LiveProofConfig, type LiveProofContext, type LiveProofResult, LlmClientOptions, LlmSpan, MODEL_PRICING, type MakeEvalToolsConfig, type MatchResult, type MatcherResult, type MergeOptions, MetricsCollector, type ModelCostRollup, type ModelPreflight, type ModelSeats, ModelsUnreachableError, type MuffledFinder, type MuffledFinding, type MultiToolchainLayerConfig, type Mutator, Mutex, type NoLeakOptions, type NoProgressOptions, type Oracle, type OracleObservation, type OracleReport, type OracleResult, type OrthogonalityInput, type OrthogonalityResult, OtelExportConfig, OtelExporter, type OtelPipelineHandle, type OtelPipelineOptions, PairwiseSteeringOptimizer, type ParaphraseRobustnessScenarioInput, type ParaphraseRobustnessScenarioResult, type ParseStudentLabel, type PartitionHeldOutOptions, PersonaConfig, type Playbook, type PlaybookEntry, type PoolSlot, type PrReviewAuditCase, type PrReviewBenchmarkSummary, type PrReviewComment, type PrReviewMatchedFinding, type PrReviewOutcome, type PrReviewReferenceFinding, type PrReviewScore, type PrReviewScoreWeights, type PrReviewSeverity, type PrReviewSource, type PreflightModelsOptions, type PreflightOutcome, ProductClient, ProductClientConfig, type PromptHandle, PromptRegistry, type ProposeAutomatedPullRequestInput, type ProposeAutomatedPullRequestResult, type ProvenanceReader, type RecordRunsOptions, 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, ReleaseConfidenceScorecard, ReleaseConfidenceThresholds, type RenderStudentPrompt, type RepeatedActionOptions, type RepoRef, type ReviewerMemoryEntry, type ReviewerOutput, type ReviewerPromptInput, type ReviewerSoftFailDefaults, type ReviewerVerificationSummary, type RobustnessResult, type RoutedField, Run, type RunCommandInput, type RunCommandResult, type RunDistillationOptions, type RunDistillationResult, RunFilter, RunRecord, type RunRecordBackend, type RunRecordFilter, RunScore, RunScoreWeights, RunSplitTag, SandboxDriver, SandboxHarnessResult, type SandboxJudgeKind, type SandboxJudgeResult, type SandboxJudgeSpec, type SandboxPool, type ScanOptions, Scenario, type ScenarioCost, ScenarioFile, ScenarioRegistry, ScenarioResult, type Scorecard, type ScorecardCell, type ScorecardCellDiff, type ScorecardDiff, type ScorecardEntry, type ScorecardLogLine, type ScoredTarget, type SeatName, type SeatPresetName, SeatUnsetError, type SelfPlayOptions, type SelfPlayProposer, type SelfPlayScorer, type SerializedRegex, Severity, type SingleBackendDivergence, SingleBackendError, type SingleBackendField, type SingleBackendReport, type Slo, type SloCheckResult, type SloComparator, type SloReport, type SloSeverity, type SlopCategory, type SlotFactory, type SpanPredicate, type SplitGoldOptions, SteeringBundle, type SteeringOptimizationResult, type SteeringOptimizationRow, type SteeringOptimizationSelector, type SteeringOptimizerBackend, type SteeringOptimizerConfig, type StepAttribution, type StreamingDetector, type SynthesisReason, type SynthesisTarget, TestResult, type TextMatcher, type ThresholdContract, TokenCounter, type TokenSpec, type ToolMatcher, ToolSpan, TraceAnalystSpan, type TraceContract, TraceContractBuilder, TraceEmitter, TraceStore, type TracedAnalystOptions, type TracedJudgeOptions, Trajectory, TrajectoryStep, type TreatmentClass, type TreatmentGate, type TreatmentGateInput, type TreatmentGateOptions, type TrialTrace, TurnMetrics, UI_FINDING_SEVERITIES, UI_LENSES, UNIVERSAL_FINDERS, type UiFinding, type UiFindingScreenshot, type UiFindingSeverity, type UiLens, type VerdictCacheStats, type VerdictCacheStore, VerifyContext, type VisualDiffOptions, type VisualDiffResult, type ViteDeployRunnerInput, type WorkerDriverContext, type WorkspaceAssertion, type WorkspaceAssertionResult, type WorkspaceInspector, type WorkspaceSnapshot, type WranglerDeployRunnerInput, adversarialJudge, agentProfileHash, agentProfileId, agentProfileModelId, agentVisibleFields, aggregateJudgeVerdicts, aggregatePrReviewScore, analyzeAntiSlop, appendScorecard, assertCrossFamily, assertModelsServed, assertNoHiddenLeak, assertSingleBackend, assignHeldOutTag, attachCostToReport, attest, bisect, blendHeldout, buildAgreementJudge, buildDriverSystemPrompt, buildReflectionPrompt, buildReviewerPrompt, buildWorkerDriverSystemPrompt, cachedJudge, canaryLeakView, canonicalJson, causalAttribution, checkBehavioralCanary, checkCanaries, checkSlos, checkTraceContracts, classifyTreatment, codeExecutionJudge, coherenceJudge, collectionPreserved, commentsForSource, commitBisect, compareReferenceReplay, compilerJudge, computeExperimentStats, contentHash, contractJudge, costReport, createAntiSlopJudge, createCustomJudge, createDefaultReviewer, createDomainExpertJudge, createIntentMatchJudge, createSandboxPool, crossTraceDiff, dataDescriptionBits, decideNextUserTurn, decideReferenceReplayPromotion, decideReferenceReplayRunPromotion, defaultBlendWeights, defaultJudges, defaultParseStudentLabel, defaultReferenceReplayMatcher, defaultRenderStudentPrompt, deployGateLayer, diffScorecard, discoverPersonas, distillPlaybook, ensembleJudge, errorStreakDetector, estimateCost, estimateTokens, evaluateContract, evaluateOracles, evaluateTraceContract, executeScenario, expectAgent, exportRewardModel, extractAssetUrls, extractErrorCount, fieldAgreement, fileContains, fileExists, fileExperimentStore, fileVerdictCache, findAutoMatchNoExpectation, findConstructorCwdDropped, findFallbackToPass, findLiteralTruePass, findSkipCountsAsPass, flowLayer, fnv1a32, formatBenchmarkReport, formatDriverReport, formatFindings, formatScorecardDiff, gateTreatmentApplied, gateTreatmentFromMetrics, gateTreatmentFromSpans, gateTreatmentFromToolSpans, ghCliClient, gitProvenanceReader, precision as goldenPrecision, gradeOnHidden, hashContent, hashToUnit, hiddenGrade, htmlContainsElement, httpGithubClient, improvementVerdict, inMemoryExperimentStore, inMemoryReferenceReplayStore, inMemoryRunRecordBackend, inMemoryVerdictCache, isHiddenDestination, isModelPriced, isOtelConfigured, jsonShape, jsonlReferenceReplayStore, jsonlRunRecordBackend, judgeFamily, keyPreserved, leaderboard, linterJudge, loadGoldScenarios, loadScorecard, loadScorerFromGrader, localCommandRunner, lowercaseMutator, makeEvalTools, matchGoldens, matchSpan, mergeLayerResults, modelDescriptionBits, multiToolchainLayer, noProgressDetector, notBlocked, observeAll, paraphraseRobustness, paraphraseRobustnessScenarios, parseGoldJsonl, parseReflectionResponse, partitionHeldOut, passOrthogonality, pixelDeltaRatio, politenessPrefixMutator, preflightModels, printDriverSummary, index as profile, promptBisect, proposeSynthesisTargets, recordRuns, recordRunsToScorecard, referenceReplayRunsToSteeringRows, referenceReplayScenarioToRunScore, regexMatches, renderMarkdownReport, renderPlaybookMarkdown, repeatedActionDetector, replayScorerOverCorpus, replayTraceThroughJudge, resolveModelPricing, resolveSeat, routeFields, rowCount, rowWhere, runAssertions, runBehavioralCanaries, runCanaries, runDistillation, runE2EWorkflow, runExpectations, runIntentMatchJudge, runJudgeFleet, runKeywordCoverageJudge, runKeywordCoverageJudgeUrl, runLiveProof, runReferenceReplay, runScore, runSelfPlay, scanForMuffledGates, scoreContinuity, scorePrReviewComments, scorePrReviewSource, scoreReferenceReplay, seatPresets, securityJudge, sentenceReorderMutator, splitGold, statusAdvanced, summarizePrReviewBenchmark, testJudge, textInSnapshot, toLangfuseEnvelope, toOpenAiTool, toPrometheusText, traceContract, traceJudge, traceJudgeEnsemble, tracedAnalyzeTraces, typoMutator, urlContains, verifyAttestation, visualDiff, viteDeployRunner, weightedRecall, whitespaceCollapseMutator, withHeldoutBlend, withJudgeRetry, withOtelPipeline, wranglerDeployRunner };
|
|
6072
|
+
export { ATTESTATION_ALGORITHM, type ActiveLearningOptions, type AdapterRun, AgentDriver, type AgentDriverConfig, AgentEvalError, type AgreementResult, type AlignmentOp, AnalyzeTracesInput, AnalyzeTracesOptions, AnalyzeTracesResult, type AntiSlopConfig, type AntiSlopIssue, type AntiSlopReport, type AssertCrossFamilyOptions, type AssertSingleBackendOptions, type AttestationProvenance, type AttestationVerification, type AttestedReport, type AutoPrClient, AxGepaSteeringOptimizer, type AxSteeringOptimizerConfig, type BackendDescriptor, BaselineReport, BehaviorAssertion, BehavioralMetrics, BenchmarkReport, BenchmarkRunner, BenchmarkRunnerConfig, type BisectOptions, type BisectResult, type BisectStep, type BlendWeights, BudgetBreachError, BudgetGuard, BudgetLedgerEntry, BudgetSpec, type BuildAgreementJudgeOptions, CODING_HARNESSES, type CachedJudge, type CachedJudgeOptions, CallExpectation, type CanaryAlert, type CanaryKind, type CanaryLeak, type CanaryOptions, type CanaryReport, type CanarySeverity, type CandidateComparison, type CandidateScenario, type CausalAttributionReport, type CellVerdict, ChannelRollup, ChatRequest, CheckResult, CollectedArtifacts, type CommandRunner, type CompareLabels, CompletionCriterion, ConfigError, type ContinuityCheck, type ContinuityCheckResult, type ContinuityReport, type ContinuitySnapshotPair, type ContractCheckResult, type ContractJudgeOptions, type ContractMetric, type ContractReport, type ContractRule, type ContractRuleKind, type ContractSpan, type ContractVerdict, type ContractViolation, ConvergenceTracker, CorrectnessChecker, type CostEntry, CostLedger, type CostReport, type CostSummary, CostTracker, CreateChatClientOpts, type CreateDefaultReviewerOptions, type CreateExperimentInput, type CreateSandboxPoolOpts, CrossFamilyError, type CrossTraceDiff, type CrossTraceDiffOptions, DEFAULT_AGENT_SLOS, DEFAULT_FINDERS, DEFAULT_MUTATION_PRIMITIVES, DEFAULT_MUTATORS, DEFAULT_PR_REVIEW_SCORE_WEIGHTS, DEFAULT_SEVERITY_WEIGHTS, Dataset, DatasetScenario, type DecideNextUserTurnOpts, 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 DiffScorecardOptions, type DirEntry, type DiscoverPersonasOptions, type DiscoveredPersona, DriverResult, DriverState, DualAgentBench, type DualAgentBenchConfig, type DualAgentReport, type DualAgentRound, type DualAgentScenario, type DualAgentScenarioResult, ERROR_COUNT_PATTERNS, type EnsembleAggregate, type EnsembleJudgeOptions, type ErrorCountPattern, type ErrorStreakOptions, type EvalToolDef, EvalTraceStore, type EvolutionRound, type ExecutorConfig, type Expectation, type Experiment, type ExperimentProvenance, type ExperimentRep, type ExperimentStats, type ExperimentStore, ExperimentTracker, type ExperimentTrackerOptions, type ExperimentVerdict, type ExportedRewardModel, type ExtractOptions, type ExtractResult, type FactorContribution, type FactorialCell, FailureClass, FeedbackLabel, FeedbackTrajectory, FeedbackTrajectoryStore, type FieldAgreementSpec, type FieldDestination, type FileChange, type FlowAction, type FlowLayerEnv, type FlowLayerFactoryInput, type FlowRunner, type FlowRunnerStepResult, type FlowSpec, type FlowStep, type GhCliClientOptions, type GoldScenario, type GoldSplit, type GoldenSeverity, type GoldenSpec, HarnessConfig, type HeldOutPartition, type HiddenCriteriaGrader, type HiddenGradeResult, type HiddenLeak, HoldoutAuditor, type HttpGithubClientOptions, INTENT_MATCH_JUDGE_VERSION, type ImageData, type ImprovementThresholds, type ImprovementVerdictResult, InMemoryWorkspaceInspector, type InferenceScorer, type InspectorContext, type IntentMatchInput, type IntentMatchOptions, type IntentMatchResult, type InteractionContribution, JudgeError, type JudgeFamily, type JudgeFleetOptions, JudgeFn, JudgeParseError, type JudgeReplayResult, type JudgeRetryOutcome, type JudgeRetryPolicy, JudgeRunner, type JudgeScoreInput, type JudgeVerdict, type KeywordConceptSpec, type KeywordCoverageFinding, type KeywordCoverageOptions, type KeywordCoverageResult, type LangfuseEnvelope, type LangfuseGeneration, type LangfuseScore, Layer, LayerResult, type LeaderboardOptions, type LeaderboardRow, type LiveProofArtifact, type LiveProofConfig, type LiveProofContext, type LiveProofResult, LlmClientOptions, LlmSpan, MODEL_PRICING, type MakeEvalToolsConfig, type MatchResult, type MatcherResult, type MergeOptions, MetricsCollector, type ModelCostRollup, type ModelPreflight, type ModelSeats, ModelsUnreachableError, type MuffledFinder, type MuffledFinding, type MultiToolchainLayerConfig, type Mutator, Mutex, type NoLeakOptions, type NoProgressOptions, type Oracle, type OracleObservation, type OracleReport, type OracleResult, type OrthogonalityInput, type OrthogonalityResult, OtelExportConfig, OtelExporter, type OtelPipelineHandle, type OtelPipelineOptions, PairwiseSteeringOptimizer, type ParaphraseRobustnessScenarioInput, type ParaphraseRobustnessScenarioResult, type ParseStudentLabel, type PartitionHeldOutOptions, PersonaConfig, type Playbook, type PlaybookEntry, type PoolSlot, type PrReviewAuditCase, type PrReviewBenchmarkSummary, type PrReviewComment, type PrReviewMatchedFinding, type PrReviewOutcome, type PrReviewReferenceFinding, type PrReviewScore, type PrReviewScoreWeights, type PrReviewSeverity, type PrReviewSource, type PreflightModelsOptions, type PreflightOutcome, ProductClient, ProductClientConfig, type ProfileAxisSpec, type PromptHandle, PromptRegistry, type ProposeAutomatedPullRequestInput, type ProposeAutomatedPullRequestResult, type ProvenanceReader, type RecordRunsOptions, 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, ReleaseConfidenceScorecard, ReleaseConfidenceThresholds, type RenderStudentPrompt, type RepeatedActionOptions, type RepoRef, type ReviewerMemoryEntry, type ReviewerOutput, type ReviewerPromptInput, type ReviewerSoftFailDefaults, type ReviewerVerificationSummary, type RobustnessResult, type RoutedField, Run, type RunCommandInput, type RunCommandResult, type RunDistillationOptions, type RunDistillationResult, RunFilter, RunRecord, type RunRecordBackend, type RunRecordFilter, RunScore, RunScoreWeights, RunSplitTag, SandboxDriver, SandboxHarnessResult, type SandboxJudgeKind, type SandboxJudgeResult, type SandboxJudgeSpec, type SandboxPool, type ScanOptions, Scenario, type ScenarioCost, ScenarioFile, ScenarioRegistry, ScenarioResult, type Scorecard, type ScorecardCell, type ScorecardCellDiff, type ScorecardDiff, type ScorecardEntry, type ScorecardLogLine, type ScoredTarget, type SeatName, type SeatPresetName, SeatUnsetError, type SelfPlayOptions, type SelfPlayProposer, type SelfPlayScorer, type SerializedRegex, Severity, type SingleBackendDivergence, SingleBackendError, type SingleBackendField, type SingleBackendReport, type Slo, type SloCheckResult, type SloComparator, type SloReport, type SloSeverity, type SlopCategory, type SlotFactory, type SpanPredicate, type SplitGoldOptions, SteeringBundle, type SteeringOptimizationResult, type SteeringOptimizationRow, type SteeringOptimizationSelector, type SteeringOptimizerBackend, type SteeringOptimizerConfig, type StepAttribution, type StreamingDetector, type SynthesisReason, type SynthesisTarget, TestResult, type TextMatcher, type ThresholdContract, TokenCounter, type TokenSpec, type ToolMatcher, ToolSpan, TraceAnalystSpan, type TraceContract, TraceContractBuilder, TraceEmitter, TraceStore, type TracedAnalystOptions, type TracedJudgeOptions, Trajectory, TrajectoryStep, type TreatmentClass, type TreatmentGate, type TreatmentGateInput, type TreatmentGateOptions, type TrialTrace, TurnMetrics, UI_FINDING_SEVERITIES, UI_LENSES, UNIVERSAL_FINDERS, type UiFinding, type UiFindingScreenshot, type UiFindingSeverity, type UiLens, type VerdictCacheStats, type VerdictCacheStore, VerifyContext, type VisualDiffOptions, type VisualDiffResult, type ViteDeployRunnerInput, type WorkerDriverContext, type WorkspaceAssertion, type WorkspaceAssertionResult, type WorkspaceInspector, type WorkspaceSnapshot, type WranglerDeployRunnerInput, adversarialJudge, agentProfileHash, agentProfileId, agentProfileModelId, agentVisibleFields, aggregateJudgeVerdicts, aggregatePrReviewScore, analyzeAntiSlop, appendScorecard, assertCrossFamily, assertModelsServed, assertNoHiddenLeak, assertSingleBackend, assignHeldOutTag, attachCostToReport, attest, bisect, blendHeldout, buildAgreementJudge, buildDriverSystemPrompt, buildReflectionPrompt, buildReviewerPrompt, buildWorkerDriverSystemPrompt, cachedJudge, canaryLeakView, canonicalJson, causalAttribution, checkBehavioralCanary, checkCanaries, checkSlos, checkTraceContracts, classifyTreatment, codeExecutionJudge, coherenceJudge, collectionPreserved, commentsForSource, commitBisect, compareReferenceReplay, compilerJudge, computeExperimentStats, contentHash, contractJudge, costReport, createAntiSlopJudge, createCustomJudge, createDefaultReviewer, createDomainExpertJudge, createIntentMatchJudge, createSandboxPool, crossTraceDiff, dataDescriptionBits, decideNextUserTurn, decideReferenceReplayPromotion, decideReferenceReplayRunPromotion, defaultBlendWeights, defaultJudges, defaultParseStudentLabel, defaultReferenceReplayMatcher, defaultRenderStudentPrompt, deployGateLayer, diffScorecard, discoverPersonas, distillPlaybook, ensembleJudge, errorStreakDetector, estimateCost, estimateTokens, evaluateContract, evaluateOracles, evaluateTraceContract, executeScenario, expandProfileAxes, expectAgent, exportRewardModel, extractAssetUrls, extractErrorCount, fieldAgreement, fileContains, fileExists, fileExperimentStore, fileVerdictCache, findAutoMatchNoExpectation, findConstructorCwdDropped, findFallbackToPass, findLiteralTruePass, findSkipCountsAsPass, flowLayer, fnv1a32, formatBenchmarkReport, formatDriverReport, formatFindings, formatScorecardDiff, gateTreatmentApplied, gateTreatmentFromMetrics, gateTreatmentFromSpans, gateTreatmentFromToolSpans, ghCliClient, gitProvenanceReader, precision as goldenPrecision, gradeOnHidden, harnessAxisOf, hashContent, hashToUnit, hiddenGrade, htmlContainsElement, httpGithubClient, improvementVerdict, inMemoryExperimentStore, inMemoryReferenceReplayStore, inMemoryRunRecordBackend, inMemoryVerdictCache, isHiddenDestination, isModelPriced, isOtelConfigured, jsonShape, jsonlReferenceReplayStore, jsonlRunRecordBackend, judgeFamily, keyPreserved, leaderboard, linterJudge, loadGoldScenarios, loadScorecard, loadScorerFromGrader, localCommandRunner, lowercaseMutator, makeEvalTools, matchGoldens, matchSpan, mergeLayerResults, modelDescriptionBits, multiToolchainLayer, noProgressDetector, notBlocked, observeAll, paraphraseRobustness, paraphraseRobustnessScenarios, parseGoldJsonl, parseReflectionResponse, partitionHeldOut, passOrthogonality, pixelDeltaRatio, politenessPrefixMutator, preflightModels, printDriverSummary, index as profile, promptBisect, proposeSynthesisTargets, recordRuns, recordRunsToScorecard, referenceReplayRunsToSteeringRows, referenceReplayScenarioToRunScore, regexMatches, renderMarkdownReport, renderPlaybookMarkdown, repeatedActionDetector, replayScorerOverCorpus, replayTraceThroughJudge, resolveModelPricing, resolveSeat, routeFields, rowCount, rowWhere, runAssertions, runBehavioralCanaries, runCanaries, runDistillation, runE2EWorkflow, runExpectations, runIntentMatchJudge, runJudgeFleet, runKeywordCoverageJudge, runKeywordCoverageJudgeUrl, runLiveProof, runReferenceReplay, runScore, runSelfPlay, scanForMuffledGates, scoreContinuity, scorePrReviewComments, scorePrReviewSource, scoreReferenceReplay, seatPresets, securityJudge, sentenceReorderMutator, splitGold, statusAdvanced, summarizePrReviewBenchmark, testJudge, textInSnapshot, toLangfuseEnvelope, toOpenAiTool, toPrometheusText, traceContract, traceJudge, traceJudgeEnsemble, tracedAnalyzeTraces, typoMutator, urlContains, verifyAttestation, visualDiff, viteDeployRunner, weightedRecall, whitespaceCollapseMutator, withHeldoutBlend, withJudgeRetry, withOtelPipeline, wranglerDeployRunner };
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
checkBehavioralCanary,
|
|
10
10
|
checkCanaries,
|
|
11
11
|
runBehavioralCanaries
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-X5OUZB4T.js";
|
|
13
13
|
import {
|
|
14
14
|
classifyEuAiRisk,
|
|
15
15
|
euAiActReport,
|
|
@@ -34,6 +34,17 @@ import {
|
|
|
34
34
|
summarizeRecords
|
|
35
35
|
} from "./chunk-STGVSCDH.js";
|
|
36
36
|
import {
|
|
37
|
+
findProductBenchmarkArtifacts,
|
|
38
|
+
productBenchmarkIntegrityFailures,
|
|
39
|
+
productBenchmarkSplits,
|
|
40
|
+
readProductBenchmarkManifest,
|
|
41
|
+
readProductBenchmarkRecords,
|
|
42
|
+
validateProductBenchmarkManifest,
|
|
43
|
+
validateProductBenchmarkRecord,
|
|
44
|
+
validateProductBenchmarkRun
|
|
45
|
+
} from "./chunk-63MBSQTX.js";
|
|
46
|
+
import {
|
|
47
|
+
CODING_HARNESSES,
|
|
37
48
|
JudgeParseError,
|
|
38
49
|
adversarialJudge,
|
|
39
50
|
agentProfileHash,
|
|
@@ -47,11 +58,13 @@ import {
|
|
|
47
58
|
createLlmCorrectnessChecker,
|
|
48
59
|
createTokenRecallChecker,
|
|
49
60
|
defaultJudges,
|
|
61
|
+
expandProfileAxes,
|
|
50
62
|
extractProducedState,
|
|
63
|
+
harnessAxisOf,
|
|
51
64
|
llmJudge,
|
|
52
65
|
parseCorrectnessResponse,
|
|
53
66
|
verifyCompletion
|
|
54
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-GUII3E73.js";
|
|
55
68
|
import {
|
|
56
69
|
DEFAULT_MUTATION_PRIMITIVES,
|
|
57
70
|
DEFAULT_RED_TEAM_CORPUS,
|
|
@@ -75,12 +88,17 @@ import {
|
|
|
75
88
|
scoreRedTeamOutput,
|
|
76
89
|
surfaceContentHash,
|
|
77
90
|
toolNamesForRun
|
|
78
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-NK77GPUH.js";
|
|
79
92
|
import {
|
|
80
93
|
BackendIntegrityError,
|
|
81
94
|
assertRealBackend,
|
|
95
|
+
cachedJudge,
|
|
96
|
+
canonicalJson,
|
|
97
|
+
contentHash,
|
|
98
|
+
fileVerdictCache,
|
|
99
|
+
inMemoryVerdictCache,
|
|
82
100
|
summarizeBackendIntegrity
|
|
83
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-XIOQHCHU.js";
|
|
84
102
|
import {
|
|
85
103
|
MODEL_PRICING,
|
|
86
104
|
MetricsCollector,
|
|
@@ -9936,134 +9954,6 @@ function resolveSeat(seats, seat, fallback) {
|
|
|
9936
9954
|
throw new SeatUnsetError(seat);
|
|
9937
9955
|
}
|
|
9938
9956
|
|
|
9939
|
-
// src/verdict-cache.ts
|
|
9940
|
-
import { createHash } from "crypto";
|
|
9941
|
-
import { appendFileSync as appendFileSync3, existsSync as existsSync5, readFileSync as readFileSync6 } from "fs";
|
|
9942
|
-
function canonicalizeAt(value, path) {
|
|
9943
|
-
if (value === null) return "null";
|
|
9944
|
-
switch (typeof value) {
|
|
9945
|
-
case "boolean":
|
|
9946
|
-
return value ? "true" : "false";
|
|
9947
|
-
case "number":
|
|
9948
|
-
if (!Number.isFinite(value)) {
|
|
9949
|
-
throw new Error(
|
|
9950
|
-
`canonicalJson: non-finite number (${value}) at ${path} \u2014 ambiguity is an error, not a coercion`
|
|
9951
|
-
);
|
|
9952
|
-
}
|
|
9953
|
-
return JSON.stringify(value);
|
|
9954
|
-
case "string":
|
|
9955
|
-
return JSON.stringify(value);
|
|
9956
|
-
case "undefined":
|
|
9957
|
-
case "function":
|
|
9958
|
-
case "symbol":
|
|
9959
|
-
throw new Error(
|
|
9960
|
-
`canonicalJson: ${typeof value} at ${path} \u2014 ambiguity is an error, not a coercion`
|
|
9961
|
-
);
|
|
9962
|
-
case "bigint":
|
|
9963
|
-
throw new Error(`canonicalJson: bigint at ${path} \u2014 not representable in JSON`);
|
|
9964
|
-
case "object":
|
|
9965
|
-
break;
|
|
9966
|
-
}
|
|
9967
|
-
const obj = value;
|
|
9968
|
-
if (typeof obj["toJSON"] === "function") {
|
|
9969
|
-
return canonicalizeAt(obj.toJSON(), path);
|
|
9970
|
-
}
|
|
9971
|
-
if (Array.isArray(obj)) {
|
|
9972
|
-
return `[${obj.map((item, i) => canonicalizeAt(item, `${path}[${i}]`)).join(",")}]`;
|
|
9973
|
-
}
|
|
9974
|
-
if (obj instanceof Map || obj instanceof Set) {
|
|
9975
|
-
throw new Error(
|
|
9976
|
-
`canonicalJson: ${obj instanceof Map ? "Map" : "Set"} at ${path} \u2014 would serialize as '{}'; convert to a plain object/array first`
|
|
9977
|
-
);
|
|
9978
|
-
}
|
|
9979
|
-
const keys = Object.keys(obj).sort();
|
|
9980
|
-
const parts = keys.map((k) => `${JSON.stringify(k)}:${canonicalizeAt(obj[k], `${path}.${k}`)}`);
|
|
9981
|
-
return `{${parts.join(",")}}`;
|
|
9982
|
-
}
|
|
9983
|
-
function canonicalJson(value) {
|
|
9984
|
-
return canonicalizeAt(value, "$");
|
|
9985
|
-
}
|
|
9986
|
-
function contentHash(value) {
|
|
9987
|
-
return createHash("sha256").update(canonicalJson(value)).digest("hex");
|
|
9988
|
-
}
|
|
9989
|
-
function inMemoryVerdictCache() {
|
|
9990
|
-
const entries = /* @__PURE__ */ new Map();
|
|
9991
|
-
return {
|
|
9992
|
-
get: (key) => entries.get(key),
|
|
9993
|
-
set: (key, score) => {
|
|
9994
|
-
entries.set(key, score);
|
|
9995
|
-
}
|
|
9996
|
-
};
|
|
9997
|
-
}
|
|
9998
|
-
function parseCacheLine(line, path, lineNo) {
|
|
9999
|
-
let parsed;
|
|
10000
|
-
try {
|
|
10001
|
-
parsed = JSON.parse(line);
|
|
10002
|
-
} catch (err) {
|
|
10003
|
-
throw new Error(
|
|
10004
|
-
`fileVerdictCache: corrupt JSONL at ${path}:${lineNo} \u2014 ${err instanceof Error ? err.message : String(err)}`
|
|
10005
|
-
);
|
|
10006
|
-
}
|
|
10007
|
-
const rec = parsed;
|
|
10008
|
-
if (typeof rec !== "object" || rec === null || typeof rec.key !== "string" || typeof rec.score !== "object" || rec.score === null || typeof rec.score.composite !== "number" || typeof rec.score.dimensions !== "object") {
|
|
10009
|
-
throw new Error(
|
|
10010
|
-
`fileVerdictCache: invalid record shape at ${path}:${lineNo} \u2014 expected {key, score:{dimensions, composite, notes}}`
|
|
10011
|
-
);
|
|
10012
|
-
}
|
|
10013
|
-
return rec;
|
|
10014
|
-
}
|
|
10015
|
-
function fileVerdictCache(path) {
|
|
10016
|
-
const entries = /* @__PURE__ */ new Map();
|
|
10017
|
-
if (existsSync5(path)) {
|
|
10018
|
-
const lines = readFileSync6(path, "utf8").split("\n");
|
|
10019
|
-
for (let i = 0; i < lines.length; i++) {
|
|
10020
|
-
const line = lines[i];
|
|
10021
|
-
if (line === void 0 || line.trim() === "") continue;
|
|
10022
|
-
const rec = parseCacheLine(line, path, i + 1);
|
|
10023
|
-
entries.set(rec.key, rec.score);
|
|
10024
|
-
}
|
|
10025
|
-
}
|
|
10026
|
-
return {
|
|
10027
|
-
get: (key) => entries.get(key),
|
|
10028
|
-
set: (key, score) => {
|
|
10029
|
-
appendFileSync3(path, `${JSON.stringify({ key, score })}
|
|
10030
|
-
`, "utf8");
|
|
10031
|
-
entries.set(key, score);
|
|
10032
|
-
}
|
|
10033
|
-
};
|
|
10034
|
-
}
|
|
10035
|
-
function cachedJudge(judge, store, options) {
|
|
10036
|
-
if (typeof options.judgeVersion !== "string" || options.judgeVersion.trim() === "") {
|
|
10037
|
-
throw new Error("cachedJudge: judgeVersion is required and must be a non-empty string");
|
|
10038
|
-
}
|
|
10039
|
-
const stats = { hits: 0, misses: 0 };
|
|
10040
|
-
const wrapped = {
|
|
10041
|
-
name: judge.name,
|
|
10042
|
-
dimensions: judge.dimensions,
|
|
10043
|
-
async score(input) {
|
|
10044
|
-
const key = contentHash({
|
|
10045
|
-
artifact: canonicalJson(input.artifact),
|
|
10046
|
-
scenarioId: input.scenario.id,
|
|
10047
|
-
judgeName: judge.name,
|
|
10048
|
-
dimensions: judge.dimensions,
|
|
10049
|
-
judgeVersion: options.judgeVersion
|
|
10050
|
-
});
|
|
10051
|
-
const cached = await store.get(key);
|
|
10052
|
-
if (cached !== void 0) {
|
|
10053
|
-
stats.hits += 1;
|
|
10054
|
-
return cached;
|
|
10055
|
-
}
|
|
10056
|
-
const score = await judge.score(input);
|
|
10057
|
-
await store.set(key, score);
|
|
10058
|
-
stats.misses += 1;
|
|
10059
|
-
return score;
|
|
10060
|
-
},
|
|
10061
|
-
stats: () => ({ ...stats })
|
|
10062
|
-
};
|
|
10063
|
-
if (judge.appliesTo) wrapped.appliesTo = judge.appliesTo;
|
|
10064
|
-
return wrapped;
|
|
10065
|
-
}
|
|
10066
|
-
|
|
10067
9957
|
// src/attestation.ts
|
|
10068
9958
|
var ATTESTATION_ALGORITHM = "sha256/canonical-json";
|
|
10069
9959
|
function attest(report, provenance) {
|
|
@@ -10110,6 +10000,7 @@ export {
|
|
|
10110
10000
|
BenchmarkRunner,
|
|
10111
10001
|
BudgetBreachError,
|
|
10112
10002
|
BudgetGuard,
|
|
10003
|
+
CODING_HARNESSES,
|
|
10113
10004
|
CallbackResearcher,
|
|
10114
10005
|
CaptureIntegrityError,
|
|
10115
10006
|
ConfigError,
|
|
@@ -10387,6 +10278,7 @@ export {
|
|
|
10387
10278
|
evaluateTraceContract,
|
|
10388
10279
|
executeScenario,
|
|
10389
10280
|
expandMatrix,
|
|
10281
|
+
expandProfileAxes,
|
|
10390
10282
|
expectAgent,
|
|
10391
10283
|
exportRewardModel,
|
|
10392
10284
|
exportRunAsOtlp,
|
|
@@ -10410,6 +10302,7 @@ export {
|
|
|
10410
10302
|
findConstructorCwdDropped,
|
|
10411
10303
|
findFallbackToPass,
|
|
10412
10304
|
findLiteralTruePass,
|
|
10305
|
+
findProductBenchmarkArtifacts,
|
|
10413
10306
|
findSkipCountsAsPass,
|
|
10414
10307
|
firstNumberAttr,
|
|
10415
10308
|
firstStringAttr,
|
|
@@ -10433,6 +10326,7 @@ export {
|
|
|
10433
10326
|
gradeSemanticStatus,
|
|
10434
10327
|
groupBy,
|
|
10435
10328
|
groupRunsByAgentProfileCell,
|
|
10329
|
+
harnessAxisOf,
|
|
10436
10330
|
hashContent,
|
|
10437
10331
|
hashJson,
|
|
10438
10332
|
hashScenarios,
|
|
@@ -10538,6 +10432,8 @@ export {
|
|
|
10538
10432
|
preflightModels,
|
|
10539
10433
|
printDriverSummary,
|
|
10540
10434
|
probeLlm,
|
|
10435
|
+
productBenchmarkIntegrityFailures,
|
|
10436
|
+
productBenchmarkSplits,
|
|
10541
10437
|
profile_exports as profile,
|
|
10542
10438
|
projectOtlpFlatLine,
|
|
10543
10439
|
projectRuntimeTrajectoryEvidence,
|
|
@@ -10547,6 +10443,8 @@ export {
|
|
|
10547
10443
|
pytestTestParser,
|
|
10548
10444
|
ranks,
|
|
10549
10445
|
readOtlpStatus,
|
|
10446
|
+
readProductBenchmarkManifest,
|
|
10447
|
+
readProductBenchmarkRecords,
|
|
10550
10448
|
recordRuns,
|
|
10551
10449
|
recordRunsToScorecard,
|
|
10552
10450
|
redTeamDataset,
|
|
@@ -10659,6 +10557,9 @@ export {
|
|
|
10659
10557
|
userQuestionsForKnowledgeGaps,
|
|
10660
10558
|
validateAgentProfileCell,
|
|
10661
10559
|
validatePolicyEdit,
|
|
10560
|
+
validateProductBenchmarkManifest,
|
|
10561
|
+
validateProductBenchmarkRecord,
|
|
10562
|
+
validateProductBenchmarkRun,
|
|
10662
10563
|
validateRunRecord,
|
|
10663
10564
|
verbosityBias,
|
|
10664
10565
|
verifyAgentProfileCell,
|