MaRV: A Manually Validated Refactoring Dataset

Despite the existence of traditional refactoring tools that offer semi-automated assistance, machine learning-based models have shown significant potential to generate refactored code. A comprehensive, manually validated refactoring dataset could help the software engineering community to train such models for effective refactorings. However, the community lacks a manually validated refactoring dataset. This paper introduces the MaRV dataset containing 693 manually evaluated code pairs extracted out of 126 GitHub Java repositories, representing four types of refactoring. In addition, the metadata describing the supposedly refactored elements was collected. Each code pair was manually evaluated by two reviewers out of 40 participants. MaRV dataset is constantly evolving with a web-based tool available for evaluating refactoring representations. The potential application of this dataset is to improve the accuracy and reliability of state-of-the-art models in refactoring tasks (e.g., refactoring candidate identification and refactoring code generation) by providing high-quality data.

Authors

Institutions

Publication Details

Published
2025-04-27
DOI
https://doi.org/10.1109/forge66646.2025.00023
Citations
2
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
4.96

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MaRV: A Manually Validated Refactoring Dataset

Henrique Nunes, Eduardo Figueiredo, Tushar Sharma
2 citations
Natural Language Processing Techniques
4.96
article

MaRV: A Manually Validated Refactoring Dataset

Henrique Nunes, Eduardo Figueiredo, Tushar Sharma
article en
2 citations

Abstract

Despite the existence of traditional refactoring tools that offer semi-automated assistance, machine learning-based models have shown significant potential to generate refactored code. A comprehensive, manually validated refactoring dataset could help the software engineering community to train such models for effective refactorings. However, the community lacks a manually validated refactoring dataset. This paper introduces the MaRV dataset containing 693 manually evaluated code pairs extracted out of 126 GitHub Java repositories, representing four types of refactoring. In addition, the metadata describing the supposedly refactored elements was collected. Each code pair was manually evaluated by two reviewers out of 40 participants. MaRV dataset is constantly evolving with a web-based tool available for evaluating refactoring representations. The potential application of this dataset is to improve the accuracy and reliability of state-of-the-art models in refactoring tasks (e.g., refactoring candidate identification and refactoring code generation) by providing high-quality data.

Universidade Federal de Minas Gerais (BR), Dalhousie University (CA)
EMI
Openalex Percentile: Top 5%
Natural Language Processing Techniques
4.96
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.