@remnic/bench 9.69.35 → 9.69.36

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.
@@ -308,6 +308,84 @@ function isWhitespace(char) {
308
308
  return char === " " || char === " " || char === "\n" || char === "\r";
309
309
  }
310
310
 
311
+ // src/integrity/canary-adapter.ts
312
+ import process2 from "process";
313
+ var CANARY_FIXED_RECALL = "__remnic_canary_response__";
314
+ var CANARY_SCORE_FLOOR = 0.1;
315
+ function parseCanaryFloor(value, label = "canary floor") {
316
+ if (typeof value !== "number" || !Number.isFinite(value) || value < 0) {
317
+ throw new Error(`Invalid ${label}: ${String(value)}`);
318
+ }
319
+ return value;
320
+ }
321
+ function resolveCanaryFloorFromEnv(raw = process2.env.REMNIC_BENCH_CANARY_FLOOR) {
322
+ if (raw === void 0) {
323
+ return CANARY_SCORE_FLOOR;
324
+ }
325
+ if (raw === "") {
326
+ throw new Error(`Invalid REMNIC_BENCH_CANARY_FLOOR: ${raw}`);
327
+ }
328
+ try {
329
+ return parseCanaryFloor(Number(raw), "REMNIC_BENCH_CANARY_FLOOR");
330
+ } catch {
331
+ throw new Error(`Invalid REMNIC_BENCH_CANARY_FLOOR: ${raw}`);
332
+ }
333
+ }
334
+ function resolveEffectiveCanaryFloor(preset = void 0, envRaw = process2.env.REMNIC_BENCH_CANARY_FLOOR) {
335
+ if (preset !== void 0) {
336
+ return parseCanaryFloor(preset);
337
+ }
338
+ return resolveCanaryFloorFromEnv(envRaw);
339
+ }
340
+ function createCanaryAdapter(options = {}) {
341
+ const response = options.response ?? CANARY_FIXED_RECALL;
342
+ const emptySearch = options.emptySearch ?? false;
343
+ return {
344
+ async store(_sessionId, _messages) {
345
+ },
346
+ async recall(_sessionId, _query, _budgetChars) {
347
+ return response;
348
+ },
349
+ async search(_query, _limit, _sessionId) {
350
+ if (emptySearch) {
351
+ return [];
352
+ }
353
+ return [
354
+ {
355
+ turnIndex: 0,
356
+ role: "assistant",
357
+ snippet: response,
358
+ sessionId: "__canary__",
359
+ score: 0
360
+ }
361
+ ];
362
+ },
363
+ async reset(_sessionId) {
364
+ },
365
+ async getStats(_sessionId) {
366
+ return {
367
+ totalMessages: 0,
368
+ totalSummaryNodes: 0,
369
+ maxDepth: 0
370
+ };
371
+ },
372
+ async destroy() {
373
+ }
374
+ };
375
+ }
376
+ function assertCanaryUnderFloor(benchmark, score, floor = CANARY_SCORE_FLOOR) {
377
+ const validatedFloor = parseCanaryFloor(floor);
378
+ if (!Number.isFinite(score)) {
379
+ return { benchmark, score, floor: validatedFloor, passed: false };
380
+ }
381
+ return {
382
+ benchmark,
383
+ score,
384
+ floor: validatedFloor,
385
+ passed: score <= validatedFloor
386
+ };
387
+ }
388
+
311
389
  // src/run-identity.ts
312
390
  var BENCHMARK_RUN_ID_ENV = "REMNIC_BENCH_RUN_ID";
313
391
  var generatedBenchmarkRunId;
@@ -532,13 +610,18 @@ function replaceLoneSurrogates(value) {
532
610
  return out;
533
611
  }
