GitHub Copilot AI pair programmer: Asset or Liability?

Auteurs : Arghavan Moradi Dakhel (Jack), Vahid Majdinasab (Jack), Amin Nikanjam (Jack), Foutse Khomh (Jack), Michel C. Desmarais (Jack), Zhen Ming (Jack), Jiang

Soumis à arXiv le 30 Jui. 2022
Résumé scientifique

Automatic program synthesis is a long-lasting dream in software engineering. Recently, a promising Deep Learning (DL) based solution, called Copilot, has been proposed by Open AI and Microsoft as an industrial product. Although some studies evaluate the correctness of Copilot solutions and report its issues, more empirical evaluations are necessary to understand how developers can benefit from it effectively. In this paper, we study the capabilities of Copilot in two different programming tasks: (1) generating (and reproducing) correct and efficient solutions for fundamental algorithmic problems, and (2) comparing Copilot's proposed solutions with those of human programmers on a set of programming tasks. For the former, we assess the performance and functionality of Copilot in solving selected fundamental problems in computer science, like sorting and implementing basic data structures. In the latter, a dataset of programming problems with human-provided solutions is used. The results show that Copilot is capable of providing solutions for almost all fundamental algorithmic problems, however, some solutions are buggy and non-reproducible. Moreover, Copilot has some difficulties in combining multiple methods to generate a solution. Comparing Copilot to humans, our results show that the correct ratio of human solutions is greater than Copilot's correct ratio, while the buggy solutions generated by Copilot require less effort to be repaired. While Copilot shows limitations as an assistant for developers especially in advanced programming tasks, as highlighted in this study and previous ones, it can generate preliminary solutions for basic programming tasks.

Les articles autour de lui, par date et par proximité

Plus haut, c’est plus proche de cet article ; à gauche, c’est plus ancien. Les traits relient les articles proches entre eux : les groupes de traits sont des sous-thèmes. Sélectionnez un point pour voir pourquoi il est là. Retour au résumé de cet article

Comment lire cette carte ? Guide illustré

Les articles les plus proches Les travaux antérieurs sur lesquels il s’appuie Les articles qui le citent

Les articles autour de celui-ci

Classés selon la proximité de leur titre et de leur résumé avec ceux de cet article. Sélectionnez-en pour les lire ensemble.

