FormalSpecCpp:一个利用大语言模型构建的C++形式化规范数据集
FormalSpecCpp: A Dataset of C++ Formal Specifications created using LLMs
AI总结:
本研究推出首个带明确前后置条件的C++形式化规范数据集FormalSpecCpp,可用于规范推断工具基准测试、LLM微调等,助力程序验证与AI辅助软件开发研究。
摘要:
FormalSpecCpp是一个旨在填补C++程序形式化规范验证标准化基准空白的数据集。据我们所知,这是首个包含明确定义的前置条件与后置条件的C++程序综合集合。它为评估规范推断工具、测试生成规范的准确性提供了结构化基准。研究人员和开发者可使用该数据集对规范推断工具进行基准测试、微调用于自动化规范生成的大语言模型(LLMs),以及分析形式化规范在提升程序验证和自动化测试方面的作用。通过公开该数据集,我们旨在推动程序验证、规范推断以及AI辅助软件开发领域的研究。该数据集与代码可在https://github.com/MadhuNimmo/FormalSpecCpp获取。
英文摘要:
FormalSpecCpp is a dataset designed to fill the gap in standardized benchmarks for verifying formal specifications in C++ programs. To the best of our knowledge, this is the first comprehensive collection of C++ programs with well-defined preconditions and postconditions. It provides a structured benchmark for evaluating specification inference tools and testing theaccuracy of generated specifications. Researchers and developers can use this dataset to benchmark specification inference tools,fine-tune Large Language Models (LLMs) for automated specification generation, and analyze the role of formal specifications in improving program verification and automated testing. By making this dataset publicly available, we aim to advance research in program verification, specification inference, and AI-assisted software development. The dataset and the code are available at https://github.com/MadhuNimmo/FormalSpecCpp.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。