534
612
  async function writeBenchmarkResult(result, outputDir) {
613
+ const canaryFloor = resolveEffectiveCanaryFloor(result.meta.canaryFloor);
535
614
  const outputRoot = path3.resolve(outputDir);
536
615
  await mkdir2(outputRoot, { recursive: true });
537
- const safeBenchmark = sanitizeFilenameSegment(result.meta.benchmark);
538
- const safeRemnicVersion = sanitizeFilenameSegment(result.meta.remnicVersion);
539
- const timestamp = sanitizeFilenameSegment(result.meta.timestamp.replace(/[:.]/g, "-"));
616
+ const stamped = {
617
+ ...result,
618
+ meta: { ...result.meta, canaryFloor }
619
+ };
620
+ const safeBenchmark = sanitizeFilenameSegment(stamped.meta.benchmark);
621
+ const safeRemnicVersion = sanitizeFilenameSegment(stamped.meta.remnicVersion);
622
+ const timestamp = sanitizeFilenameSegment(stamped.meta.timestamp.replace(/[:.]/g, "-"));
540
623
  const filePath = resolveContainedPath(outputRoot, `${safeBenchmark}-v${safeRemnicVersion}-${timestamp}.json`);
541
- const publicBaseResult = sanitizeBenchmarkResultForJson(redactBenchmarkResultSecrets(result));
624
+ const publicBaseResult = sanitizeBenchmarkResultForJson(redactBenchmarkResultSecrets(stamped));
542
625
  const leaderboardArtifacts = await writeLeaderboardArtifactsForResult(publicBaseResult, outputRoot).catch(
543
626
  (error) => [
544
627
  {
@@ -1834,7 +1917,8 @@ var BENCHMARK_INTEGRITY_META_SCHEMA = {
1834
1917
  qrelsSealedHash: { type: "string", pattern: "^[0-9a-f]{64}$" },
1835
1918
  judgePromptHash: { type: "string", pattern: "^[0-9a-f]{64}$" },
1836
1919
  datasetHash: { type: "string", pattern: "^[0-9a-f]{64}$" },
1837
- canaryScore: { type: "number" }
1920
+ canaryScore: { type: "number" },
1921
+ canaryFloor: { type: "number", minimum: 0 }
1838
1922
  }
1839
1923
  };
1840
1924
  function integrityMetaIsComplete(value) {
@@ -1851,6 +1935,9 @@ function integrityMetaIsComplete(value) {
1851
1935
  if (candidate.canaryScore !== void 0 && (typeof candidate.canaryScore !== "number" || !Number.isFinite(candidate.canaryScore))) {
1852
1936
  return false;
1853
1937
  }
1938
+ if (candidate.canaryFloor !== void 0 && (typeof candidate.canaryFloor !== "number" || !Number.isFinite(candidate.canaryFloor) || candidate.canaryFloor < 0)) {
1939
+ return false;
1940
+ }
1854
1941
  return true;
1855
1942
  }
1856
1943
  function assertIntegrityMetaPresent(value) {
@@ -1876,6 +1963,9 @@ function assertIntegrityMetaPresent(value) {
1876
1963
  if (candidate.canaryScore !== void 0 && (typeof candidate.canaryScore !== "number" || !Number.isFinite(candidate.canaryScore))) {
1877
1964
  missing.push("canaryScore");
1878
1965
  }
1966
+ if (candidate.canaryFloor !== void 0 && (typeof candidate.canaryFloor !== "number" || !Number.isFinite(candidate.canaryFloor) || candidate.canaryFloor < 0)) {
1967
+ missing.push("canaryFloor");
1968
+ }
1879
1969
  if (missing.length > 0) {
1880
1970
  throw new Error(
1881
1971
  `Result integrity metadata is incomplete or malformed: ${missing.join(", ")}`
@@ -2968,7 +3058,8 @@ function toPublishedBenchmarkFeedEntry(result, provenance) {
2968
3058
  qrelsSealedHash: result.meta.qrelsSealedHash,
2969
3059
  judgePromptHash: result.meta.judgePromptHash,
2970
3060
  datasetHash: result.meta.datasetHash,
2971
- ...result.meta.canaryScore !== void 0 ? { canaryScore: result.meta.canaryScore } : {}
3061
+ ...result.meta.canaryScore !== void 0 ? { canaryScore: result.meta.canaryScore } : {},
3062
+ ...result.meta.canaryFloor !== void 0 ? { canaryFloor: result.meta.canaryFloor } : {}
2972
3063
  }
2973
3064
  };
2974
3065
  }
@@ -16726,6 +16817,13 @@ export {
16726
16817
  buildAmaBenchLeaderboardRows,
16727
16818
  serializeJsonl,
16728
16819
  isSecretKey,
16820
+ CANARY_FIXED_RECALL,
16821
+ CANARY_SCORE_FLOOR,
16822
+ parseCanaryFloor,
16823
+ resolveCanaryFloorFromEnv,
16824
+ resolveEffectiveCanaryFloor,
16825
+ createCanaryAdapter,
16826
+ assertCanaryUnderFloor,
16729
16827
  redactBenchmarkResultSecrets,
16730
16828
  sanitizeBenchmarkResultForJson,
16731
16829
  writeBenchmarkResult,
package/dist/index.d.ts CHANGED
@@ -362,6 +362,13 @@ interface BenchmarkIntegrityMeta {
362
362
  * Omitted only during the canary's own run.
363
363
  */
364
364
  canaryScore?: number;
365
+ /**
366
+ * Effective canary floor that gated `canaryScore` (custom
367
+ * `REMNIC_BENCH_CANARY_FLOOR` or the canonical default), persisted by
368
+ * `writeBenchmarkResult`. Readers apply it without the env so a custom
369
+ * floor survives restarts.
370
+ */
371
+ canaryFloor?: number;
365
372
  }
366
373
  declare const INTEGRITY_META_FIELDS: readonly ["splitType", "qrelsSealedHash", "judgePromptHash", "datasetHash"];
367
374
  declare const BENCHMARK_INTEGRITY_META_SCHEMA: {
@@ -387,6 +394,10 @@ declare const BENCHMARK_INTEGRITY_META_SCHEMA: {
387
394
  readonly canaryScore: {
388
395
  readonly type: "number";
389
396
  };
397
+ readonly canaryFloor: {
398
+ readonly type: "number";
399
+ readonly minimum: 0;
400
+ };
390
401
  };
391
402
  };
392
403
  declare function integrityMetaIsComplete(value: unknown): value is BenchmarkIntegrityMeta;
@@ -576,9 +587,10 @@ interface BenchmarkResult {
576
587
  */
577
588
  canaryScore?: number;
578
589
  /**
579
- * Canary floor in force when this result was produced. Artifacts written
580
- * under a custom floor persist it here so tooling badges against the
581
- * gate that actually ran; absent means `CANARY_SCORE_FLOOR` applied.
590
+ * Effective canary floor (validated `REMNIC_BENCH_CANARY_FLOOR` or the
591
+ * canonical default) that gated `canaryScore`. Persisted by
592
+ * `writeBenchmarkResult` so readers judge the score against the
593
+ * producing run's floor without the environment variable.
582
594
  */
583
595
  canaryFloor?: number;
584
596
  /** "partial" if the benchmark was interrupted; absent or "complete" otherwise. */
@@ -1636,6 +1648,10 @@ declare const BENCHMARK_RESULT_SCHEMA: {
1636
1648
  readonly canaryScore: {
1637
1649
  readonly type: "number";
1638
1650
  };
1651
+ readonly canaryFloor: {
1652
+ readonly type: "number";
1653
+ readonly minimum: 0;
1654
+ };
1639
1655
  };
1640
1656
  };
1641
1657
  readonly config: {
@@ -3914,6 +3930,8 @@ interface PublishedBenchmarkFeedEntry {
3914
3930
  judgePromptHash: string;
3915
3931
  datasetHash: string;
3916
3932
  canaryScore?: number;
3933
+ /** Effective canary floor persisted with the result (see meta.canaryFloor). */
3934
+ canaryFloor?: number;
3917
3935
  };
3918
3936
  }
3919
3937
  interface BuildBenchmarkPublishFeedOptions {
@@ -4352,6 +4370,23 @@ declare function serializeSealedQrels(artifact: SealedQrelsArtifact): string;
4352
4370
  declare const CANARY_FIXED_RECALL = "__remnic_canary_response__";
4353
4371
  /** The score floor the canary must NOT exceed for any benchmark. */
4354
4372
  declare const CANARY_SCORE_FLOOR = 0.1;
4373
+ /**
4374
+ * Accept a finite canary floor >= 0. Reject NaN, infinities, negatives,
4375
+ * and non-numbers. Callers treat absence separately so a malformed
4376
+ * present value is never rewritten to the default.
4377
+ */
4378
+ declare function parseCanaryFloor(value: unknown, label?: string): number;
4379
+ /**
4380
+ * Effective canary floor for this process: a validated
4381
+ * `REMNIC_BENCH_CANARY_FLOOR` override, else the canonical default.
4382
+ * An explicitly empty override is invalid, not absent.
4383
+ */
4384
+ declare function resolveCanaryFloorFromEnv(raw?: string | undefined): number;
4385
+ /**
4386
+ * Producer/audit precedence: a present preset must be a valid floor;
4387
+ * otherwise fall through to the env parser (absent env → 0.1).
4388
+ */
4389
+ declare function resolveEffectiveCanaryFloor(preset?: unknown, envRaw?: string | undefined): number;
4355
4390
  interface CanaryAdapterOptions {
4356
4391
  /**
4357
4392
  * Override the response string used by `recall`. Useful for running two
@@ -9838,4 +9873,4 @@ declare function pickOne<T>(rng: SeededRandom, items: readonly T[]): T;
9838
9873
  /** Deterministic Fisher-Yates shuffle returning a new array. */
9839
9874
  declare function shuffled<T>(rng: SeededRandom, items: readonly T[]): T[];
9840
9875
 
9841
- export { AMA_BENCH_DIAGNOSTIC_VARIANTS, ASSISTANT_AGENT_CONFIG_KEY, ASSISTANT_JUDGE_CONFIG_KEY, ASSISTANT_MEETING_PREP_SCENARIOS, ASSISTANT_MEETING_PREP_SMOKE_SCENARIOS, ASSISTANT_MORNING_BRIEF_SCENARIOS, ASSISTANT_MORNING_BRIEF_SMOKE_SCENARIOS, ASSISTANT_NEXT_BEST_ACTION_SCENARIOS, ASSISTANT_NEXT_BEST_ACTION_SMOKE_SCENARIOS, ASSISTANT_RUBRIC_DIMENSIONS, ASSISTANT_RUBRIC_ID_KEY, ASSISTANT_SEEDS_CONFIG_KEY, ASSISTANT_SPOT_CHECK_DIR_KEY, ASSISTANT_SYNTHESIS_SCENARIOS, ASSISTANT_SYNTHESIS_SMOKE_SCENARIOS, type AblationConfigOverrides, type AbstentionRetrievalCase, type ActionIntentV1, ActionIntentV1Schema, type AggregateMetrics, type AmaBenchDiagnosticAdapterOptions, type AmaBenchDiagnosticAnswererMode, type AmaBenchDiagnosticBreakdown, type AmaBenchDiagnosticMatrixArtifact, type AmaBenchDiagnosticRecallMode, type AmaBenchDiagnosticRunContext, type AmaBenchDiagnosticTaskEvidence, type AmaBenchDiagnosticTaskRow, type AmaBenchDiagnosticVariant, type AmaBenchDiagnosticVariantSummary, type AnalyzeRepeatedFailureOptions, type AnthropicProviderConfig, type AssistantAgent, type AssistantMemoryFact, type AssistantMemoryGraph, type AssistantRubricDimension, type AssistantRubricRequest, type AssistantRubricScores, type AssistantRunnerOptions, type AssistantScenario, type AssistantStance, type AttackRecallOptions, type AttackRetrievalHit, type AttackerMode, type AttributeOptions, type AttributionClass, type AttributionEnvironment, type AttributionLabel, type AttributionMemory, type AttributionReport, BENCHMARK_ARTIFACT_SCHEMA_VERSION, BENCHMARK_INTEGRITY_META_SCHEMA, BENCHMARK_REPRO_MANIFEST_FILENAME, BENCHMARK_REPRO_MANIFEST_SCHEMA_VERSION, BENCHMARK_RESULT_SCHEMA, BENCHMARK_SPLIT_TYPES, BUILD_WEEK_EVIDENCE_RECEIPT_SCHEMA_VERSION, BUILD_WEEK_LIMITATIONS, type BaseTask, BaseTaskSchema, type BaselineRow, type BaselineScenario, type BeamDatasetPreview, type BenchAggregateMetric, type BenchAssistantTaskDetails, type BenchConfig, type BenchIntegritySplit, type BenchIntegritySummary, type BenchJudge, type BenchJudgeResult, type BenchMemoryAdapter, type BenchMetricHighlight, type BenchModelSource, type BenchPerSeedScore, type BenchReasoningEffort, type BenchRecallLineageStatus, type BenchRecallOptions, type BenchRecallSupportAssessment, type BenchRecallSupportRequest, type BenchRecallSupportStatus, type BenchRecallTrace, type BenchRecallTraceCoreCapture, type BenchRecallTraceLcmCandidate, type BenchRecallTraceRange, type BenchRecallTraceSection, type BenchRecallTraceSelection, type BenchRecallWithTraceResult, type BenchResponder, type BenchResponse, type BenchResultFileWarning, type BenchResultSummary, type BenchResultSummaryPayload, type BenchRuntimeProfile, type BenchTaskScoreEntry, type BenchTaskSummary, type BenchTier, type BenchmarkArtifact, type BenchmarkArtifactEnvironment, type BenchmarkArtifactHardware, type BenchmarkArtifactJudgeCalibration, type BenchmarkArtifactPerTaskScore, type BenchmarkArtifactSystem, type BenchmarkArtifactTier, type BenchmarkCategory, type BenchmarkDefinition, type BenchmarkExecutionProvenance, type BenchmarkIntegrityMeta, type BenchmarkMeta, type BenchmarkMode, type BenchmarkReport, type BenchmarkReproManifest, type BenchmarkReproManifestDataset, type BenchmarkReproManifestFile, type BenchmarkReproManifestResult, type BenchmarkReproManifestSupplementalArtifact, type BenchmarkResult, type BenchmarkSplitType, type BenchmarkStatus, type BenchmarkSuiteResult, type BenchmarkTier, type BootstrapKappaOptions, type BootstrapKappaResult, type BuildBenchmarkArtifactInput, type BuildBenchmarkPublishFeedOptions, type BuildBenchmarkReproManifestOptions, type BuildBuildWeekEvidenceReceiptOptions, type BuildWeekEvidenceReceipt, type BuildWeekEvidenceReceiptProvider, type BuildWeekLimitationCode, type BuiltInProvider, CALIBRATION_SLICE_SIZE, CANARY_FIXED_RECALL, CANARY_SCORE_FLOOR, DEFAULT_10K_FIXTURE as CODING_GRAPH_10K_FIXTURE, CODING_GRAPH_BENCH_SCHEMA_VERSION, DEFAULT_TOLERANCE_PERCENT as CODING_GRAPH_DEFAULT_TOLERANCE, MIN_ITERATIONS as CODING_GRAPH_MIN_ITERATIONS, DEFAULT_SMOKE_FIXTURE as CODING_GRAPH_SMOKE_FIXTURE, type CalibrationAnswer, type CalibrationVerdictPair, type CanaryAdapterOptions, type CanaryFloorCheck, type CaptureLoCoMoRetrievalTraceOptions, type ClaudeCliProviderConfig, type CodexCliNativeUsage, type CodexCliProviderConfig, CodexCreditAccountingError, type CodexCreditBudgetConfig, CodexCreditDispatchError, type CodexCreditReceipt, type CodexCreditReceiptScope, type CodexCreditReconciliationReceipt, type CodingGraphBaseline, type CodingGraphBenchConfig, type CodingGraphBenchReport, type MachineFingerprint as CodingGraphMachineFingerprint, type CodingGraphMetricKey, type RegressionMetricDetail as CodingGraphRegressionDetail, type RegressionMetricKey as CodingGraphRegressionKey, type RegressionGateResult as CodingGraphRegressionResult, type CohenKappaResult, type ComparisonMetricDelta, type ComparisonResult, type CompletionOpts, type CompletionResult, type ConfidenceInterval, type ContaminationCheckResult, type ContaminationEntry, type ContaminationManifest, type ControlledGateDecision, type ControlledResponsesAgentDriverConfig, type ControlledResponsesCaps, type ControlledResponsesDisposition, ControlledResponsesDriver, type ControlledResponsesDriverConfig, type ControlledResponsesEpisodeInput, type ControlledResponsesEpisodeResult, type ControlledResponsesFault, type ControlledResponsesResponseEvent, type ControlledResponsesToolDefinition, type ControlledResponsesToolEvent, type ControlledResponsesTransport, type CustomBenchmarkScoring, type CustomBenchmarkSpec, type CustomBenchmarkTask, DATASET_SPLITS, DEFAULT_ABLATION_BENCHMARK, DEFAULT_ABLATION_BOOTSTRAP_SEED, DEFAULT_ASSISTANT_RUBRIC_ID, DEFAULT_BASELINE_SCENARIOS, DEFAULT_JUDGE_BINARIZATION_THRESHOLD, DEFAULT_KAPPA_BOOTSTRAP_SAMPLES, DEFAULT_KAPPA_CONFIDENCE_LEVEL, DEFAULT_OPENAI_RESPONSES_JUDGE_MODEL, DRIFT_GEN_DEFAULTS, DRIFT_GEN_VERSION, type DatasetSource, type DatasetSplit, type DiagnoseLoComoProfileDeltaOptions, type DiagnoseLoComoRecallDeltaOptions, type DiscoveredModel, type DriftGenAuditRecord, type DriftGenCorpus, type DriftGenManifest, type DriftGenOptions, type DriftGenResult, type DriftSession, type DriftSessionTurn, type DriftValidationReport, type DriftValidationStats, EMPTY_CONTAMINATION_MANIFEST, type EffectSizeInterpretation, type EffectSizeSummary, type EvaluateTaskStateOptions, type ExplainResult, type ExtractedEntity, type ExtractedLink, type ExtractedPage, type ExtractionAttackOptions, type ExtractionAttackResult, type ExtractionAttackTarget, type FixtureGenerator, type FixtureOutput, type FixtureVariant, GATE_STATUSES, GENERAL_ANSWER_JUDGE_RUBRIC, type GateStatus, type GeneratedFile, type GeneratedRepo, type GoldEntity, type GoldEntityType, type GoldFact, type GoldFactKind, type GoldGraph, type GoldLink, type GoldMemoryAttribution, type GoldPage, type GoldProbe, type GoldProbeCategory, type H6BenchmarkDataset, H6BenchmarkDatasetSchema, type H6TrapId, H6_ACTION_INTENT_JSON_SCHEMA, H6_ARMS, H6_DATASET_JSON_SCHEMA, H6_DECISION_RULE, H6_FROZEN_INVENTORY_HASH, H6_FROZEN_SEED, H6_FROZEN_SPLITS, H6_SUPPORT_ARTIFACT_PATHS, H6_TASK_JSON_SCHEMA, H6_TRAP_FINGERPRINT_JSON_SCHEMA, H6_TRAP_IDS, HOST_FAULT_RETRY_LIMIT, type HarnessRng, INJECTION_SUITE_ARMS, INJECTION_SUITE_FAMILIES, INJECTION_SUITE_VERSION, INTEGRITY_CIPHER_ALGORITHM, INTEGRITY_HASH_ALGORITHM, INTEGRITY_META_FIELDS, INVENTED_DOMAINS, type IngestionBenchAdapter, type IngestionLog, type InjectionSuiteArm, type InjectionSuiteCliInput, type InjectionSuiteCliResult, type InjectionSuiteEpisodeRow, type InjectionSuiteFamily, type InjectionSuiteRowIdentity, JUDGE_CALIBRATION_KAPPA_THRESHOLD, JUDGE_CALIBRATION_PROTOCOL_VERSION, type JudgeCalibrationCheckpointProvenance, type JudgeCalibrationIdentities, type JudgeCalibrationResult, type JudgeCategory, type KappaConfidenceInterval, LOCAL_LAB_PROVIDER_KINDS, LOCOMO_DATASET_FILENAMES, LOCOMO_FULL_TASK_COUNT, LOCOMO_RECALL_DIFF_LINE_LIMIT, LOCOMO_RECALL_EXCERPT_CHARS, LOCOMO_RETRIEVAL_TRACE_BUDGET_VERSION, LOCOMO_RETRIEVAL_TRACE_DELTA_SCHEMA_VERSION, LOCOMO_RETRIEVAL_TRACE_SCHEMA_VERSION, LOCOMO_RETRIEVAL_TRACE_SELECTION_VERSION, LONG_MEM_EVAL_DATASET_FILENAMES, type LeaderboardArtifactWrite, type LettaAdapterConfig, LettaMemCorrectAdapter, type LlmJudge, type LlmProvider, type LoCoMoCategory, type LoCoMoRetrievalMechanism, type LoCoMoRetrievalMechanismSummary, type LoCoMoRetrievalSessionReceipt, type LoCoMoRetrievalStructuralTrace, type LoCoMoRetrievalTaskDelta, type LoCoMoRetrievalTaskReceipt, type LoCoMoRetrievalTraceCoreCaptureReceipt, type LoCoMoRetrievalTraceDeltaReport, type LoCoMoRetrievalTraceProfile, type LoCoMoRetrievalTraceReceipt, type LoCoMoRetrievalTraceSelectionManifest, type LoCoMoRetrievalTraceSelector, type LoCoMoStructuralMultisetDelta, type LoComoCategoryDelta, type LoComoFinalContextRegression, type LoComoMetricDelta, type LoComoProfileArtifactEvidence, type LoComoProfileDeltaReport, type LoComoRawResultEvidence, type LoComoRecallCategoryDelta, type LoComoRecallContextSummary, type LoComoRecallDeltaReport, type LoComoRecallLineDelta, type LoComoRecallLineEvidence, type LoComoRecallMetricDelta, type LoComoRecallResultProvenance, type LoComoRecallTextDigest, type LoComoTaskRegression, type LoadDatasetOptions, type LoadSealedQrelsOptions, type LoadedDataset, type LoadedJudgeCalibrationState, type LocalLabManifest, type LocalLabManifestNotes, type LocalLabPhase, type LocalLabPhaseDescriptor, type LocalLabPhaseExecute, type LocalLabPhaseName, type LocalLabPhaseOutcome, LocalLabPreflightError, type LocalLabPreflightFailure, type LocalLabPreflightInput, type LocalLabPreflightOptions, type LocalLabPreflightResult, type LocalLabPreflightSuccess, type LocalLabProviderKind, type LocalLabRoleConfig, type LocalLlmProviderConfig, MAX_ROW_ATTEMPTS, MEMCORRECT_CORRECTION_ACCEPTANCE_RUBRIC, MEMCORRECT_CORRECTION_ACCEPTANCE_RUBRIC_VERSION, MEMCORRECT_STALE_HARM_RUBRIC, MEMCORRECT_STALE_HARM_RUBRIC_VERSION, MEMORY_EVAL_DIMENSIONS, MEMORY_EVAL_PUBLIC_LINE, MIN_CALIBRATION_SOURCE_TASKS, MITIGATED_BASELINE_SCENARIOS, type MaterializeOptions, type MaterializedRepo, type McpArgumentSemantic, type McpBackendErrorCode, type McpBackendResult, type McpBenchMemoryAdapter, type McpConformanceResult, type McpHttpTransportConfig, type McpListedTool, type McpMemCorrectAdapter, type McpMemoryAdapterOptions, McpMemoryBackendError, type McpMemoryToolMapping, type McpMemoryTransportConfig, type McpStdioTransportConfig, type McpToolCallResult, type McpToolClient, type McpToolMappingEntry, type McpToolMappingValue, type McpToolOperation, type Mem0AdapterConfig, Mem0MemCorrectAdapter, type MemCorrectGeneratorOptions, type MemCorrectJudgeRequest, type MemCorrectJudgeResult, type MemCorrectSystemAdapter, type MemoryEvalCategory, type MemoryEvalDimension, type MemoryEvalDimensionId, type MemoryEvalMetric, type MemoryGraph, type MemoryStats, type MemorySystem, type Message, type MetricAggregate, type MicroMetric, MissingCredentialError, type MitigatedBaselineConfig, type MitigatedTargetConfig, type MultipleChoiceQuestion, OPENAI_RESPONSES_JUDGE_RUBRIC_VERSION, OTHER_NAMESPACE_MEMORIES, type OllamaChatMessage, type OllamaProviderConfig, type OpenAiCompatibleProviderConfig, OpenAiResponsesJudgeError, type OpenAiResponsesJudgeErrorCode, type OpenAiResponsesJudgeTelemetry, OpenAiResponsesProvider, type OpenAiResponsesProviderConfig, type OpenAiResponsesVerdict, type OpenAiResponsesVerdictResult, PROCEDURAL_REAL_SCENARIOS, PROCEDURAL_REAL_SCENARIOS_SMOKE, PUBLISHED_BENCHMARK_ARTIFACT_IDS, type PairedAnswerReplayCache, type PairedAnswerReplayEntry, type ParsedOllamaChatResponse, type PersonalizationRetrievalCase, type PreflightDiscoveredModel, type ProceduralAblationArtifact, type ProceduralAblationPerCase, type ProceduralAblationScenario, type ProceduralRealScenario, type ProceduralRealScenarioCategory, type ProviderBaseConfig, type ProviderConfig, type ProviderDiscoveryResult, type ProviderFactoryConfig, type PublishSkipReason, type PublishSkipRecord, type PublishedBenchmarkFeed, type PublishedBenchmarkFeedEntry, type PublishedBenchmarkId, REPEATED_FAILURE_ARMS, REPEATED_FAILURE_CONFIDENCE_LEVEL, REPEATED_FAILURE_INVALID_REASONS, REPEATED_FAILURE_STATISTICS_DRAWS, REQUIRED_FRONTMATTER_FIELDS, type RecallMetrics, type RecoveredMemory, type RegressionDetail, type RegressionGateResult$1 as RegressionGateResult, type RemnicAdapterOptions, type RepeatedFailureActionEvaluator, type RepeatedFailureArm, type RepeatedFailureCheckpointLoadResult, type RepeatedFailureCliCommandResult, type RepeatedFailureEffectAnalysis, type RepeatedFailureEpisode, type RepeatedFailureEpisodeDriver, type RepeatedFailureEpisodeEvidence, type RepeatedFailureEpisodeInput, type RepeatedFailureEpisodeRow, type RepeatedFailureExpectedDesign, type RepeatedFailureFactPairAudit, type RepeatedFailureFinalRepoEvidence, type RepeatedFailureFinalState, type RepeatedFailureGateEvent, type RepeatedFailureHolmResult, type RepeatedFailureInterval, type RepeatedFailureInvalidReason, type RepeatedFailureIsolationIdentity, type RepeatedFailureLocalToolHost, type RepeatedFailureNullableInterval, RepeatedFailureOllamaChatDriver, type RepeatedFailureOllamaChatDriverConfig, type RepeatedFailureProposedAction, type RepeatedFailureRowCheckpoint, type RepeatedFailureRowClaim, type RepeatedFailureRowIdentity, RepeatedFailureRowStore, type RepeatedFailureRowStoreOptions, type RepeatedFailureRunMetadata, type RepeatedFailureStatisticalAnalysis, type RepeatedFailureSuiteManifest, type RepeatedFailureSupportDecision, type RepeatedFailureTaskCut, type RepeatedFailureTimidityAnalysis, type RepeatedFailureTokenUsage, type RepeatedFailureTokenizer, type RepeatedFailureToolDefinition, type RepeatedFailureToolExecutionResult, type RepeatedFailureTrapAuditArtifact, type RepeatedFailureTrapAuditExpected, type RepeatedFailureTrapAuditMetrics, type RepeatedFailureTrapAuditRow, type RepeatedFailureTrapAuditRowIdentity, type RepeatedFailureTrapAuditThresholds, type RepeatedFailureTry, type ReplayRepeatedFailureStatisticsOptions, type ReportCardProvenanceContext, type ResolveBenchRuntimeProfileOptions, type ResolvedBenchRuntimeProfile, type ResolvedLocalLabProfile, type ResolvedLocalLabRole, type ResolvedRunBenchmarkOptions, type ResponsesApiOutputItem, type ResponsesApiRequest, type ResponsesApiResponse, type ResponsesApiUsage, type RetrievalMissStage, type RevisionShas, type RotatedChoices, type RunBenchmarkOptions, type RunJudgeCalibrationOptions, type RunProceduralAblationCliArgs, type RunProceduralAblationOptions, type RunRepeatedFailureCliCommandInput, type RunRepeatedFailureSuiteOptions, type RunRepeatedFailureSuiteResult, type RunSequentialPhasesOptions, type RunTrapAuditOptions, SCHEMA_TIER_FIXTURE, SCHEMA_TIER_SMOKE_FIXTURE, SEALED_PROMPT_REGISTRY, SINGLE_FLAG_ABLATION_MATRIX, STATE_CLASSIFICATIONS, SYNTHETIC_MEMORIES, type SanitizedDiagnosticProvider, type SavedBaseline, type SchemaTierCorpus, type SchemaTierFixture, type SchemaTierName, type SchemaTierPage, type SchemaTierPageFrontmatter, type SealedArtifact, type SealedJudgeDecision, type SealedJudgeInput, type SealedQrelsArtifact, type SealedQrelsHandle, type SealedRubric, type SearchResult, type SeededMemory, type SeededRandom, type SeededRng, type SequentialPhaseHooks, type SingleFlagAblationCell, type SingleFlagAblationId, type SpotCheckLogger, type StageObservation, type StageStatus, type StateClassification, type StateEvaluationResult, type StatisticalReport, type StrategyPatch, StrategyPatchSchema, type StructuredJudge, StructuredJudgeError, type StructuredJudgeErrorCode, type StructuredJudgeProvider, type StructuredJudgeTelemetry, type StructuredJudgeVerdict, type StructuredJudgeVerdictResult, type StructuredVerdictRequest, type SyntheticEdge, type SyntheticEmailIngestionAdapterOptions, type SyntheticFile, type SyntheticFileIR, SyntheticFileSchema, type SyntheticRepoConfig, type SyntheticSymbol, type SyntheticTargetOptions, TRAP_TAXONOMY, type TaskAttribution, type TaskAttributionGoldWitnessV1, type TaskAttributionRetrievalWitnessV1, type TaskAttributionWitness, type TaskAttributionWitnessRuntimeV1, type TaskAttributionWitnessV1, type TaskResult, type TaskTokenUsage, type TaskVariant, TaskVariantSchema, type TemporalRetrievalCase, type ThirdPartyAdapterConfig, type TierDetail, type TimelineEntry, type TokenUsage, type TrapFingerprintV1, TrapFingerprintV1Schema, type TrapTaxonomyItem, TrapTaxonomyItemSchema, type ValidationIssue, type ValidationReport, type WallMetric, type WriteBenchmarkArtifactResult, type ZepAdapterConfig, ZepMemCorrectAdapter, addContaminationEntry, aggregateTaskScores, analyzeRepeatedFailureRows, answerBenchmarkQuestion, applyPatchAndCommit, assertCanaryUnderFloor, assertIntegrityMetaPresent, assertPublishableIntegrity, assertSha256Hex, assertTrapDatasetPreflight, assistantMeetingPrepDefinition, assistantMorningBriefDefinition, assistantNextBestActionDefinition, assistantSynthesisDefinition, attributeGoldMemory, attributeRun, attributeTask, backlinkF1, binarizeJudgeScore, bootstrapCohensKappaConfidenceInterval, bootstrapMeanConfidenceInterval, buildAmaBenchDiagnosticMatrixArtifact, buildAmaBenchDiagnosticVariantSummary, buildAmaBenchLeaderboardRows, buildBaselineFromReport, buildBenchmarkArtifact, buildBenchmarkArtifactFilename, buildBenchmarkPublishFeed, buildBenchmarkReproManifest, buildBenchmarkRunSeeds, buildBuildWeekEvidenceReceipt, buildCodexCreditReceipt, buildDriftCorpus, buildJudgePayload, buildOracleTrajectoryRecall, buildProviderFreeLoCoMoRetrievalConfig, buildRepeatedFailureRowKey, buildSchemaTierFixture, buildSchemaTierSmokeFixture, calculateCodexBudgetUnits, calculateJaccardSimilarity, calendarFixture, canonicalJsonStringify, captureBenchmarkExecutionProvenance, captureLoCoMoRetrievalTrace, captureMachineFingerprint, chatFixture, checkCodingGraphRegression, checkDatasetContamination, checkRegression, clampScore, cohensD, compareResults, computeBenchmarkReproDatasetInventoryHash, computeBenchmarkReproManifestArtifactHash, computeCohensKappa, computeH6InventoryHash, computeH6SupportArtifactHashes, computeRevisionShas, computeSealHash, computeTrapAuditArtifactHash, computeTrapAuditMetrics, containsAnswer, createSeededRng$1 as createAdamSeededRng, createAmaBenchDiagnosticAdapter, createAnthropicProvider, createCanaryAdapter, createClaudeCliProvider, createCodexCliProvider, createSeededRng as createCodingGraphSeededRng, createControlledResponsesAgentDriver, createDeterministicSpotCheckLogger, createGatewayResponder, createLightweightAdapter, createLiteLlmProvider, createLocalLlmProvider, createMcpDemoMemCorrectAdapter, createMcpDemoMemoryAdapter, createMcpMemCorrectAdapter, createMcpMemoryAdapter, createMitigatedTarget, createOllamaProvider, createOpenAiCompatibleProvider, createOpenAiResponsesBenchJudge, createOpenAiResponsesProvider, createSeededRandom$1 as createProceduralAblationSeededRandom, createProvider, createProviderBackedAmaBenchRecommendedJudge, createProviderBackedJudge, createProviderBackedResponder, createProviderBackedStructuredJudge, createRemnicAdapter, createRepeatedFailureOllamaChatDriver, createResponderFromProvider, createSeededRandom, createSeededRng$2 as createSeededRng, createSpotCheckFileLogger, createStructuredBenchJudge, createStructuredJudgeFromProvider, createSyntheticEmailIngestionAdapter, createSyntheticTarget, createTimeoutGuardedAdapter, decideRepeatedFailureContent, decideRepeatedFailureStudy, decideRepeatedFailureTiming, defaultBenchmarkBaselineDir, defaultBenchmarkPublishPath, deleteBenchmarkResults, diagnoseLoCoMoRetrievalTraceDelta, diagnoseLoComoProfileDelta, diagnoseLoComoRecallDelta, discoverAllProviders, discoveryEndpointFor, emailFixture, entityRecall, evaluateTaskState, exactMatch, executeLocalRow, extractMetrics as extractCodingGraphMetrics, extractContentWords, extractMarkdownSectionsByTitle, f1Score, fixtureToAblationScenarios, formatHandoffNote, formatMissingDatasetError, generateDriftCorpus, generateFamilyVariants, generateH6BenchmarkDataset, generateReport, generateSuiteVariants, generateSyntheticRepo, getAblationCell, getBenchmark, getBenchmarkLowerIsBetter, getGitSha, getMemoryEvalDimension, getProviderBackedJudgePromptIdentity, getRemnicVersion, getTrapTaxonomyItem, hashBenchmarkArtifact, hashBytes, hashCanonicalJson, hashOrderedQuestionIds, hashString, holmAdjust, injectionSuiteResumeContractHash, integrityMetaIsComplete, interpretEffectSize, isAmaBenchUnknownLikeAnswer, isContaminationEntry, isContaminationManifest, isRepeatedFailureTimidityEquivalent, isSafeSyntheticPath, isSealedQrelsArtifact, isSha256Hex, isStructuredJudgeProvider, isTaskFailed, judgeMemCorrectCorrectionAcceptance, judgeMemCorrectStaleMemoryHarm, lexicalSimilarity, linkMatches, listBenchmarkBaselines, listBenchmarkResults, listBenchmarks, listMemoryEvalBenchmarkIds, listMemoryEvalDimensions, llmJudgeScore, llmJudgeScoreDetailed, loadAblationFixture, loadBaseline, loadBeamDatasetPreview, loadBenchmarkArtifact, loadBenchmarkBaseline, loadBenchmarkReportCardProvenance, loadBenchmarkResult, loadBenchmarkResultSummaries, loadCommittedH6BenchmarkDataset, loadCustomBenchmarkFile, loadJudgeCalibrationState, loadLoCoMo10, loadLocalLabManifest, loadLongMemEvalS, loadSealKeyFromEnv, loadSealedQrels, loadSealedRubric, matchEntity, materializeTaskRepo, mergeContaminationManifests, openSeal, orchestrateBenchmarkRuns, pairedDeltaConfidenceInterval, parseBenchmarkArtifact, parseCodexJsonlUsage, parseCustomBenchmark, parseLocalLabManifest, parseRepeatedFailureEpisodeRow, parseRubricResponse, parseSealedQrels, pickOne, pickStableQualifiedName, planInjectionSuiteRows, precisionAtK, preflightLoCoMoRetrievalTraceCapture, preflightLocalLabRole, projectFolderFixture, randomInt, recallAtK, reconcileCodexCreditLedger, redactBenchmarkResultSecrets, relativeRiskReduction, renderAttributionReportTable, renderBaselineMarkdown, renderBenchmarkResultExport, renderLoComoProfileDeltaMarkdown, renderLoComoRecallDeltaMarkdown, renderMemorySummaryForJudge, renderMemoryViewForAgent, replayRepeatedFailureStatistics, resolveAssistantAgent, resolveAssistantRubricId, resolveAssistantSeeds, resolveAssistantSpotCheckDir, resolveBenchRuntimeProfile, resolveBenchmarkPhaseTimeoutMs, resolveBenchmarkProgressLogging, resolveBenchmarkResultReference, resolveBenchmarkRunCount, resolveBenchmarkRunId, resolveCodexCreditBudgetConfig, resolveCommittedH6FixtureDirectory, resolveLocalLabJudgeProviderConfig, resolveLocalLabProfile, resolveLocalLabRole, resolveStructuredJudge, rotateDistractors, rougeL, runAssistantBenchmark, runAssistantMeetingPrepBenchmark, runAssistantMorningBriefBenchmark, runAssistantNextBestActionBenchmark, runAssistantSynthesisBenchmark, runAttributeCliCommand, runBaseline, runBenchSuite, runBenchmark, runCodingGraphBenchmark, runCustomBenchmarkFile, runDriftGenCliCommand, runExplain, runExtractionAttack, runInjectionSuiteCliCommand, runJudgeCalibration, runMitigatedBaseline, runProceduralAblation, runProceduralAblationCli, runRepeatedFailureCliCommand, runRepeatedFailurePaperReportCliCommand, runRepeatedFailureSuite, runSealedJudge, runSequentialPhases, runTrapAudit, runTrapAuditCliCommand, runWithinCodexCreditBudget, safeHexEqual, sanitizeBenchmarkResultForJson, sanitizeLoComoResultReference, saveBaseline, saveBenchmarkBaseline, schemaCompleteness, sealPayload, selectAmaBenchDiagnosticVariants, selectCalibrationSlice, selectFixtureVariant, serializeAttributionReport, serializeBenchmarkArtifact, serializeBuildWeekEvidenceReceipt, serializeH6FixtureJson, serializeJsonl, serializeLoCoMoRetrievalTraceDelta, serializeLoCoMoRetrievalTraceReceipt, serializeSealedQrels, shuffleTasks, shuffled, summarizeBenchmarkResult, timed, tokenizeContent, unresolvedHelperImports, validateDriftCorpus, validateH6Dataset, validateH6FixtureBundle, validateH6StateDefiningIndependence, validateOllamaChatEndpoint, verifyMatchingTrapAudit, verifyRubricDigest, verifyTrapAuditArtifact, writeBenchmarkArtifact, writeBenchmarkPublishFeed, writeBenchmarkReproManifest, writeBenchmarkResult, writeBuildWeekEvidenceReceipt, writeH6FixtureBundle, writeJudgeCalibrationState, writeLeaderboardArtifactsForResult, writeRepeatedFailurePaperArtifacts, writeRepeatedFailureRunMetadata, writeRepeatedFailureStatistics, zeroScores };
9876
+ export { AMA_BENCH_DIAGNOSTIC_VARIANTS, ASSISTANT_AGENT_CONFIG_KEY, ASSISTANT_JUDGE_CONFIG_KEY, ASSISTANT_MEETING_PREP_SCENARIOS, ASSISTANT_MEETING_PREP_SMOKE_SCENARIOS, ASSISTANT_MORNING_BRIEF_SCENARIOS, ASSISTANT_MORNING_BRIEF_SMOKE_SCENARIOS, ASSISTANT_NEXT_BEST_ACTION_SCENARIOS, ASSISTANT_NEXT_BEST_ACTION_SMOKE_SCENARIOS, ASSISTANT_RUBRIC_DIMENSIONS, ASSISTANT_RUBRIC_ID_KEY, ASSISTANT_SEEDS_CONFIG_KEY, ASSISTANT_SPOT_CHECK_DIR_KEY, ASSISTANT_SYNTHESIS_SCENARIOS, ASSISTANT_SYNTHESIS_SMOKE_SCENARIOS, type AblationConfigOverrides, type AbstentionRetrievalCase, type ActionIntentV1, ActionIntentV1Schema, type AggregateMetrics, type AmaBenchDiagnosticAdapterOptions, type AmaBenchDiagnosticAnswererMode, type AmaBenchDiagnosticBreakdown, type AmaBenchDiagnosticMatrixArtifact, type AmaBenchDiagnosticRecallMode, type AmaBenchDiagnosticRunContext, type AmaBenchDiagnosticTaskEvidence, type AmaBenchDiagnosticTaskRow, type AmaBenchDiagnosticVariant, type AmaBenchDiagnosticVariantSummary, type AnalyzeRepeatedFailureOptions, type AnthropicProviderConfig, type AssistantAgent, type AssistantMemoryFact, type AssistantMemoryGraph, type AssistantRubricDimension, type AssistantRubricRequest, type AssistantRubricScores, type AssistantRunnerOptions, type AssistantScenario, type AssistantStance, type AttackRecallOptions, type AttackRetrievalHit, type AttackerMode, type AttributeOptions, type AttributionClass, type AttributionEnvironment, type AttributionLabel, type AttributionMemory, type AttributionReport, BENCHMARK_ARTIFACT_SCHEMA_VERSION, BENCHMARK_INTEGRITY_META_SCHEMA, BENCHMARK_REPRO_MANIFEST_FILENAME, BENCHMARK_REPRO_MANIFEST_SCHEMA_VERSION, BENCHMARK_RESULT_SCHEMA, BENCHMARK_SPLIT_TYPES, BUILD_WEEK_EVIDENCE_RECEIPT_SCHEMA_VERSION, BUILD_WEEK_LIMITATIONS, type BaseTask, BaseTaskSchema, type BaselineRow, type BaselineScenario, type BeamDatasetPreview, type BenchAggregateMetric, type BenchAssistantTaskDetails, type BenchConfig, type BenchIntegritySplit, type BenchIntegritySummary, type BenchJudge, type BenchJudgeResult, type BenchMemoryAdapter, type BenchMetricHighlight, type BenchModelSource, type BenchPerSeedScore, type BenchReasoningEffort, type BenchRecallLineageStatus, type BenchRecallOptions, type BenchRecallSupportAssessment, type BenchRecallSupportRequest, type BenchRecallSupportStatus, type BenchRecallTrace, type BenchRecallTraceCoreCapture, type BenchRecallTraceLcmCandidate, type BenchRecallTraceRange, type BenchRecallTraceSection, type BenchRecallTraceSelection, type BenchRecallWithTraceResult, type BenchResponder, type BenchResponse, type BenchResultFileWarning, type BenchResultSummary, type BenchResultSummaryPayload, type BenchRuntimeProfile, type BenchTaskScoreEntry, type BenchTaskSummary, type BenchTier, type BenchmarkArtifact, type BenchmarkArtifactEnvironment, type BenchmarkArtifactHardware, type BenchmarkArtifactJudgeCalibration, type BenchmarkArtifactPerTaskScore, type BenchmarkArtifactSystem, type BenchmarkArtifactTier, type BenchmarkCategory, type BenchmarkDefinition, type BenchmarkExecutionProvenance, type BenchmarkIntegrityMeta, type BenchmarkMeta, type BenchmarkMode, type BenchmarkReport, type BenchmarkReproManifest, type BenchmarkReproManifestDataset, type BenchmarkReproManifestFile, type BenchmarkReproManifestResult, type BenchmarkReproManifestSupplementalArtifact, type BenchmarkResult, type BenchmarkSplitType, type BenchmarkStatus, type BenchmarkSuiteResult, type BenchmarkTier, type BootstrapKappaOptions, type BootstrapKappaResult, type BuildBenchmarkArtifactInput, type BuildBenchmarkPublishFeedOptions, type BuildBenchmarkReproManifestOptions, type BuildBuildWeekEvidenceReceiptOptions, type BuildWeekEvidenceReceipt, type BuildWeekEvidenceReceiptProvider, type BuildWeekLimitationCode, type BuiltInProvider, CALIBRATION_SLICE_SIZE, CANARY_FIXED_RECALL, CANARY_SCORE_FLOOR, DEFAULT_10K_FIXTURE as CODING_GRAPH_10K_FIXTURE, CODING_GRAPH_BENCH_SCHEMA_VERSION, DEFAULT_TOLERANCE_PERCENT as CODING_GRAPH_DEFAULT_TOLERANCE, MIN_ITERATIONS as CODING_GRAPH_MIN_ITERATIONS, DEFAULT_SMOKE_FIXTURE as CODING_GRAPH_SMOKE_FIXTURE, type CalibrationAnswer, type CalibrationVerdictPair, type CanaryAdapterOptions, type CanaryFloorCheck, type CaptureLoCoMoRetrievalTraceOptions, type ClaudeCliProviderConfig, type CodexCliNativeUsage, type CodexCliProviderConfig, CodexCreditAccountingError, type CodexCreditBudgetConfig, CodexCreditDispatchError, type CodexCreditReceipt, type CodexCreditReceiptScope, type CodexCreditReconciliationReceipt, type CodingGraphBaseline, type CodingGraphBenchConfig, type CodingGraphBenchReport, type MachineFingerprint as CodingGraphMachineFingerprint, type CodingGraphMetricKey, type RegressionMetricDetail as CodingGraphRegressionDetail, type RegressionMetricKey as CodingGraphRegressionKey, type RegressionGateResult as CodingGraphRegressionResult, type CohenKappaResult, type ComparisonMetricDelta, type ComparisonResult, type CompletionOpts, type CompletionResult, type ConfidenceInterval, type ContaminationCheckResult, type ContaminationEntry, type ContaminationManifest, type ControlledGateDecision, type ControlledResponsesAgentDriverConfig, type ControlledResponsesCaps, type ControlledResponsesDisposition, ControlledResponsesDriver, type ControlledResponsesDriverConfig, type ControlledResponsesEpisodeInput, type ControlledResponsesEpisodeResult, type ControlledResponsesFault, type ControlledResponsesResponseEvent, type ControlledResponsesToolDefinition, type ControlledResponsesToolEvent, type ControlledResponsesTransport, type CustomBenchmarkScoring, type CustomBenchmarkSpec, type CustomBenchmarkTask, DATASET_SPLITS, DEFAULT_ABLATION_BENCHMARK, DEFAULT_ABLATION_BOOTSTRAP_SEED, DEFAULT_ASSISTANT_RUBRIC_ID, DEFAULT_BASELINE_SCENARIOS, DEFAULT_JUDGE_BINARIZATION_THRESHOLD, DEFAULT_KAPPA_BOOTSTRAP_SAMPLES, DEFAULT_KAPPA_CONFIDENCE_LEVEL, DEFAULT_OPENAI_RESPONSES_JUDGE_MODEL, DRIFT_GEN_DEFAULTS, DRIFT_GEN_VERSION, type DatasetSource, type DatasetSplit, type DiagnoseLoComoProfileDeltaOptions, type DiagnoseLoComoRecallDeltaOptions, type DiscoveredModel, type DriftGenAuditRecord, type DriftGenCorpus, type DriftGenManifest, type DriftGenOptions, type DriftGenResult, type DriftSession, type DriftSessionTurn, type DriftValidationReport, type DriftValidationStats, EMPTY_CONTAMINATION_MANIFEST, type EffectSizeInterpretation, type EffectSizeSummary, type EvaluateTaskStateOptions, type ExplainResult, type ExtractedEntity, type ExtractedLink, type ExtractedPage, type ExtractionAttackOptions, type ExtractionAttackResult, type ExtractionAttackTarget, type FixtureGenerator, type FixtureOutput, type FixtureVariant, GATE_STATUSES, GENERAL_ANSWER_JUDGE_RUBRIC, type GateStatus, type GeneratedFile, type GeneratedRepo, type GoldEntity, type GoldEntityType, type GoldFact, type GoldFactKind, type GoldGraph, type GoldLink, type GoldMemoryAttribution, type GoldPage, type GoldProbe, type GoldProbeCategory, type H6BenchmarkDataset, H6BenchmarkDatasetSchema, type H6TrapId, H6_ACTION_INTENT_JSON_SCHEMA, H6_ARMS, H6_DATASET_JSON_SCHEMA, H6_DECISION_RULE, H6_FROZEN_INVENTORY_HASH, H6_FROZEN_SEED, H6_FROZEN_SPLITS, H6_SUPPORT_ARTIFACT_PATHS, H6_TASK_JSON_SCHEMA, H6_TRAP_FINGERPRINT_JSON_SCHEMA, H6_TRAP_IDS, HOST_FAULT_RETRY_LIMIT, type HarnessRng, INJECTION_SUITE_ARMS, INJECTION_SUITE_FAMILIES, INJECTION_SUITE_VERSION, INTEGRITY_CIPHER_ALGORITHM, INTEGRITY_HASH_ALGORITHM, INTEGRITY_META_FIELDS, INVENTED_DOMAINS, type IngestionBenchAdapter, type IngestionLog, type InjectionSuiteArm, type InjectionSuiteCliInput, type InjectionSuiteCliResult, type InjectionSuiteEpisodeRow, type InjectionSuiteFamily, type InjectionSuiteRowIdentity, JUDGE_CALIBRATION_KAPPA_THRESHOLD, JUDGE_CALIBRATION_PROTOCOL_VERSION, type JudgeCalibrationCheckpointProvenance, type JudgeCalibrationIdentities, type JudgeCalibrationResult, type JudgeCategory, type KappaConfidenceInterval, LOCAL_LAB_PROVIDER_KINDS, LOCOMO_DATASET_FILENAMES, LOCOMO_FULL_TASK_COUNT, LOCOMO_RECALL_DIFF_LINE_LIMIT, LOCOMO_RECALL_EXCERPT_CHARS, LOCOMO_RETRIEVAL_TRACE_BUDGET_VERSION, LOCOMO_RETRIEVAL_TRACE_DELTA_SCHEMA_VERSION, LOCOMO_RETRIEVAL_TRACE_SCHEMA_VERSION, LOCOMO_RETRIEVAL_TRACE_SELECTION_VERSION, LONG_MEM_EVAL_DATASET_FILENAMES, type LeaderboardArtifactWrite, type LettaAdapterConfig, LettaMemCorrectAdapter, type LlmJudge, type LlmProvider, type LoCoMoCategory, type LoCoMoRetrievalMechanism, type LoCoMoRetrievalMechanismSummary, type LoCoMoRetrievalSessionReceipt, type LoCoMoRetrievalStructuralTrace, type LoCoMoRetrievalTaskDelta, type LoCoMoRetrievalTaskReceipt, type LoCoMoRetrievalTraceCoreCaptureReceipt, type LoCoMoRetrievalTraceDeltaReport, type LoCoMoRetrievalTraceProfile, type LoCoMoRetrievalTraceReceipt, type LoCoMoRetrievalTraceSelectionManifest, type LoCoMoRetrievalTraceSelector, type LoCoMoStructuralMultisetDelta, type LoComoCategoryDelta, type LoComoFinalContextRegression, type LoComoMetricDelta, type LoComoProfileArtifactEvidence, type LoComoProfileDeltaReport, type LoComoRawResultEvidence, type LoComoRecallCategoryDelta, type LoComoRecallContextSummary, type LoComoRecallDeltaReport, type LoComoRecallLineDelta, type LoComoRecallLineEvidence, type LoComoRecallMetricDelta, type LoComoRecallResultProvenance, type LoComoRecallTextDigest, type LoComoTaskRegression, type LoadDatasetOptions, type LoadSealedQrelsOptions, type LoadedDataset, type LoadedJudgeCalibrationState, type LocalLabManifest, type LocalLabManifestNotes, type LocalLabPhase, type LocalLabPhaseDescriptor, type LocalLabPhaseExecute, type LocalLabPhaseName, type LocalLabPhaseOutcome, LocalLabPreflightError, type LocalLabPreflightFailure, type LocalLabPreflightInput, type LocalLabPreflightOptions, type LocalLabPreflightResult, type LocalLabPreflightSuccess, type LocalLabProviderKind, type LocalLabRoleConfig, type LocalLlmProviderConfig, MAX_ROW_ATTEMPTS, MEMCORRECT_CORRECTION_ACCEPTANCE_RUBRIC, MEMCORRECT_CORRECTION_ACCEPTANCE_RUBRIC_VERSION, MEMCORRECT_STALE_HARM_RUBRIC, MEMCORRECT_STALE_HARM_RUBRIC_VERSION, MEMORY_EVAL_DIMENSIONS, MEMORY_EVAL_PUBLIC_LINE, MIN_CALIBRATION_SOURCE_TASKS, MITIGATED_BASELINE_SCENARIOS, type MaterializeOptions, type MaterializedRepo, type McpArgumentSemantic, type McpBackendErrorCode, type McpBackendResult, type McpBenchMemoryAdapter, type McpConformanceResult, type McpHttpTransportConfig, type McpListedTool, type McpMemCorrectAdapter, type McpMemoryAdapterOptions, McpMemoryBackendError, type McpMemoryToolMapping, type McpMemoryTransportConfig, type McpStdioTransportConfig, type McpToolCallResult, type McpToolClient, type McpToolMappingEntry, type McpToolMappingValue, type McpToolOperation, type Mem0AdapterConfig, Mem0MemCorrectAdapter, type MemCorrectGeneratorOptions, type MemCorrectJudgeRequest, type MemCorrectJudgeResult, type MemCorrectSystemAdapter, type MemoryEvalCategory, type MemoryEvalDimension, type MemoryEvalDimensionId, type MemoryEvalMetric, type MemoryGraph, type MemoryStats, type MemorySystem, type Message, type MetricAggregate, type MicroMetric, MissingCredentialError, type MitigatedBaselineConfig, type MitigatedTargetConfig, type MultipleChoiceQuestion, OPENAI_RESPONSES_JUDGE_RUBRIC_VERSION, OTHER_NAMESPACE_MEMORIES, type OllamaChatMessage, type OllamaProviderConfig, type OpenAiCompatibleProviderConfig, OpenAiResponsesJudgeError, type OpenAiResponsesJudgeErrorCode, type OpenAiResponsesJudgeTelemetry, OpenAiResponsesProvider, type OpenAiResponsesProviderConfig, type OpenAiResponsesVerdict, type OpenAiResponsesVerdictResult, PROCEDURAL_REAL_SCENARIOS, PROCEDURAL_REAL_SCENARIOS_SMOKE, PUBLISHED_BENCHMARK_ARTIFACT_IDS, type PairedAnswerReplayCache, type PairedAnswerReplayEntry, type ParsedOllamaChatResponse, type PersonalizationRetrievalCase, type PreflightDiscoveredModel, type ProceduralAblationArtifact, type ProceduralAblationPerCase, type ProceduralAblationScenario, type ProceduralRealScenario, type ProceduralRealScenarioCategory, type ProviderBaseConfig, type ProviderConfig, type ProviderDiscoveryResult, type ProviderFactoryConfig, type PublishSkipReason, type PublishSkipRecord, type PublishedBenchmarkFeed, type PublishedBenchmarkFeedEntry, type PublishedBenchmarkId, REPEATED_FAILURE_ARMS, REPEATED_FAILURE_CONFIDENCE_LEVEL, REPEATED_FAILURE_INVALID_REASONS, REPEATED_FAILURE_STATISTICS_DRAWS, REQUIRED_FRONTMATTER_FIELDS, type RecallMetrics, type RecoveredMemory, type RegressionDetail, type RegressionGateResult$1 as RegressionGateResult, type RemnicAdapterOptions, type RepeatedFailureActionEvaluator, type RepeatedFailureArm, type RepeatedFailureCheckpointLoadResult, type RepeatedFailureCliCommandResult, type RepeatedFailureEffectAnalysis, type RepeatedFailureEpisode, type RepeatedFailureEpisodeDriver, type RepeatedFailureEpisodeEvidence, type RepeatedFailureEpisodeInput, type RepeatedFailureEpisodeRow, type RepeatedFailureExpectedDesign, type RepeatedFailureFactPairAudit, type RepeatedFailureFinalRepoEvidence, type RepeatedFailureFinalState, type RepeatedFailureGateEvent, type RepeatedFailureHolmResult, type RepeatedFailureInterval, type RepeatedFailureInvalidReason, type RepeatedFailureIsolationIdentity, type RepeatedFailureLocalToolHost, type RepeatedFailureNullableInterval, RepeatedFailureOllamaChatDriver, type RepeatedFailureOllamaChatDriverConfig, type RepeatedFailureProposedAction, type RepeatedFailureRowCheckpoint, type RepeatedFailureRowClaim, type RepeatedFailureRowIdentity, RepeatedFailureRowStore, type RepeatedFailureRowStoreOptions, type RepeatedFailureRunMetadata, type RepeatedFailureStatisticalAnalysis, type RepeatedFailureSuiteManifest, type RepeatedFailureSupportDecision, type RepeatedFailureTaskCut, type RepeatedFailureTimidityAnalysis, type RepeatedFailureTokenUsage, type RepeatedFailureTokenizer, type RepeatedFailureToolDefinition, type RepeatedFailureToolExecutionResult, type RepeatedFailureTrapAuditArtifact, type RepeatedFailureTrapAuditExpected, type RepeatedFailureTrapAuditMetrics, type RepeatedFailureTrapAuditRow, type RepeatedFailureTrapAuditRowIdentity, type RepeatedFailureTrapAuditThresholds, type RepeatedFailureTry, type ReplayRepeatedFailureStatisticsOptions, type ReportCardProvenanceContext, type ResolveBenchRuntimeProfileOptions, type ResolvedBenchRuntimeProfile, type ResolvedLocalLabProfile, type ResolvedLocalLabRole, type ResolvedRunBenchmarkOptions, type ResponsesApiOutputItem, type ResponsesApiRequest, type ResponsesApiResponse, type ResponsesApiUsage, type RetrievalMissStage, type RevisionShas, type RotatedChoices, type RunBenchmarkOptions, type RunJudgeCalibrationOptions, type RunProceduralAblationCliArgs, type RunProceduralAblationOptions, type RunRepeatedFailureCliCommandInput, type RunRepeatedFailureSuiteOptions, type RunRepeatedFailureSuiteResult, type RunSequentialPhasesOptions, type RunTrapAuditOptions, SCHEMA_TIER_FIXTURE, SCHEMA_TIER_SMOKE_FIXTURE, SEALED_PROMPT_REGISTRY, SINGLE_FLAG_ABLATION_MATRIX, STATE_CLASSIFICATIONS, SYNTHETIC_MEMORIES, type SanitizedDiagnosticProvider, type SavedBaseline, type SchemaTierCorpus, type SchemaTierFixture, type SchemaTierName, type SchemaTierPage, type SchemaTierPageFrontmatter, type SealedArtifact, type SealedJudgeDecision, type SealedJudgeInput, type SealedQrelsArtifact, type SealedQrelsHandle, type SealedRubric, type SearchResult, type SeededMemory, type SeededRandom, type SeededRng, type SequentialPhaseHooks, type SingleFlagAblationCell, type SingleFlagAblationId, type SpotCheckLogger, type StageObservation, type StageStatus, type StateClassification, type StateEvaluationResult, type StatisticalReport, type StrategyPatch, StrategyPatchSchema, type StructuredJudge, StructuredJudgeError, type StructuredJudgeErrorCode, type StructuredJudgeProvider, type StructuredJudgeTelemetry, type StructuredJudgeVerdict, type StructuredJudgeVerdictResult, type StructuredVerdictRequest, type SyntheticEdge, type SyntheticEmailIngestionAdapterOptions, type SyntheticFile, type SyntheticFileIR, SyntheticFileSchema, type SyntheticRepoConfig, type SyntheticSymbol, type SyntheticTargetOptions, TRAP_TAXONOMY, type TaskAttribution, type TaskAttributionGoldWitnessV1, type TaskAttributionRetrievalWitnessV1, type TaskAttributionWitness, type TaskAttributionWitnessRuntimeV1, type TaskAttributionWitnessV1, type TaskResult, type TaskTokenUsage, type TaskVariant, TaskVariantSchema, type TemporalRetrievalCase, type ThirdPartyAdapterConfig, type TierDetail, type TimelineEntry, type TokenUsage, type TrapFingerprintV1, TrapFingerprintV1Schema, type TrapTaxonomyItem, TrapTaxonomyItemSchema, type ValidationIssue, type ValidationReport, type WallMetric, type WriteBenchmarkArtifactResult, type ZepAdapterConfig, ZepMemCorrectAdapter, addContaminationEntry, aggregateTaskScores, analyzeRepeatedFailureRows, answerBenchmarkQuestion, applyPatchAndCommit, assertCanaryUnderFloor, assertIntegrityMetaPresent, assertPublishableIntegrity, assertSha256Hex, assertTrapDatasetPreflight, assistantMeetingPrepDefinition, assistantMorningBriefDefinition, assistantNextBestActionDefinition, assistantSynthesisDefinition, attributeGoldMemory, attributeRun, attributeTask, backlinkF1, binarizeJudgeScore, bootstrapCohensKappaConfidenceInterval, bootstrapMeanConfidenceInterval, buildAmaBenchDiagnosticMatrixArtifact, buildAmaBenchDiagnosticVariantSummary, buildAmaBenchLeaderboardRows, buildBaselineFromReport, buildBenchmarkArtifact, buildBenchmarkArtifactFilename, buildBenchmarkPublishFeed, buildBenchmarkReproManifest, buildBenchmarkRunSeeds, buildBuildWeekEvidenceReceipt, buildCodexCreditReceipt, buildDriftCorpus, buildJudgePayload, buildOracleTrajectoryRecall, buildProviderFreeLoCoMoRetrievalConfig, buildRepeatedFailureRowKey, buildSchemaTierFixture, buildSchemaTierSmokeFixture, calculateCodexBudgetUnits, calculateJaccardSimilarity, calendarFixture, canonicalJsonStringify, captureBenchmarkExecutionProvenance, captureLoCoMoRetrievalTrace, captureMachineFingerprint, chatFixture, checkCodingGraphRegression, checkDatasetContamination, checkRegression, clampScore, cohensD, compareResults, computeBenchmarkReproDatasetInventoryHash, computeBenchmarkReproManifestArtifactHash, computeCohensKappa, computeH6InventoryHash, computeH6SupportArtifactHashes, computeRevisionShas, computeSealHash, computeTrapAuditArtifactHash, computeTrapAuditMetrics, containsAnswer, createSeededRng$1 as createAdamSeededRng, createAmaBenchDiagnosticAdapter, createAnthropicProvider, createCanaryAdapter, createClaudeCliProvider, createCodexCliProvider, createSeededRng as createCodingGraphSeededRng, createControlledResponsesAgentDriver, createDeterministicSpotCheckLogger, createGatewayResponder, createLightweightAdapter, createLiteLlmProvider, createLocalLlmProvider, createMcpDemoMemCorrectAdapter, createMcpDemoMemoryAdapter, createMcpMemCorrectAdapter, createMcpMemoryAdapter, createMitigatedTarget, createOllamaProvider, createOpenAiCompatibleProvider, createOpenAiResponsesBenchJudge, createOpenAiResponsesProvider, createSeededRandom$1 as createProceduralAblationSeededRandom, createProvider, createProviderBackedAmaBenchRecommendedJudge, createProviderBackedJudge, createProviderBackedResponder, createProviderBackedStructuredJudge, createRemnicAdapter, createRepeatedFailureOllamaChatDriver, createResponderFromProvider, createSeededRandom, createSeededRng$2 as createSeededRng, createSpotCheckFileLogger, createStructuredBenchJudge, createStructuredJudgeFromProvider, createSyntheticEmailIngestionAdapter, createSyntheticTarget, createTimeoutGuardedAdapter, decideRepeatedFailureContent, decideRepeatedFailureStudy, decideRepeatedFailureTiming, defaultBenchmarkBaselineDir, defaultBenchmarkPublishPath, deleteBenchmarkResults, diagnoseLoCoMoRetrievalTraceDelta, diagnoseLoComoProfileDelta, diagnoseLoComoRecallDelta, discoverAllProviders, discoveryEndpointFor, emailFixture, entityRecall, evaluateTaskState, exactMatch, executeLocalRow, extractMetrics as extractCodingGraphMetrics, extractContentWords, extractMarkdownSectionsByTitle, f1Score, fixtureToAblationScenarios, formatHandoffNote, formatMissingDatasetError, generateDriftCorpus, generateFamilyVariants, generateH6BenchmarkDataset, generateReport, generateSuiteVariants, generateSyntheticRepo, getAblationCell, getBenchmark, getBenchmarkLowerIsBetter, getGitSha, getMemoryEvalDimension, getProviderBackedJudgePromptIdentity, getRemnicVersion, getTrapTaxonomyItem, hashBenchmarkArtifact, hashBytes, hashCanonicalJson, hashOrderedQuestionIds, hashString, holmAdjust, injectionSuiteResumeContractHash, integrityMetaIsComplete, interpretEffectSize, isAmaBenchUnknownLikeAnswer, isContaminationEntry, isContaminationManifest, isRepeatedFailureTimidityEquivalent, isSafeSyntheticPath, isSealedQrelsArtifact, isSha256Hex, isStructuredJudgeProvider, isTaskFailed, judgeMemCorrectCorrectionAcceptance, judgeMemCorrectStaleMemoryHarm, lexicalSimilarity, linkMatches, listBenchmarkBaselines, listBenchmarkResults, listBenchmarks, listMemoryEvalBenchmarkIds, listMemoryEvalDimensions, llmJudgeScore, llmJudgeScoreDetailed, loadAblationFixture, loadBaseline, loadBeamDatasetPreview, loadBenchmarkArtifact, loadBenchmarkBaseline, loadBenchmarkReportCardProvenance, loadBenchmarkResult, loadBenchmarkResultSummaries, loadCommittedH6BenchmarkDataset, loadCustomBenchmarkFile, loadJudgeCalibrationState, loadLoCoMo10, loadLocalLabManifest, loadLongMemEvalS, loadSealKeyFromEnv, loadSealedQrels, loadSealedRubric, matchEntity, materializeTaskRepo, mergeContaminationManifests, openSeal, orchestrateBenchmarkRuns, pairedDeltaConfidenceInterval, parseBenchmarkArtifact, parseCanaryFloor, parseCodexJsonlUsage, parseCustomBenchmark, parseLocalLabManifest, parseRepeatedFailureEpisodeRow, parseRubricResponse, parseSealedQrels, pickOne, pickStableQualifiedName, planInjectionSuiteRows, precisionAtK, preflightLoCoMoRetrievalTraceCapture, preflightLocalLabRole, projectFolderFixture, randomInt, recallAtK, reconcileCodexCreditLedger, redactBenchmarkResultSecrets, relativeRiskReduction, renderAttributionReportTable, renderBaselineMarkdown, renderBenchmarkResultExport, renderLoComoProfileDeltaMarkdown, renderLoComoRecallDeltaMarkdown, renderMemorySummaryForJudge, renderMemoryViewForAgent, replayRepeatedFailureStatistics, resolveAssistantAgent, resolveAssistantRubricId, resolveAssistantSeeds, resolveAssistantSpotCheckDir, resolveBenchRuntimeProfile, resolveBenchmarkPhaseTimeoutMs, resolveBenchmarkProgressLogging, resolveBenchmarkResultReference, resolveBenchmarkRunCount, resolveBenchmarkRunId, resolveCanaryFloorFromEnv, resolveCodexCreditBudgetConfig, resolveCommittedH6FixtureDirectory, resolveEffectiveCanaryFloor, resolveLocalLabJudgeProviderConfig, resolveLocalLabProfile, resolveLocalLabRole, resolveStructuredJudge, rotateDistractors, rougeL, runAssistantBenchmark, runAssistantMeetingPrepBenchmark, runAssistantMorningBriefBenchmark, runAssistantNextBestActionBenchmark, runAssistantSynthesisBenchmark, runAttributeCliCommand, runBaseline, runBenchSuite, runBenchmark, runCodingGraphBenchmark, runCustomBenchmarkFile, runDriftGenCliCommand, runExplain, runExtractionAttack, runInjectionSuiteCliCommand, runJudgeCalibration, runMitigatedBaseline, runProceduralAblation, runProceduralAblationCli, runRepeatedFailureCliCommand, runRepeatedFailurePaperReportCliCommand, runRepeatedFailureSuite, runSealedJudge, runSequentialPhases, runTrapAudit, runTrapAuditCliCommand, runWithinCodexCreditBudget, safeHexEqual, sanitizeBenchmarkResultForJson, sanitizeLoComoResultReference, saveBaseline, saveBenchmarkBaseline, schemaCompleteness, sealPayload, selectAmaBenchDiagnosticVariants, selectCalibrationSlice, selectFixtureVariant, serializeAttributionReport, serializeBenchmarkArtifact, serializeBuildWeekEvidenceReceipt, serializeH6FixtureJson, serializeJsonl, serializeLoCoMoRetrievalTraceDelta, serializeLoCoMoRetrievalTraceReceipt, serializeSealedQrels, shuffleTasks, shuffled, summarizeBenchmarkResult, timed, tokenizeContent, unresolvedHelperImports, validateDriftCorpus, validateH6Dataset, validateH6FixtureBundle, validateH6StateDefiningIndependence, validateOllamaChatEndpoint, verifyMatchingTrapAudit, verifyRubricDigest, verifyTrapAuditArtifact, writeBenchmarkArtifact, writeBenchmarkPublishFeed, writeBenchmarkReproManifest, writeBenchmarkResult, writeBuildWeekEvidenceReceipt, writeH6FixtureBundle, writeJudgeCalibrationState, writeLeaderboardArtifactsForResult, writeRepeatedFailurePaperArtifacts, writeRepeatedFailureRunMetadata, writeRepeatedFailureStatistics, zeroScores };
package/dist/index.js CHANGED
@@ -7,6 +7,8 @@ import {
7
7
  BaseTaskSchema,
8
8
  BenchmarkRunBlockReason,
9
9
  BenchmarkRunBlockedError,
10
+ CANARY_FIXED_RECALL,
11
+ CANARY_SCORE_FLOOR,
10
12
  CodexCreditAccountingError,
11
13
  CodexCreditDispatchError,
12
14
  ControlledResponsesDriver,
@@ -54,6 +56,7 @@ import {
54
56
  aggregateTaskScores,
55
57
  analyzeRepeatedFailureRows,
56
58
  applyPatchAndCommit,
59
+ assertCanaryUnderFloor,
57
60
  assertIntegrityMetaPresent,
58
61
  assertNoSymlinkComponents,
59
62
  assertPublishableIntegrity,
@@ -82,6 +85,7 @@ import {
82
85
  computeTrapAuditMetrics,
83
86
  containsAnswer,
84
87
  countFactTokens,
88
+ createCanaryAdapter,
85
89
  createControlledResponsesAgentDriver,
86
90
  createRepeatedFailureOllamaChatDriver,
87
91
  createSeededRandom,
@@ -128,6 +132,7 @@ import {
128
132
  materializeTaskRepo,
129
133
  mergeContaminationManifests,
130
134
  openSeal,
135
+ parseCanaryFloor,
131
136
  parseCodexJsonlUsage,
132
137
  parseDesign,
133
138
  parseEpisodesJsonl,
@@ -145,9 +150,11 @@ import {
145
150
  replayRepeatedFailureStatistics,
146
151
  resolveBenchmarkResultReference,
147
152
  resolveBenchmarkRunId,
153
+ resolveCanaryFloorFromEnv,
148
154
  resolveCodexCreditBudgetConfig,
149
155
  resolveCommittedH6FixtureDirectory,
150
156
  resolveContainedPath,
157
+ resolveEffectiveCanaryFloor,
151
158
  retryFetch,
152
159
  rougeL,
153
160
  runRepeatedFailureCliCommand,
@@ -180,7 +187,7 @@ import {
180
187
  writeLeaderboardArtifactsForResult,
181
188
  writeRepeatedFailureRunMetadata,
182
189
  writeRepeatedFailureStatistics
183
- } from "./chunk-VJ4YENME.js";
190
+ } from "./chunk-PWFYSAUK.js";
184
191
 
185
192
  // src/build-week-evidence-receipt.ts
186
193
  import { createHash as createHash2 } from "crypto";
@@ -7570,7 +7577,8 @@ var BENCHMARK_RESULT_SCHEMA = {
7570
7577
  qrelsSealedHash: { type: "string", pattern: "^[0-9a-f]{64}$" },
7571
7578
  judgePromptHash: { type: "string", pattern: "^[0-9a-f]{64}$" },
7572
7579
  datasetHash: { type: "string", pattern: "^[0-9a-f]{64}$" },
7573
- canaryScore: { type: "number" }
7580
+ canaryScore: { type: "number" },
7581
+ canaryFloor: { type: "number", minimum: 0 }
7574
7582
  }
7575
7583
  },
7576
7584
  config: {
@@ -41871,60 +41879,6 @@ function serializeSealedQrels(artifact) {
41871
41879
  return canonicalJsonStringify(normalized);
41872
41880
  }
41873
41881
 
41874
- // src/integrity/canary-adapter.ts
41875
- var CANARY_FIXED_RECALL = "__remnic_canary_response__";
41876
- var CANARY_SCORE_FLOOR = 0.1;
41877
- function createCanaryAdapter(options = {}) {
41878
- const response = options.response ?? CANARY_FIXED_RECALL;
41879
- const emptySearch = options.emptySearch ?? false;
41880
- return {
41881
- async store(_sessionId, _messages) {
41882
- },
41883
- async recall(_sessionId, _query, _budgetChars) {
41884
- return response;
41885
- },
41886
- async search(_query, _limit, _sessionId) {
41887
- if (emptySearch) {
41888
- return [];
41889
- }
41890
- return [
41891
- {
41892
- turnIndex: 0,
41893
- role: "assistant",
41894
- snippet: response,
41895
- sessionId: "__canary__",
41896
- score: 0
41897
- }
41898
- ];
41899
- },
41900
- async reset(_sessionId) {
41901
- },
41902
- async getStats(_sessionId) {
41903
- return {
41904
- totalMessages: 0,
41905
- totalSummaryNodes: 0,
41906
- maxDepth: 0
41907
- };
41908
- },
41909
- async destroy() {
41910
- }
41911
- };
41912
- }
41913
- function assertCanaryUnderFloor(benchmark, score, floor = CANARY_SCORE_FLOOR) {
41914
- if (!Number.isFinite(floor) || floor < 0) {
41915
- throw new Error(`Canary floor must be a non-negative finite number; got ${floor}.`);
41916
- }
41917
- if (!Number.isFinite(score)) {
41918
- return { benchmark, score, floor, passed: false };
41919
- }
41920
- return {
41921
- benchmark,
41922
- score,
41923
- floor,
41924
- passed: score <= floor
41925
- };
41926
- }
41927
-
41928
41882
  // src/integrity/randomize.ts
41929
41883
  function createSeededRng(seed) {
41930
41884
  if (!Number.isFinite(seed)) {
@@ -47725,7 +47679,7 @@ async function writeRepeatedFailurePaperArtifacts(options) {
47725
47679
  }
47726
47680
  async function runRepeatedFailurePaperReportCliCommand(options) {
47727
47681
  try {
47728
- const { replayRepeatedFailureStatistics: replayRepeatedFailureStatistics2 } = await import("./repeated-failure-suite-runner-5BL2FBIP.js");
47682
+ const { replayRepeatedFailureStatistics: replayRepeatedFailureStatistics2 } = await import("./repeated-failure-suite-runner-ONGURPYC.js");
47729
47683
  const replay = await replayRepeatedFailureStatistics2(options);
47730
47684
  if (replay.exitCode !== 0) return replay;
47731
47685
  const result = await writeRepeatedFailurePaperArtifacts(options);
@@ -48312,6 +48266,7 @@ export {
48312
48266
  orchestrateBenchmarkRuns,
48313
48267
  pairedDeltaConfidenceInterval,
48314
48268
  parseBenchmarkArtifact,
48269
+ parseCanaryFloor,
48315
48270
  parseCodexJsonlUsage,
48316
48271
  parseCustomBenchmark,
48317
48272
  parseLocalLabManifest,
@@ -48348,8 +48303,10 @@ export {
48348
48303
  resolveBenchmarkResultReference,
48349
48304
  resolveBenchmarkRunCount,
48350
48305
  resolveBenchmarkRunId,
48306
+ resolveCanaryFloorFromEnv,
48351
48307
  resolveCodexCreditBudgetConfig,
48352
48308
  resolveCommittedH6FixtureDirectory,
48309
+ resolveEffectiveCanaryFloor,
48353
48310
  resolveLocalLabJudgeProviderConfig,
48354
48311
  resolveLocalLabProfile,
48355
48312
  resolveLocalLabRole,
@@ -11,7 +11,7 @@ import {
11
11
  runRepeatedFailureCliCommand,
12
12
  runRepeatedFailureSuite,
13
13
  verifyPreregistrationBinding
14
- } from "./chunk-VJ4YENME.js";
14
+ } from "./chunk-PWFYSAUK.js";
15
15
  export {
16
16
  baseEvidence,
17
17
  buildDesign,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnic/bench",
3
- "version": "9.69.35",
3
+ "version": "9.69.36",
4
4
  "description": "Retrieval latency ladder benchmarks + CI regression gates for @remnic/core",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -41,8 +41,8 @@
41
41
  "hyparquet": "^1.25.7",
42
42
  "yaml": "^2.4.2",
43
43
  "zod": "^3.24.0",
44
- "@remnic/coding-graph": "^9.69.35",
45
- "@remnic/core": "^9.69.35"
44
+ "@remnic/coding-graph": "^9.69.36",
45
+ "@remnic/core": "^9.69.36"
46
46
  },
47
47
  "devDependencies": {
48
48
  "tsup": "^8.5.1",