arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.08911cs.SEcs.AI
收藏

使用 LASSO 进行测试驱动的软件实验:一个 LLM 提示基准测试示例

Test-driven Software Experimentation with LASSO: an LLM Prompt Benchmarking Example

University of Mannheim(曼海姆大学)

Marcus Kessel

AI总结:

本文提出通用分析平台 LASSO,以可执行脚本和领域特定语言支持测试驱动软件实验,并通过 LLM 代码生成可靠性的可复用基准测试案例验证其实用价值。

摘要:

实证软件工程面临一个关键缺口:缺乏用于快速开发和执行测试驱动软件实验(TDSE)的标准化工具——所谓 TDSE,是指涉及执行软件主体,并观察和分析其“事实上的”运行时行为的实验。本文提出一个名为 LASSO 的通用分析平台,该平台提供最小集合的领域特定语言和数据结构,以实施 TDSE。通过让用户能够使用可执行脚本语言设计和执行 TDSE,LASSO 除了支持静态确定的属性外,还能够高效评估运行时语义和执行特征。我们给出一个 TDSE 示例,通过一个自包含、可复用且可扩展的研究脚本,展示 LASSO 的脚本能力在评估 LLM 代码生成可靠性方面的实际收益。LASSO 平台和实时流水线示例公开发布于:https://softwareobservatorium.github.io/。

英文摘要:

Empirical software engineering faces a critical gap: the lack of standardized tools for rapid development and execution of Test-Driven Software Experiments (TDSEs) -- that is, experiments that involve the execution of software subjects and the observation and analysis of their "de facto" run-time behavior. In this paper we present a general-purpose analysis platform called LASSO that provides a minimal set of domain-specific languages and data structures to conduct TDSEs. By empowering users with an executable scripting language to design and execute TDSEs, LASSO enables efficient evaluation of run-time semantics and execution characteristics in addition to statically determined properties. We present an example TDSE that demonstrates the practical benefits of LASSO's scripting capabilities for assessing the reliability of LLMs for code generation by means of a self-contained, reusable and extensible study script. The LASSO platform and live pipeline examples are publicly available at: https://softwareobservatorium.github.io/.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