@tangle-network/agent-eval 1.0.5 → 1.0.7

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.
Files changed (56) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/analyst/index.d.ts.map +1 -1
  3. package/dist/analyst/index.js +1 -1
  4. package/dist/{analyze-runs-Da7P_Mc5.js → analyze-runs-dGYmYNtb.js} +4 -24
  5. package/dist/analyze-runs-dGYmYNtb.js.map +1 -0
  6. package/dist/{benchmark-command-C3mZhNh7.js → benchmark-command-BO-YeQaH.js} +4 -2
  7. package/dist/benchmark-command-BO-YeQaH.js.map +1 -0
  8. package/dist/builder-eval/index.d.ts +1 -1
  9. package/dist/builder-eval/index.js +1 -1
  10. package/dist/campaign/index.d.ts +1 -1
  11. package/dist/campaign/index.js +1 -1
  12. package/dist/cli.js +1 -1
  13. package/dist/contract/index.js +2 -2
  14. package/dist/{define-agent-eval-gXgVUX1h.js → define-agent-eval-DyzJ0wOo.js} +2 -2
  15. package/dist/{define-agent-eval-gXgVUX1h.js.map → define-agent-eval-DyzJ0wOo.js.map} +1 -1
  16. package/dist/diagnosis/index.js +1 -1
  17. package/dist/{eval-campaign-DVqiBoXR.js → eval-campaign-B-dQl_lA.js} +2 -2
  18. package/dist/{eval-campaign-DVqiBoXR.js.map → eval-campaign-B-dQl_lA.js.map} +1 -1
  19. package/dist/experiment/index.js +1 -1
  20. package/dist/index.d.ts +28 -42
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/index.js +95 -7
  23. package/dist/index.js.map +1 -1
  24. package/dist/{judge-gate-C9sLLJ-v.js → judge-gate-DMlX38B7.js} +3 -9
  25. package/dist/judge-gate-DMlX38B7.js.map +1 -0
  26. package/dist/meta-eval/index.js +1 -1
  27. package/dist/openapi.json +1 -1
  28. package/dist/paired-arms-C0Vd9bGG.js.map +1 -1
  29. package/dist/pipelines/index.d.ts +1 -1
  30. package/dist/{promotion-gate-CixshGI8.d.ts → promotion-gate-DOkgJcLW.d.ts} +2 -6
  31. package/dist/promotion-gate-DOkgJcLW.d.ts.map +1 -0
  32. package/dist/reporting.d.ts +10 -2
  33. package/dist/reporting.d.ts.map +1 -0
  34. package/dist/reporting.js +15 -2
  35. package/dist/reporting.js.map +1 -0
  36. package/dist/rl.js +1 -1
  37. package/dist/{sandbox-harness-BzAUasgY.js → sandbox-harness-CzRlzJ5y.js} +22 -3
  38. package/dist/sandbox-harness-CzRlzJ5y.js.map +1 -0
  39. package/dist/{sandbox-harness-BS6c6UZV.d.ts → sandbox-harness-K3LuyORm.d.ts} +3 -1
  40. package/dist/sandbox-harness-K3LuyORm.d.ts.map +1 -0
  41. package/dist/summary-report-0La5vejY.d.ts.map +1 -1
  42. package/dist/{summary-report-BstMpOfy.js → summary-report-B4BLQb88.js} +45 -115
  43. package/dist/summary-report-B4BLQb88.js.map +1 -0
  44. package/dist/{tool-waste-BFG1vwTV.d.ts → tool-waste-CUASoTtk.d.ts} +3 -17
  45. package/dist/tool-waste-CUASoTtk.d.ts.map +1 -0
  46. package/dist/wire/index.d.ts +2 -2
  47. package/docs/concepts.md +4 -0
  48. package/package.json +1 -1
  49. package/dist/analyze-runs-Da7P_Mc5.js.map +0 -1
  50. package/dist/benchmark-command-C3mZhNh7.js.map +0 -1
  51. package/dist/judge-gate-C9sLLJ-v.js.map +0 -1
  52. package/dist/promotion-gate-CixshGI8.d.ts.map +0 -1
  53. package/dist/sandbox-harness-BS6c6UZV.d.ts.map +0 -1
  54. package/dist/sandbox-harness-BzAUasgY.js.map +0 -1
  55. package/dist/summary-report-BstMpOfy.js.map +0 -1
  56. package/dist/tool-waste-BFG1vwTV.d.ts.map +0 -1
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { a as groupRunsByAgentProfileCell, c as verifyAgentProfileCell, i as bui
6
6
  import { r as observedSplitScore, t as isRealnessGated } from "./reward-P0VD_Aft.js";
7
7
  import { i as isToolSpan, n as isJudgeSpan, r as isLlmSpan, t as FAILURE_CLASSES } from "./schema-D-xu3MU_.js";
8
8
  import { a as parseRunRecordSafe, c as validateRunRecord, i as modelHasSnapshot, n as UNKNOWN_MODEL, o as runTaskScore, r as isRunRecord, t as RunRecordValidationError } from "./run-record-DEjx43cI.js";
9
- import { a as cliffsDelta, c as pairedCohensDz, i as summaryTable, n as gainHistogram, o as cohensD, s as interpretCliffs } from "./summary-report-BstMpOfy.js";
9
+ import { a as cliffsDelta, c as pairedCohensDz, i as summaryTable, n as gainHistogram, o as cohensD, s as interpretCliffs } from "./summary-report-B4BLQb88.js";
10
10
  import { t as interpolatedQuantile } from "./quantile-CncXP-Ss.js";
11
11
  import { a as wilcoxonSignedRank, i as mannWhitneyU, n as pairArms, r as pairRunRecords, t as comparePairedArms } from "./paired-arms-C0Vd9bGG.js";
12
12
  import { c as medianInPlace, i as assertFiniteSample, s as makeRng, t as mean$1 } from "./mean-DDFhslBt.js";
@@ -14,9 +14,9 @@ import { t as mulberry32 } from "./random-DrzcgC7F.js";
14
14
  import { a as ranks, c as summarizeNumberSeries, i as pearsonR, l as weightedComposite, n as meanConfidenceInterval, o as spearmanR, r as partialCredit, s as studentTCritical, t as confidenceInterval, u as weightedMean } from "./descriptive-BTzLL-aj.js";
15
15
  import { n as calibrateJudgeContinuous, o as verbosityBias, r as continuousAgreement, t as calibrateJudge } from "./judge-calibration-D93UCm1k.js";
16
16
  import { n as corpusInterRaterAgreementFromJudgeScores, r as interRaterReliability, t as corpusInterRaterAgreement } from "./agreement-irr-w-t3XUTD.js";
17
- import { a as welchsTTest, c as fisherExactTwoSided, d as studentTTwoSidedPValue, f as twoByTwoPValue, i as iqr, l as linearRegressionSlope, n as checkCanaries, o as chiSquared, s as chiSquaredPValue, t as analyzeRuns, u as normalTwoSidedPValue } from "./analyze-runs-Da7P_Mc5.js";
18
- import { n as bonferroni, r as holm, t as benjaminiHochberg } from "./multiplicity-DAd4xaDC.js";
17
+ import { a as welchsTTest, c as fisherExactTwoSided, d as studentTTwoSidedPValue, f as twoByTwoPValue, i as iqr, l as linearRegressionSlope, n as checkCanaries, o as chiSquared, s as chiSquaredPValue, t as analyzeRuns, u as normalTwoSidedPValue } from "./analyze-runs-dGYmYNtb.js";
19
18
  import { a as pairedRiskDifferenceScore, i as pairedRiskDifferenceExact, o as passAtK, r as pairedRiskDifference, s as wilson, t as mcnemar } from "./paired-binary-B477lksS.js";
19
+ import { n as bonferroni, r as holm, t as benjaminiHochberg } from "./multiplicity-DAd4xaDC.js";
20
20
  import { a as pairedSignTest, o as pairedTTest, r as pairedBootstrap, t as BOOTSTRAP_GATE_MIN_N } from "./paired-tests-kASEKpc-.js";
21
21
  import { a as requiredSampleSize, i as requiredPairedSampleSize, n as mcnemarRequiredN, r as pairedMde, t as mcnemarPower } from "./power-and-mde-CRxepy8y.js";
22
22
  import { t as eProcess } from "./sequential-eprocess-C1YLwFaz.js";
@@ -32,7 +32,7 @@ import { c as redactText, l as shareAllowed, n as REDACTION_VERSION, o as redact
32
32
  import { a as makeProposalFinding, i as makeFinding, r as computeFindingId } from "./types-BK0blWhe.js";
33
33
  import { S as requiredPairsForPairedPromotion, n as paretoFrontier, t as dominates, x as pairedPromotionPower } from "./pareto-DY_x3HHg.js";
34
34
  import { a as LlmCallError, i as stripFencedJson, n as isRecord, o as LlmResponseError } from "./json-DtvZNAU9.js";
35
- import { r as selfImprove, t as defineAgentEval } from "./define-agent-eval-gXgVUX1h.js";
35
+ import { r as selfImprove, t as defineAgentEval } from "./define-agent-eval-DyzJ0wOo.js";
36
36
  import { n as equivalenceVerdict, t as certificationEvidenceDigest } from "./verdict-C8TcdwfD.js";
37
37
  import { c as createBoundedTraceAnalysisStore, p as DEFAULT_TRACE_ANALYST_BUDGETS, t as createTraceAnalyst } from "./kind-factory-VKysp1ds.js";
38
38
  import { C as assertUniqueFindingIds, D as validateAnalystReviewDecisions, E as snapshotAnalystRun, S as analystRunDigest, T as readAnalystReview, c as FAILURE_MODE_KIND_SPEC, i as DEFAULT_TRACE_ANALYST_KINDS, n as AnalystRegistry, t as buildDefaultAnalystRegistry, w as completedAnalystReviewQuality, x as analystFindingDigest } from "./default-registry-gmDeN0KT.js";
@@ -47,7 +47,7 @@ import { t as packageVersion$1 } from "./package-version-CJl_pY9W.js";
47
47
  import { t as buildTrajectory } from "./trajectory-O3GDHmev.js";
48
48
  import { i as failureBlame, n as classifyFailure, r as classifyFailureReason } from "./failure-taxonomy-9eQfXKoW.js";
49
49
  import { n as runBoundedProcess, t as DEFAULT_BOUNDED_PROCESS_TIMEOUT_MS } from "./bounded-process-BZrWXIKW.js";
50
- import { t as runEvalCampaign } from "./eval-campaign-DVqiBoXR.js";
50
+ import { t as runEvalCampaign } from "./eval-campaign-B-dQl_lA.js";
51
51
  import { _ as assertCrossFamily, a as maximumChargeForLlmRequest, d as assertServedModel, g as CrossFamilyError, h as describeServedModelCheck, i as costReceiptFromLlmError, l as ModelSubstitutionError, m as checkServedModel, p as assertServedModels, r as costReceiptFromLlm, s as isTransientLlmError, u as assertCrossFamilyServed, v as judgeFamily } from "./llm-client-BdSiZ4qz.js";
52
52
  import { n as createLlmCorrectnessChecker, r as verifyCompletion, t as completionVerdict } from "./completion-verifier-ClmJV_Yc.js";
53
53
  import "./rollout-BC4u-d_I.js";
@@ -57,7 +57,7 @@ import { n as paidJsonChat } from "./chat-json-call-C473CwTt.js";
57
57
  import { t as createDspyRlmTraceEngine } from "./dspy-rlm-engine-Xt3znknf.js";
58
58
  import { n as diffFindings, r as createChatTraceEngine, t as FindingsStore } from "./findings-store-Bp-0Guuv.js";
59
59
  import { a as budgetBreachView, i as failureClusterView, n as computeToolUseMetrics, r as judgeAgreementView, t as toolWasteView } from "./tool-waste-CRJqOASv.js";
60
- import { _ as analyzeSeries, a as judgeGateDecision, c as snapshotFromJudgeAgreement, g as withJudgeRetry, i as assertJudgeMayGate, n as JudgeGateRefusedError, o as measureJudgeAgreement, r as addCalibrationVerdicts, s as registerCalibrationSet, t as DEFAULT_JUDGE_GATE_POLICY } from "./judge-gate-C9sLLJ-v.js";
60
+ import { _ as analyzeSeries, a as judgeGateDecision, c as snapshotFromJudgeAgreement, g as withJudgeRetry, i as assertJudgeMayGate, n as JudgeGateRefusedError, o as measureJudgeAgreement, r as addCalibrationVerdicts, s as registerCalibrationSet, t as DEFAULT_JUDGE_GATE_POLICY } from "./judge-gate-DMlX38B7.js";
61
61
  import { a as spanRecordsToTraceAnalysisStore, i as otlpTextToTraceAnalysisStore, r as OtlpFileTraceStore } from "./store-otlp-DmLm65XW.js";
62
62
  import { n as bootstrapCi, t as evaluateReleaseConfidence } from "./release-confidence--1iP-d3x.js";
63
63
  import { t as createChatClient } from "./chat-client-D0me8iwq.js";
@@ -66,6 +66,94 @@ import { accessSync, appendFileSync, constants, cpSync, existsSync, mkdirSync, p
66
66
  import { basename, delimiter, dirname, extname, isAbsolute, join, relative, resolve } from "node:path";
67
67
  import { spawnSync } from "node:child_process";
68
68
  import { ATTR, INPUT_TOKEN_ATTR_KEYS, MODEL_ATTR_KEYS, OUTPUT_TOKEN_ATTR_KEYS, SPAN_KINDS, TOOL_NAME_ATTR_KEYS, firstNumberAttr, firstStringAttr, resolveSpanKind } from "@tangle-network/agent-trace-contract";
69
+ // src/statistics/comparison-effects.ts
70
+ /** Independent means, oriented b − a: Welch 95% interval and Hedges' g with a normal 95% interval. */
71
+ function meanEffect(a, b) {
72
+ const n = [a.length, b.length];
73
+ const comparison = welchsTTest(a, b);
74
+ const diff = a.length && b.length ? comparison.delta : null;
75
+ if (comparison.status !== "ok") return {
76
+ n,
77
+ diff,
78
+ ci: comparison.status === "zero-variance" ? [comparison.delta, comparison.delta] : null,
79
+ g: null,
80
+ gCi: null
81
+ };
82
+ const g = (1 - 3 / (4 * (a.length + b.length) - 9)) * comparison.cohensD;
83
+ const gSe = Math.sqrt((a.length + b.length) / (a.length * b.length) + g ** 2 / (2 * (a.length + b.length)));
84
+ return {
85
+ n,
86
+ diff,
87
+ ci: comparison.ci95,
88
+ g,
89
+ gCi: [g - 1.96 * gSe, g + 1.96 * gSe]
90
+ };
91
+ }
92
+ function binary(values, name) {
93
+ if (values.some((value) => value !== 0 && value !== 1)) throw new ValidationError(`${name}: expected binary 0/1 values`);
94
+ }
95
+ /** Independent binary samples, oriented b − a, with Newcombe's hybrid Wilson 95% interval. */
96
+ function rateEffect(a, b) {
97
+ binary(a, "rateEffect.a");
98
+ binary(b, "rateEffect.b");
99
+ const n = [a.length, b.length];
100
+ if (!a.length || !b.length) return {
101
+ n,
102
+ diff: null,
103
+ ci: null,
104
+ g: null,
105
+ gCi: null
106
+ };
107
+ const s1 = a.reduce((sum, value) => sum + value, 0), s2 = b.reduce((sum, value) => sum + value, 0);
108
+ const { lower: l1, upper: u1 } = wilson(s1, a.length), { lower: l2, upper: u2 } = wilson(s2, b.length);
109
+ const p1 = s1 / a.length, p2 = s2 / b.length, diff = p2 - p1;
110
+ return {
111
+ n,
112
+ rates: [p1, p2],
113
+ diff,
114
+ ci: [diff - Math.sqrt((p2 - l2) ** 2 + (u1 - p1) ** 2), diff + Math.sqrt((u2 - p2) ** 2 + (p1 - l1) ** 2)],
115
+ g: null,
116
+ gCi: null
117
+ };
118
+ }
119
+ /** Mann–Whitney ROC area: ties count half; no observed member of either class means unknown. */
120
+ function rocAuc(scores, labels) {
121
+ assertFiniteSample("rocAuc", "scores", scores);
122
+ binary(labels, "rocAuc.labels");
123
+ if (scores.length !== labels.length) throw new ValidationError("rocAuc: scores and labels must have equal lengths");
124
+ const ranked = ranks(scores);
125
+ const positive = labels.reduce((sum, label) => sum + label, 0);
126
+ const sum = labels.reduce((total, label, index) => total + label * ranked[index], 0);
127
+ const negative = labels.length - positive;
128
+ return positive && negative ? (sum - positive * (positive + 1) / 2) / (positive * negative) : null;
129
+ }
130
+ /** L2 logistic fit by fixed-step gradient descent; the returned linear score preserves ROC ordering. */
131
+ function fitLogistic(rows, labels, { lambda = 1, steps = 600, rate = .3 } = {}) {
132
+ binary(labels, "fitLogistic.labels");
133
+ const width = rows[0]?.length ?? 0;
134
+ if (!rows.length || rows.length !== labels.length || rows.some((row) => row.length !== width)) throw new ValidationError("fitLogistic: nonempty equal-width rows and one label per row required");
135
+ rows.forEach((row) => assertFiniteSample("fitLogistic", "row", row));
136
+ if (!(Number.isFinite(lambda) && lambda >= 0 && Number.isInteger(steps) && steps >= 0 && Number.isFinite(rate) && rate > 0)) throw new ValidationError("fitLogistic: invalid optimizer bounds");
137
+ const weights = new Array(width).fill(0);
138
+ let bias = 0;
139
+ const score = (row) => bias + row.reduce((sum, value, index) => sum + value * weights[index], 0);
140
+ for (let step = 0; step < steps; step++) {
141
+ const gradient = new Array(width).fill(0);
142
+ let gradientBias = 0;
143
+ rows.forEach((row, index) => {
144
+ const error = 1 / (1 + Math.exp(-score(row))) - labels[index];
145
+ gradientBias += error;
146
+ row.forEach((value, column) => {
147
+ gradient[column] = gradient[column] + error * value;
148
+ });
149
+ });
150
+ bias -= rate * gradientBias / rows.length;
151
+ weights.forEach((weight, column) => {
152
+ weights[column] = weight - rate * (gradient[column] / rows.length + lambda * weight / rows.length);
153
+ });
154
+ }
155
+ return score;
156
+ }
69
157
  // src/statistics/samples.ts
70
158
  /** Interpolated sample median; an empty population has no measured median. */
71
159
  function sampleMedian(values) {
@@ -8799,6 +8887,6 @@ function rankRows(rows, weights) {
8799
8887
  runs: values.length
8800
8888
  })).sort((a, b) => b.mean - a.mean);
8801
8889
  }
8802
- export { AGENT_PROFILE_KINDS, ATTESTATION_ALGORITHM, AgentEvalError, AnalystRegistry, BOOTSTRAP_GATE_MIN_N, BackendIntegrityError, BudgetBreachError, BudgetGuard, CODING_HARNESSES, ConfigError, CostAccountingIncompleteError, CostCeilingReachedError, CostLedger, CostTracker, CrossFamilyError, DEFAULT_BOUNDED_PROCESS_TIMEOUT_MS, DEFAULT_JUDGE_GATE_POLICY, DEFAULT_RED_TEAM_CORPUS, DEFAULT_TRACE_ANALYST_BUDGETS, DEFAULT_TRACE_ANALYST_KINDS, ERROR_COUNT_PATTERNS, EquivalenceProtocolError, FAILURE_CLASSES, FAILURE_MODE_KIND_SPEC, FileSystemFeedbackTrajectoryStore, FileSystemRawProviderSink, FileSystemTraceStore, FindingsStore, HARNESS_NATIVE_MODEL, HeldOutGate, InMemoryFeedbackTrajectoryStore, InMemoryRawProviderSink, InMemoryTraceStore, JudgeError, JudgeGateRefusedError, LlmCallError, LlmResponseError, MODEL_PRICING, ModelSubstitutionError, MultiLayerVerifier, NoopRawProviderSink, NotFoundError, OUTPUT_VALUE, OtlpFileTraceStore, PairwiseSteeringOptimizer, ProductClient, PromptRegistry, REDACTION_VERSION, RunIntegrityError, RunRecordValidationError, SEMANTIC_CONCEPT_JUDGE_VERSION, TraceEmitter, UNKNOWN_MODEL, VERIFICATION_STRATEGIES, VERIFICATION_STRATEGY_SOURCES, ValidationError, acquisitionPlansForKnowledgeGaps, addCalibrationVerdicts, agentProfileCellKey, agentProfileHash, agentProfileId, aggregateJudgeVerdicts, aggregateRunScore, analystRunDigest, analystRunToFeedbackTrajectory, analystRunToReviewRequests, analyzeAntiSlop, analyzeRuns, analyzeSeries, analyzeTraces, argHash, assertCapabilityHeadroom, assertCrossFamily, assertCrossFamilyServed, assertJudgeMayGate, assertNoHiddenLeak, assertProductBenchmarkRun, assertRealBackend, assertRunCaptured, assertServedModel, assertServedModels, assertSingleBackend, assessShareSafety, assignFeedbackSplit, attest, benjaminiHochberg, blendHeldout, blockingKnowledgeEval, bonferroni, bootstrapCi, budgetBreachView, buildAgentProfileCell, buildDefaultAnalystRegistry, buildReflectionPrompt, buildTraceInsightContext, buildTraceInsightPrompt, buildTrajectory, calibrateJudge, calibrateJudgeContinuous, canonicalJson, capabilityHeadroom, captureFetchToRawSink, certificationEvidenceDigest, checkCanaries, checkServedModel, checkTraceContracts, chiSquared, chiSquaredPValue, clamp01, classifyFailure, classifyFailureReason, cliffsDelta, cohensD, comparePairedArms, compileTraceContractSpec, completionVerdict, computeFindingId, computeToolUseMetrics, confidenceInterval, contentHash, continuousAgreement, controlRunToFeedbackTrajectory, corpusInterRaterAgreement, corpusInterRaterAgreementFromJudgeScores, costForTokenPricing, costForUsage, costReceiptFromLlm, costReceiptFromLlmError, createAntiSlopJudge, createBoundedTraceAnalysisStore, createChatClient, createChatTraceEngine, createDspyRlmTraceEngine, createFeedbackTrajectory, createLlmCorrectnessChecker, createLlmReviewer, createTraceAnalyst, decidePairedPromotion, defineAgentEval, defineEquivalenceCheck, deployGateLayer, describeServedModelCheck, describeTraceInsightScope, diffFindings, diffScorecard, discoverPersonas, domainEvidencePattern, dominates, eProcess, ensembleJudge, equivalenceVerdict, errorStreakDetector, estimateCost, estimateTokens, evaluateActionPolicy, evaluateInterimReleaseConfidence, evaluateOracles, evaluateReleaseConfidence, evaluateTraceContract, expandProfileAxes, explainTraceContract, exportProductBenchmark, exportProductBenchmarkRuns, exportRunAsOtlp, extractErrorCount, extractProducedState, extractUsage, extractUsageFromSse, failureBlame, failureClusterView, feedbackTrajectoriesToDatasetScenarios, feedbackTrajectoriesToOptimizerRows, feedbackTrajectoryToOptimizerRow, fileVerdictCache, fisherExactTwoSided, formatScorecardDiff, gainHistogram, gateTreatmentApplied, gradeSemanticStatus, groupRunsByAgentProfileCell, harnessAxisOf, hashContent, hashJson, holm, inMemoryReviewStore, inferDomainKeywords, interRaterReliability, interpretCliffs, iqr, isJudgeSpan, isLlmSpan, isModelPriced, isRunRecord, isToolSpan, isTransientLlmError, jsonShape, jsonlReviewStore, jsonlRunRecordBackend, judgeAgreementView, judgeFamily, judgeGateDecision, judgeSpans, knowledgeReadinessTracePayload, leaderboard, linearRegressionSlope, lintTraceContractSpec, llmJudge, loadScorecard, localCommandRunner, makeFinding, makePolicyEditCandidateRecord, makeProposalFinding, manifestContentDigest, mannWhitneyU, maximumChargeForLlmRequest, mcnemar, mcnemarPower, mcnemarRequiredN, meanConfidenceInterval, measureJudgeAgreement, minimumPairsForPairedDeltaTest, mintRolloutRows, modelHasSnapshot, mulberry32, normalTwoSidedPValue, objectiveEval, observeAll, otlpTextToTraceAnalysisStore, pairArms, pairRunRecords, pairedBootstrap, pairedCohensDz, pairedDeltaTest, pairedEvalueSequence, pairedMde, pairedPromotionPower, pairedRiskDifference, pairedRiskDifferenceExact, pairedRiskDifferenceScore, pairedSignTest, pairedTTest, paretoFrontier, parseReflectionResponse, parseRunRecordSafe, partialCredit, partitionHeldOut, passAtK, pearsonR, preflightModels, productBenchmarkRepoIdentity, profile_exports as profile, projectRuntimeTrajectoryEvidence, proposeSynthesisTargets, ranks, readProductBenchmarkManifest, recordRuns, recordRunsToScorecard, redTeamDataset, redTeamReport, redact, redactForShare, redactText, registerCalibrationSet, renderPreferenceMemoryMarkdown, repeatedActionDetector, requiredPairedSampleSize, requiredPairsForPairedPromotion, requiredSampleSize, resolveModelPricing, resolveSeat, runAgentControlLoop, runBoundedProcess, runCampaign, runCanaries, runEquivalenceCheck, runEvalCampaign, runIntentMatchJudge, runKeywordCoverageJudge, runKeywordCoverageJudgeUrl, runProposeReview, runSemanticConceptJudge, runTaskScore, runsForScenario, sampleMedian, scoreKnowledgeReadiness, scoreRedTeamOutput, scoreTraceInsightReadiness, seatPresets, selfImprove, shareAllowed, snapshotFromJudgeAgreement, spanRecordsToTraceAnalysisStore, spearmanR, stripFencedJson, studentTCritical, studentTTwoSidedPValue, subjectiveEval, summarizeBackendIntegrity, summarizeNumberSeries, summarizePreferenceMemory, summarizeSample, summaryTable, toAgentProfileJson, tokenizeDomainWords, toolSpansToTraceAnalysisStore, toolWasteView, traceContract, transientDispatchFailure, twoByTwoPValue, userQuestionsForKnowledgeGaps, validateRunRecord, verbosityBias, verifyAgentProfileCell, verifyAttestation, verifyCompletion, viteDeployRunner, weightedComposite, weightedMean, welchsTTest, wilcoxonSignedRank, wilson, withAssignedFeedbackSplit, withJudgeRetry, wranglerDeployRunner };
8890
+ export { AGENT_PROFILE_KINDS, ATTESTATION_ALGORITHM, AgentEvalError, AnalystRegistry, BOOTSTRAP_GATE_MIN_N, BackendIntegrityError, BudgetBreachError, BudgetGuard, CODING_HARNESSES, ConfigError, CostAccountingIncompleteError, CostCeilingReachedError, CostLedger, CostTracker, CrossFamilyError, DEFAULT_BOUNDED_PROCESS_TIMEOUT_MS, DEFAULT_JUDGE_GATE_POLICY, DEFAULT_RED_TEAM_CORPUS, DEFAULT_TRACE_ANALYST_BUDGETS, DEFAULT_TRACE_ANALYST_KINDS, ERROR_COUNT_PATTERNS, EquivalenceProtocolError, FAILURE_CLASSES, FAILURE_MODE_KIND_SPEC, FileSystemFeedbackTrajectoryStore, FileSystemRawProviderSink, FileSystemTraceStore, FindingsStore, HARNESS_NATIVE_MODEL, HeldOutGate, InMemoryFeedbackTrajectoryStore, InMemoryRawProviderSink, InMemoryTraceStore, JudgeError, JudgeGateRefusedError, LlmCallError, LlmResponseError, MODEL_PRICING, ModelSubstitutionError, MultiLayerVerifier, NoopRawProviderSink, NotFoundError, OUTPUT_VALUE, OtlpFileTraceStore, PairwiseSteeringOptimizer, ProductClient, PromptRegistry, REDACTION_VERSION, RunIntegrityError, RunRecordValidationError, SEMANTIC_CONCEPT_JUDGE_VERSION, TraceEmitter, UNKNOWN_MODEL, VERIFICATION_STRATEGIES, VERIFICATION_STRATEGY_SOURCES, ValidationError, acquisitionPlansForKnowledgeGaps, addCalibrationVerdicts, agentProfileCellKey, agentProfileHash, agentProfileId, aggregateJudgeVerdicts, aggregateRunScore, analystRunDigest, analystRunToFeedbackTrajectory, analystRunToReviewRequests, analyzeAntiSlop, analyzeRuns, analyzeSeries, analyzeTraces, argHash, assertCapabilityHeadroom, assertCrossFamily, assertCrossFamilyServed, assertJudgeMayGate, assertNoHiddenLeak, assertProductBenchmarkRun, assertRealBackend, assertRunCaptured, assertServedModel, assertServedModels, assertSingleBackend, assessShareSafety, assignFeedbackSplit, attest, benjaminiHochberg, blendHeldout, blockingKnowledgeEval, bonferroni, bootstrapCi, budgetBreachView, buildAgentProfileCell, buildDefaultAnalystRegistry, buildReflectionPrompt, buildTraceInsightContext, buildTraceInsightPrompt, buildTrajectory, calibrateJudge, calibrateJudgeContinuous, canonicalJson, capabilityHeadroom, captureFetchToRawSink, certificationEvidenceDigest, checkCanaries, checkServedModel, checkTraceContracts, chiSquared, chiSquaredPValue, clamp01, classifyFailure, classifyFailureReason, cliffsDelta, cohensD, comparePairedArms, compileTraceContractSpec, completionVerdict, computeFindingId, computeToolUseMetrics, confidenceInterval, contentHash, continuousAgreement, controlRunToFeedbackTrajectory, corpusInterRaterAgreement, corpusInterRaterAgreementFromJudgeScores, costForTokenPricing, costForUsage, costReceiptFromLlm, costReceiptFromLlmError, createAntiSlopJudge, createBoundedTraceAnalysisStore, createChatClient, createChatTraceEngine, createDspyRlmTraceEngine, createFeedbackTrajectory, createLlmCorrectnessChecker, createLlmReviewer, createTraceAnalyst, decidePairedPromotion, defineAgentEval, defineEquivalenceCheck, deployGateLayer, describeServedModelCheck, describeTraceInsightScope, diffFindings, diffScorecard, discoverPersonas, domainEvidencePattern, dominates, eProcess, ensembleJudge, equivalenceVerdict, errorStreakDetector, estimateCost, estimateTokens, evaluateActionPolicy, evaluateInterimReleaseConfidence, evaluateOracles, evaluateReleaseConfidence, evaluateTraceContract, expandProfileAxes, explainTraceContract, exportProductBenchmark, exportProductBenchmarkRuns, exportRunAsOtlp, extractErrorCount, extractProducedState, extractUsage, extractUsageFromSse, failureBlame, failureClusterView, feedbackTrajectoriesToDatasetScenarios, feedbackTrajectoriesToOptimizerRows, feedbackTrajectoryToOptimizerRow, fileVerdictCache, fisherExactTwoSided, fitLogistic, formatScorecardDiff, gainHistogram, gateTreatmentApplied, gradeSemanticStatus, groupRunsByAgentProfileCell, harnessAxisOf, hashContent, hashJson, holm, inMemoryReviewStore, inferDomainKeywords, interRaterReliability, interpretCliffs, iqr, isJudgeSpan, isLlmSpan, isModelPriced, isRunRecord, isToolSpan, isTransientLlmError, jsonShape, jsonlReviewStore, jsonlRunRecordBackend, judgeAgreementView, judgeFamily, judgeGateDecision, judgeSpans, knowledgeReadinessTracePayload, leaderboard, linearRegressionSlope, lintTraceContractSpec, llmJudge, loadScorecard, localCommandRunner, makeFinding, makePolicyEditCandidateRecord, makeProposalFinding, manifestContentDigest, mannWhitneyU, maximumChargeForLlmRequest, mcnemar, mcnemarPower, mcnemarRequiredN, meanConfidenceInterval, meanEffect, measureJudgeAgreement, minimumPairsForPairedDeltaTest, mintRolloutRows, modelHasSnapshot, mulberry32, normalTwoSidedPValue, objectiveEval, observeAll, otlpTextToTraceAnalysisStore, pairArms, pairRunRecords, pairedBootstrap, pairedCohensDz, pairedDeltaTest, pairedEvalueSequence, pairedMde, pairedPromotionPower, pairedRiskDifference, pairedRiskDifferenceExact, pairedRiskDifferenceScore, pairedSignTest, pairedTTest, paretoFrontier, parseReflectionResponse, parseRunRecordSafe, partialCredit, partitionHeldOut, passAtK, pearsonR, preflightModels, productBenchmarkRepoIdentity, profile_exports as profile, projectRuntimeTrajectoryEvidence, proposeSynthesisTargets, ranks, rateEffect, readProductBenchmarkManifest, recordRuns, recordRunsToScorecard, redTeamDataset, redTeamReport, redact, redactForShare, redactText, registerCalibrationSet, renderPreferenceMemoryMarkdown, repeatedActionDetector, requiredPairedSampleSize, requiredPairsForPairedPromotion, requiredSampleSize, resolveModelPricing, resolveSeat, rocAuc, runAgentControlLoop, runBoundedProcess, runCampaign, runCanaries, runEquivalenceCheck, runEvalCampaign, runIntentMatchJudge, runKeywordCoverageJudge, runKeywordCoverageJudgeUrl, runProposeReview, runSemanticConceptJudge, runTaskScore, runsForScenario, sampleMedian, scoreKnowledgeReadiness, scoreRedTeamOutput, scoreTraceInsightReadiness, seatPresets, selfImprove, shareAllowed, snapshotFromJudgeAgreement, spanRecordsToTraceAnalysisStore, spearmanR, stripFencedJson, studentTCritical, studentTTwoSidedPValue, subjectiveEval, summarizeBackendIntegrity, summarizeNumberSeries, summarizePreferenceMemory, summarizeSample, summaryTable, toAgentProfileJson, tokenizeDomainWords, toolSpansToTraceAnalysisStore, toolWasteView, traceContract, transientDispatchFailure, twoByTwoPValue, userQuestionsForKnowledgeGaps, validateRunRecord, verbosityBias, verifyAgentProfileCell, verifyAttestation, verifyCompletion, viteDeployRunner, weightedComposite, weightedMean, welchsTTest, wilcoxonSignedRank, wilson, withAssignedFeedbackSplit, withJudgeRetry, wranglerDeployRunner };
8803
8891
 
8804
8892
  //# sourceMappingURL=index.js.map