Having used Co-Pilot, this is a pervasive problem.
It will frequently kneecap itself by writing an incorrect function header then spiraling into nonsense.
Or if you ask it to complete something for you and you got the start wrong it’ll just keep generating different incorrect answers.
It’s very useful for boilerplate stuff, but even then I’ve been got by mistyping a variable name and then it keeps using the wrong name over and over but in believable ways because it generates believable code.
Having used Co-Pilot, this is a pervasive problem.
It will frequently kneecap itself by writing an incorrect function header then spiraling into nonsense.
Or if you ask it to complete something for you and you got the start wrong it’ll just keep generating different incorrect answers.
It’s very useful for boilerplate stuff, but even then I’ve been got by mistyping a variable name and then it keeps using the wrong name over and over but in believable ways because it generates believable code.