Add link to paper, task category
#2
by
nielsr
HF Staff
- opened
README.md
CHANGED
|
@@ -1,60 +1,65 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
-
|
| 17 |
-
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
- **
|
| 29 |
-
- **
|
| 30 |
-
- **
|
| 31 |
-
- **
|
| 32 |
-
- **
|
| 33 |
-
- **
|
| 34 |
-
- **
|
| 35 |
-
- **
|
| 36 |
-
- **
|
| 37 |
-
- **
|
| 38 |
-
- **
|
| 39 |
-
- **
|
| 40 |
-
- **
|
| 41 |
-
- **
|
| 42 |
-
- **
|
| 43 |
-
|
| 44 |
-
-
|
| 45 |
-
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- software-engineering
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# SyncBench
|
| 10 |
+
|
| 11 |
+
In tackling the challenge of *agent out-of-sync*, **SyncBench** is released as a part of our work [SyncMind: Measuring Agent Out-of-Sync Recovery In Collaborative Software Engineering](https://huggingface.co/papers/2502.06994) ([Project Website](https://xhguo7.github.io/SyncMind/)) ([Code](https://github.com/xhguo7/SyncMind))
|
| 12 |
+
|
| 13 |
+
## Dataset Description
|
| 14 |
+
**SyncBench** for *agent out-of-sync* recovery:
|
| 15 |
+
- Task: Agent *out-of-sync*
|
| 16 |
+
- SyncBench
|
| 17 |
+
- In our current version, we construct *SyncBench* based on 21 popular GitHub repositories, while our dataset construction approach allows adaptive upsampling and downsampling for custom needs
|
| 18 |
+
- Expand to incorporate other repositories as data sources
|
| 19 |
+
- Downsampled to smaller ealuation subsets
|
| 20 |
+
- Datasets: Caller and Callee
|
| 21 |
+
- **Caller:** Testing code out-of-sync
|
| 22 |
+
- **Callee:** Tested code out-of-sync
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
## Data Structure
|
| 26 |
+
- Format: JSON and CSV
|
| 27 |
+
- Fields:
|
| 28 |
+
- **instance_id:** SyncBench instance ID
|
| 29 |
+
- **instance_type:** data type (i.e., `caller` or `callee`)
|
| 30 |
+
- **task_type:** task type (i.e., `fail-to-pass` or `pass-to-pass`)
|
| 31 |
+
- **repo_url:** URL link of the source GitHub repository
|
| 32 |
+
- **commit:** Git commit ID
|
| 33 |
+
- **fm_type:** Function type (i.e., `function` or `method`)
|
| 34 |
+
- **fm_name:** Function name
|
| 35 |
+
- **original_code:** Out-of-sync function code
|
| 36 |
+
- **gold_code:** Up-to-date function code
|
| 37 |
+
- **old_filtered_context:** Out-of-sync context code (filtered)
|
| 38 |
+
- **old_complete_context:** Out-of-sync context code (complete)
|
| 39 |
+
- **new_filtered_context:** Up-to-date context code (filtered)
|
| 40 |
+
- **new_complete_context:** Up-to-date context code (complete)
|
| 41 |
+
- **initial_error_log:** Initial execution error log
|
| 42 |
+
- **original_summary:** Parsed execution output of the out-of-sync code
|
| 43 |
+
- **gold_summary:** Parsed execution output of the up-to-date code
|
| 44 |
+
- **pyfile_name:** Name of the Python file
|
| 45 |
+
- **pyfile_path:** Path to the Python file
|
| 46 |
+
- **unittest_path:** Path to the unit test
|
| 47 |
+
|
| 48 |
+
- Dataset Versions
|
| 49 |
+
- SyncBench
|
| 50 |
+
- Data: syncbench_24k.csv
|
| 51 |
+
- Size: 24,332
|
| 52 |
+
- Filtered Dataset (*coming soon!*)
|
| 53 |
+
- Data: syncbench_8k.csv
|
| 54 |
+
- Size: 8k
|
| 55 |
+
- Evaluation Dataset
|
| 56 |
+
- Data: syncbench_300.csv
|
| 57 |
+
- Callee: syncbench_callee_150.csv
|
| 58 |
+
- Caller: syncbench_caller_150.csv
|
| 59 |
+
- Size: 300
|
| 60 |
+
|
| 61 |
+
## Usage
|
| 62 |
+
```python
|
| 63 |
+
from datasets import load_dataset
|
| 64 |
+
dataset = load_dataset("xuehang/SyncBench")
|
| 65 |
+
```
|