The primary goal of software defect prediction (SDP) is to pinpoint code modules that are likely to contain defects, thereby enabling software quality assurance teams to strategically allocate their resources and manpower. Within-project defect prediction (WPDP) is a widely used method in SDP. Despite various improvements, current methods still face challenges such as coarse-grained prediction and ineffective handling of data drift due to differences in project distribution. To address these issues, we propose a fine-grained SDP method called DIDP (drift-immune defect prediction), based on drift-immune graph neural networks (DI-GNN). DIDP converts source code into graph representations and uses DI-GNN to mitigate data drift at the model level. It also analyses key statements leading to file defects for a more detailed SDP approach. We evaluated the performance of DIDP in WPDP by examining its file-level and statement-level accuracy compared to state-of-the-art methods, and by examining its cross-project prediction accuracy. The results of the experiment show that DIDP showed significant improvements in F1-score and Recall@Top20%LOC compared to existing methods, even with large software version changes. DIDP also performed well in cross-project SDP. Our study demonstrates that DIDP achieves impressive prediction results in WPDP, effectively mitigating data drift and accurately predicting defective files. Additionally, DIDP can rank the risk of statements in defective files, aiding developers and testers in identifying potential code issues.
BACKGROUND The induced-membrane technique was initially described by Masquelet as an effective treatment for large bone defects,especially those caused by infection.Here,we report a case of chronic osteomyelitis of the radius associated with a 9 cm bone defect,which was filled with a large allogeneic cortical bone graft from a bone bank.Complete bony union was achieved after 14 months of follow-up.Previous studies have used autogenous bone as the primary bone source for the Masquelet technique;in our case,the exclusive use of allografts is as successful as the use of autologous bone grafts.With the advent of bone banks,it is possible to obtain an unlimited amount of allograft,and the Masquelet technique may be further improved based on this new way of bone grafting.CASE SUMMARY In this study,we reported a case of repair of a long bone defect in a 40-year-old male patient,which was characterized by the utilization of allograft cortical bone combined with the Masquelet technique for the treatment of the patient's long bone defect in the forearm.The patient's results of functional recovery of the forearm were surprising,which further deepens the scope of application of Masquelet technique and helps to strengthen the efficacy of Masquelet technique in the treatment of long bones indeed.CONCLUSION Allograft cortical bone combined with the Masquelet technique provides a new method of treatment to large bone defect.
The presence of SnZn-related defects in Cu_(2)ZnSn(S,Se)_(4)(CZTSSe)absorber results in large irreversible energy loss and extra irreversible electron-hole non-radiative recombination,thus hindering the efficiency enhancement of CZTSSe devices.Although the incorporation of Ag in CZTSSe can effectively suppress the SnZn-related defects and significantly improve the resulting cell performance,an excellent efficiency has not been achieved to date primarily owing to the poor electrical-conductivity and the low carrier density of the CZTSSe film induced by Ag substitution.Herein,this study exquisitely devises an Ag/H co-doping strategy in CZTSSe absorber via Ag substitution programs followed by hydrogen-plasma treatment procedure to suppress SnZn defects for achieving efficient CZTSSe devices.In-depth investigation results demonstrate that the incorporation of H in Ag-based CZTSSe absorber is expected to improve the poor electrical-conductivity and the low carrier density caused by Ag substitution.Importantly,the C=O and O-H functional groups induced by hydrogen incorporation,serving as an electron donor,can interact with under-coordinated cations in CZTSSe material,effectively passivating the SnZn-related defects.Consequently,the incorporation of an appropriate amount of Ag/H in CZTSSe mitigates carrier non-radiative recombination,prolongs minority carrier lifetime,and thus yields a champion efficiency of 14.74%,showing its promising application in kesterite-based CZTSSe devices.