@remnic/bench 9.3.729 → 9.3.731
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +403 -2
- package/dist/index.js +1702 -305
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -225,8 +225,14 @@ type AmaBenchJudgeProtocol = "default" | "recommended";
|
|
|
225
225
|
* `codex-cli` shells out to `codex exec` as an isolated benchmark-only
|
|
226
226
|
* responder/judge target. It is intentionally not routed through Remnic
|
|
227
227
|
* memory or OpenClaw gateway state.
|
|
228
|
+
*
|
|
229
|
+
* `claude-cli` shells out to `claude -p` (Claude Code headless) as an
|
|
230
|
+
* isolated benchmark-only responder/judge target, running against the
|
|
231
|
+
* operator's Claude subscription rather than a metered API key. Like
|
|
232
|
+
* `codex-cli`, it is intentionally not routed through Remnic memory or
|
|
233
|
+
* OpenClaw gateway state.
|
|
228
234
|
*/
|
|
229
|
-
type BuiltInProvider = "openai" | "anthropic" | "ollama" | "litellm" | "local-llm" | "codex-cli";
|
|
235
|
+
type BuiltInProvider = "openai" | "anthropic" | "ollama" | "litellm" | "local-llm" | "codex-cli" | "claude-cli";
|
|
230
236
|
type BenchReasoningEffort = "low" | "medium" | "high" | "xhigh";
|
|
231
237
|
interface ProviderConfig {
|
|
232
238
|
provider: BuiltInProvider;
|
|
@@ -569,6 +575,280 @@ interface MemCorrectSystemAdapter {
|
|
|
569
575
|
runMaintenance(): Promise<void>;
|
|
570
576
|
}
|
|
571
577
|
|
|
578
|
+
/**
|
|
579
|
+
* Shared infrastructure for third-party MemCorrect adapters (issue #1727).
|
|
580
|
+
*
|
|
581
|
+
* Each third-party memory system (Mem0, Zep, Letta) gets a MemCorrectSystemAdapter
|
|
582
|
+
* implementation that talks to its public HTTP API. These adapters exist so the
|
|
583
|
+
* paper can substantiate head-to-head claims: without them, "we beat X" is
|
|
584
|
+
* unsubstantiable.
|
|
585
|
+
*
|
|
586
|
+
* Design constraints (from the issue):
|
|
587
|
+
*
|
|
588
|
+
* 1. **No keys in CI.** Adapters require operator-provided credentials
|
|
589
|
+
* (API key + endpoint) to run. Without them, every method throws
|
|
590
|
+
* `MissingCredentialError` — which the bench harness treats as a
|
|
591
|
+
* skip-with-reason, not a test failure. No network calls happen in CI.
|
|
592
|
+
*
|
|
593
|
+
* 2. **Injectable transport.** Each adapter accepts a `fetch` override so the
|
|
594
|
+
* deterministic fixture smoke test can drive the full request/response
|
|
595
|
+
* cycle without touching the network. The production path uses the global
|
|
596
|
+
* `fetch`.
|
|
597
|
+
*
|
|
598
|
+
* 3. **Faithful to each system's normal path.** The adapter calls the same
|
|
599
|
+
* public endpoints an integrator would use in production. Reaching into
|
|
600
|
+
* internals would make the comparison meaningless (the issue's hard
|
|
601
|
+
* constraint, inherited from #1584).
|
|
602
|
+
*/
|
|
603
|
+
|
|
604
|
+
/** Injectable fetch — matches the global `fetch` signature. */
|
|
605
|
+
type FetchLike = typeof fetch;
|
|
606
|
+
/** Common configuration every third-party adapter accepts. */
|
|
607
|
+
interface ThirdPartyAdapterConfig {
|
|
608
|
+
/** Auth token / API key. Required to actually run (operator-provided). */
|
|
609
|
+
apiKey?: string;
|
|
610
|
+
/** Base URL of the deployment. Required for self-hosted; optional for hosted. */
|
|
611
|
+
baseUrl?: string;
|
|
612
|
+
/** Injectable fetch for deterministic testing. Defaults to global `fetch`. */
|
|
613
|
+
fetch?: FetchLike;
|
|
614
|
+
/** Per-request timeout in milliseconds. */
|
|
615
|
+
timeoutMs?: number;
|
|
616
|
+
}
|
|
617
|
+
/**
|
|
618
|
+
* Thrown when an adapter is asked to run without the operator-provided
|
|
619
|
+
* credentials it needs. The bench harness treats this as a skip-with-reason,
|
|
620
|
+
* not a failure — no third-party system is reachable in CI.
|
|
621
|
+
*/
|
|
622
|
+
declare class MissingCredentialError extends Error {
|
|
623
|
+
readonly reason: string;
|
|
624
|
+
constructor(system: string, missing: string[]);
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* Mem0 MemCorrect adapter (issue #1727 — highest-priority third-party adapter).
|
|
629
|
+
*
|
|
630
|
+
* Drives Mem0 through its public REST API so MemCorrect can score Mem0 on the
|
|
631
|
+
* same correction/steerability corpus as the Remnic adapter. This is the
|
|
632
|
+
* single highest-leverage missing comparison piece: Mem0 is the most-cited
|
|
633
|
+
* memory system, and "we beat Mem0 on non-resurrection" is unsubstantiable
|
|
634
|
+
* without this adapter.
|
|
635
|
+
*
|
|
636
|
+
* Two deployment modes are supported:
|
|
637
|
+
*
|
|
638
|
+
* - **OSS self-hosted** (`mode: "oss"`): synchronous REST server (FastAPI).
|
|
639
|
+
* Paths have no `/v1/` prefix: `POST /memories`, `POST /search`,
|
|
640
|
+
* `DELETE /memories?user_id=…`. Operators self-host for reproducible
|
|
641
|
+
* benchmarking — they control the deployment, the LLM, and there is no
|
|
642
|
+
* rate limiting. This is the recommended mode for lab runs.
|
|
643
|
+
*
|
|
644
|
+
* - **Hosted platform** (`mode: "hosted"`): `api.mem0.ai` with the V3
|
|
645
|
+
* async pipeline. `POST /v3/memories/add/` returns an `event_id` that is
|
|
646
|
+
* polled until `SUCCEEDED`. Search uses `POST /v3/memories/search/`.
|
|
647
|
+
*
|
|
648
|
+
* The adapter accepts an injectable `fetch` so the deterministic fixture
|
|
649
|
+
* smoke test exercises the full request/response cycle without a network.
|
|
650
|
+
* No keys are embedded; without operator-provided credentials every method
|
|
651
|
+
* throws `MissingCredentialError` (skip-with-reason — no keys in CI).
|
|
652
|
+
*/
|
|
653
|
+
|
|
654
|
+
interface Mem0AdapterConfig extends ThirdPartyAdapterConfig {
|
|
655
|
+
/**
|
|
656
|
+
* Deployment mode.
|
|
657
|
+
* - `"oss"` — self-hosted synchronous server (recommended for lab runs).
|
|
658
|
+
* - `"hosted"` — api.mem0.ai V3 async pipeline.
|
|
659
|
+
*
|
|
660
|
+
* Defaults to `"oss"` when a custom `baseUrl` is set, `"hosted"` otherwise.
|
|
661
|
+
*/
|
|
662
|
+
mode?: "oss" | "hosted";
|
|
663
|
+
/** Prefix prepended to sessionKeys to namespace Mem0 user_ids. */
|
|
664
|
+
userIdPrefix?: string;
|
|
665
|
+
/**
|
|
666
|
+
* OSS authentication header mode.
|
|
667
|
+
* - "x-api-key" (default): send the API key as X-API-Key. Mem0's self-hosted
|
|
668
|
+
* REST auth uses X-API-Key for per-user/API keys (m0sk_…, ADMIN_API_KEY);
|
|
669
|
+
* Authorization: Bearer is reserved for dashboard JWTs
|
|
670
|
+
* (https://docs.mem0.ai/open-source/features/rest-api#authentication).
|
|
671
|
+
* - "bearer": send Authorization: Bearer for operators who deploy JWT auth.
|
|
672
|
+
*/
|
|
673
|
+
ossAuthMode?: "x-api-key" | "bearer";
|
|
674
|
+
/** Hosted-mode: interval between event-status polls (ms). */
|
|
675
|
+
pollIntervalMs?: number;
|
|
676
|
+
/** Hosted-mode: maximum poll attempts before timing out. */
|
|
677
|
+
maxPolls?: number;
|
|
678
|
+
}
|
|
679
|
+
/**
|
|
680
|
+
* MemCorrect adapter for Mem0. Construct with operator-provided credentials;
|
|
681
|
+
* pass a `fetch` override for deterministic testing.
|
|
682
|
+
*
|
|
683
|
+
* @example
|
|
684
|
+
* // Lab run (operator provides keys):
|
|
685
|
+
* const adapter = new Mem0MemCorrectAdapter({
|
|
686
|
+
* mode: "oss",
|
|
687
|
+
* baseUrl: process.env.MEM0_BASE_URL,
|
|
688
|
+
* apiKey: process.env.MEM0_API_KEY,
|
|
689
|
+
* });
|
|
690
|
+
*
|
|
691
|
+
* @example
|
|
692
|
+
* // Keyless — every method throws MissingCredentialError (skip-with-reason):
|
|
693
|
+
* const adapter = new Mem0MemCorrectAdapter({});
|
|
694
|
+
*/
|
|
695
|
+
declare class Mem0MemCorrectAdapter implements MemCorrectSystemAdapter {
|
|
696
|
+
readonly label: string;
|
|
697
|
+
private readonly mode;
|
|
698
|
+
private readonly baseUrl;
|
|
699
|
+
private readonly apiKey;
|
|
700
|
+
private readonly userIdPrefix;
|
|
701
|
+
private readonly ossAuthMode;
|
|
702
|
+
private readonly pollIntervalMs;
|
|
703
|
+
private readonly maxPolls;
|
|
704
|
+
private readonly fetchImpl;
|
|
705
|
+
private readonly timeoutMs;
|
|
706
|
+
/** Session-scoped user_ids we have ingested under, for precise reset. */
|
|
707
|
+
private readonly knownSessions;
|
|
708
|
+
constructor(config?: Mem0AdapterConfig);
|
|
709
|
+
/** Whether this adapter has the credentials needed to run. */
|
|
710
|
+
isConfigured(): boolean;
|
|
711
|
+
private userIdFor;
|
|
712
|
+
private ensureReady;
|
|
713
|
+
private authHeaders;
|
|
714
|
+
reset(): Promise<void>;
|
|
715
|
+
ingestTurn(sessionKey: string, role: "user" | "assistant", text: string, _at: string): Promise<void>;
|
|
716
|
+
recall(query: string, sessionKey: string): Promise<string[]>;
|
|
717
|
+
correct(text: string, sessionKey: string, _at?: string): Promise<void>;
|
|
718
|
+
runMaintenance(): Promise<void>;
|
|
719
|
+
/** Poll the hosted event endpoint until the add is processed. */
|
|
720
|
+
private pollEvent;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* Zep MemCorrect adapter (issue #1727 — second priority).
|
|
725
|
+
*
|
|
726
|
+
* Drives Zep through its public v2 REST API so MemCorrect can score Zep on the
|
|
727
|
+
* same correction/steerability corpus as the Remnic adapter.
|
|
728
|
+
*
|
|
729
|
+
* Zep's model: sessions are the ingestion unit; `memory.add` ingests chat
|
|
730
|
+
* messages into a session and builds a user-level knowledge graph; `memory.get`
|
|
731
|
+
* retrieves a relevance-ranked context string for the prompt. This adapter
|
|
732
|
+
* uses the documented high-level Memory API — the same path a Zep integrator
|
|
733
|
+
* follows in production. Reaching into the graph internals would not be a
|
|
734
|
+
* faithful exercise of Zep's normal recall path.
|
|
735
|
+
*
|
|
736
|
+
* REST endpoints used (base: `https://api.getzep.com/api/v2`):
|
|
737
|
+
* - `POST /sessions/{sessionId}` — ensure session exists
|
|
738
|
+
* - `POST /sessions/{sessionId}/memory` — add messages (ingest + correct)
|
|
739
|
+
* - `POST /graph/search` — query-driven fact recall
|
|
740
|
+
* - `DELETE /sessions/{sessionId}` — full clean slate (reset)
|
|
741
|
+
*
|
|
742
|
+
* The adapter accepts an injectable `fetch` so the deterministic fixture smoke
|
|
743
|
+
* test exercises the full request/response cycle without a network. No keys
|
|
744
|
+
* are embedded; without operator-provided credentials every method throws
|
|
745
|
+
* `MissingCredentialError` (skip-with-reason — no keys in CI).
|
|
746
|
+
*/
|
|
747
|
+
|
|
748
|
+
interface ZepAdapterConfig extends ThirdPartyAdapterConfig {
|
|
749
|
+
/** Prefix prepended to sessionKeys to namespace Zep session IDs. */
|
|
750
|
+
sessionPrefix?: string;
|
|
751
|
+
/**
|
|
752
|
+
* Milliseconds to wait for Zep's asynchronous graph processing to extract
|
|
753
|
+
* facts after an ingest before a scored probe reads them. Applied at the
|
|
754
|
+
* ingest→probe boundary (the MemCorrect runner records the baseline recall
|
|
755
|
+
* right after establishing turns and the uptake recall right after correct(),
|
|
756
|
+
* both before runMaintenance), and again in runMaintenance. Zep docs note
|
|
757
|
+
* ingestion "can take a few minutes"; this tunable makes scored reads
|
|
758
|
+
* reproducible. Default 0 (best-effort; raise for real Zep runs).
|
|
759
|
+
*/
|
|
760
|
+
settleMs?: number;
|
|
761
|
+
}
|
|
762
|
+
/**
|
|
763
|
+
* MemCorrect adapter for Zep. Construct with operator-provided credentials;
|
|
764
|
+
* pass a `fetch` override for deterministic testing.
|
|
765
|
+
*/
|
|
766
|
+
declare class ZepMemCorrectAdapter implements MemCorrectSystemAdapter {
|
|
767
|
+
readonly label = "zep";
|
|
768
|
+
private readonly baseUrl;
|
|
769
|
+
private readonly apiKey;
|
|
770
|
+
private readonly sessionPrefix;
|
|
771
|
+
private readonly settleMs;
|
|
772
|
+
private readonly fetchImpl;
|
|
773
|
+
private readonly timeoutMs;
|
|
774
|
+
/** Sessions we have ensured exist, to avoid redundant POST /sessions calls. */
|
|
775
|
+
private readonly knownSessions;
|
|
776
|
+
/** True when turns have been ingested since the last settle, so recall() can
|
|
777
|
+
* wait for Zep's async graph pipeline before a scored read. */
|
|
778
|
+
private pendingIngest;
|
|
779
|
+
constructor(config?: ZepAdapterConfig);
|
|
780
|
+
isConfigured(): boolean;
|
|
781
|
+
private sessionIdFor;
|
|
782
|
+
private ensureReady;
|
|
783
|
+
private authHeaders;
|
|
784
|
+
reset(): Promise<void>;
|
|
785
|
+
/** Ensure the Zep session (and its user) exist before adding memory. */
|
|
786
|
+
private ensureSession;
|
|
787
|
+
ingestTurn(sessionKey: string, role: "user" | "assistant", text: string, _at: string): Promise<void>;
|
|
788
|
+
recall(query: string, sessionKey: string): Promise<string[]>;
|
|
789
|
+
correct(text: string, sessionKey: string, _at?: string): Promise<void>;
|
|
790
|
+
runMaintenance(): Promise<void>;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* Letta MemCorrect adapter (issue #1727 — third priority).
|
|
795
|
+
*
|
|
796
|
+
* Drives Letta (formerly MemGPT) through its public REST API so MemCorrect
|
|
797
|
+
* can score Letta on the same correction/steerability corpus.
|
|
798
|
+
*
|
|
799
|
+
* Letta's model: stateful agents with editable memory blocks. Each
|
|
800
|
+
* MemCorrect session maps to one Letta agent. Messages are sent through
|
|
801
|
+
* `POST /v1/agents/{id}/messages`; the agent autonomously updates its memory
|
|
802
|
+
* blocks via the built-in `memory_insert` / `memory_replace` tools. Recall
|
|
803
|
+
* reads the memory blocks back — this is Letta's normal memory surface, not
|
|
804
|
+
* an internal hack.
|
|
805
|
+
*
|
|
806
|
+
* REST endpoints used (base: operator-provided Letta server URL):
|
|
807
|
+
* - `POST /v1/agents/` — create a stateful agent
|
|
808
|
+
* - `POST /v1/agents/{id}/messages` — send a user message (ingest + correct)
|
|
809
|
+
* - `GET /v1/agents/{id}/core-memory/blocks` — read memory blocks (recall)
|
|
810
|
+
* - `DELETE /v1/agents/{id}` — destroy agent (reset)
|
|
811
|
+
*
|
|
812
|
+
* The adapter accepts an injectable `fetch` so the deterministic fixture
|
|
813
|
+
* smoke test exercises the full request/response cycle without a network.
|
|
814
|
+
*/
|
|
815
|
+
|
|
816
|
+
interface LettaAdapterConfig extends ThirdPartyAdapterConfig {
|
|
817
|
+
/** LLM model handle for created agents (e.g. "openai/gpt-4o"). Required. */
|
|
818
|
+
model?: string;
|
|
819
|
+
/** Prefix for agent names to namespace them from other Letta agents. */
|
|
820
|
+
agentNamePrefix?: string;
|
|
821
|
+
/** Persona block content for created agents. */
|
|
822
|
+
personaBlock?: string;
|
|
823
|
+
}
|
|
824
|
+
/**
|
|
825
|
+
* MemCorrect adapter for Letta. Construct with operator-provided credentials;
|
|
826
|
+
* pass a `fetch` override for deterministic testing.
|
|
827
|
+
*/
|
|
828
|
+
declare class LettaMemCorrectAdapter implements MemCorrectSystemAdapter {
|
|
829
|
+
readonly label = "letta";
|
|
830
|
+
private readonly baseUrl;
|
|
831
|
+
private readonly apiKey;
|
|
832
|
+
private readonly model;
|
|
833
|
+
private readonly agentNamePrefix;
|
|
834
|
+
private readonly personaBlock;
|
|
835
|
+
private readonly fetchImpl;
|
|
836
|
+
private readonly timeoutMs;
|
|
837
|
+
/** Maps MemCorrect sessionKey → Letta agent_id. */
|
|
838
|
+
private readonly agentsBySession;
|
|
839
|
+
constructor(config?: LettaAdapterConfig);
|
|
840
|
+
isConfigured(): boolean;
|
|
841
|
+
private ensureReady;
|
|
842
|
+
private authHeaders;
|
|
843
|
+
reset(): Promise<void>;
|
|
844
|
+
/** Create a Letta agent for the session if one does not yet exist. */
|
|
845
|
+
private ensureAgent;
|
|
846
|
+
ingestTurn(sessionKey: string, role: "user" | "assistant", text: string, _at: string): Promise<void>;
|
|
847
|
+
recall(_query: string, sessionKey: string): Promise<string[]>;
|
|
848
|
+
correct(text: string, sessionKey: string, _at?: string): Promise<void>;
|
|
849
|
+
runMaintenance(): Promise<void>;
|
|
850
|
+
}
|
|
851
|
+
|
|
572
852
|
/**
|
|
573
853
|
* Shared types for inbox fixture generators.
|
|
574
854
|
*/
|
|
@@ -766,6 +1046,19 @@ interface CodexCliProviderConfig extends ProviderBaseConfig {
|
|
|
766
1046
|
*/
|
|
767
1047
|
diagnosticsMode?: "metadata" | "full";
|
|
768
1048
|
}
|
|
1049
|
+
interface ClaudeCliProviderConfig extends ProviderBaseConfig {
|
|
1050
|
+
provider?: "claude-cli";
|
|
1051
|
+
/** Optional executable override for tests or non-standard Claude Code installs. */
|
|
1052
|
+
executable?: string;
|
|
1053
|
+
/**
|
|
1054
|
+
* Max concurrent `claude -p` invocations. Defaults to 1 (fully
|
|
1055
|
+
* serialized) — the operator's Claude Max plan enforces shared 5-hour
|
|
1056
|
+
* and weekly usage caps, so the bench harness must not fire concurrent
|
|
1057
|
+
* CLI invocations against it even when the harness's own trial
|
|
1058
|
+
* concurrency setting is higher.
|
|
1059
|
+
*/
|
|
1060
|
+
concurrency?: number;
|
|
1061
|
+
}
|
|
769
1062
|
type ProviderFactoryConfig = (OpenAiCompatibleProviderConfig & {
|
|
770
1063
|
provider: "openai" | "litellm";
|
|
771
1064
|
}) | (AnthropicProviderConfig & {
|
|
@@ -776,6 +1069,8 @@ type ProviderFactoryConfig = (OpenAiCompatibleProviderConfig & {
|
|
|
776
1069
|
provider: "local-llm";
|
|
777
1070
|
}) | (CodexCliProviderConfig & {
|
|
778
1071
|
provider: "codex-cli";
|
|
1072
|
+
}) | (ClaudeCliProviderConfig & {
|
|
1073
|
+
provider: "claude-cli";
|
|
779
1074
|
});
|
|
780
1075
|
interface ProviderDiscoveryResult {
|
|
781
1076
|
provider: BuiltInProvider;
|
|
@@ -1378,6 +1673,30 @@ declare function loadBenchmarkArtifact(filePath: string): Promise<{
|
|
|
1378
1673
|
|
|
1379
1674
|
declare function createAnthropicProvider(config: AnthropicProviderConfig): LlmProvider;
|
|
1380
1675
|
|
|
1676
|
+
interface ClaudeCliRunRequest {
|
|
1677
|
+
executable: string;
|
|
1678
|
+
args: string[];
|
|
1679
|
+
input: string;
|
|
1680
|
+
cwd: string;
|
|
1681
|
+
timeoutMs?: number;
|
|
1682
|
+
signal?: AbortSignal;
|
|
1683
|
+
env: NodeJS.ProcessEnv;
|
|
1684
|
+
}
|
|
1685
|
+
interface ClaudeCliRunResult {
|
|
1686
|
+
status: number | null;
|
|
1687
|
+
signal: NodeJS.Signals | null;
|
|
1688
|
+
stdout: string;
|
|
1689
|
+
stderr: string;
|
|
1690
|
+
}
|
|
1691
|
+
interface ClaudeCliProviderDeps {
|
|
1692
|
+
runClaudeCli?: (request: ClaudeCliRunRequest) => Promise<ClaudeCliRunResult>;
|
|
1693
|
+
runClaudeVersion?: (executable: string, env: NodeJS.ProcessEnv) => Promise<{
|
|
1694
|
+
status: number | null;
|
|
1695
|
+
stderr: string;
|
|
1696
|
+
}>;
|
|
1697
|
+
}
|
|
1698
|
+
declare function createClaudeCliProvider(config: ClaudeCliProviderConfig, deps?: ClaudeCliProviderDeps): LlmProvider;
|
|
1699
|
+
|
|
1381
1700
|
interface CodexCliRunRequest {
|
|
1382
1701
|
executable: string;
|
|
1383
1702
|
args: string[];
|
|
@@ -3412,6 +3731,88 @@ interface RunProceduralAblationCliArgs {
|
|
|
3412
3731
|
}
|
|
3413
3732
|
declare function runProceduralAblationCli(args: RunProceduralAblationCliArgs): Promise<ProceduralAblationArtifact>;
|
|
3414
3733
|
|
|
3734
|
+
/**
|
|
3735
|
+
* Single-flag ablation matrix for the published-benchmark ablation suite
|
|
3736
|
+
* (issues #1574 §"Ablations" and #1730).
|
|
3737
|
+
*
|
|
3738
|
+
* Each ablation is a reproducible run config: a named cell that flips exactly
|
|
3739
|
+
* one Remnic config flag relative to the {@link buildBenchBaselineRemnicConfig}
|
|
3740
|
+
* baseline, so the delta against the matching baseline artifact isolates that
|
|
3741
|
+
* flag's effect. The matrix is pure data — no I/O — so it is trivially
|
|
3742
|
+
* testable and the runner script (`scripts/bench/run-ablation-matrix.ts`) is
|
|
3743
|
+
* just a thin shell over the public bench API.
|
|
3744
|
+
*
|
|
3745
|
+
* The three axes come straight from #1574's "Ablations" section:
|
|
3746
|
+
* 1. Memory Worth recall multiplier (`recallMemoryWorthFilterEnabled`)
|
|
3747
|
+
* 2. Contradiction scan — implemented via the INLINE write-path gate
|
|
3748
|
+
* `contradictionDetectionEnabled` (NOT the `contradictionScan` cron,
|
|
3749
|
+
* which only registers a scheduled job that never fires during a bench
|
|
3750
|
+
* replay, so it would measure nothing).
|
|
3751
|
+
* 3. Graph / temporal recall (`graphRecallEnabled` + `multiGraphMemoryEnabled`
|
|
3752
|
+
* — orchestrator.ts §1379 requires BOTH for graph_mode — + the full-mode
|
|
3753
|
+
* graph assist gate).
|
|
3754
|
+
*
|
|
3755
|
+
* Baseline state of each flag (the raw `config.ts` parse default, since the
|
|
3756
|
+
* bench baseline config does NOT override these):
|
|
3757
|
+
* - `recallMemoryWorthFilterEnabled`: **true** (default; #1574 baseline ran
|
|
3758
|
+
* with it ON, so the ablation cell turns it OFF to measure the cost of
|
|
3759
|
+
* removing it).
|
|
3760
|
+
* - `contradictionDetectionEnabled`: **false** (config.ts §2078; ablation
|
|
3761
|
+
* cell turns it ON so write-path supersessions land before answering).
|
|
3762
|
+
* - `graphRecallEnabled` / `multiGraphMemoryEnabled`: **false** (default;
|
|
3763
|
+
* ablation cell turns BOTH on + the full-mode graph assist).
|
|
3764
|
+
*
|
|
3765
|
+
* `trustScoreEnabled` is deliberately NOT an axis here: it is the unified
|
|
3766
|
+
* stage from #1577 and subsumes the Memory Worth multiplier when on (rule 39).
|
|
3767
|
+
* Its ablation belongs to the #1577 / #1585 model-lab track, not the
|
|
3768
|
+
* single-flag publishable-artifact track this matrix serves.
|
|
3769
|
+
*
|
|
3770
|
+
* Every cell carries a `baselineState` note so a reader of a committed
|
|
3771
|
+
* artifact can tell which direction the flag was flipped without cross-
|
|
3772
|
+
* referencing config.ts. The runner stamps this into the artifact `note`.
|
|
3773
|
+
*/
|
|
3774
|
+
|
|
3775
|
+
/** Identifier for one ablation cell. Stable across runs; used in artifact notes + filenames. */
|
|
3776
|
+
type SingleFlagAblationId = "memory-worth-off" | "contradiction-scan-on" | "graph-recall-on";
|
|
3777
|
+
/** The config-override payload merged into `adapterOptions.configOverrides`. */
|
|
3778
|
+
type AblationConfigOverrides = Record<string, unknown>;
|
|
3779
|
+
/** One reproducible ablation cell. */
|
|
3780
|
+
interface SingleFlagAblationCell {
|
|
3781
|
+
/** Stable cell id; appears in artifact notes and STATUS logs. */
|
|
3782
|
+
id: SingleFlagAblationId;
|
|
3783
|
+
/** Human-readable label for tables / STATUS files. */
|
|
3784
|
+
label: string;
|
|
3785
|
+
/** Which #1574 ablation axis this cell exercises. */
|
|
3786
|
+
axis: "memory-worth" | "contradiction-scan" | "graph-recall";
|
|
3787
|
+
/** One-line description of what the cell flips + why, for the artifact `note`. */
|
|
3788
|
+
description: string;
|
|
3789
|
+
/** State of the flag in the baseline run (so the delta direction is unambiguous). */
|
|
3790
|
+
baselineState: string;
|
|
3791
|
+
/** The Remnic config overrides that define this cell (merged over the baseline). */
|
|
3792
|
+
configOverrides: AblationConfigOverrides;
|
|
3793
|
+
/** The single top-level flag key this cell toggles (for grep / ratchet checks). */
|
|
3794
|
+
primaryFlag: "recallMemoryWorthFilterEnabled" | "contradictionDetectionEnabled" | "graphRecallEnabled";
|
|
3795
|
+
}
|
|
3796
|
+
/**
|
|
3797
|
+
* The canonical 3-cell single-flag ablation matrix (issue #1574 §"Ablations",
|
|
3798
|
+
* verified/produced for the paper under issue #1730).
|
|
3799
|
+
*
|
|
3800
|
+
* Order is stable: memory-worth → contradiction-scan → graph-recall. The
|
|
3801
|
+
* runner executes them in this order; tests assert the exact order so a
|
|
3802
|
+
* reordered matrix is a visible review signal, not a silent change.
|
|
3803
|
+
*/
|
|
3804
|
+
declare const SINGLE_FLAG_ABLATION_MATRIX: readonly SingleFlagAblationCell[];
|
|
3805
|
+
/**
|
|
3806
|
+
* The default benchmark the ablation matrix targets. LoCoMo is the headline
|
|
3807
|
+
* long-conversation benchmark and the one the #1574 baseline artifacts cover
|
|
3808
|
+
* at full scale (1986 QA across 10 conversations); the ablation cells compare
|
|
3809
|
+
* against that baseline. LongMemEval ablations are a documented follow-up
|
|
3810
|
+
* (issue #1730 scope: coordinate with, not duplicate, the rest of the paper).
|
|
3811
|
+
*/
|
|
3812
|
+
declare const DEFAULT_ABLATION_BENCHMARK: PublishedBenchmarkId;
|
|
3813
|
+
/** Look up a cell by id. Throws on unknown id (fail fast at the runner boundary). */
|
|
3814
|
+
declare function getAblationCell(id: SingleFlagAblationId): SingleFlagAblationCell;
|
|
3815
|
+
|
|
3415
3816
|
/**
|
|
3416
3817
|
* Real-fixture procedural-recall scenarios (issue #567 PR 2/5).
|
|
3417
3818
|
*
|
|
@@ -4222,4 +4623,4 @@ declare function checkCodingGraphRegression(report: CodingGraphBenchReport, base
|
|
|
4222
4623
|
*/
|
|
4223
4624
|
declare function buildBaselineFromReport(report: CodingGraphBenchReport, note: string): CodingGraphBaseline;
|
|
4224
4625
|
|
|
4225
|
-
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 AbstentionRetrievalCase, type AggregateMetrics, type AmaBenchDiagnosticAdapterOptions, type AmaBenchDiagnosticAnswererMode, type AmaBenchDiagnosticBreakdown, type AmaBenchDiagnosticMatrixArtifact, type AmaBenchDiagnosticRecallMode, type AmaBenchDiagnosticRunContext, type AmaBenchDiagnosticTaskEvidence, type AmaBenchDiagnosticTaskRow, type AmaBenchDiagnosticVariant, type AmaBenchDiagnosticVariantSummary, type AnthropicProviderConfig, type AssistantAgent, type AssistantMemoryFact, type AssistantMemoryGraph, type AssistantRubricDimension, type AssistantRubricScores, type AssistantRunnerOptions, type AssistantScenario, type AssistantStance, type AttackRecallOptions, type AttackRetrievalHit, type AttackerMode, BENCHMARK_ARTIFACT_SCHEMA_VERSION, BENCHMARK_INTEGRITY_META_SCHEMA, BENCHMARK_REPRO_MANIFEST_FILENAME, BENCHMARK_REPRO_MANIFEST_SCHEMA_VERSION, BENCHMARK_RESULT_SCHEMA, BENCHMARK_SPLIT_TYPES, type BaselineRow, type BaselineScenario, type BeamDatasetPreview, type BenchConfig, type BenchJudge, type BenchJudgeResult, type BenchMemoryAdapter, type BenchModelSource, type BenchReasoningEffort, type BenchRecallOptions, type BenchResponder, type BenchResponse, type BenchRuntimeProfile, type BenchTier, type BenchmarkArtifact, type BenchmarkArtifactEnvironment, type BenchmarkArtifactHardware, type BenchmarkArtifactJudgeCalibration, type BenchmarkArtifactPerTaskScore, type BenchmarkArtifactSystem, type BenchmarkArtifactTier, type BenchmarkCategory, type BenchmarkDefinition, type BenchmarkIntegrityMeta, type BenchmarkMeta, type BenchmarkMode, type BenchmarkReport, type BenchmarkReproManifest, type BenchmarkReproManifestDataset, type BenchmarkReproManifestFile, type BenchmarkReproManifestResult, type BenchmarkResult, type BenchmarkSplitType, type BenchmarkStatus, type BenchmarkSuiteResult, type BenchmarkTier, type BuildBenchmarkArtifactInput, type BuildBenchmarkPublishFeedOptions, type BuildBenchmarkReproManifestOptions, 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 CodexCliProviderConfig, 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 CustomBenchmarkScoring, type CustomBenchmarkSpec, type CustomBenchmarkTask, DEFAULT_ABLATION_BOOTSTRAP_SEED, DEFAULT_ASSISTANT_RUBRIC_ID, DEFAULT_BASELINE_SCENARIOS, DEFAULT_JUDGE_BINARIZATION_THRESHOLD, type DatasetSource, type DiscoveredModel, EMPTY_CONTAMINATION_MANIFEST, type EffectSizeInterpretation, type EffectSizeSummary, type ExplainResult, type ExtractedEntity, type ExtractedLink, type ExtractedPage, type ExtractionAttackOptions, type ExtractionAttackResult, type ExtractionAttackTarget, type FixtureGenerator, type FixtureOutput, type FixtureVariant, type GeneratedFile, type GeneratedRepo, type GoldEntity, type GoldEntityType, type GoldGraph, type GoldLink, type GoldPage, type HarnessRng, INTEGRITY_CIPHER_ALGORITHM, INTEGRITY_HASH_ALGORITHM, INTEGRITY_META_FIELDS, type IngestionBenchAdapter, type IngestionLog, JUDGE_CALIBRATION_KAPPA_THRESHOLD, type JudgeCalibrationIdentities, type JudgeCalibrationResult, type JudgeCategory, LOCAL_LAB_PROVIDER_KINDS, LOCOMO_DATASET_FILENAMES, LONG_MEM_EVAL_DATASET_FILENAMES, type LeaderboardArtifactWrite, type LlmJudge, type LlmProvider, 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, MEMORY_EVAL_DIMENSIONS, MEMORY_EVAL_PUBLIC_LINE, MIN_CALIBRATION_SOURCE_TASKS, MITIGATED_BASELINE_SCENARIOS, type MemCorrectGeneratorOptions, type MemCorrectSystemAdapter, type MemoryEvalCategory, type MemoryEvalDimension, type MemoryEvalDimensionId, type MemoryEvalMetric, type MemoryGraph, type MemoryStats, type MemorySystem, type Message, type MetricAggregate, type MicroMetric, type MitigatedBaselineConfig, type MitigatedTargetConfig, type MultipleChoiceQuestion, OTHER_NAMESPACE_MEMORIES, type OllamaProviderConfig, type OpenAiCompatibleProviderConfig, PROCEDURAL_REAL_SCENARIOS, PROCEDURAL_REAL_SCENARIOS_SMOKE, PUBLISHED_BENCHMARK_ARTIFACT_IDS, 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, REQUIRED_FRONTMATTER_FIELDS, type RecallMetrics, type RecoveredMemory, type RegressionDetail, type RegressionGateResult$1 as RegressionGateResult, type RemnicAdapterOptions, type ResolveBenchRuntimeProfileOptions, type ResolvedBenchRuntimeProfile, type ResolvedLocalLabProfile, type ResolvedLocalLabRole, type ResolvedRunBenchmarkOptions, type RotatedChoices, type RunBenchmarkOptions, type RunJudgeCalibrationOptions, type RunProceduralAblationCliArgs, type RunProceduralAblationOptions, type RunSequentialPhasesOptions, SCHEMA_TIER_FIXTURE, SCHEMA_TIER_SMOKE_FIXTURE, SEALED_PROMPT_REGISTRY, 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 SeededRng, type SequentialPhaseHooks, type SpotCheckLogger, type StatisticalReport, type StructuredJudge, type SyntheticEdge, type SyntheticEmailIngestionAdapterOptions, type SyntheticFileIR, type SyntheticRepoConfig, type SyntheticSymbol, type SyntheticTargetOptions, type TaskResult, type TaskTokenUsage, type TemporalRetrievalCase, type TierDetail, type TimelineEntry, type TokenUsage, type WallMetric, type WriteBenchmarkArtifactResult, addContaminationEntry, aggregateTaskScores, answerBenchmarkQuestion, assertCanaryUnderFloor, assertIntegrityMetaPresent, assertPublishableIntegrity, assertSha256Hex, assistantMeetingPrepDefinition, assistantMorningBriefDefinition, assistantNextBestActionDefinition, assistantSynthesisDefinition, backlinkF1, binarizeJudgeScore, bootstrapMeanConfidenceInterval, buildAmaBenchDiagnosticMatrixArtifact, buildAmaBenchDiagnosticVariantSummary, buildAmaBenchLeaderboardRows, buildBaselineFromReport, buildBenchmarkArtifact, buildBenchmarkArtifactFilename, buildBenchmarkPublishFeed, buildBenchmarkReproManifest, buildBenchmarkRunSeeds, buildJudgePayload, buildOracleTrajectoryRecall, buildSchemaTierFixture, buildSchemaTierSmokeFixture, calendarFixture, canonicalJsonStringify, captureMachineFingerprint, chatFixture, checkCodingGraphRegression, checkDatasetContamination, checkRegression, clampScore, cohensD, compareResults, computeCohensKappa, computeSealHash, containsAnswer, createSeededRng$1 as createAdamSeededRng, createAmaBenchDiagnosticAdapter, createAnthropicProvider, createCanaryAdapter, createCodexCliProvider, createSeededRng as createCodingGraphSeededRng, createDeterministicSpotCheckLogger, createGatewayResponder, createLightweightAdapter, createLiteLlmProvider, createLocalLlmProvider, createMitigatedTarget, createOllamaProvider, createOpenAiCompatibleProvider, createSeededRandom as createProceduralAblationSeededRandom, createProvider, createProviderBackedAmaBenchRecommendedJudge, createProviderBackedJudge, createProviderBackedResponder, createProviderBackedStructuredJudge, createRemnicAdapter, createResponderFromProvider, createSeededRng$2 as createSeededRng, createSpotCheckFileLogger, createStructuredJudgeFromProvider, createSyntheticEmailIngestionAdapter, createSyntheticTarget, createTimeoutGuardedAdapter, defaultBenchmarkBaselineDir, defaultBenchmarkPublishPath, deleteBenchmarkResults, discoverAllProviders, discoveryEndpointFor, emailFixture, entityRecall, exactMatch, extractMetrics as extractCodingGraphMetrics, extractMarkdownSectionsByTitle, f1Score, fixtureToAblationScenarios, formatHandoffNote, formatMissingDatasetError, generateReport, generateSyntheticRepo, getBenchmark, getBenchmarkLowerIsBetter, getMemoryEvalDimension, getRemnicVersion, hashBenchmarkArtifact, hashBytes, hashCanonicalJson, hashString, integrityMetaIsComplete, interpretEffectSize, isAmaBenchUnknownLikeAnswer, isContaminationEntry, isContaminationManifest, isSealedQrelsArtifact, isSha256Hex, linkMatches, listBenchmarkBaselines, listBenchmarkResults, listBenchmarks, listMemoryEvalBenchmarkIds, listMemoryEvalDimensions, llmJudgeScore, llmJudgeScoreDetailed, loadAblationFixture, loadBaseline, loadBeamDatasetPreview, loadBenchmarkArtifact, loadBenchmarkBaseline, loadBenchmarkResult, loadCustomBenchmarkFile, loadJudgeCalibrationState, loadLoCoMo10, loadLocalLabManifest, loadLongMemEvalS, loadSealKeyFromEnv, loadSealedQrels, loadSealedRubric, matchEntity, mergeContaminationManifests, openSeal, orchestrateBenchmarkRuns, pairedDeltaConfidenceInterval, parseBenchmarkArtifact, parseCustomBenchmark, parseLocalLabManifest, parseRubricResponse, parseSealedQrels, pickStableQualifiedName, precisionAtK, preflightLocalLabRole, projectFolderFixture, recallAtK, redactBenchmarkResultSecrets, renderBaselineMarkdown, renderBenchmarkResultExport, renderMemorySummaryForJudge, renderMemoryViewForAgent, resolveAssistantAgent, resolveAssistantRubricId, resolveAssistantSeeds, resolveAssistantSpotCheckDir, resolveBenchRuntimeProfile, resolveBenchmarkPhaseTimeoutMs, resolveBenchmarkProgressLogging, resolveBenchmarkResultReference, resolveBenchmarkRunCount, resolveLocalLabProfile, resolveLocalLabRole, resolveStructuredJudge, rotateDistractors, rougeL, runAssistantBenchmark, runAssistantMeetingPrepBenchmark, runAssistantMorningBriefBenchmark, runAssistantNextBestActionBenchmark, runAssistantSynthesisBenchmark, runBaseline, runBenchSuite, runBenchmark, runCodingGraphBenchmark, runCustomBenchmarkFile, runExplain, runExtractionAttack, runJudgeCalibration, runMitigatedBaseline, runProceduralAblation, runProceduralAblationCli, runSealedJudge, runSequentialPhases, safeHexEqual, saveBaseline, saveBenchmarkBaseline, schemaCompleteness, sealPayload, selectAmaBenchDiagnosticVariants, selectCalibrationSlice, selectFixtureVariant, serializeBenchmarkArtifact, serializeJsonl, serializeSealedQrels, shuffleTasks, timed, verifyRubricDigest, writeBenchmarkArtifact, writeBenchmarkPublishFeed, writeBenchmarkReproManifest, writeBenchmarkResult, writeJudgeCalibrationState, writeLeaderboardArtifactsForResult, zeroScores };
|
|
4626
|
+
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 AggregateMetrics, type AmaBenchDiagnosticAdapterOptions, type AmaBenchDiagnosticAnswererMode, type AmaBenchDiagnosticBreakdown, type AmaBenchDiagnosticMatrixArtifact, type AmaBenchDiagnosticRecallMode, type AmaBenchDiagnosticRunContext, type AmaBenchDiagnosticTaskEvidence, type AmaBenchDiagnosticTaskRow, type AmaBenchDiagnosticVariant, type AmaBenchDiagnosticVariantSummary, type AnthropicProviderConfig, type AssistantAgent, type AssistantMemoryFact, type AssistantMemoryGraph, type AssistantRubricDimension, type AssistantRubricScores, type AssistantRunnerOptions, type AssistantScenario, type AssistantStance, type AttackRecallOptions, type AttackRetrievalHit, type AttackerMode, BENCHMARK_ARTIFACT_SCHEMA_VERSION, BENCHMARK_INTEGRITY_META_SCHEMA, BENCHMARK_REPRO_MANIFEST_FILENAME, BENCHMARK_REPRO_MANIFEST_SCHEMA_VERSION, BENCHMARK_RESULT_SCHEMA, BENCHMARK_SPLIT_TYPES, type BaselineRow, type BaselineScenario, type BeamDatasetPreview, type BenchConfig, type BenchJudge, type BenchJudgeResult, type BenchMemoryAdapter, type BenchModelSource, type BenchReasoningEffort, type BenchRecallOptions, type BenchResponder, type BenchResponse, type BenchRuntimeProfile, type BenchTier, type BenchmarkArtifact, type BenchmarkArtifactEnvironment, type BenchmarkArtifactHardware, type BenchmarkArtifactJudgeCalibration, type BenchmarkArtifactPerTaskScore, type BenchmarkArtifactSystem, type BenchmarkArtifactTier, type BenchmarkCategory, type BenchmarkDefinition, type BenchmarkIntegrityMeta, type BenchmarkMeta, type BenchmarkMode, type BenchmarkReport, type BenchmarkReproManifest, type BenchmarkReproManifestDataset, type BenchmarkReproManifestFile, type BenchmarkReproManifestResult, type BenchmarkResult, type BenchmarkSplitType, type BenchmarkStatus, type BenchmarkSuiteResult, type BenchmarkTier, type BuildBenchmarkArtifactInput, type BuildBenchmarkPublishFeedOptions, type BuildBenchmarkReproManifestOptions, 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 ClaudeCliProviderConfig, type CodexCliProviderConfig, 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 CustomBenchmarkScoring, type CustomBenchmarkSpec, type CustomBenchmarkTask, DEFAULT_ABLATION_BENCHMARK, DEFAULT_ABLATION_BOOTSTRAP_SEED, DEFAULT_ASSISTANT_RUBRIC_ID, DEFAULT_BASELINE_SCENARIOS, DEFAULT_JUDGE_BINARIZATION_THRESHOLD, type DatasetSource, type DiscoveredModel, EMPTY_CONTAMINATION_MANIFEST, type EffectSizeInterpretation, type EffectSizeSummary, type ExplainResult, type ExtractedEntity, type ExtractedLink, type ExtractedPage, type ExtractionAttackOptions, type ExtractionAttackResult, type ExtractionAttackTarget, type FixtureGenerator, type FixtureOutput, type FixtureVariant, type GeneratedFile, type GeneratedRepo, type GoldEntity, type GoldEntityType, type GoldGraph, type GoldLink, type GoldPage, type HarnessRng, INTEGRITY_CIPHER_ALGORITHM, INTEGRITY_HASH_ALGORITHM, INTEGRITY_META_FIELDS, type IngestionBenchAdapter, type IngestionLog, JUDGE_CALIBRATION_KAPPA_THRESHOLD, type JudgeCalibrationIdentities, type JudgeCalibrationResult, type JudgeCategory, LOCAL_LAB_PROVIDER_KINDS, LOCOMO_DATASET_FILENAMES, LONG_MEM_EVAL_DATASET_FILENAMES, type LeaderboardArtifactWrite, type LettaAdapterConfig, LettaMemCorrectAdapter, type LlmJudge, type LlmProvider, 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, MEMORY_EVAL_DIMENSIONS, MEMORY_EVAL_PUBLIC_LINE, MIN_CALIBRATION_SOURCE_TASKS, MITIGATED_BASELINE_SCENARIOS, type Mem0AdapterConfig, Mem0MemCorrectAdapter, type MemCorrectGeneratorOptions, 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, OTHER_NAMESPACE_MEMORIES, type OllamaProviderConfig, type OpenAiCompatibleProviderConfig, PROCEDURAL_REAL_SCENARIOS, PROCEDURAL_REAL_SCENARIOS_SMOKE, PUBLISHED_BENCHMARK_ARTIFACT_IDS, 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, REQUIRED_FRONTMATTER_FIELDS, type RecallMetrics, type RecoveredMemory, type RegressionDetail, type RegressionGateResult$1 as RegressionGateResult, type RemnicAdapterOptions, type ResolveBenchRuntimeProfileOptions, type ResolvedBenchRuntimeProfile, type ResolvedLocalLabProfile, type ResolvedLocalLabRole, type ResolvedRunBenchmarkOptions, type RotatedChoices, type RunBenchmarkOptions, type RunJudgeCalibrationOptions, type RunProceduralAblationCliArgs, type RunProceduralAblationOptions, type RunSequentialPhasesOptions, SCHEMA_TIER_FIXTURE, SCHEMA_TIER_SMOKE_FIXTURE, SEALED_PROMPT_REGISTRY, SINGLE_FLAG_ABLATION_MATRIX, 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 SeededRng, type SequentialPhaseHooks, type SingleFlagAblationCell, type SingleFlagAblationId, type SpotCheckLogger, type StatisticalReport, type StructuredJudge, type SyntheticEdge, type SyntheticEmailIngestionAdapterOptions, type SyntheticFileIR, type SyntheticRepoConfig, type SyntheticSymbol, type SyntheticTargetOptions, type TaskResult, type TaskTokenUsage, type TemporalRetrievalCase, type ThirdPartyAdapterConfig, type TierDetail, type TimelineEntry, type TokenUsage, type WallMetric, type WriteBenchmarkArtifactResult, type ZepAdapterConfig, ZepMemCorrectAdapter, addContaminationEntry, aggregateTaskScores, answerBenchmarkQuestion, assertCanaryUnderFloor, assertIntegrityMetaPresent, assertPublishableIntegrity, assertSha256Hex, assistantMeetingPrepDefinition, assistantMorningBriefDefinition, assistantNextBestActionDefinition, assistantSynthesisDefinition, backlinkF1, binarizeJudgeScore, bootstrapMeanConfidenceInterval, buildAmaBenchDiagnosticMatrixArtifact, buildAmaBenchDiagnosticVariantSummary, buildAmaBenchLeaderboardRows, buildBaselineFromReport, buildBenchmarkArtifact, buildBenchmarkArtifactFilename, buildBenchmarkPublishFeed, buildBenchmarkReproManifest, buildBenchmarkRunSeeds, buildJudgePayload, buildOracleTrajectoryRecall, buildSchemaTierFixture, buildSchemaTierSmokeFixture, calendarFixture, canonicalJsonStringify, captureMachineFingerprint, chatFixture, checkCodingGraphRegression, checkDatasetContamination, checkRegression, clampScore, cohensD, compareResults, computeCohensKappa, computeSealHash, containsAnswer, createSeededRng$1 as createAdamSeededRng, createAmaBenchDiagnosticAdapter, createAnthropicProvider, createCanaryAdapter, createClaudeCliProvider, createCodexCliProvider, createSeededRng as createCodingGraphSeededRng, createDeterministicSpotCheckLogger, createGatewayResponder, createLightweightAdapter, createLiteLlmProvider, createLocalLlmProvider, createMitigatedTarget, createOllamaProvider, createOpenAiCompatibleProvider, createSeededRandom as createProceduralAblationSeededRandom, createProvider, createProviderBackedAmaBenchRecommendedJudge, createProviderBackedJudge, createProviderBackedResponder, createProviderBackedStructuredJudge, createRemnicAdapter, createResponderFromProvider, createSeededRng$2 as createSeededRng, createSpotCheckFileLogger, createStructuredJudgeFromProvider, createSyntheticEmailIngestionAdapter, createSyntheticTarget, createTimeoutGuardedAdapter, defaultBenchmarkBaselineDir, defaultBenchmarkPublishPath, deleteBenchmarkResults, discoverAllProviders, discoveryEndpointFor, emailFixture, entityRecall, exactMatch, extractMetrics as extractCodingGraphMetrics, extractMarkdownSectionsByTitle, f1Score, fixtureToAblationScenarios, formatHandoffNote, formatMissingDatasetError, generateReport, generateSyntheticRepo, getAblationCell, getBenchmark, getBenchmarkLowerIsBetter, getMemoryEvalDimension, getRemnicVersion, hashBenchmarkArtifact, hashBytes, hashCanonicalJson, hashString, integrityMetaIsComplete, interpretEffectSize, isAmaBenchUnknownLikeAnswer, isContaminationEntry, isContaminationManifest, isSealedQrelsArtifact, isSha256Hex, linkMatches, listBenchmarkBaselines, listBenchmarkResults, listBenchmarks, listMemoryEvalBenchmarkIds, listMemoryEvalDimensions, llmJudgeScore, llmJudgeScoreDetailed, loadAblationFixture, loadBaseline, loadBeamDatasetPreview, loadBenchmarkArtifact, loadBenchmarkBaseline, loadBenchmarkResult, loadCustomBenchmarkFile, loadJudgeCalibrationState, loadLoCoMo10, loadLocalLabManifest, loadLongMemEvalS, loadSealKeyFromEnv, loadSealedQrels, loadSealedRubric, matchEntity, mergeContaminationManifests, openSeal, orchestrateBenchmarkRuns, pairedDeltaConfidenceInterval, parseBenchmarkArtifact, parseCustomBenchmark, parseLocalLabManifest, parseRubricResponse, parseSealedQrels, pickStableQualifiedName, precisionAtK, preflightLocalLabRole, projectFolderFixture, recallAtK, redactBenchmarkResultSecrets, renderBaselineMarkdown, renderBenchmarkResultExport, renderMemorySummaryForJudge, renderMemoryViewForAgent, resolveAssistantAgent, resolveAssistantRubricId, resolveAssistantSeeds, resolveAssistantSpotCheckDir, resolveBenchRuntimeProfile, resolveBenchmarkPhaseTimeoutMs, resolveBenchmarkProgressLogging, resolveBenchmarkResultReference, resolveBenchmarkRunCount, resolveLocalLabProfile, resolveLocalLabRole, resolveStructuredJudge, rotateDistractors, rougeL, runAssistantBenchmark, runAssistantMeetingPrepBenchmark, runAssistantMorningBriefBenchmark, runAssistantNextBestActionBenchmark, runAssistantSynthesisBenchmark, runBaseline, runBenchSuite, runBenchmark, runCodingGraphBenchmark, runCustomBenchmarkFile, runExplain, runExtractionAttack, runJudgeCalibration, runMitigatedBaseline, runProceduralAblation, runProceduralAblationCli, runSealedJudge, runSequentialPhases, safeHexEqual, saveBaseline, saveBenchmarkBaseline, schemaCompleteness, sealPayload, selectAmaBenchDiagnosticVariants, selectCalibrationSlice, selectFixtureVariant, serializeBenchmarkArtifact, serializeJsonl, serializeSealedQrels, shuffleTasks, timed, verifyRubricDigest, writeBenchmarkArtifact, writeBenchmarkPublishFeed, writeBenchmarkReproManifest, writeBenchmarkResult, writeJudgeCalibrationState, writeLeaderboardArtifactsForResult, zeroScores };
|