SEAIAug 17, 2024

Better Python Programming for all: With the focus on Maintainability

arXiv:2408.09134v12 citationsh-index: 7
Originality Incremental advance
AI Analysis

This addresses maintainability issues for developers using AI-assisted coding, though it is incremental as it builds on existing LLM methods.

The study tackled the problem of low maintainability in Python code generated by Large Language Models (LLMs) by fine-tuning an LLM for code refactoring, resulting in significant improvements in code maintainability standards.

This study aims to enhance the maintainability of code generated by Large Language Models (LLMs), with a focus on the Python programming language. As the use of LLMs for coding assistance grows, so do concerns about the maintainability of the code they produce. Previous research has mainly concentrated on the functional accuracy and testing success of generated code, overlooking aspects of maintainability. Our approach involves the use of a specifically designed dataset for training and evaluating the model, ensuring a thorough assessment of code maintainability. At the heart of our work is the fine-tuning of an LLM for code refactoring, aimed at enhancing code readability, reducing complexity, and improving overall maintainability. After fine-tuning an LLM to prioritize code maintainability, our evaluations indicate that this model significantly improves code maintainability standards, suggesting a promising direction for the future of AI-assisted software development.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes