@tangle-network/agent-eval 0.102.1 → 0.103.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/dist/index.d.ts CHANGED
@@ -18,8 +18,8 @@ import { A as AgentEvalError, J as JudgeError, a as ConfigError } from './errors
18
18
  export { b as AgentEvalErrorCode, C as CaptureIntegrityError, N as NotFoundError, R as ReplayError, V as ValidationError, c as VerificationError } from './errors-CzMUYo7b.js';
19
19
  import { b as FeedbackLabel, F as FeedbackTrajectoryStore, a as FeedbackTrajectory } from './feedback-trajectory-BxY0cKfs.js';
20
20
  export { c as FeedbackArtifactType, d as FeedbackAttempt, e as FeedbackLabelKind, f as FeedbackLabelSource, g as FeedbackOptimizerRow, h as FeedbackOutcome, i as FeedbackReplayAdapter, j as FeedbackReplayResult, k as FeedbackSeverity, l as FeedbackSplitPolicy, m as FeedbackTask, n as FeedbackTrajectoryFilter, o as FileSystemFeedbackTrajectoryStore, I as InMemoryFeedbackTrajectoryStore, P as PreferenceMemoryEntry, p as ProposedSideEffect, q as assignFeedbackSplit, r as controlRunToFeedbackTrajectory, s as createFeedbackTrajectory, t as feedbackTrajectoriesToDatasetScenarios, u as feedbackTrajectoriesToOptimizerRows, v as feedbackTrajectoryToDatasetScenario, w as feedbackTrajectoryToOptimizerRow, x as parseFeedbackTrajectoriesJsonl, y as renderPreferenceMemoryMarkdown, z as replayFeedbackTrajectories, A as replayFeedbackTrajectory, B as serializeFeedbackTrajectoriesJsonl, C as summarizePreferenceMemory, D as withAssignedFeedbackSplit } from './feedback-trajectory-BxY0cKfs.js';
21
- import { b as CorrectnessChecker } from './pre-registration-Dzg61IQA.js';
22
- export { A as ArtifactCheckArtifact, d as ArtifactEventLike, e as ArtifactValidator, f as BackendIntegrityError, B as BackendIntegrityReport, C as CompletionRequirement, a as CompletionVerdict, H as HypothesisManifest, g as HypothesisResult, h as LlmCorrectnessCheckerOpts, L as LlmJudgeDimension, c as LlmJudgeOptions, i as ProducedProposal, P as ProducedState, j as ProposalEventLike, k as RequirementCheck, R as RuntimeEventLike, m as SatisfiedBy, S as SignedManifest, n as SignedManifestAlgo, T as TaskGold, o as ToolCallEventLike, V as ValidationContext, p as ValidationIssue, q as ValidationResult, r as assertRealBackend, s as byteLengthRange, t as canonicalize, u as completionVerdict, v as composeValidators, w as containsAll, x as createLlmCorrectnessChecker, y as createTokenRecallChecker, z as evaluateHypothesis, D as extractProducedState, E as hashJson, F as jsonHasKeys, l as llmJudge, G as parseCorrectnessResponse, I as regexMatch, J as signManifest, K as summarizeBackendIntegrity, M as verifyCompletion, N as verifyManifest } from './pre-registration-Dzg61IQA.js';
21
+ import { b as CorrectnessChecker } from './pre-registration-mWG2w8d-.js';
22
+ export { A as ArtifactCheckArtifact, d as ArtifactEventLike, e as ArtifactValidator, f as BackendIntegrityError, B as BackendIntegrityReport, C as CompletionRequirement, a as CompletionVerdict, H as HypothesisManifest, g as HypothesisResult, h as LlmCorrectnessCheckerOpts, L as LlmJudgeDimension, c as LlmJudgeOptions, i as ProducedProposal, P as ProducedState, j as ProposalEventLike, k as RequirementCheck, R as RuntimeEventLike, m as SatisfiedBy, S as SignedManifest, n as SignedManifestAlgo, T as TaskGold, o as ToolCallEventLike, V as ValidationContext, p as ValidationIssue, q as ValidationResult, r as assertRealBackend, s as byteLengthRange, t as canonicalize, u as completionVerdict, v as composeValidators, w as containsAll, x as createLlmCorrectnessChecker, y as createTokenRecallChecker, z as evaluateHypothesis, D as extractProducedState, E as hashJson, F as jsonHasKeys, l as llmJudge, G as parseCorrectnessResponse, I as regexMatch, J as signManifest, K as summarizeBackendIntegrity, M as verifyCompletion, N as verifyManifest } from './pre-registration-mWG2w8d-.js';
23
23
  export { DataAcquisitionPlan, KnowledgeAcquisitionMode, KnowledgeBundle, KnowledgeFallbackPolicy, KnowledgeFreshness, KnowledgeImportance, KnowledgeReadinessReport, KnowledgeRecommendedAction, KnowledgeRequirement, KnowledgeRequirementCategory, KnowledgeResponsibleSurface, KnowledgeSensitivity, ScoreKnowledgeReadinessOptions, UserQuestion, acquisitionPlansForKnowledgeGaps, blockingKnowledgeEval, knowledgeReadinessTracePayload, scoreKnowledgeReadiness, userQuestionsForKnowledgeGaps } from './knowledge/index.js';
