From what I've seen on the art side of things, the more a certain work has been copied in the real world (and thus in the training set multiple times), the more likely it is you're able to get a very close copy out of the model with the right prompts.
For example, I'm pretty sure this is why some models turn up a near exact version of The Girl With The Pearl Earring.
Jumping into this but I've honestly lost my train of thought, lol
That said... is that any different from someone copying and pasting into their code vs copilot doing it?
If someone randomly pastes code that has a copyright, and people use it, how are they supposed to know they shouldn't be using it?
I imagine we're talking functions here though. Not sure if Copilot would reproduce entire libraries unprompted if they're not open-source, anyone have an answer?
https://stackoverflow.com/questions/17913191/using-typedef-i...
Found it after 5 mins and a couple tweaks to the search terms.
Another:
https://vdoc.pub/documents/direct-methods-for-sparse-linear-...
Someone copied this guy's book and put it on scribd: https://www.scribd.com/document/514019650/Direct-Methods-for...
Someone put it on a "personal" edu page:
https://people.sc.fsu.edu/~jburkardt/c_src/csparse/csparse.c
A modified version of it here marked as open-source:
https://github.com/rwl/CSparse.py/blob/master/csparse.py
More:
https://tonus.pages.math.unistra.fr/schnaps/schnaps/csparse_...
Google search used to find them:
https://www.google.com/search?q=Sparse+matrix+addition+%22ch...
Could probably find more if I looked harder.
Side note, looks like in a lot of places people do the ""proper""-ish thing and leave this guy's name on the code.