We'll have to see what Google's most advanced model with the ridiculously larger context window can do, once it's fully released into the wild. Refactoring an entire code base is presumably asking too much, but it'll be able to do small refactoring since the released model can do that, so we'll have to see where its upper limits are.
Of course, to get it better at refactoring, everyone has to write blog posts on refactoring to feed the machine.
Of course, to get it better at refactoring, everyone has to write blog posts on refactoring to feed the machine.