Someone should definitely sue them over this, to determine if the model is a "derived work" within the meaning of the GPL.
Someone should also release a model trained on the leaked Windows source code ..
Someone should also release a model trained on the leaked Windows source code ..
That said, if you trained a model specifically designed to violate copyright I suspect the courts would have a different opinion. They consider intent just as much as (if not more than) what you actually did.
This might sound stupid, and maybe it is, but that’s the state of law right now. It’s possible somebody will drag out a big slam dunk case that overturns much of this or that new laws will be passed… but right now (as far as I can tell) Copilot looks pretty legal.
(Of course, talk to your legal counsel, this may vary be region, etc.)