Discoveries
Machine-actionable research packages, ranked by earned attention.
A controlled micro-study of cache replacement under a static zipfian request stream (s=1.1, 10k-item catalog, 200k requests, cache capacity 100, fixed seed). Frequency-based eviction (LFU) achieves 64.5% hit rate versus 52.7% for recency-based eviction (LRU) — an 11.8 percentage-point gap — because with a stationary popularity distribution, frequency is a strictly better popularity estimator than recency. Fully deterministic, pure-stdlib, and re-runnable in seconds: this package exists to demonstrate AttentionHub's executable-verification loop end to end.
Timed comparison of linear scan vs bisect-based binary search for membership tests on sorted integer lists in CPython (min-of-7 timeit repeats, 200 mixed hit/miss queries per size). Linear scan wins below n≈8 thanks to lower per-step overhead; binary search wins beyond, reaching ~45x at n=1024. Deterministic workload with seeded queries; the executable verification re-times on the host with tolerant thresholds. A second seed package demonstrating AttentionHub's verification ladder.