@tangle-network/agent-eval 1.0.33 → 1.0.35
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 +42 -0
- package/dist/adapters/http.d.ts +2 -2
- package/dist/analyst/index.d.ts +3 -3
- package/dist/analyst/index.js +1 -1
- package/dist/app-grade/index.d.ts +2 -2
- package/dist/{benchmark-command-ledBLt5N.js → benchmark-command-ZN7x3hTW.js} +2 -2
- package/dist/{benchmark-command-ledBLt5N.js.map → benchmark-command-ZN7x3hTW.js.map} +1 -1
- package/dist/benchmarks/index.d.ts +90 -8
- package/dist/benchmarks/index.d.ts.map +1 -1
- package/dist/benchmarks/index.js +590 -50
- package/dist/benchmarks/index.js.map +1 -1
- package/dist/campaign/index.d.ts +4 -4
- package/dist/cli.js +1 -1
- package/dist/contract/index.d.ts +7 -7
- package/dist/{default-registry-2Ziw-0sL.d.ts → default-registry-CfZCJdJT.d.ts} +2 -2
- package/dist/{default-registry-2Ziw-0sL.d.ts.map → default-registry-CfZCJdJT.d.ts.map} +1 -1
- package/dist/{define-agent-eval-DmCV1TZo.d.ts → define-agent-eval-QdTTdbyE.d.ts} +5 -5
- package/dist/{define-agent-eval-DmCV1TZo.d.ts.map → define-agent-eval-QdTTdbyE.d.ts.map} +1 -1
- package/dist/{evaluation-BQQ2ga5W.d.ts → evaluation-imW3I7tD.d.ts} +2 -2
- package/dist/{evaluation-BQQ2ga5W.d.ts.map → evaluation-imW3I7tD.d.ts.map} +1 -1
- package/dist/evaluation.d.ts +1 -1
- package/dist/experiment/index.d.ts +1 -1
- package/dist/{index-BwJtNdaj.d.ts → index-CeEW0CHk.d.ts} +11 -11
- package/dist/{index-BwJtNdaj.d.ts.map → index-CeEW0CHk.d.ts.map} +1 -1
- package/dist/{index-BFpDeCuS.d.ts → index-CeTno9aO.d.ts} +2 -2
- package/dist/{index-BFpDeCuS.d.ts.map → index-CeTno9aO.d.ts.map} +1 -1
- package/dist/{index-8hbrQwdR.d.ts → index-DshgWP9U.d.ts} +4 -4
- package/dist/{index-8hbrQwdR.d.ts.map → index-DshgWP9U.d.ts.map} +1 -1
- package/dist/{index-BfxYoHGF.d.ts → index-_Gwk9sZl.d.ts} +2 -2
- package/dist/{index-BfxYoHGF.d.ts.map → index-_Gwk9sZl.d.ts.map} +1 -1
- package/dist/{index-BnqugnsM.d.ts → index-sOdbeWGO.d.ts} +6 -6
- package/dist/{index-BnqugnsM.d.ts.map → index-sOdbeWGO.d.ts.map} +1 -1
- package/dist/index.d.ts +11 -11
- package/dist/index.js +1 -153
- package/dist/index.js.map +1 -1
- package/dist/llm-judge-DOgWUOml.js.map +1 -1
- package/dist/{matrix-D0fEU0fq.d.ts → matrix-Bk8Iz49C.d.ts} +2 -2
- package/dist/{matrix-D0fEU0fq.d.ts.map → matrix-Bk8Iz49C.d.ts.map} +1 -1
- package/dist/multishot/golden/index.d.ts +1 -1
- package/dist/multishot/index.d.ts +2 -2
- package/dist/openapi.json +1 -1
- package/dist/rl.d.ts +1 -1
- package/dist/rollout/index.d.ts +2 -2
- package/dist/search/index.d.ts +2 -2
- package/dist/{search-kernel-IpyhPDQd.d.ts → search-kernel-BigyOZX3.d.ts} +2 -2
- package/dist/{search-kernel-IpyhPDQd.d.ts.map → search-kernel-BigyOZX3.d.ts.map} +1 -1
- package/dist/{statistical-heldout-AvgLVFp6.d.ts → statistical-heldout-Bd6PVnQD.d.ts} +2 -2
- package/dist/{statistical-heldout-AvgLVFp6.d.ts.map → statistical-heldout-Bd6PVnQD.d.ts.map} +1 -1
- package/dist/{systemone-DPVj7a1g.d.ts → systemone-Dpp7I3uV.d.ts} +3 -3
- package/dist/{systemone-DPVj7a1g.d.ts.map → systemone-Dpp7I3uV.d.ts.map} +1 -1
- package/dist/systemone.d.ts +2 -2
- package/dist/{types-qJwFZTqa.d.ts → types-BeJIREX-.d.ts} +6 -1
- package/dist/types-BeJIREX-.d.ts.map +1 -0
- package/dist/{types-rf0yhJmW.d.ts → types-ff0YYJnj.d.ts} +69 -3
- package/dist/types-ff0YYJnj.d.ts.map +1 -0
- package/dist/verification-strategy-CYhDX1rE.js +156 -0
- package/dist/verification-strategy-CYhDX1rE.js.map +1 -0
- package/dist/wire/index.d.ts +5 -5
- package/package.json +2 -2
- package/dist/types-qJwFZTqa.d.ts.map +0 -1
- package/dist/types-rf0yhJmW.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u as CostProvenance } from "./cost-ledger-Czro9wmo.js";
|
|
2
|
-
import { C as JudgeDimension, w as JudgeScore } from "./types-
|
|
2
|
+
import { C as JudgeDimension, w as JudgeScore } from "./types-BeJIREX-.js";
|
|
3
3
|
import { o as MatrixResult } from "./index-DwUGehqX.js";
|
|
4
4
|
import { AgentProfile } from "@tangle-network/agent-interface";
|
|
5
5
|
interface MultishotMessage {
|
|
@@ -380,4 +380,4 @@ interface RunMultishotMatrixResult {
|
|
|
380
380
|
}
|
|
381
381
|
declare function runMultishotMatrix<TPersona extends MultishotPersona>(opts: RunMultishotMatrixOptions<TPersona>): Promise<RunMultishotMatrixResult>;
|
|
382
382
|
export { MultishotTransportResponse as A, MultishotPersona as C, MultishotToolExecutor as D, MultishotToolDefinition as E, assertMultishotShotResult as M, MultishotTransport as O, MultishotMessage as S, MultishotShape as T, renderJsonFooter as _, MultishotCellOutput as a, MultishotDriverEmptyError as b, RunMultishotMatrixResult as c, MultishotShot as d, RunMultishotOptions as f, renderDimensions as g, MultishotJudgeConfig as h, ConversationJudgeInput as i, MultishotTransportToolCall as j, MultishotTransportRequest as k, computeCellComposite as l, JudgeRunResult as m, CellCompositeInput as n, MultishotJudges as o, runMultishot as p, CellCompositeScore as r, RunMultishotMatrixOptions as s, ArtifactJudgeInput as t, runMultishotMatrix as u, runJudge as v, MultishotResult as w, MultishotFatalToolError as x, MultishotArtifact as y };
|
|
383
|
-
//# sourceMappingURL=matrix-
|
|
383
|
+
//# sourceMappingURL=matrix-Bk8Iz49C.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matrix-
|
|
1
|
+
{"version":3,"file":"matrix-Bk8Iz49C.d.ts","names":[],"sources":["../src/multishot/types.ts","../src/multishot/judges.ts","../src/multishot/multishot.ts","../src/multishot/matrix.ts"],"mappings":";;;;UAIiB;EACf;EACA;EACA;EACA,YAAY;IAAQ;IAAY;IAAc,MAAM;;;UAGrC;EACf;EACA;EACA;IAAc;IAAc,MAAM;;EAClC;;UAGe;EACf,YAAY;EACZ,WAAW;EACX;EACA;;;EAGA;;;;;;;;EAQA,iBAAiB;;UAGF;EACf;EACA;IACE;IACA;IACA,YAAY;;;;;;UAOC;EACf;EACA,UAAU,MAAM;EAChB,QAAQ;EACR;EACA;EACA,SAAS;;UAGM;EACf;EACA;EACA;IAAY;IAAc;;;UAGX;EACf;IAAW;IAAyB,aAAa;;EACjD;IAAU;IAAwB;;;;EAGlC;;;;EAIA;;;;;;;;KASU,sBACV,KAAK,8BACF,QAAQ;KAED,yBACV,MAAM,yBACN;;EAEE,WAAW;EACX,SAAS;MAER;EAAU;EAAiB;;UAEf;;EAEf;;GAEC;;;;;;;;UASc,eAAe,iBAAiB;;EAE/C,eAAe,SAAS;;;EAGxB,2BAA2B,SAAS;;cAGzB,kCAAkC;WACjB;EAAA,YAAA;;cAMjB,gCAAgC;EAC/B,YAAA;;;;;;;;;;;;;;;;;;;iBAgCE,0BAA0B,yBAAyB,SAAS;UCtI3D,qBAAqB;;EAEpC;;;EAGA,WAAW;;EAEX;;EAEA,YAAY;;EAEZ;;;EAGA,cAAc,OAAO;;EAErB;;UAGe;;EAEf,OAAO;;EAEP,MAAM;;iBAGc,SAAS,QAC7B,OAAO,qBAAqB,SAC5B,OAAO,SACN,QAAQ;;;iBAsIK,iBAAiB,eAAe;;iBAKhC,iBAAiB,eAAe;UCvK/B,oBAAoB,iBAAiB;EACpD,SAAS;EACT,SAAS;;;EAGT,QAAQ,eAAe;;EAEvB,QAAQ;;EAER,gBAAgB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1,4 @@
|
|
|
1
|
-
import { C as MultishotPersona, E as MultishotToolDefinition, c as RunMultishotMatrixResult, f as RunMultishotOptions, k as MultishotTransportRequest, s as RunMultishotMatrixOptions, w as MultishotResult } from "../../matrix-
|
|
1
|
+
import { C as MultishotPersona, E as MultishotToolDefinition, c as RunMultishotMatrixResult, f as RunMultishotOptions, k as MultishotTransportRequest, s as RunMultishotMatrixOptions, w as MultishotResult } from "../../matrix-Bk8Iz49C.js";
|
|
2
2
|
interface CompareOptions {
|
|
3
3
|
/** Stop after this many mismatches. A structural divergence high in the
|
|
4
4
|
* tree would otherwise report every leaf below it. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { P as DEFAULT_JUDGE_MODEL } from "../cluster-CSd0LE_M.js";
|
|
2
|
-
import { C as JudgeDimension, w as JudgeScore } from "../types-
|
|
3
|
-
import { A as MultishotTransportResponse, C as MultishotPersona, D as MultishotToolExecutor, E as MultishotToolDefinition, M as assertMultishotShotResult, O as MultishotTransport, S as MultishotMessage, T as MultishotShape, _ as renderJsonFooter, a as MultishotCellOutput, b as MultishotDriverEmptyError, c as RunMultishotMatrixResult, d as MultishotShot, f as RunMultishotOptions, g as renderDimensions, h as MultishotJudgeConfig, i as ConversationJudgeInput, j as MultishotTransportToolCall, k as MultishotTransportRequest, l as computeCellComposite, m as JudgeRunResult, n as CellCompositeInput, o as MultishotJudges, p as runMultishot, r as CellCompositeScore, s as RunMultishotMatrixOptions, t as ArtifactJudgeInput, u as runMultishotMatrix, v as runJudge, w as MultishotResult, x as MultishotFatalToolError, y as MultishotArtifact } from "../matrix-
|
|
2
|
+
import { C as JudgeDimension, w as JudgeScore } from "../types-BeJIREX-.js";
|
|
3
|
+
import { A as MultishotTransportResponse, C as MultishotPersona, D as MultishotToolExecutor, E as MultishotToolDefinition, M as assertMultishotShotResult, O as MultishotTransport, S as MultishotMessage, T as MultishotShape, _ as renderJsonFooter, a as MultishotCellOutput, b as MultishotDriverEmptyError, c as RunMultishotMatrixResult, d as MultishotShot, f as RunMultishotOptions, g as renderDimensions, h as MultishotJudgeConfig, i as ConversationJudgeInput, j as MultishotTransportToolCall, k as MultishotTransportRequest, l as computeCellComposite, m as JudgeRunResult, n as CellCompositeInput, o as MultishotJudges, p as runMultishot, r as CellCompositeScore, s as RunMultishotMatrixOptions, t as ArtifactJudgeInput, u as runMultishotMatrix, v as runJudge, w as MultishotResult, x as MultishotFatalToolError, y as MultishotArtifact } from "../matrix-Bk8Iz49C.js";
|
|
4
4
|
import { AgentProfile } from "@tangle-network/agent-interface";
|
|
5
5
|
/** Prompt and completion tokens one leg reported. */
|
|
6
6
|
interface MultishotLegTokens {
|
package/dist/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "@tangle-network/agent-eval — wire protocol",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.35",
|
|
6
6
|
"description": "HTTP and stdio RPC interface to agent-eval. The TypeScript runtime is the source of truth; this spec is the contract that cross-language clients (Python, Rust, Go) generate from.\n\nWire-protocol version: 1.1.0. Bumps on breaking changes to request/response schemas.",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Tangle Network",
|
package/dist/rl.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as Span } from "./schema-CkIvnmLU.js";
|
|
2
2
|
import { a as RunRecord, c as RunSplitTag } from "./run-record-hti3ETmO.js";
|
|
3
3
|
import { F as PairedBootstrapResult } from "./index-Bcy00QoN.js";
|
|
4
|
-
import { Q as MintRolloutOptions, a as CampaignResult } from "./types-
|
|
4
|
+
import { Q as MintRolloutOptions, a as CampaignResult } from "./types-BeJIREX-.js";
|
|
5
5
|
import { a as MintedRolloutLine, b as RolloutSplit, t as ChatMessage, w as ToolDef } from "./schema-BTTzvMnn.js";
|
|
6
6
|
import { a as PairedPromotionDecision } from "./paired-promotion-decision-BBSxTo-h.js";
|
|
7
7
|
import { a as detectRewardHacking, c as VerifiableRewardSource, i as RewardHackingSignal, l as extractVerifiableReward, n as RewardHackingFinding, o as VerifiableReward, r as RewardHackingReport, s as VerifiableRewardExtractionOptions, t as DetectRewardHackingInput, u as extractVerifiableRewardsFromRecords } from "./reward-hacking-_CAip56v.js";
|
package/dist/rollout/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as MintRolloutResult, Q as MintRolloutOptions, et as RolloutScrubber, nt as mintRolloutRows, rt as unmintableReasons, tt as RolloutSearchLineage } from "../types-
|
|
1
|
+
import { $ as MintRolloutResult, Q as MintRolloutOptions, et as RolloutScrubber, nt as mintRolloutRows, rt as unmintableReasons, tt as RolloutSearchLineage } from "../types-BeJIREX-.js";
|
|
2
2
|
import { A as isTrainableSplit, C as RolloutWorkspaceCapture, D as assertRolloutLine, E as assertMintedLines, F as isLicenseEligible, I as licenseClassOf, L as licenseClassOfName, M as RolloutNativeCapture, N as LICENSE_CLASSES, O as gateGamedOutcome, P as LicenseClass, S as RolloutTask, T as assertMinted, _ as RolloutPolicy, a as MintedRolloutLine, b as RolloutSplit, c as ROLLOUT_ROLES, d as RolloutArtifacts, f as RolloutCapture, g as RolloutOutcome, h as RolloutLine, i as GatedEvidence, j as validateRolloutLine, k as isRolloutLine, l as ROLLOUT_SCHEMA, m as RolloutEvidenceAttempt, n as ChatRole, o as MintedRolloutOutcome, p as RolloutCostBlock, r as ChatToolCall, s as ROLLOUT_CAPTURES, t as ChatMessage, u as ROLLOUT_SPLITS, v as RolloutProvenance, w as ToolDef, x as RolloutStep, y as RolloutRole } from "../schema-BTTzvMnn.js";
|
|
3
|
-
import { $ as HarborContentPart, A as harnessSessionRolloutLine, At as RealnessLabels, B as ReadClaudeTranscriptOptions, Bt as toSftRows, C as GateReport, Ct as GateCheckDisposition, D as readOpencodeSessionMessages, Dt as GatePolicy, E as DEFAULT_OPENCODE_DB, Et as GateEntryPoint, F as readCodexRollout, Ft as VerifiersRolloutOutput, G as RolloutBatchReceipt, Gt as observedSplitScore, H as parseClaudeTranscript, Ht as ScoreOrigin, I as ClaudeTranscript, It as VerifiersTokenUsage, J as readRolloutJournal, K as admitRolloutBatch, Kt as trainingReward, L as ClaudeTranscriptRef, Lt as toJsonl, M as gateReceiptRolloutLines, Mt as RftItem, N as CodexRollout, Nt as SftExportOptions, O as HarnessSessionImportOptions, Ot as gateErrors, P as parseCodexRollout, Pt as SftRow, Q as HarborAgent, R as ClaudeUsageTotals, Rt as toRewardRows, S as GateDisposition, St as GateCheck, T as assertGateReport, Tt as GateCheckedOutcome, U as readClaudeTranscript, Ut as ScorePreference, V as findClaudeTranscripts, Vt as toVerifiersRolloutOutputs, W as RolloutBatchIdentity, Wt as isRealnessGated, X as writeRolloutLedger, Y as readRolloutLedger, Z as FromHarborOptions, _ as privacyHit, _t as WriteHarborTaskOptions, a as BuildOptions, at as HarborStep, b as EmittedEvidence, bt as GATE_CHECK_IDS, c as ScrubReport, ct as HarborToolCall, d as ReleaseFormat, dt as relabelImportedSplit, et as HarborFinalMetrics, f as buildDatasetCard, ft as toHarborTrajectories, g as defaultRolloutScrubber, gt as HarborTaskVerification, h as ScrubRule, ht as HarborTaskFile, i as toTinkerDatumRows, it as HarborObservationResult, j as harnessSessionRolloutLines, jt as RewardRow, k as harnessSessionRefs, kt as gatedEvidenceOf, l as buildHfDataset, lt as HarborTrajectory, m as ScrubCounts, mt as HARBOR_TASK_CHECKS, n as TinkerDatumRow, nt as HarborMetrics, o as BuildSummary, ot as HarborStepSource, p as PRIVACY_RULE_NAMES, pt as toHarborTrajectory, q as appendRolloutLines, qt as trainingScore, r as TinkerExportOptions, rt as HarborObservation, s as RolloutReleaseCliArgs, st as HarborSubagentTrajectoryRef, t as TinkerDatum, tt as HarborImageSource, u as DatasetCardInputs, ut as fromHarborTrajectory, v as scrubLines, vt as writeHarborTask, w as ReleaseRowRef, wt as GateCheckId, x as FormatGateCounts, xt as GATE_POLICIES, y as scrubText, yt as GATE_CHECKS, z as DEFAULT_CLAUDE_PROJECTS_DIR, zt as toRftItems } from "../index-
|
|
3
|
+
import { $ as HarborContentPart, A as harnessSessionRolloutLine, At as RealnessLabels, B as ReadClaudeTranscriptOptions, Bt as toSftRows, C as GateReport, Ct as GateCheckDisposition, D as readOpencodeSessionMessages, Dt as GatePolicy, E as DEFAULT_OPENCODE_DB, Et as GateEntryPoint, F as readCodexRollout, Ft as VerifiersRolloutOutput, G as RolloutBatchReceipt, Gt as observedSplitScore, H as parseClaudeTranscript, Ht as ScoreOrigin, I as ClaudeTranscript, It as VerifiersTokenUsage, J as readRolloutJournal, K as admitRolloutBatch, Kt as trainingReward, L as ClaudeTranscriptRef, Lt as toJsonl, M as gateReceiptRolloutLines, Mt as RftItem, N as CodexRollout, Nt as SftExportOptions, O as HarnessSessionImportOptions, Ot as gateErrors, P as parseCodexRollout, Pt as SftRow, Q as HarborAgent, R as ClaudeUsageTotals, Rt as toRewardRows, S as GateDisposition, St as GateCheck, T as assertGateReport, Tt as GateCheckedOutcome, U as readClaudeTranscript, Ut as ScorePreference, V as findClaudeTranscripts, Vt as toVerifiersRolloutOutputs, W as RolloutBatchIdentity, Wt as isRealnessGated, X as writeRolloutLedger, Y as readRolloutLedger, Z as FromHarborOptions, _ as privacyHit, _t as WriteHarborTaskOptions, a as BuildOptions, at as HarborStep, b as EmittedEvidence, bt as GATE_CHECK_IDS, c as ScrubReport, ct as HarborToolCall, d as ReleaseFormat, dt as relabelImportedSplit, et as HarborFinalMetrics, f as buildDatasetCard, ft as toHarborTrajectories, g as defaultRolloutScrubber, gt as HarborTaskVerification, h as ScrubRule, ht as HarborTaskFile, i as toTinkerDatumRows, it as HarborObservationResult, j as harnessSessionRolloutLines, jt as RewardRow, k as harnessSessionRefs, kt as gatedEvidenceOf, l as buildHfDataset, lt as HarborTrajectory, m as ScrubCounts, mt as HARBOR_TASK_CHECKS, n as TinkerDatumRow, nt as HarborMetrics, o as BuildSummary, ot as HarborStepSource, p as PRIVACY_RULE_NAMES, pt as toHarborTrajectory, q as appendRolloutLines, qt as trainingScore, r as TinkerExportOptions, rt as HarborObservation, s as RolloutReleaseCliArgs, st as HarborSubagentTrajectoryRef, t as TinkerDatum, tt as HarborImageSource, u as DatasetCardInputs, ut as fromHarborTrajectory, v as scrubLines, vt as writeHarborTask, w as ReleaseRowRef, wt as GateCheckId, x as FormatGateCounts, xt as GATE_POLICIES, y as scrubText, yt as GATE_CHECKS, z as DEFAULT_CLAUDE_PROJECTS_DIR, zt as toRftItems } from "../index-_Gwk9sZl.js";
|
|
4
4
|
import { a as trainingAdmission, i as TrainingPurpose, n as TrainingExclusionReason, r as TrainingExportOptions, t as TrainingAdmission } from "../training-admission-xaDOlQ_U.js";
|
|
5
5
|
export { type BuildOptions, type BuildSummary, type ChatMessage, type ChatRole, type ChatToolCall, type ClaudeTranscript, type ClaudeTranscriptRef, type ClaudeUsageTotals, type CodexRollout, DEFAULT_CLAUDE_PROJECTS_DIR, DEFAULT_OPENCODE_DB, type DatasetCardInputs, type EmittedEvidence, type FormatGateCounts, type FromHarborOptions, GATE_CHECKS, GATE_CHECK_IDS, GATE_POLICIES, type GateCheck, type GateCheckDisposition, type GateCheckId, type GateCheckedOutcome, type GateDisposition, type GateEntryPoint, type GatePolicy, type GateReport, type GatedEvidence, HARBOR_TASK_CHECKS, type HarborAgent, type HarborContentPart, type HarborFinalMetrics, type HarborImageSource, type HarborMetrics, type HarborObservation, type HarborObservationResult, type HarborStep, type HarborStepSource, type HarborSubagentTrajectoryRef, type HarborTaskFile, type HarborTaskVerification, type HarborToolCall, type HarborTrajectory, type HarnessSessionImportOptions, LICENSE_CLASSES, type LicenseClass, type MintRolloutOptions, type MintRolloutResult, type MintedRolloutLine, type MintedRolloutOutcome, PRIVACY_RULE_NAMES, ROLLOUT_CAPTURES, ROLLOUT_ROLES, ROLLOUT_SCHEMA, ROLLOUT_SPLITS, type ReadClaudeTranscriptOptions, type RealnessLabels, type ReleaseFormat, type ReleaseRowRef, type RewardRow, type RftItem, type RolloutArtifacts, type RolloutBatchIdentity, type RolloutBatchReceipt, type RolloutCapture, type RolloutCostBlock, type RolloutEvidenceAttempt, type RolloutLine, type RolloutNativeCapture, type RolloutOutcome, type RolloutPolicy, type RolloutProvenance, type RolloutReleaseCliArgs, type RolloutRole, type RolloutScrubber, type RolloutSearchLineage, type RolloutSplit, type RolloutStep, type RolloutTask, type RolloutWorkspaceCapture, type ScoreOrigin, type ScorePreference, type ScrubCounts, type ScrubReport, type ScrubRule, type SftExportOptions, type SftRow, type TinkerDatum, type TinkerDatumRow, type TinkerExportOptions, type ToolDef, type TrainingAdmission, type TrainingExclusionReason, type TrainingExportOptions, type TrainingPurpose, type VerifiersRolloutOutput, type VerifiersTokenUsage, type WriteHarborTaskOptions, admitRolloutBatch, appendRolloutLines, assertGateReport, assertMinted, assertMintedLines, assertRolloutLine, buildDatasetCard, buildHfDataset, defaultRolloutScrubber, findClaudeTranscripts, fromHarborTrajectory, gateErrors, gateGamedOutcome, gateReceiptRolloutLines, gatedEvidenceOf, harnessSessionRefs, harnessSessionRolloutLine, harnessSessionRolloutLines, isLicenseEligible, isRealnessGated, isRolloutLine, isTrainableSplit, licenseClassOf, licenseClassOfName, mintRolloutRows, observedSplitScore, parseClaudeTranscript, parseCodexRollout, privacyHit, readClaudeTranscript, readCodexRollout, readOpencodeSessionMessages, readRolloutJournal, readRolloutLedger, relabelImportedSplit, scrubLines, scrubText, toHarborTrajectories, toHarborTrajectory, toJsonl, toRewardRows, toRftItems, toSftRows, toTinkerDatumRows, toVerifiersRolloutOutputs, trainingAdmission, trainingReward, trainingScore, unmintableReasons, validateRolloutLine, writeHarborTask, writeRolloutLedger };
|
package/dist/search/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as SearchLedgerHash, C as SearchEdgeOperator, G as SearchSplit, H as SearchProposerKind, I as SearchNodeStatus, L as SearchOpenedEvent, T as SearchEstimateMethod, W as SearchSourceRef, i as SearchArtifactRef, j as SearchModelIdentity, l as SearchCandidateSurface, m as SearchClaim, t as NodeEstimate, y as SearchCloseReason } from "../search-ledger-types-qiYRUo_N.js";
|
|
2
|
-
import { X as SearchStateView, st as SearchNode } from "../types-
|
|
3
|
-
import { B as OperatorYieldRow, F as ExpansionOperator, G as LensSignal, Gt as SearchUnitExtension, H as operatorYield, I as MIN_OUTCOMES_FOR_WEIGHT, K as summarizeSamples, L as OperatorOutcomeCounts, R as OperatorYieldData, U as LensResult, V as OperatorYieldSignal, W as LensSampleSummary, a as SearchArtifactCodec, b as SearchPolicyView, h as SearchRunResult, i as RunSearchOptions, l as SearchLane, v as SearchPolicy, z as OperatorYieldOptions } from "../search-kernel-
|
|
2
|
+
import { X as SearchStateView, st as SearchNode } from "../types-BeJIREX-.js";
|
|
3
|
+
import { B as OperatorYieldRow, F as ExpansionOperator, G as LensSignal, Gt as SearchUnitExtension, H as operatorYield, I as MIN_OUTCOMES_FOR_WEIGHT, K as summarizeSamples, L as OperatorOutcomeCounts, R as OperatorYieldData, U as LensResult, V as OperatorYieldSignal, W as LensSampleSummary, a as SearchArtifactCodec, b as SearchPolicyView, h as SearchRunResult, i as RunSearchOptions, l as SearchLane, v as SearchPolicy, z as OperatorYieldOptions } from "../search-kernel-BigyOZX3.js";
|
|
4
4
|
import { AgentProfileResourceRef } from "@tangle-network/agent-interface";
|
|
5
5
|
interface EditCreditOptions {
|
|
6
6
|
/**
|
|
@@ -2,7 +2,7 @@ import { t as CostLedger } from "./cost-ledger-Czro9wmo.js";
|
|
|
2
2
|
import { a as RunRecord } from "./run-record-hti3ETmO.js";
|
|
3
3
|
import { A as SearchLedgerHash, C as SearchEdgeOperator, E as SearchExecutionIdentity, G as SearchSplit, H as SearchProposerKind, I as SearchNodeStatus, L as SearchOpenedEvent, N as SearchNodeDecision, O as SearchLedgerEntry, P as SearchNodeRef, Q as SearchTaskOutcome, R as SearchOperationKind, S as SearchEdgeAttribution, T as SearchEstimateMethod, U as SearchReservation, V as SearchProposer, W as SearchSourceRef, Y as SearchSurfaceEvidence, Z as SearchTask, _ as SearchClaimPower, a as SearchAttemptAccounting, et as SearchTraceRef, i as SearchArtifactRef, j as SearchModelIdentity, k as SearchLedgerEvent, l as SearchCandidateSurface, m as SearchClaim, nt as EvaluationClaim, o as SearchAudit, p as SearchCellStage, t as NodeEstimate, tt as SearchUnknown, y as SearchCloseReason, z as SearchOperationRecordedEvent } from "./search-ledger-types-qiYRUo_N.js";
|
|
4
4
|
import { C as LedgerTrustedHead, v as LedgerLineContext, w as LedgerTrustedHeadRemoval, x as LedgerTextStore } from "./index-lRKqfyg4.js";
|
|
5
|
-
import { X as SearchStateView, dt as SearchUnitScore, j as MutableSurface, lt as SearchScoredCell, st as SearchNode } from "./types-
|
|
5
|
+
import { X as SearchStateView, dt as SearchUnitScore, j as MutableSurface, lt as SearchScoredCell, st as SearchNode } from "./types-BeJIREX-.js";
|
|
6
6
|
import { a as PairedPromotionDecision } from "./paired-promotion-decision-BBSxTo-h.js";
|
|
7
7
|
/** One cell an allocator wants for a node. */
|
|
8
8
|
interface SearchCellPlan {
|
|
@@ -1177,4 +1177,4 @@ declare function searchDivergence(state: SearchStateView, nodeId: string): {
|
|
|
1177
1177
|
/** Run a search to its close, or continue one from its ledger. */
|
|
1178
1178
|
declare function runSearch<TArtifact>(options: RunSearchOptions<TArtifact>): Promise<SearchRunResult>;
|
|
1179
1179
|
export { SearchRecorderOptions as $, estimateNode as A, PlanSearchClaimInput as At, OperatorYieldRow as B, AshaOptions as Bt, crowdedFrontierParent as C, SearchLedger as Ct, NodePosterior as D, parseSearchLedgerLine as Dt, EstimateNodeCellsInput as E, openSearchLedger as Et, ExpansionOperator as F, decideSearchClaim as Ft, LensSignal as G, SearchUnitExtension as Gt, operatorYield as H, SearchAllocator as Ht, MIN_OUTCOMES_FOR_WEIGHT as I, planSearchClaim as It, RecordSearchEdgeInput as J, summarizeSamples as K, asha as Kt, OperatorOutcomeCounts as L, searchClaimDecision as Lt, searchCellSetDigest as M, SearchClaimDecision as Mt, searchEstimateMethod as N, SearchClaimPlan as Nt, SEARCH_ESTIMATOR as O, replaySearchLedgerText as Ot, searchPosterior as P, SearchClaimVerification as Pt, SearchRecorder as Q, OperatorYieldData as R, searchClaimReserveUsd as Rt, beam as S, OpenSearchLedgerOptions as St, incumbentWithOperatorBandit as T, SearchLedgerTrustedHeadMode as Tt, LensResult as U, SearchCellPlan as Ut, OperatorYieldSignal as V, SearchAllocationView as Vt, LensSampleSummary as W, SearchRungDecision as Wt, SearchLedgerBinding as X, RegisterSearchNodeInput as Y, SearchOpening as Z, SearchExpansion as _, CampaignStorage as _t, SearchArtifactCodec as a, surfaceNode as at, SearchPolicyView as b, inMemoryCampaignStorage as bt, SearchExecutor as c, SearchHistoryAuditSummary as ct, SearchProposalRequest as d, SearchHistoryPolicy as dt, SearchRunIdentity as et, SearchProposalResult as f, SearchHistoryReceipt as ft, AideOptions as g, verifySearchHistoryReceipt as gt, SearchRunResult as h, verifySearchHistoryArtifact as ht, RunSearchOptions as i, surfaceDiff as it, estimateNodeFromCells as j, SEARCH_CLAIM_RULE as jt, SearchPosterior as k, validateSearchLedgerEvent as kt, SearchLane as l, SearchHistoryCoverage as lt, SearchProposerPort as m, createSearchHistoryReceipt as mt, searchDivergence as n, developmentClaim as nt, SearchCellResult as o, CreateSearchHistoryReceiptInput as ot, SearchProposedChild as p, assertSearchHistoryMatchesState as pt, AllocateSearchCellInput as q, uniform as qt, searchPolicyView as r, searchEdgeId as rt, SearchCellWork as s, SearchHistoryAdmissionOptions as st, runSearch as t, SettleSearchCellInput as tt, SearchProposalBlob as u, SearchHistoryCoverageRow as ut, SearchPolicy as v, createRunCostLedger as vt, incumbent as w, SearchLedgerAppendResult as wt, aide as x, FileSearchLedger as xt, SearchPolicyNode as y, fsCampaignStorage as yt, OperatorYieldOptions as z, verifySearchClaim as zt };
|
|
1180
|
-
//# sourceMappingURL=search-kernel-
|
|
1180
|
+
//# sourceMappingURL=search-kernel-BigyOZX3.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-kernel-
|
|
1
|
+
{"version":3,"file":"search-kernel-BigyOZX3.d.ts","names":[],"sources":["../src/campaign/allocation.ts","../src/campaign/search-claim.ts","../src/campaign/search-ledger.ts","../src/campaign/storage.ts","../src/campaign/search-history-receipt.ts","../src/campaign/search-ledger-recording.ts","../src/search/lenses/shared.ts","../src/search/lenses/operator-yield.ts","../src/campaign/estimate-node.ts","../src/campaign/search-policy.ts","../src/campaign/search-kernel-contract.ts","../src/campaign/search-kernel-policy-view.ts","../src/campaign/search-kernel.ts"],"mappings":";;;;;;;UA0BiB;EACf;EACA,OAAO;EACP;EACA,OAAO;;;UAIQ;WACN,OAAO;;;EAGhB,KAAK;;;UAIU;EACf;EACA;IAAY;IAAoB;;IAAmB;;;EAEnD,OAAO;EACP;EACA;;UAGe;;WAEN;;WAEA;;;EAGT,KAAK,OAAO,iBAAiB,gBAAgB,eAAe;;;EAG5D,WAAW,OAAO;;;EAGlB,QAAQ,MAAM,uBAAuB;;;EAGrC,MAAM,MAAM,sBAAsB,eAAe;;;;;;;;;iBAUnC,QAAQ;EAAW;IAAuB;UA8BzC;;;;EAIf;;;EAGA;;;EAGA;;EAEA;;;EAGA,SAAS;;;;;;;;;;UAWM;;WAEN;;;;;;EAMT,OAAO;IACL,OAAO;IACP;IACA;IACA;;IAEA;IACA;IACA;;;;;;;;;;;;;;;;;;;;;iBAsBY,KAAK,UAAS,cAAmB;;cCrFpC,mBAAmB;;;;;;;iBAchB,sBAAsB;EACpC;EACA;EACA;;;;;;UASe;EACf;EACA,MAAM;;EAEN,YAAY;;EAEZ,WAAW;IAAQ;IAAgB;;EACnC,OAAO;;;EAGP;EACA;;UAGe;EACf,YAAY;;EAEZ;;EAEA,WAAW;;;iBAIG,gBACd,OAAO,iBACP,OAAO,uBACN;;UAqGc;EACf;EACA,UAAU;EACV,OAAO;EACP;EACA;;;;;;;iBAQc,kBACd,OAAO,iBACP,MAAM;EACH,O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AAoB;;EAEvB,KAAK,UAAU,gBAAgB,MAAM,aAAa;;UAGnC,sBAAsB;EACrC;EACA;EACA,UAAU,QAAQ;;EAElB,SAAS;IAAgB;IAAgB,UAAU;;;EAEnD;EACA,QAAQ;;;UAIO,oBAAoB;EACnC,UAAU;EACV;;EAEA;;;EAGA,cAAc,SAAS;;UAGR,qBAAqB;EACpC,UAAU,cAAc,oBAAoB;;EAE5C;;EAEA,YAAY;EACZ,YAAY;;;UAIG,mBAAmB;WACzB;WACA,MAAM;WACN,QAAQ;WACR,WAAW;;WAEX;;;WAGA;EACT,QAAQ,SAAS,sBAAsB,aAAa,QAAQ,qBAAqB;;UAGlE,iBAAiB;;EAEhC,UAAU;;EAEV,MAAM;EACN,OAAO,oBAAoB;EAC3B,QAAQ;EACR,YAAY;EACZ,UAAU,mBAAmB;EAC7B,UAAU,eAAe;;;EAGzB,SAAS,UAAU;;EAEnB;;EAEA;;;;EAIA,SAAS;;;;EAIT,eAAe;IACb;IACA,OAAO;IACP,MAAM,SAAS;;IAEf,2BAA2B;IAC3B,gBAAgB;QACZ;;EAEN;;UAGe;;EAEf,OAAO;;;EAGP;EACA,QAAQ;;EAER,OAAO;;;;EAIP,mBAAmB;;;UAIJ;EACf;EACA,UAAU;EACV;EACA;IAAa;IAAc,UAAU;;EACrC,UAAU;IACR,MAAM;IACN,OAAO,MAAM,oBAAoB;IACjC;IACA;IACA,aAAa,SAAS;IACtB;;;;;;;;;;;iBC9OY,iBACd,OAAO,iBACP;EACE;EACA;EACA;EACA;IAED;;;;;;;;iBA4Fa,iBACd,OAAO,iBACP;EACG,OAAO;EAAc;;;iBCnEJ,UAAU,WAC9B,SAAS,iBAAiB,aACzB,QAAQ"}
|
|
@@ -2,7 +2,7 @@ import { a as RunRecord } from "./run-record-hti3ETmO.js";
|
|
|
2
2
|
import { B as FindingTreatment } from "./types-Dtt11Ppr.js";
|
|
3
3
|
import { F as PairedBootstrapResult, G as McNemarResult, P as PairedBootstrapOptions, f as EProcessState, q as RiskDifferenceResult } from "./index-Bcy00QoN.js";
|
|
4
4
|
import { r as LedgerHash } from "./canonical-gLeHiqzd.js";
|
|
5
|
-
import { R as Scenario, a as CampaignResult, b as GenerationRecord, h as GateContext, j as MutableSurface, p as Gate, v as GateResult, w as JudgeScore } from "./types-
|
|
5
|
+
import { R as Scenario, a as CampaignResult, b as GenerationRecord, h as GateContext, j as MutableSurface, p as Gate, v as GateResult, w as JudgeScore } from "./types-BeJIREX-.js";
|
|
6
6
|
import { a as PairedPromotionDecision, i as PairedMcNemarEvidence, r as PairedDecisionStatistic, t as PairedDecisionMethod } from "./paired-promotion-decision-BBSxTo-h.js";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
declare const reservationSchema: z.ZodObject<{
|
|
@@ -997,4 +997,4 @@ declare function dimensionRegressions(candidate: Map<string, Record<string, Judg
|
|
|
997
997
|
minProductiveRuns?: number;
|
|
998
998
|
}): DimensionRegression[];
|
|
999
999
|
export { paretoPolicy as $, PairRunRecordsResult as A, ArmPopulationSummary as B, signManifest as C, FinalEvidenceError as Ct, MatchedRunRecordPair as D, FinalEvidenceRecord as Dt, MatchedPair as E, FinalEvidenceOutcome as Et, comparePairedArms as F, AxisVerdict as G, PowerPreflightOptions as H, pairArms as I, ObjectiveSource as J, BuildEvidenceVectorOptions as K, pairRunRecords as L, PairedArmsComparison as M, PairedCorrectness as N, PairArmsOptions as O, FinalEvidenceReservation as Ot, PairedMetricDelta as P, buildEvidenceVector as Q, ArmAssignment as R, manifestContentDigest as S, FinalEvidenceConflictError as St, ComparePairedArmsOptions as T, FinalEvidenceMeasurement as Tt, powerPreflight as U, PowerPreflight as V, AxisEvidence as W, PromotionObjective as X, ParetoSignificanceGateOptions as Y, PromotionPolicy as Z, HypothesisManifest as _, AttestationProvenance as _t, dimensionRegressions as a, CampaignEvidenceContext as at, SignedManifestAlgo as b, attest as bt, SequentialDecideFn as c, EvidenceAuthority as ct, SequentialObservation as d, EvidenceReceipt as dt, paretoSignificanceGate as et, SequentialPairedGate as f, EvidenceReceiptVerification as ft, sequentialPairedGate as g, ATTESTATION_ALGORITHM as gt, sequentialDecide as h, verifyEvidenceReceipt as ht, PairedHoldout as i, paretoFrontier as it, PairedArmRow as j, PairArmsResult as k, openFinalEvidenceLedger as kt, SequentialDecideOptions as l, EvidenceAuthorityKind as lt, SequentialStreamState as m, isIndependentEvidence as mt, HeldoutSignificance as n, ParetoResult as nt, heldoutSignificance as o, createCampaignEvidenceReceipt as ot, SequentialPairedGateOptions as p, createEvidenceReceipt as pt, EvidenceVector as q, HeldoutSignificanceOptions as r, dominates as rt, pairHoldout as s, CreateEvidenceReceiptInput as st, DimensionRegression as t, Objective as tt, SequentialGateDecision as u, EvidenceBinding as ut, HypothesisResult as v, AttestationVerification as vt, verifyManifest as w, FinalEvidenceLedger as wt, hashJson as x, verifyAttestation as xt, SignedManifest as y, AttestedReport as yt, ArmPopulationReading as z };
|
|
1000
|
-
//# sourceMappingURL=statistical-heldout-
|
|
1000
|
+
//# sourceMappingURL=statistical-heldout-Bd6PVnQD.d.ts.map
|
package/dist/{statistical-heldout-AvgLVFp6.d.ts.map → statistical-heldout-Bd6PVnQD.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statistical-heldout-
|
|
1
|
+
{"version":3,"file":"statistical-heldout-Bd6PVnQD.d.ts","names":["_$__evidence_receipt0.EvidenceReceipt"],"sources":["../src/experiment/final-evidence.ts","../src/attestation.ts","../src/experiment/evidence-receipt.ts","../src/experiment/campaign-evidence.ts","../src/pareto.ts","../src/campaign/gates/promotion-policy.ts","../src/campaign/gates/power-preflight.ts","../src/arm-populations.ts","../src/paired-arms.ts","../src/pre-registration.ts","../src/campaign/gates/sequential.ts","../src/campaign/gates/statistical-heldout.ts"],"mappings":";;;;;;;cASM,mBAAiB,EAAA;;;;;;GAQZ,EAAA,KAAA;;KAGC,2BAA2B,EAAE,aAAa;cAEhD,mBAAiB,EAAA;;;GAKZ,EAAA,KA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.js";
|
|
2
2
|
import { D as FindingLayer, M as FindingScope, T as FindingCalibration, i as AnalystFinding, m as EvidenceRef, n as AnalystContext, t as Analyst } from "./types-Dtt11Ppr.js";
|
|
3
3
|
import { r as LedgerHash } from "./canonical-gLeHiqzd.js";
|
|
4
|
-
import { R as Scenario, S as JudgeConfig, w as JudgeScore } from "./types-
|
|
4
|
+
import { R as Scenario, S as JudgeConfig, w as JudgeScore } from "./types-BeJIREX-.js";
|
|
5
5
|
import { l as ExactCapableAnalyst } from "./exact-types-xrjBO9sb.js";
|
|
6
|
-
import { a as EvaluationResult, o as EvaluatorOptions, r as EvaluationContext } from "./evaluation-
|
|
6
|
+
import { a as EvaluationResult, o as EvaluatorOptions, r as EvaluationContext } from "./evaluation-imW3I7tD.js";
|
|
7
7
|
import { a as SystemOneJson, d as SystemOneRequest, g as SystemOneState, o as SystemOneQuestion, p as SystemOneResult, s as SystemOneQuestions } from "./systemone-protocol-C4t7JH4Y.js";
|
|
8
8
|
import { Yt as calibrationFromPairs } from "./index-Yec_iihg.js";
|
|
9
9
|
import "./systemone-review-CrnsTRav.js";
|
|
@@ -389,4 +389,4 @@ interface SystemOneAnalystOptions<I, Q extends SystemOneQuestions = SystemOneQue
|
|
|
389
389
|
}
|
|
390
390
|
declare function systemOneAnalyst<I, Q extends SystemOneQuestions = SystemOneQuestions>(options: SystemOneAnalystOptions<I, Q>): Analyst<I>;
|
|
391
391
|
export { DecisionRoute as A, DiffPolicy as B, DecisionPointOptions as C, decisionPoint as D, DecisionQuestions as E, FindingsTimeStep as F, FindingsStore as H, LedgerFinding as I, diffFindingsOverTime as L, FindingsLedgerOutcome as M, FindingsLedgerRead as N, decisionQuestionDigest as O, FindingsQuery as P, openFindingsLedger as R, DecisionInvocation as S, DecisionQuestionPolicy as T, PersistedFinding as U, FindingsDiff as V, diffFindings as W, assessSystemOneDomainMatch as _, SystemOneOptions as a, DECISION_POINT_AUC_BAR as b, systemOneEvaluator as c, SystemOneDomainCoverage as d, SystemOneDomainEvidence as f, SystemOneDomainMatchThresholds as g, SystemOneDomainMatchReport as h, SystemOneJudgeOptions as i, FindingsLedger as j, DecisionRecord as k, systemOneJudge as l, SystemOneDomainMatchReason as m, SystemOneEvaluate as n, normalizedSystemOneScore as o, SystemOneDomainMatchInput as p, SystemOneEvaluatorOptions as r, systemOneAnalyst as s, SystemOneAnalystOptions as t, PreparedSystemOneDomainMatch as u, prepareSystemOneDomainMatch as v, DecisionPointResult as w, DECISION_POINT_MIN_KAPPA as x, systemOneChoiceMargin as y, queryFindings as z };
|
|
392
|
-
//# sourceMappingURL=systemone-
|
|
392
|
+
//# sourceMappingURL=systemone-Dpp7I3uV.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"systemone-
|
|
1
|
+
{"version":3,"file":"systemone-Dpp7I3uV.d.ts","names":["_$__meta_eval0.calibrationFromPairs"],"sources":["../src/analyst/findings-store.ts","../src/analyst/findings-ledger.ts","../src/decision-point-records.ts","../src/decision-point.ts","../src/systemone-domain-match.ts","../src/systemone.ts"],"mappings":";;;;;;;;;;;;;;;UA8BiB,yBAAyB;EACxC;;cAGW;WAGiB;mBAFX;EAEW,YAAA;EAItB,OAAO,eAAe,UAAU,mBAAmB;;EAQzD,WAAW;;EAkBX,QAAQ,gBAAgB;;UAOT;;EAEf,UAAU;;EAEV,aAAa;;EAEb,WAAW;;;;;EAKX,SAAS;IAAQ,UAAU;IAAkB,SAAS;;;UAGvC;;;;;;;;EAQf,cAAc,UAAU,gBAAgB,SAAS;;;;;;iBAkBnC,aACd,UAAU,oBACV,SAAS,oBACT,SAAQ,aACP;;UC9Dc,sBAAsB;;EAErC;EACA,WAAW;;UAGI;EACf,UAAU;;EAEV,YAAY;;KAGF,sBAAsB;EAC5B;EAAiB,OAAO;;EAExB;EACA;IAAS;IAA8C;;;UAG5C;WACN;EACT,OACE,eACA,mBAAmB,mBAClB,QAAQ;IAAwB;IAAkB;;EACrD,QAAQ,QAAQ,sBAAsB;;;iB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AAG,GAAG,KAAK,YAAY,GAAG;UAqDxD,wBAAwB,GAAG,UAAU,qBAAqB,4BACjE,KAAK;EACb;EACA;EACA,WAAW,QAAQ;EACnB,kBAAkB,oBAAoB;EACtC,WAAW,MAAM,OAAO,GAAG,SAAS,mBAAmB,IAAI,QAAQ;EACnE,cAAc,OAAO,GAAG,SAAS,mBAAmB,iBAAiB,QAAQ;EAC7E,WACE,OAAO,gBAAgB,IACvB,OAAO,GACP,SAAS,mBACN,mBAAmB,QAAQ;EAChC,UACE,QAAQ,iBAAiB,gBAAgB,KACzC,OAAO,GACP,SAAS,0BACC;;iBAGE,iBAAiB,GAAG,UAAU,qBAAqB,oBACjE,SAAS,wBAAwB,GAAG,KACnC,QAAQ"}
|
package/dist/systemone.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as EvaluationResult, c as asJudge, i as EvaluationJudgeOptions, l as createEvaluator, n as EvaluationAnalystOptions, o as EvaluatorOptions, r as EvaluationContext, s as asAnalyst, t as CostedEvaluator } from "./evaluation-
|
|
1
|
+
import { a as EvaluationResult, c as asJudge, i as EvaluationJudgeOptions, l as createEvaluator, n as EvaluationAnalystOptions, o as EvaluatorOptions, r as EvaluationContext, s as asAnalyst, t as CostedEvaluator } from "./evaluation-imW3I7tD.js";
|
|
2
2
|
import { C as systemOneUsage, S as systemOneConfidence, _ as normalizeSystemOneResult, a as SystemOneJson, b as parseSystemOneRequest, c as SystemOneRecordedQuestion, d as SystemOneRequest, f as SystemOneResponseError, g as SystemOneState, h as SystemOneScoreCriteria, i as SystemOneDescription, l as SystemOneRecordedQuestions, m as SystemOneResultProfile, n as SystemOneAnswer, o as SystemOneQuestion, p as SystemOneResult, r as SystemOneAnswerFor, s as SystemOneQuestions, u as SystemOneRecordedRequest, x as parseSystemOneResult, y as parseSystemOneRecordedRequest } from "./systemone-protocol-C4t7JH4Y.js";
|
|
3
|
-
import { A as DecisionRoute, C as DecisionPointOptions, D as decisionPoint, E as DecisionQuestions, O as decisionQuestionDigest, S as DecisionInvocation, T as DecisionQuestionPolicy, _ as assessSystemOneDomainMatch, a as SystemOneOptions, b as DECISION_POINT_AUC_BAR, c as systemOneEvaluator, d as SystemOneDomainCoverage, f as SystemOneDomainEvidence, g as SystemOneDomainMatchThresholds, h as SystemOneDomainMatchReport, i as SystemOneJudgeOptions, k as DecisionRecord, l as systemOneJudge, m as SystemOneDomainMatchReason, n as SystemOneEvaluate, o as normalizedSystemOneScore, p as SystemOneDomainMatchInput, r as SystemOneEvaluatorOptions, s as systemOneAnalyst, t as SystemOneAnalystOptions, u as PreparedSystemOneDomainMatch, v as prepareSystemOneDomainMatch, w as DecisionPointResult, x as DECISION_POINT_MIN_KAPPA, y as systemOneChoiceMargin } from "./systemone-
|
|
3
|
+
import { A as DecisionRoute, C as DecisionPointOptions, D as decisionPoint, E as DecisionQuestions, O as decisionQuestionDigest, S as DecisionInvocation, T as DecisionQuestionPolicy, _ as assessSystemOneDomainMatch, a as SystemOneOptions, b as DECISION_POINT_AUC_BAR, c as systemOneEvaluator, d as SystemOneDomainCoverage, f as SystemOneDomainEvidence, g as SystemOneDomainMatchThresholds, h as SystemOneDomainMatchReport, i as SystemOneJudgeOptions, k as DecisionRecord, l as systemOneJudge, m as SystemOneDomainMatchReason, n as SystemOneEvaluate, o as normalizedSystemOneScore, p as SystemOneDomainMatchInput, r as SystemOneEvaluatorOptions, s as systemOneAnalyst, t as SystemOneAnalystOptions, u as PreparedSystemOneDomainMatch, v as prepareSystemOneDomainMatch, w as DecisionPointResult, x as DECISION_POINT_MIN_KAPPA, y as systemOneChoiceMargin } from "./systemone-Dpp7I3uV.js";
|
|
4
4
|
import { a as SystemOneReviewReport, c as systemOneReviewFindings, i as SystemOneReviewInput, n as SystemOneReviewAssessment, o as assessSystemOneReview, r as SystemOneReviewCheck, s as prepareSystemOneReview, t as PreparedSystemOneReview } from "./systemone-review-CrnsTRav.js";
|
|
5
5
|
export { CostedEvaluator, DECISION_POINT_AUC_BAR, DECISION_POINT_MIN_KAPPA, DecisionInvocation, DecisionPointOptions, DecisionPointResult, DecisionQuestionPolicy, DecisionQuestions, type DecisionRecord, type DecisionRoute, EvaluationAnalystOptions, EvaluationContext, EvaluationJudgeOptions, EvaluationResult, EvaluatorOptions, PreparedSystemOneDomainMatch, PreparedSystemOneReview, SystemOneAnalystOptions, type SystemOneAnswer, type SystemOneAnswerFor, type SystemOneDescription, SystemOneDomainCoverage, SystemOneDomainEvidence, SystemOneDomainMatchInput, SystemOneDomainMatchReason, SystemOneDomainMatchReport, SystemOneDomainMatchThresholds, SystemOneEvaluate, SystemOneEvaluatorOptions, type SystemOneJson, SystemOneJudgeOptions, SystemOneOptions, type SystemOneQuestion, type SystemOneQuestions, type SystemOneRecordedQuestion, type SystemOneRecordedQuestions, type SystemOneRecordedRequest, type SystemOneRequest, SystemOneResponseError, type SystemOneResult, type SystemOneResultProfile, SystemOneReviewAssessment, SystemOneReviewCheck, SystemOneReviewInput, SystemOneReviewReport, type SystemOneScoreCriteria, type SystemOneState, asAnalyst, asJudge, assessSystemOneDomainMatch, assessSystemOneReview, createEvaluator, decisionPoint, decisionQuestionDigest, normalizeSystemOneResult, normalizedSystemOneScore, parseSystemOneRecordedRequest, parseSystemOneRequest, parseSystemOneResult, prepareSystemOneDomainMatch, prepareSystemOneReview, systemOneAnalyst, systemOneChoiceMargin, systemOneConfidence, systemOneEvaluator, systemOneJudge, systemOneReviewFindings, systemOneUsage };
|
|
@@ -3,6 +3,7 @@ import { a as RunRecord, d as RunTokenUsage, s as RunSearchCoordinates } from ".
|
|
|
3
3
|
import { v as ProposalFinding } from "./types-Dtt11Ppr.js";
|
|
4
4
|
import { z as LlmCallMetadata } from "./cluster-CSd0LE_M.js";
|
|
5
5
|
import { wt as SeriesDistribution } from "./index-Bcy00QoN.js";
|
|
6
|
+
import { n as VerdictCertification } from "./verdict-D_qiBQ6_.js";
|
|
6
7
|
import { A as SearchLedgerHash, F as SearchNodeRegisteredEvent, G as SearchSplit, I as SearchNodeStatus, L as SearchOpenedEvent, N as SearchNodeDecision, O as SearchLedgerEntry, P as SearchNodeRef, Q as SearchTaskOutcome, R as SearchOperationKind, U as SearchReservation, Z as SearchTask, b as SearchClosedEvent, d as SearchCellCancelledEvent, i as SearchArtifactRef, l as SearchCandidateSurface, o as SearchAudit, p as SearchCellStage, t as NodeEstimate, w as SearchEdgeRecordedEvent, z as SearchOperationRecordedEvent } from "./search-ledger-types-qiYRUo_N.js";
|
|
7
8
|
import { y as LedgerProjector } from "./index-lRKqfyg4.js";
|
|
8
9
|
import { s as TraceStore } from "./store-CMs5wGXP.js";
|
|
@@ -498,6 +499,10 @@ interface JudgeScore {
|
|
|
498
499
|
dimensions: Record<string, number>;
|
|
499
500
|
composite: number;
|
|
500
501
|
notes: string;
|
|
502
|
+
/** Retained native measurements/provenance. Numeric projections do not replace this evidence. */
|
|
503
|
+
evidence?: Record<string, unknown>;
|
|
504
|
+
/** Executed verification strategy and checker identity, when provided by the scorer. */
|
|
505
|
+
certification?: VerdictCertification;
|
|
501
506
|
/** Provider metadata for display and diagnostics; accounting uses CostLedger receipts. */
|
|
502
507
|
llmCall?: LlmCallMetadata;
|
|
503
508
|
/** How the numbers in `dimensions` were produced. `'sampled'` reads the
|
|
@@ -1079,4 +1084,4 @@ interface CampaignResult<TArtifact = unknown, TScenario extends Scenario = Scena
|
|
|
1079
1084
|
scenarios: Array<CampaignScenarioIdentity & Pick<TScenario, 'id' | 'kind'>>;
|
|
1080
1085
|
}
|
|
1081
1086
|
export { MintRolloutResult as $, LabeledScenarioWrite as A, ScoredSurfaceOutcome as B, JudgeDimension as C, LabeledScenarioSampleArgs as D, LabeledScenarioRecord as E, ProposeContext as F, SearchProposerView as G, SurfaceProposer as H, ProposedCandidate as I, searchProposerView as J, SearchSummaryOptions as K, RedactionStatus as L, OptimizerConfig as M, ParetoParent as N, LabeledScenarioSource as O, ProposalTrackContext as P, MintRolloutOptions as Q, Scenario as R, JudgeConfig as S, LabelTrust as T, TraceSpan as U, SessionScript as V, isProposedCandidate as W, SearchStateView as X, SearchState as Y, searchUnitScores as Z, GateDecision as _, CampaignResult as a, SearchCompletion as at, GenerationRecord as b, CampaignTraceWriter as c, SearchOperation as ct, DispatchContext as d, SearchUnitScore as dt, RolloutScrubber as et, DispatchFn as f, searchCellId as ft, GateContribution as g, GateContext as h, CampaignCostMeter as i, SearchCell as it, MutableSurface as j, LabeledScenarioStore as k, CodeSurface as l, SearchScoredCell as lt, GateCheckStatus as m, searchTaskSetDigest as mt, CampaignArtifactWriter as n, mintRolloutRows as nt, CampaignScenarioIdentity as o, SearchDecisionRecord as ot, Gate as p, searchNodeId as pt, renderSearchSummary as q, CampaignCellResult as r, unmintableReasons as rt, CampaignTokenUsage as s, SearchNode as st, CampaignAggregates as t, RolloutSearchLineage as tt, ComponentSurface as u, SearchSpend as ut, GateResult as v, JudgeScore as w, JudgeAggregate as x, GenerationCandidate as y, ScenarioAggregate as z };
|
|
1082
|
-
//# sourceMappingURL=types-
|
|
1087
|
+
//# sourceMappingURL=types-BeJIREX-.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-BeJIREX-.d.ts","names":[],"sources":["../src/campaign/search-state-identity.ts","../src/campaign/search-state-types.ts","../src/campaign/search-state-indexes.ts","../src/rollout/mint.ts","../src/campaign/search-state-view.ts","../src/campaign/search-state-projection.ts","../src/campaign/search-summary.ts","../src/campaign/types.ts"],"mappings":";;;;;;;;;;;iBAOgB,aAAa,kBAAkB;;iBAK/B,aACd,kBACA,gBACA,gBACA,OAAO,aACP;;iBAMc,oBAAoB,gBAAgB,eAAe;UCHlD;EACf;EACA,UAAU;EACV,OAAO;EACP;EACA;;UAGe;EACf;EACA;EACA;EACA;;;;UAKe;EACf;EACA;EACA;EACA;;;UAIe;EACf;EACA;;EAEA;EACA;;UAGe;EACf;;EAEA;EACA,gBAAgB;EAChB,UAAU;EACV,mBAAmB;;;EAGnB;;EAEA;;;;EAIA,kBAAkB;EAClB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;;EAGA;;UAGe;EACf;;EAEA;;;;EAIA;EACA;IACE;IACA,SAAS,wBAAwB;IACjC;IACA;;;;;IAKA,WAAW;;;UAIE;EACf,QAAQ,OAAO,uBAAuB;EACtC,OAAO,MAAM,4BAA4B,QAAQ;EACjD,QAAQ;IACN;IACA;IACA,UAAU;;;IAGV,SAAS,OAAO;;;UAMH,mBAAmB;;EAElC,gBAAgB;;;EAGhB;EACA;;EAEA;IAAY;IAAsB;;EAClC;EACA;EACA;EACA,UAAU;EACV,aAAa,eAAe;;;EAG5B;;EAEA,gBAAgB;;EAEhB;;;EAGA,YAAY;;;EAGZ;;;EAGA;EACA;EACA;EACA;;;;EAIA;;EAEA;;EAEA;EACA;;UAGe;EACf;EACA;EACA;EACA;;;;;;EAMA,cAAc;;UAGC;EACf;EACA;EACA;;;EAGA,cAAc;;UAGC;EACf;EACA,YAAY;EACZ;;;;;;UAOe;EACf;;;;EAIA;;;;EAIA;;;;EAIA;IACE;IACA;IACA,iBAAiB;MAAQ;MAAgB;;;;;EAI3C,YAAY;;;;;;;;;;EAUZ,WAAW;IAAQ;IAAoB;IAAmB;IAAgB;;;;EAG1E;;;;EAIA;;;;EAIA,cAAc,SAAS;;UAGR;EACf,SAAS,eAAe;EACxB,YAAY,eAAe;;EAE3B,MAAM;;EAEN;EACA;EACA;;EAEA;;EAEA;;EAEA;;EAEA;;UAGe,eAAe,qBAAqB,kBAAkB,WAAW;;EAEhF;;EAEA;EACA;;EAEA;EACA;EACA;EACA;EACA,OAAO,MAAM,mBAAmB;EAChC,YAAY;EACZ;IACE,aAAa;IACb;;EAEF,OAAO;EACP;EACA;EACA,iBAAiB;;;EAGjB,WAAW,MAAM,2BAA2B,KAAK"}
|
|
@@ -1,5 +1,63 @@
|
|
|
1
1
|
import { c as RunSplitTag } from "./run-record-hti3ETmO.js";
|
|
2
|
-
import {
|
|
2
|
+
import { a as CheckerIdentity, n as VerdictCertification, x as VerificationStrategySource } from "./verdict-D_qiBQ6_.js";
|
|
3
|
+
import { R as Scenario, d as DispatchContext } from "./types-BeJIREX-.js";
|
|
4
|
+
/** A planned measurement contract. It is not evidence that its checker executed. */
|
|
5
|
+
interface BenchmarkDefinition {
|
|
6
|
+
schemaVersion: 1;
|
|
7
|
+
id: string;
|
|
8
|
+
source: BenchmarkSource & {
|
|
9
|
+
revision: string;
|
|
10
|
+
};
|
|
11
|
+
/** The exact roster, including an explicitly selected subset when applicable. */
|
|
12
|
+
taskIds: string[];
|
|
13
|
+
metric: {
|
|
14
|
+
name: string;
|
|
15
|
+
unit: string;
|
|
16
|
+
direction: 'higher' | 'lower';
|
|
17
|
+
/** Native aggregation rule; a description does not implement that rule. */
|
|
18
|
+
aggregation: string;
|
|
19
|
+
/** Native bounds, when the metric has them. Unbounded metrics omit this field. */
|
|
20
|
+
range?: [number, number];
|
|
21
|
+
/** Explicit policy/ref for projecting the native measurement into an Eval score in [0, 1]. */
|
|
22
|
+
normalization: string;
|
|
23
|
+
};
|
|
24
|
+
verification: {
|
|
25
|
+
strategy: VerificationStrategySource;
|
|
26
|
+
checker: CheckerIdentity;
|
|
27
|
+
assumptions: string[];
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
/** Synchronous validation for JSON play/manifests; reject lossy or unrecognized identity fields. */
|
|
31
|
+
declare function defineBenchmark(input: unknown): BenchmarkDefinition;
|
|
32
|
+
/** Uses the stack's canonical JSON owner; changing metric, roster or checker changes identity. */
|
|
33
|
+
declare function benchmarkDefinitionDigest(input: unknown): string;
|
|
34
|
+
/** A measured task result with the identities needed to join it to an accepted benchmark. */
|
|
35
|
+
interface BenchmarkResult {
|
|
36
|
+
schemaVersion: 1;
|
|
37
|
+
definitionDigest: string;
|
|
38
|
+
taskId: string;
|
|
39
|
+
/** Content digest of the produced artifact, supplied by its execution owner. */
|
|
40
|
+
artifactDigest: string;
|
|
41
|
+
evaluation: BenchmarkEvaluation & {
|
|
42
|
+
passed: boolean;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Validate retained JSON without executing a checker. With a definition, also bind the task,
|
|
47
|
+
* metric and claimed checker. Validation cannot authenticate an untrusted producer's attestation.
|
|
48
|
+
*/
|
|
49
|
+
declare function defineBenchmarkResult(input: unknown, definition?: BenchmarkDefinition): BenchmarkResult;
|
|
50
|
+
/** Bind identities and the complete measurement, excluding the certificate's own digest. */
|
|
51
|
+
declare function benchmarkResultEvidenceDigest(result: BenchmarkResult): string;
|
|
52
|
+
/** Wrap an already executed evaluation; never invent a certification from a planned definition. */
|
|
53
|
+
declare function benchmarkResult(input: {
|
|
54
|
+
definition: BenchmarkDefinition;
|
|
55
|
+
taskId: string;
|
|
56
|
+
artifactDigest: string;
|
|
57
|
+
evaluation: BenchmarkEvaluation & {
|
|
58
|
+
passed: boolean;
|
|
59
|
+
};
|
|
60
|
+
}): BenchmarkResult;
|
|
3
61
|
type BenchmarkTaskKind = 'retrieval' | 'rag-answer' | 'hallucination' | 'kb-improvement' | 'routing' | 'custom';
|
|
4
62
|
type BenchmarkFamily = 'beir' | 'mteb-retrieval' | 'msmarco' | 'trec-dl' | 'miracl' | 'lotte' | 'bright' | 'crag' | 'hotpotqa' | 'kilt' | 'ragtruth' | 'faithbench' | 'first-party' | 'custom';
|
|
5
63
|
interface BenchmarkDatasetItem<TPayload = unknown> {
|
|
@@ -32,6 +90,8 @@ interface BenchmarkEvaluation {
|
|
|
32
90
|
/** Optional bag of raw scoring signals — e.g. parsed numeric
|
|
33
91
|
* answer, regex match, judge sub-scores. */
|
|
34
92
|
raw: Record<string, unknown>;
|
|
93
|
+
/** Executed checker evidence, distinct from a planned definition's verification identity. */
|
|
94
|
+
certification?: VerdictCertification;
|
|
35
95
|
notes?: string;
|
|
36
96
|
}
|
|
37
97
|
interface BenchmarkSource {
|
|
@@ -59,6 +119,10 @@ interface BenchmarkAdapter<_TItem = unknown, TPayload = unknown, TArtifact = str
|
|
|
59
119
|
description?: string;
|
|
60
120
|
source?: BenchmarkSource;
|
|
61
121
|
defaultMetric?: string;
|
|
122
|
+
/** Optional frozen measurement contract for a native or caller-owned benchmark. */
|
|
123
|
+
definition?: BenchmarkDefinition;
|
|
124
|
+
/** Exact adapter/checker/projection implementation identity, included in resumable campaigns. */
|
|
125
|
+
evaluationRef?: string;
|
|
62
126
|
/** Load the dataset for the given split. May hit the network on
|
|
63
127
|
* first call but should be cache-friendly. Adapters that don't
|
|
64
128
|
* ship the dataset itself MUST throw a clearly-marked error
|
|
@@ -66,6 +130,8 @@ interface BenchmarkAdapter<_TItem = unknown, TPayload = unknown, TArtifact = str
|
|
|
66
130
|
loadDataset(split: RunSplitTag): Promise<BenchmarkDatasetItem<TPayload>[]>;
|
|
67
131
|
/** Score a single response. Pure with respect to the inputs. */
|
|
68
132
|
evaluate(item: BenchmarkDatasetItem<TPayload>, artifact: TArtifact): Promise<BenchmarkEvaluation>;
|
|
133
|
+
/** Optional identity-bound receipt, retained by the runner without executing the checker twice. */
|
|
134
|
+
evaluateResult?(item: BenchmarkDatasetItem<TPayload>, artifact: TArtifact): Promise<BenchmarkResult>;
|
|
69
135
|
/** Deterministic split assignment via item id hashing. The
|
|
70
136
|
* fraction of items in each split is implementation-defined but
|
|
71
137
|
* MUST be stable across processes and platforms. */
|
|
@@ -97,5 +163,5 @@ declare const BENCHMARK_SPLIT_SEED = "agent-eval-v1";
|
|
|
97
163
|
* holdout:20% (paper-grade held-out, gated reads)
|
|
98
164
|
*/
|
|
99
165
|
declare function deterministicSplit(itemId: string, seed?: string, cuts?: readonly [number, number]): RunSplitTag;
|
|
100
|
-
export { BenchmarkFamily as a, BenchmarkSource as c, BenchmarkEvaluation as i, BenchmarkTaskKind as l, BenchmarkAdapter as n, BenchmarkResponder as o, BenchmarkDatasetItem as r, BenchmarkScenario as s, BENCHMARK_SPLIT_SEED as t, deterministicSplit as u };
|
|
101
|
-
//# sourceMappingURL=types-
|
|
166
|
+
export { defineBenchmark as _, BenchmarkFamily as a, BenchmarkSource as c, BenchmarkResult as d, benchmarkResult as f, benchmarkDefinitionDigest as g, BenchmarkDefinition as h, BenchmarkEvaluation as i, BenchmarkTaskKind as l, defineBenchmarkResult as m, BenchmarkAdapter as n, BenchmarkResponder as o, benchmarkResultEvidenceDigest as p, BenchmarkDatasetItem as r, BenchmarkScenario as s, BENCHMARK_SPLIT_SEED as t, deterministicSplit as u };
|
|
167
|
+
//# sourceMappingURL=types-ff0YYJnj.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-ff0YYJnj.d.ts","names":[],"sources":["../src/benchmarks/definition.ts","../src/benchmarks/result.ts","../src/benchmarks/types.ts"],"mappings":";;;;UAQiB;EACf;EACA;EACA,QAAQ;IAAoB;;;EAE5B;EACA;IACE;IACA;IACA;;IAEA;;IAEA;;IAEA;;EAEF;IACE,UAAU;IACV,SAAS;IACT;;;;iBA4DY,gBAAgB,iBAAiB;;iBAMjC,0BAA0B;;UCtFzB;EACf;EACA;EACA;;EAEA;EACA,YAAY;IAAwB;;;;;;;iBA2CtB,sBACd,gBACA,aAAa,sBACZ;;iBA+Ba,8BAA8B,QAAQ;;iBAWtC,gBAAgB;EAC9B,YAAY;EACZ;EACA;EACA,YAAY;IAAwB;;IAClC;KC/FQ;KAQA;UAgBK,qBAAqB;;;EAGpC;;EAEA,SAAS;;EAET,QAAQ;;EAER,SAAS;;EAET,WAAW;;EAEX;;EAEA,SAAS;EACT,WAAW;;UAGI;;;;EAIf;;EAEA;;EAEA,aAAa;;;EAGb,KAAK;;EAEL,gBAAgB;EAChB;;UAGe;EACf;EACA;EACA;;EAEA;EACA;EACA;;EAEA;;;;;EAKA;;;UAQe,iBAAiB,kBAAkB,oBAAoB;;EAEtE;EACA,SAAS;EACT,WAAW;EACX;EACA,SAAS;EACT;;EAEA,aAAa;;EAEb;;;;;EAKA,YAAY,OAAO,cAAc,QAAQ,qBAAqB;;EAE9D,SAAS,MAAM,qBAAqB,WAAW,UAAU,YAAY,QAAQ;;EAE7E,gBACE,MAAM,qBAAqB,WAC3B,UAAU,YACT,QAAQ;;;;EAIX,YAAY,iBAAiB;;UAGd,kBAAkB,4BAA4B;EAC7D;EACA;EACA,QAAQ;EACR,UAAU;EACV,UAAU;EACV,MAAM,qBAAqB;;KAGjB,mBAAmB,oBAAoB,uBAAuB;EACxE,UAAU,kBAAkB;EAC5B,MAAM,qBAAqB;EAC3B,SAAS;MACL,QAAQ,aAAa;;;cAoBd;;;;;;;;;;iBAWG,mBACd,gBACA,eACA,mCACC"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
// src/verification-strategy.ts
|
|
2
|
+
/**
|
|
3
|
+
* The family registry. `Record` over the union keeps it exhaustive: adding
|
|
4
|
+
* a member to `VerificationStrategySource` without a profile here fails to
|
|
5
|
+
* compile. The failure mode travels with the taxonomy so a reader of a
|
|
6
|
+
* certification can surface it without this package's docs at hand.
|
|
7
|
+
*/
|
|
8
|
+
const VERIFICATION_STRATEGIES = {
|
|
9
|
+
compile: {
|
|
10
|
+
determinism: "deterministic",
|
|
11
|
+
failureMode: "code that compiles is not code that is correct"
|
|
12
|
+
},
|
|
13
|
+
test: {
|
|
14
|
+
determinism: "deterministic",
|
|
15
|
+
failureMode: "assumes an answer key; certifies nothing outside suite coverage, and a stubbed integration reports green"
|
|
16
|
+
},
|
|
17
|
+
schema: {
|
|
18
|
+
determinism: "deterministic",
|
|
19
|
+
failureMode: "shape is not meaning; a well-formed wrong answer passes"
|
|
20
|
+
},
|
|
21
|
+
sandbox: {
|
|
22
|
+
determinism: "deterministic",
|
|
23
|
+
failureMode: "an exit code compresses the run to one bit; a faked success exits 0"
|
|
24
|
+
},
|
|
25
|
+
judge: {
|
|
26
|
+
determinism: "probabilistic",
|
|
27
|
+
failureMode: "drifts across model versions and is Goodhart-gameable by the graded policy"
|
|
28
|
+
},
|
|
29
|
+
composite: {
|
|
30
|
+
determinism: "inherited",
|
|
31
|
+
failureMode: "scalar collapse: the blend hides which member carried the score"
|
|
32
|
+
},
|
|
33
|
+
"proof-kernel": {
|
|
34
|
+
determinism: "deterministic",
|
|
35
|
+
failureMode: "the formalization gap: the kernel certifies the formal statement, never that it matches the informal claim"
|
|
36
|
+
},
|
|
37
|
+
invariant: {
|
|
38
|
+
determinism: "deterministic",
|
|
39
|
+
failureMode: "weak invariants pass everything; a set uncalibrated by seeded bugs is a rubber stamp"
|
|
40
|
+
},
|
|
41
|
+
replication: {
|
|
42
|
+
determinism: "deterministic",
|
|
43
|
+
failureMode: "re-runs the method, so it catches drift and nondeterminism, never an error the method itself carries"
|
|
44
|
+
},
|
|
45
|
+
agreement: {
|
|
46
|
+
determinism: "probabilistic",
|
|
47
|
+
failureMode: "the shared blind spot: derivers with common corpora or priors agree for the same wrong reason"
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
/** Every family member, derived from the registry so it cannot drift. */
|
|
51
|
+
const VERIFICATION_STRATEGY_SOURCES = Object.keys(VERIFICATION_STRATEGIES);
|
|
52
|
+
/** A refused equivalence check. `code` names the exact refusal for programmatic handling. */
|
|
53
|
+
var EquivalenceProtocolError = class extends Error {
|
|
54
|
+
code;
|
|
55
|
+
constructor(code, message) {
|
|
56
|
+
super(message);
|
|
57
|
+
this.name = "EquivalenceProtocolError";
|
|
58
|
+
this.code = code;
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Validate and freeze a two-arm blind equivalence check spec.
|
|
63
|
+
*
|
|
64
|
+
* The literal types already refuse a wide design at compile time; the
|
|
65
|
+
* runtime checks hold the same line for untyped callers. There is no
|
|
66
|
+
* escape hatch: `arms: 3` or `blind: false` throws, never downgrades.
|
|
67
|
+
*/
|
|
68
|
+
function defineEquivalenceCheck(spec) {
|
|
69
|
+
if (spec.arms !== 2) throw new EquivalenceProtocolError("arm-count", `equivalence check requires exactly 2 arms, received ${String(spec.arms)}`);
|
|
70
|
+
if (spec.blind !== true) throw new EquivalenceProtocolError("not-blind", "equivalence check requires blind: true — a non-blind run is not a weaker check, it is no check");
|
|
71
|
+
if (typeof spec.artifact !== "string" || spec.artifact.trim() === "") throw new EquivalenceProtocolError("empty-field", "spec.artifact must identify the claim under verification");
|
|
72
|
+
if (!VERIFICATION_STRATEGY_SOURCES.includes(spec.source)) throw new EquivalenceProtocolError("unknown-source", `spec.source '${String(spec.source)}' is not a verification-strategy member`);
|
|
73
|
+
return Object.freeze({ spec: Object.freeze({ ...spec }) });
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Assemble the equivalence record, refusing every asymmetry.
|
|
77
|
+
*
|
|
78
|
+
* Refusals (each throws `EquivalenceProtocolError`):
|
|
79
|
+
* - an arm whose `blindness.toOtherArms` is false — it saw the other
|
|
80
|
+
* statement, so nothing was independently derived;
|
|
81
|
+
* - an arm whose `blindness.toOutcome` is false — it could steer its
|
|
82
|
+
* statement toward (or away from) the known result;
|
|
83
|
+
* - duplicate arm ids, empty statements, empty derivations;
|
|
84
|
+
* - an obligation whose fields contradict its status (see
|
|
85
|
+
* `EquivalenceObligation`).
|
|
86
|
+
*/
|
|
87
|
+
function buildEquivalenceRecord(definition, arms, obligation) {
|
|
88
|
+
assertArms(arms);
|
|
89
|
+
assertObligation(obligation);
|
|
90
|
+
return Object.freeze({
|
|
91
|
+
spec: definition.spec,
|
|
92
|
+
arms: Object.freeze([Object.freeze({ ...arms[0] }), Object.freeze({ ...arms[1] })]),
|
|
93
|
+
obligation: Object.freeze({ ...obligation })
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Discharge the obligation through an injected checker and return the
|
|
98
|
+
* record.
|
|
99
|
+
*
|
|
100
|
+
* Order matters: every arm refusal fires BEFORE the checker runs — an
|
|
101
|
+
* invalid check must not spend. A checker whose `strategy` differs from
|
|
102
|
+
* `spec.source` is refused for the same reason: a judge cannot silently
|
|
103
|
+
* discharge a proof-kernel obligation.
|
|
104
|
+
*
|
|
105
|
+
* A checker failure (`succeeded: false`) is not thrown: it becomes an
|
|
106
|
+
* `'unresolved'` obligation carrying the full error text, which is the
|
|
107
|
+
* honest record of an undischarged check.
|
|
108
|
+
*/
|
|
109
|
+
async function runEquivalenceCheck(definition, arms, checker) {
|
|
110
|
+
assertArms(arms);
|
|
111
|
+
if (checker.strategy !== definition.spec.source) throw new EquivalenceProtocolError("checker-strategy-mismatch", `spec.source is '${definition.spec.source}' but the bound checker declares '${checker.strategy}'`);
|
|
112
|
+
const outcome = await checker.check({
|
|
113
|
+
artifact: definition.spec.artifact,
|
|
114
|
+
statements: [arms[0].statement, arms[1].statement]
|
|
115
|
+
});
|
|
116
|
+
if (!outcome.succeeded) return buildEquivalenceRecord(definition, arms, {
|
|
117
|
+
status: "unresolved",
|
|
118
|
+
unresolvedReason: outcome.error,
|
|
119
|
+
checker: checker.identity
|
|
120
|
+
});
|
|
121
|
+
const { status, separatingWitness, evidenceDigest } = outcome.value;
|
|
122
|
+
return buildEquivalenceRecord(definition, arms, {
|
|
123
|
+
status,
|
|
124
|
+
...separatingWitness === void 0 ? {} : { separatingWitness },
|
|
125
|
+
checker: checker.identity,
|
|
126
|
+
evidenceDigest
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
function assertArms(arms) {
|
|
130
|
+
if (arms.length !== 2) throw new EquivalenceProtocolError("arm-count", `equivalence record requires exactly 2 arms, received ${arms.length}`);
|
|
131
|
+
if (arms[0].armId === arms[1].armId) throw new EquivalenceProtocolError("duplicate-arm-id", `both arms declare armId '${arms[0].armId}' — two labels for one derivation is one arm`);
|
|
132
|
+
for (const arm of arms) {
|
|
133
|
+
if (arm.statement.trim() === "") throw new EquivalenceProtocolError("empty-field", `arm '${arm.armId}' committed an empty statement`);
|
|
134
|
+
if (arm.derivedFrom.trim() === "") throw new EquivalenceProtocolError("empty-field", `arm '${arm.armId}' declares no derivation provenance`);
|
|
135
|
+
if (arm.blindness.toOtherArms !== true) throw new EquivalenceProtocolError("arm-saw-other", `arm '${arm.armId}' saw another arm's statement — the derivation is not independent and the check is invalid`);
|
|
136
|
+
if (arm.blindness.toOutcome !== true) throw new EquivalenceProtocolError("arm-saw-outcome", `arm '${arm.armId}' saw the outcome before committing — the check is invalid`);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
function assertObligation(obligation) {
|
|
140
|
+
const { status, separatingWitness, unresolvedReason, evidenceDigest } = obligation;
|
|
141
|
+
if (status === "refuted-with-separating-witness") {
|
|
142
|
+
if (typeof separatingWitness !== "string" || separatingWitness.trim() === "") throw new EquivalenceProtocolError("witness-missing", "a refuted equivalence must carry the separating witness — a refutation without one is an assertion");
|
|
143
|
+
if (typeof evidenceDigest !== "string" || evidenceDigest.trim() === "") throw new EquivalenceProtocolError("evidence-missing", "a refuted equivalence must carry its evidence digest");
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
if (status === "proved") {
|
|
147
|
+
if (separatingWitness !== void 0) throw new EquivalenceProtocolError("witness-on-proved", "a proved equivalence cannot carry a separating witness — the two claims contradict");
|
|
148
|
+
if (typeof evidenceDigest !== "string" || evidenceDigest.trim() === "") throw new EquivalenceProtocolError("evidence-missing", "a proved equivalence must carry its evidence digest");
|
|
149
|
+
return;
|
|
150
|
+
}
|
|
151
|
+
if (separatingWitness !== void 0) throw new EquivalenceProtocolError("witness-on-unresolved", "an unresolved obligation cannot carry a separating witness — a witness in hand is a refutation");
|
|
152
|
+
if (typeof unresolvedReason !== "string" || unresolvedReason.trim() === "") throw new EquivalenceProtocolError("reason-missing", "an unresolved obligation must say why — 'unresolved' with no reason erases the diagnostic");
|
|
153
|
+
}
|
|
154
|
+
export { runEquivalenceCheck as a, defineEquivalenceCheck as i, VERIFICATION_STRATEGIES as n, VERIFICATION_STRATEGY_SOURCES as r, EquivalenceProtocolError as t };
|
|
155
|
+
|
|
156
|
+
//# sourceMappingURL=verification-strategy-CYhDX1rE.js.map
|