I have this naïve cumbersome thing for dealing with collinear vertices in a polygon (like a vertex in the middle of an edge that doesn't change the shape of the polygon, and I tried to replace it with some clever #shapely method such as .simplify(...) or .buffer(0) and failed miserably. So I'll have to keep my home made check-area-every-three-vertices thing for now...
I'm kind of proud of my idea of representing polygons as a set of frozensets of edge vertex pairs because it eliminates all visually equivalent rotations and reverse ordered rotations (that is, if you don't have pesky collinear vertices).
https://pynews.com.br/@villares/115325020477872857/