That’s due to the fact ChatGPT lacks context recognition — Quite simply, the generated code isn’t usually suitable for the precise context through which it’s getting used.
Antonio Nuño, Fatima Alvarez, and https://inespxnc723060.wikiexpression.com/3550260/5_simple_statements_about_gpt_chat_explained