探索微任务众包作为故障定位的一种手段
Exploring Microtask Crowdsourcing as a Means of Fault Localization
摘要:
微任务众包是将一个总体任务分解为许多小而快速的微任务,然后分发给未知的大量工作人员。微任务众包已经在其他学科中显示出潜力,但迄今为止在软件工程中只有少数方法被探索,它在我们领域的潜力仍然不清楚。在本文中,我们探讨如何微任务众包可能作为一种手段的故障定位。我们特别采取的第一步是评估一群工作人员是否可以正确地定位来自不同开源项目的几行代码(代码片段)中的已知错误。通过Mechanical Turk,我们收集了数百名工人对应用于代码片段的一组预先确定的模板问题的答案,每个问题的复制因子为20个答案。我们的研究结果表明,一群人可以正确地区分包含错误的代码行和不包含错误的代码行。我们还表明,可以应用各种过滤器来识别最有效的子群。我们的研究结果还在选择用于检查的代码行的比例和收集答案的成本方面存在严重的局限性。我们描述了我们的实验设计,讨论了结果,并提供了一个广泛的分析不同的过滤器及其在速度,成本和有效性方面的影响。最后,我们讨论的局限性和未来可能的实验,对更全面的故障定位在大规模涉及更复杂的故障。
英文摘要:
Microtask crowdsourcing is the practice of breaking down an overarching task to be performed into numerous, small, and quick microtasks that are distributed to an unknown, large set of workers. Microtask crowdsourcing has shown potential in other disciplines, but with only a handful of approaches explored to date in software engineering, its potential in our field remains unclear. In this paper, we explore how microtask crowdsourcing might serve as a means of fault localization. We particularly take a first step in assessing whether a crowd of workers can correctly locate known faults in a few lines of code (code fragments) taken from different open source projects. Through Mechanical Turk, we collected the answers of hundreds of workers to a pre-determined set of template questions applied to the code fragments, with a replication factor of twenty answers per question. Our findings show that a crowd can correctly distinguish questions that cover lines of code that contain a fault from those that do not. We also show that various filters can be applied to identify the most effective subcrowds. Our findings also presented serious limitations in terms of the proportion of lines of code selected for inspection and the cost to collect answers. We describe the design of our experiment, discuss the results, and provide an extensive analysis of different filters and their effects in terms of speed, cost, and effectiveness. We conclude with a discussion of limitations and possible future experiments toward more full-fledged fault localization on a large scale involving more complex faults.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。