Litcius/Paper detail

Analyzing Prompt Influence on Automated Method Generation: An Empirical Study with Copilot

Ionut Daniel Fagadau, Leonardo Mariani, Daniela Micucci, Oliviero Riganelli

202412 citationsDOIOpen Access PDF

Abstract

Generative AI is changing the way developers interact with software systems, providing services that can produce and deliver new content, crafted to satisfy the actual needs of developers. For instance, developers can ask for new code directly from within their IDEs by writing natural language prompts, and integrated services based on generative AI, such as Copilot, immediately respond to prompts by providing ready-to-use code snippets. Formulating the prompt appropriately, and incorporating the useful information while avoiding any information overload, can be an important factor in obtaining the right piece of code. The task of designing good prompts is known as prompt engineering.

Topics & Concepts

Computer scienceEmpirical researchStatisticsMathematicsSoftware Engineering ResearchSoftware Testing and Debugging TechniquesTeaching and Learning Programming
Analyzing Prompt Influence on Automated Method Generation: An Empirical Study with Copilot | Litcius