@tangle-network/agent-eval 0.33.0 → 0.34.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 +33 -0
- package/dist/benchmarks/index.d.ts +2 -2
- package/dist/chunk-DCZXFOQN.js +489 -0
- package/dist/chunk-DCZXFOQN.js.map +1 -0
- package/dist/{chunk-B73G44OH.js → chunk-FT3IAMQR.js} +5 -5
- package/dist/chunk-FT3IAMQR.js.map +1 -0
- package/dist/{chunk-GVQT44CS.js → chunk-KE7TDJUO.js} +2 -2
- package/dist/{chunk-4L3WJXQJ.js → chunk-KHZRNY3F.js} +163 -2
- package/dist/{chunk-4L3WJXQJ.js.map → chunk-KHZRNY3F.js.map} +1 -1
- package/dist/{chunk-WGXZAQLR.js → chunk-LGAPK7NA.js} +2 -2
- package/dist/{chunk-DTEJNZYK.js → chunk-SQYRO3BT.js} +47 -4
- package/dist/chunk-SQYRO3BT.js.map +1 -0
- package/dist/{chunk-CXJOVDJR.js → chunk-TQL7BAOY.js} +5 -175
- package/dist/chunk-TQL7BAOY.js.map +1 -0
- package/dist/{chunk-M6RZ5LJN.js → chunk-VXNVVBZO.js} +34 -5
- package/dist/chunk-VXNVVBZO.js.map +1 -0
- package/dist/{chunk-S4Y5VXMS.js → chunk-WRGHMGWT.js} +2 -2
- package/dist/{chunk-SMSGXM74.js → chunk-YU3G6I7F.js} +2 -2
- package/dist/cli.js +2 -2
- package/dist/{control-p2ns7elI.d.ts → control-C3k02SCP.d.ts} +1 -1
- package/dist/control.d.ts +2 -2
- package/dist/control.js +3 -2
- package/dist/governance/index.d.ts +2 -1
- package/dist/{index-DPILdKbP.d.ts → index-CN2agEaO.d.ts} +2 -142
- package/dist/{index-BTqhGHJT.d.ts → index-ClMxVqe_.d.ts} +1 -1
- package/dist/index.d.ts +278 -486
- package/dist/index.js +522 -134
- package/dist/index.js.map +1 -1
- package/dist/judge-calibration-DilmB3Ml.d.ts +142 -0
- package/dist/meta-eval/index.d.ts +2 -2
- package/dist/openapi.json +1 -1
- package/dist/optimization.d.ts +3 -3
- package/dist/optimization.js +6 -6
- package/dist/pipelines/index.js +2 -2
- package/dist/release-report-ChfmCmLi.d.ts +713 -0
- package/dist/reporting.d.ts +6 -4
- package/dist/reporting.js +10 -9
- package/dist/{researcher-BRHa5Jxo.d.ts → researcher-CfnL3HEb.d.ts} +34 -3
- package/dist/rl.d.ts +5 -5
- package/dist/rl.js +6 -6
- package/dist/rl.js.map +1 -1
- package/dist/{rubric-predictive-validity-CMHypZ_M.d.ts → rubric-predictive-validity-BvaNwfBE.d.ts} +1 -1
- package/dist/{run-record-BfX5y68A.d.ts → run-record-YinVdFwu.d.ts} +78 -2
- package/dist/{summary-report-D7AQS7eB.d.ts → summary-report-BPJVzIeW.d.ts} +2 -2
- package/dist/wire/index.js +2 -2
- package/docs/product-eval-adoption.md +18 -0
- package/package.json +12 -22
- package/dist/chunk-B73G44OH.js.map +0 -1
- package/dist/chunk-CXJOVDJR.js.map +0 -1
- package/dist/chunk-DTEJNZYK.js.map +0 -1
- package/dist/chunk-M6RZ5LJN.js.map +0 -1
- package/dist/chunk-ZN2CMQIW.js +0 -208
- package/dist/chunk-ZN2CMQIW.js.map +0 -1
- package/dist/release-report-DLWbBPtH.d.ts +0 -292
- /package/dist/{chunk-GVQT44CS.js.map → chunk-KE7TDJUO.js.map} +0 -0
- /package/dist/{chunk-WGXZAQLR.js.map → chunk-LGAPK7NA.js.map} +0 -0
- /package/dist/{chunk-S4Y5VXMS.js.map → chunk-WRGHMGWT.js.map} +0 -0
- /package/dist/{chunk-SMSGXM74.js.map → chunk-YU3G6I7F.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
export { A as ActionExecutionPolicy, a as ActionPolicyDecision, C as ControlRunToRunRecordOptions, L as LlmJsonCall, b as LlmReviewerConfig, P as ProposeFn, c as ProposeInput, d as ProposeOutput, e as ProposeReviewConfig, f as ProposeReviewControlAction, g as ProposeReviewControlConfig, h as ProposeReviewControlResult, i as ProposeReviewControlState, j as ProposeReviewReport, k as ProposeReviewShot, R as Review, l as ReviewFn, m as ReviewInput, n as ReviewMemoryEntry, o as ReviewMemoryStore, p as RunEvidenceMetadata, V as Verification, q as VerifyFn, r as controlFailureClassFromVerification, s as controlRunToRunRecord, t as createLlmReviewer, u as evaluateActionPolicy, v as inMemoryReviewStore, w as jsonlReviewStore, x as runProposeReview, y as runProposeReviewAsControlLoop, z as scoreFromEvals } from './control-
|
|
1
|
+
export { A as ActionExecutionPolicy, a as ActionPolicyDecision, C as ControlRunToRunRecordOptions, L as LlmJsonCall, b as LlmReviewerConfig, P as ProposeFn, c as ProposeInput, d as ProposeOutput, e as ProposeReviewConfig, f as ProposeReviewControlAction, g as ProposeReviewControlConfig, h as ProposeReviewControlResult, i as ProposeReviewControlState, j as ProposeReviewReport, k as ProposeReviewShot, R as Review, l as ReviewFn, m as ReviewInput, n as ReviewMemoryEntry, o as ReviewMemoryStore, p as RunEvidenceMetadata, V as Verification, q as VerifyFn, r as controlFailureClassFromVerification, s as controlRunToRunRecord, t as createLlmReviewer, u as evaluateActionPolicy, v as inMemoryReviewStore, w as jsonlReviewStore, x as runProposeReview, y as runProposeReviewAsControlLoop, z as scoreFromEvals } from './control-C3k02SCP.js';
|
|
2
|
+
import { R as RunRecord, a as RunSplitTag } from './run-record-YinVdFwu.js';
|
|
3
|
+
export { A as AgentProfileCell, d as AgentProfileCellInput, e as AgentProfileCellSchemaVersion, f as AgentProfileCellValidationError, g as AgentProfileDimensionValue, h as AgentProfileHarness, i as AgentProfileJson, j as AgentProfileSource, k as AgentProfileSourceInput, J as JudgeScoresRecord, c as RunJudgeMetadata, l as RunOutcome, m as RunRecordValidationError, b as RunTokenUsage, n as agentProfileCellHashMaterial, o as agentProfileCellKey, p as assertRunAgentProfileCell, q as buildAgentProfileCell, r as groupRunsByAgentProfileCell, s as isRunRecord, t as parseRunRecordSafe, u as requireAgentProfileCell, v as roundTripRunRecord, w as validateAgentProfileCell, x as validateRunRecord, y as verifyAgentProfileCell } from './run-record-YinVdFwu.js';
|
|
2
4
|
import { AxAIService, AxFunction } from '@ax-llm/ax';
|
|
3
5
|
import { S as Severity, M as MultiLayerVerifier, a as VerifyOptions, L as Layer, b as LayerResult, c as VerifyContext } from './multi-layer-verifier-BNi4-8lR.js';
|
|
4
6
|
export { F as Finding, d as LayerStatus, V as VerificationReport, g as gradeSemanticStatus } from './multi-layer-verifier-BNi4-8lR.js';
|
|
5
7
|
import { R as Run$1, S as Span, b as TraceEvent, A as Artifact$1, B as BudgetLedgerEntry, T as TraceStore, g as BudgetSpec, h as RunFilter, L as LlmSpan } from './store-Db2Bv8Cf.js';
|
|
6
8
|
export { i as EventFilter, E as EventKind, j as FAILURE_CLASSES, F as FailureClass, k as FileSystemTraceStore, l as FileSystemTraceStoreOptions, G as GenericSpan, I as InMemoryTraceStore, J as JudgeSpan, M as Message, e as RetrievalSpan, m as RunLayer, n as RunStatus, f as SandboxSpan, o as SpanBase, p as SpanFilter, d as SpanKind, q as SpanStatus, r as TRACE_SCHEMA_VERSION, a as ToolSpan, s as isJudgeSpan, t as isLlmSpan, u as isRetrievalSpan, v as isSandboxSpan, w as isToolSpan } from './store-Db2Bv8Cf.js';
|
|
7
|
-
import { L as LlmClientOptions, m as LlmCallRequest, n as LlmCallResult } from './researcher-
|
|
8
|
-
export { C as CallbackResearcher, a as CallbackResearcherOptions, b as CampaignFactoryParams, c as CampaignIntegrityPolicy, d as CampaignRunContext, e as CampaignRunOutcome, f as CampaignRunner, g as CampaignScenario, h as CampaignVariant, E as EvalCampaignOptions, i as EvalCampaignResult, j as ExperimentPlan, k as ExperimentResult, F as FailedRun, l as FailureMode, o as LlmCallError, p as LlmClient, q as LlmMessage, s as LlmRouteAssertionError, t as LlmRouteRequirements, u as LlmUsage, N as NoopResearcher, R as Researcher, S as SteeringChange, v as assertLlmRoute, w as
|
|
9
|
+
import { L as LlmClientOptions, m as LlmCallRequest, n as LlmCallResult } from './researcher-CfnL3HEb.js';
|
|
10
|
+
export { C as CallbackResearcher, a as CallbackResearcherOptions, b as CampaignFactoryParams, c as CampaignIntegrityPolicy, d as CampaignRunContext, e as CampaignRunOutcome, f as CampaignRunner, g as CampaignScenario, h as CampaignVariant, E as EvalCampaignOptions, i as EvalCampaignResult, j as ExperimentPlan, k as ExperimentResult, F as FailedRun, l as FailureMode, o as LlmCallError, p as LlmClient, q as LlmMessage, s as LlmRouteAssertionError, t as LlmRouteRequirements, u as LlmUsage, N as NoopResearcher, R as Researcher, S as SteeringChange, v as assertLlmRoute, w as backoffMs, x as callLlm, y as callLlmJson, z as isTransientLlmError, A as probeLlm, r as runEvalCampaign, B as stripFencedJson } from './researcher-CfnL3HEb.js';
|
|
9
11
|
import { TraceAnalysisStore, AnalyzeTracesOptions } from './traces.js';
|
|
10
12
|
export { AnalyzeTracesInput, AnalyzeTracesResult, AnalyzeTracesTurnSnapshot, DEFAULT_REDACTION_RULES, DEFAULT_TRACE_ANALYST_BUDGETS, DatasetOverview, OTEL_AGENT_EVAL_SCOPE, OtlpExport, OtlpFileTraceStore, OtlpFileTraceStoreOptions, OtlpResourceSpans, OtlpSpan, QueryTracesPage, REDACTION_VERSION, RedactionReport, RedactionRule, ReplayCache, ReplayCacheEntry, ReplayCacheMissError, ReplayCacheStats, ReplayFetchOptions, SearchSpanResult, SearchTraceResult, SpanMatchRecord, SpanNotFoundError, TRACE_ANALYST_ACTOR_DESCRIPTION, TRACE_ANALYST_ACTOR_DESCRIPTION_VERSION, TRACE_ANALYST_SUBAGENT_DESCRIPTION, TRACE_ANALYST_TRUNCATION_MARKER_PREFIX, TraceAnalystByteBudgets, TraceAnalystFilters, TraceAnalystHookOptions, TraceAnalystSpan, TraceAnalystSpanKind, TraceAnalystSpanStatus, TraceAnalystTraceSummary, TraceFileMissingError, TraceInsightContext, TraceInsightFinding, TraceInsightPanelRole, TraceInsightPromptInput, TraceInsightQualityGate, TraceInsightQuestion, TraceInsightReadiness, TraceInsightSuite, TraceInsightTask, TraceNotFoundError, ViewSpansResult, ViewTraceOversized, ViewTraceResult, analyzeTraces, buildTraceAnalystTools, buildTraceInsightContext, buildTraceInsightPrompt, createReplayFetch, defaultTraceInsightPanel, describeTraceInsightScope, domainEvidencePattern, exportRunAsOtlp, inferDomainKeywords, iterateRawCalls, planTraceInsightQuestions, redactString, redactValue, scoreTraceInsightReadiness, tokenizeDomainWords, traceAnalystFunctionGroup, traceAnalystOnRunComplete } from './traces.js';
|
|
13
|
+
import { t as JudgeInput, u as JudgeFn, v as BenchmarkRunnerConfig, S as Scenario, x as BenchmarkReport, y as ProductClientConfig, C as CheckResult, T as TestResult, z as PersonaConfig, D as DriverResult, A as DriverState, E as CollectedArtifacts, F as ScenarioResult, i as ReleaseConfidenceThresholds, g as ReleaseConfidenceScorecard, G as TurnMetrics, H as ScenarioFile, I as CompletionCriterion } from './release-report-ChfmCmLi.js';
|
|
14
|
+
export { K as ArtifactCheck, L as ArtifactResult, B as BootstrapOptions, a as BootstrapResult, M as CorpusAgreementOptions, N as CorpusAgreementPerDimension, O as CorpusAgreementReport, Q as CorpusScoreRecord, U as EvalResult, W as FeedbackPattern, X as JudgeConfig, J as JudgeReplayGateArgs, Y as JudgeRubric, Z as JudgeScore, P as PairedBootstrapOptions, b as PairedBootstrapResult, _ as PersonaRigor, R as ReleaseConfidenceAxis, c as ReleaseConfidenceAxisName, d as ReleaseConfidenceInput, e as ReleaseConfidenceIssue, f as ReleaseConfidenceMetrics, h as ReleaseConfidenceStatus, j as ReleaseTraceEvidence, k as RenderReleaseReportOptions, $ as RouteMap, a0 as RubricDimension, a1 as Turn, a2 as TurnResult, V as Verdict, l as assertReleaseConfidence, m as benjaminiHochberg, a3 as bonferroni, n as bootstrapCi, a4 as cohensD, a5 as confidenceInterval, a6 as corpusInterRaterAgreement, a7 as corpusInterRaterAgreementFromJudgeScores, o as evaluateReleaseConfidence, a8 as interRaterReliability, p as judgeReplayGate, a9 as mannWhitneyU, aa as normalizeScores, q as pairedBootstrap, ab as pairedMde, ac as pairedTTest, ad as partialCredit, r as releaseTraceEvidenceFromMultiShotTrials, s as renderReleaseReport, ae as requiredSampleSize, af as weightedMean, w as wilcoxonSignedRank } from './release-report-ChfmCmLi.js';
|
|
11
15
|
import { TCloud } from '@tangle-network/tcloud';
|
|
12
|
-
import { R as RunRecord, a as RunSplitTag } from './run-record-BfX5y68A.js';
|
|
13
|
-
export { J as JudgeScoresRecord, c as RunJudgeMetadata, d as RunOutcome, e as RunRecordValidationError, b as RunTokenUsage, i as isRunRecord, p as parseRunRecordSafe, r as roundTripRunRecord, v as validateRunRecord } from './run-record-BfX5y68A.js';
|
|
14
16
|
import { z } from 'zod';
|
|
15
17
|
import { C as ControlEvalResult } from './control-runtime-BZ_lVLYW.js';
|
|
16
18
|
export { c as ControlActionFailureMode, d as ControlActionOutcome, e as ControlBudget, f as ControlContext, g as ControlDecision, a as ControlRunResult, h as ControlRuntimeConfig, i as ControlRuntimeError, j as ControlSeverity, b as ControlStep, k as ControlStopPolicies, S as StopDecision, l as allCriticalPassed, o as objectiveEval, r as runAgentControlLoop, s as stopOnNoProgress, m as stopOnRepeatedAction, n as subjectiveEval } from './control-runtime-BZ_lVLYW.js';
|
|
@@ -18,15 +20,11 @@ import { A as AgentEvalError } from './errors-mje_cKOs.js';
|
|
|
18
20
|
export { a as AgentEvalErrorCode, C as CaptureIntegrityError, b as ConfigError, J as JudgeError, N as NotFoundError, R as ReplayError, V as ValidationError, c as VerificationError } from './errors-mje_cKOs.js';
|
|
19
21
|
import { b as FeedbackLabel, n as FeedbackTrajectoryStore, l as FeedbackTrajectory } from './feedback-trajectory-iATEAHmc.js';
|
|
20
22
|
export { F as FeedbackArtifactType, a as FeedbackAttempt, c as FeedbackLabelKind, d as FeedbackLabelSource, e as FeedbackOptimizerRow, f as FeedbackOutcome, g as FeedbackReplayAdapter, h as FeedbackReplayResult, i as FeedbackSeverity, j as FeedbackSplitPolicy, k as FeedbackTask, m 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-iATEAHmc.js';
|
|
21
|
-
import { A as ActionableSideInfo, h as MultiShotRunner, j as MultiShotScorer, c as MultiShotMutateAdapter, a4 as HeldOutGateConfig, E as EvolvableVariant, m as MultiShotTrialResult, e as MultiShotOptimizationResult, a3 as GateDecision, a5 as Objective, a6 as ParetoResult, V as VariantAggregate, t as TrialResult, o as MutateAdapter, T as TrialCache } from './summary-report-
|
|
22
|
-
export { a as AsiSeverity, D as DEFAULT_MUTATION_PRIMITIVES, a7 as Direction, C as GainDistributionBin, F as GainDistributionFigureSpec, H as GainDistributionOptions, a8 as GateEvidence, G as GenerationReport, a9 as HeldOutGate, aa as HeldOutGateRejectionCode, I as InMemoryTrialCache, M as MultiShotGateConfig, b as MultiShotGateResult, d as MultiShotOptimizationConfig, f as MultiShotRun, g as MultiShotRunInput, i as MultiShotScore, k as MultiShotSplit, l as MultiShotTrace, n as MultiShotVariant, J as ParetoFigureSpec, K as ParetoPoint, P as PromptEvolutionConfig, p as PromptEvolutionEvent, q as PromptEvolutionResult, L as RESEARCH_REPORT_HARD_PAIR_FLOOR, R as ReflectionContext, r as ReflectionProposal, N as ResearchReport, O as ResearchReportCandidate, Q as ResearchReportDecision, U as ResearchReportMethodology, W as ResearchReportOptions, X as ResearchReportRecommendation, S as ScenarioAggregate, s as ScoreAdapter, Y as SummaryTable, Z as SummaryTableOptions, _ as SummaryTableRow, u as TrialTrace, v as buildReflectionPrompt, ab as crowdingDistance, w as defaultMultiShotObjectives, ac as dominates, $ as gainHistogram, a0 as paretoChart, ad as paretoFrontier, ae as paretoFrontierWithCrowding, x as parseReflectionResponse, a1 as researchReport, y as runMultiShotOptimization, z as runPromptEvolution, af as scalarScore, a2 as summaryTable, B as trialTraceFromMultiShotTrial } from './summary-report-
|
|
23
|
+
import { A as ActionableSideInfo, h as MultiShotRunner, j as MultiShotScorer, c as MultiShotMutateAdapter, a4 as HeldOutGateConfig, E as EvolvableVariant, m as MultiShotTrialResult, e as MultiShotOptimizationResult, a3 as GateDecision, a5 as Objective, a6 as ParetoResult, V as VariantAggregate, t as TrialResult, o as MutateAdapter, T as TrialCache } from './summary-report-BPJVzIeW.js';
|
|
24
|
+
export { a as AsiSeverity, D as DEFAULT_MUTATION_PRIMITIVES, a7 as Direction, C as GainDistributionBin, F as GainDistributionFigureSpec, H as GainDistributionOptions, a8 as GateEvidence, G as GenerationReport, a9 as HeldOutGate, aa as HeldOutGateRejectionCode, I as InMemoryTrialCache, M as MultiShotGateConfig, b as MultiShotGateResult, d as MultiShotOptimizationConfig, f as MultiShotRun, g as MultiShotRunInput, i as MultiShotScore, k as MultiShotSplit, l as MultiShotTrace, n as MultiShotVariant, J as ParetoFigureSpec, K as ParetoPoint, P as PromptEvolutionConfig, p as PromptEvolutionEvent, q as PromptEvolutionResult, L as RESEARCH_REPORT_HARD_PAIR_FLOOR, R as ReflectionContext, r as ReflectionProposal, N as ResearchReport, O as ResearchReportCandidate, Q as ResearchReportDecision, U as ResearchReportMethodology, W as ResearchReportOptions, X as ResearchReportRecommendation, S as ScenarioAggregate, s as ScoreAdapter, Y as SummaryTable, Z as SummaryTableOptions, _ as SummaryTableRow, u as TrialTrace, v as buildReflectionPrompt, ab as crowdingDistance, w as defaultMultiShotObjectives, ac as dominates, $ as gainHistogram, a0 as paretoChart, ad as paretoFrontier, ae as paretoFrontierWithCrowding, x as parseReflectionResponse, a1 as researchReport, y as runMultiShotOptimization, z as runPromptEvolution, af as scalarScore, a2 as summaryTable, B as trialTraceFromMultiShotTrial } from './summary-report-BPJVzIeW.js';
|
|
23
25
|
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
|
-
import { i as ReleaseConfidenceThresholds, g as ReleaseConfidenceScorecard } from './release-report-DLWbBPtH.js';
|
|
25
|
-
export { B as BootstrapOptions, a as BootstrapResult, J as JudgeReplayGateArgs, P as PairedBootstrapOptions, b as PairedBootstrapResult, R as ReleaseConfidenceAxis, c as ReleaseConfidenceAxisName, d as ReleaseConfidenceInput, e as ReleaseConfidenceIssue, f as ReleaseConfidenceMetrics, h as ReleaseConfidenceStatus, j as ReleaseTraceEvidence, k as RenderReleaseReportOptions, V as Verdict, l as assertReleaseConfidence, m as bhAdjust, n as bootstrapCi, o as evaluateReleaseConfidence, p as judgeReplayGate, q as pairedBootstrap, r as pairedWilcoxon, s as releaseTraceEvidenceFromMultiShotTrials, t as renderReleaseReport } from './release-report-DLWbBPtH.js';
|
|
26
26
|
import { a as FailureCluster } from './failure-cluster-Cw65_5FY.js';
|
|
27
27
|
export { D as DEFAULT_FAILURE_RULES, b as FailureClassification, c as FailureContext, d as FailureRule, e as classifyFailure } from './failure-cluster-Cw65_5FY.js';
|
|
28
|
-
import { C as ContinuousAgreementOptions, a as ContinuousAgreement } from './index-DPILdKbP.js';
|
|
29
|
-
export { b as CalibrationResult, c as CandidateScore, d as ContinuousCalibrationResult, D as DEFAULT_RED_TEAM_CORPUS, E as EuRiskClass, G as GoldenItem, e as GovernanceContext, f as GovernanceFinding, g as GovernanceReport, P as PositionalBiasResult, R as RedTeamCase, h as RedTeamCategory, i as RedTeamFinding, j as RedTeamPayload, k as RedTeamReport, S as SelfPreferenceResult, U as UseCaseSignals, V as VerbosityBiasResult, l as calibrateJudge, m as calibrateJudgeContinuous, n as classifyEuAiRisk, o as continuousAgreement, p as euAiActReport, q as nistAiRmfReport, r as positionalBias, s as redTeamDataset, t as redTeamReport, u as renderMarkdown, v as scoreRedTeamOutput, w as selfPreference, x as soc2Report, y as summarize, z as toolNamesForRun, A as verbosityBias } from './index-DPILdKbP.js';
|
|
30
28
|
import { S as SandboxDriver, H as HarnessConfig, a as SandboxHarnessResult } from './test-graded-scenario-B2kWEdh9.js';
|
|
31
29
|
export { D as DockerSandboxDriver, c as SandboxHarness, d as SandboxResult, e as SubprocessSandboxDriver, f as SubprocessSandboxDriverOptions, g as TestGradedRunOptions, b as TestGradedRunResult, T as TestGradedScenario, h as TestOutputParser, i as composeParsers, j as jestTestParser, p as pytestTestParser, r as runTestGradedScenario, v as vitestTestParser } from './test-graded-scenario-B2kWEdh9.js';
|
|
32
30
|
import { T as TraceEmitter } from './emitter-DP_cSSiw.js';
|
|
@@ -39,8 +37,10 @@ import { T as Trajectory, a as TrajectoryStep } from './trajectory-CnoBo-JY.js';
|
|
|
39
37
|
export { b as buildTrajectory } from './trajectory-CnoBo-JY.js';
|
|
40
38
|
import { a as DatasetScenario, c as Dataset } from './dataset-ueRVTUoY.js';
|
|
41
39
|
export { d as DatasetDifficulty, b as DatasetManifest, e as DatasetProvenance, D as DatasetSplit, H as HoldoutLockedError, S as SliceOptions, h as hashScenarios } from './dataset-ueRVTUoY.js';
|
|
40
|
+
export { b as CalibrationResult, c as CandidateScore, a as ContinuousAgreement, C as ContinuousAgreementOptions, d as ContinuousCalibrationResult, G as GoldenItem, P as PositionalBiasResult, S as SelfPreferenceResult, V as VerbosityBiasResult, e as calibrateJudge, f as calibrateJudgeContinuous, g as continuousAgreement, p as positionalBias, s as selfPreference, v as verbosityBias } from './judge-calibration-DilmB3Ml.js';
|
|
41
|
+
export { D as DEFAULT_RED_TEAM_CORPUS, E as EuRiskClass, G as GovernanceContext, a as GovernanceFinding, b as GovernanceReport, R as RedTeamCase, c as RedTeamCategory, d as RedTeamFinding, e as RedTeamPayload, f as RedTeamReport, U as UseCaseSignals, g as classifyEuAiRisk, h as euAiActReport, n as nistAiRmfReport, r as redTeamDataset, i as redTeamReport, j as renderMarkdown, s as scoreRedTeamOutput, k as soc2Report, l as summarize, t as toolNamesForRun } from './index-CN2agEaO.js';
|
|
42
42
|
import { a as PrmGrader } from './rubric-D5tjHNJQ.js';
|
|
43
|
-
export { B as BENCHMARK_SPLIT_SEED, a as BenchmarkAdapter, b as BenchmarkDatasetItem, c as BenchmarkEvaluation, d as benchmarkDeterministicSplit, i as benchmarks } from './index-
|
|
43
|
+
export { B as BENCHMARK_SPLIT_SEED, a as BenchmarkAdapter, b as BenchmarkDatasetItem, c as BenchmarkEvaluation, d as benchmarkDeterministicSplit, i as benchmarks } from './index-ClMxVqe_.js';
|
|
44
44
|
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';
|
|
45
45
|
import './outcome-store-D6KWmYvj.js';
|
|
46
46
|
|
|
@@ -230,299 +230,6 @@ declare function runSemanticConceptJudge(input: SemanticConceptJudgeInput, optio
|
|
|
230
230
|
*/
|
|
231
231
|
declare function createSemanticConceptJudge(options?: SemanticConceptJudgeOptions): (input: SemanticConceptJudgeInput) => Promise<SemanticConceptJudgeResult>;
|
|
232
232
|
|
|
233
|
-
interface Scenario {
|
|
234
|
-
id: string;
|
|
235
|
-
persona: string;
|
|
236
|
-
label: string;
|
|
237
|
-
thesis: string;
|
|
238
|
-
dimensions: string[];
|
|
239
|
-
turns: Turn[];
|
|
240
|
-
artifactChecks: ArtifactCheck[];
|
|
241
|
-
systemPromptAppend?: string;
|
|
242
|
-
}
|
|
243
|
-
interface Turn {
|
|
244
|
-
user: string;
|
|
245
|
-
expectedBehaviors: string[];
|
|
246
|
-
adversarial?: boolean;
|
|
247
|
-
feedbackType?: 'correction' | 'rejection' | 'vague' | 'contradictory' | 'escalation';
|
|
248
|
-
}
|
|
249
|
-
interface ArtifactCheck {
|
|
250
|
-
type: 'vault_file_exists' | 'vault_file_contains' | 'block_extracted' | 'code_valid' | 'generation_produced' | 'tool_created' | string;
|
|
251
|
-
target: string;
|
|
252
|
-
contains?: string;
|
|
253
|
-
minCount?: number;
|
|
254
|
-
description: string;
|
|
255
|
-
}
|
|
256
|
-
interface JudgeConfig {
|
|
257
|
-
model: string;
|
|
258
|
-
temperature: number;
|
|
259
|
-
rubric: JudgeRubric;
|
|
260
|
-
}
|
|
261
|
-
interface JudgeRubric {
|
|
262
|
-
name: string;
|
|
263
|
-
description: string;
|
|
264
|
-
dimensions: RubricDimension[];
|
|
265
|
-
}
|
|
266
|
-
interface RubricDimension {
|
|
267
|
-
name: string;
|
|
268
|
-
description: string;
|
|
269
|
-
anchor_low: string;
|
|
270
|
-
anchor_high: string;
|
|
271
|
-
weight: number;
|
|
272
|
-
}
|
|
273
|
-
interface ScenarioResult {
|
|
274
|
-
scenarioId: string;
|
|
275
|
-
persona: string;
|
|
276
|
-
turns: TurnResult[];
|
|
277
|
-
artifactResults: ArtifactResult[];
|
|
278
|
-
judgeScores: JudgeScore[];
|
|
279
|
-
judgeErrors: number;
|
|
280
|
-
overallScore: number;
|
|
281
|
-
totalDurationMs: number;
|
|
282
|
-
artifacts: CollectedArtifacts;
|
|
283
|
-
}
|
|
284
|
-
interface TurnResult {
|
|
285
|
-
turnIndex: number;
|
|
286
|
-
userMessage: string;
|
|
287
|
-
agentResponse: string;
|
|
288
|
-
durationMs: number;
|
|
289
|
-
blocksExtracted: {
|
|
290
|
-
type: string;
|
|
291
|
-
title: string;
|
|
292
|
-
}[];
|
|
293
|
-
containsCode: boolean;
|
|
294
|
-
containsToolCall: boolean;
|
|
295
|
-
}
|
|
296
|
-
interface ArtifactResult {
|
|
297
|
-
check: ArtifactCheck;
|
|
298
|
-
passed: boolean;
|
|
299
|
-
detail?: string;
|
|
300
|
-
}
|
|
301
|
-
interface JudgeScore {
|
|
302
|
-
judgeName: string;
|
|
303
|
-
dimension: string;
|
|
304
|
-
score: number;
|
|
305
|
-
reasoning: string;
|
|
306
|
-
evidence?: string;
|
|
307
|
-
}
|
|
308
|
-
interface CollectedArtifacts {
|
|
309
|
-
vaultFiles: {
|
|
310
|
-
path: string;
|
|
311
|
-
content: string;
|
|
312
|
-
}[];
|
|
313
|
-
blocksExtracted: {
|
|
314
|
-
type: string;
|
|
315
|
-
fields: Record<string, string>;
|
|
316
|
-
}[];
|
|
317
|
-
codeBlocks: {
|
|
318
|
-
language: string;
|
|
319
|
-
code: string;
|
|
320
|
-
}[];
|
|
321
|
-
toolCalls: string[];
|
|
322
|
-
}
|
|
323
|
-
interface BenchmarkReport {
|
|
324
|
-
timestamp: string;
|
|
325
|
-
generation: number;
|
|
326
|
-
promptVersion: string;
|
|
327
|
-
scenarioCount: number;
|
|
328
|
-
results: ScenarioResult[];
|
|
329
|
-
summary: {
|
|
330
|
-
overallAvg: number;
|
|
331
|
-
byPersona: Record<string, {
|
|
332
|
-
avg: number;
|
|
333
|
-
passed: number;
|
|
334
|
-
total: number;
|
|
335
|
-
}>;
|
|
336
|
-
byDimension: Record<string, {
|
|
337
|
-
avg: number;
|
|
338
|
-
scores: number[];
|
|
339
|
-
}>;
|
|
340
|
-
weakest: {
|
|
341
|
-
scenario: string;
|
|
342
|
-
score: number;
|
|
343
|
-
reason: string;
|
|
344
|
-
}[];
|
|
345
|
-
strongest: {
|
|
346
|
-
scenario: string;
|
|
347
|
-
score: number;
|
|
348
|
-
reason: string;
|
|
349
|
-
}[];
|
|
350
|
-
};
|
|
351
|
-
}
|
|
352
|
-
interface RouteMap {
|
|
353
|
-
signup?: string;
|
|
354
|
-
login?: string;
|
|
355
|
-
workspaces?: string;
|
|
356
|
-
threads?: string;
|
|
357
|
-
chat?: string;
|
|
358
|
-
tasks?: string;
|
|
359
|
-
events?: string;
|
|
360
|
-
approvals?: string;
|
|
361
|
-
vault?: string;
|
|
362
|
-
generations?: string;
|
|
363
|
-
[key: string]: string | undefined;
|
|
364
|
-
}
|
|
365
|
-
interface ProductClientConfig {
|
|
366
|
-
baseUrl: string;
|
|
367
|
-
routes: RouteMap;
|
|
368
|
-
}
|
|
369
|
-
interface ScenarioFile {
|
|
370
|
-
id: string;
|
|
371
|
-
category: string;
|
|
372
|
-
persona: string;
|
|
373
|
-
label: string;
|
|
374
|
-
thesis: string;
|
|
375
|
-
isControl?: boolean;
|
|
376
|
-
rubric?: {
|
|
377
|
-
dimensions: {
|
|
378
|
-
name: string;
|
|
379
|
-
description: string;
|
|
380
|
-
weight: number;
|
|
381
|
-
}[];
|
|
382
|
-
};
|
|
383
|
-
turns: Turn[];
|
|
384
|
-
artifactChecks: ArtifactCheck[];
|
|
385
|
-
}
|
|
386
|
-
interface CompletionCriterion {
|
|
387
|
-
name: string;
|
|
388
|
-
check: (state: DriverState) => boolean;
|
|
389
|
-
progress?: (state: DriverState) => number;
|
|
390
|
-
}
|
|
391
|
-
interface FeedbackPattern {
|
|
392
|
-
trigger: string;
|
|
393
|
-
response: string;
|
|
394
|
-
}
|
|
395
|
-
/**
|
|
396
|
-
* How hard the simulated user pushes back. The driver LLM scales its tone
|
|
397
|
-
* and follow-up aggression to this:
|
|
398
|
-
* cooperative — forgiving early adopter; accepts reasonable answers.
|
|
399
|
-
* demanding — experienced professional; rejects vague or hedged answers.
|
|
400
|
-
* relentless — senior partner reviewing for a client who will litigate;
|
|
401
|
-
* interrogates every claim, accepts nothing undefended.
|
|
402
|
-
*/
|
|
403
|
-
type PersonaRigor = 'cooperative' | 'demanding' | 'relentless';
|
|
404
|
-
interface PersonaConfig {
|
|
405
|
-
id: string;
|
|
406
|
-
role: string;
|
|
407
|
-
goal: string;
|
|
408
|
-
completionCriteria: CompletionCriterion[];
|
|
409
|
-
feedbackPatterns?: FeedbackPattern[];
|
|
410
|
-
maxTurns: number;
|
|
411
|
-
driverModel?: string;
|
|
412
|
-
/** How adversarial the simulated user is. Defaults to 'demanding'. */
|
|
413
|
-
rigor?: PersonaRigor;
|
|
414
|
-
/**
|
|
415
|
-
* Domain expertise the simulated user holds — quoted into the driver
|
|
416
|
-
* prompt so it challenges the agent with authority instead of vague
|
|
417
|
-
* dissatisfaction. e.g. "a 15-year M&A partner who knows GAAP
|
|
418
|
-
* working-capital mechanics cold".
|
|
419
|
-
*/
|
|
420
|
-
expertise?: string;
|
|
421
|
-
/**
|
|
422
|
-
* Substantive issues a senior professional in this role would
|
|
423
|
-
* interrogate — traps the scenario hides, claims that must be defended.
|
|
424
|
-
* The driver probes these without revealing them verbatim; the agent
|
|
425
|
-
* must surface them on its own.
|
|
426
|
-
*/
|
|
427
|
-
pressurePoints?: string[];
|
|
428
|
-
/**
|
|
429
|
-
* Curveballs the driver may inject once the agent is coasting — changed
|
|
430
|
-
* facts, a hostile counterparty position, a new constraint. Forces the
|
|
431
|
-
* agent to re-derive rather than recite.
|
|
432
|
-
*/
|
|
433
|
-
curveballs?: string[];
|
|
434
|
-
}
|
|
435
|
-
interface DriverState {
|
|
436
|
-
tasks: number;
|
|
437
|
-
events: number;
|
|
438
|
-
proposals: {
|
|
439
|
-
pending: number;
|
|
440
|
-
approved: number;
|
|
441
|
-
rejected: number;
|
|
442
|
-
};
|
|
443
|
-
vaultFiles: string[];
|
|
444
|
-
codeBlocks: number;
|
|
445
|
-
generations: number;
|
|
446
|
-
}
|
|
447
|
-
interface TurnMetrics {
|
|
448
|
-
turn: number;
|
|
449
|
-
timestamp: string;
|
|
450
|
-
tasks: number;
|
|
451
|
-
events: number;
|
|
452
|
-
proposals: {
|
|
453
|
-
pending: number;
|
|
454
|
-
approved: number;
|
|
455
|
-
rejected: number;
|
|
456
|
-
};
|
|
457
|
-
vaultFiles: number;
|
|
458
|
-
responseLatencyMs: number;
|
|
459
|
-
responseChars: number;
|
|
460
|
-
codeBlocksProduced: number;
|
|
461
|
-
blocksExtracted: number;
|
|
462
|
-
qualityScore?: number;
|
|
463
|
-
inputTokens: number;
|
|
464
|
-
outputTokens: number;
|
|
465
|
-
estimatedCostUsd: number;
|
|
466
|
-
totalCostUsd: number;
|
|
467
|
-
completionPercent: number;
|
|
468
|
-
}
|
|
469
|
-
interface DriverResult {
|
|
470
|
-
personaId: string;
|
|
471
|
-
/** True when the simulated user professionally signed off (driver said DONE). */
|
|
472
|
-
completed: boolean;
|
|
473
|
-
/** Turn at which the simulated user signed off, or null if it never did. */
|
|
474
|
-
turnsToCompletion: number | null;
|
|
475
|
-
/**
|
|
476
|
-
* Turn at which nominal completionCriteria were first all met, or null.
|
|
477
|
-
* Distinct from turnsToCompletion: criteria can be met while the
|
|
478
|
-
* simulated professional is still unsatisfied with the work's rigor.
|
|
479
|
-
*/
|
|
480
|
-
criteriaMetAtTurn: number | null;
|
|
481
|
-
totalTurns: number;
|
|
482
|
-
metrics: TurnMetrics[];
|
|
483
|
-
finalState: DriverState;
|
|
484
|
-
convergenceCurve: number[];
|
|
485
|
-
totalCostUsd: number;
|
|
486
|
-
finalQualityScore: number | null;
|
|
487
|
-
}
|
|
488
|
-
interface BenchmarkRunnerConfig {
|
|
489
|
-
scenarios: Scenario[];
|
|
490
|
-
judges: JudgeFn[];
|
|
491
|
-
systemPrompt: string;
|
|
492
|
-
model?: string;
|
|
493
|
-
judgeModel?: string;
|
|
494
|
-
passThreshold?: number;
|
|
495
|
-
generation?: number;
|
|
496
|
-
promptVersion?: string;
|
|
497
|
-
}
|
|
498
|
-
interface JudgeInput {
|
|
499
|
-
scenario: Scenario;
|
|
500
|
-
turns: TurnResult[];
|
|
501
|
-
artifacts: CollectedArtifacts;
|
|
502
|
-
}
|
|
503
|
-
type JudgeFn = (tc: TCloud, input: JudgeInput) => Promise<JudgeScore[]>;
|
|
504
|
-
|
|
505
|
-
interface TestResult {
|
|
506
|
-
name: string;
|
|
507
|
-
passed: boolean;
|
|
508
|
-
duration: number;
|
|
509
|
-
detail?: string;
|
|
510
|
-
checks: CheckResult[];
|
|
511
|
-
}
|
|
512
|
-
interface CheckResult {
|
|
513
|
-
name: string;
|
|
514
|
-
passed: boolean;
|
|
515
|
-
expected: string;
|
|
516
|
-
actual: string;
|
|
517
|
-
}
|
|
518
|
-
interface EvalResult {
|
|
519
|
-
scenario: string;
|
|
520
|
-
status: 'pass' | 'fail' | 'skip';
|
|
521
|
-
duration: number;
|
|
522
|
-
detail?: string;
|
|
523
|
-
artifact?: string;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
233
|
/**
|
|
527
234
|
* ChatClient — the single LLM abstraction analysts call.
|
|
528
235
|
*
|
|
@@ -2093,6 +1800,94 @@ declare class MetricsCollector {
|
|
|
2093
1800
|
getConvergenceCurve(): number[];
|
|
2094
1801
|
}
|
|
2095
1802
|
|
|
1803
|
+
type PrReviewSource = 'drew' | 'donovan' | 'shady' | 'codex' | 'claude-code' | 'gpt-5.5-high' | 'claude-opus-4.7-high' | 'kimi' | 'opencode' | (string & {});
|
|
1804
|
+
type PrReviewSeverity = 'critical' | 'high' | 'medium' | 'low' | 'nit';
|
|
1805
|
+
type PrReviewOutcome = 'accepted' | 'fixed' | 'rejected' | 'duplicate' | 'noise' | 'unknown';
|
|
1806
|
+
interface PrReviewComment {
|
|
1807
|
+
id: string;
|
|
1808
|
+
source: PrReviewSource;
|
|
1809
|
+
body: string;
|
|
1810
|
+
model?: string;
|
|
1811
|
+
author?: string;
|
|
1812
|
+
path?: string;
|
|
1813
|
+
line?: number;
|
|
1814
|
+
severity?: PrReviewSeverity;
|
|
1815
|
+
outcome?: PrReviewOutcome;
|
|
1816
|
+
createdAt?: string;
|
|
1817
|
+
metadata?: Record<string, unknown>;
|
|
1818
|
+
}
|
|
1819
|
+
interface PrReviewReferenceFinding {
|
|
1820
|
+
id: string;
|
|
1821
|
+
title: string;
|
|
1822
|
+
severity: PrReviewSeverity;
|
|
1823
|
+
path?: string;
|
|
1824
|
+
line?: number;
|
|
1825
|
+
/**
|
|
1826
|
+
* Stable terms that should appear in a useful finding. Keep these
|
|
1827
|
+
* factual: API names, invariant names, table names, error classes.
|
|
1828
|
+
*/
|
|
1829
|
+
keywords?: string[];
|
|
1830
|
+
fixedByCommit?: string;
|
|
1831
|
+
sourceCommentIds?: string[];
|
|
1832
|
+
metadata?: Record<string, unknown>;
|
|
1833
|
+
}
|
|
1834
|
+
interface PrReviewAuditCase {
|
|
1835
|
+
id: string;
|
|
1836
|
+
repo: string;
|
|
1837
|
+
prNumber?: number;
|
|
1838
|
+
baseSha?: string;
|
|
1839
|
+
headSha?: string;
|
|
1840
|
+
title?: string;
|
|
1841
|
+
diff?: string;
|
|
1842
|
+
split?: 'train' | 'validation' | 'test' | 'holdout' | (string & {});
|
|
1843
|
+
comments: PrReviewComment[];
|
|
1844
|
+
referenceFindings: PrReviewReferenceFinding[];
|
|
1845
|
+
metadata?: Record<string, unknown>;
|
|
1846
|
+
}
|
|
1847
|
+
interface PrReviewScoreWeights {
|
|
1848
|
+
recall: number;
|
|
1849
|
+
precision: number;
|
|
1850
|
+
actionability: number;
|
|
1851
|
+
severityCalibration: number;
|
|
1852
|
+
lowNoise: number;
|
|
1853
|
+
}
|
|
1854
|
+
interface PrReviewMatchedFinding {
|
|
1855
|
+
referenceId: string;
|
|
1856
|
+
commentId: string;
|
|
1857
|
+
score: number;
|
|
1858
|
+
}
|
|
1859
|
+
interface PrReviewScore {
|
|
1860
|
+
caseId: string;
|
|
1861
|
+
source: PrReviewSource;
|
|
1862
|
+
commentCount: number;
|
|
1863
|
+
referenceCount: number;
|
|
1864
|
+
matchedFindings: PrReviewMatchedFinding[];
|
|
1865
|
+
recall: number;
|
|
1866
|
+
precision: number;
|
|
1867
|
+
actionability: number;
|
|
1868
|
+
severityCalibration: number;
|
|
1869
|
+
lowNoise: number;
|
|
1870
|
+
aggregate: number;
|
|
1871
|
+
notes: string[];
|
|
1872
|
+
}
|
|
1873
|
+
interface PrReviewBenchmarkSummary {
|
|
1874
|
+
source: PrReviewSource;
|
|
1875
|
+
caseCount: number;
|
|
1876
|
+
commentCount: number;
|
|
1877
|
+
aggregateMean: number;
|
|
1878
|
+
recallMean: number;
|
|
1879
|
+
precisionMean: number;
|
|
1880
|
+
actionabilityMean: number;
|
|
1881
|
+
severityCalibrationMean: number;
|
|
1882
|
+
lowNoiseMean: number;
|
|
1883
|
+
}
|
|
1884
|
+
declare const DEFAULT_PR_REVIEW_SCORE_WEIGHTS: PrReviewScoreWeights;
|
|
1885
|
+
declare function commentsForSource(auditCase: PrReviewAuditCase, source: PrReviewSource): PrReviewComment[];
|
|
1886
|
+
declare function scorePrReviewSource(auditCase: PrReviewAuditCase, source: PrReviewSource, weights?: Partial<PrReviewScoreWeights>): PrReviewScore;
|
|
1887
|
+
declare function scorePrReviewComments(auditCase: PrReviewAuditCase, comments: PrReviewComment[], source: PrReviewSource, weights?: Partial<PrReviewScoreWeights>): PrReviewScore;
|
|
1888
|
+
declare function summarizePrReviewBenchmark(scores: PrReviewScore[]): PrReviewBenchmarkSummary[];
|
|
1889
|
+
declare function aggregatePrReviewScore(dimensions: Pick<PrReviewScore, 'recall' | 'precision' | 'actionability' | 'severityCalibration' | 'lowNoise'>, weights?: Partial<PrReviewScoreWeights>): number;
|
|
1890
|
+
|
|
2096
1891
|
/**
|
|
2097
1892
|
* ProductionLoop — the substrate that closes eval → prod → eval.
|
|
2098
1893
|
*
|
|
@@ -2310,139 +2105,6 @@ declare function formatDriverReport(results: DriverResult[]): string;
|
|
|
2310
2105
|
/** Print a compact summary to console */
|
|
2311
2106
|
declare function printDriverSummary(results: DriverResult[]): void;
|
|
2312
2107
|
|
|
2313
|
-
/**
|
|
2314
|
-
* Normalize scores so all dimensions follow "higher = better".
|
|
2315
|
-
* Inverted dimensions (hallucination, false_confidence, worst_failure)
|
|
2316
|
-
* already use inverted scoring in the prompt (10 = no hallucination),
|
|
2317
|
-
* but this function ensures consistency if raw scores leak through.
|
|
2318
|
-
*/
|
|
2319
|
-
declare function normalizeScores(scores: JudgeScore[]): JudgeScore[];
|
|
2320
|
-
/** Weighted mean — falls back to uniform weights when omitted */
|
|
2321
|
-
declare function weightedMean(scores: {
|
|
2322
|
-
score: number;
|
|
2323
|
-
weight?: number;
|
|
2324
|
-
}[]): number;
|
|
2325
|
-
/** Bootstrap confidence interval */
|
|
2326
|
-
declare function confidenceInterval(scores: number[], confidence?: number): {
|
|
2327
|
-
mean: number;
|
|
2328
|
-
lower: number;
|
|
2329
|
-
upper: number;
|
|
2330
|
-
};
|
|
2331
|
-
/**
|
|
2332
|
-
* Inter-rater reliability — simplified Krippendorff's alpha.
|
|
2333
|
-
*
|
|
2334
|
-
* Each inner array is one judge's scores for all items.
|
|
2335
|
-
* All arrays must have the same length (same items scored).
|
|
2336
|
-
*/
|
|
2337
|
-
declare function interRaterReliability(judgeScores: JudgeScore[][]): number;
|
|
2338
|
-
/**
|
|
2339
|
-
* Mann-Whitney U test for comparing two independent groups.
|
|
2340
|
-
* Returns U statistic and approximate p-value (normal approximation).
|
|
2341
|
-
*/
|
|
2342
|
-
declare function mannWhitneyU(a: number[], b: number[]): {
|
|
2343
|
-
u: number;
|
|
2344
|
-
p: number;
|
|
2345
|
-
};
|
|
2346
|
-
/** Partial credit: returns 0-1 ratio of current toward target */
|
|
2347
|
-
declare function partialCredit(current: number, target: number): number;
|
|
2348
|
-
/**
|
|
2349
|
-
* Paired t-test — before/after measurements on the SAME items.
|
|
2350
|
-
* Pairing removes inter-item variance, giving tighter significance than
|
|
2351
|
-
* an unpaired test when comparing prompt v1 vs prompt v2 on identical
|
|
2352
|
-
* scenarios.
|
|
2353
|
-
*/
|
|
2354
|
-
declare function pairedTTest(before: number[], after: number[]): {
|
|
2355
|
-
t: number;
|
|
2356
|
-
df: number;
|
|
2357
|
-
p: number;
|
|
2358
|
-
};
|
|
2359
|
-
/**
|
|
2360
|
-
* Wilcoxon signed-rank test — paired non-parametric alternative.
|
|
2361
|
-
* Use when the differences aren't normally distributed.
|
|
2362
|
-
*/
|
|
2363
|
-
declare function wilcoxonSignedRank(before: number[], after: number[]): {
|
|
2364
|
-
w: number;
|
|
2365
|
-
p: number;
|
|
2366
|
-
};
|
|
2367
|
-
/**
|
|
2368
|
-
* Cohen's d — standardized effect size for two independent groups.
|
|
2369
|
-
* Positive d means group b has higher mean than group a.
|
|
2370
|
-
* Rule of thumb: |d| < 0.2 negligible, 0.2–0.5 small, 0.5–0.8 medium, > 0.8 large.
|
|
2371
|
-
*/
|
|
2372
|
-
declare function cohensD(a: number[], b: number[]): number;
|
|
2373
|
-
interface CorpusScoreRecord {
|
|
2374
|
-
/** Stable identifier for the rated item (scenario, span, turn, …). */
|
|
2375
|
-
itemId: string;
|
|
2376
|
-
/** Identifier for the judge that produced this score. */
|
|
2377
|
-
judgeName: string;
|
|
2378
|
-
/** Dimension name (matches `JudgeScore.dimension`). */
|
|
2379
|
-
dimension: string;
|
|
2380
|
-
/** Numeric score; must be finite. */
|
|
2381
|
-
score: number;
|
|
2382
|
-
}
|
|
2383
|
-
interface CorpusAgreementPerDimension extends ContinuousAgreement {
|
|
2384
|
-
dimension: string;
|
|
2385
|
-
/** Item IDs that contributed to this dimension's matrix (every judge scored them). */
|
|
2386
|
-
itemIds: string[];
|
|
2387
|
-
/** Judge IDs that contributed to this dimension's matrix. */
|
|
2388
|
-
judgeIds: string[];
|
|
2389
|
-
}
|
|
2390
|
-
interface CorpusAgreementReport {
|
|
2391
|
-
/** Per-dimension ICC(2,1) + κ_w + Pearson + Spearman + bootstrap CIs. */
|
|
2392
|
-
perDimension: CorpusAgreementPerDimension[];
|
|
2393
|
-
/** Mean ICC across dimensions (NaN if no dimension yielded a finite ICC). */
|
|
2394
|
-
overallIcc: number;
|
|
2395
|
-
/** Mean weighted κ across dimensions (NaN if none finite). */
|
|
2396
|
-
overallWeightedKappa: number;
|
|
2397
|
-
/** Dimensions evaluated (sorted). */
|
|
2398
|
-
dimensions: string[];
|
|
2399
|
-
/** Judges seen across the corpus (sorted). */
|
|
2400
|
-
judgeIds: string[];
|
|
2401
|
-
}
|
|
2402
|
-
interface CorpusAgreementOptions extends ContinuousAgreementOptions {
|
|
2403
|
-
/**
|
|
2404
|
-
* Restrict the audit to these dimensions. Default = every dimension
|
|
2405
|
-
* that appears in the input. A dimension named here but absent from
|
|
2406
|
-
* the input throws — silent omission would corrupt the overall metric.
|
|
2407
|
-
*/
|
|
2408
|
-
dimensions?: string[];
|
|
2409
|
-
/**
|
|
2410
|
-
* Restrict the audit to these judges. Default = every judge that
|
|
2411
|
-
* appears in the input. A judge named here but absent from a
|
|
2412
|
-
* dimension throws (see "fail loud" below).
|
|
2413
|
-
*/
|
|
2414
|
-
judges?: string[];
|
|
2415
|
-
}
|
|
2416
|
-
/**
|
|
2417
|
-
* Corpus-wide inter-rater agreement across N items × M judges × D dimensions.
|
|
2418
|
-
*
|
|
2419
|
-
* For each dimension, builds the [n_items][n_judges] matrix of scores
|
|
2420
|
-
* (keeping only items every judge rated on that dimension), then runs
|
|
2421
|
-
* `continuousAgreement` to get ICC(2,1), κ_w, Pearson, Spearman, and
|
|
2422
|
-
* bootstrap CIs. Reports a pooled mean across dimensions as a single
|
|
2423
|
-
* "is this judge panel reliable on this corpus?" number.
|
|
2424
|
-
*
|
|
2425
|
-
* Fail-loud contract:
|
|
2426
|
-
* - Empty input throws.
|
|
2427
|
-
* - Fewer than 2 judges or fewer than 2 items per dimension throws.
|
|
2428
|
-
* - A judge present in some dimensions but with zero scored items on
|
|
2429
|
-
* another dimension throws (would silently shrink the matrix).
|
|
2430
|
-
* - Duplicate (itemId, judgeName, dimension) records throw.
|
|
2431
|
-
*/
|
|
2432
|
-
declare function corpusInterRaterAgreement(records: CorpusScoreRecord[], opts?: CorpusAgreementOptions): CorpusAgreementReport;
|
|
2433
|
-
/**
|
|
2434
|
-
* Convenience adapter for `JudgeScore[]` data keyed externally by item.
|
|
2435
|
-
*
|
|
2436
|
-
* Use when you have per-item arrays of `JudgeScore[]` (e.g. one
|
|
2437
|
-
* `ScenarioResult.judgeScores` per scenario) and want corpus-wide
|
|
2438
|
-
* agreement without manually flattening. `itemId` must be unique per
|
|
2439
|
-
* row of `itemsScores`.
|
|
2440
|
-
*/
|
|
2441
|
-
declare function corpusInterRaterAgreementFromJudgeScores(itemsScores: Array<{
|
|
2442
|
-
itemId: string;
|
|
2443
|
-
scores: JudgeScore[];
|
|
2444
|
-
}>, opts?: CorpusAgreementOptions): CorpusAgreementReport;
|
|
2445
|
-
|
|
2446
2108
|
/**
|
|
2447
2109
|
* Anti-slop quality judge.
|
|
2448
2110
|
*
|
|
@@ -3455,6 +3117,46 @@ declare class BudgetGuard {
|
|
|
3455
3117
|
get state(): Record<keyof BudgetSpec, number>;
|
|
3456
3118
|
}
|
|
3457
3119
|
|
|
3120
|
+
/**
|
|
3121
|
+
* @stable
|
|
3122
|
+
*
|
|
3123
|
+
* AgentProfile — the eval harness's unit of variation.
|
|
3124
|
+
*
|
|
3125
|
+
* A profile pins everything that changes agent behaviour for a benchmark
|
|
3126
|
+
* cell: the model, the active skills, the prompt version, the available
|
|
3127
|
+
* tools. Vary the profile — swap a model, add a skill — and re-run the suite
|
|
3128
|
+
* to benchmark the change. The scorecard keys a cell on
|
|
3129
|
+
* `(scenarioId, profileHash)`, so the model is not a separate axis: it lives
|
|
3130
|
+
* inside the profile, and two profiles with the same model but different
|
|
3131
|
+
* skills are different cells.
|
|
3132
|
+
*
|
|
3133
|
+
* `agentProfileHash` is the profile's behaviour identity. Two profiles that
|
|
3134
|
+
* produce the same agent behaviour share a hash (and a scorecard cell);
|
|
3135
|
+
* reordering `skills` or `tools` does not change it; the human-facing `id`
|
|
3136
|
+
* label does not affect it.
|
|
3137
|
+
*/
|
|
3138
|
+
interface AgentProfile {
|
|
3139
|
+
/** Human-facing label, e.g. `sonnet-legal-skills-v3`. Not part of the hash. */
|
|
3140
|
+
id: string;
|
|
3141
|
+
/** Model snapshot id this profile pins, e.g. `claude-sonnet-4-6@2025-04-15`. */
|
|
3142
|
+
model: string;
|
|
3143
|
+
/** Skill ids/versions active in this profile — the primary behaviour lever. */
|
|
3144
|
+
skills?: string[];
|
|
3145
|
+
/** Prompt version identifier. */
|
|
3146
|
+
promptVersion?: string;
|
|
3147
|
+
/** Tool ids available to the agent. */
|
|
3148
|
+
tools?: string[];
|
|
3149
|
+
/** Any other behaviour-bearing knobs that should fingerprint into the hash. */
|
|
3150
|
+
metadata?: Record<string, string | number | boolean>;
|
|
3151
|
+
}
|
|
3152
|
+
/**
|
|
3153
|
+
* Deterministic behaviour identity of a profile — a sha256 over the
|
|
3154
|
+
* behaviour-bearing fields. `skills` and `tools` are order-insensitive; the
|
|
3155
|
+
* `id` label is excluded. Throws on a profile with no `model` — an unkeyable
|
|
3156
|
+
* profile must fail loud rather than collapse into a blank-model cell.
|
|
3157
|
+
*/
|
|
3158
|
+
declare function agentProfileHash(profile: AgentProfile): string;
|
|
3159
|
+
|
|
3458
3160
|
/**
|
|
3459
3161
|
* Cost tracker — token + USD accounting per scenario and per run.
|
|
3460
3162
|
*
|
|
@@ -3688,6 +3390,138 @@ interface OracleReport {
|
|
|
3688
3390
|
/** Run all oracles against one observation and aggregate. */
|
|
3689
3391
|
declare function evaluateOracles(obs: OracleObservation, oracles: Oracle[]): OracleReport;
|
|
3690
3392
|
|
|
3393
|
+
/**
|
|
3394
|
+
* @stable
|
|
3395
|
+
*
|
|
3396
|
+
* Eval scorecard — the persistent (persona × profile) score timeline.
|
|
3397
|
+
*
|
|
3398
|
+
* Every benchmark run folds into per-cell entries; a cell is
|
|
3399
|
+
* `(scenarioId, profileHash)` and its timeline carries one entry per commit.
|
|
3400
|
+
* The scorecard answers the question a single run cannot: did THIS change
|
|
3401
|
+
* regress persona P on profile F, even while the aggregate improved?
|
|
3402
|
+
*
|
|
3403
|
+
* Storage is an append-only JSONL log — one line per (cell, commit). Appends
|
|
3404
|
+
* never read-modify-write, so concurrent campaign runs cannot clobber each
|
|
3405
|
+
* other; `loadScorecard` folds the log into the queryable `Scorecard`, and a
|
|
3406
|
+
* malformed line never breaks the read. `diffScorecard` compares the latest
|
|
3407
|
+
* entry of each cell against its predecessor with Cohen's d + Welch's t-test.
|
|
3408
|
+
*/
|
|
3409
|
+
|
|
3410
|
+
/** One commit's measurement of one (scenario, profile) cell. */
|
|
3411
|
+
interface ScorecardEntry {
|
|
3412
|
+
commitSha: string;
|
|
3413
|
+
/** ISO timestamp the entry was recorded. */
|
|
3414
|
+
timestamp: string;
|
|
3415
|
+
/** Per-seed (or per-rep) scores for this cell at this commit. */
|
|
3416
|
+
scores: number[];
|
|
3417
|
+
/** Median of `scores` — the cell's headline score for the commit. */
|
|
3418
|
+
composite: number;
|
|
3419
|
+
/** Per-dimension means, when the runs carried a judge breakdown. */
|
|
3420
|
+
perDimension?: Record<string, number>;
|
|
3421
|
+
/** RunRecord ids folded into this entry — provenance. */
|
|
3422
|
+
runIds: string[];
|
|
3423
|
+
}
|
|
3424
|
+
/** A (scenario, profile) cell and its commit-ordered score timeline. */
|
|
3425
|
+
interface ScorecardCell {
|
|
3426
|
+
scenarioId: string;
|
|
3427
|
+
profileHash: string;
|
|
3428
|
+
/** Model id — denormalised from the profile for readable filtering. */
|
|
3429
|
+
model: string;
|
|
3430
|
+
timeline: ScorecardEntry[];
|
|
3431
|
+
}
|
|
3432
|
+
/** The folded scorecard: every cell, plus the profile definitions by hash. */
|
|
3433
|
+
interface Scorecard {
|
|
3434
|
+
cells: ScorecardCell[];
|
|
3435
|
+
/** Profile definitions seen — keeps the scorecard self-describing. */
|
|
3436
|
+
profiles: Record<string, AgentProfile>;
|
|
3437
|
+
}
|
|
3438
|
+
/** One append-only log line — a single cell's entry for a single commit. */
|
|
3439
|
+
interface ScorecardLogLine {
|
|
3440
|
+
scenarioId: string;
|
|
3441
|
+
profileHash: string;
|
|
3442
|
+
model: string;
|
|
3443
|
+
profile: AgentProfile;
|
|
3444
|
+
entry: ScorecardEntry;
|
|
3445
|
+
}
|
|
3446
|
+
interface RecordRunsOptions {
|
|
3447
|
+
/** The profile that produced these runs — keys the cell. */
|
|
3448
|
+
profile: AgentProfile;
|
|
3449
|
+
commitSha: string;
|
|
3450
|
+
/** Defaults to `new Date().toISOString()`. */
|
|
3451
|
+
timestamp?: string;
|
|
3452
|
+
}
|
|
3453
|
+
/**
|
|
3454
|
+
* Fold a benchmark's `RunRecord[]` into per-cell scorecard log lines — one
|
|
3455
|
+
* line per scenario the runs cover. All runs are attributed to the single
|
|
3456
|
+
* `profile` in `opts` (the harness ran them under it); the cell key is
|
|
3457
|
+
* `(scenarioId, agentProfileHash(profile))`.
|
|
3458
|
+
*/
|
|
3459
|
+
declare function recordRuns(runs: RunRecord[], opts: RecordRunsOptions): ScorecardLogLine[];
|
|
3460
|
+
/** Append cell entries to the JSONL scorecard log. Creates the file/dir. */
|
|
3461
|
+
declare function appendScorecard(logPath: string, lines: ScorecardLogLine[]): void;
|
|
3462
|
+
/** Record runs and append them to the log in one call. Returns the lines. */
|
|
3463
|
+
declare function recordRunsToScorecard(logPath: string, runs: RunRecord[], opts: RecordRunsOptions): ScorecardLogLine[];
|
|
3464
|
+
/**
|
|
3465
|
+
* Fold the JSONL log into a queryable `Scorecard`. A missing file yields an
|
|
3466
|
+
* empty scorecard; a malformed line is skipped — a corrupt append never
|
|
3467
|
+
* breaks the read. Each cell's timeline is sorted chronologically.
|
|
3468
|
+
*/
|
|
3469
|
+
declare function loadScorecard(logPath: string): Scorecard;
|
|
3470
|
+
type CellVerdict = 'improved' | 'regressed' | 'flat' | 'new';
|
|
3471
|
+
interface ScorecardCellDiff {
|
|
3472
|
+
scenarioId: string;
|
|
3473
|
+
profileHash: string;
|
|
3474
|
+
model: string;
|
|
3475
|
+
verdict: CellVerdict;
|
|
3476
|
+
/** Composite of the latest entry. */
|
|
3477
|
+
current: number;
|
|
3478
|
+
/** Composite of the comparison entry — `null` when `verdict === 'new'`. */
|
|
3479
|
+
baseline: number | null;
|
|
3480
|
+
/** `current − baseline` — `null` when new. */
|
|
3481
|
+
delta: number | null;
|
|
3482
|
+
/** Cohen's d of current vs baseline samples — `null` when new or n < 2. */
|
|
3483
|
+
cohensD: number | null;
|
|
3484
|
+
/** Welch's t-test p-value — `null` when new or n < 2. */
|
|
3485
|
+
pValue: number | null;
|
|
3486
|
+
currentCommit: string;
|
|
3487
|
+
baselineCommit: string | null;
|
|
3488
|
+
}
|
|
3489
|
+
interface ScorecardDiff {
|
|
3490
|
+
cells: ScorecardCellDiff[];
|
|
3491
|
+
summary: {
|
|
3492
|
+
improved: number;
|
|
3493
|
+
regressed: number;
|
|
3494
|
+
flat: number;
|
|
3495
|
+
new: number;
|
|
3496
|
+
};
|
|
3497
|
+
}
|
|
3498
|
+
interface DiffScorecardOptions {
|
|
3499
|
+
/** Compare each cell against this commit instead of its immediate predecessor. */
|
|
3500
|
+
baselineCommit?: string;
|
|
3501
|
+
/** |Cohen's d| at/above which a move counts as real. Default 0.5. */
|
|
3502
|
+
minEffect?: number;
|
|
3503
|
+
/** p-value at/below which a move is significant. Default 0.05. */
|
|
3504
|
+
maxP?: number;
|
|
3505
|
+
/**
|
|
3506
|
+
* |delta| at/above which a move counts when statistics are unavailable
|
|
3507
|
+
* (a cell with fewer than 2 samples on either side). Default 0.05.
|
|
3508
|
+
*/
|
|
3509
|
+
minDelta?: number;
|
|
3510
|
+
}
|
|
3511
|
+
/**
|
|
3512
|
+
* Compare the latest entry of every cell against its predecessor (or against
|
|
3513
|
+
* `baselineCommit`) and classify the move. A move is `improved`/`regressed`
|
|
3514
|
+
* only when it clears both the effect-size and significance gates; otherwise
|
|
3515
|
+
* `flat`. Cells with no prior entry are `new`.
|
|
3516
|
+
*/
|
|
3517
|
+
declare function diffScorecard(scorecard: Scorecard, opts?: DiffScorecardOptions): ScorecardDiff;
|
|
3518
|
+
/**
|
|
3519
|
+
* Render a scorecard diff as a human-readable report — the block a feature
|
|
3520
|
+
* PR prints. Regressions are listed first; flat cells are summarised, not
|
|
3521
|
+
* enumerated.
|
|
3522
|
+
*/
|
|
3523
|
+
declare function formatScorecardDiff(diff: ScorecardDiff): string;
|
|
3524
|
+
|
|
3691
3525
|
/**
|
|
3692
3526
|
* Series convergence — detects whether a sequence of scalar measurements
|
|
3693
3527
|
* is stabilizing, drifting, or noisy.
|
|
@@ -4180,49 +4014,6 @@ interface ParaphraseRobustnessScenarioResult {
|
|
|
4180
4014
|
*/
|
|
4181
4015
|
declare function paraphraseRobustnessScenarios(args: ParaphraseRobustnessScenarioInput): Promise<ParaphraseRobustnessScenarioResult>;
|
|
4182
4016
|
|
|
4183
|
-
/**
|
|
4184
|
-
* Power analysis + multiple-comparison correction.
|
|
4185
|
-
*
|
|
4186
|
-
* Two jobs:
|
|
4187
|
-
* 1. Before running: `requiredSampleSize({ effect, alpha, power })`
|
|
4188
|
-
* returns the N per arm needed to detect a given effect size.
|
|
4189
|
-
* 2. After running: `benjaminiHochberg(pValues, fdr)` and
|
|
4190
|
-
* `bonferroni(pValues, alpha)` correct for multiple pairwise tests
|
|
4191
|
-
* so pairwise variant comparisons stay statistically honest.
|
|
4192
|
-
*
|
|
4193
|
-
* Applying alpha directly across n*(n-1)/2 pairwise tests without
|
|
4194
|
-
* correction inflates the false-positive rate when variants ≥ 3 — the
|
|
4195
|
-
* BH and Bonferroni helpers prevent that.
|
|
4196
|
-
*/
|
|
4197
|
-
/**
|
|
4198
|
-
* Required N per arm for a two-sample comparison at target effect size,
|
|
4199
|
-
* alpha, and power. Uses the normal-approximation formula:
|
|
4200
|
-
*
|
|
4201
|
-
* n = 2 * ( (z_{1-α/2} + z_{1-β}) / d )^2
|
|
4202
|
-
*
|
|
4203
|
-
* where d is Cohen's d. Returns Infinity for effect ≤ 0.
|
|
4204
|
-
*/
|
|
4205
|
-
declare function requiredSampleSize(opts: {
|
|
4206
|
-
effect: number;
|
|
4207
|
-
alpha?: number;
|
|
4208
|
-
power?: number;
|
|
4209
|
-
twoSided?: boolean;
|
|
4210
|
-
}): number;
|
|
4211
|
-
/** Bonferroni adjustment: multiply every p-value by the number of tests, clamp at 1. */
|
|
4212
|
-
declare function bonferroni(pValues: number[], alpha?: number): {
|
|
4213
|
-
adjusted: number[];
|
|
4214
|
-
significant: boolean[];
|
|
4215
|
-
};
|
|
4216
|
-
/**
|
|
4217
|
-
* Benjamini–Hochberg false discovery rate. Returns adjusted q-values and
|
|
4218
|
-
* significance at the target FDR. Properly handles ties and preserves
|
|
4219
|
-
* monotonicity of q-values.
|
|
4220
|
-
*/
|
|
4221
|
-
declare function benjaminiHochberg(pValues: number[], fdr?: number): {
|
|
4222
|
-
qValues: number[];
|
|
4223
|
-
significant: boolean[];
|
|
4224
|
-
};
|
|
4225
|
-
|
|
4226
4017
|
/**
|
|
4227
4018
|
* Visual diff — pixel-delta scoring for UI / visual outputs.
|
|
4228
4019
|
*
|
|
@@ -6337,10 +6128,11 @@ interface JudgeRetryPolicy {
|
|
|
6337
6128
|
/** Exponential backoff function, default `attempt → min(500 * 2^attempt, 16_000)`. */
|
|
6338
6129
|
backoffMs?: (attempt: number) => number;
|
|
6339
6130
|
/**
|
|
6340
|
-
* Predicate deciding whether an error should trigger a retry.
|
|
6341
|
-
*
|
|
6342
|
-
* `
|
|
6343
|
-
* {429,
|
|
6131
|
+
* Predicate deciding whether an error should trigger a retry. Defaults to
|
|
6132
|
+
* `isTransientLlmError` — the package-wide classifier shared with
|
|
6133
|
+
* `callLlm` — which retries aborts/timeouts, network faults, HTTP/2
|
|
6134
|
+
* transport faults, and any `LlmCallError` with status in {429,502,503,504}.
|
|
6135
|
+
* JSON-parse and schema-rejection errors are NOT retriable (the model
|
|
6344
6136
|
* needs prompt adjustment, not another shot).
|
|
6345
6137
|
*/
|
|
6346
6138
|
isRetryable?: (err: unknown) => boolean;
|
|
@@ -6486,4 +6278,4 @@ declare function aggregateTrialsByMode(trials: TrialResult[], opts: {
|
|
|
6486
6278
|
mode: AggregatorMode;
|
|
6487
6279
|
}): TrialAggregate;
|
|
6488
6280
|
|
|
6489
|
-
export { ANALYST_SEVERITIES, ActionableSideInfo, type ActiveLearningOptions, type AdapterRun, AgentDriver, type AgentDriverConfig, AgentEvalError, type AggregatorMode, type AlignmentOp, type Analyst, type AnalystContext, type AnalystCost, type AnalystFinding, type AnalystHooks, type AnalystInputKind, AnalystRegistry, type AnalystRegistryOptions, type AnalystRequirements, type AnalystRunEvent, type AnalystRunInputs, type AnalystRunResult, type AnalystRunSummary, type AnalystSeverity, AnalyzeTracesOptions, type AntiSlopConfig, type AntiSlopIssue, type AntiSlopReport, Artifact$1 as Artifact, type ArtifactCheck, type Artifact as ArtifactCheckArtifact, type ArtifactEventLike, type ArtifactResult, type ArtifactValidator, type AutoPrClient, AxGepaSteeringOptimizer, type AxSteeringOptimizerConfig, BackendIntegrityError, type BackendIntegrityReport, BaselineReport, BehaviorAssertion, type BenchmarkReport, BenchmarkRunner, type BenchmarkRunnerConfig, type BisectOptions, type BisectResult, type BisectStep, BudgetBreachError, BudgetGuard, BudgetLedgerEntry, type BudgetPolicy, BudgetSpec, CallExpectation, type CanaryAlert, type CanaryKind, type CanaryLeak, type CanaryOptions, type CanaryReport, type CanarySeverity, type CandidateScenario, type CausalAttributionReport, type ChatCallOpts, type ChatClient, type ChatRequest, type ChatResponse, type ChatTransport, type CheckResult, type CliBridgeTransportOpts, type CodeMutationOutcome, type CodeMutationRunner, type CollectedArtifacts, type CommandRunner, type CompletionCriterion, type CompletionRequirement, type CompletionVerdict, type CompositePolicy, type ConceptComplexity, type ConceptFinding, type ConceptSpec, type ConceptWeightStrategy, type ContinuityCheck, type ContinuityCheckResult, type ContinuityReport, type ContinuitySnapshotPair, ContinuousAgreement, ContinuousAgreementOptions, type ContractMetric, type ContractReport, ControlEvalResult, ConvergenceTracker, type CorpusAgreementOptions, type CorpusAgreementPerDimension, type CorpusAgreementReport, type CorpusScoreRecord, type CorrectnessChecker, type CostEntry, CostLedger, type CostLedgerGeneration, type CostLedgerSnapshot, type CostSummary, CostTracker, type CounterfactualContext, type CounterfactualMutation, type CounterfactualResult, type CounterfactualRunner, type CreateChatClientOpts, type CreateCompositeMutatorOpts, type CreateDefaultReviewerOptions, type CreateSandboxCodeMutatorOpts, type CreateSandboxPoolOpts, type CreateTraceAnalystKindOpts, type CrossTraceDiff, type CrossTraceDiffOptions, D1ExperimentStore, type D1ExperimentStoreOptions, type D1Like, type D1PreparedStatementLike, DEFAULT_AGENT_SLOS, DEFAULT_COMPLEXITY_WEIGHTS, DEFAULT_FINDERS, DEFAULT_HARNESS_OBJECTIVES, DEFAULT_MUTATORS, DEFAULT_RUN_SCORE_WEIGHTS, DEFAULT_SEVERITY_WEIGHTS, DEFAULT_TRACE_ANALYST_KINDS, Dataset, DatasetScenario, type DecideNextUserTurnOpts, type DeployFamily, type DeployGateLayerInput, type DeployRunResult, type DeployRunner, type DiffPolicy, type DirEntry, type DirectProviderTransportOpts, type DiscoverPersonasOptions, type DiscoveredPersona, type DriverResult, type DriverState, DualAgentBench, type DualAgentBenchConfig, type DualAgentReport, type DualAgentRound, type DualAgentScenario, type DualAgentScenarioResult, ERROR_COUNT_PATTERNS, type ErrorCountPattern, type EvalResult, type EvidenceRef, type EvolutionRound, EvolvableVariant, type ExecutorConfig, type Expectation, type Experiment, type Run as ExperimentRun, type ExperimentStore, ExperimentTracker, type ExportedRewardModel, type ExtractOptions, type ExtractResult, FAILURE_MODE_KIND_SPEC, FINDING_SUBJECT_GRAMMAR_PROMPT, FINDING_SUBJECT_KINDS, type FactorContribution, type FactorialCell, type FailureClusterConfig, FeedbackLabel, type FeedbackPattern, FeedbackTrajectory, FeedbackTrajectoryStore, type FileChange, FileSystemExperimentStore, type FileSystemExperimentStoreOptions, type FindingSubject, type FindingSubjectKind, FindingSubjectStringSchema, type FindingsDiff, FindingsStore, type FlowAction, type FlowLayerEnv, type FlowLayerFactoryInput, type FlowRunner, type FlowRunnerStepResult, type FlowSpec, type FlowStep, GateDecision, type GhCliClientOptions, type GoldenSeverity, type GoldenSpec, type HarnessAdapter, HarnessConfig, type HarnessExperimentConfig, type HarnessExperimentResult, type HarnessIntervention, type HarnessRunRequest, type HarnessRunResult, type HarnessScenario, type HarnessSelection, type HarnessVariant, type HarnessVariantReport, HeldOutGateConfig, HoldoutAuditor, type HostedJudgeConfig, type HostedJudgeDimension, type HostedJudgeRequest, type HostedJudgeResponse, type HostedRunCriticConfig, type HostedRunScoreRequest, type HostedRunScoreResponse, type HttpGithubClientOptions, type HypothesisManifest, type HypothesisResult, IMPROVEMENT_KIND_SPEC, INTENT_MATCH_JUDGE_VERSION, type ImageData, InMemoryExperimentStore, InMemoryWorkspaceInspector, type InferenceScorer, type InspectorContext, type IntegrationGateSurface, type IntegrationInvokeFailureInput, type IntegrationManifestGateInput, type IntentMatchInput, type IntentMatchOptions, type IntentMatchResult, type InteractionContribution, JsonlTrialCache, type JudgeAdapterOpts, type JudgeConfig, type JudgeFleetOptions, type JudgeFn, type JudgeInput, type JudgeReplayResult, type JudgeRetryOutcome, type JudgeRetryPolicy, type JudgeRubric, JudgeRunner, type JudgeScore, KIND_EXPECTED_SUBJECTS, KNOWLEDGE_GAP_KIND_SPEC, KNOWLEDGE_POISONING_KIND_SPEC, type KeywordConceptSpec, type KeywordCoverageFinding, type KeywordCoverageOptions, type KeywordCoverageResult, type LangfuseEnvelope, type LangfuseGeneration, type LangfuseScore, Layer, LayerResult, type LineageKind, type LineageKindResolver, type LineageNode, LineageRecorder, type LiveProofArtifact, type LiveProofConfig, type LiveProofContext, type LiveProofResult, LlmCallRequest, LlmCallResult, LlmClientOptions, type LlmCorrectnessCheckerOpts, LlmSpan, LockedJsonlAppender, MODEL_PRICING, type MatchResult, type MatcherResult, type MeasurementPolicy, type MergeOptions, MetricsCollector, type MockTransportOpts, type MuffledFinder, type MuffledFinding, MultiLayerVerifier, MultiShotMutateAdapter, MultiShotOptimizationResult, MultiShotRunner, MultiShotScorer, MultiShotTrialResult, type MultiToolchainLayerConfig, MutateAdapter, type MutationAttempt, type MutationChannel, MutationTelemetry, type Mutator, Mutex, Objective, type Oracle, type OracleObservation, type OracleReport, type OracleResult, type OrthogonalityInput, type OrthogonalityResult, PairwiseSteeringOptimizer, type ParaphraseRobustnessScenarioInput, type ParaphraseRobustnessScenarioResult, ParetoResult, type PersistedFinding, type PersonaConfig, type PersonaRigor, type Playbook, type PlaybookEntry, type PoolSlot, type ProducedProposal, type ProducedState, ProductClient, type ProductClientConfig, type ProductionEvolveConfig, type ProductionLoopCronConfig, type ProductionLoopDecision, type ProductionLoopRenderContext, type ProductionLoopResult, type ProductionShipConfig, type PromptHandle, PromptRegistry, TrialResult as PromptTrialResult, type ProposalEventLike, type ProposeAutomatedPullRequestInput, type ProposeAutomatedPullRequestResult, RAW_FINDING_SCHEMA_PROMPT, type RawAnalystFinding, RawAnalystFindingSchema, 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 RegistryRunOpts, ReleaseConfidenceScorecard, ReleaseConfidenceThresholds, type RepoRef, type RequirementCheck, type ReviewerMemoryEntry, type ReviewerOutput, type ReviewerPromptInput, type ReviewerSoftFailDefaults, type ReviewerVerificationSummary, type RobustnessResult, type RouteMap, type RouterTransportOpts, type RubricDimension, Run$1 as Run, type RunCommandInput, type RunCommandResult, type RunConfig, RunCritic, type RunCriticAdapterOpts, type RunCriticOptions, type RunDiff, RunFilter, type RunProductionLoopOptions, RunRecord, type RunScore, type RunScoreWeights, RunSplitTag, type RunTrace, type RuntimeEventLike, SEMANTIC_CONCEPT_JUDGE_VERSION, SandboxDriver, SandboxHarnessResult, type SandboxJudgeKind, type SandboxJudgeResult, type SandboxJudgeSpec, type SandboxPool, type SandboxSdkTransportOpts, type SatisfiedBy, type ScanOptions, type Scenario, type ScenarioCost, type ScenarioFile, ScenarioRegistry, type ScenarioResult, type ScoredTarget, type SelfPlayOptions, type SelfPlayProposer, type SelfPlayScorer, type SemanticConceptJudgeAdapterOpts, type SemanticConceptJudgeInput, type SemanticConceptJudgeOptions, type SemanticConceptJudgeResult, type SeriesConvergenceOptions, type SeriesConvergenceResult, Severity, type SignedManifest, type SignedManifestAlgo, type Slo, type SloCheckResult, type SloComparator, type SloReport, type SloSeverity, type SlopCategory, type SlotFactory, Span, type SteeringBundle, type SteeringDelta, type SteeringOptimizationResult, type SteeringOptimizationRow, type SteeringOptimizationSelector, type SteeringOptimizerBackend, type SteeringOptimizerConfig, type SteeringRolePrompt, type StepAttribution, type SynthesisReason, type SynthesisTarget, type TaskGold, type TestResult, type ThresholdContract, TokenCounter, type TokenSpec, type ToolCallEventLike, TraceAnalysisStore, type TraceAnalystAdapterOpts, type TraceAnalystGolden, type TraceAnalystKindSpec, TraceEmitter, TraceEvent, TraceStore, type TraceToolGroupName, Trajectory, TrajectoryStep, type TrialAggregate, type TrialAttempt, TrialCache, TrialTelemetry, type Turn, type TurnMetrics, type TurnResult, UNIVERSAL_FINDERS, type ValidationContext, type ValidationIssue, type ValidationResult, VariantAggregate, type VerifierAdapterOpts, VerifyContext, VerifyOptions, type VisualDiffOptions, type VisualDiffResult, type ViteDeployRunnerInput, type WorkflowTopology, type WorkspaceAssertion, type WorkspaceAssertionResult, type WorkspaceInspector, type WorkspaceSnapshot, type WranglerDeployRunnerInput, adversarialJudge, aggregateRunScore, aggregateTrialsByMode, analyzeAntiSlop, analyzeSeries, assertRealBackend, attributeCounterfactuals, benjaminiHochberg, bisect, bonferroni, buildDriverSystemPrompt, buildReviewerPrompt, buildTraceToolsForGroup, byteLengthRange, canaryLeakView, canonicalize, causalAttribution, checkBehavioralCanary, checkCanaries, checkSlos, clamp01, codeExecutionJudge, cohensD, coherenceJudge, collectionPreserved, commitBisect, compareReferenceReplay, compilerJudge, composeValidators, computeFindingId, confidenceInterval, containsAll, corpusInterRaterAgreement, corpusInterRaterAgreementFromJudgeScores, createAntiSlopJudge, createChatClient, createCompositeMutator, createCustomJudge, createDefaultReviewer, createDomainExpertJudge, createIntentMatchJudge, createJudgeAdapter, createLlmCorrectnessChecker, createRunCriticAdapter, createSandboxCodeMutator, createSandboxPool, createSemanticConceptJudge, createSemanticConceptJudgeAdapter, createTraceAnalystAdapter, createTraceAnalystKind, createVerifierAdapter, crossTraceDiff, decideNextUserTurn, decideReferenceReplayPromotion, decideReferenceReplayRunPromotion, defaultIsMaterial, defaultJudges, defaultReferenceReplayMatcher, deployGateLayer, diffFindings, discoverPersonas, distillPlaybook, estimateCost, estimateTokens, evaluateContract, evaluateHypothesis, evaluateOracles, executeScenario, expectAgent, exportRewardModel, extractAssetUrls, extractErrorCount, extractProducedState, fileContains, fileExists, findAutoMatchNoExpectation, findConstructorCwdDropped, findFallbackToPass, findLiteralTruePass, findSkipCountsAsPass, flowLayer, formatBenchmarkReport, formatDriverReport, formatFindings, ghCliClient, precision as goldenPrecision, hashContent, hashJson, htmlContainsElement, httpGithubClient, inMemoryReferenceReplayStore, integrationAsi, integrationGateEvals, integrationInvokeFailedPayload, integrationManifestResolvedPayload, integrationManifestValidatedPayload, interRaterReliability, jsonHasKeys, jsonShape, jsonlReferenceReplayStore, keyPreserved, liftSeverity, linterJudge, loadScorerFromGrader, localCommandRunner, lowercaseMutator, makeFinding, mannWhitneyU, matchGoldens, mergeLayerResults, mergeSteeringBundle, multiToolchainLayer, normalizeScores, notBlocked, pairedTTest, paraphraseRobustness, paraphraseRobustnessScenarios, parseCorrectnessResponse, parseFindingSubject, parseRawFinding, partialCredit, passOrthogonality, pixelDeltaRatio, politenessPrefixMutator, printDriverSummary, promptBisect, proposeAutomatedPullRequest, proposeSynthesisTargets, referenceReplayRunsToSteeringRows, referenceReplayScenarioToRunScore, regexMatch, regexMatches, renderFindingSubject, renderMarkdownReport, renderPlaybookMarkdown, renderPriorFindings, renderSteeringText, replayScorerOverCorpus, replayTraceThroughJudge, requiredSampleSize, resetLockedAppendersForTesting, rowCount, rowWhere, runAssertions, runBehavioralCanaries, runCanaries, runCounterfactual, runE2EWorkflow, runExpectations, runHarnessExperiment, runIntentMatchJudge, runJudgeFleet, runKeywordCoverageJudge, runKeywordCoverageJudgeUrl, runLiveProof, runProductionLoop, runReferenceReplay, runSelfPlay, runSemanticConceptJudge, scanForMuffledGates, scoreContinuity, scoreReferenceReplay, securityJudge, selectHarnessVariant, sentenceReorderMutator, signManifest, statusAdvanced, summarizeBackendIntegrity, summarizeHarnessResults, testJudge, textInSnapshot, toLangfuseEnvelope, toPrometheusText, typoMutator, urlContains, verifyCompletion, verifyManifest, visualDiff, viteDeployRunner, weightedMean, weightedRecall, whitespaceCollapseMutator, wilcoxonSignedRank, withJudgeRetry, wranglerDeployRunner };
|
|
6281
|
+
export { ANALYST_SEVERITIES, ActionableSideInfo, type ActiveLearningOptions, type AdapterRun, AgentDriver, type AgentDriverConfig, AgentEvalError, type AgentProfile, type AggregatorMode, type AlignmentOp, type Analyst, type AnalystContext, type AnalystCost, type AnalystFinding, type AnalystHooks, type AnalystInputKind, AnalystRegistry, type AnalystRegistryOptions, type AnalystRequirements, type AnalystRunEvent, type AnalystRunInputs, type AnalystRunResult, type AnalystRunSummary, type AnalystSeverity, AnalyzeTracesOptions, type AntiSlopConfig, type AntiSlopIssue, type AntiSlopReport, Artifact$1 as Artifact, type Artifact as ArtifactCheckArtifact, type ArtifactEventLike, type ArtifactValidator, type AutoPrClient, AxGepaSteeringOptimizer, type AxSteeringOptimizerConfig, BackendIntegrityError, type BackendIntegrityReport, BaselineReport, BehaviorAssertion, BenchmarkReport, BenchmarkRunner, BenchmarkRunnerConfig, type BisectOptions, type BisectResult, type BisectStep, BudgetBreachError, BudgetGuard, BudgetLedgerEntry, type BudgetPolicy, BudgetSpec, CallExpectation, type CanaryAlert, type CanaryKind, type CanaryLeak, type CanaryOptions, type CanaryReport, type CanarySeverity, type CandidateScenario, type CausalAttributionReport, type CellVerdict, type ChatCallOpts, type ChatClient, type ChatRequest, type ChatResponse, type ChatTransport, CheckResult, type CliBridgeTransportOpts, type CodeMutationOutcome, type CodeMutationRunner, CollectedArtifacts, type CommandRunner, CompletionCriterion, type CompletionRequirement, type CompletionVerdict, type CompositePolicy, type ConceptComplexity, type ConceptFinding, type ConceptSpec, type ConceptWeightStrategy, type ContinuityCheck, type ContinuityCheckResult, type ContinuityReport, type ContinuitySnapshotPair, type ContractMetric, type ContractReport, ControlEvalResult, ConvergenceTracker, type CorrectnessChecker, type CostEntry, CostLedger, type CostLedgerGeneration, type CostLedgerSnapshot, type CostSummary, CostTracker, type CounterfactualContext, type CounterfactualMutation, type CounterfactualResult, type CounterfactualRunner, type CreateChatClientOpts, type CreateCompositeMutatorOpts, type CreateDefaultReviewerOptions, type CreateSandboxCodeMutatorOpts, type CreateSandboxPoolOpts, type CreateTraceAnalystKindOpts, type CrossTraceDiff, type CrossTraceDiffOptions, D1ExperimentStore, type D1ExperimentStoreOptions, type D1Like, type D1PreparedStatementLike, DEFAULT_AGENT_SLOS, DEFAULT_COMPLEXITY_WEIGHTS, DEFAULT_FINDERS, DEFAULT_HARNESS_OBJECTIVES, DEFAULT_MUTATORS, DEFAULT_PR_REVIEW_SCORE_WEIGHTS, DEFAULT_RUN_SCORE_WEIGHTS, DEFAULT_SEVERITY_WEIGHTS, DEFAULT_TRACE_ANALYST_KINDS, Dataset, DatasetScenario, type DecideNextUserTurnOpts, type DeployFamily, type DeployGateLayerInput, type DeployRunResult, type DeployRunner, type DiffPolicy, type DiffScorecardOptions, type DirEntry, type DirectProviderTransportOpts, type DiscoverPersonasOptions, type DiscoveredPersona, DriverResult, DriverState, DualAgentBench, type DualAgentBenchConfig, type DualAgentReport, type DualAgentRound, type DualAgentScenario, type DualAgentScenarioResult, ERROR_COUNT_PATTERNS, type ErrorCountPattern, type EvidenceRef, type EvolutionRound, EvolvableVariant, type ExecutorConfig, type Expectation, type Experiment, type Run as ExperimentRun, type ExperimentStore, ExperimentTracker, type ExportedRewardModel, type ExtractOptions, type ExtractResult, FAILURE_MODE_KIND_SPEC, FINDING_SUBJECT_GRAMMAR_PROMPT, FINDING_SUBJECT_KINDS, type FactorContribution, type FactorialCell, type FailureClusterConfig, FeedbackLabel, FeedbackTrajectory, FeedbackTrajectoryStore, type FileChange, FileSystemExperimentStore, type FileSystemExperimentStoreOptions, type FindingSubject, type FindingSubjectKind, FindingSubjectStringSchema, type FindingsDiff, FindingsStore, type FlowAction, type FlowLayerEnv, type FlowLayerFactoryInput, type FlowRunner, type FlowRunnerStepResult, type FlowSpec, type FlowStep, GateDecision, type GhCliClientOptions, type GoldenSeverity, type GoldenSpec, type HarnessAdapter, HarnessConfig, type HarnessExperimentConfig, type HarnessExperimentResult, type HarnessIntervention, type HarnessRunRequest, type HarnessRunResult, type HarnessScenario, type HarnessSelection, type HarnessVariant, type HarnessVariantReport, HeldOutGateConfig, HoldoutAuditor, type HostedJudgeConfig, type HostedJudgeDimension, type HostedJudgeRequest, type HostedJudgeResponse, type HostedRunCriticConfig, type HostedRunScoreRequest, type HostedRunScoreResponse, type HttpGithubClientOptions, type HypothesisManifest, type HypothesisResult, IMPROVEMENT_KIND_SPEC, INTENT_MATCH_JUDGE_VERSION, type ImageData, InMemoryExperimentStore, InMemoryWorkspaceInspector, type InferenceScorer, type InspectorContext, type IntegrationGateSurface, type IntegrationInvokeFailureInput, type IntegrationManifestGateInput, type IntentMatchInput, type IntentMatchOptions, type IntentMatchResult, type InteractionContribution, JsonlTrialCache, type JudgeAdapterOpts, type JudgeFleetOptions, JudgeFn, JudgeInput, type JudgeReplayResult, type JudgeRetryOutcome, type JudgeRetryPolicy, JudgeRunner, KIND_EXPECTED_SUBJECTS, KNOWLEDGE_GAP_KIND_SPEC, KNOWLEDGE_POISONING_KIND_SPEC, type KeywordConceptSpec, type KeywordCoverageFinding, type KeywordCoverageOptions, type KeywordCoverageResult, type LangfuseEnvelope, type LangfuseGeneration, type LangfuseScore, Layer, LayerResult, type LineageKind, type LineageKindResolver, type LineageNode, LineageRecorder, type LiveProofArtifact, type LiveProofConfig, type LiveProofContext, type LiveProofResult, LlmCallRequest, LlmCallResult, LlmClientOptions, type LlmCorrectnessCheckerOpts, LlmSpan, LockedJsonlAppender, MODEL_PRICING, type MatchResult, type MatcherResult, type MeasurementPolicy, type MergeOptions, MetricsCollector, type MockTransportOpts, type MuffledFinder, type MuffledFinding, MultiLayerVerifier, MultiShotMutateAdapter, MultiShotOptimizationResult, MultiShotRunner, MultiShotScorer, MultiShotTrialResult, type MultiToolchainLayerConfig, MutateAdapter, type MutationAttempt, type MutationChannel, MutationTelemetry, type Mutator, Mutex, Objective, type Oracle, type OracleObservation, type OracleReport, type OracleResult, type OrthogonalityInput, type OrthogonalityResult, PairwiseSteeringOptimizer, type ParaphraseRobustnessScenarioInput, type ParaphraseRobustnessScenarioResult, ParetoResult, type PersistedFinding, 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 ProducedProposal, type ProducedState, ProductClient, ProductClientConfig, type ProductionEvolveConfig, type ProductionLoopCronConfig, type ProductionLoopDecision, type ProductionLoopRenderContext, type ProductionLoopResult, type ProductionShipConfig, type PromptHandle, PromptRegistry, TrialResult as PromptTrialResult, type ProposalEventLike, type ProposeAutomatedPullRequestInput, type ProposeAutomatedPullRequestResult, RAW_FINDING_SCHEMA_PROMPT, type RawAnalystFinding, RawAnalystFindingSchema, 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 RegistryRunOpts, ReleaseConfidenceScorecard, ReleaseConfidenceThresholds, type RepoRef, type RequirementCheck, type ReviewerMemoryEntry, type ReviewerOutput, type ReviewerPromptInput, type ReviewerSoftFailDefaults, type ReviewerVerificationSummary, type RobustnessResult, type RouterTransportOpts, Run$1 as Run, type RunCommandInput, type RunCommandResult, type RunConfig, RunCritic, type RunCriticAdapterOpts, type RunCriticOptions, type RunDiff, RunFilter, type RunProductionLoopOptions, RunRecord, type RunScore, type RunScoreWeights, RunSplitTag, type RunTrace, type RuntimeEventLike, SEMANTIC_CONCEPT_JUDGE_VERSION, SandboxDriver, SandboxHarnessResult, type SandboxJudgeKind, type SandboxJudgeResult, type SandboxJudgeSpec, type SandboxPool, type SandboxSdkTransportOpts, type SatisfiedBy, type ScanOptions, Scenario, type ScenarioCost, ScenarioFile, ScenarioRegistry, ScenarioResult, type Scorecard, type ScorecardCell, type ScorecardCellDiff, type ScorecardDiff, type ScorecardEntry, type ScorecardLogLine, type ScoredTarget, type SelfPlayOptions, type SelfPlayProposer, type SelfPlayScorer, type SemanticConceptJudgeAdapterOpts, type SemanticConceptJudgeInput, type SemanticConceptJudgeOptions, type SemanticConceptJudgeResult, type SeriesConvergenceOptions, type SeriesConvergenceResult, Severity, type SignedManifest, type SignedManifestAlgo, type Slo, type SloCheckResult, type SloComparator, type SloReport, type SloSeverity, type SlopCategory, type SlotFactory, Span, type SteeringBundle, type SteeringDelta, type SteeringOptimizationResult, type SteeringOptimizationRow, type SteeringOptimizationSelector, type SteeringOptimizerBackend, type SteeringOptimizerConfig, type SteeringRolePrompt, type StepAttribution, type SynthesisReason, type SynthesisTarget, type TaskGold, TestResult, type ThresholdContract, TokenCounter, type TokenSpec, type ToolCallEventLike, TraceAnalysisStore, type TraceAnalystAdapterOpts, type TraceAnalystGolden, type TraceAnalystKindSpec, TraceEmitter, TraceEvent, TraceStore, type TraceToolGroupName, Trajectory, TrajectoryStep, type TrialAggregate, type TrialAttempt, TrialCache, TrialTelemetry, TurnMetrics, UNIVERSAL_FINDERS, type ValidationContext, type ValidationIssue, type ValidationResult, VariantAggregate, type VerifierAdapterOpts, VerifyContext, VerifyOptions, type VisualDiffOptions, type VisualDiffResult, type ViteDeployRunnerInput, type WorkflowTopology, type WorkspaceAssertion, type WorkspaceAssertionResult, type WorkspaceInspector, type WorkspaceSnapshot, type WranglerDeployRunnerInput, adversarialJudge, agentProfileHash, aggregatePrReviewScore, aggregateRunScore, aggregateTrialsByMode, analyzeAntiSlop, analyzeSeries, appendScorecard, assertRealBackend, attributeCounterfactuals, bisect, buildDriverSystemPrompt, buildReviewerPrompt, buildTraceToolsForGroup, byteLengthRange, canaryLeakView, canonicalize, causalAttribution, checkBehavioralCanary, checkCanaries, checkSlos, clamp01, codeExecutionJudge, coherenceJudge, collectionPreserved, commentsForSource, commitBisect, compareReferenceReplay, compilerJudge, composeValidators, computeFindingId, containsAll, createAntiSlopJudge, createChatClient, createCompositeMutator, createCustomJudge, createDefaultReviewer, createDomainExpertJudge, createIntentMatchJudge, createJudgeAdapter, createLlmCorrectnessChecker, createRunCriticAdapter, createSandboxCodeMutator, createSandboxPool, createSemanticConceptJudge, createSemanticConceptJudgeAdapter, createTraceAnalystAdapter, createTraceAnalystKind, createVerifierAdapter, crossTraceDiff, decideNextUserTurn, decideReferenceReplayPromotion, decideReferenceReplayRunPromotion, defaultIsMaterial, defaultJudges, defaultReferenceReplayMatcher, deployGateLayer, diffFindings, diffScorecard, discoverPersonas, distillPlaybook, estimateCost, estimateTokens, evaluateContract, evaluateHypothesis, evaluateOracles, executeScenario, expectAgent, exportRewardModel, extractAssetUrls, extractErrorCount, extractProducedState, fileContains, fileExists, findAutoMatchNoExpectation, findConstructorCwdDropped, findFallbackToPass, findLiteralTruePass, findSkipCountsAsPass, flowLayer, formatBenchmarkReport, formatDriverReport, formatFindings, formatScorecardDiff, ghCliClient, precision as goldenPrecision, hashContent, hashJson, htmlContainsElement, httpGithubClient, inMemoryReferenceReplayStore, integrationAsi, integrationGateEvals, integrationInvokeFailedPayload, integrationManifestResolvedPayload, integrationManifestValidatedPayload, jsonHasKeys, jsonShape, jsonlReferenceReplayStore, keyPreserved, liftSeverity, linterJudge, loadScorecard, loadScorerFromGrader, localCommandRunner, lowercaseMutator, makeFinding, matchGoldens, mergeLayerResults, mergeSteeringBundle, multiToolchainLayer, notBlocked, paraphraseRobustness, paraphraseRobustnessScenarios, parseCorrectnessResponse, parseFindingSubject, parseRawFinding, passOrthogonality, pixelDeltaRatio, politenessPrefixMutator, printDriverSummary, promptBisect, proposeAutomatedPullRequest, proposeSynthesisTargets, recordRuns, recordRunsToScorecard, referenceReplayRunsToSteeringRows, referenceReplayScenarioToRunScore, regexMatch, regexMatches, renderFindingSubject, renderMarkdownReport, renderPlaybookMarkdown, renderPriorFindings, renderSteeringText, replayScorerOverCorpus, replayTraceThroughJudge, resetLockedAppendersForTesting, rowCount, rowWhere, runAssertions, runBehavioralCanaries, runCanaries, runCounterfactual, runE2EWorkflow, runExpectations, runHarnessExperiment, runIntentMatchJudge, runJudgeFleet, runKeywordCoverageJudge, runKeywordCoverageJudgeUrl, runLiveProof, runProductionLoop, runReferenceReplay, runSelfPlay, runSemanticConceptJudge, scanForMuffledGates, scoreContinuity, scorePrReviewComments, scorePrReviewSource, scoreReferenceReplay, securityJudge, selectHarnessVariant, sentenceReorderMutator, signManifest, statusAdvanced, summarizeBackendIntegrity, summarizeHarnessResults, summarizePrReviewBenchmark, testJudge, textInSnapshot, toLangfuseEnvelope, toPrometheusText, typoMutator, urlContains, verifyCompletion, verifyManifest, visualDiff, viteDeployRunner, weightedRecall, whitespaceCollapseMutator, withJudgeRetry, wranglerDeployRunner };
|