paper-with-me

Papers

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

2023-04-24 · Haoye Tian, Weiqi Lu, Tsz On Li, Xunzhu Tang, Shing-Chi Cheung, Jacques Klein, Tegawendé F. Bissyandé

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.

📄 PDF Abstract BibTeX arXiv:2304.11938

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationCode SummarizationProgram RepairPrompt Engineering

Similar Papers 제목 키워드 기반

Can ChatGPT Play the Role of a Teaching Assistant in an Introductory Programming Course?

2023-12-12 · Anishka, Atharva Mehta, Nipun Gupta, Aarav Balachandran 외

The emergence of Large language models (LLMs) is expected to have a major impact on education. This paper explores the potential of using ChatGPT, an LLM, as a virtual Teaching Assistant (TA) in an Introductory Programmi…

Inappropriate Benefits and Identification of ChatGPT Misuse in Programming Tests: A Controlled Experiment

2023-08-11 · Hapnes Toba, Oscar Karnalim, Meliana Christianti Johan, Terutoshi Tada 외

While ChatGPT may help students to learn to program, it can be misused to do plagiarism, a breach of academic integrity. Students can ask ChatGPT to complete a programming task, generating a solution from other people's …

Survey

User Misconceptions of LLM-Based Conversational Programming Assistants

2025-10-29 · Gabrielle O'Brien, Antonio Pedro Santos Alves, Sebastian Baltes, Grischa Liebel 외 arxiv

Programming assistants powered by large language models (LLMs) have become widely available, with conversational assistants like ChatGPT particularly accessible to novice programmers. However, varied tool capabilities an…

CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needs

2024-01-20 · Majeed Kazemitabaar, Runlong Ye, Xiaoning Wang, Austin Z. Henley 외

Timely, personalized feedback is essential for students learning programming. LLM-powered tools like ChatGPT offer instant support, but reveal direct answers with code, which may hinder deep conceptual engagement. We dev…

Learning from Teaching Assistants to Program with Subgoals: Exploring the Potential for AI Teaching Assistants

2023-09-19 · Changyoon Lee, Junho Myung, Jieun Han, Jiho Jin 외

With recent advances in generative AI, conversational models like ChatGPT have become feasible candidates for TAs. We investigate the practicality of using generative AI as TAs in introductory programming education by ex…