Skip to content
Preprint

From Metrics to Improvement: A Lifecycle-Aware LLM Feedback Framework for Research Software Quality

Aug 2026 · 0 citations · 55 references
Computer Science

TL;DR

A lifecycle-aware framework that integrates quantitative software quality assessment with Large Language Model (LLM)-based code refinement is proposed and the potential of metric-driven LLM feedback for research software quality improvement is demonstrated while highlighting its inherently multi-objective nature.

Abstract

Research software is increasingly central to scientific workflows, yet it is often developed by researchers with limited software engineering expertise. This can lead to quality issues that hinder maintainability, reproducibility, reuse, and sustainability. Existing static analysis tools can identify such issues, but their outputs often require expert interpretation and provide limited support for translating quality assessments into actionable improvements. To address this gap, we propose a lifecycle-aware framework that integrates quantitative software quality assessment with Large Language Model (LLM)-based code refinement. The framework comprises two stages. First, a lifecycle-aware Quality Model is developed from established software quality standards and practitioner requirements. The model defines five quality dimensions and 25 candidate metrics, of which 14 are operationalized using existing analysis tools and custom measurements. Second, the resulting quality diagnostics are used as structured feedback within an iterative LLM-based refinement process, enabling generated improvements to be repeatedly reassessed against the Quality Model. We evaluate the framework on notebook-centric research software using multiple LLMs and compare iterative structured feedback with single-step feedback and unstructured prompting. The results show improvements in specific quality attributes, particularly code duplication and structural quality, while also revealing trade-offs among maintainability, code size, documentation, and complexity. These findings demonstrate the potential of metric-driven LLM feedback for research software quality improvement while highlighting its inherently multi-objective nature \footnote{The source code and experimental data are publicly available at https://github.com/QCDIS/Software_Quality_Control_LLM . }

View source

Similar papers

Open access Aug 2026

Algorithm-driven Development: A proactive approach to improving software quality and reducing defects

Algorithm-Driven Development is introduced, a methodology developed from industrial practice to address recurring challenges in translating requirements into reliable, testable, and maintainable software behavior that provides systematic coverage of functional scenarios from the outset of development.

Philippe Jawish, Pierre Evrard, Alexandre Lemerle et al. · 0 citations
Conference Open access 2026

Continuous Quality Assessment of Web Applications through Software Observability

: Understanding how web applications behave at runtime is central to their comprehension and maintenance. Continuous quality assessment supports this understanding by evaluating quality attributes such as performance, usability, and reliability during system operation. While software observability provides the technical foundation for such assessment, its practical realization remains limited by four interrelated challenges: (1) divergent stakeholder perspectives; (2) underspecified mappings between quality goals and the observable data needed to assess them; (3) performance overhead from indiscriminate data collection; and (4) intrusive code modifications for instrumentation. Existing approaches address these challenges separately but lack a unified, goal-driven framework connecting quality goals to the data and mechanisms that operationalize them. This paper introduces SoftScanner , an approach that integrates quality modeling, observability, and automated instrumentation for continuous assessment of frontend web applications. SoftScanner links ISO/IEC-aligned goals to runtime-measurable metrics and observable data (SSQMM), generates lightweight goal-specific instrumentation agents (SAIF), and computes normalized, traceable quality scores (SEQA). Evaluation on four web applications—two industrial and two open-source—shows that SoftScanner reduces assessment effort by orders of magnitude, achieves complete agreement with ground truth under the evaluated conditions, and substantially lowers runtime overhead compared to a general-purpose observability baseline.

Bachar Rima, Anas Shatnawi, A. Seriai · 0 citations
Open access 2022

Test-Driven Development and Behaviour-Driven Development: An Integrated Framework for Enterprise Software Quality Assurance

An integrated reference architecture is proposed that combines TDD's fine-grained unit-level feedback loop with BDD's stakeholder-readable acceptance criteria inside a single continuous integration and continuous delivery (CI/CD) pipeline.

Urvish Gajjar · 0 citations
Review Aug 2026

Requirements Engineering Challenges and Solutions in Open‐Source Software Development

In the rapidly evolving field of software development, open‐source software (OSS) has gained significant momentum due to its collaborative nature and emphasis on knowledge sharing. OSS source code is available under a license that allows users to inspect, improve, and modify it. In OSS, requirements are often created through informal online discussions, developer brainstorming, feature requests, and user feedback. Ambiguous or conflicting requirements can harm the software development process. The requirements engineering (RE) process in OSS faces several challenges, such as incomplete and ambiguous requirements, poor requirements prioritization, and conflicts among stakeholders over requirements. This research aims to identify and validate key challenges and their solutions within the RE process for open‐source software development (OSSD). A Multivocal Literature Review (MLR) was conducted using a customized search string aligned with our research questions (RQs). Following the MLR, an empirical study using a questionnaire survey (QS) was conducted to validate the findings. The results from the QS align with the conclusions drawn from the MLR. We identified a total of nine challenges across 47 selected articles (37 formal literature, 10 gray literature). To address these challenges, 66 practices/solutions are proposed. The best practices include involving developers and users in the RE process, along with formal requirements documentation and prioritization. The findings from this research will help OSS practitioners and academic researchers gain insights into the RE process, thereby improving it within OSS projects.

Fazli Rabi, Muhammad Ilyas, Nasir Rashid et al. · 0 citations
Preprint Jul 2026

Information is all you need: Requirements Engineering Quality Reframed

A novel holistic theory of requirements engineering (RE) quality is proposed that can serve as a coherent theoretical framework for understanding the success or failure of RE processes and artifacts, and it is envisioned that the theory can serve as a coherent theoretical framework for understanding the success or failure of RE processes and artifacts.

Henning Femmer, Julian Frattini · 0 citations
Preprint Aug 2026

Large Language Models for Requirements Engineering: A Cross-Task Empirical Evaluation

This work presents the first cross-task empirical evaluation of LLMs spanning five RE-related activities, as well as replication materials supporting reproducibility, and a broader understanding of the capabilities, limitations, and practical readiness of current LLMs for RE.

Jacek Dabrowski, Manjeshwar Aniruddh Mallya, Alessio Ferrari et al. · 0 citations