@remnic/bench 9.69.85 → 9.69.87

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.
Files changed (110) hide show
  1. package/dist/{chunk-P4VDWOOT.js → chunk-LJCLTHYJ.js} +36 -1
  2. package/dist/h6-timing-rerun.md +154 -0
  3. package/dist/index.d.ts +3 -1
  4. package/dist/index.js +6 -2
  5. package/dist/{repeated-failure-suite-runner-RVTM2OFY.js → repeated-failure-suite-runner-TPK5FQXU.js} +1 -1
  6. package/fixtures/h6-failure-gate/decision-rule-timing.json +131 -0
  7. package/fixtures/h6-failure-gate/tasks/task_01_cache_invalidation/d0/README.md +7 -0
  8. package/fixtures/h6-failure-gate/tasks/task_01_cache_invalidation/d0/TASK.md +11 -0
  9. package/fixtures/h6-failure-gate/tasks/task_01_cache_invalidation/d0/src/index.ts +13 -0
  10. package/fixtures/h6-failure-gate/tasks/task_01_cache_invalidation/d0/src/utils.ts +3 -0
  11. package/fixtures/h6-failure-gate/tasks/task_01_cache_invalidation/d1/README.md +7 -0
  12. package/fixtures/h6-failure-gate/tasks/task_01_cache_invalidation/d1/TASK.md +11 -0
  13. package/fixtures/h6-failure-gate/tasks/task_01_cache_invalidation/d1/src/index.ts +13 -0
  14. package/fixtures/h6-failure-gate/tasks/task_01_cache_invalidation/d1/src/utils.ts +3 -0
  15. package/fixtures/h6-failure-gate/tasks/task_01_cache_invalidation/d2/README.md +7 -0
  16. package/fixtures/h6-failure-gate/tasks/task_01_cache_invalidation/d2/TASK.md +11 -0
  17. package/fixtures/h6-failure-gate/tasks/task_01_cache_invalidation/d2/src/index.ts +13 -0
  18. package/fixtures/h6-failure-gate/tasks/task_01_cache_invalidation/d2/src/utils.ts +5 -0
  19. package/fixtures/h6-failure-gate/tasks/task_01_cache_invalidation/d3/README.md +7 -0
  20. package/fixtures/h6-failure-gate/tasks/task_01_cache_invalidation/d3/TASK.md +11 -0
  21. package/fixtures/h6-failure-gate/tasks/task_01_cache_invalidation/d3/src/core/module.ts +13 -0
  22. package/fixtures/h6-failure-gate/tasks/task_01_cache_invalidation/d3/src/index.ts +1 -0
  23. package/fixtures/h6-failure-gate/tasks/task_01_cache_invalidation/d3/src/utils.ts +3 -0
  24. package/fixtures/h6-failure-gate/tasks/task_02_async_queue/d0/README.md +7 -0
  25. package/fixtures/h6-failure-gate/tasks/task_02_async_queue/d0/TASK.md +11 -0
  26. package/fixtures/h6-failure-gate/tasks/task_02_async_queue/d0/src/index.ts +22 -0
  27. package/fixtures/h6-failure-gate/tasks/task_02_async_queue/d0/src/types.ts +4 -0
  28. package/fixtures/h6-failure-gate/tasks/task_02_async_queue/d1/README.md +7 -0
  29. package/fixtures/h6-failure-gate/tasks/task_02_async_queue/d1/TASK.md +11 -0
  30. package/fixtures/h6-failure-gate/tasks/task_02_async_queue/d1/src/index.ts +22 -0
  31. package/fixtures/h6-failure-gate/tasks/task_02_async_queue/d1/src/types.ts +4 -0
  32. package/fixtures/h6-failure-gate/tasks/task_02_async_queue/d2/README.md +7 -0
  33. package/fixtures/h6-failure-gate/tasks/task_02_async_queue/d2/TASK.md +11 -0
  34. package/fixtures/h6-failure-gate/tasks/task_02_async_queue/d2/src/index.ts +22 -0
  35. package/fixtures/h6-failure-gate/tasks/task_02_async_queue/d2/src/types.ts +6 -0
  36. package/fixtures/h6-failure-gate/tasks/task_02_async_queue/d3/README.md +7 -0
  37. package/fixtures/h6-failure-gate/tasks/task_02_async_queue/d3/TASK.md +11 -0
  38. package/fixtures/h6-failure-gate/tasks/task_02_async_queue/d3/src/core/module.ts +22 -0
  39. package/fixtures/h6-failure-gate/tasks/task_02_async_queue/d3/src/index.ts +1 -0
  40. package/fixtures/h6-failure-gate/tasks/task_02_async_queue/d3/src/types.ts +4 -0
  41. package/fixtures/h6-failure-gate/tasks/task_03_token_bucket/d0/README.md +7 -0
  42. package/fixtures/h6-failure-gate/tasks/task_03_token_bucket/d0/TASK.md +11 -0
  43. package/fixtures/h6-failure-gate/tasks/task_03_token_bucket/d0/src/clock.ts +3 -0
  44. package/fixtures/h6-failure-gate/tasks/task_03_token_bucket/d0/src/index.ts +15 -0
  45. package/fixtures/h6-failure-gate/tasks/task_03_token_bucket/d1/README.md +7 -0
  46. package/fixtures/h6-failure-gate/tasks/task_03_token_bucket/d1/TASK.md +11 -0
  47. package/fixtures/h6-failure-gate/tasks/task_03_token_bucket/d1/src/clock.ts +3 -0
  48. package/fixtures/h6-failure-gate/tasks/task_03_token_bucket/d1/src/index.ts +15 -0
  49. package/fixtures/h6-failure-gate/tasks/task_03_token_bucket/d2/README.md +7 -0
  50. package/fixtures/h6-failure-gate/tasks/task_03_token_bucket/d2/TASK.md +11 -0
  51. package/fixtures/h6-failure-gate/tasks/task_03_token_bucket/d2/src/clock.ts +5 -0
  52. package/fixtures/h6-failure-gate/tasks/task_03_token_bucket/d2/src/index.ts +15 -0
  53. package/fixtures/h6-failure-gate/tasks/task_03_token_bucket/d3/README.md +7 -0
  54. package/fixtures/h6-failure-gate/tasks/task_03_token_bucket/d3/TASK.md +11 -0
  55. package/fixtures/h6-failure-gate/tasks/task_03_token_bucket/d3/src/clock.ts +3 -0
  56. package/fixtures/h6-failure-gate/tasks/task_03_token_bucket/d3/src/core/module.ts +15 -0
  57. package/fixtures/h6-failure-gate/tasks/task_03_token_bucket/d3/src/index.ts +1 -0
  58. package/fixtures/h6-failure-gate/tasks/task_04_event_emitter/d0/README.md +7 -0
  59. package/fixtures/h6-failure-gate/tasks/task_04_event_emitter/d0/TASK.md +11 -0
  60. package/fixtures/h6-failure-gate/tasks/task_04_event_emitter/d0/src/events.ts +1 -0
  61. package/fixtures/h6-failure-gate/tasks/task_04_event_emitter/d0/src/index.ts +14 -0
  62. package/fixtures/h6-failure-gate/tasks/task_04_event_emitter/d1/README.md +7 -0
  63. package/fixtures/h6-failure-gate/tasks/task_04_event_emitter/d1/TASK.md +11 -0
  64. package/fixtures/h6-failure-gate/tasks/task_04_event_emitter/d1/src/events.ts +1 -0
  65. package/fixtures/h6-failure-gate/tasks/task_04_event_emitter/d1/src/index.ts +14 -0
  66. package/fixtures/h6-failure-gate/tasks/task_04_event_emitter/d2/README.md +7 -0
  67. package/fixtures/h6-failure-gate/tasks/task_04_event_emitter/d2/TASK.md +11 -0
  68. package/fixtures/h6-failure-gate/tasks/task_04_event_emitter/d2/src/events.ts +3 -0
  69. package/fixtures/h6-failure-gate/tasks/task_04_event_emitter/d2/src/index.ts +14 -0
  70. package/fixtures/h6-failure-gate/tasks/task_04_event_emitter/d3/README.md +7 -0
  71. package/fixtures/h6-failure-gate/tasks/task_04_event_emitter/d3/TASK.md +11 -0
  72. package/fixtures/h6-failure-gate/tasks/task_04_event_emitter/d3/src/core/module.ts +14 -0
  73. package/fixtures/h6-failure-gate/tasks/task_04_event_emitter/d3/src/events.ts +1 -0
  74. package/fixtures/h6-failure-gate/tasks/task_04_event_emitter/d3/src/index.ts +1 -0
  75. package/fixtures/h6-failure-gate/tasks/task_05_trie_search/d0/README.md +7 -0
  76. package/fixtures/h6-failure-gate/tasks/task_05_trie_search/d0/TASK.md +11 -0
  77. package/fixtures/h6-failure-gate/tasks/task_05_trie_search/d0/src/index.ts +26 -0
  78. package/fixtures/h6-failure-gate/tasks/task_05_trie_search/d0/src/types.ts +4 -0
  79. package/fixtures/h6-failure-gate/tasks/task_05_trie_search/d1/README.md +7 -0
  80. package/fixtures/h6-failure-gate/tasks/task_05_trie_search/d1/TASK.md +11 -0
  81. package/fixtures/h6-failure-gate/tasks/task_05_trie_search/d1/src/index.ts +26 -0
  82. package/fixtures/h6-failure-gate/tasks/task_05_trie_search/d1/src/types.ts +4 -0
  83. package/fixtures/h6-failure-gate/tasks/task_05_trie_search/d2/README.md +7 -0
  84. package/fixtures/h6-failure-gate/tasks/task_05_trie_search/d2/TASK.md +11 -0
  85. package/fixtures/h6-failure-gate/tasks/task_05_trie_search/d2/src/index.ts +26 -0
  86. package/fixtures/h6-failure-gate/tasks/task_05_trie_search/d2/src/types.ts +6 -0
  87. package/fixtures/h6-failure-gate/tasks/task_05_trie_search/d3/README.md +7 -0
  88. package/fixtures/h6-failure-gate/tasks/task_05_trie_search/d3/TASK.md +11 -0
  89. package/fixtures/h6-failure-gate/tasks/task_05_trie_search/d3/src/core/module.ts +26 -0
  90. package/fixtures/h6-failure-gate/tasks/task_05_trie_search/d3/src/index.ts +1 -0
  91. package/fixtures/h6-failure-gate/tasks/task_05_trie_search/d3/src/types.ts +4 -0
  92. package/fixtures/h6-failure-gate/tasks/task_06_connection_pool/d0/README.md +7 -0
  93. package/fixtures/h6-failure-gate/tasks/task_06_connection_pool/d0/TASK.md +11 -0
  94. package/fixtures/h6-failure-gate/tasks/task_06_connection_pool/d0/src/config.ts +4 -0
  95. package/fixtures/h6-failure-gate/tasks/task_06_connection_pool/d0/src/index.ts +17 -0
  96. package/fixtures/h6-failure-gate/tasks/task_06_connection_pool/d1/README.md +7 -0
  97. package/fixtures/h6-failure-gate/tasks/task_06_connection_pool/d1/TASK.md +11 -0
  98. package/fixtures/h6-failure-gate/tasks/task_06_connection_pool/d1/src/config.ts +4 -0
  99. package/fixtures/h6-failure-gate/tasks/task_06_connection_pool/d1/src/index.ts +17 -0
  100. package/fixtures/h6-failure-gate/tasks/task_06_connection_pool/d2/README.md +7 -0
  101. package/fixtures/h6-failure-gate/tasks/task_06_connection_pool/d2/TASK.md +11 -0
  102. package/fixtures/h6-failure-gate/tasks/task_06_connection_pool/d2/src/config.ts +6 -0
  103. package/fixtures/h6-failure-gate/tasks/task_06_connection_pool/d2/src/index.ts +17 -0
  104. package/fixtures/h6-failure-gate/tasks/task_06_connection_pool/d3/README.md +7 -0
  105. package/fixtures/h6-failure-gate/tasks/task_06_connection_pool/d3/TASK.md +11 -0
  106. package/fixtures/h6-failure-gate/tasks/task_06_connection_pool/d3/src/config.ts +4 -0
  107. package/fixtures/h6-failure-gate/tasks/task_06_connection_pool/d3/src/core/module.ts +17 -0
  108. package/fixtures/h6-failure-gate/tasks/task_06_connection_pool/d3/src/index.ts +1 -0
  109. package/fixtures/h6-failure-gate/trap-audit.json +542 -0
  110. package/package.json +3 -3