Les articles les plus proches

  1. Très proche
    Practices and Challenges of Using GitHub Copilot: An Empirical Study
    Beiqi Zhang, Peng Liang, Xiyu Zhou et al. · 2023 · Software Engineering · cité 86 fois · Résumé IA disponible
    Résumé scientifique

    With the advances in machine learning, there is a growing interest in AI-enabled tools for autocompleting source code. GitHub Copilot, also referred to as the "AI Pair Programmer", has been trained on billions of lines of open source GitHub code, and is one of such tools that has been increasingly used since its launch on June 2021. However, little effort has been devoted to understanding the practices and challenges of using Copilot in programming with auto-completed source code. To this end, we conducted an empirical study by collecting and analyzing the data from Stack Overflow (SO) and GitHub Discussions. More specifically, we searched and manually collected 169 SO posts and 655 GitHub d…

  2. Très proche
    On the Concerns of Developers When Using GitHub Copilot
    Xiyu Zhou, Peng Liang, Beiqi Zhang et al. · 2023 · Software Engineering · cité 48 fois · Résumé IA disponible
    Résumé scientifique

    With the recent advancement of Artificial Intelligence (AI) and the emergence of Large Language Models (LLMs), AI-based code generation tools have achieved significant progress and become a practical solution for software development. GitHub Copilot, referred to as AI pair programmer, utilizes machine learning models that are trained on a large corpus of code snippets to generate code suggestions or auto-complete code using natural language processing. Despite its popularity, there is little empirical evidence on the actual experiences of software developers who work with Copilot. To this end, we conducted an empirical study to understand the issues and challenges that developers face when u…

  3. Très proche Cité par cet article Utilisé en profondeur par cet article Une méthode qu’il utilise
    An Empirical Evaluation of GitHub Copilot's Code Suggestions
    N. Nguyen, S. Nadi · 2022 · IEEE Working Conference on Mining Software Repositories · cité 430 fois · Pas encore résumé
    Résumé scientifique

    GitHub and OpenAI recently launched Copilot, an “AI pair programmer” that utilizes the power of Natural Language Processing, Static Analysis, Code Synthesis, and Artificial Intelligence. Given a natural language description of the target functionality, Copilot can generate corresponding code in several programming languages. In this paper, we perform an empirical study to evaluate the correctness and understandability of Copilot's suggested code. We use 33 LeetCode questions to create queries for Copilot in four different programming languages. We evaluate the correctness of the corresponding 132 Copilot solutions by running LeetCode's provided tests, and evaluate understandability using Son…

  4. Très proche Cite cet article
    Can We Trust the AI Pair Programmer? Copilot for API Misuse Detection and Correction
    Saikat Mondal, C. Roy, Hong Wang et al. · 2025 · Conference of the Centre for Advanced Studies on Collaborative Research · Pas encore résumé
    Résumé scientifique

    API misuse introduces security vulnerabilities, system failures, and increases maintenance costs, all of which remain critical challenges in software development. Existing detection approaches rely on static analysis or machine learning-based tools that operate post-development, which delays defect resolution. Delayed defect resolution can significantly increase the cost and complexity of maintenance and negatively impact software reliability and user trust. AI-powered code assistants, such as GitHub Copilot, offer the potential for real-time API misuse detection within development environments. This study evaluates GitHub Copilot's effectiveness in identifying and correcting API misuse usin…

  5. Très proche Cite cet article
    Assessing and Analyzing the Correctness of GitHub Copilot’s Code Suggestions
    Ran Mo, Dongyu Wang, W. Zhan et al. · 2025 · ACM Transactions on Software Engineering and Methodology · cité 20 fois · Pas encore résumé
    Résumé scientifique

    AI programming has become a popular topic in recent years. Code suggestion, with code suggestion being a key capability of AI programming. Copilot, an “AI programmer” that provides code suggestions from natural language descriptions, has been launched by GitHub and OpenAI. By far, Copilot has been widely used by millions of developers. However, little work has systematically evaluated the correctness of Copilot’s suggestions. We conducted an empirical study on all 2,033 LeetCode problems to assess Copilot’s code generation across four mainstream languages: C, Java, JavaScript, and Python. We have found that: (1) 70.0% of problems received at least one correct suggestion, with language-specif…

  6. Très proche Cité par cet article Cite cet article
    Is GitHub’s Copilot as bad as humans at introducing vulnerabilities in code?
    Owura Asare, M. Nagappan, Nirmal Asokan · 2022 · Empirical Software Engineering · cité 210 fois · Pas encore résumé
    Résumé scientifique

    Several advances in deep learning have been successfully applied to the software development process. Of recent interest is the use of neural language models to build tools, such as Copilot, that assist in writing code. In this paper we perform a comparative empirical analysis of Copilot-generated code from a security perspective. The aim of this study is to determine if Copilot is as bad as human developers. We investigate whether Copilot is just as likely to introduce the same software vulnerabilities as human developers. Using a dataset of C/C++ vulnerabilities, we prompt Copilot to generate suggestions in scenarios that led to the introduction of vulnerabilities by human developers. The …

  7. Très proche
    Exploring Copilot Github to Automatically Solve Programming Problems in Computer Science Courses
    Clemente Rubio, Fabián Mella, Claudia Martínez et al. · 2023 · International Conference of the Chilean Computer Science Society · cité 2 fois · Pas encore résumé
    Résumé scientifique

    In recent times, the field of computer programming has experienced a significant revolution, thanks to advancements in machine learning. Applications have emerged with the capability to generate source code from natural language descriptions. These tools primarily utilize language models based on deep learning, which have been trained on a collection of programs and projects hosted in public repositories. One of these tools is Github Copilot, an artificial intelligence capable of generating source code that can be integrated as an extension into development environments. The objective of this study is to experimentally explore, analyze, and evaluate the suggestions made by the Github Copilot…

  8. Très proche Cité par cet article
    The Potential of Artificial Intelligence as a Method of Software Developer's Productivity Improvement
    E. Moroz, Vladimir O. Grizkevich, I. M. Novozhilov · 2022 · 2022 Conference of Russian Young Researchers in Electrical and Electronic Engineering (ElConRus) · cité 19 fois · Pas encore résumé
    Résumé scientifique

    Artificial Intelligence finds application at all stages of Software Engineering, and uses the Neural Networks, Machine Learning, Natural Language Processing concepts. This paper attempts to review the instance of such approach - neural network programmer’s assistant Copilot, based on Codex, the AI system developed by OpenAI. The differences between Codex language model’s versions and analogous systems were analyzed. The main problems and gaps of this innovation, such as correct commands formulation, copyrighting, safety issues, inefficient code, good practice examples and restrictions are also considered. Additionally, the opportunities for Copilot’s growth, development and possible features…

