>>106924949
Yesterday I had Claude 4 sonnet rewrite a hundred line or so script at work to be more performant, because the moron that wrote it years ago added a linear search inside of a for-loop creating O(n^2) runtime.
It did a great job....except if completely changed the inputs and outputs, meaning it wasn't a refactor (despite me explicitly stating that it must be a drop in replacement for the current script without changing the input or output interfaces)
It then proceeded to put itself into a loop when I told it to write a test script to validate that the inputs and outputs were the same, because it kept making python syntax errors
Even Indians are better