mlsanityData to 7 Oct 2026

Is ChatGPT the Ultimate Programming Assistant -- How far is it?

arXiv 2304.11938 ↗First posted 24 Apr 2023cs.SE cs.AIcited by 72

Not on the map. Why?

Abstract (arXiv)

Recently, the ChatGPT LLM has received great attention: it can be used as a bot for discussing source code, prompting it to suggest changes, provide descriptions or even generate code. Typical demonstrations generally focus on existing benchmarks, which may have been used in model training (i.e., data leakage). To assess the feasibility of using an LLM as a useful assistant bot for programmers, we must assess its realistic capabilities on unseen problems as well as its capabilities on various tasks. In this paper, we present an empirical study of ChatGPT's potential as a fully automated programming assistant, focusing on the tasks of code generation, program repair, and code summariziation. The study investigates ChatGPT's performance on common programming problems and compares it with state-of-the-art approaches on two benchmarks. Among several findings, our study shows that ChatGPT is effective in dealing with common programming problems. However, our experiments also reveal limitations in terms of its attention span: detailed descriptions will constrain the focus of ChatGPT and prevent it from leveraging its vast knowledge to solve the actual problem. Surprisingly, we have identified the ability of ChatGPT to reason the original intention of the code. We expect future work to build on this insight for dealing with the open question of the oracle problem. Our findings contribute interesting insights to the development of LLMs for programming assistance, notably by demonstrating the importance of prompt engineering, and providing a better understanding of ChatGPT's practical applications for software engineering.

Key facts. Cited by 72 papers in the map (data through 7 Oct 2026). Builds on 51 of its 93 references that are in the map. First posted on arXiv 24 Apr 2023.

Builds on

51 of 93 references.

References · 51

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  5. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
  6. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  7. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  8. 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
  9. 2020Domain-Specific Language Model Pretraining for Biomedical Natural Language Processingcited by 996
  10. 2020Pre-trained Models for Natural Language Processing: A Surveycited by 504
  11. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  12. 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 457
38 more
  1. 2022CodeT: Code Generation with Generated Testscited by 369
  2. 2021Unified Pre-training for Program Understanding and Generationcited by 361
  3. 2020IntelliCode Compose: Code Generation Using Transformercited by 225
  4. 2022GitHub Copilot AI pair programmer: Asset or Liability?cited by 150
  5. 2021Retrieval Augmented Code Generation and Summarizationcited by 148
  6. 2020A Transformer-based Approach for Source Code Summarizationcited by 129
  7. 2022Few-shot training LLMs for project-specific code-summarizationcited by 128
  8. 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 124
  9. 2017Natural Language Processing: State of The Art, Current Trends and Challengescited by 114
  10. 2021BERT: A Review of Applications in Natural Language Processing and Understandingcited by 109
  11. 2023An Analysis of the Automatic Bug Fixing Performance of ChatGPTcited by 108
  12. 2021Jigsaw: Large Language Models meet Program Synthesiscited by 103
  13. 2018Improving Automatic Source Code Summarization via Deep Reinforcement Learningcited by 99
  14. 2022Programming Is Hard -- Or at Least It Used to Be: Educational Opportunities And Challenges of AI Code Generationcited by 97
  15. 2016A Convolutional Attention Network for Extreme Summarization of Source Codecited by 90
  16. 2023Studying the effect of AI Code Generators on Supporting Novice Learners in Introductory Programmingcited by 87
  17. 2023Impact of Code Language Models on Automated Program Repaircited by 85
  18. 2022Experiences from Using Code Explanations Generated by Large Language Models in a Web Software Development E-Bookcited by 84
  19. 2020Improved Code Summarization via a Graph Neural Networkcited by 79
  20. 2022Automated Repair of Programs from Large Language Modelscited by 71
  21. 2019Code Generation as a Dual Task of Code Summarizationcited by 62
  22. 2022NatGen: Generative pre-training by "Naturalizing" source codecited by 53
  23. 2021Neural Program Repair with Execution-based Backpropagationcited by 50
  24. 2021On the Evaluation of Neural Code Summarizationcited by 47
  25. 2021Applying CodeBERT for Automated Program Repair of Java Simple Bugscited by 44
  26. 2021In-IDE Code Generation from Natural Language: Promise and Challengescited by 41
  27. 2023Conversational Automated Program Repaircited by 41
  28. 2018CODIT: Code Editing with Tree-Based Neural Modelscited by 40
  29. 2019Automatic Source Code Summarization with Extended Tree-LSTMcited by 28
  30. 2022Repairing Bugs in Python Assignments Using Large Language Modelscited by 28
  31. 2021Automatic Program Repair with OpenAI's Codex: Evaluating QuixBugscited by 24
  32. 2020Evaluating Representation Learning of Code Changes for Predicting Patch Correctness in Program Repaircited by 22
  33. 2021Trust Enhancement Issues in Program Repaircited by 22
  34. 2022DEAR: A Novel Deep Learning-based Approach for Automated Program Repaircited by 22
  35. 2016Automated Clustering and Program Repair for Introductory Programming Assignmentscited by 21
  36. 2019A Self-Attentional Neural Architecture for Code Completion with Multi-Task Learningcited by 18
  37. 2021Fast Changeset-based Bug Localization with BERTcited by 13
  38. 2023KNOD: Domain Knowledge Distilled Tree Decoder for Automated Program Repaircited by 13

