HF RL Explorer

Stateful property-based testing: the cache has a planted bug that only shows through operation SEQUENCES…

Stateful property-based testing: the cache has a planted bug that only shows through operation SEQUENCES…: a task in traj2envs-rl: RL tasks generated with traj2envs (Harbor dataset). class LRUCache: def init (self, capacity): ... capacity: positive int; stores self.capacity; self.d = OrderedDict()…

The task

class LRUCache: def __init__(self, capacity): ... # capacity: positive int; stores self.capacity; self.d = OrderedDict() def get(self, key): ... # -> stored value, or None if key absent def put(self, key, value): ... # insert or update ```

Part of harness-hub/traj2envs-rl.