Datasets:
Update README with new task count
Browse files
README.md
CHANGED
|
@@ -11,6 +11,11 @@ tags:
|
|
| 11 |
- benchmark
|
| 12 |
size_categories:
|
| 13 |
- n<1K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# LeanBench Dataset
|
|
@@ -19,9 +24,14 @@ A benchmark dataset for evaluating AI systems on Lean 4 theorem proving tasks.
|
|
| 19 |
|
| 20 |
## Dataset Description
|
| 21 |
|
| 22 |
-
This dataset contains
|
| 23 |
|
| 24 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
Each row represents a single task with the following key fields:
|
| 27 |
|
|
@@ -37,14 +47,25 @@ Each row represents a single task with the following key fields:
|
|
| 37 |
| `golden_patch` | Expected solution (diff format) |
|
| 38 |
| `verification_command` | Command to verify the solution |
|
| 39 |
|
| 40 |
-
##
|
| 41 |
|
| 42 |
```python
|
| 43 |
from datasets import load_dataset
|
| 44 |
|
| 45 |
dataset = load_dataset("foundry-ai/leanbench")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
```
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
## License
|
| 49 |
|
| 50 |
Apache 2.0
|
|
|
|
| 11 |
- benchmark
|
| 12 |
size_categories:
|
| 13 |
- n<1K
|
| 14 |
+
configs:
|
| 15 |
+
- config_name: default
|
| 16 |
+
data_files:
|
| 17 |
+
- split: train
|
| 18 |
+
path: data/train-*.parquet
|
| 19 |
---
|
| 20 |
|
| 21 |
# LeanBench Dataset
|
|
|
|
| 24 |
|
| 25 |
## Dataset Description
|
| 26 |
|
| 27 |
+
This dataset contains **482 tasks** extracted from real Lean 4 pull requests.
|
| 28 |
|
| 29 |
+
## Files
|
| 30 |
+
|
| 31 |
+
- `leanbench_tasks.csv` - Full dataset in CSV format
|
| 32 |
+
- `data/train-00000-of-00001.parquet` - Dataset in Parquet format (for `datasets` library)
|
| 33 |
+
|
| 34 |
+
## Task Format
|
| 35 |
|
| 36 |
Each row represents a single task with the following key fields:
|
| 37 |
|
|
|
|
| 47 |
| `golden_patch` | Expected solution (diff format) |
|
| 48 |
| `verification_command` | Command to verify the solution |
|
| 49 |
|
| 50 |
+
## Usage
|
| 51 |
|
| 52 |
```python
|
| 53 |
from datasets import load_dataset
|
| 54 |
|
| 55 |
dataset = load_dataset("foundry-ai/leanbench")
|
| 56 |
+
|
| 57 |
+
# Access tasks
|
| 58 |
+
for task in dataset["train"]:
|
| 59 |
+
print(task["task_id"], task["difficulty"])
|
| 60 |
```
|
| 61 |
|
| 62 |
+
## Statistics
|
| 63 |
+
|
| 64 |
+
- Total tasks: 482
|
| 65 |
+
- Easy: 330
|
| 66 |
+
- Medium: 121
|
| 67 |
+
- Hard: 31
|
| 68 |
+
|
| 69 |
## License
|
| 70 |
|
| 71 |
Apache 2.0
|