Here Deepseek r1 fixes a python bug. Its fix is the same as the original code. I have not seen that level of stupidity from o1 or sonnet 3.5
https://x.com/alecm3/status/1883147247485170072?t=55xwg97roj...
https://x.com/alecm3/status/1883147247485170072?t=55xwg97roj...