24
24
  import { h as ReleaseConfidenceThresholds, f as ReleaseConfidenceScorecard } from './release-report-BQ1Ziyu-.js';
25
25
  export { A as ActionableSideInfo, o as AsiSeverity, B as BootstrapOptions, a as BootstrapResult, J as JudgeReplayGateArgs, R as ReleaseConfidenceAxis, b as ReleaseConfidenceAxisName, c as ReleaseConfidenceInput, d as ReleaseConfidenceIssue, e as ReleaseConfidenceMetrics, g as ReleaseConfidenceStatus, i as ReleaseTraceEvidence, j as RenderReleaseReportOptions, V as Verdict, k as assertReleaseConfidence, l as bootstrapCi, m as evaluateReleaseConfidence, n as judgeReplayGate, r as renderReleaseReport } from './release-report-BQ1Ziyu-.js';
@@ -77,7 +77,7 @@ export { L as LockedJsonlAppender } from './testing-C21CHsq2.js';
77
77
  export { I as InterimReleaseConfidence, a as InterimReleaseConfidenceInput, P as PairedEvalueOptions, b as PairedEvalueSequence, c as PairedEvalueStep, S as SequentialDecision, e as evaluateInterimReleaseConfidence, p as pairedEvalueSequence } from './sequential-5iSVfzl2.js';
78
78
  import { j as GepaProposerConstraints, b as RunImprovementLoopResult } from './gepa-DeyPTlvx.js';
79
79
  export { IntegrityResult, IntegrityViolation, JourneySpec, PerfBaseline, PerfGateResult, PerfRegression, PerfScenario, PerfStat, ScenarioAxes, assertRecordIntegrity, checkRecordIntegrity, expandMatrix, gatePerf, scenarioKey, summarizeRecords } from './perf/index.js';
80
- export { AgentProfileRuntimeReceipt, ProductBenchmarkArm, ProductBenchmarkArtifactPaths, ProductBenchmarkBudgets, ProductBenchmarkManifest, ProductBenchmarkProfileRef, ProductBenchmarkRecord, ProductBenchmarkRepoRef, ProductBenchmarkRunInput, ProductBenchmarkScenario, ProductBenchmarkSplit, ProductBenchmarkSubstrateVersions, ProductBenchmarkValidationReport, RuntimeResolution, findProductBenchmarkArtifacts, productBenchmarkIntegrityFailures, productBenchmarkSplits, readProductBenchmarkManifest, readProductBenchmarkRecords, validateProductBenchmarkManifest, validateProductBenchmarkRecord, validateProductBenchmarkRun } from './product-benchmark/index.js';
80
+ export { AgentProfileRuntimeReceipt, ProductBenchmarkArm, ProductBenchmarkArtifactPaths, ProductBenchmarkBudgets, ProductBenchmarkExportOptions, ProductBenchmarkExportResult, ProductBenchmarkManifest, ProductBenchmarkProfileRef, ProductBenchmarkRecord, ProductBenchmarkRepoRef, ProductBenchmarkRunInput, ProductBenchmarkScenario, ProductBenchmarkSingleRunExportOptions, ProductBenchmarkSplit, ProductBenchmarkSubstrateVersions, ProductBenchmarkValidationReport, RuntimeResolution, assertProductBenchmarkRun, buildProductBenchmarkManifest, exportProductBenchmark, exportProductBenchmarkRuns, findProductBenchmarkArtifacts, productBenchmarkIntegrityFailures, productBenchmarkMutableSurfaces, productBenchmarkRepoIdentity, productBenchmarkSplits, readProductBenchmarkManifest, readProductBenchmarkRecords, runRecordToProductBenchmarkRecord, validateProductBenchmarkManifest, validateProductBenchmarkRecord, validateProductBenchmarkRun } from './product-benchmark/index.js';
81
81
  import '@ax-llm/ax';
82
82
  import 'zod';
83
83
  import './insight-report-k0sRTzKg.js';
@@ -5271,6 +5271,10 @@ interface ReflectionProposal {
5271
5271
  rationale: string;
5272
5272
  payload: unknown;
5273
5273
  }
5274
+ /**
5275
+ * Parse the model's JSON response back into proposals. Tolerates markdown
5276
+ * fences and surrounding prose. Returns at most `maxProposals`.
5277
+ */
5274
5278
  declare function parseReflectionResponse(raw: string, maxProposals?: number): ReflectionProposal[];
5275
5279
 
