Raising the level of abstraction and using valid software metrics (like function points) are the best way to beat the AI generated code, but trying to talk about it still meets opposition even in anti-AI developers. It's a lot like waiting for progressive reform in the USA. How bad do things have to get before we look at viable approaches?
#DumbAllOver