Rethinking Issue Resolution for AI/ML Systems Ahmed Adnan∗
Mushfiqur Rahman∗
Antu Saha
Oscar Chaparro
East West University Dhaka, Bangladesh [email protected]
BUBT Dhaka, Bangladesh [email protected]
William & Mary Williamsburg, VA, USA [email protected]
William & Mary Williamsburg, VA, USA [email protected]
Abstract—We advocate for AI/ML issue resolution frameworks tailored to maintenance workflows and the nature of modern AI/ML systems. Existing issue resolution frameworks largely emerged for traditional software maintenance practices and do not explicitly account for characteristics common in AI/ML systems, such as stochastic behavior, experimentation-driven workflows, and heterogeneous artifacts beyond source code. To identify the unique characteristics of issue resolution in AI/ML systems and motivate the need for tailored frameworks, we conducted a qualitative study of issue resolution workflows documented in 100 issue reports and pull requests across four widely used AI/ML systems: TensorFlow, scikit-learn, MLflow, and AutoGPT. Our findings suggest that issue resolution in AI/ML systems involves: recurring AI/ML-related activities that span multiple resolution stages; iterative experimentation and adaptive verification; and coordinated changes across artifacts such as datasets, prompts, and model configurations. We also observed challenges related to reproducibility, nondeterministic behavior, and artifact coordination. Building on these findings, we present a vision for AI/ML issue resolution frameworks and discuss research directions and tooling support needed to realize this vision.
to source code. Such frameworks should support iterative and cross-stage issue resolution activities related to AI/ML components, reproducibility management for nondeterministic behaviors, performance-aware verification, and traceability across heterogeneous artifacts. For example, resolving a failure in a GenAI-based system may require developers to inspect prompts, datasets, model configurations, inference pipelines, and infrastructure environments while repeatedly evaluating model behavior under different execution conditions. We therefore envision AI/ML-adaptive issue resolution frameworks as extensions of existing frameworks that integrate support for experimentation, reproducibility, and heterogeneous artifact management into broader maintenance workflows. To illustrate the unique characteristics of issue resolution in AI/ML systems and motivate the need for adapted frameworks, we conducted a preliminary case study. We qualitatively analyzed 100 issue reports and associated pull requests across four widely used AI/ML libraries/systems: TensorFlow [10], scikit-learn [11], MLflow [12], and AutoGPT [13]. Following an iterative open coding methodology [14], we investigated the resolution activities developers perform, the challenges they encounter, the mitigation strategies they adopt, and the artifacts they modify while resolving issues in AI/ML systems. Our study reveals that issue resolution in AI/ML systems involves recurring AI/ML-related activities in addition to traditional issue resolution stages, heterogeneous artifacts beyond source code, and adaptive and non-deterministic validation and mitigation strategies that are not explicitly modeled in traditional frameworks. In particular, we observed that activities such as model performance monitoring and parameter tuning frequently span multiple issue resolution stages, suggesting that issue resolution in AI/ML systems is often more iterative and tightly coupled with experimentation workflows. Building on these findings, this paper presents our vision for AI/ML-specific issue resolution frameworks and discusses the maintenance workflows, tooling support, and research directions needed to realize this vision.
I. T HE V ISION We advocate for issue resolution frameworks tailored for AI/ML systems. The increasing adoption of AI/ML development libraries and AI-integrated systems requires extending traditional issue resolution frameworks with AI/ML workflows that explicitly account for data, models, stochastic behavior, experimentation, and heterogeneous software artifacts. Existing issue resolution frameworks largely emerged from maintenance practices in traditional software systems, where failures are often more reproducible, debugging centers primarily around source code, and fixes are commonly validated through deterministic tests, code review, and static analysis [1]– [3]. However, modern AI/ML systems increasingly combine traditional software components with AI/ML artifacts such as datasets, prompts, models, hyperparameters, and training pipelines [4], [5]. Consequently, issue resolution in these systems may require developers to monitor model behavior, retrain models, tune hyperparameters, modify prompts or datasets, manage infrastructure configurations, and validate fixes using repeated experimentation, statistical reasoning, or II. R ELATED W ORK qualitative evaluation procedures rather than relying solely on Prior work in software engineering for AI/ML systems binary pass/fail judgments [6]–[9]. (SE4ML) has shown that AI/ML systems differ from traditional Within this vision, future issue resolution frameworks should software in their development workflows, architectures, and treat AI/ML artifacts as first-class entities in maintenance maintenance requirements [4], [15], [16]. They are dataworkflows rather than as secondary components attached driven, rely on complex training and deployment pipelines, and * Equal contribution require continuous monitoring, retraining, and experimentation
throughout the lifecycle [4], [15]. Research on MLOps and with a minimum of 5 active contributors), and (iv) had ML system maintenance identifies challenges in reproducibility, a large issue collection (>1000 closed issues). From an traceability, scalability, documentation, infrastructure manage- initial pool of 15 candidates, we selected four representative ment, and coordinating heterogeneous artifacts such as datasets, systems: TensorFlow [10] and scikit-learn [11] (as AI/ML models, configurations, and pipelines [16]–[19]. Similarly, frameworks/libraries), and MLflow [12] and AutoGPT [13] (as Jiang et al.’s study of pre-trained model reuse on Hugging MLOps and GenAI-integrated systems, respectively). Face [20] reports challenges with reproducibility, provenance, 2) Issue Collection: We analyzed closed issue reports from and nondeterministic behavior. The study focuses on model 2020 to 2025, encompassing bug reports, enhancement requests, selection and reuse rather than on issue resolution workflows new feature implementations, etc. From each project, 25 issues in AI/ML systems, as we do. were randomly sampled, yielding a total of 100 issues. We limPrior work has also shown that AI/ML issues often stem from ited our sample to 25 issues per project to keep the qualitative data quality, training configurations, model behavior, infras- coding effort manageable, as each issue and its associated pull tructure dependencies, and non-deterministic execution rather requests required detailed multi-coder annotation, inspection of than only production code [6], [7], [9]. Existing studies have different commits and artifacts, and reconciliation. Closed isproposed AI/ML fault taxonomies [9], analyzed the root causes sues allow us to understand the full process as they provide endand resolution of ML bugs [6], [7], [21], and investigated code- to-end evidence of the whole resolution process, including probcentric fault localization challenges [8]. For example, Humbat- lem analysis, solution design, implementation, and verification. 3) Issue Coding Procedure: Inspired by our prior work [1], ova et al. [9] found that deep learning faults frequently involve data, model configuration, and training processes, while Nguyen we employed an iterative multi-coder open coding methodolet al. [8] highlighted limited observability, non-determinism, ogy [27] to annotate textual snippets (e.g., phrases, sentences, and paragraphs) present in the discussion threads and various and immature tooling as key barriers to bug localization. Despite these advances, prior work focuses on broad contributor actions (e.g., creating commits, merging PRs, etc.) AI/ML development practices, maintenance challenges, bug in the sampled issues and associated pull requests. The first two characteristics, and debugging techniques rather than on issue authors, both with an M.S. in SE and ∼2 years of industry experesolution worflows for AI/ML systems. Moreover, existing rience in software maintenance and issue management, indepenissue resolution frameworks in software engineering (SE) [1], dently analyzed and assigned fine-grained codes to text snippets [2], [22]–[24] have emerged for traditional systems. These from the 100 issues in batches of 10 using the Hypothesis anframeworks model issue resolution as a sequence of stages notation tool [28]. The third and four authors, a Ph.D candidate such as analysis, reproduction, implementation, and verification, and a professor, guided and reviewed the annotation process. Starting from our prior study’s codebook [1], we iteratively assuming deterministic behavior, code-centric debugging, and binary test outcomes [1], [3]. While prior SE4ML work broadly expanded the code catalog to capture AI/ML-related activities calls for adapting SE practices to AI/ML systems [4], [15], no (e.g., model retraining and evaluation), challenges, mitigation prior work has specifically studied how issue resolution work- strategies, and associated traditional resolution stages (e.g., flows should evolve. Our work addresses this gap by presenting solution design, implementation, etc.). The coders annotated a vision for AI/ML issue resolution frameworks grounded in actionable issue resolution activities as well as discussion content describing developer difficulties or mitigation approaches. preliminary evidence from four real-world AI/ML systems. After each batch, the coders conducted reconciliation sessions to III. I SSUE R ESOLUTION IN AI/ML SYSTEMS resolve disagreements, refine coding guidelines, and retrospecWe conducted a preliminary qualitative analysis of real-world tively apply codebook/coding updates to maintain consistency. AI/ML issue reports and associated artifacts to identify the Instead of calculating inter-coder agreement metrics, reliability unique aspects of issue resolution in AI/ML systems and the was established throughout the coding process through critical, consensus-driven discussions and iterative refinement, consisneed for tailored frameworks currently missing in the field. tent with qualitative (inductive) open-coding practices [14]. A. Study Methodology 4) Coding Results: We annotated 988 snippets across 100 We briefly describe the study methodology, which is based issues, including 947 traditional issue-resolution activities on our prior qualitative study of issue report threads to identify and 41 AI/ML-specific unique activities. These issues were issue resolution workflows in traditional systems [1]—a detailed categorized as AI/ML (64), hybrid (18), or non-AI/ML (18) description is available in our replication package [25]. based on whether fixes/implementations were applied in AI/ML, 1) Project Selection: We focused on two representative types traditional, or hybrid features or components. of AI/ML systems: (i) frameworks/libraries to build AI/ML 5) Thematic Analysis: From thematic analysis of finecomponents, and (ii) software systems that integrate AI/ML grained codes, we synthesized higher-level categories repremodels (including generative AI models) to implement various senting issue resolution activities, challenges, and mitigation functionalities. Using GitHub’s API [26], we searched for strategies. For instance, activities such as ‘model accuracy evalrelevant GitHub repositories based on the following criteria: (i) uation’ and ‘training loss tracking’ were grouped into a broader open-source, (ii) popular (>100 stars), (iii) actively maintained activity: MODEL PERFORMANCE MONITORING. Similarly, (i.e., with at least one commit/month over the past 6 months challenges such as ‘version conflict’, ‘missing dependency’, and
TABLE I: AI/ML-related issue resolution activities (# of issues in parentheses) AI/ML Activities
Associated Stages
Projects
MODEL PERFORMANCE MONITORING : Continuously
SOLUTION DESIGN (11), IMPLEMENTATION (5), REPRODUCTION (4), ISSUE ANALYSIS (6), VERIFICATION (2)
Tensorflow (8), Scikit-learn (9), MLflow (4), AutoGPT (1)
assessing models’ predictive performance or the impact of bug fixes or changes on performance or resource utilization (22 issues) PARAMETER TUNING AND TRAINING : Adjusting parameters
and retraining models to improve performance (9 issues) DATA MODIFICATION: Improve
implementation and performance by updating inconsistent training data instances (6 issues)
IMPLEMENTATION (7), SOLUTION DESIGN (2), VERIFICATION (1)
IMPLEMENTATION (4), SOLUTION DESIGN (2)
Tensorflow (3), Scikit-learn (3), MLflow (2), AutoGPT (1) Tensorflow (1), Scikit-learn (2), MLflow (2), AutoGPT (1)
Fig. 1: Mapping between AI/ML-related issue resolution activities, traditional stages, and challenges AI/ML associated Challenge
AI/ML-specific Activities
Understanding Model architectures
Model Performance Monitoring
Scaling model fixes to larger datasets or distributed training
Parameter Tuning & Training
Nondeterministic solution verification
Data Modification
Issue reproduction
Model Functionality Analysis
Associated trad. Stages [1]
Issue Analysis Reproduction Solution Design Implementation Code Review Verification
MODIFICATION (7%), and MODEL FUNCTIONALITY ANALYSIS (5%) (see Table I). MODEL PERFORMANCE MONITORING and PARAMETER TUNING AND TRAINING occurred more architectures to understand outputs frequently in TensorFlow and scikit-learn, likely because these and pipeline interactions (4 issues) repositories focus on model development and training, where monitoring model behavior and tuning training parameters are ‘library mismatch’ were grouped into the broader challenge central maintenance activities. We also observed that developers ‘dependencies & package version mismatching’. This process use MODEL PERFORMANCE MONITORING throughout issue resulted in 10 actionable activity categories (6 traditional stages analysis, implementation, and verification to evaluate predictive performance and resource utilization. PARAMETER TUNING and 4 AI/ML-specific activities) and 8 challenges. AND TRAINING stabilizes model behavior, DATA MODIFICA We grounded our analysis in an established issue resolution TION corrects training data, and MODEL FUNCTIONALITY taxonomy [1] and considered only the actionable stages ANALYSIS helps diagnose unexpected predictions. directly involved in the resolution process (e.g., solution design, 2) Finding 2 – AI/ML-related Activities Often Span Multiple implementation, etc.) from this taxonomy to annotate our issues. Resolution Stages: Our study further suggests that these AI/MLDuring annotation, we identified several AI/ML-specific activirelated activities are often cross-cutting and recur across ties that did not align with these existing stages (e.g., activities multiple traditional issue resolution stages rather than appearing related to data modification, model performance monitoring, as isolated phases (see Table I and fig. 1). etc.). To identify challenges, we analyzed and coded recurring For example, developers perform MODEL PERFORMANCE difficulties faced by contributors across issue discussion threads. MONITORING during ISSUE ANALYSIS to diagnose unexpected B. Study Findings behavior, during SOLUTION DESIGN and IMPLEMENTATION to Our preliminary study provides evidence that issue resolution evaluate candidate fixes, and during VERIFICATION to assess in AI/ML systems extends beyond traditional deterministic and post-fix predictive performance and stability. Similarly, PARAM code-centric workflows. Across 100 issues, developers repeat- ETER TUNING AND TRAINING frequently reappears as develedly reasoned about model behavior, datasets, prompts, training opers repeatedly retrain and reevaluate models after modifying configurations, and execution environments while navigating datasets, prompts, configurations, or implementation logic. This challenges related to nondeterminism, reproducibility, and suggests that instead of following a strictly sequential workflow, heterogeneous artifacts through iterative experimentation and developers often refine solutions iteratively through repeated adaptive validation. These characteristics introduce maintenance experimentation, monitoring, retraining, and reevaluation. concerns that existing issue resolution frameworks do not explic3) Finding 3 – AI/ML Systems Introduce Additional Resoitly model, motivating the need for AI/ML-tailored frameworks. lution Challenges: Our study suggests that issue resolution 1) Finding 1 – AI/ML Issue Resolution Introduces Additional in AI/ML systems include challenges related to stochastic AI/ML-related Activities: Developers resolving issues in AI/ML behavior, evolving datasets, complex model architectures, systems perform traditional issue resolution stages, identified in and distributed execution environments (see Table II). One our prior work [1] with varying frequencies (REPRODUCTION: recurring challenge involves nondeterministic behavior during in 42% of the issues, ISSUE ANALYSIS: 65%, SOLUTION REPRODUCTION and VERIFICATION. We observed cases where DESIGN : 62%, IMPLEMENTATION : 54%, CODE REVIEW : reproducing the same issue across environments yields different 34%, and VERIFICATION: 53%). However, beyond these outcomes because model behavior depended on factors such as stages, we observed four recurring AI/ML-related activities random initialization, data sampling, hardware configurations, that required developers to reason about AI/ML-specific dependency versions, and runtime environments. For example, artifacts and behaviors: MODEL PERFORMANCE MONITORING developers in TensorFlow’s issue #46168 [29] struggled to (27%), PARAMETER TUNING AND TRAINING (11%), DATA determine whether a patch genuinely improved model accuracy MODEL FUNCTIONALITY ANALYSIS: Inspecting model
SOLUTION DESIGN (3), IMPLEMENTATION (2)
Tensorflow (1), Scikit-learn (1), AutoGPT (2)
TABLE II: Issue resolution challenges and mitigation approaches in AI/ML systems (# of issues in parentheses) Challenge (Freq.)
Mitigation Approaches (Freq.)
Scaling model fixes to larger datasets or distributed training (9)
Statistical tests and repeated executions (6) [31]; distributed validation (2) [32]; tracking memory consumption using PyTorch (1) [33]
Understanding model architectures (6)
Structured code documentation (5) [30]; architecture inspection and pipeline analysis (1) [34]
Nondeterministic solution verification (4)
Statistical test validation (3) [29]; repeated runs with random seeds (1) [35]
Issue reproduction (4)
Containerized environments with version control (3) [36]; fixing data inconsistencies (1) [37]
Docker, or runtime configurations (10 issues). In contrast, 83% of the non-AI/ML issues and 77% of the hybrid issues required only production code changes for resolution. For example, in AutoGPT’s issue #2711 [38], developers resolved the issue by redesigning prompts and adjusting contextual inputs sent to the model rather than updating production code. Similarly, several issues required updating datasets or environment configurations to stabilize model behavior and improve reproducibility. C. Threats to Validity
Qualitative coding inherently involves subjective judgment. To mitigate this, two authors independently coded issues and associated artifacts, disagreements were resolved through because repeated reproductions produced inconsistent results. consensus discussions moderated by a third author, and the We also observed challenges associated with understanding codebook was iteratively refined throughout the study. Our model architectures and scaling fixes. Developers sometimes findings are based on 100 closed issues from four open-source struggle to reason about complex model pipelines and internal AI/ML projects. Although we selected projects from different behaviors when diagnosing issues (e.g., MLFlow’s issue domains and used random sampling to improve diversity, the #12790 [30]). Similarly, fixes that appear effective in small- findings may not generalize to other AI/ML systems. Third, sevscale experiments occasionally degrade predictive performance eral AI/ML-related activities and challenges appeared in only a when executed on larger datasets or distributed environments subset of issues. Therefore, our findings should be interpreted as (e.g., MLFlow’s issue #5653 [31]). Although these challenges preliminary evidence of possible patterns rather than universally appear in a subset of issues rather than universally across representative characteristics of AI/ML issue resolution. all, they repeatedly emerge across multiple systems and often IV. I SSUE R ESOLUTION TAILORED FOR AI/ML SYSTEMS intersect with multiple activities and stages (see Figure 1). Building on the preliminary findings presented in Sec4) Finding 4 – Developers Adopt Adaptive Validation and tion III-B, we outline our vision for future issue resolution Mitigation Strategies: To address AI/ML-specific challenges, frameworks tailored for AI/ML systems. While traditional developers adopt mitigation strategies tailored to the stochastic issue resolution frameworks [1], [22], [23] remain valuable, and experimentation-driven nature of AI/ML systems (see Tafuture AI/ML-tailored frameworks should extend beyond ble II). Unlike traditional issue resolution, where deterministic deterministic and code-centric assumptions to better support validation and fixed test suites are often sufficient, developers iterative experimentation, stochastic behavior, reproducibility, in AI/ML systems frequently rely on adaptive and iterative and coordination across heterogeneous AI/ML artifacts. validation practices (see Table II). For example, developers perform repeated executions with A. What Future Frameworks Should Support? different random seeds, conduct statistical comparisons across The goal of adapting issue resolution frameworks for AI/ML runs, and continuously monitor predictive performance before systems is to better support the unique characteristics of such merging fixes. In several issues, developers also validate systems. AI/ML-tailored frameworks can help development fixes under distributed or production-like environments to teams design workflows that better fit the needs of their own ensure stable behavior at scale. Developers additionally adopt AI/ML projects rather than relying on generic resolution prostrategies to improve reproducibility and coordination across cesses. They can also improve reproducibility and traceability environments, including containerized environments, depen- across datasets, production code, prompts, configurations, and dency management, and detailed documentation of datasets, models, while supporting more systematic experimentation pipelines, and model configurations. Developers therefore and validation practices. Moreover, these frameworks can help rely on repeated experimentation, statistical evaluation, and practitioners, especially newcomers, get trained for and better qualitative inspection rather than deterministic pass/fail testing. understand how issue resolution unfolds in AI/ML projects. 5) Finding 5 – AI/ML Issue Resolution Involves Changing Based on our findings, we identify five capabilities that Heterogeneous Artifacts: Our study also suggests that issue future AI/ML issue resolution frameworks should support. resolution in AI/ML systems frequently extends beyond 1) Iterative and Cross-Stage Resolution Workflows: Traproduction code and involves heterogeneous artifacts, such ditional issue resolution frameworks often assume a mostly as datasets, prompts, configuration files, checkpoints, and sequential workflow across stages such as REPRODUCTION, environment settings. ISSUE ANALYSIS, IMPLEMENTATION, and VERIFICATION [1], Among the 64 AI/ML issues, 28 issues (45%) required [3]. However, Finding 1 and Finding 2 suggest that AI/MLmodifications outside production code. These changes include specific activities such as MODEL PERFORMANCE MONITOR data cleaning and augmentation (3 issues), prompt engineering ING and PARAMETER TUNING AND TRAINING recur iteratively (5 issues), hyperparameter adjustments (3 issues), dependency across multiple stages as developers repeatedly retrain models, and CUDA/library updates (7 issues), and modifications to CI, reevaluate outputs, or modify datasets and configurations.
Future frameworks should therefore support repeated experimentation, reevaluation, and feedback loops rather than assuming strictly linear workflows. Such support is particularly important in AI/ML systems because developers may need to repeatedly validate fixes across multiple executions, datasets, and environments before gaining confidence in a solution. 2) Reproducibility and Performance-aware Verification: Finding 3 and Finding 4 show that reproduction and verification in AI/ML systems extend beyond deterministic pass/fail testing. Developers rely on repeated executions, statistical comparisons, qualitative inspection, and validation across different runtime environments before accepting a fix. Existing SE4ML research has similarly highlighted the challenges of reproducibility and nondeterministic behavior in AI/ML systems [6], [9]. Future frameworks should therefore provide explicit support for stochastic debugging, environment isolation, experiment replay, and performance-aware verification mechanisms. Such support can help developers systematically reason about variability introduced by datasets, random seeds, hardware, and dependency configurations, while reducing the current reliance on ad hoc experimentation and manual validation practices. 3) Data-, Model-, and Artifact-aware Resolution: As shown in Finding 5, resolving AI/ML issues requires modifications beyond production code, including updating datasets, prompts, hyperparameters, model checkpoints, and infrastructural settings. Future frameworks should treat these artifacts as first-class maintenance entities rather than auxiliary resources. To support this, frameworks may need stronger provenance and traceability mechanisms that capture how models were trained, on which datasets, under which configurations, and within which environments. Existing tools such as MLflow [12], DVC [39], and Hugging Face [40] partially support experiment and artifact management, but these capabilities remain loosely connected to broader issue resolution workflows and collaborative debugging activities. 4) Coordinating Heterogeneous Artifacts: Finding 5 further suggests that AI/ML issue resolution often requires coordinated updates across interconnected artifacts such as production code, datasets, prompts, models, and infrastructure configurations. Changes in one artifact can influence downstream model behavior even when production code remains unchanged. Future frameworks should therefore provide stronger traceability and provenance mechanisms that capture dependencies and relationships among heterogeneous artifacts [41]. With such support, developers can better understand how fixes propagate across the system and trace regressions or inconsistent outputs back to evolving datasets, prompts, or runtime environments. 5) Human-AI Collaboration: Given the growing adoption of LLMs and agentic systems in software engineering, future issue resolution frameworks will likely incorporate AIassisted capabilities for issue triage, root-cause analysis, fix generation, and verification [5], [42]. However, our findings also suggest that AI/ML issue resolution frequently requires careful human judgment when interpreting nondeterministic outcomes, balancing predictive quality against resource usage, or deciding whether a fix is sufficiently reliable. As a result,
future frameworks should support collaborative human-AI workflows rather than fully autonomous maintenance pipelines. B. Open Research Challenges and Opportunities Several open research questions remain for realizing AI/MLtailored issue resolution frameworks in practice. 1) Understanding AI/ML Resolution Workflows: Our study identified recurring AI/ML-related activities, challenges, and mitigation strategies, but these likely represent only a subset of real-world practices. Larger empirical studies are needed to examine how issue resolution varies across domains, project scales, and organizational settings. Future work should combine repository mining, developer surveys/interviews, and longitudinal studies [43] to better understand how practitioners resolve issues involving models, prompts, datasets, and deployment pipelines in practice. These findings can inform the development of AI/ML resolution frameworks. 2) Validation Beyond Static Testing Procedures and Reproducibility Under Nondeterminism: Our findings further suggest that traditional pass/fail testing procedures do not always align well with AI/ML systems, whose outputs may vary across runs and datasets. Future research should explore statistical evaluation methods, benchmark-aware verification, and humanin-the-loop evaluation techniques [44] that assess fixes across repeated executions and realistic deployment conditions. Recent work on evaluating AI systems and AI agents also highlights the growing importance of performance-aware and environmentaware evaluation workflows [45]. At the same time, future frameworks should support stochastic debugging [46], experiment replay, environment isolation, and probabilistic failure diagnosis [47] to address nondeterministic AI/ML behavior. 3) Managing Heterogeneous Artifacts: As shown in Finding 5, AI/ML issue resolution increasingly spans multiple interconnected artifacts. Future research should investigate automated and effective provenance, traceability, and dependency-management techniques that can help link changes across source code, datasets, prompts, models, and infrastructure configurations. Understanding how modifications propagate across these artifacts remains largely unexplored from an issue resolution perspective. 4) AI-Assisted Maintenance for AI/ML Systems: Current AI coding agents are primarily designed for traditional software workflows [42], but our findings suggest that AI/ML issue resolution often involves reasoning beyond production code alone. Future research should therefore explore AI-assisted maintenance agents capable of understanding heterogeneous artifacts, stochastic behavior, evaluation metrics, and experimentation workflows. Empirical studies are also needed to identify where existing agents fall short and how developers interact with AI-assisted maintenance workflows in AI/ML systems. ACKNOWLEDGEMENTS
This work was supported by the U.S. NSF grants CCF2239107 and IIS-2533367. The views expressed are those of the authors and do not necessarily reflect those of the sponsors.
R EFERENCES [1] A. Saha and O. Chaparro, “Decoding the issue resolution process in practice via issue report analysis: A case study of firefox,” in ICSE’25, 2025, pp. 2316–2328. [2] T. Zhang, H. Jiang, X. Luo, and A. T. Chan, “A literature review of research in bug resolution: Tasks, challenges and future directions,” The Computer Journal, vol. 59, no. 5, pp. 741–773, 2016. [3] A. Zeller, Why Programs Fail: A Guide to Systematic Debugging, 2nd ed. San Francisco, CA, USA: Morgan Kaufmann Publishers Inc., 2009. [4] S. Amershi, A. Begel, C. Bird, R. DeLine, H. Gall, E. Kamar, N. Nagappan, B. Nushi, and T. Zimmermann, “Software engineering for machine learning: A case study,” in ICSE-SEIP’19. IEEE, 2019, pp. 291–300. [5] L. Banh, F. Holldack, and G. Strobel, “Copiloting the future: How generative ai transforms software engineering,” Information and Software Technology, vol. 183, p. 107751, 2025. [6] M. J. Islam, G. Nguyen, R. Pan, and H. Rajan, “A comprehensive study on deep learning bug characteristics,” in ESEC’19, 2019, pp. 510–520. [7] T. D. Lai, A. Simmons, S. Barnett, J.-G. Schneider, and R. Vasa, “Comparative analysis of real issues in open-source machine learning projects,” EMSE, vol. 29, no. 3, p. 60, 2024. [8] T.-D. Nguyen, H. Tian, B. Le, P. Thongtanunam, and S. McIntosh, “A systematic survey on debugging techniques for machine learning systems,” arXiv e-prints, pp. arXiv–2503, 2025. [9] N. Humbatova, G. Jahangirova, G. Bavota, V. Riccio, A. Stocco, and P. Tonella, “Taxonomy of real faults in deep learning systems,” in ICSE’20, 2020, pp. 1110–1121. [10] TensorFlow, “Tensorflow: An open source machine learning framework,” https://github.com/tensorflow/tensorflow, 2025, accessed: 2025-09-25. [11] Scikit-learn, “scikit-learn: Machine learning in python,” https://github. com/scikit-learn/scikit-learn, 2025, accessed: 2025-09-25. [12] MLflow, “Mlflow,” https://github.com/mlflow/mlflow, 2025, accessed: 2025-09-25. [13] Significant-Gravitas, “Autogpt: An autonomous gpt-4 experiment,” https: //github.com/Significant-Gravitas/AutoGPT, 2025, accessed: 2025-09-25. [14] D. Spencer, Card sorting: Designing usable categories. Rosenfeld Media, 2009. [15] Z. Wan, X. Xia, D. Lo, and G. C. Murphy, “How does machine learning change software development practices?” TSE, vol. 47, no. 9, pp. 1857– 1871, 2019. [16] B. Eken, S. Pallewatta, N. Tran, A. Tosun, and M. A. Babar, “A multivocal review of mlops practices, challenges and open issues,” ACM Computing Surveys, vol. 58, no. 2, pp. 1–35, 2025. [17] K. Shivashankar and A. Martini, “Maintainability challenges in ml: A systematic literature review,” in 2022 48th Euromicro Conference on Software Engineering and Advanced Applications (SEAA). IEEE, 2022, pp. 60–67. [18] K. Shivashankar, G. S. A. Hajj, and A. Martini, “Scalability and maintainability challenges and solutions in machine learning: Systematic literature review,” arXiv preprint arXiv:2504.11079, 2025. [19] P.-O. Côté, A. Nikanjam, R. Bouchoucha, I. Basta, M. Abidi, and F. Khomh, “Quality issues in machine learning software systems,” Empirical Software Engineering, vol. 29, no. 6, p. 149, 2024. [20] W. Jiang, N. Synovic, M. Hyatt, T. R. Schorlemmer, R. Sethi, Y.H. Lu, G. K. Thiruvathukal, and J. C. Davis, “An empirical study of pre-trained model reuse in the hugging face deep learning model registry,” in Proceedings of the 45th International Conference on Software Engineering (ICSE). Melbourne, Victoria, Australia: IEEE Press, 2023, pp. 2463–2475. [21] X. Sun, T. Zhou, G. Li, J. Hu, H. Yang, and B. Li, “An empirical study on real bugs for machine learning programs,” in APSEC’17, ’17. [22] V. Rajlich, Software engineering: The current practice. Crc Press, 2011. [23] A. Zeller, Why programs fail: a guide to systematic debugging. Elsevier, 2009.
[24] R. K. Saha, S. Khurshid, and D. E. Perry, “Understanding the triaging and fixing processes of long lived bugs,” Information and software technology, vol. 65, pp. 114–128, 2015. [25] “Replication package,” 2026, accessed: 2026-5-12. [Online]. Available: https://github.com/mushfiqurgalib/AI-ML Replication Package/ [26] Git, “Github api,” https://docs.github.com/en/rest, 2025, accessed: 202509-25. [27] A. Strauss and J. M. Corbin, Basics of qualitative research: Grounded theory procedures and techniques. Sage Publications, Inc, 1990. [28] Hypothesis, “Hypothesis: Web annotation tool,” 2023. [Online]. Available: https://web.hypothes.is/ [29] TensorFlow, “Issue #46168,” https://github.com/tensorflow/tensorflow/ issues/46168, 2021, gitHub issue. Accessed: 2026-02-27. [30] ehcalabres, “[bug] mlflow.evaluate function crash on binary classification evaluation,” https://github.com/mlflow/mlflow/issues/12790, 2024, gitHub issue, opened Jul 25, 2024. Accessed: 2026-02-27. [31] adamreeve, “[bug] loading more runs in the experiment ui becomes very slow with a large number of rows,” https://github.com/mlflow/mlflow/ issues/5653, 2022, gitHub issue, opened Apr 11, 2022. Accessed: 202602-27. [32] TensorFlow contributors, “Multiworkermirroredstrategy keras example hangs #35878,” GitHub Issue, 2020. [Online]. Available: https: //github.com/tensorflow/tensorflow/issues/35878 [33] scikit, “scikit issue #29229,” https://github.com/scikit-learn/scikit-learn/ issues/29229. [34] scikit-learn contributors, “Issue #8414: (discussed in stackoverflow context) proposed application of the pipeline subset of steps,” GitHub Issue, 2018. [Online]. Available: https://github.com/scikit-learn/ scikit-learn/issues/8414 [35] TensorFlow contributors, “Non-determinism from ‘tf.data.dataset.map‘ with random ops #13932,” GitHub Issue, 2017. [Online]. Available: https://github.com/tensorflow/tensorflow/issues/13932 [36] TensorFlow, “Issue #75945,” https://github.com/tensorflow/tensorflow/ issues/75945, 2026, gitHub issue. Accessed: 2026-03-03. [37] scikit-learn contributors, “Groupkfold inconsistent under ties in group sizes. #29495,” GitHub Issue, 2024. [Online]. Available: https://github.com/scikit-learn/scikit-learn/issues/29495 [38] Significant-Gravitas, “AutoGPT Issue #2711,” https://github.com/ Significant-Gravitas/AutoGPT/issues/2711, 2026, gitHub issue, accessed 2026-05-12. [39] “Dvc,” URL: https://dvc.org/, 2024. [40] Hugging Face, “Hugging Face: The AI community building the future,” https://huggingface.co, accessed: 2026-05-13. [41] A. Velasco, N. Wintersgill, T. Stalnaker, O. Chaparro, and D. Poshyvanyk, “On automated and explainable provenance of ai-generated code,” in ICSME’26, 2025, p. (to appear). [42] H. Wang, J. Gong, H. Zhang, J. Xu, and Z. Wang, “Ai agentic programming: A survey of techniques, challenges, and opportunities,” arXiv preprint arXiv:2508.11126, 2025. [43] E. J. Caruana, M. Roman, J. Hernández-Sánchez, and P. Solli, “Longitudinal studies,” Journal of thoracic disease, vol. 7, no. 11, p. E537, 2015. [44] K. Lazaros, A. G. Vrahatis, and S. Kotsiantis, “Human-in-the-loop artificial intelligence: A systematic review of concepts, methods, and applications,” Entropy, vol. 28, no. 4, p. 377, 2026. [45] Z. Wang, T. Shi, J. He, M. Cai, J. Zhang, and D. Song, “Cybergym: Evaluating ai agents’ real-world cybersecurity capabilities at scale,” arXiv preprint arXiv:2506.02548, 2025. [46] S. Singhal, P. Kapur, V. Kumar, and S. Panwar, “Stochastic debugging based reliability growth models for open source software project,” Annals of Operations Research, vol. 340, no. 1, pp. 531–569, 2024. [47] V. Verma, J. Fernandez, R. Simmons, and R. Chatila, “Probabilistic models for monitoring and fault diagnosis,” in The Second IARP and IEEE/RAS Joint Workshop on Technical Challenges for Dependable Robots in Human Environments. Ed. Raja Chatila, 2002.