5276
5280
  /**
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  checkBehavioralCanary,
10
10
  checkCanaries,
11
11
  runBehavioralCanaries
12
- } from "./chunk-6Q2DYRWV.js";
12
+ } from "./chunk-U3IDYATS.js";
13
13
  import {
14
14
  classifyEuAiRisk,
15
15
  euAiActReport,
@@ -34,15 +34,22 @@ import {
34
34
  summarizeRecords
35
35
  } from "./chunk-STGVSCDH.js";
36
36
  import {
37
+ assertProductBenchmarkRun,
38
+ buildProductBenchmarkManifest,
39
+ exportProductBenchmark,
40
+ exportProductBenchmarkRuns,
37
41
  findProductBenchmarkArtifacts,
38
42
  productBenchmarkIntegrityFailures,
43
+ productBenchmarkMutableSurfaces,
44
+ productBenchmarkRepoIdentity,
39
45
  productBenchmarkSplits,
40
46
  readProductBenchmarkManifest,
41
47
  readProductBenchmarkRecords,
48
+ runRecordToProductBenchmarkRecord,
42
49
  validateProductBenchmarkManifest,
43
50
  validateProductBenchmarkRecord,
44
51
  validateProductBenchmarkRun
45
- } from "./chunk-63MBSQTX.js";
52
+ } from "./chunk-RQNOLV3I.js";
46
53
  import {
47
54
  CODING_HARNESSES,
48
55
  HARNESS_NATIVE_MODEL,
@@ -65,7 +72,7 @@ import {
65
72
  llmJudge,
66
73
  parseCorrectnessResponse,
67
74
  verifyCompletion
68
- } from "./chunk-CMJSTXUR.js";
75
+ } from "./chunk-IXOV77YF.js";
69
76
  import {
70
77
  DEFAULT_MUTATION_PRIMITIVES,
71
78
  DEFAULT_RED_TEAM_CORPUS,
@@ -89,7 +96,7 @@ import {
89
96
  scoreRedTeamOutput,
90
97
  surfaceContentHash,
91
98
  toolNamesForRun
92
- } from "./chunk-Z3FLN24V.js";
99
+ } from "./chunk-NTVWIH24.js";
93
100
  import {
94
101
  BackendIntegrityError,
95
102
  assertRealBackend,
@@ -99,7 +106,7 @@ import {
99
106
  fileVerdictCache,
100
107
  inMemoryVerdictCache,
101
108
  summarizeBackendIntegrity
102
- } from "./chunk-QIT2XZ4E.js";
109
+ } from "./chunk-XKA6ZGEY.js";
103
110
  import {
104
111
  MODEL_PRICING,
105
112
  MetricsCollector,
@@ -5490,7 +5497,7 @@ function matchText(actual, matcher) {
5490
5497
  }
5491
5498
  function resolveToolName(span) {
5492
5499
  if (typeof span.toolName === "string") return span.toolName;
5493
- const fromAttr = span.attributes?.["tool.name"] ?? span.attributes?.["toolName"];
5500
+ const fromAttr = span.attributes?.["tool.name"] ?? span.attributes?.toolName;
5494
5501
  if (typeof fromAttr === "string") return fromAttr;
5495
5502
  if (span.kind === "tool" && typeof span.name === "string") return span.name;
5496
5503
  return void 0;
@@ -10144,6 +10151,7 @@ export {
10144
10151
  assertLlmRoute,
10145
10152
  assertModelsServed,
10146
10153
  assertNoHiddenLeak,
10154
+ assertProductBenchmarkRun,
10147
10155
  assertRealBackend,
10148
10156
  assertRecordIntegrity,
10149
10157
  assertReleaseConfidence,
@@ -10169,6 +10177,7 @@ export {
10169
10177
  buildAgreementJudge,
10170
10178
  buildDefaultAnalystRegistry,
10171
10179
  buildDriverSystemPrompt,
10180
+ buildProductBenchmarkManifest,
10172
10181
  buildReflectionPrompt,
10173
10182
  buildReviewerPrompt,
10174
10183
  buildTraceAnalystTools,
@@ -10283,6 +10292,8 @@ export {
10283
10292
  expandMatrix,
10284
10293
  expandProfileAxes,
10285
10294
  expectAgent,
10295
+ exportProductBenchmark,
10296
+ exportProductBenchmarkRuns,
10286
10297
  exportRewardModel,
10287
10298
  exportRunAsOtlp,
10288
10299
  extractAssetUrls,
@@ -10437,6 +10448,8 @@ export {
10437
10448
  printDriverSummary,
10438
10449
  probeLlm,
10439
10450
  productBenchmarkIntegrityFailures,
10451
+ productBenchmarkMutableSurfaces,
10452
+ productBenchmarkRepoIdentity,
10440
10453
  productBenchmarkSplits,
10441
10454
  profile_exports as profile,
10442
10455
  projectOtlpFlatLine,
@@ -10498,6 +10511,7 @@ export {
10498
10511
  runLiveProof,
10499
10512
  runProposeReview,
10500
10513
  runProposeReviewAsControlLoop,
10514
+ runRecordToProductBenchmarkRecord,
10501
10515
  runReferenceReplay,
10502
10516
  runScore,
10503
10517
  runSelfPlay,