LLM4TDD: Best Practices for Test Driven Development Using Large Language Models
In today’s society, we are becoming increasingly dependent on software systems. However, we also constantly witness the negative impacts of buggy software. Program synthesis aims to improve software correctness by automatically generating the program given an outline of the expected behavior. For decades, program synthesis has been an active research field, with recent approaches looking to incorporate Large Language Models to help generate code. This paper explores the concept of LLM4TDD, where we guide Large Language Models to generate code iteratively using a test-driven development methodology. Specifically, our framework has the user write test code, but uses Large Language Models to generate the actual implementation. We conduct an empirical evaluation using ChatGPT and coding problems from LeetCode to investigate the impact of different test, prompt and problem attributes on the efficacy of LLM4TDD.
Sat 20 AprDisplayed time zone: Lisbon change
09:00 - 10:30 | Session 1: Welcome & Opening + Keynote 1 + Full PapersLLM4Code at Luis de Freitas Branco Chair(s): Lin Tan Purdue University | ||
09:00 10mDay opening | Welcome & Opening LLM4Code Prem Devanbu University of California at Davis, Yiling Lou Fudan University, Lin Tan Purdue University, Lingming Zhang University of Illinois at Urbana-Champaign | ||
09:10 50mKeynote | Code Llama: Open Foundation Models for Code LLM4Code Baptiste Rozière Meta | ||
10:00 10mTalk | Industrial Experience Report on AI-Assisted Coding in Professional Software Development LLM4Code Rudolf Ramler Software Competence Center Hagenberg (SCCH), Lukas Fischer Software Competence Center Hagenberg GmbH, Michael Moser Software Competence Center Hagenberg GmbH, Markus Nissl Building Digital Solutions 421 GmbH, Rene Heinzl Building Digital Solutions 421 GmbH | ||
10:10 10mTalk | Gauging Tech Community Acceptance of Rapid Prototyping in Unfamiliar Programming Languages using LLM Chatbots LLM4Code | ||
10:20 10mTalk | LLM4TDD: Best Practices for Test Driven Development Using Large Language Models LLM4Code Sanyogita Piya The University of Texas at Arlington, Allison Sullivan University of Texas at Arlington |