LRU Cache eviction behavior incorrect when cache is at capacity
LRU Cache eviction behavior incorrect when cache is at capacity: a task in harness-adapters: Agentic coding environments (Harbor dataset). When using the LRU cache with a specific capacity, items are being evicted prematurely when the cache reaches its maximum size. The cache should only evict…
The task
When using the LRU cache with a specific capacity, items are being evicted prematurely when the cache reaches its maximum size. The cache should only evict items when it exceeds the capacity, not when it equals the capacity.
Part of harness-hub/harness-adapters.