Recognizing and repairing defects to enhance quality in software life circle has become a critical research topic. Unfortunately, it is difficult to guarantee the validity of the defect prediction method based on manually designed features proposed in previous studies. Numerous scholars have endeavored to use a single model to obtain prediction results for different types of fault, but this is difficult to perform. This article improves the defect representation and prediction model in software defect prediction, proposing Augmented-Code Property Graph (CPG) based defect prediction method (ACGDP). Augmented-CPG is a novel encoding graph format introduced in this article. Based on Augmented-CPG, we suggested defect region candidate extraction approach linked to the defect category. Graph neural networks are used for obtaining defect characteristics. Experiments on three distinct types of defects indicate that ACGDP can predict certain classed of defects effectively.
The detection of anomalies in software systems has become increasingly crucial in recent years due to their impact on overall software quality. However, existing integrated anomaly detectors usually combine the results of multiple detectors in a clustering manner and do not consider the changes in data anomalies in the time dimension. This paper investigates the limitations of existing anomaly detection methods and proposes an improved integrated anomaly detection approach based on time windows and a voting mechanism. By utilizing multiple time windows, the proposed method overcomes the challenges of cumulative anomalies and achieves enhanced performance in capturing anomalies that accumulate gradually over time. Additionally, two hybrid models are introduced, based on accuracy and sensitivity, respectively, to optimize performance metrics such as AUC, precision, recall, and F1-score. The proposed method demonstrates remarkable performance, achieving either the highest or only a marginal 3% lower performance compared to the optimal model.
With the development of data achieving ability of high resolution remote sensing satellites and the enhancement of data receiving ability on the ground, the data processing workload of the existing ground application system for remote sensing satellites is growing, and the demand of real-time data processing is increasingly higher. In recent years, stream computing has become a research hotspot due to the high performance for real-time concurrent processing and distributed computing. In this paper, a new real-time processing method of remote sensing satellite data is proposed by the framework of stream computing. Firstly, according to the characteristics of remote sensing data processing, the stream computing is modeled, the processing time of the instance is abstracted, and the multi-task optimization and scheduling methods are given. Then the real-time data processing system of remote sensing satellite is implemented by using this method, and the data tuples, processing components and task topology are redesigned. Finally, the data processing time and throughput rate of the system are tested and analyzed. Experimental results show that the real-time performance of the system is greatly improved.
30 January 2025 in Journal of Systems and Software
Ensuring numerical robustness in deep neural networks (DNNs) is critical, as defects like overflow or NaN can cause silent failures. However, automated repair is challenged by fragmented domain knowledge and the semantic gap for general-purpose large language models (LLMs). This work proposes NCKG, a Numerical–Conceptual Knowledge Graph-based method for retrieval-augmented repair of DNN numerical defects. NCKG introduces a unified semantic formalization that explicitly models DNN execution contexts, numerical defects, mitigation methods, and constraint knowledge, transforming dispersed defect knowledge into a consistent, machine-interpretable representation. Based on this formalization, a multi-view semantic graph index is constructed, enabling a hybrid semantic-driven retrieval mechanism that combines structure-aware graph matching with vector similarity. Retrieved, semantically aligned defect–repair knowledge is then used to guide LLMs in generating context-aware repairs. Experimental results demonstrate that NCKG significantly outperforms standard retrieval baselines and consistently improves the quality and correctness of LLM-generated fixes across different model scales. This work demonstrates that explicit semantic structuring and retrieval of domain knowledge are crucial for enabling reliable, automated numerical defect repair in DNNs.