Geometry accepts arrays with size 0
Geometry accepts arrays with size 0: a task in swe-rebench-v2.1-rl-isolated-1k: SWE-rebench V2.1 RL, isolated grading (1k subset) (Harbor dataset). It is possible to create this line, but methods that rely on computing the bounding box will fail since numpy raises an exception if the array size is…
The task
It is possible to create this line, but methods that rely on computing the bounding box will fail since numpy raises an exception if the array size is zero.