MP-CodeCheck:迭代自监督的逻辑表达式代码异常学习
MP-CodeCheck: Evolving Logical Expression Code Anomaly Learning with Iterative Self-Supervision
摘要:
机器编程(MP)涉及自动化软件开发。根据研究,软件工程师将超过50%的开发时间用于调试软件。为了帮助加速调试,我们提出了MP-CodeCheck(MPCC)。MPCC是一个MP系统,它试图识别逻辑程序表达式中的异常代码模式。在设计MPCC的过程中,我们开发了两种新颖的程序设计语言表示,它们的形成对于其穷尽和有效地处理用于其自我监督训练的数十亿行代码的能力至关重要。为了量化MPCC的性能,我们将其与ControlFlag(一种最先进的自监督代码异常检测系统)进行比较;我们发现MPCC在空间和时间上都更有效。我们通过在各种开源GitHub存储库和一个专有代码库上练习来展示MPCC的异常代码检测功能。我们还提供了一个简短的定性研究的一些不同类别的代码异常,MPCC可以检测到提供一个简短的洞察其能力。
英文摘要:
Machine programming (MP) is concerned with automating software development. According to studies, software engineers spend upwards of 50% of their development time debugging software. To help accelerate debugging, we present MP-CodeCheck (MPCC). MPCC is an MP system that attempts to identify anomalous code patterns within logical program expressions. In designing MPCC, we developed two novel programming language representations, the formations of which are critical in its ability to exhaustively and efficiently process the billions of lines of code that are used in its self-supervised training. To quantify MPCC's performance, we compare it against ControlFlag, a state-of-the-art self-supervised code anomaly detection system; we find that MPCC is more spatially and temporally efficient. We demonstrate MPCC's anomalous code detection capabilities by exercising it on a variety of open-source GitHub repositories and one proprietary code base. We also provide a brief qualitative study on some of the different classes of code anomalies that MPCC can detect to provide an abbreviated insight into its capabilities.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。