Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

YAML Metadata Warning:The task_categories "text2text-generation" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, feature-extraction, text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, audio-text-to-text, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-ranking, text-retrieval, time-series-forecasting, text-to-video, image-text-to-text, image-text-to-image, image-text-to-video, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, image-feature-extraction, video-text-to-text, keypoint-detection, visual-document-retrieval, any-to-any, video-to-video, other

Introduction

This dataset FM-Bench-Verified is a manual-cleaned and verified benchmark which contains 280 C programs, properties under verification, together with ground-truth ACSL specifications.

This dataset can be used for:

  • Specification generation task (Code2Proof): given program and properties to be verified as input, output program with specification that can pass the prover.

It comes from three sources:

Statistics of FM-Bench-Verified

FM-Bench-Verified contains 280 cases. Each case contains:

  • A program written in C
  • At least one property under verification
  • Formal specifications that can verify that the program satisfies the target property

All 280 cases (C program + specification) can be verified through Frama-C's WP (Weakest Precondition) verification.

The table below shows the statistics of the 280 cases in FM-Bench-Verified:

Source Repo Name Number Avg-LoC Ave-LoS Max_LoC Max_LoS
FM-Bench ACSL-by-Example 45 24.4 59.6 43 130
FRAMA-C-problems 40 11.5 8.5 20 25
Github evdenis 16 12.6 9.6 25 25
corinnt 16 11.9 14.7 21 45
nabinkrsah 12 14.8 9.9 20 20
21176 9 10.7 7.2 15 14
arepina 9 18.4 11.4 32 19
frama-c-wp-tutorial 7 11.5 7.5 22 15
nikunjjain02 6 15.6 11.5 26 19
suman1406 5 18.2 14.6 22 25
others(number <=3) 8 13.5 12.5 20 22
AutoSpec SyGuS 102 11.8 10.8 20 18
X509 5 40.4 16.6 55 24
All 280 16.6 15.0 55 130

Annotations:

  • Source: the data source
  • Repo Name: the repository name
  • Number: number of programs from the corresponding repository
  • Ave-LoC: average lines of code
  • Ave-LoS: average lines of specification
  • Max-LoC: maximum lines of code
  • Max-LoS: maximum lines of specification
Downloads last month
55