InPlaceIntersection not symmetric when bitsets have different lengths
InPlaceIntersection not symmetric when bitsets have different lengths: a task in harness-adapters: Agentic coding environments (Harbor dataset). When performing an in-place intersection between two bitsets of different lengths, the operation is not symmetric. The result depends on which bitset the…
The task
When performing an in-place intersection between two bitsets of different lengths, the operation is not symmetric. The result depends on which bitset the method is called on, which violates the expected mathematical property that intersection should be commutative.
Part of harness-hub/harness-adapters.