@tangle-network/agent-eval 0.145.11 → 0.145.13
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 +16 -0
- package/dist/analyst/index.d.ts +2 -2
- package/dist/analyst/index.js +3 -3
- package/dist/{benchmark-command-D8K5YJNS.js → benchmark-command-RyFRoiYm.js} +7 -7
- package/dist/{benchmark-command-D8K5YJNS.js.map → benchmark-command-RyFRoiYm.js.map} +1 -1
- package/dist/benchmarks/index.js +3 -3
- package/dist/campaign/index.js +5 -5
- package/dist/{campaign-B3GJpJ4h.js → campaign-Ct6r9oNe.js} +7 -7
- package/dist/{campaign-B3GJpJ4h.js.map → campaign-Ct6r9oNe.js.map} +1 -1
- package/dist/cli.js +1 -1
- package/dist/contract/index.d.ts +26 -1
- package/dist/contract/index.d.ts.map +1 -1
- package/dist/contract/index.js +191 -29
- package/dist/contract/index.js.map +1 -1
- package/dist/{define-agent-eval-cSMEFzVu.js → define-agent-eval-BXusiVTQ.js} +3 -3
- package/dist/{define-agent-eval-cSMEFzVu.js.map → define-agent-eval-BXusiVTQ.js.map} +1 -1
- package/dist/{dspy-rlm-engine-BZ2aMZEd.js → dspy-rlm-engine-CqwhQQBw.js} +2 -2
- package/dist/{dspy-rlm-engine-BZ2aMZEd.js.map → dspy-rlm-engine-CqwhQQBw.js.map} +1 -1
- package/dist/{external-optimizer-process-BRE56woM.js → external-optimizer-process-D-9iX64j.js} +3 -3
- package/dist/{external-optimizer-process-BRE56woM.js.map → external-optimizer-process-D-9iX64j.js.map} +1 -1
- package/dist/{external-optimizer-subprocess-BhKYK0Jv.js → external-optimizer-subprocess-x5AbhAYX.js} +2 -2
- package/dist/{external-optimizer-subprocess-BhKYK0Jv.js.map → external-optimizer-subprocess-x5AbhAYX.js.map} +1 -1
- package/dist/index.js +5 -5
- package/dist/ledger-core/index.js +1 -1
- package/dist/{ledger-core-BmZt19oQ.js → ledger-core-DTae9rv_.js} +3 -2
- package/dist/ledger-core-DTae9rv_.js.map +1 -0
- package/dist/{llm-judge-DhiJqSjB.js → llm-judge-DqAkIQA1.js} +6 -5
- package/dist/{llm-judge-DhiJqSjB.js.map → llm-judge-DqAkIQA1.js.map} +1 -1
- package/dist/openapi.json +1 -1
- package/dist/{produced-state-BNyyud4g.js → produced-state-B9skdU8u.js} +2 -2
- package/dist/{produced-state-BNyyud4g.js.map → produced-state-B9skdU8u.js.map} +1 -1
- package/dist/{semantic-concept-judge-BiJxScqe.js → semantic-concept-judge-C6M-qOeb.js} +2 -2
- package/dist/{semantic-concept-judge-BiJxScqe.js.map → semantic-concept-judge-C6M-qOeb.js.map} +1 -1
- package/dist/{skillopt-optimization-method-C6JSfYxT.js → skillopt-optimization-method-CcWZBaSz.js} +4 -4
- package/dist/{skillopt-optimization-method-C6JSfYxT.js.map → skillopt-optimization-method-CcWZBaSz.js.map} +1 -1
- package/package.json +1 -1
- package/dist/ledger-core-BmZt19oQ.js.map +0 -1
package/dist/benchmarks/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-8H4AJuhK.js";
|
|
2
|
-
import { K as runCampaign } from "../llm-judge-
|
|
3
|
-
import { x as fsCampaignStorage } from "../external-optimizer-subprocess-
|
|
4
|
-
import "../campaign-
|
|
2
|
+
import { K as runCampaign } from "../llm-judge-DqAkIQA1.js";
|
|
3
|
+
import { x as fsCampaignStorage } from "../external-optimizer-subprocess-x5AbhAYX.js";
|
|
4
|
+
import "../campaign-Ct6r9oNe.js";
|
|
5
5
|
import { join } from "node:path";
|
|
6
6
|
//#region src/benchmarks/calibration.ts
|
|
7
7
|
async function calibrateBenchmarkMetric(options) {
|
package/dist/campaign/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $ as assertCampaignDesign, A as surfaceHash, C as optimizationTokenUsageFromSummary, D as componentSurfaceIdentityMaterial, E as codeSurfaceIdentityMaterial, G as runEval, J as resolveRunDir, K as runCampaign, M as campaignMeanComposite, N as compareRankKeys, O as renderSurfaceDiff, R as readGepaCandidatePopulationArtifact, S as costFromLedgerSummary, T as assertComponentSurface, Y as tangleTracesRoot, a as canonicalDigest, at as cellCachePath, b as combineComparisonCosts, c as loopProvenanceSpans, d as verifyLoopProvenanceRecord, et as assertCampaignSplitIdentity, f as runImprovementLoop, h as labelTrustRank, i as campaignMeasurementDigest, it as readCachedCell, j as campaignBreakdown, k as surfaceContentHash, l as provenanceRecordPath, m as isProposedCandidate, nt as campaignSplitDigest, o as emitLoopProvenance, p as runOptimization, q as planCampaignRun, r as buildLoopProvenanceRecord, rt as campaignSplitDigestFromIdentities, s as loopProvenanceArgsFromResult, t as llmJudge, tt as campaignScenarioIdentity, u as provenanceSpansPath, v as openAutoPr, w as assertCodeSurfaceIdentity, x as compareOptimizationMethods, z as defaultProductionGate } from "../llm-judge-
|
|
2
|
-
import { E as SearchLedgerIntegrityError, S as inMemoryCampaignStorage, T as SearchLedgerError, _ as resolveExternalOptimizerCallbackLimits, b as createRunCostLedger, c as DEFAULT_EXTERNAL_OPTIMIZER_CALLBACK_LIMITS, l as DEFAULT_EXTERNAL_OPTIMIZER_PROCESS_LIMITS, v as resolveExternalOptimizerProcessLimits, w as SearchLedgerConflictError, x as fsCampaignStorage } from "../external-optimizer-subprocess-
|
|
1
|
+
import { $ as assertCampaignDesign, A as surfaceHash, C as optimizationTokenUsageFromSummary, D as componentSurfaceIdentityMaterial, E as codeSurfaceIdentityMaterial, G as runEval, J as resolveRunDir, K as runCampaign, M as campaignMeanComposite, N as compareRankKeys, O as renderSurfaceDiff, R as readGepaCandidatePopulationArtifact, S as costFromLedgerSummary, T as assertComponentSurface, Y as tangleTracesRoot, a as canonicalDigest, at as cellCachePath, b as combineComparisonCosts, c as loopProvenanceSpans, d as verifyLoopProvenanceRecord, et as assertCampaignSplitIdentity, f as runImprovementLoop, h as labelTrustRank, i as campaignMeasurementDigest, it as readCachedCell, j as campaignBreakdown, k as surfaceContentHash, l as provenanceRecordPath, m as isProposedCandidate, nt as campaignSplitDigest, o as emitLoopProvenance, p as runOptimization, q as planCampaignRun, r as buildLoopProvenanceRecord, rt as campaignSplitDigestFromIdentities, s as loopProvenanceArgsFromResult, t as llmJudge, tt as campaignScenarioIdentity, u as provenanceSpansPath, v as openAutoPr, w as assertCodeSurfaceIdentity, x as compareOptimizationMethods, z as defaultProductionGate } from "../llm-judge-DqAkIQA1.js";
|
|
2
|
+
import { E as SearchLedgerIntegrityError, S as inMemoryCampaignStorage, T as SearchLedgerError, _ as resolveExternalOptimizerCallbackLimits, b as createRunCostLedger, c as DEFAULT_EXTERNAL_OPTIMIZER_CALLBACK_LIMITS, l as DEFAULT_EXTERNAL_OPTIMIZER_PROCESS_LIMITS, v as resolveExternalOptimizerProcessLimits, w as SearchLedgerConflictError, x as fsCampaignStorage } from "../external-optimizer-subprocess-x5AbhAYX.js";
|
|
3
3
|
import { a as heldoutSignificance, i as dimensionRegressions, o as pairHoldout, r as detectScale, t as powerPreflight } from "../power-preflight-DEw-uC7q.js";
|
|
4
4
|
import { r as makeProposalFinding } from "../types-BI4fT3HN.js";
|
|
5
|
-
import { n as acquireSingleRunLock } from "../external-optimizer-process-
|
|
6
|
-
import { a as externalTextOptimizationMethod, i as composeGate, n as gepaOptimizationMethod, o as decodeExternalTextCandidate, r as heldOutGate, s as readExternalOptimizerObservationArtifact, t as skillOptOptimizationMethod, u as createReferenceEquivalenceJudge } from "../skillopt-optimization-method-
|
|
7
|
-
import { A as neutralizationGate, C as scoreboardSummary, D as LabeledScenarioStoreError, E as FsLabeledScenarioStore, F as analyzeCrossSurfaceInteractions, I as buildTraceAnalystSurfaceDispatch, L as traceAnalystQualityJudge, M as loadEvalFixture, N as loadEvalFixtureScenarios, O as classifyUngroundedLiterals, P as planEvalFixtureRun, S as scoreUserStory, T as neutralizeText, _ as runProfileMatrixSegment, a as autoevalsScorerJudge, b as makePlaybackDispatch, c as FileSearchLedger, d as validateSearchLedgerEvent, f as scoreDiscrimination, g as finalizeProfileMatrix, h as createProfileMatrixPlan, i as verifyCodeSurface, j as discoverEvalFixtures, k as rolloutArgumentDiff, l as SEARCH_LEDGER_SCHEMA, m as SegmentedProfileMatrixError, n as gitWorktreeAdapter, o as phoenixEvaluatorJudge, p as selectDiscriminative, r as resolveWorktreePath, s as isTransientTransportFailure, t as WorktreeAdapterError, u as openSearchLedger, v as ProfileMatrixError, w as userStoryScoreboard, x as renderScoreboardMarkdown, y as runProfileMatrix } from "../campaign-
|
|
5
|
+
import { n as acquireSingleRunLock } from "../external-optimizer-process-D-9iX64j.js";
|
|
6
|
+
import { a as externalTextOptimizationMethod, i as composeGate, n as gepaOptimizationMethod, o as decodeExternalTextCandidate, r as heldOutGate, s as readExternalOptimizerObservationArtifact, t as skillOptOptimizationMethod, u as createReferenceEquivalenceJudge } from "../skillopt-optimization-method-CcWZBaSz.js";
|
|
7
|
+
import { A as neutralizationGate, C as scoreboardSummary, D as LabeledScenarioStoreError, E as FsLabeledScenarioStore, F as analyzeCrossSurfaceInteractions, I as buildTraceAnalystSurfaceDispatch, L as traceAnalystQualityJudge, M as loadEvalFixture, N as loadEvalFixtureScenarios, O as classifyUngroundedLiterals, P as planEvalFixtureRun, S as scoreUserStory, T as neutralizeText, _ as runProfileMatrixSegment, a as autoevalsScorerJudge, b as makePlaybackDispatch, c as FileSearchLedger, d as validateSearchLedgerEvent, f as scoreDiscrimination, g as finalizeProfileMatrix, h as createProfileMatrixPlan, i as verifyCodeSurface, j as discoverEvalFixtures, k as rolloutArgumentDiff, l as SEARCH_LEDGER_SCHEMA, m as SegmentedProfileMatrixError, n as gitWorktreeAdapter, o as phoenixEvaluatorJudge, p as selectDiscriminative, r as resolveWorktreePath, s as isTransientTransportFailure, t as WorktreeAdapterError, u as openSearchLedger, v as ProfileMatrixError, w as userStoryScoreboard, x as renderScoreboardMarkdown, y as runProfileMatrix } from "../campaign-Ct6r9oNe.js";
|
|
8
8
|
import { n as paretoPolicy, r as paretoSignificanceGate, t as buildEvidenceVector } from "../promotion-policy-xzA40Evo.js";
|
|
9
9
|
import { n as sequentialPairedGate, t as sequentialDecide } from "../sequential-C458DXNf.js";
|
|
10
10
|
export { DEFAULT_EXTERNAL_OPTIMIZER_CALLBACK_LIMITS, DEFAULT_EXTERNAL_OPTIMIZER_PROCESS_LIMITS, FileSearchLedger, FsLabeledScenarioStore, LabeledScenarioStoreError, ProfileMatrixError, SEARCH_LEDGER_SCHEMA, SearchLedgerConflictError, SearchLedgerError, SearchLedgerIntegrityError, SegmentedProfileMatrixError, WorktreeAdapterError, acquireSingleRunLock, analyzeCrossSurfaceInteractions, assertCampaignDesign, assertCampaignSplitIdentity, assertCodeSurfaceIdentity, assertComponentSurface, autoevalsScorerJudge, buildEvidenceVector, buildLoopProvenanceRecord, buildTraceAnalystSurfaceDispatch, campaignBreakdown, campaignMeanComposite, campaignMeasurementDigest, campaignScenarioIdentity, campaignSplitDigest, campaignSplitDigestFromIdentities, canonicalDigest, cellCachePath, classifyUngroundedLiterals, codeSurfaceIdentityMaterial, combineComparisonCosts, compareOptimizationMethods, compareRankKeys, componentSurfaceIdentityMaterial, composeGate, costFromLedgerSummary, createProfileMatrixPlan, createReferenceEquivalenceJudge, createRunCostLedger, decodeExternalTextCandidate, defaultProductionGate, detectScale, dimensionRegressions, discoverEvalFixtures, emitLoopProvenance, externalTextOptimizationMethod, finalizeProfileMatrix, fsCampaignStorage, gepaOptimizationMethod, gitWorktreeAdapter, heldOutGate, heldoutSignificance, inMemoryCampaignStorage, isProposedCandidate, isTransientTransportFailure, labelTrustRank, llmJudge, loadEvalFixture, loadEvalFixtureScenarios, loopProvenanceArgsFromResult, loopProvenanceSpans, makePlaybackDispatch, makeProposalFinding, neutralizationGate, neutralizeText, openAutoPr, openSearchLedger, optimizationTokenUsageFromSummary, pairHoldout, paretoPolicy, paretoSignificanceGate, phoenixEvaluatorJudge, planCampaignRun, planEvalFixtureRun, powerPreflight, provenanceRecordPath, provenanceSpansPath, readCachedCell, readExternalOptimizerObservationArtifact, readGepaCandidatePopulationArtifact, renderScoreboardMarkdown, renderSurfaceDiff, resolveExternalOptimizerCallbackLimits, resolveExternalOptimizerProcessLimits, resolveRunDir, resolveWorktreePath, rolloutArgumentDiff, runCampaign, runEval, runImprovementLoop, runOptimization, runProfileMatrix, runProfileMatrixSegment, scoreDiscrimination, scoreUserStory, scoreboardSummary, selectDiscriminative, sequentialDecide, sequentialPairedGate, skillOptOptimizationMethod, surfaceContentHash, surfaceHash, tangleTracesRoot, traceAnalystQualityJudge, userStoryScoreboard, validateSearchLedgerEvent, verifyCodeSurface, verifyLoopProvenanceRecord };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { s as ValidationError, t as AgentEvalError } from "./errors-Dngq5h35.js";
|
|
2
|
-
import { c as agentProfileId, d as harnessAxisOf, i as verifyCompletion, l as agentProfileModelId, s as agentProfileHash, t as extractProducedState } from "./produced-state-
|
|
2
|
+
import { c as agentProfileId, d as harnessAxisOf, i as verifyCompletion, l as agentProfileModelId, s as agentProfileHash, t as extractProducedState } from "./produced-state-B9skdU8u.js";
|
|
3
3
|
import { buildAgentProfileCell } from "./profile-cell.js";
|
|
4
4
|
import { t as comparePairedArms } from "./paired-arms-D-XRF_fy.js";
|
|
5
5
|
import { r as pairedBootstrap } from "./paired-tests-BHIhYVdu.js";
|
|
6
6
|
import { c as validateRunRecord, i as modelHasSnapshot, n as UNKNOWN_MODEL, s as runTaskScore } from "./run-record-D2lDdSAz.js";
|
|
7
7
|
import { n as contentHash, t as canonicalJson } from "./verdict-cache-mZf5FEiY.js";
|
|
8
|
-
import { $ as assertCampaignDesign, J as resolveRunDir, K as runCampaign, Q as summarizeBackendIntegrity, Z as assertRealBackend, at as cellCachePath, h as labelTrustRank, k as surfaceContentHash, ot as computeManifestHash, q as planCampaignRun, tt as campaignScenarioIdentity, w as assertCodeSurfaceIdentity } from "./llm-judge-
|
|
8
|
+
import { $ as assertCampaignDesign, J as resolveRunDir, K as runCampaign, Q as summarizeBackendIntegrity, Z as assertRealBackend, at as cellCachePath, h as labelTrustRank, k as surfaceContentHash, ot as computeManifestHash, q as planCampaignRun, tt as campaignScenarioIdentity, w as assertCodeSurfaceIdentity } from "./llm-judge-DqAkIQA1.js";
|
|
9
9
|
import { a as campaignCellCostProvenance, l as campaignCellToRunRecord, u as projectCampaignCellQuality } from "./reward-hacking-DFo2FU5J.js";
|
|
10
10
|
import { t as CostAccountingIncompleteError } from "./cost-ledger-BSe92yAV.js";
|
|
11
|
-
import { t as FileLedgerJournal, u as mapConcurrent } from "./ledger-core-
|
|
11
|
+
import { t as FileLedgerJournal, u as mapConcurrent } from "./ledger-core-DTae9rv_.js";
|
|
12
12
|
import { r as canonicalString } from "./canonical-D-XsTQ6_.js";
|
|
13
|
-
import { C as SEARCH_LEDGER_FILE_CONTEXT, E as SearchLedgerIntegrityError, T as SearchLedgerError, w as SearchLedgerConflictError, x as fsCampaignStorage } from "./external-optimizer-subprocess-
|
|
13
|
+
import { C as SEARCH_LEDGER_FILE_CONTEXT, E as SearchLedgerIntegrityError, T as SearchLedgerError, w as SearchLedgerConflictError, x as fsCampaignStorage } from "./external-optimizer-subprocess-x5AbhAYX.js";
|
|
14
14
|
import { o as pairHoldout } from "./power-preflight-DEw-uC7q.js";
|
|
15
15
|
import { a as scoreAnalystFindings } from "./benchmark-BhT16ep9.js";
|
|
16
|
-
import "./external-optimizer-process-
|
|
17
|
-
import "./skillopt-optimization-method-
|
|
16
|
+
import "./external-optimizer-process-D-9iX64j.js";
|
|
17
|
+
import "./skillopt-optimization-method-CcWZBaSz.js";
|
|
18
18
|
import { createHash } from "node:crypto";
|
|
19
19
|
import { closeSync, constants, existsSync, fstatSync, lstatSync, mkdirSync, mkdtempSync, openSync, readFileSync, readSync, readdirSync, readlinkSync, realpathSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
20
20
|
import { z } from "zod";
|
|
@@ -3685,4 +3685,4 @@ function resolveWorktreePath(surface, worktreeDir) {
|
|
|
3685
3685
|
//#endregion
|
|
3686
3686
|
export { neutralizationGate as A, scoreboardSummary as C, LabeledScenarioStoreError as D, FsLabeledScenarioStore as E, analyzeCrossSurfaceInteractions as F, buildTraceAnalystSurfaceDispatch as I, traceAnalystQualityJudge as L, loadEvalFixture as M, loadEvalFixtureScenarios as N, classifyUngroundedLiterals as O, planEvalFixtureRun as P, scoreUserStory as S, neutralizeText as T, runProfileMatrixSegment as _, autoevalsScorerJudge as a, makePlaybackDispatch as b, FileSearchLedger as c, validateSearchLedgerEvent as d, scoreDiscrimination as f, finalizeProfileMatrix as g, createProfileMatrixPlan as h, verifyCodeSurface as i, discoverEvalFixtures as j, rolloutArgumentDiff as k, SEARCH_LEDGER_SCHEMA as l, SegmentedProfileMatrixError as m, gitWorktreeAdapter as n, phoenixEvaluatorJudge as o, selectDiscriminative as p, resolveWorktreePath as r, isTransientTransportFailure as s, WorktreeAdapterError as t, openSearchLedger as u, ProfileMatrixError as v, userStoryScoreboard as w, renderScoreboardMarkdown as x, runProfileMatrix as y };
|
|
3687
3687
|
|
|
3688
|
-
//# sourceMappingURL=campaign-
|
|
3688
|
+
//# sourceMappingURL=campaign-Ct6r9oNe.js.map
|