amduat/tests/asl
Carl Niklas Rydberg 8ea3ec861f asl/index-fs: add neg-cache, bloom precheck, and fix O(N²) load_segment
- Introduce a 256-entry ring-buffer negative cache (neg_cache) to short-circuit
  repeated NOT_FOUND lookups without touching disk.  Invalidated on put/tombstone-lift.
- Add bloom precheck in scan_segments: read only the 368-byte header+bloom prefix
  before committing to a full segment load; segments that definitively miss are skipped.
- Remove summary_lookup_hash from load_segment; the linear scan over 40-byte entries
  was O(N²) on large indexes and is now replaced by a direct SHA-256 of the segment bytes.
- Gitignore .codex and .claude tool artifacts.
- Add test_miss_latency_bounded: regression test that builds 200 segments and asserts
  miss-path latency stays within 5 s total across 20 trials.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 22:12:11 +02:00
..
test_asl_derivation_index_fs.c Add PEL program builder and derivation indexing 2026-01-18 09:21:25 +01:00
test_asl_error_taxonomy.c trow AI at it. 2026-02-22 00:25:56 +01:00
test_asl_index_accel.c Add ASL index accel routing key 2026-01-18 06:20:48 +01:00
test_asl_index_put_get_consistency.c Fixing tests. 2026-02-21 19:23:59 +01:00
test_asl_index_replay.c Extend FER/1 receipts and TGK store support 2026-01-17 21:34:24 +01:00
test_asl_log_encoding.c trow AI at it. 2026-02-22 00:25:56 +01:00
test_asl_log_store_index_fs.c Fixing tests. 2026-02-21 19:23:59 +01:00
test_asl_projection_replay.c test_projector_loop_stub 2026-02-21 20:07:57 +01:00
test_asl_ref_derive.c trow AI at it. 2026-02-22 00:25:56 +01:00
test_asl_replay.c Add filesystem-backed ASL index store 2026-01-17 14:08:41 +01:00
test_asl_store_index_fs.c asl/index-fs: add neg-cache, bloom precheck, and fix O(N²) load_segment 2026-04-17 22:12:11 +02:00
test_asl_store_indexed_ops.c Improve ASL store index lifecycle 2026-01-18 05:54:31 +01:00