Xin Wang
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Xin Wang has a total of 7 co-authors. Here are the top co-authors by number of shared publications:
- Zhenhao Li
York University Toronto Canada
2 shared publications - Zishuo Ding
The Hong Kong University of Science and Technology (Guangzhou) Guangzhou China
2 shared publications - Boyuan Chen
Huawei Canada, Kingston, Canada
1 shared publication - Dayi Lin
Queen's University, Canada
1 shared publication - He Yang Yuan
York University, Canada
1 shared publication - Pengyu Xue
York University, Canada
1 shared publication
Latest Publications
- Open Access
- 9 October 2026
- Published by MDPI AG in Preprints.org
Reinforcement Learning in the Software Development Lifecycle: Methods, Applications, and Reward Design
Reinforcement learning (RL) has emerged as a powerful paradigm for addressing sequential decision-making challenges across the software development life cycle (SDLC). To understand how this paradigm is being operationalized in practice, this systematic literature review examines 85 studies published between January 2020 and March 2026 that apply RL to the seven core SDLC phases: planning, analysis, design, development, testing, deployment, and maintenance. We analyze publication trends and venues, map RL applications to specific SDLC tasks, catalog the RL algorithms employed, and provide a taxonomy of reward modeling strategies and their parameters.Our findings reveal a rapid growth of RL-for-SDLC research since 2022, with the testing phase being the most extensively studied (56.47% of studies) while other phases show steady expansion. Reward designs have evolved from sparse binary outcomes (e.g., test-pass/fail) to dense, multi-objective signals that incorporate execution semantics, coverage metrics, intrinsic curiosity, formal verification feedback, and human preferences. We highlight common reward patterns, their influence on learning behavior, and trade-offs that frequently lead to reward hacking or unstable training in software environments. This survey provides researchers and practitioners with a structured overview of how RL is operationalized across the SDLC, emphasizing reward engineering as a critical factor in agent effectiveness. We conclude by outlining promising directions for future research, including broader lifecycle coverage and the development of more robust reward mechanisms for production-ready software engineering automation.
- 9 October 2026
- Published by MDPI AG in Preprints.org
Open AccessReinforcement Learning in the Software Development Lifecycle: Methods, Applications, and Reward Design
Reinforcement learning (RL) has emerged as a powerful paradigm for addressing sequential decision-making challenges across the software development life cycle (SDLC). To understand how this paradigm is being operationalized in practice, this systematic literature review examines 85 studies published between January 2020 and March 2026 that apply RL to the seven core SDLC phases: planning, analysis, design, development, testing, deployment, and maintenance. We analyze publication trends and venues, map RL applications to specific SDLC tasks, catalog the RL algorithms employed, and provide a taxonomy of reward modeling strategies and their parameters.Our findings reveal a rapid growth of RL-for-SDLC research since 2022, with the testing phase being the most extensively studied (56.47% of studies) while other phases show steady expansion. Reward designs have evolved from sparse binary outcomes (e.g., test-pass/fail) to dense, multi-objective signals that incorporate execution semantics, coverage metrics, intrinsic curiosity, formal verification feedback, and human preferences. We highlight common reward patterns, their influence on learning behavior, and trade-offs that frequently lead to reward hacking or unstable training in software environments. This survey provides researchers and practitioners with a structured overview of how RL is operationalized across the SDLC, emphasizing reward engineering as a critical factor in agent effectiveness. We conclude by outlining promising directions for future research, including broader lifecycle coverage and the development of more robust reward mechanisms for production-ready software engineering automation.
- Open Access
Defects4Log: Benchmarking LLMs for Logging Code Defect Detection and Reasoning
Logging code is written by developers to capture system runtime behavior and plays a vital role in debugging, performance analysis, and system monitoring. However, defects in logging code can undermine the usefulness of logs and lead to misinterpretations. Although prior work has identified several logging defect patterns and provided valuable insights into logging practices, these studies often focus on a narrow range of defect patterns derived from limited sources (e.g., commit histories) and lack a systematic and comprehensive analysis. Moreover, large language models (LLMs) have demonstrated promising generalization and reasoning capabilities across a variety of code-related tasks, yet their potential for detecting logging code defects remains largely unexplored. In this paper, we derive a comprehensive taxonomy of logging code defects, which encompasses seven logging code defect patterns with 14 detailed scenarios. We further construct a benchmark dataset, \dataset, consisting of 164 developer-verified real-world logging defects. Then we propose an automated framework that leverages various prompting strategies and contextual information to evaluate LLMs' capability in detecting and reasoning logging code defects. Experimental results reveal that LLMs generally struggle to accurately detect and reason logging code defects based on the source code only. However, incorporating proper knowledge (e.g., detailed scenarios of defect patterns) can lead to 10.9\% improvement in detection accuracy. Overall, our findings provide actionable guidance for practitioners to avoid common defect patterns and establish a foundation for improving LLM-based reasoning in logging code defect detection.
Open AccessDefects4Log: Benchmarking LLMs for Logging Code Defect Detection and Reasoning
Logging code is written by developers to capture system runtime behavior and plays a vital role in debugging, performance analysis, and system monitoring. However, defects in logging code can undermine the usefulness of logs and lead to misinterpretations. Although prior work has identified several logging defect patterns and provided valuable insights into logging practices, these studies often focus on a narrow range of defect patterns derived from limited sources (e.g., commit histories) and lack a systematic and comprehensive analysis. Moreover, large language models (LLMs) have demonstrated promising generalization and reasoning capabilities across a variety of code-related tasks, yet their potential for detecting logging code defects remains largely unexplored. In this paper, we derive a comprehensive taxonomy of logging code defects, which encompasses seven logging code defect patterns with 14 detailed scenarios. We further construct a benchmark dataset, \dataset, consisting of 164 developer-verified real-world logging defects. Then we propose an automated framework that leverages various prompting strategies and contextual information to evaluate LLMs' capability in detecting and reasoning logging code defects. Experimental results reveal that LLMs generally struggle to accurately detect and reason logging code defects based on the source code only. However, incorporating proper knowledge (e.g., detailed scenarios of defect patterns) can lead to 10.9\% improvement in detection accuracy. Overall, our findings provide actionable guidance for practitioners to avoid common defect patterns and establish a foundation for improving LLM-based reasoning in logging code defect detection.