HF RL Explorer

Cache initial capacity calculation incorrect when MaxShardSize is set

Cache initial capacity calculation incorrect when MaxShardSize is set: a task in harness-adapters: Agentic coding environments (Harbor dataset). When creating a cache with a MaxShardSize configuration, the initial capacity calculation is not respecting the maximum shard size limit. The cache is…

The task

When creating a cache with a MaxShardSize configuration, the initial capacity calculation is not respecting the maximum shard size limit. The cache is allocating more memory than expected for the initial capacity.

Part of harness-hub/harness-adapters.