GitHub Copilot may suggest old or deprecated uses of libraries and languages
This raises two questions. - is there a way (right now or planned for the future) for library maintainers to mark suggestions to be removed from the suggestions? I can foresee Copilot being used as a source of 'truth' among less experienced developers, and getting people turning up in the Issues or Discord asking why the suggestion doesn't work might be a bit jarring if the maintainers have to argue that "Github was wrong." - if a library is hosted on Github is there a way to mark some examples as Copilot training data? Maybe by having a 'gh-copilot' branch in the repo that represents high quality, known-good examples of usage?
I'd be pretty worried about this based on how many times an SO question has new better answers months/years later. I find that platform self-corrects reasonably well, with the newer better answer ending up at the top, but no idea how that'd happen here.
Comments (1,272) 260 threads
Show all comments
Showing thread 12 of 260
This raises two questions.
- is there a way (right now or planned for the future) for library maintainers to mark suggestions to be removed from the suggestions? I can foresee Copilot being used as a source of 'truth' among less experienced developers, and getting people turning up in the Issues or Discord asking why the suggestion doesn't work might be a bit jarring if the maintainers have to argue that "Github was wrong."
- if a library is hosted on Github is there a way to mark some examples as Copilot training data? Maybe by having a 'gh-copilot' branch in the repo that represents high quality, known-good examples of usage?
I don't. Very often I run into an outdated accepted response with much better and more recent replies below it.