Datasets:

Modalities:
Text
Formats:
json
Size:
< 1K
ArXiv:
Libraries:
Datasets
pandas
License:
barty commited on
Commit
2ef96b6
·
verified ·
1 Parent(s): 704aa7d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +46 -3
README.md CHANGED
@@ -1,3 +1,46 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ ---
4
+
5
+ ## Dataset Description
6
+
7
+ - **Repository:** [MORepair](https://github.com/barty/morepair)
8
+ - **Paper:** [MORepair: Teaching LLMs to Repair Code via Multi-Objective Fine-tuning](https://arxiv.org/abs/2404.12636)
9
+ - **Point of Contact:** [Boyang Yang](mailto:[email protected])
10
+
11
+ ### Dataset Summary
12
+
13
+ EvalRepair-C++ is a benchmark for evaluating C++ program repair performance, derived from HumanEval. It contains 164 single-function repair tasks, each with a buggy implementation and its corresponding fixed version.
14
+
15
+ ### Supported Tasks
16
+
17
+ - Program Repair: Fixing bugs in C++ functions
18
+ - Code Generation: Generating correct implementations from buggy code
19
+
20
+ ### Dataset Structure
21
+
22
+ Each row contains:
23
+ - `task_id`: Unique identifier for the task (same as HumanEval)
24
+ - `buggy_code`: The buggy implementation
25
+ - `fixed_code`: The correct implementation
26
+ - `unit_test`: Unit tests for verifying the correctness of the implementation
27
+ - `prompt`: Prefix information for generating fixed code
28
+
29
+ ### Source Data
30
+
31
+ This dataset is derived from HumanEval, a benchmark for evaluating code generation capabilities. We manually introduced bugs into the original implementations and verified the fixes.
32
+
33
+ ### Citation
34
+
35
+ ```bibtex
36
+ @article{morepair,
37
+ author = {Yang, Boyang and Tian, Haoye and Ren, Jiadong and Zhang, Hongyu and Klein, Jacques and Bissyande, Tegawende and Le Goues, Claire and Jin, Shunfu},
38
+ title = {MORepair: Teaching LLMs to Repair Code via Multi-Objective Fine-Tuning},
39
+ year = {2025},
40
+ publisher = {Association for Computing Machinery},
41
+ issn = {1049-331X},
42
+ url = {https://doi.org/10.1145/3735129},
43
+ doi = {10.1145/3735129},
44
+ journal = {ACM Trans. Softw. Eng. Methodol.},
45
+ }
46
+ ```