paper-with-me

Papers

GitHub Copilot: the perfect Code compLeeter?

2024-06-17 · Ilja Siroš, Dave Singelée, Bart Preneel

This paper aims to evaluate GitHub Copilot's generated code quality based on the LeetCode problem set using a custom automated framework. We evaluate the results of Copilot for 4 programming languages: Java, C++, Python3 and Rust. We aim to evaluate Copilot's reliability in the code generation stage, the correctness of the generated code and its dependency on the programming language, problem's difficulty level and problem's topic. In addition to that, we evaluate code's time and memory efficiency and compare it to the average human results. In total, we generate solutions for 1760 problems for each programming language and evaluate all the Copilot's suggestions for each problem, resulting in over 50000 submissions to LeetCode spread over a 2-month period. We found that Copilot successfully solved most of the problems. However, Copilot was rather more successful in generating code in Java and C++ than in Python3 and Rust. Moreover, in case of Python3 Copilot proved to be rather unreliable in the code generation phase. We also discovered that Copilot's top-ranked suggestions are not always the best. In addition, we analysed how the topic of the problem impacts the correctness rate. Finally, based on statistics information from LeetCode, we can conclude that Copilot generates more efficient code than an average human.

📄 PDF Abstract BibTeX arXiv:2406.11326

Code (1)

iljasir/copilotsolverforleetcode 공식 구현

Tasks

Code Generation

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributions

2021-08-20 · Hammond Pearce, Baleegh Ahmad, Benjamin Tan, Brendan Dolan-Gavitt 외

There is burgeoning interest in designing AI-based systems to assist humans in designing computing systems, including tools that automatically generate computer code. The most notable of these comes in the form of the fi…

Code GenerationDiversityLanguage ModelingLanguage Modelling

Copilot-in-the-Loop: Fixing Code Smells in Copilot-Generated Python Code using Copilot

2024-01-25 · Beiqi Zhang, Peng Liang, Qiong Feng, Yujia Fu 외

As one of the most popular dynamic languages, Python experiences a decrease in readability and maintainability when code smells are present. Recent advancements in Large Language Models have sparked growing interest in A…

Code Generation

The Impact of AI Tool on Engineering at ANZ Bank An Empirical Study on GitHub Copilot within Corporate Environment

2024-02-08 · Sayan Chatterjee, Ching Louis Liu, Gareth Rowland, Tim Hogarth

The increasing popularity of AI, particularly Large Language Models (LLMs), has significantly impacted various domains, including Software Engineering. This study explores the integration of AI tools in software engineer…

Study of software developers' experience using the Github Copilot Tool in the software development process

2023-01-12 · Mateusz Jaworski, Dariusz Piotrkowski

In software development there is a constant pressure to produce code faster and faster without compromising on quality. New tools supporting developers are created in response to this demand. Currently a new generation o…

Survey

Choose Your Programming Copilot: A Comparison of the Program Synthesis Performance of GitHub Copilot and Genetic Programming

2021-11-15 · Dominik Sobania, Martin Briesch, Franz Rothlauf

GitHub Copilot, an extension for the Visual Studio Code development environment powered by the large-scale language model Codex, makes automatic program synthesis available for software developers. This model has been ex…

Language ModelingLanguage ModellingProgram Synthesis