GaloisInc/fvspec-pbt
收藏资源简介:
RealPBT是一个包含21,746个真实世界Python属性测试的语料库,这些测试从645个开源仓库中挖掘而来。每一行数据代表一个单独的测试,并配有其解析后的依赖闭包、复杂度配置以及(对于有评分子集)被测试属性的自然语言摘要。该数据集是FVSpec的源数据集:每个FVSpec Lean 4形式化都源自这些属性测试之一。用户可以直接使用RealPBT来研究真实世界的测试实践,或作为自己形式化或测试生成流程的输入。
RealPBT is a corpus consisting of 21,746 real-world Python property tests, mined from 645 open-source repositories. Each entry in the dataset represents a standalone test, paired with its parsed dependency closure, complexity configuration, and (for the scored subset) a natural language summary of the property under test. This dataset serves as the source corpus for FVSpec: every FVSpec Lean 4 formalization is derived from one of these property tests. Users can directly utilize RealPBT to study real-world testing practices, or use it as input for their own formalization or test generation workflows.




