arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.11946cs.SEcs.AIcs.LG
收藏

机器编程系统是否使用正确的Source-Code度量来选择代码库?

Are Machine Programming Systems using Right Source-Code Measures to Select Code Repositories?

Intel(英特尔)

Niranjan Hasabnis

摘要:

机器编程(MP)是确定性和概率计算交叉的新兴领域,它旨在帮助软件和硬件工程师以及其他应用程序。随着强大的计算资源,MP系统往往依赖于大量的开源代码来学习有趣的属性代码和编程和解决问题的调试,代码推荐,自动完成等领域的不幸的是,现有的MP系统中的几个要么不考虑质量的代码库或使用非典型的质量措施比那些通常用于软件工程社区选择他们。因此,需要研究代码库质量对这些系统性能的影响。在这篇初步论文中,我们评估了候选MP系统的性能不同的质量库的影响。为了实现这一目标,我们开发了一个名为GitRank的框架,通过利用现有的研究,对开源存储库的质量,可维护性和受欢迎程度进行排名。然后,我们应用GitRank来评估候选MP系统使用的质量度量与我们框架使用的质量度量之间的相关性。我们的初步结果揭示了GitRank中使用的质量度量与ControlFlag的性能之间的一些相关性,这表明GitRank中使用的一些度量适用于ControlFlag。但它也提出了关于MP系统中使用的代码存储库的正确质量度量的问题。我们相信,我们的研究结果也产生有趣的见解代码质量的措施,影响MP系统的性能。

英文摘要:

Machine programming (MP) is an emerging field at the intersection of deterministic and probabilistic computing, and it aims to assist software and hardware engineers, among other applications. Along with powerful compute resources, MP systems often rely on vast amount of open-source code to learn interesting properties about code and programming and solve problems in the areas of debugging, code recommendation, auto-completion, etc. Unfortunately, several of the existing MP systems either do not consider quality of code repositories or use atypical quality measures than those typically used in software engineering community to select them. As such, impact of quality of code repositories on the performance of these systems needs to be studied. In this preliminary paper, we evaluate impact of different quality repositories on the performance of a candidate MP system. Towards that objective, we develop a framework, named GitRank, to rank open-source repositories on quality, maintainability, and popularity by leveraging existing research on this topic. We then apply GitRank to evaluate correlation between the quality measures used by the candidate MP system and the quality measures used by our framework. Our preliminary results reveal some correlation between the quality measures used in GitRank and ControlFlag's performance, suggesting that some of the measures used in GitRank are applicable to ControlFlag. But it also raises questions around right quality measures for code repositories used in MP systems. We believe that our findings also generate interesting insights towards code quality measures that affect performance of MP systems.

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

↑