CV: edge case in landmass, AOI intersection
CV: edge case in landmass, AOI intersection: a task in swe-rebench-v2.1-rl-isolated-1k: SWE-rebench V2.1 RL, isolated grading (1k subset) (Harbor dataset). In this case the landmass polygon has two vertices that are basically identical. The model converts the polygons to lines and then intersects…
The task
In this case the landmass polygon has two vertices that are basically identical. The model converts the polygons to lines and then intersects each line with the AOI polygon. We end up trying to intersect a polygon with a line where the start and end coordinate pairs are the same, like this: