Computer Science > Software Engineering
arXiv:2502.07928 (cs)
[Submitted on 11 Feb 2025]
Title:Distributed Approach to Haskell Based Applications Refactoring with LLMs Based Multi-Agent Systems
Authors:Shahbaz Siddeeq,Zeeshan Rasheed,Malik Abdul Sami,Mahade Hasan,Muhammad Waseem,Jussi Rasku,Mika Saari,Kai-Kristian Kemell,Pekka Abrahamsson
View a PDF of the paper titled Distributed Approach to Haskell Based Applications Refactoring with LLMs Based Multi-Agent Systems, by Shahbaz Siddeeq and 8 other authors
View PDFHTML (experimental)Abstract:We present a large language models (LLMs) based multi-agent system to automate the refactoring of Haskell codebases. The multi-agent system consists of specialized agents performing tasks such as context analysis, refactoring, validation, and testing. Refactoring improvements are using metrics such as cyclomatic complexity, run-time, and memory allocation. Experimental evaluations conducted on Haskell codebases demonstrate improvements in code quality. Cyclomatic complexity was reduced by 13.64% and 47.06% in the respective codebases. Memory allocation improved by 4.17% and 41.73%, while runtime efficiency increased by up to 50%. These metrics highlight the systems ability to optimize Haskells functional paradigms while maintaining correctness and scalability. Results show reductions in complexity and performance enhancements across codebases. The integration of LLMs based multi-agent system enables precise task execution and inter-agent collaboration, addressing the challenges of refactoring in functional programming. This approach aims to address the challenges of refactoring functional programming languages through distributed and modular systems.
Subjects: | Software Engineering (cs.SE) |
Cite as: | arXiv:2502.07928 [cs.SE] |
(orarXiv:2502.07928v1 [cs.SE] for this version) | |
https://doi.org/10.48550/arXiv.2502.07928 arXiv-issued DOI via DataCite |
Submission history
From: Zeeshan Rasheed Mr [view email][v1] Tue, 11 Feb 2025 20:04:15 UTC (3,493 KB)
Full-text links:
Access Paper:
- View PDF
- HTML (experimental)
- TeX Source
- Other Formats
View a PDF of the paper titled Distributed Approach to Haskell Based Applications Refactoring with LLMs Based Multi-Agent Systems, by Shahbaz Siddeeq and 8 other authors
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer(What is the Explorer?)
Connected Papers(What is Connected Papers?)
Litmaps(What is Litmaps?)
scite Smart Citations(What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv(What is alphaXiv?)
CatalyzeX Code Finder for Papers(What is CatalyzeX?)
DagsHub(What is DagsHub?)
Gotit.pub(What is GotitPub?)
Hugging Face(What is Huggingface?)
Papers with Code(What is Papers with Code?)
ScienceCast(What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower(What are Influence Flowers?)
CORE Recommender(What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community?Learn more about arXivLabs.