Can GPT-O1 Kill All Bugs?

Haichuan Hu, Ye Shang, Guolin Xu, Congqing He, Quanjun Zhang
{"title":"Can GPT-O1 Kill All Bugs?","authors":"Haichuan Hu, Ye Shang, Guolin Xu, Congqing He, Quanjun Zhang","doi":"arxiv-2409.10033","DOIUrl":null,"url":null,"abstract":"ChatGPT has long been proven to be effective in automatic program repair\n(APR). With the continuous iterations and upgrades of the ChatGPT version, its\nperformance in terms of fixes has already reached state-of-the-art levels.\nHowever, there are few works comparing the effectiveness and variations of\ndifferent versions of ChatGPT on APR. In this work, we evaluate the performance\nof the latest version of ChatGPT (O1-preview and O1-mini), ChatGPT-4o, and\nhistorical version of ChatGPT on APR. We study the improvements of the O1 model\nover traditional ChatGPT in terms of APR from multiple perspectives (repair\nsuccess rate, repair cost, behavior patterns), and find that O1's repair\ncapability exceeds that of traditional ChatGPT, successfully fixing all 40 bugs\nin the benchmark. Our work can serve as a reference for further in-depth\nexploration of the applications of ChatGPT in APR.","PeriodicalId":501278,"journal":{"name":"arXiv - CS - Software Engineering","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-09-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Software Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.10033","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

ChatGPT has long been proven to be effective in automatic program repair (APR). With the continuous iterations and upgrades of the ChatGPT version, its performance in terms of fixes has already reached state-of-the-art levels. However, there are few works comparing the effectiveness and variations of different versions of ChatGPT on APR. In this work, we evaluate the performance of the latest version of ChatGPT (O1-preview and O1-mini), ChatGPT-4o, and historical version of ChatGPT on APR. We study the improvements of the O1 model over traditional ChatGPT in terms of APR from multiple perspectives (repair success rate, repair cost, behavior patterns), and find that O1's repair capability exceeds that of traditional ChatGPT, successfully fixing all 40 bugs in the benchmark. Our work can serve as a reference for further in-depth exploration of the applications of ChatGPT in APR.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
GPT-O1 能杀死所有虫子吗?
ChatGPT 在自动程序修复(APR)方面的功效早已得到证实。随着 ChatGPT 版本的不断迭代和升级,它在修复方面的性能已经达到了最先进的水平。然而,比较不同版本的 ChatGPT 在 APR 上的效果和变化的工作却很少。在这项工作中,我们评估了最新版本的 ChatGPT(O1-preview 和 O1-mini)、ChatGPT-4o 和历史版本的 ChatGPT 在 APR 上的性能。我们从多个角度(修复成功率、修复成本、行为模式)研究了 O1 模型对传统 ChatGPT 在 APR 方面的改进,发现 O1 的修复能力超过了传统 ChatGPT,成功修复了基准测试中的所有 40 个错误。我们的工作可为进一步深入探索 ChatGPT 在 APR 中的应用提供参考。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Promise and Peril of Collaborative Code Generation Models: Balancing Effectiveness and Memorization Shannon Entropy is better Feature than Category and Sentiment in User Feedback Processing Motivations, Challenges, Best Practices, and Benefits for Bots and Conversational Agents in Software Engineering: A Multivocal Literature Review A Taxonomy of Self-Admitted Technical Debt in Deep Learning Systems Investigating team maturity in an agile automotive reorganization
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1