This would be a lot more interesting if it showed the various GPT-3 experiments at generating music and used that as a point of comparison.
What would those be? I’ve worked at a number of organizations that were (rightfully) paranoid about accidentally incorporating GPL code, but even there I wasn’t aware of automated tooling to prevent it, it was only enforced through developer vigilance.
You must do some CSI level code reviews. Best I'm able to do is figure out if code will work and if something can be done obviously better. Stylistic calls (beyond lint enforceable) are up to authors as far as I'm concerned.
And even then it's trivial to fix up naming schemes and such to march codebase - doubt that gets you out of copyright issues.
In this case it’s not implementing the algorithm, it’s copying a particular famous implementation, down to the comments.
(And FWIW, patent terms should be inversely proportional to the number of patents issued in that category the previous year. This would automatically reduce terms in categories where innovation is rapid, promoting competition and drive to get to market, but preserve maximum protection for inventions in mature categories with a slower pace of innovation.
The Copilot algorithm didn't take this into account though... if it did, we probably couldn't complains about copyright infringement.
Copilot is neat. If you are concerned about it, talk to a lawyer and get their opinion.