50 most cited of 51 All 51 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 28; 2024: 23; 2025: 13; 2026: 8.

72 papers.

Sort:

By area:

  1. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
  2. 2024Self-playing Adversarial Language Game Enhances LLM Reasoningcited by 80
  3. 2023Algorithm Evolution Using Large Language Modelcited by 52
  4. 2023A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verificationcited by 42
  5. 2023Controlling Large Language Model-based Agents for Large-Scale Decision-Making: An Actor-Critic Approachcited by 38
  6. 2024Relative Preference Optimization: Enhancing LLM Alignment through Contrasting Responses across Identical and Diverse Promptscited by 36
  7. 2023Automatic Code Summarization via ChatGPT: How Far Are We?cited by 34
  8. 2023Understanding the Capabilities of Large Language Models for Automated Planningcited by 34
  9. 2024CodeAgent: Autonomous Communicative Agents for Code Reviewcited by 33
  10. 2023Large Language Model for Multi-objective Evolutionary Optimizationcited by 29
  11. 2023Adversarial Preference Optimization: Enhancing Your Alignment via RM-LLM Gamecited by 27
  12. 2024Revisiting Code Similarity Evaluation with Abstract Syntax Tree Edit Distancecited by 26
38 more
  1. 2024Why and When LLM-Based Assistants Can Go Wrong: Investigating the Effectiveness of Prompt-Based Interactions for Software Help-Seekingcited by 24
  2. 2024Learning Agent-based Modeling with LLM Companions: Experiences of Novices and Experts Using ChatGPT & NetLogo Chatcited by 23
  3. 2024CodeEditorBench: Evaluating Code Editing Capability of Large Language Modelscited by 22
  4. 2024Understanding the Importance of Evolutionary Search in Automated Heuristic Design with Large Language Modelscited by 22
  5. 2024Generative AI Misuse: A Taxonomy of Tactics and Insights from Real-World Datacited by 20
  6. 2023Exploring ChatGPT's Capabilities on Vulnerability Managementcited by 19
  7. 2023The Hitchhiker's Guide to Program Analysis: A Journey with Large Language Modelscited by 18
  8. 2023User Modeling in the Era of Large Language Models: Current Research and Future Directionscited by 18
  9. 2023ChatGPT is a Remarkable Tool -- For Expertscited by 16
  10. 2023Supersonic: Learning to Generate Source Code Optimizations in C/C++cited by 15
  11. 2023Autonomous Agents in Software Development: A Vision Papercited by 12
  12. 2023The potential of LLMs for coding with low-resource and domain-specific programming languagescited by 11
  13. 2024AI-Tutoring in Software Engineering Educationcited by 11
  14. 2024A comparison of Human, GPT-3.5, and GPT-4 Performance in a University-Level Coding Coursecited by 10
  15. 2023Can ChatGPT Pass An Introductory Level Functional Language Programming Course?cited by 9
  16. 2023Extending the Frontier of ChatGPT: Code Generation and Debuggingcited by 9
  17. 2023On the Generalization of Training-based ChatGPT Detection Methodscited by 9
  18. 2023A Prompt Learning Framework for Source Code Summarizationcited by 9
  19. 2024Comparing large language models and human programmers for generating programming codecited by 9
  20. 2024Large Language Models show both individual and collective creativity comparable to humanscited by 9
  21. 2025RustEvo^2: An Evolving Benchmark for API Evolution in LLM-based Rust Code Generationcited by 9
  22. 2023AI-enhanced Auto-correction of Programming Exercises: How Effective is GPT-3.5?cited by 8
  23. 2024L-AutoDA: Leveraging Large Language Models for Automated Decision-based Adversarial Attackscited by 8
  24. 2024Outlier-weighed Layerwise Sampling for LLM Fine-tuningcited by 8
  25. 2023Just-in-Time Detection of Silent Security Patchescited by 7
  26. 2024Can Developers Prompt? A Controlled Experiment for Code Documentation Generationcited by 7
  27. 2024Mutation-based Consistency Testing for Evaluating the Code Understanding Capability of LLMscited by 6
  28. 2024Enhancing Programming Education with ChatGPT: A Case Study on Student Perceptions and Interactions in a Python Coursecited by 6
  29. 2024Instruct or Interact? Exploring and Eliciting LLMs' Capability in Code Snippet Adaptation Through Prompt Engineeringcited by 6
  30. 2025CallNavi, A Challenge and Empirical Study on LLM Function Calling and Routingcited by 6
  31. 2023Humans are Still Better than ChatGPT: Case of the IEEEXtreme Competitioncited by 5
  32. 2023Exploring the Limits of ChatGPT in Software Security Applicationscited by 5
  33. 2024ChatGPT Incorrectness Detection in Software Reviewscited by 5
  34. 2024CHAI for LLMs: Improving Code-Mixed Translation in Large Language Models through Reinforcement Learning with AI Feedbackcited by 5
  35. 2023Kattis vs. ChatGPT: Assessment and Evaluation of Programming Tasks in the Age of Artificial Intelligencecited by 4
  36. 2025Lossless Token Sequence Compression via Meta-Tokenscited by 4
  37. 2025Dynamic Stability of LLM-Generated Codecited by 4
  38. 2026Correctness isnt Efficiency: Runtime Memory Divergence in LLM-Generated Codecited by 4

50 most cited of 72 All 72 (JSON)