Re:Papers on GitHub Copilot, copyright law, and ownership fo...
by simion314 on Saturday June 25, 2022 @01:28PM
(#31877031)
If you have access to it maybe experiment with using snippets from Windows code, like find Wine or Windows code on GitHub and copy the start of a function that is pretty unique , see if it completes it as the original or not.
Other experiment maybe test if it just repeats text that iot seen and has realy no idea about stiuff. I would use missleading variables, like
int namesLis; int[] counter; string i ="test";
add some comments or unrelated stuff here like print heelo world 12 times
then start with for( int ... and see it it just completes it correctly or will do something stupid and have 3 or more error) If it is a bit smart it will know what variable is the list because it associated the [] with a list
Re:Papers on GitHub Copilot, copyright law, and ownership fo...
by cdrini on Saturday June 25, 2022 @02:27PM
(#31877534)
Oh as of this week copilot is open to the public: https://github.com/features/copilot/ . You can get a trial, or it is free for students and open source maintainers.
I think your example is close. Copilot is a lot like an inexperienced developer. It doesn't (usually) make syntax errors, but because it doesn't understand your problem space, and because it doesn't have as many layers of abstraction as a human does, it does sometimes make silly mistakes. I definitely wouldn't trust it to write an entire program on its own! But with a human in the loop doing the more complicated abstract pieces of coding, it handles the more simple menial pieces pretty well!