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.
翻译:机器编程(MP)是确定性和概率计算交汇处的一个新兴领域,其目的是协助软件和硬件工程师,以及其他应用。除了强大的计算资源外,MP系统还经常依赖大量开放源码来学习关于代码和编程的有趣特性,并解决调试、代码建议、自动完成等领域的问题。 不幸的是,一些现有的MP系统要么不考虑代码储存库的质量,要么使用比软件工程界通常用来选择的系统质量标准更典型的质量标准。因此,需要研究代码储存库质量对这些系统绩效的影响。在本初步文件中,我们评估不同质量储存库对候选MP系统绩效的影响。为了实现这一目标,我们开发了一个名为GitRank的框架,通过利用关于这个主题的现有研究,将公开来源储存库的质量、可维持性和受欢迎程度排好。我们然后应用GitRank来评估我们候选的MP系统所使用的质量措施与我们框架所使用的质量措施之间的相互关系。我们的初步结果显示,不同质量储存库所使用的质量措施在GitRank 和控制F 系统所使用的质量标准中也有一些关联性关系。我们所使用的质量措施在GitRank数据库中使用了某种可应用的业绩标准。