You should be able to choose flavors of the model trained only on public-domain code which does not require attribution, for example.
But that would mean Microsoft acknowledging license violations.
But that would mean Microsoft acknowledging license violations.
Ah. But then someone else is guilty of redistributing code without permission.
But you're suggesting, GitHub should implement something like ContentID but for code. Which should be cheaper (since code is cheap to analyze, while videos are much more bandwidth-intense). And this would kill two birds with one stone.