MS needs to give up and terminate Copilot.
The potential legal issues are there, but that's not why Copilot should die.
Copilot should die for any (or a combination of all) these reasons (and more which I don't mention):
- the operator has to already understand the emitted code to be able to determine if it is what is needed, or to modify it if it is close but not quite right
- the operator may have a false sense of capability, leading to bugs and other problems that would appear later (in production?)
- wrong suggestions are a distraction from the careful mental structures which one maintains while writing software
- any problem that Copilot can solve with guaranteed correctness is probably trivial or already met by a (battle tested) library
Forgive the analogy, but effective automated code generation is like autonomous driving systems. Anything less than 100% accuracy is a risk, and in these examples risk of incorrect behavior is not acceptable.
Copilot seems like a pointy-haired boss fantasy where they can hire only junior programmers and expect successful software products.