Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-nc-sa-4.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-sa-4.0
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
This repository contains the `C2Rust-Bench` dataset that is a minimized set of representative C functions for C-to-Rust transpilation. The `C2Rust-Bench` dataset is proposed for evaluating the C-to-Rust transpilers. This repo contains two files as following:
|
| 6 |
+
|
| 7 |
+
### 1. `benchmark.json`
|
| 8 |
+
This file contains a description of the `C2Rust-Bench` dataset, which includes:
|
| 9 |
+
- 2,905 C functions and
|
| 10 |
+
- detailed metadata about each of them.
|
| 11 |
+
|
| 12 |
+
### 2. `Benchmark.tar`
|
| 13 |
+
The `Benchmark.tar` file contains the C and Rust files used in the experiments. The `Benchmark` folder located in `Benchmark.tar` file contains following subfolders:
|
| 14 |
+
- **`microbenchmark_set`**:
|
| 15 |
+
- This folder contains a small set of C and Rust functions transpiled using 9 different LLMs. This microbenchmarking set is used for a preliminary experiment.
|
| 16 |
+
- **`large_set`**:
|
| 17 |
+
- This folder contains 15,503 C functions derived from 65 different programs and corresponding Rust functions transpiled using the selected LLM.
|
| 18 |
+
- **`C2Rust-Bench`**:
|
| 19 |
+
- This folder contains the proposed C2Rust-Bench including C and corresponding Rust functions for transpilation evaluation.
|