Les travaux antérieurs sur lesquels il s’appuie

  1. Proche Utilisé en profondeur par cet article Une méthode qu’il utilise
    Expectation vs. Experience: Evaluating the Usability of Code Generation Tools Powered by Large Language Models
    Priyan Vaithilingam, Tianyi Zhang, Elena L. Glassman · 2022 · CHI Extended Abstracts · cité 869 fois · Pas encore résumé
    Résumé scientifique

    Recent advances in Large Language Models (LLM) have made automatic code generation possible for real-world programming tasks in general-purpose programming languages such as Python. However, there are few human studies on the usability of these tools and how they fit the programming workflow. In this work, we conducted a within-subjects user study with 24 participants to understand how programmers use and perceive Copilot, a LLM-based code generation tool. We found that, while Copilot did not necessarily improve the task completion time or success rate, most participants preferred to use Copilot in daily programming tasks, since Copilot often provided a useful starting point and saved the ef…

  2. Proche
    Is GitHub Copilot a Substitute for Human Pair-programming? An Empirical Study
    Saki Imai · 2022 · 2022 IEEE/ACM 44th International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · cité 221 fois · Pas encore résumé
    Résumé scientifique

    This empirical study investigates the effectiveness of pair programming with GitHub Copilot in comparison to human pair-programming. Through an experiment with 21 participants we focus on code productivity and code quality. For experimental design, a participant was given a project to code, under three conditions presented in a randomized order. The conditions are pair-programming with Copilot, human pair-programming as a driver, and as a navigator. The codes generated from the three trials were analyzed to determine how many lines of code on average were added in each condition and how many lines of code on average were removed in the subsequent stage. The former measures the productivity o…

  3. Proche
    Asleep at the Keyboard? Assessing the Security of GitHub Copilot’s Code Contributions
    H. Pearce, Baleegh Ahmad, Benjamin Tan et al. · 2021 · IEEE Symposium on Security and Privacy · cité 1 103 fois · Pas encore résumé
    Résumé scientifique

    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 first self-described ‘AI pair programmer’, GitHub Copilot, which is a language model trained over open-source GitHub code. However, code often contains bugs—and so, given the vast quantity of unvetted code that Copilot has processed, it is certain that the language model will have learned from exploitable, buggy code. This raises concerns on the security of Copilot’s code contributions. In this work, we systematically investigate the prevalence and conditions that can cause Git…

  4. Proche
    Productivity assessment of neural code completion
    Albert Ziegler, E. Kalliamvakou, X. Li et al. · 2022 · MAPS@PLDI · cité 347 fois · Pas encore résumé
    Résumé scientifique

    Neural code synthesis has reached a point where snippet generation is accurate enough to be considered for integration into human software development workflows. Commercial products aim to increase programmers’ productivity, without being able to measure it directly. In this case study, we asked users of GitHub Copilot about its impact on their productivity, and sought to find a reflection of their perception in directly measurable user data. We find that the rate with which shown suggestions are accepted, rather than more specific metrics regarding the persistence of completions in the code over time, drives developers’ perception of productivity.

  5. Apparenté Utilisé en profondeur par cet article
    Competition-level code generation with AlphaCode
    Yujia Li, David Choi, Junyoung Chung et al. · 2022 · Science · cité 2 692 fois · Pas encore résumé
    Résumé scientifique

    Programming is a powerful and ubiquitous problem-solving tool. Systems that can assist programmers or even generate programs themselves could make programming more productive and accessible. Recent transformer-based neural network models show impressive code generation abilities yet still perform poorly on more complex tasks requiring problem-solving skills, such as competitive programming problems. Here, we introduce AlphaCode, a system for code generation that achieved an average ranking in the top 54.3% in simulated evaluations on recent programming competitions on the Codeforces platform. AlphaCode solves problems by generating millions of diverse programs using specially trained transfo…

