HF RL Explorer

LRU Cache eviction behavior incorrect when cache is at capacity

LRU Cache eviction behavior incorrect when cache is at capacity: a task in UltraTerminal (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 items when it exceeds the capacity…

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/UltraTerminal.