In my limited use, I've never seen these models (chatgpt, and github copilot) generate invalid syntax. I don't see much to improve there
I do see them generate code that fails the type checker though.
I do see them generate code that fails the type checker though.