Have you looked at antirez's code?
I went from using copilot autocomplete and mostly just disabling it because it was not great, to now using claude most of my day. I gets stuff wrong. It does generate inefficient code. It definitely has a way to go, but otherwise it just saves so much time.