Shaosheng Wang
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Shaosheng Wang has a total of 7 co-authors. Here are the top co-authors by number of shared publications:
- Shaojian Qiu
South China Agricultural University
3 shared publications Lu Lu
School of Computer Science and Engineering South China University of Technology Guangzhou China
2 shared publicationsHaiyang Liu
1 shared publicationHan Huang
1 shared publicationSiliang Suo
Electric Power Research Institute Guangzhou China
1 shared publicationWeibiao Chen
1 shared publication
Latest Publications
- 29 August 2026
- Published by Wiley in Expert Systems
- Vol. 43 (10)
SCAgent : An LLM ‐Based Agent With State‐Aware Coordination for Automated Program Repair
Automated program repair (APR) has emerged as a promising technique for improving software reliability by automatically fixing bugs. Recent advances in large language models (LLMs), particularly LLM‐based agents, have further enhanced repair capabilities by enabling flexible patch generation and iterative reasoning. However, existing LLM‐based agent frameworks still suffer from several limitations, including unstructured repair processes, unproductive trial‐and‐error loops and the lack of explicit coordination between reasoning and action, which lead to inefficient and unstable repair behaviours. In this paper, we propose SCAgent, an LLM‐based agent for APR with state‐aware coordination. SCAgent structures the repair process into coordinated stages, including bug understanding, information gathering and patch generation, and dynamically controls transitions between these stages based on the repair context. Experimental results on Defects4J show that SCAgent correctly repairs 173 bugs. We further conduct a preliminary evaluation on GitBug‐Java to assess its potential generalizability, with SCAgent correctly repairing 15 bugs in a sampled subset of 100 bugs.
- 29 August 2026
- Published by Wiley in Expert Systems
- Vol. 43 (10)
SCAgent : An LLM ‐Based Agent With State‐Aware Coordination for Automated Program Repair
Automated program repair (APR) has emerged as a promising technique for improving software reliability by automatically fixing bugs. Recent advances in large language models (LLMs), particularly LLM‐based agents, have further enhanced repair capabilities by enabling flexible patch generation and iterative reasoning. However, existing LLM‐based agent frameworks still suffer from several limitations, including unstructured repair processes, unproductive trial‐and‐error loops and the lack of explicit coordination between reasoning and action, which lead to inefficient and unstable repair behaviours. In this paper, we propose SCAgent, an LLM‐based agent for APR with state‐aware coordination. SCAgent structures the repair process into coordinated stages, including bug understanding, information gathering and patch generation, and dynamically controls transitions between these stages based on the repair context. Experimental results on Defects4J show that SCAgent correctly repairs 173 bugs. We further conduct a preliminary evaluation on GitBug‐Java to assess its potential generalizability, with SCAgent correctly repairing 15 bugs in a sampled subset of 100 bugs.
- 24 April 2026
- Published by Wiley in Expert Systems
- Vol. 43 (6)
Integrating Retrieval Augmentation and Decoding Intervention for Automated Program Repair
Automated program repair (APR) aims to automatically detect and fix software defects, thereby improving software reliability and reducing debugging effort. Recently, researchers have explored the retrieval augmentation techniques to enhance large code models' performance in program repair. Existing retrieval augmentation models often inject retrieved information at the input layer, which can lead to input sequence inflation and interfere with the encoder's ability to focus on the core repair task. Meanwhile, learning‐based methods frequently produce unreliable patches, lacking mechanisms to verify or refine low‐confidence outputs during generation. To address these challenges, this paper proposes RADI‐PR, a novel approach that integrates retrieval augmentation and decoding intervention at the model's output layer. RADI‐PR dynamically incorporates relevant repair patterns based on historical fixes and intervenes in low‐confidence generations to enhance both the accuracy and reliability of generated patches. Comprehensive evaluations on four benchmark datasets, including Java, FixJS, Codeflaws and TSSB‐3 M, show that RADI‐PR consistently outperforms baseline methods. RADI‐PR achieves improvements of up to 5.5% in Precision, 3.2% in F1‐score and 2.2% in Accuracy.
- 24 April 2026
- Published by Wiley in Expert Systems
- Vol. 43 (6)
Integrating Retrieval Augmentation and Decoding Intervention for Automated Program Repair
Automated program repair (APR) aims to automatically detect and fix software defects, thereby improving software reliability and reducing debugging effort. Recently, researchers have explored the retrieval augmentation techniques to enhance large code models' performance in program repair. Existing retrieval augmentation models often inject retrieved information at the input layer, which can lead to input sequence inflation and interfere with the encoder's ability to focus on the core repair task. Meanwhile, learning‐based methods frequently produce unreliable patches, lacking mechanisms to verify or refine low‐confidence outputs during generation. To address these challenges, this paper proposes RADI‐PR, a novel approach that integrates retrieval augmentation and decoding intervention at the model's output layer. RADI‐PR dynamically incorporates relevant repair patterns based on historical fixes and intervenes in low‐confidence generations to enhance both the accuracy and reliability of generated patches. Comprehensive evaluations on four benchmark datasets, including Java, FixJS, Codeflaws and TSSB‐3 M, show that RADI‐PR consistently outperforms baseline methods. RADI‐PR achieves improvements of up to 5.5% in Precision, 3.2% in F1‐score and 2.2% in Accuracy.
- 30 October 2025
- Published by Elsevier in Information and Software Technology
- Vol. 190
Boosting unit test generation via structure-aware fine-tuning of pre-trained model
- 30 October 2025
- Published by Elsevier in Information and Software Technology
- Vol. 190
Boosting unit test generation via structure-aware fine-tuning of pre-trained model