@@ -4989,6 +4989,21 @@ var H6_FROZEN_SPLITS = Object.freeze({
4989
4989
  "h6-task-30"
4990
4990
  ])
4991
4991
  });
4992
+ var H6_FROZEN_EVIDENCE_PATHS = Object.freeze([
4993
+ "decision-rule-timing.json",
4994
+ "trap-audit.json",
4995
+ "tasks/task_01_cache_invalidation",
4996
+ "tasks/task_02_async_queue",
4997
+ "tasks/task_03_token_bucket",
4998
+ "tasks/task_04_event_emitter",
4999
+ "tasks/task_05_trie_search",
5000
+ "tasks/task_06_connection_pool"
5001
+ ]);
5002
+ function isFrozenEvidencePath(fixturePath) {
5003
+ return H6_FROZEN_EVIDENCE_PATHS.some(
5004
+ (evidence) => fixturePath === evidence || fixturePath.startsWith(`${evidence}/`)
5005
+ );
5006
+ }
4992
5007
  var TrapFingerprintV1Schema = z2.object({
4993
5008
  version: z2.literal(1),
4994
5009
  trapId: z2.enum(H6_TRAP_IDS),
@@ -8417,7 +8432,7 @@ async function generateH6BenchmarkDataset(seed = 81) {
8417
8432
  // src/coding-graph/repo-gen/validator.ts
8418
8433
  import { execFileSync as execFileSync3 } from "child_process";
8419
8434
  import { createHash as createHash7, randomUUID } from "crypto";
8420
- import { cp, lstat as lstat2, mkdir as mkdir6, mkdtemp as mkdtemp2, readFile as readFile5, readdir as readdir3, rename as rename2, rm, writeFile as writeFile4 } from "fs/promises";
8435
+ import { copyFile, cp, lstat as lstat2, mkdir as mkdir6, mkdtemp as mkdtemp2, readFile as readFile5, readdir as readdir3, rename as rename2, rm, writeFile as writeFile4 } from "fs/promises";
8421
8436
  import { basename, dirname as dirname2, join as join2, parse, resolve, sep } from "path";
8422
8437
 
8423
8438
  // src/coding-graph/repo-gen/import-scanner.ts
@@ -9393,6 +9408,24 @@ async function writeH6FixtureBundle(outputDir, input) {
9393
9408
  force: false
9394
9409
  });
9395
9410
  }
9411
+ for (const evidence of H6_FROZEN_EVIDENCE_PATHS) {
9412
+ const evidenceSource = join2(absoluteOutputDir, evidence);
9413
+ const evidenceDetails = await optionalLstat(evidenceSource);
9414
+ if (!evidenceDetails) continue;
9415
+ const evidenceTarget = join2(stagingDir, evidence);
9416
+ if (evidenceDetails.isDirectory()) {
9417
+ await cp(evidenceSource, evidenceTarget, {
9418
+ recursive: true,
9419
+ errorOnExist: true,
9420
+ force: false
9421
+ });
9422
+ } else if (evidenceDetails.isFile()) {
9423
+ await mkdir6(dirname2(evidenceTarget), { recursive: true });
9424
+ await copyFile(evidenceSource, evidenceTarget);
9425
+ } else {
9426
+ throw new Error(`Frozen evidence artifact is not a regular file or directory: ${evidence}`);
9427
+ }
9428
+ }
9396
9429
  backupDir = join2(
9397
9430
  dirname2(absoluteOutputDir),
9398
9431
  `.${basename(absoluteOutputDir)}.backup-${randomUUID()}`
@@ -17441,6 +17474,8 @@ export {
17441
17474
  H6_FROZEN_SEED,
17442
17475
  H6_FROZEN_INVENTORY_HASH,
17443
17476
  H6_FROZEN_SPLITS,
17477
+ H6_FROZEN_EVIDENCE_PATHS,
17478
+ isFrozenEvidencePath,
17444
17479
  TrapFingerprintV1Schema,
17445
17480
  ActionIntentV1Schema,
17446
17481
  SyntheticFileSchema,
@@ -0,0 +1,154 @@
1
+ # H6 timing rerun preregistration
2
+
3
+ Status: fixed before any rerun row executes. This is the second registered run
4
+ of the H6 failure-gate study. It decides one hypothesis, H6-timing, on new
5
+ data. The machine-readable rule is
6
+ `packages/bench/fixtures/h6-failure-gate/decision-rule-timing.json`, decision
7
+ rule version 13. The rule records this file's raw SHA-256 hash; the runner
8
+ verifies that hash before writing any run artifact. This document defines the
9
+ design and how to decide the result. It does not state a result.
10
+
11
+ ## Why a second run exists
12
+
13
+ The first main run (decision rule version 12) completed all 1,890 rows. Its
14
+ timing comparison produced a repeated-failure benefit of 38.04 points on the
15
+ 17 complete tasks, but one pre-action row on `h6-task-10` was invalid with
16
+ `VAGUE_CHECK` after a token-cap termination. Version 12 allowed zero primary
17
+ task cuts, so H6-timing was `NOT_ESTIMABLE` by rule. The first run's retry
18
+ rule forbids rerunning any returned task result, so a confirmatory answer
19
+ requires a new manifest and new rows. That is this run.
20
+
21
+ The content hypothesis is not part of this run. Version 12 decided it:
22
+ `REJECTED`. The no-trap check is not part of this run. Version 12 measured it
23
+ on 540 no-trap rows; the steps interval sat inside its margin and the
24
+ pass-rate question was recorded as unresolved by that design. Neither question
25
+ is reopened here, and this run cannot change either answer.
26
+
27
+ ## The question
28
+
29
+ **H6-timing:** Does a fixed failure note work better just before a matched
30
+ action than at turn start?
31
+
32
+ ## Design
33
+
34
+ - 18 main-split tasks, the same frozen split as version 12
35
+ - 3 run-time variants per task
36
+ - 2 arms: `TURN_START_FAILURE` and `PRE_ACTION_FAILURE`
37
+ - 5 seeds: **6, 7, 8, 9, 10**
38
+ - 1 model profile: `h6-qwen35-35b-32k-nothink-q4km-v4`, the same
39
+ `(modelProfileId, modelProfileHash)` pair as version 12
40
+ - no no-trap rows
41
+
42
+ Expected rows: 18 x 3 x 5 x 2 = **540**. The manifest lists every expected row
43
+ before execution.
44
+
45
+ The seeds are new. Seeds 1 through 5 produced the first run's episodes; reusing
46
+ them would remeasure the same trajectories under rules chosen after those
47
+ trajectories were seen. Seeds 6 through 10 produce episodes that do not exist
48
+ when this rule freezes.
49
+
50
+ Everything else carries over from version 12 unchanged: the dataset inventory
51
+ hash, task revisions, variant set, arm injection contracts for the timing
52
+ pair, prompt contract, tool locks, sandbox flags, caps (including the 20,480
53
+ cumulative token cap from Amendment 2), the retry rule (five host-fault
54
+ retries, then pause; never rerun a returned task result), statistics seed 81,
55
+ and 10,000 bootstrap and shuffle draws.
56
+
57
+ ## Outcomes and analysis
58
+
59
+ Row outcomes, task-level averaging, the bootstrap, and the shuffle test are
60
+ unchanged from version 12. The estimands are unchanged:
61
+
62
+ - Repeated-failure benefit: `risk(TURN_START_FAILURE) - risk(PRE_ACTION_FAILURE)`
63
+ - Relative risk reduction: the benefit divided by `risk(TURN_START_FAILURE)`
64
+
65
+ The hypothesis family has exactly one member, so the Holm-adjusted p value
66
+ equals the raw p value. The support rule is unchanged from version 12:
67
+ H6-timing is `SUPPORTED` only if the absolute repeated-failure benefit is at
68
+ least 0.05, the point relative risk reduction is at least 0.30, the 95%
69
+ benefit interval's lower bound is strictly above zero, and the adjusted p
70
+ value is strictly below 0.05. An estimable result that misses any condition is
71
+ `REJECTED`. A zero observed baseline risk makes the ratio undefined and the
72
+ result `NOT_ESTIMABLE`.
73
+
74
+ The study decision maps directly: `SUPPORTED` gives `PASS`, `REJECTED` gives
75
+ `REJECT`, `NOT_ESTIMABLE` stays `NOT_ESTIMABLE`.
76
+
77
+ ## Invalid rows
78
+
79
+ This is the one scoring change from version 12, and it is fixed here before
80
+ any row runs.
81
+
82
+ A row invalid with `VAGUE_CHECK` — the offline check is missing, returns
83
+ `INDETERMINATE`, or cannot prove the registered failure class — is **scored,
84
+ not cut**. It takes the worst value for the pre-action arm on every metric:
85
+
86
+ - in `PRE_ACTION_FAILURE`: `repeatedFailure = true`, `taskPassed = false`
87
+ - in `TURN_START_FAILURE`: `repeatedFailure = false`, `taskPassed = true`
88
+ - `steps = 0` in either arm; steps feed no timing decision
89
+
90
+ Every imputed row is listed in `statistics.json` with its task, arm, seed, and
91
+ variant. This scoring can only shrink the measured benefit and the relative
92
+ risk reduction, so it cannot manufacture support, and it removes the failure
93
+ mode that voided the first run: a cap-terminated episode whose check cannot
94
+ classify the final repository state. The `taskPassed` imputation points the
95
+ same direction. The pre-action arm records a failure and the turn-start arm
96
+ records a pass, so the reported task-pass benefit can only move against the
97
+ pre-action arm.
98
+
99
+ Every other invalid reason — `START_DRIFT`, `TRACE_GAP`, `MIXED_ARM_STATE`,
100
+ `WAIT_RULE_FAULT`, `UNMATCHED_FACTS`, `HOST_RETRIES_EXHAUSTED` — means the
101
+ treatment or its evidence chain was not delivered as assigned. Those rows
102
+ still cut the whole task, the design still allows zero primary task cuts, and
103
+ any cut makes H6-timing `NOT_ESTIMABLE`. None of these occurred in the first
104
+ run's 1,890 rows.
105
+
106
+ ## Power and pilot evidence
107
+
108
+ The binding pilot is the version 12 bound pilot run, transferred by artifact
109
+ hash rather than rerun. The decision rule pins:
110
+
111
+ - pilot run ID `h6-a30b5cb7dc9174e31329195d`
112
+ - manifest artifact hash `5bce2c0c20fadf77706ae5dbb503d4f938d40e2d4178c5395b36683cfef75e21`
113
+ - power artifact hash `cfaec22f374b353b536dec6067243a1731804f8f1d8d2f4742e1631cf1b27bd5`
114
+ - the pilot's decision-rule hash, preregistration hash, harness source hash,
115
+ and analysis version as recorded in its immutable manifest
116
+ - simulated H6-timing power **0.8364** at 18 main tasks, against the required
117
+ 0.80
118
+
119
+ Before any rerun row executes, the runner re-verifies the pilot bundle: the
120
+ manifest artifact hashes must match, the pilot's own frozen version 12 rule
121
+ must hash to the pinned value, and the pilot's statistics and power artifacts
122
+ must replay byte-identically from its immutable rows under the current
123
+ harness. The replay proves the harness changes that added this mode did not
124
+ alter the frozen analysis. The gate is timing power alone; this design has no
125
+ content or no-trap rows to power.
126
+
127
+ The design quantities that drove the pilot simulation — task count, variants,
128
+ seeds per task, arms, caps, model profile — are identical to the version 12
129
+ main design on the timing pair, so the transferred power estimate applies to
130
+ this run as registered.
131
+
132
+ ## Execution requirements
133
+
134
+ 1. The trap audit must be re-run for the registered model profile under the
135
+ current harness source hash and decision rule version 13 hash, and must
136
+ pass the unchanged thresholds, before any main row runs.
137
+ 2. The manifest freezes the dataset, split, expected row keys, run order,
138
+ model profile, seeds, arm configs, note template, caps, statistics seed,
139
+ and this rule, exactly as version 12 froze them.
140
+ 3. A deterministic fake-agent smoke run repeated twice must yield identical
141
+ row, trace, and decision hashes before live rows run.
142
+ 4. Any operational deviation goes in the append-only deviation file. A change
143
+ to an arm, threshold, task, model profile, seed set, cap, or analysis after
144
+ the first main row makes the run `NOT_ESTIMABLE` for this manifest.
145
+ 5. Rows from this manifest are never pooled with version 12 rows in any
146
+ confirmatory claim. The first run's estimates remain on its own record.
147
+
148
+ ## Run artifacts
149
+
150
+ The run writes the same machine-readable artifacts as version 12: `run.json`,
151
+ `expected-design.json`, `checkpoints/`, `episodes.jsonl`, `fact-pair-audit.json`,
152
+ `power.json`, `audit.json`, `deviations.jsonl`, `statistics.json`, and the
153
+ frozen copy of `decision-rule-timing.json`. The raw artifacts, not prose,
154
+ control the decision.
package/dist/index.d.ts CHANGED
@@ -6752,6 +6752,8 @@ declare const H6_FROZEN_SPLITS: Readonly<{
6752
6752
  pilot: readonly string[];
6753
6753
  main: readonly string[];
6754
6754
  }>;
6755
+ declare const H6_FROZEN_EVIDENCE_PATHS: readonly ["decision-rule-timing.json", "trap-audit.json", "tasks/task_01_cache_invalidation", "tasks/task_02_async_queue", "tasks/task_03_token_bucket", "tasks/task_04_event_emitter", "tasks/task_05_trie_search", "tasks/task_06_connection_pool"];
6756
+ declare function isFrozenEvidencePath(fixturePath: string): boolean;
6755
6757
  declare const TrapFingerprintV1Schema: z.ZodObject<{
6756
6758
  version: z.ZodLiteral<1>;
6757
6759
  trapId: z.ZodEnum<["flaky-looking-test", "misleading-error-message", "wrong-layer-fix", "hidden-invariant", "stale-cache-illusion", "config-shadowing"]>;
@@ -10474,4 +10476,4 @@ declare function pickOne<T>(rng: SeededRandom, items: readonly T[]): T;
10474
10476
  /** Deterministic Fisher-Yates shuffle returning a new array. */
10475
10477
  declare function shuffled<T>(rng: SeededRandom, items: readonly T[]): T[];
10476
10478
 
10477
- 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_ATTACKER_PROMPT_PATH_GETTER, 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, H5_PUBLICATION_ANALYSIS_RULE, H5_PUBLICATION_DEFENSE_BASELINES, 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_PUBLICATION_ARMS, INJECTION_SUITE_STAGES, 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 InjectionSuiteOnlineAdaptiveInput, type InjectionSuiteProductEvidence, type InjectionSuiteRowIdentity, type InjectionSuiteStage, 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, ONLINE_ADAPTIVE_STAGE, OPENAI_RESPONSES_JUDGE_RUBRIC_VERSION, OTHER_NAMESPACE_MEMORIES, type OllamaChatMessage, type OllamaProviderConfig, type OnlineAdaptiveCorpusLine, type OnlineAdaptiveCorpusManifest, type OnlineAdaptiveStatistics, 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, analyzeInjectionSuiteOnlineAdaptiveRun, analyzeInjectionSuitePublicationRows, analyzeInjectionSuitePublicationRun, analyzeInjectionSuitePublicationUtility, analyzeInjectionSuitePublicationUtilityFile, analyzeInjectionSuiteRun, analyzeInjectionSuiteUtility, 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, decideInjectionSuiteCampaign, 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, planOnlineAdaptiveRows, precisionAtK, preflightLoCoMoRetrievalTraceCapture, preflightLocalLabRole, projectFolderFixture, randomInt, recallAtK, reconcileCodexCreditLedger, redactBenchmarkResultSecrets, relativeRiskReduction, renderAttributionReportTable, renderBaselineMarkdown, renderBenchmarkResultExport, renderLoComoProfileDeltaMarkdown, renderLoComoRecallDeltaMarkdown, renderMemorySummaryForJudge, renderMemoryViewForAgent, replayInjectionSuiteStatistics, 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, runInjectionSuiteOnlineAdaptive, runInjectionSuiteUtility, 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, stripCodeFences, summarizeBenchmarkResult, timed, tokenizeContent, unresolvedHelperImports, validateDriftCorpus, validateH6Dataset, validateH6FixtureBundle, validateH6StateDefiningIndependence, validateOllamaChatEndpoint, verifyMatchingTrapAudit, verifyRubricDigest, verifyTrapAuditArtifact, writeBenchmarkArtifact, writeBenchmarkPublishFeed, writeBenchmarkReproManifest, writeBenchmarkResult, writeBuildWeekEvidenceReceipt, writeH6FixtureBundle, writeJudgeCalibrationState, writeLeaderboardArtifactsForResult, writeRepeatedFailurePaperArtifacts, writeRepeatedFailureRunMetadata, writeRepeatedFailureStatistics, zeroScores };
10479
+ 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_ATTACKER_PROMPT_PATH_GETTER, 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, H5_PUBLICATION_ANALYSIS_RULE, H5_PUBLICATION_DEFENSE_BASELINES, type H6BenchmarkDataset, H6BenchmarkDatasetSchema, type H6TrapId, H6_ACTION_INTENT_JSON_SCHEMA, H6_ARMS, H6_DATASET_JSON_SCHEMA, H6_DECISION_RULE, H6_FROZEN_EVIDENCE_PATHS, 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_PUBLICATION_ARMS, INJECTION_SUITE_STAGES, 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 InjectionSuiteOnlineAdaptiveInput, type InjectionSuiteProductEvidence, type InjectionSuiteRowIdentity, type InjectionSuiteStage, 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, ONLINE_ADAPTIVE_STAGE, OPENAI_RESPONSES_JUDGE_RUBRIC_VERSION, OTHER_NAMESPACE_MEMORIES, type OllamaChatMessage, type OllamaProviderConfig, type OnlineAdaptiveCorpusLine, type OnlineAdaptiveCorpusManifest, type OnlineAdaptiveStatistics, 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, analyzeInjectionSuiteOnlineAdaptiveRun, analyzeInjectionSuitePublicationRows, analyzeInjectionSuitePublicationRun, analyzeInjectionSuitePublicationUtility, analyzeInjectionSuitePublicationUtilityFile, analyzeInjectionSuiteRun, analyzeInjectionSuiteUtility, 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, decideInjectionSuiteCampaign, 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, isFrozenEvidencePath, 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, planOnlineAdaptiveRows, precisionAtK, preflightLoCoMoRetrievalTraceCapture, preflightLocalLabRole, projectFolderFixture, randomInt, recallAtK, reconcileCodexCreditLedger, redactBenchmarkResultSecrets, relativeRiskReduction, renderAttributionReportTable, renderBaselineMarkdown, renderBenchmarkResultExport, renderLoComoProfileDeltaMarkdown, renderLoComoRecallDeltaMarkdown, renderMemorySummaryForJudge, renderMemoryViewForAgent, replayInjectionSuiteStatistics, 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, runInjectionSuiteOnlineAdaptive, runInjectionSuiteUtility, 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, stripCodeFences, 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
@@ -22,6 +22,7 @@ import {
22
22
  H6_ARMS,
23
23
  H6_DATASET_JSON_SCHEMA,
24
24
  H6_DECISION_RULE,
25
+ H6_FROZEN_EVIDENCE_PATHS,
25
26
  H6_FROZEN_INVENTORY_HASH,
26
27
  H6_FROZEN_SEED,
27
28
  H6_FROZEN_SPLITS,
@@ -113,6 +114,7 @@ import {
113
114
  isBenchmarkRunBlockedError,
114
115
  isContaminationEntry,
115
116
  isContaminationManifest,
117
+ isFrozenEvidencePath,
116
118
  isRepeatedFailureTimidityEquivalent,
117
119
  isSafeSyntheticPath,
118
120
  isSecretKey,
@@ -188,7 +190,7 @@ import {
188
190
  writeLeaderboardArtifactsForResult,
189
191
  writeRepeatedFailureRunMetadata,
190
192
  writeRepeatedFailureStatistics
191
- } from "./chunk-P4VDWOOT.js";
193
+ } from "./chunk-LJCLTHYJ.js";
192
194
 
193
195
  // src/build-week-evidence-receipt.ts
194
196
  import { createHash as createHash2 } from "crypto";
@@ -53530,7 +53532,7 @@ async function writeRepeatedFailurePaperArtifacts(options) {
53530
53532
  }
53531
53533
  async function runRepeatedFailurePaperReportCliCommand(options) {
53532
53534
  try {
53533
- const { replayRepeatedFailureStatistics: replayRepeatedFailureStatistics2 } = await import("./repeated-failure-suite-runner-RVTM2OFY.js");
53535
+ const { replayRepeatedFailureStatistics: replayRepeatedFailureStatistics2 } = await import("./repeated-failure-suite-runner-TPK5FQXU.js");
53534
53536
  const replay = await replayRepeatedFailureStatistics2(options);
53535
53537
  if (replay.exitCode !== 0) return replay;
53536
53538
  const result = await writeRepeatedFailurePaperArtifacts(options);
@@ -53859,6 +53861,7 @@ export {
53859
53861
  H6_ARMS,
53860
53862
  H6_DATASET_JSON_SCHEMA,
53861
53863
  H6_DECISION_RULE,
53864
+ H6_FROZEN_EVIDENCE_PATHS,
53862
53865
  H6_FROZEN_INVENTORY_HASH,
53863
53866
  H6_FROZEN_SEED,
53864
53867
  H6_FROZEN_SPLITS,
@@ -54090,6 +54093,7 @@ export {
54090
54093
  isAmaBenchUnknownLikeAnswer,
54091
54094
  isContaminationEntry,
54092
54095
  isContaminationManifest,
54096
+ isFrozenEvidencePath,
54093
54097
  isRepeatedFailureTimidityEquivalent,
54094
54098
  isSafeSyntheticPath,
54095
54099
  isSealedQrelsArtifact,
@@ -11,7 +11,7 @@ import {
11
11
  runRepeatedFailureCliCommand,
12
12
  runRepeatedFailureSuite,
13
13
  verifyPreregistrationBinding
14
- } from "./chunk-P4VDWOOT.js";
14
+ } from "./chunk-LJCLTHYJ.js";
15
15
  export {
16
16
  baseEvidence,
17
17
  buildDesign,
@@ -0,0 +1,131 @@
1
+ {
2
+ "version": 13,
3
+ "name": "H6 Timing Confirmatory Rerun Decision Rule",
4
+ "preregistration": {
5
+ "path": "docs/research/failure-gate/preregistration-timing-rerun.md",
6
+ "sha256": "4cf775705060d53f37fdc993f5a081d3b68b1646b47f9091889f4ecf2e4b2676"
7
+ },
8
+ "design": {
9
+ "armsMode": "timing_only",
10
+ "arms": [
11
+ "TURN_START_FAILURE",
12
+ "PRE_ACTION_FAILURE"
13
+ ]
14
+ },
15
+ "analysisPopulation": {
16
+ "datasetVersion": 1,
17
+ "datasetInventoryHash": "687615b5f7ff46977d268a03e30018070f7d0bec9d01e04da2d0c723e59a5b27",
18
+ "split": "main",
19
+ "taskCount": 18,
20
+ "seedsPerModelProfile": 5,
21
+ "modelProfileCount": 1,
22
+ "unit": "task",
23
+ "pairingKey": [
24
+ "taskId",
25
+ "variantId",
26
+ "seed",
27
+ "modelProfileId",
28
+ "modelProfileHash"
29
+ ],
30
+ "maximumPrimaryTaskCuts": 0,
31
+ "registeredSeeds": [
32
+ 6,
33
+ 7,
34
+ 8,
35
+ 9,
36
+ 10
37
+ ]
38
+ },
39
+ "analysis": {
40
+ "bootstrap": {
41
+ "draws": 10000,
42
+ "group": "task",
43
+ "confidenceLevel": 0.95,
44
+ "method": "percentile"
45
+ },
46
+ "shuffle": {
47
+ "draws": 10000,
48
+ "group": "task",
49
+ "alternative": "candidate_benefit",
50
+ "plusOneCorrection": true
51
+ },
52
+ "alpha": 0.05,
53
+ "multiplicity": {
54
+ "method": "HOLM",
55
+ "family": [
56
+ "H6_TIMING_REPEATED_FAILURE"
57
+ ]
58
+ }
59
+ },
60
+ "invalidRowPolicy": {
61
+ "VAGUE_CHECK": "WORST_CASE_AGAINST_CANDIDATE"
62
+ },
63
+ "factMatching": {
64
+ "timing": {
65
+ "factCount": 1,
66
+ "requireSameFactIds": true,
67
+ "requireSameCitationHashes": true,
68
+ "requireSameRenderedTokenCount": true
69
+ }
70
+ },
71
+ "hypotheses": {
72
+ "H6-timing": {
73
+ "baselineArm": "TURN_START_FAILURE",
74
+ "candidateArm": "PRE_ACTION_FAILURE",
75
+ "metric": "repeatedFailure",
76
+ "minimumRelativeRiskReduction": 0.3,
77
+ "minimumAbsoluteRepeatedFailureBenefit": 0.05,
78
+ "requireRepeatedFailureBenefitIntervalLowerStrictlyAbove": 0,
79
+ "requireHolmAdjustedPStrictlyBelow": 0.05,
80
+ "zeroBaselineDecision": "NOT_ESTIMABLE"
81
+ }
82
+ },
83
+ "power": {
84
+ "simulationDraws": 10000,
85
+ "minimumTimingPower": 0.8,
86
+ "sourceSplit": "pilot",
87
+ "transferredPilotEvidence": {
88
+ "runId": "h6-a30b5cb7dc9174e31329195d",
89
+ "manifestArtifactHash": "5bce2c0c20fadf77706ae5dbb503d4f938d40e2d4178c5395b36683cfef75e21",
90
+ "powerArtifactHash": "cfaec22f374b353b536dec6067243a1731804f8f1d8d2f4742e1631cf1b27bd5",
91
+ "decisionRuleHash": "c775947440dc764a62fbc4bd0c3fca08fe2ede90b543701875af3ab541114cd9",
92
+ "preregistrationHash": "0fe2838c50d3e70be59b47bc5d932fecd52af8975c6c0279b3ebc0ebf4a80236",
93
+ "harnessSourceHash": "129045d73b7f8fdc18bb5b9a87faa5245f9921945ce1ff9d94d859f29bb88770",
94
+ "analysisVersion": "h6-task-bootstrap-shuffle-holm-v1",
95
+ "timingPower": 0.8364
96
+ }
97
+ },
98
+ "trapAudit": {
99
+ "minimumTrappedRate": 0.3,
100
+ "minimumNonFixedRate": 0.5,
101
+ "maximumInvalidRows": 0,
102
+ "requireCompleteRows": true
103
+ },
104
+ "completeness": {
105
+ "expectedRowsFormula": "taskCount*variantsPerTask*seedsPerModelProfile*modelProfileCount*armCount",
106
+ "primaryArmCount": 2,
107
+ "hostFaultRetriesAfterFirstTry": 5,
108
+ "rerunTaskResults": false,
109
+ "invalidReasons": [
110
+ "CORPUS_INVALID",
111
+ "CORE_REPO_DIR_MISMATCH",
112
+ "START_DRIFT",
113
+ "TRACE_GAP",
114
+ "VAGUE_CHECK",
115
+ "MIXED_ARM_STATE",
116
+ "UNMATCHED_FACTS",
117
+ "WAIT_RULE_FAULT",
118
+ "HOST_RETRIES_EXHAUSTED"
119
+ ]
120
+ },
121
+ "outcomes": {
122
+ "PASS": "timing=SUPPORTED",
123
+ "REJECT": "timing=REJECTED",
124
+ "NOT_ESTIMABLE": "timing=NOT_ESTIMABLE"
125
+ },
126
+ "gateStatuses": [
127
+ "NO_MATCH",
128
+ "MATCH_WARN",
129
+ "ERROR_FAIL_OPEN"
130
+ ]
131
+ }
@@ -0,0 +1,7 @@
1
+ # Cache Expiration Invalidation
2
+
3
+ This package contains the base implementation and proposed candidate refactoring strategies for Cache Expiration Invalidation.
4
+
5
+ ## Structure
6
+ - `src/`: Source files for the module.
7
+ - `TASK.md`: Specification of the required modification.
@@ -0,0 +1,11 @@
1
+ # Task: Cache Expiration Invalidation
2
+
3
+ ## Objective
4
+ Update the CacheManager module to ensure expired entries are purged during read operations.
5
+
6
+ ## Available Strategies
7
+ 1. **candidate_alpha**: Check expiration during read and delete key from store if expired.
8
+ 2. **candidate_beta**: Extend TTL timer on access whenever entry is fetched.
9
+
10
+ ## Instructions
11
+ Review the implementation under `src/` and select or apply the appropriate candidate modification.
@@ -0,0 +1,13 @@
1
+ export class CacheManager<K, V> {
2
+ private store = new Map<K, { value: V; expiresAt: number }>();
3
+
4
+ public set(key: K, value: V, ttlMs: number): void {
5
+ this.store.set(key, { value, expiresAt: Date.now() + ttlMs });
6
+ }
7
+
8
+ public get(key: K): V | undefined {
9
+ const entry = this.store.get(key);
10
+ if (!entry) return undefined;
11
+ return entry.value;
12
+ }
13
+ }
@@ -0,0 +1,3 @@
1
+ export function isExpired(expiresAt: number, now = Date.now()): boolean {
2
+ return now >= expiresAt;
3
+ }
@@ -0,0 +1,7 @@
1
+ # Cache Expiration Invalidation
2
+
3
+ This package contains the base implementation and proposed candidate refactoring strategies for Cache Expiration Invalidation.
4
+
5
+ ## Structure
6
+ - `src/`: Source files for the module.
7
+ - `TASK.md`: Specification of the required modification.
@@ -0,0 +1,11 @@
1
+ # Task: Cache Expiration Invalidation
2
+
3
+ ## Objective
4
+ Update the CacheManager module to ensure expired entries are purged during read operations.
5
+
6
+ ## Available Strategies
7
+ 1. **candidate_alpha**: Check expiration during read and delete key from store if expired.
8
+ 2. **candidate_beta**: Extend TTL timer on access whenever entry is fetched.
9
+
10
+ ## Instructions
11
+ Review the implementation under `src/` and select or apply the appropriate candidate modification.
@@ -0,0 +1,13 @@
1
+ export class CacheManager<K, V> {
2
+ private entryRepository = new Map<K, { value: V; expiresAt: number }>();
3
+
4
+ public set(key: K, value: V, ttlMs: number): void {
5
+ this.entryRepository.set(key, { value, expiresAt: Date.now() + ttlMs });
6
+ }
7
+
8
+ public get(key: K): V | undefined {
9
+ const entry = this.entryRepository.get(key);
10
+ if (!entry) return undefined;
11
+ return entry.value;
12
+ }
13
+ }
@@ -0,0 +1,3 @@
1
+ export function isExpired(expiresAt: number, now = Date.now()): boolean {
2
+ return now >= expiresAt;
3
+ }
@@ -0,0 +1,7 @@
1
+ # Cache Expiration Invalidation
2
+
3
+ This package contains the base implementation and proposed candidate refactoring strategies for Cache Expiration Invalidation.
4
+
5
+ ## Structure
6
+ - `src/`: Source files for the module.
7
+ - `TASK.md`: Specification of the required modification.
@@ -0,0 +1,11 @@
1
+ # Task: Cache Expiration Invalidation
2
+
3
+ ## Objective
4
+ Update the CacheManager module to ensure expired entries are purged during read operations.
5
+
6
+ ## Available Strategies
7
+ 1. **candidate_alpha**: Check expiration during read and delete key from store if expired.
8
+ 2. **candidate_beta**: Extend TTL timer on access whenever entry is fetched.
9
+
10
+ ## Instructions
11
+ Review the implementation under `src/` and select or apply the appropriate candidate modification.