EUVIMEDEUVIMED entdecken
Crossref

Piloting Copilot, Codex, and StarCoder2: Hot temperature, cold prompts, or black magic?

Jean-Baptiste Döderlein, Nguessan Hermann Kouadio, Mathieu Acher, Djamel Eddine Khelladi, Benoit Combemale

Journal of Systems and Software · 2025-12 · 230 · 112562

DOI: 10.1016/j.jss.2025.112562 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Journal of Systems and Software, 2025-12. Verfasst von Jean-Baptiste Döderlein und 4 weiteren Autor:innen. Die Arbeit wurde bisher 10-mal zitiert (Crossref) und nennt 59 Literaturangaben.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Language models are promising solutions for tackling increasing complex problems. In software engineering, they recently gained attention in code assistants, which generate programs from a natural language task description (prompt). They have the potential to save time and effort but remain poorly understood, limiting their optimal use. In this article, we investigate the impact of input variations on two configurations of a language model, focusing on parameters such as task description, surrounding context, model creativity, and the number of generated solutions. We design specific operators to modify these inputs and apply them to three LLM-based code assistants (Copilot, Codex, StarCoder2) and two benchmarks representing algorithmic problems (HumanEval, LeetCode). Our study examines whether these variations significantly affect program quality and how these effects generalize across models. Our results show that varying input parameters can greatly improve performance, achieving up to 79.27% success in one-shot generation compared to 22.44% for Codex and 31.1% for Copilot in default settings. Actioning this potential in practice is challenging due to the complex interplay in our study - the optimal settings for temperature, prompt, and number of generated solutions vary by problem. Reproducing our study with StarCoder2 confirms these findings, indicating they are not model-specific. We also uncover surprising behaviors (e.g., fully removing the prompt can be effective), revealing model brittleness and areas for improvement.

Zitieren

APA

Döderlein, J., Kouadio, N. H., Acher, M., Khelladi, D. E., & Combemale, B. (2025). Piloting Copilot, Codex, and StarCoder2: Hot temperature, cold prompts, or black magic?. Journal of Systems and Software, 230, 112562. https://doi.org/10.1016/j.jss.2025.112562

Vancouver

Döderlein J, Kouadio NH, Acher M, Khelladi DE, Combemale B. Piloting Copilot, Codex, and StarCoder2: Hot temperature, cold prompts, or black magic?. Journal of Systems and Software. 2025;230:112562. doi:10.1016/j.jss.2025.112562

BibTeX
@article{Dderlein2025,
  author = {Döderlein, Jean-Baptiste and Kouadio, Nguessan Hermann and Acher, Mathieu and Khelladi, Djamel Eddine and Combemale, Benoit},
  title = {Piloting Copilot, Codex, and StarCoder2: Hot temperature, cold prompts, or black magic?},
  journal = {Journal of Systems and Software},
  year = {2025},
  volume = {230},
  pages = {112562},
  doi = {10.1016/j.jss.2025.112562}
}
Kostenlos starten →