Tbh ChatGPT is not 100% efficient for generating code. You know how those weird AI generated images look sometimes??? Those kinda flaws often come up in complex code generation. You still need to be able to spot out the messed up bits.