4 ms·
> We built a filter to help detect and suppress the rare instances where a GitHub Copilot suggestion contains code that matches public code on GitHub. You have
by defasdefbe 4y ago
> We built a filter to help detect and suppress the rare instances where a GitHub Copilot suggestion contains code that matches public code on GitHub. You have the choice to turn that filter on or off during setup. With the filter on, GitHub Copilot checks code suggestions with its surrounding code for matches or near matches (ignoring whitespace) against public code on GitHub of about 150 characters. If there is a match, the suggestion will not be shown to you. We plan on continuing to evolve this approach and welcome feedback and comment.
From the FAQ https://github.com/features/copilot/ https://github.com/features/copilot/
- bmitc 4y agoThat is for people using Copilot. I’d like a setting that tells GitHub to not scan my code at all. And I am curious about that sneaking into the terms in between me signing up and paying and them taking code for free. I have also never heard of “public code” being used in that way.
- leni536 4y ago> I’d like a setting that tells GitHub to not scan my code at all. What about people forking/mirroring your code? Or people merely contributing code? There is no one-to-one correspondence between copyright holders and Github users. Copilot should just comply with the license, that's it.
- bmitc 4y agoIt seems they don't comply with licenses. And it's not possible to fork or mirror to private repositories. It would be a lot less trouble for everyone if it was just a per repository setting.
- pferde 4y agoA good first approximation of such a setting is to never publish on Github in the first place. Of course, someone else can still upload your elsewhere-published code to GH. You cannot win.
- drran 4y agoWTF is «public code»?