arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.09022cs.SE
收藏

评估基于AI的代码助手在方法生成任务中的表现

Assessing AI-Based Code Assistants in Method Generation Tasks

Vincenzo Corso, Leonardo Mariani, Daniela Micucci, Oliviero Riganelli

AI总结:

本研究在方法生成任务中比较了GitHub Copilot、Tabnine、ChatGPT和Google Bard四款基于AI的代码助手,发现它们具备互补能力且有用,但很少生成可直接使用的正确代码。

摘要:

基于AI的代码助手日益普及,作为提升生产力和改善代码质量的手段。本研究在方法生成任务中比较了四款基于AI的代码助手:GitHub Copilot、Tabnine、ChatGPT和Google Bard,评估它们生成准确、正确且高效代码的能力。结果表明,这些代码助手具有互补能力且非常有用,尽管它们很少能生成可直接使用的正确代码。

英文摘要:

AI-based code assistants are increasingly popular as a means to enhance productivity and improve code quality. This study compares four AI-based code assistants, GitHub Copilot, Tabnine, ChatGPT, and Google Bard, in method generation tasks, assessing their ability to produce accurate, correct, and efficient code. Results show that code assistants are useful, with complementary capabilities, although they rarely generate ready-to-use correct code.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