Conversing with Copilot: Exploring Prompt Engineering for Solving CS1 Problems Using Natural Language
Not on the map. Why?
Abstract (arXiv)
GitHub Copilot is an artificial intelligence model for automatically generating source code from natural language problem descriptions. Since June 2022, Copilot has officially been available for free to all students as a plug-in to development environments like Visual Studio Code. Prior work exploring OpenAI Codex, the underlying model that powers Copilot, has shown it performs well on typical CS1 problems thus raising concerns about the impact it will have on how introductory programming courses are taught. However, little is known about the types of problems for which Copilot does not perform well, or about the natural language interactions that a student might have with Copilot when resolving errors. We explore these questions by evaluating the performance of Copilot on a publicly available dataset of 166 programming problems. We find that it successfully solves around half of these problems on its very first attempt, and that it solves 60% of the remaining problems using only natural language changes to the problem description. We argue that this type of prompt engineering, which we believe will become a standard interaction between human and Copilot when it initially fails, is a potentially useful learning activity that promotes computational thinking skills, and is likely to change the nature of code writing skill development.
Key facts. Cited by 81 papers in the map (data through 7 Oct 2026). Builds on 13 of its 36 references that are in the map. First posted on arXiv 27 Oct 2022.
Builds on
13 of 36 references.
References · 13
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 599
- 2022Grounded Copilot: How Programmers Interact with Code-Generating Modelscited by 216
- 2021Understanding the Capabilities, Limitations, and Societal Impact of Large Language Modelscited by 159
- 2022GitHub Copilot AI pair programmer: Asset or Liability?cited by 150
- 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 124
- 2022AI-driven Development Is Here: Should You Worry?cited by 15
1 more
- 2021Natural Language-Guided Programmingcited by 4
Built on by
Citing papers per year: 2022: 1; 2023: 32; 2024: 27; 2025: 14; 2026: 7.
81 papers.
Sort:
By area:
- 2023Using an LLM to Help With Code Understandingcited by 222
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 85
- 2023Getting pwn'd by AI: Penetration Testing with Large Language Modelscited by 82
- 2024CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needscited by 81
- 2023A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and Challengescited by 75
- 2023Comparing Code Explanations Created by Students and Large Language Modelscited by 63
- 2022Parsel: Algorithmic Reasoning with Language Models by Composing Decompositionscited by 62
- 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Studycited by 52
- 2023Computing Education in the Era of Generative AIcited by 50
- 2023Exploring the Responses of Large Language Models to Beginner Programmers' Help Requestscited by 44
- 2023Thrilled by Your Progress! Large Language Models (GPT-4) No Longer Struggle to Pass Assessments in Higher Education Programming Coursescited by 38
- 2024Automatic Programming: Large Language Models and Beyondcited by 35
38 more
- 2023A Comparative Study of AI-Generated (GPT-4) and Human-crafted MCQs in Programming Educationcited by 34
- 2023Large Language Models (GPT) Struggle to Answer Multiple-Choice Questions about Codecited by 31
- 2023Can GPT-4 Support Analysis of Textual Data in Tasks Requiring Highly Specialized Domain Expertise?cited by 30
- 2023Exploring the Potential of Large Language Models to Generate Formative Programming Feedbackcited by 28
- 2023Evaluation of OpenAI Codex for HPC Parallel Programming Models Kernel Generationcited by 22
- 2024PerfCodeGen: Improving Performance of LLM Generated Code with Execution Feedbackcited by 22
- 2023Toward General Design Principles for Generative AI Applicationscited by 20
- 2023Next-Step Hint Generation for Introductory Programming Using Large Language Modelscited by 20
- 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judgecited by 19
- 2023Harnessing LLMs in Curricular Design: Using GPT-4 to Support Authoring of Learning Objectivescited by 16
- 2023Promptly: Using Prompt Problems to Teach Learners How to Effectively Utilize AI Code Generatorscited by 16
- 2024Selective Prompt Anchoring for Code Generationcited by 16
- 2023ChatGPT in the Classroom: An Analysis of Its Strengths and Weaknesses for Solving Undergraduate Computer Science Questionscited by 13
- 2023Can We Trust AI-Generated Educational Content? Comparative Analysis of Human and AI-Generated Learning Resourcescited by 12
- 2023Testing LLMs on Code Generation with Varying Levels of Prompt Specificitycited by 12
- 2024Large Language Models in Computer Science Education: A Systematic Literature Reviewcited by 12
- 2023Dcc --help: Generating Context-Aware Compiler Error Explanations with Large Language Modelscited by 11
- 2023Large Language Models in Introductory Programming Education: ChatGPT's Performance and Implications for Assessmentscited by 10
- 2023More Robots are Coming: Large Multimodal Models (ChatGPT) can Solve Visually Diverse Images of Parsons Problemscited by 10
- 2024Generative AI in Education: A Study of Educators' Awareness, Sentiments, and Influencing Factorscited by 10
- 2023Human-AI Interactions and Societal Pitfallscited by 9
- 2023"It's not like Jarvis, but it's pretty close!" -- Examining ChatGPT's Usage among Undergraduate Students in Computer Sciencecited by 9
- 2024Multi-Programming Language Sandbox for LLMscited by 9
- 2025How Do Programming Students Use Generative AI?cited by 9
- 2023A Case Study in Engineering a Conversational Programming Assistant's Personacited by 6
- 2023Decoding Logic Errors: A Comparative Study on Bug Detection by Students and Large Language Modelscited by 6
- 2023Can ChatGPT Play the Role of a Teaching Assistant in an Introductory Programming Course?cited by 6
- 2024Analyzing Prompt Influence on Automated Method Generation: An Empirical Study with Copilotcited by 6
- 2024Enhancing Security of AI-Based Code Synthesis with GitHub Copilot via Cheap and Efficient Prompt-Engineeringcited by 6
- 2025Human-AI Experience in Integrated Development Environments: A Systematic Literature Reviewcited by 5
- 2024Large Language Models Meet User Interfaces: The Case of Provisioning Feedbackcited by 4
- 2025AI Literacy in K-12 and Higher Education in the Wake of Generative AI: An Integrative Reviewcited by 4
- 2025From Prompts to Propositions: A Logic-Based Lens on Student-LLM Interactionscited by 4
- 2023Will Code Remain a Relevant User Interface for End-User Programming with Generative AI Models?cited by 3
- 2024Enhancing Programming Error Messages in Real Time with Generative AIcited by 3
- 2024LLM-aided explanations of EDA synthesis errorscited by 3
- 2025ScriptoriumWS: A Code Generation Assistant for Weak Supervisioncited by 3
- 2024Benchmarking Educational Program Repaircited by 2
50 most cited of 81 All 81 (JSON)
- 2026WIP: LLM Odyssey: A Game-Based Platform for Teaching LLM Engineering Concepts4 Aug 2026
- 2026AI-Assisted Help-Seeking Trajectories in Programming Education from an SRL-Informed Perspective22 Jun 2026
- 2026Robotics-Inspired Guardrails for Foundation Models in Socially Sensitive Domains19 May 2026
- 2026AI-Generated Slides: Are They Good? Can Students Tell?13 May 2026
- 2026Designing FSMs Specifications from Requirements with GPT 4.031 Mar 2026
- 2026From Code-Centric to Concept-Centric: Teaching NLP with LLM-Assisted "Vibe Coding"2 Feb 2026
- 2026WiFiPenTester: Advancing Wireless Ethical Hacking with Governed GenAI30 Jan 2026
- 2025Coding With AI: From a Reflection on Industrial Practices to Future Computer Science and Software Engineering Education30 Dec 2025
- 2025Assessing the Prevalence of AI-assisted Cheating in Programming Courses: A Pilot Study8 Jul 2025
- 2025From Prompts to Propositions: A Logic-Based Lens on Student-LLM Interactions25 Apr 2025
- 2025Evaluating Code Generation of LLMs in Advanced Computer Science Problems21 Apr 2025
- 2025DangerMaps: Personalized Safety Advice for Travel in Urban Environments using a Retrieval-Augmented Language Model18 Mar 2025
38 more
- 2025Human-AI Experience in Integrated Development Environments: A Systematic Literature Review8 Mar 2025
- 2025Prompt Programming: A Platform for Dialogue-based Computational Problem Solving with Generative AI Models6 Mar 2025
- 2025Can LLM Assist in the Evaluation of the Quality of Machine Learning Explanations?28 Feb 2025
- 2025AI Literacy in K-12 and Higher Education in the Wake of Generative AI: An Integrative Review27 Feb 2025
- 2025Supervised Fine-Tuning LLMs to Behave as Pedagogical Agents in Programming Education27 Feb 2025
- 2025ScriptoriumWS: A Code Generation Assistant for Weak Supervision17 Feb 2025
- 2025CodeSCM: Causal Analysis for Multi-Modal Code Generation7 Feb 2025
- 2025Do AI assistants help students write formal specifications? A study with ChatGPT and the B-Method20 Jan 2025
- 2025How Do Programming Students Use Generative AI?17 Jan 2025
- 2024Breaking the Programming Language Barrier: Multilingual Prompting to Empower Non-Native English Learners17 Dec 2024
- 2024Seeing the Forest and the Trees: Solving Visual Graph and Tree Based Data Structure Problems using Large Multimodal Models15 Dec 2024
- 2024"Give me the code" -- Log Analysis of First-Year CS Students' Interactions With GPT26 Nov 2024
- 2024PerfCodeGen: Improving Performance of LLM Generated Code with Execution Feedback18 Nov 2024
- 2024A Risk Taxonomy and Reflection Tool for Large Language Model Adoption in Public Health4 Nov 2024
- 2024Multi-Programming Language Sandbox for LLMs30 Oct 2024
- 2024Large Language Models in Computer Science Education: A Systematic Literature Review21 Oct 2024
- 2024Comparing the Utility, Preference, and Performance of Course Material Search Functionality and Retrieval-Augmented Generation Large Language Model (RAG-LLM) AI Chatbots in Information-Seeking Tasks17 Oct 2024
- 2024Utilizing ChatGPT in a Data Structures and Algorithms Course: A Teaching Assistant's Perspective11 Oct 2024
- 2024Integrating Natural Language Prompting Tasks in Introductory Programming Courses4 Oct 2024
- 2024Selective Prompt Anchoring for Code Generation17 Aug 2024
- 2024Integrating AI Tutors in a Programming Course14 Jul 2024
- 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Study8 Jul 2024
- 2024Benchmarking Educational Program Repair8 May 2024
- 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judge8 May 2024
- 2024Automatic Programming: Large Language Models and Beyond3 May 2024
- 2024Aptly: Making Mobile Apps from Natural Language30 Apr 2024
- 2024Large Language Models Meet User Interfaces: The Case of Provisioning Feedback17 Apr 2024
- 2024LLM-aided explanations of EDA synthesis errors7 Apr 2024
- 2024Generative AI in Education: A Study of Educators' Awareness, Sentiments, and Influencing Factors22 Mar 2024
- 2024Enhancing Security of AI-Based Code Synthesis with GitHub Copilot via Cheap and Efficient Prompt-Engineering19 Mar 2024
- 2024Helpful or Harmful? Exploring the Efficacy of Large Language Models for Online Grooming Prevention14 Mar 2024
- 2024Analyzing Prompt Influence on Automated Method Generation: An Empirical Study with Copilot13 Feb 2024
- 2024Enhancing Programming Error Messages in Real Time with Generative AI12 Feb 2024
- 2024"Which LLM should I use?": Evaluating LLMs for tasks performed by Undergraduate Computer Science Students22 Jan 2024
- 2024CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needs20 Jan 2024
- 2024Interactions with Prompt Problems: A New Way to Teach Programming with Large Language Models19 Jan 2024
- 2023Can ChatGPT Play the Role of a Teaching Assistant in an Introductory Programming Course?12 Dec 2023
- 2023A Comparative Study of AI-Generated (GPT-4) and Human-crafted MCQs in Programming Education5 Dec 2023
50 newest of 81 All 81 (JSON)
- 2025DangerMaps: Personalized Safety Advice for Travel in Urban Environments using a Retrieval-Augmented Language Modelcited by 1
- 2024Comparing the Utility, Preference, and Performance of Course Material Search Functionality and Retrieval-Augmented Generation Large Language Model (RAG-LLM) AI Chatbots in Information-Seeking Taskscited by 0
- 2025DangerMaps: Personalized Safety Advice for Travel in Urban Environments using a Retrieval-Augmented Language Model18 Mar 2025
- 2024Comparing the Utility, Preference, and Performance of Course Material Search Functionality and Retrieval-Augmented Generation Large Language Model (RAG-LLM) AI Chatbots in Information-Seeking Tasks17 Oct 2024
- 2023Using an LLM to Help With Code Understandingcited by 222
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 85
- 2023Getting pwn'd by AI: Penetration Testing with Large Language Modelscited by 82
- 2024CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needscited by 81
- 2023A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and Challengescited by 75
- 2023Comparing Code Explanations Created by Students and Large Language Modelscited by 63
- 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Studycited by 52
- 2023Computing Education in the Era of Generative AIcited by 50
- 2023Exploring the Responses of Large Language Models to Beginner Programmers' Help Requestscited by 44
- 2023Thrilled by Your Progress! Large Language Models (GPT-4) No Longer Struggle to Pass Assessments in Higher Education Programming Coursescited by 38
- 2024Automatic Programming: Large Language Models and Beyondcited by 35
- 2023A Comparative Study of AI-Generated (GPT-4) and Human-crafted MCQs in Programming Educationcited by 34
12 most cited of 73 All 73 (JSON)
- 2026WIP: LLM Odyssey: A Game-Based Platform for Teaching LLM Engineering Concepts4 Aug 2026
- 2026AI-Assisted Help-Seeking Trajectories in Programming Education from an SRL-Informed Perspective22 Jun 2026
- 2026AI-Generated Slides: Are They Good? Can Students Tell?13 May 2026
- 2026Designing FSMs Specifications from Requirements with GPT 4.031 Mar 2026
- 2026From Code-Centric to Concept-Centric: Teaching NLP with LLM-Assisted "Vibe Coding"2 Feb 2026
- 2026WiFiPenTester: Advancing Wireless Ethical Hacking with Governed GenAI30 Jan 2026
- 2025Assessing the Prevalence of AI-assisted Cheating in Programming Courses: A Pilot Study8 Jul 2025
- 2025From Prompts to Propositions: A Logic-Based Lens on Student-LLM Interactions25 Apr 2025
- 2025Evaluating Code Generation of LLMs in Advanced Computer Science Problems21 Apr 2025
- 2025Human-AI Experience in Integrated Development Environments: A Systematic Literature Review8 Mar 2025
- 2025Prompt Programming: A Platform for Dialogue-based Computational Problem Solving with Generative AI Models6 Mar 2025
- 2025Can LLM Assist in the Evaluation of the Quality of Machine Learning Explanations?28 Feb 2025
12 newest of 73 All 73 (JSON)