RefactorGPT Code and dataset files

This repository contains the source code, benchmark datasets, and experimental results for the study titled "RefactorGPT: A ChatGPT-Based Multi-Agent Framework for Automated Code Refactoring". RefactorGPT is a modular and extensible system that utilizes multiple task-oriented agents powered by large language models to automatically analyze, refactor, refine, and validate Python code. The framework enables step-by-step interaction with LLMs through structured prompts, ensuring functional correctness, improved modularity, and enhanced code readability. This open-access release includes: Python scripts for all four agents (AnalyzerAgent, RefactorAgent, RefineAgent, FixerAgent) Prompt templates used for each stage of the refactoring pipeline Benchmark dataset with original and refactored Python code samples Evaluation scripts and metrics (e.g., execution time, memory usage, LOC, function count, token count) Sample output files and human evaluation annotations (if applicable) The project supports reproducible research and encourages future exploration in the domain of LLM-based software engineering. All materials are released under an open license and can be reused with attribution.

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-08-08
DOI
https://doi.org/10.5281/zenodo.16782314
Primary Topic
Artificial Intelligence in Healthcare and Education
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

RefactorGPT Code and dataset files

Zenodo (CERN European Organization for Nuclear Research)
Artificial Intelligence in Healthcare and Education
article

RefactorGPT Code and dataset files

article en

Abstract

This repository contains the source code, benchmark datasets, and experimental results for the study titled "RefactorGPT: A ChatGPT-Based Multi-Agent Framework for Automated Code Refactoring". RefactorGPT is a modular and extensible system that utilizes multiple task-oriented agents powered by large language models to automatically analyze, refactor, refine, and validate Python code. The framework enables step-by-step interaction with LLMs through structured prompts, ensuring functional correctness, improved modularity, and enhanced code readability. This open-access release includes: Python scripts for all four agents (AnalyzerAgent, RefactorAgent, RefineAgent, FixerAgent) Prompt templates used for each stage of the refactoring pipeline Benchmark dataset with original and refactored Python code samples Evaluation scripts and metrics (e.g., execution time, memory usage, LOC, function count, token count) Sample output files and human evaluation annotations (if applicable) The project supports reproducible research and encourages future exploration in the domain of LLM-based software engineering. All materials are released under an open license and can be reused with attribution.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 58%
Artificial Intelligence in Healthcare and Education
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.

RefactorGPT Code and dataset files · Zenodo (CERN European Organization for Nuclear Research) (2025) | TGRS Research Map | TGRS