{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,7]],"date-time":"2026-11-07T05:03:32Z","timestamp":1794027812727,"version":"4.8.0"},"reference-count":92,"publisher":"Association for Computing Machinery (ACM)","content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"abstract":"<jats:p>\n            Large language models (LLMs) have significantly improved their ability to perform tasks in the field of code generation. However, there is still a gap between LLMs being capable coders and being top-tier software engineers. The most recent trend is using LLM-based agents to iterate the code generation process. Based on the observation that top-level software engineers often ask clarifying questions to reduce\n            <jats:italic>Ambiguity<\/jats:italic>\n            in both requirements and coding solutions, we argue that the same should be applied to LLMs for code generation tasks. For this purpose, we define the communication skills of LLMs as \u201cbeing able to ask clarifying questions when the description of the code generation problem has issues\u201d. In this study, we restrict these issues to three matters from the software requirement engineering field: inconsistent requirements, ambiguous requirements, and incomplete requirements. By asking probing questions about the requirements of problem descriptions before generating the final code, the challenges of programming with LLMs, such as unclear intent specification may be alleviated, resulting to a correct code in the initial iterations.\n          <\/jats:p>\n          <jats:p>\n            In this work, we conducted an empirical study on the benchmark and analysis of the communication skills of LLMs for code generation. We created a new benchmark, HumanEvalComm, by modifying problem descriptions according to three issues mentioned above,\n            <jats:italic>Inconsistency<\/jats:italic>\n            ,\n            <jats:italic>Ambiguity<\/jats:italic>\n            ,\n            <jats:italic>Incompleteness<\/jats:italic>\n            . We then experimented on HumanEvalComm with different Code LLMs, and a new LLM agent approach,\n            <jats:italic>\n              C\n              <jats:underline>o<\/jats:underline>\n              de\n              <jats:underline>C<\/jats:underline>\n              l\n              <jats:underline>a<\/jats:underline>\n              rificatio\n              <jats:underline>n<\/jats:underline>\n              <jats:underline>a<\/jats:underline>\n              nd\n              <jats:underline>G<\/jats:underline>\n              eneration\n              <jats:underline>A<\/jats:underline>\n              ge\n              <jats:underline>n<\/jats:underline>\n              t\n            <\/jats:italic>\n            (Okanagan), to identify and ask questions in ambiguous parts from code and descriptions for further refining the generated code. In the evaluation, we introduced an\n            <jats:italic>LLM-based evaluator<\/jats:italic>\n            and created\n            <jats:italic>Communication Rate<\/jats:italic>\n            and\n            <jats:italic>Good Question Rate<\/jats:italic>\n            as the evaluation metrics to represent the ratio of questions asked and questions with good quality in responses. We found that more than 60% of responses from Code LLMs still generate code rather than ask questions when the problem descriptions are manually modified according to different clarification categories. The Pass@1 and Test Pass Rate of most Code LLMs drop by 35%\n            <jats:inline-formula content-type=\"math\/tex\">\n              <jats:tex-math notation=\"LaTeX\" version=\"MathJax\">\\(\\sim\\)<\/jats:tex-math>\n            <\/jats:inline-formula>\n            52% and by 17%\n            <jats:inline-formula content-type=\"math\/tex\">\n              <jats:tex-math notation=\"LaTeX\" version=\"MathJax\">\\(\\sim\\)<\/jats:tex-math>\n            <\/jats:inline-formula>\n            35% respectively, with statistical significance in each category for over 75% numbers. Okanagan, as an LLM agent approach that uses LLM such as ChatGPT 3.5, effectively increases the Communication Rate and Good Question Rate by an absolute 58% and 38%, respectively. Thus, Okanagan boosts Pass@1 and Test Pass Rate by an absolute 8% and 7%, respectively, when the problem descriptions are modified based on given clarification categories. This result indicates the potential for achieving more effective communication capability using LLM agent. Our benchmark and full code are publicly available at\n            <jats:ext-link xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" ext-link-type=\"uri\" xlink:href=\"https:\/\/github.com\/jie-jw-wu\/human-eval-comm\">https:\/\/github.com\/jie-jw-wu\/human-eval-comm<\/jats:ext-link>\n            .\n          <\/jats:p>","DOI":"10.1145\/3715109","type":"journal-article","created":{"date-parts":[[2025,1,27]],"date-time":"2025-01-27T15:53:31Z","timestamp":1737993211000},"update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":13,"title":["HumanEvalComm: Benchmarking the Communication Competence of Code Generation for LLMs and LLM Agent"],"prefix":"10.1145","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-7895-2023","authenticated-orcid":false,"given":"Jie Jw","family":"Wu","sequence":"first","affiliation":[{"name":"University of British Columbia, Kelowna, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4505-6257","authenticated-orcid":false,"given":"Fatemeh H.","family":"Fard","sequence":"additional","affiliation":[{"name":"University of British Columbia, Kelowna, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,1,27]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"2023. AutoGPT. https:\/\/github.com\/Significant-Gravitas\/Auto-GPT AutoGPT v2.0."},{"key":"e_1_2_1_2_1","volume-title":"Big Code Models Leaderboard. Hugging Face. https:\/\/huggingface.co\/spaces\/bigcode\/bigcode-models-leaderboard Accessed on","author":"Hugging Face","year":"2024","unstructured":"Hugging Face Accessed 2024. Big Code Models Leaderboard. Hugging Face. https:\/\/huggingface.co\/spaces\/bigcode\/bigcode-models-leaderboard Accessed on April 29, 2024."},{"key":"e_1_2_1_3_1","volume-title":"Proceedings of the ACM on Programming Languages 3, POPL","author":"Alon U.","year":"2019","unstructured":"U. Alon, M. Zilberstein, O. Levy, and E. Yahav. 2019. Code2Vec: Learning Distributed Representations of Code. Proceedings of the ACM on Programming Languages 3, POPL (2019), 1\u201329."},{"key":"e_1_2_1_4_1","unstructured":"Simon Arvidsson and Johan Axell. 2023. Prompt engineering guidelines for LLMs in Requirements Engineering. (2023)."},{"key":"e_1_2_1_5_1","volume-title":"et\u00a0al","author":"Austin Jacob","year":"2021","unstructured":"Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie Cai, Michael Terry, Quoc Le, et\u00a0al. 2021. Program synthesis with large language models. arXiv preprint arXiv:2108.07732 (2021)."},{"key":"e_1_2_1_6_1","volume-title":"et\u00a0al","author":"Bai Jinze","year":"2023","unstructured":"Jinze Bai, Shuai Bai, Yunfei Chu, Zeyu Cui, Kai Dang, Xiaodong Deng, Yang Fan, Wenbin Ge, Yu Han, Fei Huang, et\u00a0al. 2023. Qwen technical report. arXiv preprint arXiv:2309.16609 (2023)."},{"key":"e_1_2_1_7_1","volume-title":"Constitutional AI: Harmlessness from AI Feedback. CoRR abs\/2212.08073","author":"Bai Yuntao","year":"2022","unstructured":"Yuntao Bai, Saurav Kadavath, Sandipan Kundu, Amanda Askell, Jackson Kernion, Andy Jones, Anna Chen, Anna Goldie, Azalia Mirhoseini, Cameron McKinnon, Carol Chen, Catherine Olsson, Christopher Olah, Danny Hernandez, Dawn Drain, Deep Ganguli, Dustin Li, Eli Tran-Johnson, Ethan Perez, Jamie Kerr, Jared Mueller, Jeffrey Ladish, Joshua Landau, Kamal Ndousse, Kamile Lukosiute, Liane Lovitt, Michael Sellitto, Nelson Elhage, Nicholas Schiefer, Noem\u00ed Mercado, Nova DasSarma, Robert Lasenby, Robin Larson, Sam Ringer, Scott Johnston, Shauna Kravec, Sheer\u00a0El Showk, Stanislav Fort, Tamera Lanham, Timothy Telleen-Lawton, Tom Conerly, Tom Henighan, Tristan Hume, Samuel\u00a0R. Bowman, Zac Hatfield-Dodds, Ben Mann, Dario Amodei, Nicholas Joseph, Sam McCandlish, Tom Brown, and Jared Kaplan. 2022. Constitutional AI: Harmlessness from AI Feedback. CoRR abs\/2212.08073 (2022)."},{"key":"e_1_2_1_8_1","volume-title":"et\u00a0al","author":"Bi Xiao","year":"2024","unstructured":"Xiao Bi, Deli Chen, Guanting Chen, Shanhuang Chen, Damai Dai, Chengqi Deng, Honghui Ding, Kai Dong, Qiushi Du, Zhe Fu, et\u00a0al. 2024. Deepseek llm: Scaling open-source language models with longtermism. arXiv preprint arXiv:2401.02954 (2024)."},{"key":"e_1_2_1_9_1","volume-title":"A categorical archive of chatgpt failures. arXiv preprint arXiv:2302.03494","author":"Borji Ali","year":"2023","unstructured":"Ali Borji. 2023. A categorical archive of chatgpt failures. arXiv preprint arXiv:2302.03494 (2023)."},{"key":"e_1_2_1_10_1","volume-title":"LLM-Based Agent for Program Repair. arXiv preprint arXiv:2403.17134","author":"Bouzenia Islem","year":"2024","unstructured":"Islem Bouzenia, Premkumar Devanbu, and Michael Pradel. 2024. RepairAgent: An Autonomous, LLM-Based Agent for Program Repair. arXiv preprint arXiv:2403.17134 (2024)."},{"key":"e_1_2_1_11_1","volume-title":"et\u00a0al","author":"Brown Tom","year":"2020","unstructured":"Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared\u00a0D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et\u00a0al. 2020. Language models are few-shot learners. Advances in neural information processing systems 33 (2020), 1877\u20131901."},{"key":"e_1_2_1_12_1","volume-title":"2021 IEEE\/ACM 43rd International Conference on Software Engineering (ICSE). 1186\u20131197","author":"Bui D.","unstructured":"N.\u00a0D. Bui, Y. Yu, and L. Jiang. 2021. InferCode: Self-supervised Learning of Code Representations by Predicting Subtrees. In 2021 IEEE\/ACM 43rd International Conference on Software Engineering (ICSE). 1186\u20131197."},{"key":"e_1_2_1_13_1","volume-title":"Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et\u00a0al.","author":"Chen Mark","year":"2021","unstructured":"Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de\u00a0Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et\u00a0al. 2021. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374 (2021)."},{"key":"e_1_2_1_14_1","volume-title":"Applications of ontologies in requirements engineering: a systematic review of the literature. Requirements engineering 21","author":"Dermeval Diego","year":"2016","unstructured":"Diego Dermeval, J\u00e9ssyka Vilela, Ig\u00a0Ibert Bittencourt, Jaelson Castro, Seiji Isotani, Patrick Brito, and Alan Silva. 2016. Applications of ontologies in requirements engineering: a systematic review of the literature. Requirements engineering 21 (2016), 405\u2013437."},{"key":"e_1_2_1_15_1","volume-title":"Improving factuality and reasoning in language models through multiagent debate. arXiv preprint arXiv:2305.14325","author":"Du Yilun","year":"2023","unstructured":"Yilun Du, Shuang Li, Antonio Torralba, Joshua\u00a0B Tenenbaum, and Igor Mordatch. 2023. Improving factuality and reasoning in language models through multiagent debate. arXiv preprint arXiv:2305.14325 (2023)."},{"key":"e_1_2_1_16_1","volume-title":"De-Hallucinator: Iterative Grounding for LLM-Based Code Completion. arXiv preprint arXiv:2401.01701","author":"Eghbali Aryaz","year":"2024","unstructured":"Aryaz Eghbali and Michael Pradel. 2024. De-Hallucinator: Iterative Grounding for LLM-Based Code Completion. arXiv preprint arXiv:2401.01701 (2024)."},{"key":"e_1_2_1_17_1","unstructured":"Hugging Face. 2023. Codeparrot. https:\/\/huggingface.co\/codeparrot\/codeparrot"},{"key":"e_1_2_1_18_1","volume-title":"LLM-based Test-driven Interactive Code Generation: User Study and Empirical Evaluation. arXiv preprint arXiv:2404.10100","author":"Fakhoury Sarah","year":"2024","unstructured":"Sarah Fakhoury, Aaditya Naik, Georgios Sakkas, Saikat Chakraborty, and Shuvendu\u00a0K Lahiri. 2024. LLM-based Test-driven Interactive Code Generation: User Study and Empirical Evaluation. arXiv preprint arXiv:2404.10100 (2024)."},{"key":"e_1_2_1_19_1","volume-title":"Large language models for software engineering: Survey and open problems. arXiv preprint arXiv:2310.03533","author":"Fan Angela","year":"2023","unstructured":"Angela Fan, Beliz Gokkaya, Mark Harman, Mitya Lyubarskiy, Shubho Sengupta, Shin Yoo, and Jie\u00a0M Zhang. 2023. Large language models for software engineering: Survey and open problems. arXiv preprint arXiv:2310.03533 (2023)."},{"key":"e_1_2_1_20_1","volume-title":"CodeBERT: A Pre-trained Model for Programming and Natural Languages. arXiv preprint arXiv:2002.08155","author":"Feng Z.","year":"2020","unstructured":"Z. Feng, D. Guo, D. Tang, N. Duan, X. Feng, M. Gong, L. Shou, B. Qin, T. Liu, and D.\u00a0Jiang et\u00a0al. 2020. CodeBERT: A Pre-trained Model for Programming and Natural Languages. arXiv preprint arXiv:2002.08155 (2020)."},{"key":"e_1_2_1_21_1","volume-title":"\u00a0T. Martins","author":"Fernandes Patrick","year":"2023","unstructured":"Patrick Fernandes, Aman Madaan, Emmy Liu, Ant\u00f3nio Farinhas, Pedro\u00a0Henrique Martins, Amanda Bertsch, Jos\u00e9 G.\u00a0C. de Souza, Shuyan Zhou, Tongshuang Wu, Graham Neubig, and Andr\u00e9 F.\u00a0T. Martins. 2023. Bridging the Gap: A Survey on Integrating (Human) Feedback for Natural Language Generation. CoRR abs\/2305.00955 (2023)."},{"key":"e_1_2_1_22_1","volume-title":"Llm-based nlg evaluation: Current status and challenges. arXiv preprint arXiv:2402.01383","author":"Gao Mingqi","year":"2024","unstructured":"Mingqi Gao, Xinyu Hu, Jie Ruan, Xiao Pu, and Xiaojun Wan. 2024. Llm-based nlg evaluation: Current status and challenges. arXiv preprint arXiv:2402.01383 (2024)."},{"key":"e_1_2_1_23_1","volume-title":"Improving Alignment of Dialogue Agents via Targeted Human Judgements. CoRR abs\/2209.14375","author":"Dathathri Sumanth","year":"2022","unstructured":"Amelia Glaese, Nat McAleese, Maja Trebacz, John Aslanides, Vlad Firoiu, Timo Ewalds, Maribeth Rauh, Laura Weidinger, Martin\u00a0J. Chadwick, Phoebe Thacker, Lucy Campbell-Gillingham, Jonathan Uesato, Po-Sen Huang, Ramona Comanescu, Fan Yang, Abigail See, Sumanth Dathathri, Rory Greig, Charlie Chen, Doug Fritz, Jaume\u00a0Sanchez Elias, Richard Green, Sona Mokr\u00e1, Nicholas Fernando, Boxi Wu, Rachel Foley, Susannah Young, Iason Gabriel, William Isaac, John Mellor, Demis Hassabis, Koray Kavukcuoglu, Lisa\u00a0Anne Hendricks, and Geoffrey Irving. 2022. Improving Alignment of Dialogue Agents via Targeted Human Judgements. CoRR abs\/2209.14375 (2022)."},{"key":"e_1_2_1_24_1","volume-title":"et\u00a0al","author":"Guo Daya","year":"2024","unstructured":"Daya Guo, Qihao Zhu, Dejian Yang, Zhenda Xie, Kai Dong, Wentao Zhang, Guanting Chen, Xiao Bi, Y Wu, YK Li, et\u00a0al. 2024. DeepSeek-Coder: When the Large Language Model Meets Programming\u2013The Rise of Code Intelligence. arXiv preprint arXiv:2401.14196 (2024)."},{"key":"e_1_2_1_25_1","volume-title":"Large language model based multi-agents: A survey of progress and challenges. arXiv preprint arXiv:2402.01680","author":"Guo Taicheng","year":"2024","unstructured":"Taicheng Guo, Xiuying Chen, Yaqi Wang, Ruidi Chang, Shichao Pei, Nitesh\u00a0V Chawla, Olaf Wiest, and Xiangliang Zhang. 2024. Large language model based multi-agents: A survey of progress and challenges. arXiv preprint arXiv:2402.01680 (2024)."},{"key":"e_1_2_1_26_1","volume-title":"et\u00a0al","author":"Hassan E","year":"2024","unstructured":"Ahmed\u00a0E Hassan, Gustavo\u00a0A Oliva, Dayi Lin, Boyuan Chen, Zhen Ming, et\u00a0al. 2024. Rethinking Software Engineering in the Foundation Model Era: From Task-Driven AI Copilots to Goal-Driven AI Pair Programmers. arXiv preprint arXiv:2404.10225 (2024)."},{"key":"e_1_2_1_27_1","volume-title":"Rethinking with Retrieval: Faithful Large Language Model Inference. CoRR abs\/2301.00303","author":"He Hangfeng","year":"2023","unstructured":"Hangfeng He, Hongming Zhang, and Dan Roth. 2023. Rethinking with Retrieval: Faithful Large Language Model Inference. CoRR abs\/2301.00303 (2023)."},{"key":"e_1_2_1_28_1","volume-title":"et\u00a0al","author":"Hendrycks Dan","year":"2021","unstructured":"Dan Hendrycks, Steven Basart, Saurav Kadavath, Mantas Mazeika, Akul Arora, Ethan Guo, Collin Burns, Samir Puranik, Horace He, Dawn Song, et\u00a0al. 2021. Measuring coding challenge competence with apps. arXiv preprint arXiv:2105.09938 (2021)."},{"key":"e_1_2_1_29_1","volume-title":"Agentcoder: Multi-agent-based code generation with iterative testing and optimisation. arXiv preprint arXiv:2312.13010","author":"Huang Dong","year":"2023","unstructured":"Dong Huang, Qingwen Bu, Jie\u00a0M Zhang, Michael Luck, and Heming Cui. 2023. Agentcoder: Multi-agent-based code generation with iterative testing and optimisation. arXiv preprint arXiv:2312.13010 (2023)."},{"key":"e_1_2_1_30_1","volume-title":"Large Language Models Can Self-Improve. CoRR abs\/2210.11610","author":"Huang Jiaxin","year":"2022","unstructured":"Jiaxin Huang, Shixiang\u00a0Shane Gu, Le Hou, Yuexin Wu, Xuezhi Wang, Hongkun Yu, and Jiawei Han. 2022. Large Language Models Can Self-Improve. CoRR abs\/2210.11610 (2022)."},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.5555\/1025115.1025201"},{"key":"e_1_2_1_32_1","volume-title":"SelfEvolve: A Code Evolution Framework via Large Language Models. CoRR abs\/2306.02907","author":"Jiang Shuyang","year":"2023","unstructured":"Shuyang Jiang, Yuhao Wang, and Yu Wang. 2023. SelfEvolve: A Code Evolution Framework via Large Language Models. CoRR abs\/2306.02907 (2023)."},{"key":"e_1_2_1_33_1","volume-title":"The Twelfth International Conference on Learning Representations. https:\/\/openreview.net\/forum?id=VTF8yNQM66","author":"Jimenez E","year":"2024","unstructured":"Carlos\u00a0E Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik\u00a0R Narasimhan. 2024. SWE-bench: Can Language Models Resolve Real-world Github Issues?. In The Twelfth International Conference on Learning Representations. https:\/\/openreview.net\/forum?id=VTF8yNQM66"},{"key":"e_1_2_1_34_1","volume-title":"Which is better? exploring prompting strategy for llm-based metrics. arXiv preprint arXiv:2311.03754","author":"Kim Joonghoon","year":"2023","unstructured":"Joonghoon Kim, Saeran Park, Kiyoon Jeong, Sangmin Lee, Seung\u00a0Hun Han, Jiyoon Lee, and Pilsung Kang. 2023. Which is better? exploring prompting strategy for llm-based metrics. arXiv preprint arXiv:2311.03754 (2023)."},{"key":"e_1_2_1_35_1","volume-title":"Large language models are state-of-the-art evaluators of translation quality. arXiv preprint arXiv:2302.14520","author":"Kocmi Tom","year":"2023","unstructured":"Tom Kocmi and Christian Federmann. 2023. Large language models are state-of-the-art evaluators of translation quality. arXiv preprint arXiv:2302.14520 (2023)."},{"key":"e_1_2_1_36_1","volume-title":"Little giants: Exploring the potential of small llms as evaluation metrics in summarization in the eval4nlp 2023 shared task. arXiv preprint arXiv:2311.00686","author":"Kotonya Neema","year":"2023","unstructured":"Neema Kotonya, Saran Krishnasamy, Joel Tetreault, and Alejandro Jaimes. 2023. Little giants: Exploring the potential of small llms as evaluation metrics in summarization in the eval4nlp 2023 shared task. arXiv preprint arXiv:2311.00686 (2023)."},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/N18-3012"},{"key":"e_1_2_1_38_1","volume-title":"Software Engineering and Foundation Models: Insights from Industry Blogs Using a Jury of Foundation Models. arXiv preprint arXiv:2410.09012","author":"Li Hao","year":"2024","unstructured":"Hao Li, Cor-Paul Bezemer, and Ahmed\u00a0E Hassan. 2024. Software Engineering and Foundation Models: Insights from Industry Blogs Using a Jury of Foundation Models. arXiv preprint arXiv:2410.09012 (2024)."},{"key":"e_1_2_1_39_1","volume-title":"et\u00a0al","author":"Li Yujia","year":"2022","unstructured":"Yujia Li, David Choi, Junyoung Chung, Nate Kushman, Julian Schrittwieser, R\u00e9mi Leblond, Tom Eccles, James Keeling, Felix Gimeno, Agustin Dal\u00a0Lago, et\u00a0al. 2022. Competition-level code generation with alphacode. Science 378, 6624 (2022), 1092\u20131097."},{"key":"e_1_2_1_40_1","volume-title":"Understanding the Usability of AI Programming Assistants. arXiv preprint arXiv:2303.17125","author":"Liang T","year":"2023","unstructured":"Jenny\u00a0T Liang, Chenyang Yang, and Brad\u00a0A Myers. 2023. Understanding the Usability of AI Programming Assistants. arXiv preprint arXiv:2303.17125 (2023)."},{"key":"e_1_2_1_41_1","volume-title":"Evaluate What You Can\u2019t Evaluate: Unassessable Generated Responses Quality. arXiv preprint arXiv:2305.14658","author":"Liu Yongkang","year":"2023","unstructured":"Yongkang Liu, Shi Feng, Daling Wang, Yifei Zhang, and Hinrich Sch\u00fctze. 2023. Evaluate What You Can\u2019t Evaluate: Unassessable Generated Responses Quality. arXiv preprint arXiv:2305.14658 (2023)."},{"key":"e_1_2_1_42_1","volume-title":"Refining ChatGPT-Generated Code: Characterizing and Mitigating Code Quality Issues. arXiv preprint arXiv:2307.12596","author":"Liu Yue","year":"2023","unstructured":"Yue Liu, Thanh Le-Cong, Ratnadira Widyasari, Chakkrit Tantithamthavorn, Li Li, Xuan-Bach\u00a0D Le, and David Lo. 2023. Refining ChatGPT-Generated Code: Characterizing and Mitigating Code Quality Issues. arXiv preprint arXiv:2307.12596 (2023)."},{"key":"e_1_2_1_43_1","volume-title":"No Need to Lift a Finger Anymore? Assessing the Quality of Code Generation by ChatGPT. arXiv preprint arXiv:2308.04838","author":"Liu Zhijie","year":"2023","unstructured":"Zhijie Liu, Yutian Tang, Xiapu Luo, Yuming Zhou, and Liang\u00a0Feng Zhang. 2023. No Need to Lift a Finger Anymore? Assessing the Quality of Code Generation by ChatGPT. arXiv preprint arXiv:2308.04838 (2023)."},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.infsof.2003.10.001"},{"key":"e_1_2_1_45_1","volume-title":"Beyond accuracy: Evaluating self-consistency of code large language models with identitychain. arXiv preprint arXiv:2310.14053","author":"Min J","year":"2023","unstructured":"Marcus\u00a0J Min, Yangruibo Ding, Luca Buratti, Saurabh Pujar, Gail Kaiser, Suman Jana, and Baishakhi Ray. 2023. Beyond accuracy: Evaluating self-consistency of code large language models with identitychain. arXiv preprint arXiv:2310.14053 (2023)."},{"key":"e_1_2_1_46_1","volume-title":"Andre Van\u00a0der Hoek, and Jim Whitehead","author":"Mistr\u00edk Ivan","year":"2010","unstructured":"Ivan Mistr\u00edk, John Grundy, Andre Van\u00a0der Hoek, and Jim Whitehead. 2010. Collaborative software engineering: challenges and prospects. Springer."},{"key":"e_1_2_1_47_1","volume-title":"Proceedings of the 19th International Conference on Mining Software Repositories. 1\u20135.","author":"Nguyen N.","unstructured":"N. Nguyen and S. Nadi. 2022. An Empirical Evaluation of GitHub Copilot's Code Suggestions. In Proceedings of the 19th International Conference on Mining Software Repositories. 1\u20135."},{"key":"e_1_2_1_48_1","volume-title":"Codegen: An open large language model for code with multi-turn program synthesis. arXiv preprint arXiv:2203.13474","author":"Nijkamp Erik","year":"2022","unstructured":"Erik Nijkamp, Bo Pang, Hiroaki Hayashi, Lifu Tu, Huan Wang, Yingbo Zhou, Silvio Savarese, and Caiming Xiong. 2022. Codegen: An open large language model for code with multi-turn program synthesis. arXiv preprint arXiv:2203.13474 (2022)."},{"key":"e_1_2_1_49_1","volume-title":"Proceedings of the Annual Conference on Neural Information Processing Systems (NeurIPS).","author":"Ouyang Long","year":"2022","unstructured":"Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll\u00a0L. Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul\u00a0F. Christiano, Jan Leike, and Ryan Lowe. 2022. Training Language Models to Follow Instructions with Human Feedback. In Proceedings of the Annual Conference on Neural Information Processing Systems (NeurIPS)."},{"key":"e_1_2_1_50_1","volume-title":"LLM is Like a Box of Chocolates: the Non-determinism of ChatGPT in Code Generation. arXiv preprint arXiv:2308.02828","author":"Ouyang Shuyin","year":"2023","unstructured":"Shuyin Ouyang, Jie\u00a0M Zhang, Mark Harman, and Meng Wang. 2023. LLM is Like a Box of Chocolates: the Non-determinism of ChatGPT in Code Generation. arXiv preprint arXiv:2308.02828 (2023)."},{"key":"e_1_2_1_51_1","volume-title":"Toward a theory of causation for interpreting neural code models","author":"Palacio N","year":"2024","unstructured":"David\u00a0N Palacio, Alejandro Velasco, Nathan Cooper, Alvaro Rodriguez, Kevin Moran, and Denys Poshyvanyk. 2024. Toward a theory of causation for interpreting neural code models. IEEE Transactions on Software Engineering (2024)."},{"key":"e_1_2_1_52_1","volume-title":"Automatically Correcting Large Language Models: Surveying the landscape of diverse self-correction strategies. arXiv preprint arXiv:2308.03188","author":"Pan Liangming","year":"2023","unstructured":"Liangming Pan, Michael Saxon, Wenda Xu, Deepak Nathani, Xinyi Wang, and William\u00a0Yang Wang. 2023. Automatically Correcting Large Language Models: Surveying the landscape of diverse self-correction strategies. arXiv preprint arXiv:2308.03188 (2023)."},{"key":"e_1_2_1_53_1","unstructured":"Roger\u00a0S Pressman. 2005. Software engineering: a practitioner's approach. Palgrave macmillan."},{"key":"e_1_2_1_54_1","doi-asserted-by":"crossref","unstructured":"M. Rabinovich M. Stern and D. Klein. 2017. Abstract Syntax Networks for Code Generation and Semantic Parsing. arXiv preprint arXiv:1704.07535 (2017).","DOI":"10.18653\/v1\/P17-1105"},{"key":"e_1_2_1_55_1","volume-title":"Codepori: Large scale model for autonomous software development by using multi-agents. arXiv preprint arXiv:2402.01411","author":"Rasheed Zeeshan","year":"2024","unstructured":"Zeeshan Rasheed, Muhammad Waseem, Mika Saari, Kari Syst\u00e4, and Pekka Abrahamsson. 2024. Codepori: Large scale model for autonomous software development by using multi-agents. arXiv preprint arXiv:2402.01411 (2024)."},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSME58846.2023.00040"},{"key":"e_1_2_1_57_1","volume-title":"et\u00a0al","author":"Roziere Baptiste","year":"2023","unstructured":"Baptiste Roziere, Jonas Gehring, Fabian Gloeckle, Sten Sootla, Itai Gat, Xiaoqing\u00a0Ellen Tan, Yossi Adi, Jingyu Liu, Tal Remez, J\u00e9r\u00e9my Rapin, et\u00a0al. 2023. Code llama: Open foundation models for code. arXiv preprint arXiv:2308.12950 (2023)."},{"key":"e_1_2_1_58_1","volume-title":"What is it like to program with artificial intelligence? arXiv preprint arXiv:2208.06213","author":"Sarkar Advait","year":"2022","unstructured":"Advait Sarkar, Andrew\u00a0D Gordon, Carina Negreanu, Christian Poelitz, Sruti\u00a0Srinivasa Ragavan, and Ben Zorn. 2022. What is it like to program with artificial intelligence? arXiv preprint arXiv:2208.06213 (2022)."},{"key":"e_1_2_1_59_1","volume-title":"Training Language Models with Language Feedback at Scale. CoRR abs\/2303.16755","author":"Scheurer J\u00e9r\u00e9my","year":"2023","unstructured":"J\u00e9r\u00e9my Scheurer, Jon\u00a0Ander Campos, Tomasz Korbak, Jun\u00a0Shern Chan, Angelica Chen, Kyunghyun Cho, and Ethan Perez. 2023. Training Language Models with Language Feedback at Scale. CoRR abs\/2303.16755 (2023)."},{"key":"e_1_2_1_60_1","volume-title":"Toolformer: Language models can teach themselves to use tools. arXiv preprint arXiv:2302.04761","author":"Schick Timo","year":"2023","unstructured":"Timo Schick, Jane Dwivedi-Yu, Patrick Schramowski, and Jacob Andreas. 2023. Toolformer: Language models can teach themselves to use tools. arXiv preprint arXiv:2302.04761 (2023)."},{"key":"e_1_2_1_61_1","doi-asserted-by":"publisher","DOI":"10.1145\/3624724"},{"key":"e_1_2_1_62_1","volume-title":"Reflexion: Language agents with verbal reinforcement learning. arXiv preprint arXiv:2303.11366","author":"Shinn Noah","year":"2023","unstructured":"Noah Shinn, Nelson Labash, Mark Skreta, Shunyu Yao, and Karthik Narasimhan. 2023. Reflexion: Language agents with verbal reinforcement learning. arXiv preprint arXiv:2303.11366 (2023)."},{"key":"e_1_2_1_63_1","volume-title":"An Empirical Study of Code Smells in Transformer-Based Code Generation Techniques. In 2022 IEEE 22nd International Working Conference on Source Code Analysis and Manipulation (SCAM). 71\u201382","author":"Siddiq L.","year":"2022","unstructured":"M.\u00a0L. Siddiq, S.\u00a0H. Majumder, M.\u00a0R. Mim, S. Jajodia, and J.\u00a0C. Santos. 2022. An Empirical Study of Code Smells in Transformer-Based Code Generation Techniques. In 2022 IEEE 22nd International Working Conference on Source Code Analysis and Manipulation (SCAM). 71\u201382."},{"key":"e_1_2_1_64_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2003.1201189"},{"key":"e_1_2_1_65_1","volume-title":"Proceedings of the Genetic and Evolutionary Computation Conference. 1019\u20131027","author":"Sobania D.","unstructured":"D. Sobania, M. Briesch, and F. Rothlauf. 2022. Choose Your Programming Copilot: A Comparison of the Program Synthesis Performance of GitHub Copilot and Genetic Programming. In Proceedings of the Genetic and Evolutionary Computation Conference. 1019\u20131027."},{"key":"e_1_2_1_66_1","volume-title":"Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering. 1433\u20131443","author":"Svyatkovskiy A.","unstructured":"A. Svyatkovskiy, S.\u00a0K. Deng, S. Fu, and N. Sundaresan. 2020. Intellicode Compose: Code Generation Using Transformer. In Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering. 1433\u20131443."},{"key":"e_1_2_1_67_1","unstructured":"M. Tufano D. Drain A. Svyatkovskiy S. Deng and N. Sundaresan. 2020. Unit Test Case Generation with Transformers and Focal Context. arXiv preprint arXiv: Software Engineering (2020)."},{"key":"e_1_2_1_68_1","doi-asserted-by":"publisher","DOI":"10.1007\/s13369-020-05159-1"},{"key":"e_1_2_1_69_1","doi-asserted-by":"publisher","DOI":"10.1145\/3491101.3519665"},{"key":"e_1_2_1_70_1","unstructured":"A. Vaswani N. Shazeer N. Parmar J. Uszkoreit L. Jones A.\u00a0N. Gomez \u0141. Kaiser and I. Polosukhin. 2017. Attention is All You Need. In Advances in Neural Information Processing Systems Vol.\u00a030."},{"key":"e_1_2_1_71_1","unstructured":"Ben Wang and Aran Komatsuzaki. 2021. GPT-J-6B: A 6 billion parameter autoregressive language model."},{"key":"e_1_2_1_72_1","volume-title":"Is chatgpt a good nlg evaluator? a preliminary study. arXiv preprint arXiv:2303.04048","author":"Wang Jiaan","year":"2023","unstructured":"Jiaan Wang, Yunlong Liang, Fandong Meng, Zengkui Sun, Haoxiang Shi, Zhixu Li, Jinan Xu, Jianfeng Qu, and Jie Zhou. 2023. Is chatgpt a good nlg evaluator? a preliminary study. arXiv preprint arXiv:2303.04048 (2023)."},{"key":"e_1_2_1_73_1","volume-title":"et\u00a0al","author":"Wang Lei","year":"2023","unstructured":"Lei Wang, Chen Ma, Xueyang Feng, Zeyu Zhang, Hao Yang, Jingsen Zhang, Zhiyuan Chen, Jiakai Tang, Xu Chen, Yankai Lin, et\u00a0al. 2023. A survey on large language model based autonomous agents. arXiv preprint arXiv:2308.11432 (2023)."},{"key":"e_1_2_1_74_1","volume-title":"CodeT5: Identifier-Aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generation. arXiv preprint arXiv:2109.00859","author":"Wang Y.","year":"2021","unstructured":"Y. Wang, W. Wang, S. Joty, and S.\u00a0C. Hoi. 2021. CodeT5: Identifier-Aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generation. arXiv preprint arXiv:2109.00859 (2021)."},{"key":"e_1_2_1_75_1","volume-title":"Large Language Models Are Better Reasoners with Self-Verification. CoRR abs\/2212.09561","author":"Weng Yixuan","year":"2023","unstructured":"Yixuan Weng, Minjun Zhu, Fei Xia, Bin Li, Shizhu He, Kang Liu, and Jun Zhao. 2023. Large Language Models Are Better Reasoners with Self-Verification. CoRR abs\/2212.09561 (2023)."},{"key":"e_1_2_1_76_1","volume-title":"Future of Software Engineering (FOSE\u201907)","author":"Whitehead Jim","unstructured":"Jim Whitehead. 2007. Collaboration in software engineering: A roadmap. In Future of Software Engineering (FOSE\u201907). IEEE, 214\u2013225."},{"key":"e_1_2_1_77_1","volume-title":"the first AI software engineer. Cognition. https:\/\/www.cognition-labs.com\/introducing-devin Accessed on","author":"Introducing Devin Scott Wu.","year":"2024","unstructured":"Scott Wu. Accessed 2024. Introducing Devin, the first AI software engineer. Cognition. https:\/\/www.cognition-labs.com\/introducing-devin Accessed on April 8, 2024."},{"key":"e_1_2_1_78_1","volume-title":"et\u00a0al","author":"Xi Zhiheng","year":"2023","unstructured":"Zhiheng Xi, Wenxiang Chen, Xin Guo, Wei He, Yiwen Ding, Boyang Hong, Ming Zhang, Junzhe Wang, Senjie Jin, Enyu Zhou, et\u00a0al. 2023. The rise and potential of large language model based agents: A survey. arXiv preprint arXiv:2309.07864 (2023)."},{"key":"e_1_2_1_79_1","volume-title":"Decomposition Enhances Reasoning via Self-Evaluation Guided Decoding. CoRR abs\/2305.00633","author":"Xie Yuxi","year":"2023","unstructured":"Yuxi Xie, Kenji Kawaguchi, Yiran Zhao, Xu Zhao, MinYen Kan, Junxian He, and Qizhe Xie. 2023. Decomposition Enhances Reasoning via Self-Evaluation Guided Decoding. CoRR abs\/2305.00633 (2023)."},{"key":"e_1_2_1_80_1","doi-asserted-by":"publisher","DOI":"10.1145\/3520312.3534862"},{"key":"e_1_2_1_81_1","volume-title":"Pseudo-Code Programming, and Flow Programming of AI Agents. arXiv preprint arXiv:2405.06907","author":"Xu Shuyuan","year":"2024","unstructured":"Shuyuan Xu, Zelong Li, Kai Mei, and Yongfeng Zhang. 2024. CoRE: LLM as Interpreter for Natural Language Programming, Pseudo-Code Programming, and Flow Programming of AI Agents. arXiv preprint arXiv:2405.06907 (2024)."},{"key":"e_1_2_1_82_1","volume-title":"Swe-agent: Agent-computer interfaces enable automated software engineering. arXiv preprint arXiv:2405.15793","author":"Yang John","year":"2024","unstructured":"John Yang, Carlos\u00a0E Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, and Ofir Press. 2024. Swe-agent: Agent-computer interfaces enable automated software engineering. arXiv preprint arXiv:2405.15793 (2024)."},{"key":"e_1_2_1_83_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2022.emnlp-main.7"},{"key":"e_1_2_1_84_1","volume-title":"ReAct: Synergizing reasoning and acting in language models. arXiv preprint arXiv:2210.03629","author":"Yao Shunyu","year":"2023","unstructured":"Shunyu Yao, Jeffrey Zhao, Dian Yu, Shixiang\u00a0Shane Cao, Karthik Narasimhan, and Wen-tau Huang. 2023. ReAct: Synergizing reasoning and acting in language models. arXiv preprint arXiv:2210.03629 (2023)."},{"key":"e_1_2_1_85_1","volume-title":"Proceedings of The Web Conference","author":"Ye W.","year":"2020","unstructured":"W. Ye, R. Xie, J. Zhang, T. Hu, X. Wang, and S. Zhang. 2020. Leveraging Code Generation to Improve Code Retrieval and Summarization via Dual Learning. In Proceedings of The Web Conference 2020. 2309\u20132319."},{"key":"e_1_2_1_86_1","doi-asserted-by":"publisher","DOI":"10.1145\/3196398.3196408"},{"key":"e_1_2_1_87_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2023.acl-long.411"},{"key":"e_1_2_1_88_1","volume-title":"Exploring collaboration mechanisms for llm agents: A social psychology view. arXiv preprint arXiv:2310.02124","author":"Zhang Jintian","year":"2023","unstructured":"Jintian Zhang, Xin Xu, and Shumin Deng. 2023. Exploring collaboration mechanisms for llm agents: A social psychology view. arXiv preprint arXiv:2310.02124 (2023)."},{"key":"e_1_2_1_89_1","volume-title":"Codeagent: Enhancing code generation with tool-integrated agent systems for real-world repo-level coding challenges. arXiv preprint arXiv:2401.07339","author":"Zhang Kechi","year":"2024","unstructured":"Kechi Zhang, Jia Li, Ge Li, Xianjie Shi, and Zhi Jin. 2024. Codeagent: Enhancing code generation with tool-integrated agent systems for real-world repo-level coding challenges. arXiv preprint arXiv:2401.07339 (2024)."},{"key":"e_1_2_1_90_1","volume-title":"Self-Edit: Fault-Aware Code Editor","author":"Zhang Kechi","year":"2023","unstructured":"Kechi Zhang, Zhuo Li, Jia Li, Ge Li, and Zhi Jin. 2023. Self-Edit: Fault-Aware Code Editor for Code Generation. CoRR abs\/2305.04087 (2023)."},{"key":"e_1_2_1_91_1","volume-title":"Unifying the perspectives of nlp and software engineering: A survey on language models for code. arXiv preprint arXiv:2311.07989","author":"Zhang Ziyin","year":"2023","unstructured":"Ziyin Zhang, Chaoyu Chen, Bingchang Liu, Cong Liao, Zi Gong, Hang Yu, Jianguo Li, and Rui Wang. 2023. Unifying the perspectives of nlp and software engineering: A survey on language models for code. arXiv preprint arXiv:2311.07989 (2023)."},{"key":"e_1_2_1_92_1","doi-asserted-by":"publisher","DOI":"10.1145\/3520312.3534864"}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3715109","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,1,27]],"date-time":"2025-01-27T15:57:06Z","timestamp":1737993426000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3715109"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,1,27]]},"references-count":92,"alternative-id":["10.1145\/3715109"],"URL":"https:\/\/doi.org\/10.1145\/3715109","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"value":"1049-331X","type":"print"},{"value":"1557-7392","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,1,27]]},"assertion":[{"value":"2024-05-30","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-01-01","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-01-27","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}],"article-number":"3715109"}}