HF RL Explorer

OrderedSet discard method corrupts internal structure

OrderedSet discard method corrupts internal structure: a task in UltraTerminal (Harbor dataset). The OrderedSet.discard() method appears to be corrupting the internal linked list structure, causing the set to behave incorrectly. After discarding elements, the OrderedSet shows unexpected behavior…

The task

The `OrderedSet.discard()` method appears to be corrupting the internal linked list structure, causing the set to behave incorrectly. After discarding elements, the OrderedSet shows unexpected behavior in iteration and representation.

Part of harness-hub/UltraTerminal.