Find research datasets worth reusing
Search datasets from major research repositories and use ShareScore to quickly assess how well each record supports discovery, access, and reuse.
5
datasets available to search
ShareScore release 0.9.0
Dataset results
5 results for “patch correctness assessment”
The dataset of the ASE'20 paper titled "Automated Patch Correctness Assessment: How Far are We?"
<p>This is the experiment result of the ASE'20 paper titled "<strong>Automated Patch Correctness Assessment: How Far are We?</strong>".</p> <p>If you use our data for academic research, please cite our paper as:</p> <pre><code class="language-html">@inproceedings{wang2020automated, title={Automated Patch Correctness Assessment: How Far are We?}, author={Wang, Shangwen and Wen, Ming and Lin, Bo and Wu, Hongjun and Qin, Yihao and Zou, Deqing and Mao, Xiaoguang and Jin, Hai}, booktitle={Proceedings of the 35th International Conference on Automated Software Engineering (ASE)}, year={2020}, organization={ACM} }</code></pre> <p>The file <strong><em>Patches.zip</em></strong> includes all the patches we take into consideration in this study. Note that 269 patches come from "<a href="http://arxiv.org/pdf/1909.13694">Automated Patch Assessment for Program Repair at Scale</a> (Ye et al.), Technical report 1909.13694, arXiv, 2019".</p> <p>The file <em><strong>Patches_for_Static</strong></em> include all the class files we used for static method.</p> <p>The file <em><strong>Tests-oracle </strong></em>includes all the test cases generated by <strong>Evosuite</strong> and <strong>Randoop</strong> on the fixed version programs.</p> <p>The file <em><strong>Tests-buggy</strong></em> includes all the test cases generated by <strong>Evosuite</strong> and <strong>Randoop</strong> on the buggy version programs.</p> <p>The file <em><strong>DiffTGen-result</strong></em> includes ingredients and output information of <strong>DiffTGen</strong>.</p> <p>The file <em><strong>Daikon-output</strong></em> includes inferred invariants of each patch and its corresponding ground-truth.</p> <p>The file <em><strong>PATCH-SIM_result</strong></em> includes the output vector files from <strong>PATCH-SIM</strong> and<strong> E-PATCH-SIM</strong>.</p> <p>The file <em><strong>Training_result</strong></em> includes the output of six ML algorithms with or without oracle.</p> <pre><code class="language-xml">Chart: 1-26; Closure: 14, 18, 31, 33, 38, 40, 57, 62, 63, 70, 73, 86, 92, 93, 115, 123, 126; Lang: 6, 7, 10, 16, 20, 21, 22, 24, 26, 27, 33, 35, 38, 39, 41, 43, 44, 45, 50, 51, 55, 57, 58, 59, 60, 61, 63; Math: 2, 3, 4, 5, 6, 8, 20, 22, 25, 28, 30, 31, 32, 33, 34, 35, 39, 41, 49, 50, 53, 56, 57, 58, 59, 60, 61, 63, 65, 68, 70, 71, 73, 74, 75, 79, 80, 81, 82, 85, 86, 88, 89, 90, 93, 97, 98, 99, 104; Time: 4, 7, 11, 14, 15, 19. </code></pre> <p>Please note that for bugs in the above table, the Evosuite tests on the fixed version programs are reused from <a href="https://arxiv.org/abs/1909.13694">a previous study</a>. We thank <strong>He Ye</strong>, <strong>Matias Martinez</strong>, and <strong>Martin Monperrus</strong> so much for sharing their data.</p> <p> </p> <p><strong>Notice!</strong> For patches under the folder <em>Patches_ICSE</em>, those under <em>Ddifferent</em> and <em>Dsame</em> folders are all correct patches. <em>Different</em> and <em>Same</em> only indicate whether the patch is syntactically identical to the ground truth patch.</p> <p>Patches generated for Mockito project (2 in total): Kali-A-Mockito-10; Arja-Mockito-10</p> <p>Patches do not pass plausibility check (6 in total): Kali-Closure-133; kPAR-Chart-12; FixMiner-Chart-12; patch1-Lang-6-SketchFix-plausible; patch2-Lang-6-SketchFix-plausible; patch1-Math-2-SOFix</p> <p>Patches that are mistakenly labeled (12 in total): patch2-Lang-51-Jaid; patch1-Lang-43-CapGen; patch2-Lang-43-CapGen; patch2-Math-53-CapGen; patch2-Math-53-Jaid; jKali-Lang-7; ACS-Lang-35; Arja-Math-35; SimFix-Math-72; SimFix-Closure-19; Arja-Math-50; SimFix-Lang-60</p> <p>Detailed reasons for the mislabeled patches: 1. the ground-truth patch modifies multiple locations while the generated patch only modifies one of them (2/12, SimFix-Math-72, SimFix-Lang-60); 2. the edit points in the generated patch are different from those in ground-truth patch (8/12, patch2-Lang-51-Jaid, patch2-Math-53-Jaid, patch1-Lang-43-CapGen, patch2-Lang-43-CapGen, patch2-Math-53-CapGen, ACS-Lang-35, SimFix-Closure-19, Arja-Math-50); 3. the generated patch doesnot fulfill the intended function in ground-truth (2/12, jKali-Lang-7, Arja-Math-35).</p> <p>Take <em>Arja-Math-50</em> as an example, this patch deletes a conditional statement which deals with an unexpected input (<em>null</em>) in the method <em><strong>verifyBracketing</strong></em>.<em><strong> </strong></em>However, in the oracle program, this conditional statement still exists. Then, <strong>Randoop</strong> generated a test case by calling <strong><em>verifyBracketing</em></strong> with a <em>null</em> argument. This test passed on the ground-truthpatch but failed on the patch generated by Arja due to the removeof the exception handling statements. As a result, this patch is actually overfitting but mistakenly labeled as correct. We have confirmed this case with Kui Liu, the first author of the recent ICSE'20 paper (Title: <em>On the Efficiency of Test Suite based Program Repair</em>) which makes up our patch benchmark.</p> <p> </p> <p>Border line Patches (3 in total): ACS-Lang-7; kPAR-Lang-7; TBar-Lang-7. Reasons for overfitting: Evosuite generates some tests that fail on those patches, e.g., test049 in Seed 1; the Java documentation above the function states that it needs to deal with the situation where the input cannot be converted. Reasons for correct: it synthesizes the correct modification; currently, in the program, <em>createBigDecimal()</em> is not called directly in other part of the production code except <em>createNumber()</em> and the test code. In our paper, we consider these three patches as correct and that's why Evosuite has 3 false positives.</p>
The dataset of the paper titled "Context-Aware Code Change Embedding for Better Patch Correctness Assessment"
<p>The dataset of the paper titled "Context-Aware Code Change Embedding for Better Patch Correctness Assessment".</p> <p>This is the online repository of the paper "Context-Aware Code Change Embedding for Better Patch Correctness Assessment" under review by ASE2021. We release the source code of Cache, the patches used in our evaluation, as well as the experiment results.</p> <ul> <li> <p>Patches: Two patch benchmarks included in our study.</p> <ul> <li>Small: The 1,183 deduplicated patches from Tian's <a href="https://conf.researchr.org/details/ase-2020/ase-2020-papers/3/Evaluating-Representation-Learning-of-Code-Changes-for-Predicting-Patch-Correctness-i">ASE20</a> paper and Wang's <a href="https://conf.researchr.org/details/ase-2020/ase-2020-papers/54/Automated-Patch-Correctness-Assessment-How-Far-are-We-">ASE20</a> paper.</li> <li>Large: The patches collected by ourselves, which is consist of totally 49,694 patches from <a href="https://dl.acm.org/doi/10.1145/3338906.3338911">RepairThemAll</a> and <a href="https://dl.acm.org/doi/10.1145/3379597.3387491">ManySStuBs</a>.</li> </ul> </li> <li> <p>Results</p> <ul> <li> <p>RQ1: The detailed result files in RQ1, which are named by the format of <em><code>[model]_[classifier].csv</code></em>. For example, the file named <em><code>BERT_DT.csv</code></em> in the folder <em><code>Small</code></em> means that this file is the result of patches from <strong>Small</strong> dataset embedded by <strong>BERT</strong> and classified by <strong>Decision Tree</strong>.</p> <ul> <li>Small: The detailed result files on Small dataset.</li> <li>Large: The detailed result files on Large dataset.</li> <li> <p>Cross: The detailed result files of representation learning techniques when training on Large dataset and testing on Small dataset.</p> </li> </ul> </li> <li> <p>RQ2: The detailed result files in RQ2.</p> <ul> <li>Wang_Cache.csv: The detailed result of Cache on the dataset from Wang's <a href="https://conf.researchr.org/details/ase-2020/ase-2020-papers/54/Automated-Patch-Correctness-Assessment-How-Far-are-We-">ASE20</a> paper.</li> <li> <p>ODS_Cache.csv: The datailed result of Cache on the dataset from Xiong's <a href="https://dl.acm.org/doi/10.1145/3180155.3180182">ICSE18</a> paper. We directly compare against the results reported by the authors of ODS on 139 patches from Xiong's paper since the data and source code of ODS is unavailable.</p> </li> <li> <p>Table_5_Effectiveness_APCA.xlsx: The detailed version of <strong>Table 5</strong> in the paper.</p> </li> <li> <p>Table_6_Effectiveness_ODS.xlsx: The detailed version of <strong>Table 6</strong> in the paper.</p> </li> </ul> </li> </ul> </li> <li>Source: The source code and lib for running Cache. Guidance for replicating our study is available at <em><code>source/Readme.md</code></em>. We will build a homepage for Cache on GitHub upon acceptance.</li> </ul>
Materials for "Invalidator: Automated Patch Correctness Assessment via Semantic and Syntactic Reasoning"
<p>This repository contains materials including source code, datasets and results for "Invalidator: Automated Patch Correctness Assessment via Semantic and Syntactic Reasoning"</p>
The dataset of the paper titled "Context-Aware Code Change Embedding for Better Patch Correctness Assessment"
<p>This is the online repository of the paper "Context-Aware Code Change Embedding for Better Patch Correctness Assessment" under review by SANER2021. We release the source code of Cache, the patches used in our evaluation, as well as the experiment results.</p> <ul> <li> <p>Patches: Three patch benchmarks included in our study. </p> <ul> <li> <p>Tian: The patches from Tian's <a href="https://conf.researchr.org/details/ase-2020/ase-2020-papers/3/Evaluating-Representation-Learning-of-Code-Changes-for-Predicting-Patch-Correctness-i">ASE20</a> paper.</p> </li> <li> <p>Wang: The patches from Wang's <a href="https://conf.researchr.org/details/ase-2020/ase-2020-papers/54/Automated-Patch-Correctness-Assessment-How-Far-are-We-">ASE20</a> paper.</p> </li> <li> <p>Cache: The patches collected by ourselves, which is consist of 17,377 deduplicated overfitting patches from <a href="https://dl.acm.org/doi/10.1145/3338906.3338911">RepairThemAll</a> and 17,377 instances from <a href="https://dl.acm.org/doi/10.1145/3379597.3387491">ManySStuBs</a>(used as correct patches).</p> </li> </ul> </li> <li> <p>Results:</p> <ul> <li> <p>RQ1: The detailed result files in RQ1, which are named by the format of <em>[model]_[classifier]</em>.csv.</p> <p>For example, the file named <strong>BERT_DT.csv</strong> in the folder <strong>Tian's_dataset</strong> means that this file is the result of patches from <strong>Tian's</strong> study embedded by <strong>BERT</strong> and classified by <strong>Decision Tree</strong>.</p> <ul> <li> <p>Tian's_dataset : The detailed result files on Tian's dataset. </p> </li> <li> <p>Cache_dataset : The detailed result files on our own dataset. </p> </li> <li> <p>Cross_dataset : The detailed result files of representation learning techniques when training on our own dataset and testing on Tian's dataset.</p> </li> </ul> </li> <li>RQ2: The detailed result files in RQ2. <ul> <li> <p>Wang_Cache.csv: The detailed result of Cache on the dataset from Wang's <a href="https://conf.researchr.org/details/ase-2020/ase-2020-papers/54/">ASE20</a>.</p> </li> <li> <p>ODS_Cache.csv: The datailed result of Cache on the dataset from Xiong's <a href="https://dl.acm.org/doi/10.1145/3180155.3180182">ICSE18</a> paper. We directly compare against the results reported by the authors of ODS on 139 patches from Xiong's paper since the data and source code of ODS is unavailable.</p> </li> </ul> </li> </ul> </li> </ul> <p>Source: The source code and lib for running Cache is available at <a href="https://github.com/APR-Study/Cache">https://github.com/APR-Study/Cache</a>.</p>
The dataset of the paper titled "Context-Aware Code Change Embedding for Better Patch Correctness Assessment"
<p>The dataset of the paper titled "Context-Aware Code Change Embedding for Better Patch Correctness Assessment".</p> <p>This is the online repository of the paper "Context-Aware Code Change Embedding for Better Patch Correctness Assessment" under review by ISSTA2021. We release the source code of Cache, the patches used in our evaluation, as well as the experiment results.</p> <ul> <li> <p>Patches: Two patch benchmarks included in our study.</p> <ul> <li>Small: The 1,183 deduplicated patches from Tian's <a href="https://conf.researchr.org/details/ase-2020/ase-2020-papers/3/Evaluating-Representation-Learning-of-Code-Changes-for-Predicting-Patch-Correctness-i">ASE20</a> paper and Wang's <a href="https://conf.researchr.org/details/ase-2020/ase-2020-papers/54/Automated-Patch-Correctness-Assessment-How-Far-are-We-">ASE20</a> paper.</li> <li>Large: The patches collected by ourselves, which is consist of totally 49,694 patches from <a href="https://dl.acm.org/doi/10.1145/3338906.3338911">RepairThemAll</a> and <a href="https://dl.acm.org/doi/10.1145/3379597.3387491">ManySStuBs</a>.</li> </ul> </li> <li> <p>Results</p> <ul> <li> <p>RQ1: The detailed result files in RQ1, which are named by the format of <em><code>[model]_[classifier].csv</code></em>. For example, the file named <em><code>BERT_DT.csv</code></em> in the folder <em><code>Small</code></em> means that this file is the result of patches from <strong>Small</strong> dataset embedded by <strong>BERT</strong> and classified by <strong>Decision Tree</strong>.</p> <ul> <li>Small: The detailed result files on Small dataset.</li> <li>Large: The detailed result files on Large dataset.</li> <li> <p>Cross: The detailed result files of representation learning techniques when training on Large dataset and testing on Small dataset.</p> </li> </ul> </li> <li> <p>RQ2: The detailed result files in RQ2.</p> <ul> <li>Wang_Cache.csv: The detailed result of Cache on the dataset from Wang's <a href="https://conf.researchr.org/details/ase-2020/ase-2020-papers/54/Automated-Patch-Correctness-Assessment-How-Far-are-We-">ASE20</a> paper.</li> <li> <p>ODS_Cache.csv: The datailed result of Cache on the dataset from Xiong's <a href="https://dl.acm.org/doi/10.1145/3180155.3180182">ICSE18</a> paper. We directly compare against the results reported by the authors of ODS on 139 patches from Xiong's paper since the data and source code of ODS is unavailable.</p> </li> <li> <p>Table_5_Effectiveness_APCA.xlsx: The detailed version of <strong>Table 5</strong> in the paper.</p> </li> <li> <p>Table_6_Effectiveness_ODS.xlsx: The detailed version of <strong>Table 6</strong> in the paper.</p> </li> </ul> </li> </ul> </li> <li>Source: The source code and lib for running Cache. Guidance for replicating our study is available at <em><code>source/Readme.md</code></em>. We will build a homepage for Cache on GitHub upon acceptance.</li> </ul>
ScienceDex guides
Understand access before you commit
These curated guides explain access requirements, typical timelines, costs, and reuse considerations for widely used research datasets.
Allen Brain Atlas
Allen Brain Atlas is an Allen Institute collection of brain map atlases, datasets, APIs, and analysis tools covering mouse, human, and non-human primate brain resources.
Annotated Behaviour and Observability Dataset (ABODe)
ABODe is a University of Edinburgh DataShare dataset for behavior classification in group-housed mice using home-cage video, identities, bounding boxes, ground-plate positions, and annotator labels.
DANDI Archive for NWB datasets
DANDI is a BRAIN Initiative archive for publishing and sharing neurophysiology data, including electrophysiology, optophysiology, and behavioral data packaged as NWB and related standards.
International Brain Laboratory public data
The International Brain Laboratory public data releases expose standardized mouse decision-making experiments, including Neuropixels recordings, widefield calcium imaging, behavior, and session metadata accessed through the ONE API.
OpenNeuro
OpenNeuro is a free, open platform for sharing neuroimaging datasets, with public search, dataset pages, and download paths for web, S3, DataLad, and the OpenNeuro CLI.