OrderedSet discard method corrupts internal structure
OrderedSet discard method corrupts internal structure: a task in harness-adapters: Agentic coding environments (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…
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/harness-adapters.