BriefGPT.xyz
Aug, 2024
通过语言模型理解生成代码中的缺陷
Understanding Defects in Generated Codes by Language Models
HTML
PDF
Ali Mohammadi Esfahani, Nafiseh Kahani, Samuel A. Ajila
TL;DR
本研究解决了大型语言模型(LLMs)代码生成的可靠性问题,特别是识别和分析生成代码中的缺陷。通过对367个缺陷进行分类和分析,发现了功能和算法错误是主要问题。研究表明,通过实施结构化的提示工程技术,可以显著减少常见缺陷,提高代码生成的准确性和可靠性。
Abstract
This study investigates the reliability of
Code Generation
by Large
Language Models
(LLMs), focusing on identifying and analyzing defects in the generated code. Despite the advanced capabilities of LLMs in automa
→