DOI: 10.7910/dvn/ohmyak
title: Replication Data for: Better Automatic Program Repair by Using Bug Reports and Tests Together

description: This dataset contains the source code, data, and results described in the paper titled:
&lt;b&gt;Better Automatic Program Repair by Using Bug Reports and Tests Together&lt;/b&gt;, in Proceedings of the 45th International Conference on Software Engineering (ICSE), 2023 by Manish Motwani and Yuriy Brun.
&lt;br/&gt;
The artifact documentation is available &lt;a href="https://github.com/LASER-UMASS/SBIR-ReplicationPackage/tree/main/artifact_documentation"&gt;here&lt;/a&gt;. 
&lt;br/&gt;
The artifact is installed in a VirtualBox VM hosted &lt;a href="https://umass-my.sharepoint.com/:u:/g/personal/mmotwani_umass_edu/EeJYzl5GmhpGoPFvwAYE0gQBZCDZS-i1EJckOcmiDiMjoQ"&gt;here&lt;/a&gt;. 
&lt;br/&gt;
&lt;br/&gt;
As the dataset size is large, the dataset is split into multiple parts of size &lt;=2GB. 
To access the files inside the partitioned archives do the following.
&lt;br/&gt;
Download all the parts and combine them using the commands (on Linux) or use 7-Zip (in Windows) by moving all the partitioned files to a single folder ,and select and extracting them together. &lt;/br&gt;

&lt;i&gt; cat SBIR-ReplicationPackage-part-* &gt; SBIR-ReplicationPackage-main.zip &lt;/i&gt;&lt;br/&gt;
&lt;i&gt;unzip SBIR-ReplicationPackage-main.zip&lt;/i&gt;&lt;/br&gt;
&lt;br/&gt;

The folder &lt;i&gt;FaultLocalization&lt;/i&gt; (in &lt;i&gt;SBIR-ReplicationPackage-main.zip&lt;/i&gt;) contains two folders, &lt;i&gt;data&lt;/i&gt; and &lt;i&gt;src&lt;/i&gt;.
The data folder contains fault localization results of the following techniques:
&lt;ol&gt;
&lt;li&gt; blues_configuration_results &lt;/li&gt; 
&lt;li&gt; blues_results &lt;/li&gt;
&lt;li&gt; SBFL_results &lt;/li&gt;
&lt;li&gt; SBIR_results &lt;/li&gt;
&lt;li&gt; statement_level_BLUiR_results &lt;/li&gt;
&lt;li&gt; nine_standalone_fl_tools_results &lt;/li&gt;
&lt;li&gt; perfectFL_results &lt;/li&gt;
&lt;li&gt; FixR_results &lt;/li&gt;
&lt;/ol&gt;

The &lt;i&gt;src&lt;/i&gt; folder contains the source code for the following FL techniques. Each of the techniques' folders has a README describing how to execute the technique.
&lt;ol&gt;
&lt;li&gt;blues&lt;/li&gt;
&lt;li&gt;sbir&lt;/li&gt;
&lt;li&gt;sbfl&lt;/li&gt;
&lt;li&gt;sbir_vs_ranksvm&lt;/li&gt;
&lt;/ol&gt;

The folder AutomatedProgramRepair (in &lt;i&gt;SBIR-ReplicationPackage-main.zip&lt;/i&gt;) contains two folders, &lt;i&gt;data&lt;/i&gt; and &lt;i&gt;src&lt;/i&gt;.
The data folder contains:
&lt;ol&gt;
&lt;li&gt;&lt;i&gt; patches&lt;/i&gt;: this folder contains three sub-folders one each for Arja, SequenceR, and SimFix containing the correct patches produced by the respective tools using (a) blues, (b) SBFL, (c) SBIR, and (d) perfectFL, and the correctness analysis of the produced patches. &lt;/li&gt;
&lt;li&gt;&lt;i&gt;all_eval_tests&lt;/i&gt;: held-out evaluation tests generated using EvoSuite to evaluate patch correctness.&lt;/li&gt;
&lt;/ol&gt;
&lt;br/&gt;
The &lt;i&gt;src&lt;/i&gt; contains code to generate held-out evaluation test suites using EvoSuite and a folder &lt;i&gt;apr-tools&lt;i&gt; that contains three sub-folders corresponding to the customized implementations of the three repair tools (Arja, SequenceR, and SimFix) used in the study.
description: Blues, 1.0
description: RAFL, 1.0