Github Copilot, the AI ​​that helps code, still has limitations | TechBuzz

- Advertisement -


Introduced a year ago, Github’s programming assistance software is now open to everyone. There are still many unanswered questions about its capabilities.

« Your programming partner is here “, announced Github in a press release on June 21, 2022. It is not just any partner, but Github Copilot, a programming assistance software powered by artificial intelligence. Its promise is as simple as it is revolutionary: Copilot could help developers to code by offering them lines of code on its own.

A year after its presentation to the public, Copilot, which was developed by the platform specializing in hosting Github and OpenAI code projects, is available for everyone. Copilot was until now reserved for testers: more than 1.2 million developers had registered and, for nearly a year, evaluated the prowess of the software.

Copilot can generate complex algorithms

- Advertisement -

Copilot works in a simple way: “ As you type lines of code or comments, Copilot suggests the next line says Github. ” It’s not just a single word or line: Copilot can suggest complete methods, standard code formulas, entire paragraphs of tests and even complex algorithms », Promises the press release.

code
Does Github Copilot fulfill its promises? // Source: Canva

The promises are impressive, and on the site, the examples are just as impressive: you can see the software complete alone and very quickly several lines of code to automate the extraction of tweets, and this in several languages. Copilot would also share code recommendations based on the context, and even the project’s programming style, says Github.

But the arrival of Copilot would not necessarily be a good thing. Last year, when it was presented, the developers were divided on the software’s potential. Some felt that it was a small revolution, which would make it possible to code better and faster, while others raised many criticisms. Lack of transparency on the provenance of the code, low quality content, and possible copyright issues… the list of complaints collected by Numerama was long.

READ  Twitch star Xmiramira is fighting against lackluster Black skin in The Sims | TechBuzz

“Copilot does not write perfect code”

- Advertisement -

Has Copilot improved on these points? Hard to say. The software overview page does not offer much detail. To find out more about the origin of the code, you have to go to the bottom of the project’s presentation page, where it is simply indicated that the AI ​​was “etrained on public source codes, or from repositories Github publics “. The question of code in Copyleft, raised by Numerama last year, therefore still has no answer. It is nevertheless fundamental: the code under the Copyleft license can be reused for free, but only on condition that the project for which it is used is, in the end, also accessible for free.

Github assures that this would not be the case: “ Most of the code Copilot suggests has never been seen before “, is it explained. ” Our internal research shows that a suggestion may contain unchanged code snippets in only 1% of cases. However, if Copilot offers unmodified copyleft lines of code, this would raise serious questions.

tim-van-der-kuip-CPs2X8JYmS8-unsplash
Will developers use Copilot? // Source: Tim van der Kuip / Unsplash

As for the quality of the code proposed by the AI, the answer is not clear either. Github recognizes that ” Copilot does not write perfect code », and that the software « doesn’t test the code it suggests, so it won’t always work, and won’t always make sense “. It is even explained on the site that the software can offer passages “ old and obsolete under certain conditions, and that it does not work equally well on all programming languages.

READ  GrowCube Keeps Your Plants Watered Whether You're Home or On Vacation | TechBuzz
- Advertisement -

But it would seem however that, despite everything, Copilot works. According to the site’s data (to be taken with a little hindsight, therefore), on average, users would accept 26% of the lines of code offered by Copilot. And in files where the software is activated, Copilot code represents 27% of the content — a figure that rises to 40% in Python projects.



Source link

- Advertisement -
Admin
Adminhttp://techbuzz.asia
I am admin of techbuzz.asia blog & I provide tech-related news. As a part of my hobby, I make content related to technology and gadgets reviews too. I love to be a content creator apart from it, I am a full-time employee in an MNC company and manage blogs systematically. You can mail me at [email protected]

More from author

Related posts

Advertisment

Latest posts

iMac 4K CPO 2019 on sale at iBood | TechBuzz

If you're looking for a cheap Mac, check out iBood today. There is the iMac 4K CPO from 2019 with QWERTY keyboard with...

Want to stay up to date with the latest news?

We would love to hear from you! Please fill in your details and we will stay in touch. It's that simple!