With the advancement of Large Language Models (LLMs), their application in Software Quality Assurance (SQA) has increased. However, the current focus of these applications is predominantly on ChatGPT. There remains a gap in understanding the performance of various LLMs in this critical domain. This paper aims to address this gap by conducting a comprehensive investigation into the capabilities of several LLMs across two SQA tasks: fault localization and vulnerability detection. We conducted comparative studies using GPT-3.5, GPT-4o, and four other publicly available LLMs (LLaMA-3-70B, LLaMA-3-8B, Gemma-7B, and Mixtral-8x7B), to evaluate their effectiveness in these tasks.
Our findings reveal that several LLMs can outperform GPT-3.5 in both tasks. Additionally, even the lower-performing LLMs provided unique correct predictions, suggesting the potential of combining different LLMs' results to enhance overall performance. By implementing a voting mechanism to combine the LLMs' results, we achieved more than a 10% improvement over the GPT-3.5 in both tasks. Furthermore, we introduced a cross-validation approach to refine the LLM answer by validating one LLM answer against another using a validation prompt. This approach led to performance improvements of 16% in fault localization and 12% in vulnerability detection compared to the GPT-3.5, with a 4% improvement compared to the best-performed LLMs. Our analysis also indicates that the inclusion of explanations in the LLMs' results affects the effectiveness of the cross-validation technique.
Conducting Verification And Validation Of Multi- Agent Systems
验证与确认(Verification and Validation,V&V)是由系统测试人员而不是系统开发人员为提高系统质量、系统可靠性和保证产品满足用户使用需求而进行的一系列技术和管理活动。验证是确保特定开发阶段的产品符合该阶段和前一阶段的要求,而确认是确保最终产品符合系统要求。可以使用外部机构来执行V&V,这是由独立V&V或IV&V表示的,或者由组织内的一个小组而不是开发人员表示的,称为内部V& V。V&V的使用通常伴随着测试,可以提高质量保证,并可以降低风险。本文提出了多智能体系统(MAS)的V&V的指导方针。
"Always Nice and Confident, Sometimes Wrong": Developer's Experiences Engaging Large Language Models (LLMs) Versus Human-Powered Q&A Platforms for Coding Support
Ten Simple Rules for AI-Assisted Coding in Science
Yonsei University(延世大学);Stanford University(斯坦福大学);Princeton University(普林斯顿大学);University of Science and Technology of China(中国科学技术大学);University of California, Irvine(加州大学尔湾分校)
Softwaretechnische Absicherung intelligenter Systeme im Fahrzeug
“本文介绍了软件工程技术,以确保必要的质量,智能,因此大规模的基于软件的系统在车辆中使用。智能软件的质量保证是通过一系列现代软件工程方法来实现的。用于保护软件组件的体系结构和设计模式由用于验证和检查实现鲁棒性的测试概念和框架补充。这些模式描述了针对某些问题(例如可靠性或有效执行)的已建立的、因此是统一的解决方案。--这篇文章写的是,当今软件开发技术中的一个重要问题,即智能化、软件远程系统。Dabei spielt zunächst das Qualitätsmanagement durch Software-technische Maßnahmen eine zentrale Rolle. Architektur- und Entwurfmuster für die Software-technische Absicherung von Komponenten werden ergänzt um Test-Konzepte zur Validierung von Spezifikationen und der Robustheit der Implementierung. Architekturen und Entwurfs-Muster beschreiben erprobte und damit konsolidierte Lösungen für bestimmte Prob…