mlsanityData to 7 Oct 2026

Conversing with Copilot: Exploring Prompt Engineering for Solving CS1 Problems Using Natural Language

arXiv 2210.15157 ↗First posted 27 Oct 2022cs.HC cs.AIcited by 81

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  4. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  5. 2021Program Synthesis with Large Language Modelscited by 3,509
  6. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  7. 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 599
  8. 2022Grounded Copilot: How Programmers Interact with Code-Generating Modelscited by 216
  9. 2021Understanding the Capabilities, Limitations, and Societal Impact of Large Language Modelscited by 159
  10. 2022GitHub Copilot AI pair programmer: Asset or Liability?cited by 150
  11. 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 124
  12. 2022AI-driven Development Is Here: Should You Worry?cited by 15
1 more
  1. 2021Natural Language-Guided Programmingcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 1; 2023: 32; 2024: 27; 2025: 14; 2026: 7.

81 papers.

Sort:

By area:

  1. 2023Using an LLM to Help With Code Understandingcited by 222
  2. 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 85
  3. 2023Getting pwn'd by AI: Penetration Testing with Large Language Modelscited by 82
  4. 2024CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needscited by 81
  5. 2023A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and Challengescited by 75
  6. 2023Comparing Code Explanations Created by Students and Large Language Modelscited by 63
  7. 2022Parsel: Algorithmic Reasoning with Language Models by Composing Decompositionscited by 62
  8. 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Studycited by 52
  9. 2023Computing Education in the Era of Generative AIcited by 50
  10. 2023Exploring the Responses of Large Language Models to Beginner Programmers' Help Requestscited by 44
  11. 2023Thrilled by Your Progress! Large Language Models (GPT-4) No Longer Struggle to Pass Assessments in Higher Education Programming Coursescited by 38
  12. 2024Automatic Programming: Large Language Models and Beyondcited by 35
38 more
  1. 2023A Comparative Study of AI-Generated (GPT-4) and Human-crafted MCQs in Programming Educationcited by 34
  2. 2023Large Language Models (GPT) Struggle to Answer Multiple-Choice Questions about Codecited by 31
  3. 2023Can GPT-4 Support Analysis of Textual Data in Tasks Requiring Highly Specialized Domain Expertise?cited by 30
  4. 2023Exploring the Potential of Large Language Models to Generate Formative Programming Feedbackcited by 28
  5. 2023Evaluation of OpenAI Codex for HPC Parallel Programming Models Kernel Generationcited by 22
  6. 2024PerfCodeGen: Improving Performance of LLM Generated Code with Execution Feedbackcited by 22
  7. 2023Toward General Design Principles for Generative AI Applicationscited by 20
  8. 2023Next-Step Hint Generation for Introductory Programming Using Large Language Modelscited by 20
  9. 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judgecited by 19
  10. 2023Harnessing LLMs in Curricular Design: Using GPT-4 to Support Authoring of Learning Objectivescited by 16
  11. 2023Promptly: Using Prompt Problems to Teach Learners How to Effectively Utilize AI Code Generatorscited by 16
  12. 2024Selective Prompt Anchoring for Code Generationcited by 16
  13. 2023ChatGPT in the Classroom: An Analysis of Its Strengths and Weaknesses for Solving Undergraduate Computer Science Questionscited by 13
  14. 2023Can We Trust AI-Generated Educational Content? Comparative Analysis of Human and AI-Generated Learning Resourcescited by 12
  15. 2023Testing LLMs on Code Generation with Varying Levels of Prompt Specificitycited by 12
  16. 2024Large Language Models in Computer Science Education: A Systematic Literature Reviewcited by 12
  17. 2023Dcc --help: Generating Context-Aware Compiler Error Explanations with Large Language Modelscited by 11
  18. 2023Large Language Models in Introductory Programming Education: ChatGPT's Performance and Implications for Assessmentscited by 10
  19. 2023More Robots are Coming: Large Multimodal Models (ChatGPT) can Solve Visually Diverse Images of Parsons Problemscited by 10
  20. 2024Generative AI in Education: A Study of Educators' Awareness, Sentiments, and Influencing Factorscited by 10
  21. 2023Human-AI Interactions and Societal Pitfallscited by 9
  22. 2023"It's not like Jarvis, but it's pretty close!" -- Examining ChatGPT's Usage among Undergraduate Students in Computer Sciencecited by 9
  23. 2024Multi-Programming Language Sandbox for LLMscited by 9
  24. 2025How Do Programming Students Use Generative AI?cited by 9
  25. 2023A Case Study in Engineering a Conversational Programming Assistant's Personacited by 6
  26. 2023Decoding Logic Errors: A Comparative Study on Bug Detection by Students and Large Language Modelscited by 6
  27. 2023Can ChatGPT Play the Role of a Teaching Assistant in an Introductory Programming Course?cited by 6
  28. 2024Analyzing Prompt Influence on Automated Method Generation: An Empirical Study with Copilotcited by 6
  29. 2024Enhancing Security of AI-Based Code Synthesis with GitHub Copilot via Cheap and Efficient Prompt-Engineeringcited by 6
  30. 2025Human-AI Experience in Integrated Development Environments: A Systematic Literature Reviewcited by 5
  31. 2024Large Language Models Meet User Interfaces: The Case of Provisioning Feedbackcited by 4
  32. 2025AI Literacy in K-12 and Higher Education in the Wake of Generative AI: An Integrative Reviewcited by 4
  33. 2025From Prompts to Propositions: A Logic-Based Lens on Student-LLM Interactionscited by 4
  34. 2023Will Code Remain a Relevant User Interface for End-User Programming with Generative AI Models?cited by 3
  35. 2024Enhancing Programming Error Messages in Real Time with Generative AIcited by 3
  36. 2024LLM-aided explanations of EDA synthesis errorscited by 3
  37. 2025ScriptoriumWS: A Code Generation Assistant for Weak Supervisioncited by 3
  38. 2024Benchmarking Educational Program Repaircited by 2

50 most cited of 81 All 81 (JSON)