Les articles qui le citent

  1. Proche
    Benchmarking ChatGPT, Codeium, and GitHub Copilot: A Comparative Study of AI-Driven Programming and Debugging Assistants
    Md Sultanul Islam Ovi, Nafisa Anjum, Tasmina Haque Bithe et al. · 2024 · 2024 27th International Conference on Computer and Information Technology (ICCIT) · cité 6 fois · Pas encore résumé
    Résumé scientifique

    With the increasing adoption of AI-driven tools in software development, large language models (LLMs) have become essential for tasks like code generation, bug fixing, and optimization. Tools like ChatGPT, GitHub Copilot, and Codeium provide valuable assistance in solving programming challenges, yet their effectiveness remains underexplored. This paper presents a comparative study of ChatGPT, Codeium, and GitHub Copilot, evaluating their performance on LeetCode problems across varying difficulty levels and categories. Key metrics such as success rates, runtime efficiency, memory usage, and error-handling capabilities are assessed. GitHub Copilot showed superior performance on easier and medi…

  2. Proche
    "My productivity is boosted, but …" Demystifying Users’ Perception on AI Coding Assistants
    Yunbo Lyu, Zhou Yang, Jie-Ke Shi et al. · 2025 · International Conference on Automated Software Engineering · cité 15 fois · Pas encore résumé
    Résumé scientifique

    This paper aims to explore fundamental questions in the era when AI coding assistants like GitHub Copilot are widely adopted: what do developers truly value and criticize in AI coding assistants, and what does this reveal about their needs and expectations in real-world software development? Unlike previous studies that conduct observational research in controlled and simulated environments, we analyze extensive, first-hand user reviews of AI coding assistants, which capture developers’ authentic perspectives and experiences drawn directly from their actual day-to-day work contexts. We identify 1,085 AI coding assistants from the Visual Studio Code Marketplace. Although they only account for…

  3. Proche
    Security Weaknesses of Copilot-Generated Code in GitHub Projects: An Empirical Study
    Yujia Fu, Peng Liang, Amjed Tahir et al. · 2025 · ACM Transactions on Software Engineering and Methodology · cité 131 fois · Pas encore résumé
    Résumé scientifique

    Modern code generation tools utilizing AI models like Large Language Models have gained increased popularity due to their ability to produce functional code. However, their usage presents security challenges, often resulting in insecure code merging into the code base. Thus, evaluating the quality of generated code, especially its security, is crucial. While prior research explored various aspects of code generation, the focus on security has been limited, mostly examining code produced in controlled environments rather than open source development scenarios. To address this gap, we conducted an empirical study, analyzing code snippets generated by GitHub Copilot and two other AI code genera…

  4. Proche
    The Impact of Generative AI on Collaborative Open-Source Software Development: Evidence from GitHub Copilot
    Fan Song, A. Agarwal, Wen Wen · 2024 · Social Science Research Network · cité 55 fois · Pas encore résumé
    Résumé scientifique

    Generative artificial intelligence (AI) facilitates content production and enhances ideation, with potentially important implications for developer productivity and participation in software development. To explore its impact on collaborative open-source software (OSS) development, we investigate the role of GitHub Copilot, a generative AI pair programmer, in OSS development where multiple distributed developers voluntarily collaborate. Using GitHub's proprietary Copilot usage data, combined with public OSS project data obtained from GitHub, we find that Copilot use increases project-level code contributions by 5.9%. This gain is accompanied by a 3.4% increase in developer coding participati…

  5. Proche
    AI or Ally? Understanding Student Reliance on GitHub Copilot and Human Peers Through Eye Tracking
    George Salib, Zohreh Sharafi · 2026 · IEEE Transactions on Software Engineering · Pas encore résumé
    Résumé scientifique

    As AI-powered tools like GitHub Copilot become increasingly integrated into development workflows, it’s essential to understand how developers—particularly novices—interact with these systems compared to traditional peer collaboration. This paper presents a within-subjects eye-tracking study of novice developers completing programming tasks with assistance from either GitHub Copilot or a human peer. We evaluate participants’ task performance, visual attention patterns, and perceived reliance on the assistant. Results show that participants achieved significantly higher correctness scores with Copilot (50%) than with peers (32%), but also spent more time and exhibited higher cognitive load. P…

Comment ces articles sont-ils trouvés ?

Nous comparons le titre et le résumé de cet article avec ceux de tous les articles résumés sur ce site, et avec les articles que Semantic Scholar recommande, ceux qu’il cite et ceux qui le citent (pour un article très cité, ses citations les plus récentes et, depuis OpenAlex, les plus citées). Parmi les travaux antérieurs et les suites, les articles qui s’utilisent en profondeur, une méthode qu’il utilise et les suites très citées remontent un peu. Les niveaux (très proche, proche, apparenté) viennent de la similarité des textes, pas d’un jugement de qualité ; * signale un article sans résumé, comparé par son titre. La phrase sous un article est écrite par une IA à partir des deux résumés : vérifiez-la dans les articles. Un article jugé hors sujet par trois lecteurs quitte la liste.

Mis à jour le 6 novembre 2026.

Le guide illustré des articles autour d’un article