Add dataset card, paper link, and sample usage
#2
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,3 +1,44 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# MultiFileTest (ProjectTest)
|
| 8 |
+
|
| 9 |
+
MultiFileTest (also referred to as ProjectTest) is a multi-file-level benchmark for unit test generation covering Python, Java, and JavaScript. It features 20 moderate-sized and high-quality projects per language, designed to evaluate Large Language Models (LLMs) on more practical and challenging multi-file-level codebases compared to standard single-file benchmarks.
|
| 10 |
+
|
| 11 |
+
- **Paper:** [MultiFileTest: A Multi-File-Level LLM Unit Test Generation Benchmark and Impact of Error Fixing Mechanisms](https://huggingface.co/papers/2502.06556)
|
| 12 |
+
- **GitHub Repository:** [https://github.com/YiboWANG214/ProjectTest](https://github.com/YiboWANG214/ProjectTest)
|
| 13 |
+
|
| 14 |
+
## Dataset Statistics
|
| 15 |
+
|
| 16 |
+
| Language | Avg. #Files | Avg. LOC | Avg. #Stars | Avg. #Forks |
|
| 17 |
+
|------------|------------|----------|-------------|-------------|
|
| 18 |
+
| Python | 6.10 | 654.60 | 5810.30 | 996.90 |
|
| 19 |
+
| Java | 4.65 | 282.60 | 3306.05 | 1347.65 |
|
| 20 |
+
| JavaScript | 4.00 | 558.05 | 17242.30 | 5476.45 |
|
| 21 |
+
|
| 22 |
+
## Sample Usage
|
| 23 |
+
|
| 24 |
+
You can load this dataset using the Hugging Face `datasets` library:
|
| 25 |
+
|
| 26 |
+
```python
|
| 27 |
+
from datasets import load_dataset
|
| 28 |
+
|
| 29 |
+
# Login using e.g. `huggingface-cli login` to access this dataset
|
| 30 |
+
ds = load_dataset("yibowang214/ProjectTest")
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
## Citation
|
| 34 |
+
|
| 35 |
+
If you find this work useful, please consider citing:
|
| 36 |
+
|
| 37 |
+
```bibtex
|
| 38 |
+
@article{wang2025projecttest,
|
| 39 |
+
title={ProjectTest: A Project-level Unit Test Generation Benchmark and Impact of Error Fixing Mechanisms},
|
| 40 |
+
author={Wang, Yibo and Xia, Congying and Zhao, Wenting and Du, Jiangshu and Miao, Chunyu and Deng, Zhongfen and Yu, Philip S and Xing, Chen},
|
| 41 |
+
journal={arXiv preprint arXiv:2502.06556},
|
| 42 |
+
year={2025}
|
| 43 |
+
}
|
| 44 |
+
```
|