TL;DR
This paper presents an LLM-based multi-agent system designed to automate and improve the accuracy of refactoring Haskell code, demonstrating significant enhancements in code quality, complexity reduction, and performance efficiency.
Contribution
The paper introduces a novel multi-agent system utilizing large language models specifically tailored for automated refactoring of Haskell code, a functional programming language.
Findings
11.03% decrease in code complexity
22.46% improvement in overall code quality
13.27% increase in performance efficiency
Abstract
Refactoring is a constant activity in software development and maintenance. Scale and maintain software systems are based on code refactoring. However, this process is still labor intensive, as it requires programmers to analyze the codebases in detail to avoid introducing new defects. In this research, we put forward a large language model (LLM)-based multi-agent system to automate the refactoring process on Haskell code. The objective of this research is to evaluate the effect of LLM-based agents in performing structured and semantically accurate refactoring on Haskell code. Our proposed multi-agent system based on specialized agents with distinct roles, including code analysis, refactoring execution, verification, and debugging. To test the effectiveness and practical applicability of the multi-agent system, we conducted evaluations using different open-source Haskell codebases. The…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
