Update README.md
Browse files
README.md
CHANGED
@@ -1,60 +1,57 @@
|
|
1 |
-
---
|
2 |
-
license: mit
|
3 |
-
---
|
4 |
-
|
5 |
-
# SyncBench
|
6 |
-
|
7 |
-
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://xhguo7.github.io/SyncMind/)
|
8 |
-
|
9 |
-
## Dataset Description
|
10 |
-
**SyncBench** for *agent out-of-sync* recovery:
|
11 |
-
- Task: Agent *out-of-sync*
|
12 |
-
- SyncBench
|
13 |
-
- 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
|
14 |
-
- Expand to incorporate other repositories as data sources
|
15 |
-
- Downsampled to smaller ealuation subsets
|
16 |
-
- Datasets: Caller and Callee
|
17 |
-
- **Caller:** Testing code out-of-sync
|
18 |
-
- **Callee:** Tested code out-of-sync
|
19 |
-
|
20 |
-
|
21 |
-
## Data Structure
|
22 |
-
- Format: JSON and CSV
|
23 |
-
- Fields:
|
24 |
-
- **instance_id:** SyncBench instance ID
|
25 |
-
- **instance_type:** data type (i.e., `caller` or `callee`)
|
26 |
-
- **task_type:** task type (i.e., `fail-to-pass` or `pass-to-pass`)
|
27 |
-
- **repo_url:** URL link of the source GitHub repository
|
28 |
-
- **commit:** Git commit ID
|
29 |
-
- **fm_type:** Function type (i.e., `function` or `method`)
|
30 |
-
- **fm_name:** Function name
|
31 |
-
- **original_code:** Out-of-sync function code
|
32 |
-
- **gold_code:** Up-to-date function code
|
33 |
-
- **old_filtered_context:** Out-of-sync context code (filtered)
|
34 |
-
- **old_complete_context:** Out-of-sync context code (complete)
|
35 |
-
- **new_filtered_context:** Up-to-date context code (filtered)
|
36 |
-
- **new_complete_context:** Up-to-date context code (complete)
|
37 |
-
- **initial_error_log:** Initial execution error log
|
38 |
-
- **original_summary:** Parsed execution output of the out-of-sync code
|
39 |
-
- **gold_summary:** Parsed execution output of the up-to-date code
|
40 |
-
- **pyfile_name:** Name of the Python file
|
41 |
-
- **pyfile_path:** Path to the Python file
|
42 |
-
- **unittest_path:** Path to the unit test
|
43 |
-
|
44 |
-
- Dataset Versions
|
45 |
-
- SyncBench
|
46 |
-
- Data: syncbench_24k.csv
|
47 |
-
- Size: 24,332
|
48 |
-
-
|
49 |
-
- Data:
|
50 |
-
|
51 |
-
|
52 |
-
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
```python
|
59 |
-
from datasets import load_dataset
|
60 |
-
dataset = load_dataset("xuehang/SyncBench")
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
---
|
4 |
+
|
5 |
+
# SyncBench
|
6 |
+
|
7 |
+
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://xhguo7.github.io/SyncMind/)
|
8 |
+
|
9 |
+
## Dataset Description
|
10 |
+
**SyncBench** for *agent out-of-sync* recovery:
|
11 |
+
- Task: Agent *out-of-sync*
|
12 |
+
- SyncBench
|
13 |
+
- 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
|
14 |
+
- Expand to incorporate other repositories as data sources
|
15 |
+
- Downsampled to smaller ealuation subsets
|
16 |
+
- Datasets: Caller and Callee
|
17 |
+
- **Caller:** Testing code out-of-sync
|
18 |
+
- **Callee:** Tested code out-of-sync
|
19 |
+
|
20 |
+
|
21 |
+
## Data Structure
|
22 |
+
- Format: JSON and CSV
|
23 |
+
- Fields:
|
24 |
+
- **instance_id:** SyncBench instance ID
|
25 |
+
- **instance_type:** data type (i.e., `caller` or `callee`)
|
26 |
+
- **task_type:** task type (i.e., `fail-to-pass` or `pass-to-pass`)
|
27 |
+
- **repo_url:** URL link of the source GitHub repository
|
28 |
+
- **commit:** Git commit ID
|
29 |
+
- **fm_type:** Function type (i.e., `function` or `method`)
|
30 |
+
- **fm_name:** Function name
|
31 |
+
- **original_code:** Out-of-sync function code
|
32 |
+
- **gold_code:** Up-to-date function code
|
33 |
+
- **old_filtered_context:** Out-of-sync context code (filtered)
|
34 |
+
- **old_complete_context:** Out-of-sync context code (complete)
|
35 |
+
- **new_filtered_context:** Up-to-date context code (filtered)
|
36 |
+
- **new_complete_context:** Up-to-date context code (complete)
|
37 |
+
- **initial_error_log:** Initial execution error log
|
38 |
+
- **original_summary:** Parsed execution output of the out-of-sync code
|
39 |
+
- **gold_summary:** Parsed execution output of the up-to-date code
|
40 |
+
- **pyfile_name:** Name of the Python file
|
41 |
+
- **pyfile_path:** Path to the Python file
|
42 |
+
- **unittest_path:** Path to the unit test
|
43 |
+
|
44 |
+
- Dataset Versions
|
45 |
+
- SyncBench
|
46 |
+
- Data: syncbench_24k.csv
|
47 |
+
- Size: 24,332
|
48 |
+
- Evaluation Dataset
|
49 |
+
- Data: syncbench_300.csv
|
50 |
+
- Callee: syncbench_callee_150.csv
|
51 |
+
- Caller: syncbench_caller_150.csv
|
52 |
+
- Size: 300
|
53 |
+
|
54 |
+
## Usage
|
55 |
+
```python
|
56 |
+
from datasets import load_dataset
|
57 |
+
dataset = load_dataset("xuehang/SyncBench")
|
|
|
|
|
|