Friday, November 22, 2024
Technology

GitHub launches Copilot for Business plan as legal questions remain unresolved

GitHub Copilot, GitHub’s service that intelligently suggests lines of code, is now available in a plan for enterprises months after launching for individual users and educators.

Called GitHub Copilot for Business, the new plan, which costs $19 per user per month, comes with all the features in the single-license Copilot tier along with corporate licensing and policy controls. That includes a toggle that lets IT admins prevent suggested code that matches public code on GitHub from being shown to developers, a likely response to the intellectual property controversies brewing around Copilot.

Available as a downloadable extension for development environments, including Microsoft Visual Studio, Neovim and JetBrains, Copilot is powered by an AI model called Codex, developed by OpenAI, that’s trained on billions of lines of public code to suggest additional lines of code and functions given the context of existing code. Copilot — which had over 400,000 subscribers as of August — can surface a programming approach or solution in response to a description of what a developer wants to accomplish (e.g., “Say hello world”), drawing on its knowledge base and the current context.

Image Credits: GitHub

At least a portion of the code on which Codex was trained is copyrighted or under a restrictive license, which some advocacy groups have taken issue with. Users have been able to prompt Copilot to generate code from Quake, code snippets in personal codebases and example code from books like “Mastering JavaScript” and “Think JavaScript”; GitHub itself admits that, about 1% of the time, Copilot suggestions contain code snippets longer than ~150 characters that match the training data.

GitHub claims that fair use — the doctrine in U.S. law that permits the use of copyrighted material without first having to obtain permission from the rights holder — protects it in the event that Copilot was knowingly or unknowingly developed against copyrighted code. But not everyone agrees. The Free Software Foundation, a nonprofit that advocates for the free software movement, has called Copilot “unacceptable and unjust.” And Microsoft, GitHub and OpenAI are being sued in a class action lawsuit that accuses them of violating copyright law by allowing Copilot to regurgitate sections of licensed code without providing credit.

GitHub’s liability aside, some legal experts have argued that Copilot could put companies at risk if they were to unwittingly incorporate copyrighted suggestions from the tool into their production software. As Elaine Atwell notes in a piece on Kolide’s corporate blog, because Copilot strips code of its licenses, it’s difficult to tell which code is permissible to deploy and which might have incompatible terms of use.

GitHub’s attempt at rectifying this is a filter, first introduced to the Copilot platform in June, that checks code suggestions with their surrounding code of about 150 characters against public GitHub code and hides suggestions if there’s a match or “near match.” But it’s an imperfect measure. Tim Davis, a computer science professor at Texas A&M University, found that enabling the filter caused Copilot to emit large chunks of his copyrighted code, including all attribution and license text.

GitHub plans to introduce additional features in 2023 aimed at helping developers make informed decisions about whether to use Copilot’s suggestions, including the ability to identify strings matching public code with a reference to those repositories. And for GitHub Copilot for Business customers, GitHub claims it won’t retain code snippets for training or share code, regardless of whether the data comes from public repositories, private repositories, non-GitHub repositories or local files.

But it’s unclear whether those steps will be enough to allay companies’ fears over legal challenges.


source

Leave a Reply

Your email address will not be published. Required fields are marked *