Update README.md
Browse files
README.md
CHANGED
|
@@ -1,90 +1,119 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
dataset_info:
|
| 4 |
-
features:
|
| 5 |
-
- name: org
|
| 6 |
-
dtype: string
|
| 7 |
-
- name: repo
|
| 8 |
-
dtype: string
|
| 9 |
-
- name: number
|
| 10 |
-
dtype: int64
|
| 11 |
-
- name: state
|
| 12 |
-
dtype: string
|
| 13 |
-
- name: title
|
| 14 |
-
dtype: string
|
| 15 |
-
- name: body
|
| 16 |
-
dtype: string
|
| 17 |
-
- name: base
|
| 18 |
-
dtype: string
|
| 19 |
-
- name: resolved_issues
|
| 20 |
-
list:
|
| 21 |
-
- name: body
|
| 22 |
-
dtype: string
|
| 23 |
-
- name: number
|
| 24 |
-
dtype: int64
|
| 25 |
-
- name: title
|
| 26 |
-
dtype: string
|
| 27 |
-
- name: fix_patch
|
| 28 |
-
dtype: string
|
| 29 |
-
- name: test_patch
|
| 30 |
-
dtype: string
|
| 31 |
-
- name: fixed_tests
|
| 32 |
-
dtype: string
|
| 33 |
-
- name: p2p_tests
|
| 34 |
-
dtype: string
|
| 35 |
-
- name: f2p_tests
|
| 36 |
-
dtype: string
|
| 37 |
-
- name: s2p_tests
|
| 38 |
-
dtype:
|
| 39 |
-
- name: n2p_tests
|
| 40 |
-
dtype: string
|
| 41 |
-
- name: run_result
|
| 42 |
-
dtype: string
|
| 43 |
-
- name: test_patch_result
|
| 44 |
-
dtype: string
|
| 45 |
-
- name: fix_patch_result
|
| 46 |
-
dtype: string
|
| 47 |
-
- name: instance_id
|
| 48 |
-
dtype: string
|
| 49 |
-
splits:
|
| 50 |
-
- name: c
|
| 51 |
-
num_bytes: 27137585
|
| 52 |
-
num_examples: 128
|
| 53 |
-
- name: cpp
|
| 54 |
-
num_bytes: 6406845
|
| 55 |
-
num_examples: 129
|
| 56 |
-
- name: go
|
| 57 |
-
num_bytes: 171175811
|
| 58 |
-
num_examples: 428
|
| 59 |
-
- name: java
|
| 60 |
-
num_bytes: 15981812
|
| 61 |
-
num_examples: 50
|
| 62 |
-
- name: javascript
|
| 63 |
-
num_bytes: 505878991
|
| 64 |
-
num_examples: 356
|
| 65 |
-
- name: rust
|
| 66 |
-
num_bytes: 40755929
|
| 67 |
-
num_examples: 239
|
| 68 |
-
- name: typescript
|
| 69 |
-
num_bytes: 823172694
|
| 70 |
-
num_examples: 224
|
| 71 |
-
download_size: 375407095
|
| 72 |
-
dataset_size: 1590509667
|
| 73 |
-
configs:
|
| 74 |
-
- config_name: default
|
| 75 |
-
data_files:
|
| 76 |
-
- split: c
|
| 77 |
-
path: data/c-*
|
| 78 |
-
- split: cpp
|
| 79 |
-
path: data/cpp-*
|
| 80 |
-
- split: go
|
| 81 |
-
path: data/go-*
|
| 82 |
-
- split: java
|
| 83 |
-
path: data/java-*
|
| 84 |
-
- split: javascript
|
| 85 |
-
path: data/javascript-*
|
| 86 |
-
- split: rust
|
| 87 |
-
path: data/rust-*
|
| 88 |
-
- split: typescript
|
| 89 |
-
path: data/typescript-*
|
| 90 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
dataset_info:
|
| 4 |
+
features:
|
| 5 |
+
- name: org
|
| 6 |
+
dtype: string
|
| 7 |
+
- name: repo
|
| 8 |
+
dtype: string
|
| 9 |
+
- name: number
|
| 10 |
+
dtype: int64
|
| 11 |
+
- name: state
|
| 12 |
+
dtype: string
|
| 13 |
+
- name: title
|
| 14 |
+
dtype: string
|
| 15 |
+
- name: body
|
| 16 |
+
dtype: string
|
| 17 |
+
- name: base
|
| 18 |
+
dtype: string
|
| 19 |
+
- name: resolved_issues
|
| 20 |
+
list:
|
| 21 |
+
- name: body
|
| 22 |
+
dtype: string
|
| 23 |
+
- name: number
|
| 24 |
+
dtype: int64
|
| 25 |
+
- name: title
|
| 26 |
+
dtype: string
|
| 27 |
+
- name: fix_patch
|
| 28 |
+
dtype: string
|
| 29 |
+
- name: test_patch
|
| 30 |
+
dtype: string
|
| 31 |
+
- name: fixed_tests
|
| 32 |
+
dtype: string
|
| 33 |
+
- name: p2p_tests
|
| 34 |
+
dtype: string
|
| 35 |
+
- name: f2p_tests
|
| 36 |
+
dtype: string
|
| 37 |
+
- name: s2p_tests
|
| 38 |
+
dtype: string
|
| 39 |
+
- name: n2p_tests
|
| 40 |
+
dtype: string
|
| 41 |
+
- name: run_result
|
| 42 |
+
dtype: string
|
| 43 |
+
- name: test_patch_result
|
| 44 |
+
dtype: string
|
| 45 |
+
- name: fix_patch_result
|
| 46 |
+
dtype: string
|
| 47 |
+
- name: instance_id
|
| 48 |
+
dtype: string
|
| 49 |
+
splits:
|
| 50 |
+
- name: c
|
| 51 |
+
num_bytes: 27137585
|
| 52 |
+
num_examples: 128
|
| 53 |
+
- name: cpp
|
| 54 |
+
num_bytes: 6406845
|
| 55 |
+
num_examples: 129
|
| 56 |
+
- name: go
|
| 57 |
+
num_bytes: 171175811
|
| 58 |
+
num_examples: 428
|
| 59 |
+
- name: java
|
| 60 |
+
num_bytes: 15981812
|
| 61 |
+
num_examples: 50
|
| 62 |
+
- name: javascript
|
| 63 |
+
num_bytes: 505878991
|
| 64 |
+
num_examples: 356
|
| 65 |
+
- name: rust
|
| 66 |
+
num_bytes: 40755929
|
| 67 |
+
num_examples: 239
|
| 68 |
+
- name: typescript
|
| 69 |
+
num_bytes: 823172694
|
| 70 |
+
num_examples: 224
|
| 71 |
+
download_size: 375407095
|
| 72 |
+
dataset_size: 1590509667
|
| 73 |
+
configs:
|
| 74 |
+
- config_name: default
|
| 75 |
+
data_files:
|
| 76 |
+
- split: c
|
| 77 |
+
path: data/c-*
|
| 78 |
+
- split: cpp
|
| 79 |
+
path: data/cpp-*
|
| 80 |
+
- split: go
|
| 81 |
+
path: data/go-*
|
| 82 |
+
- split: java
|
| 83 |
+
path: data/java-*
|
| 84 |
+
- split: javascript
|
| 85 |
+
path: data/javascript-*
|
| 86 |
+
- split: rust
|
| 87 |
+
path: data/rust-*
|
| 88 |
+
- split: typescript
|
| 89 |
+
path: data/typescript-*
|
| 90 |
+
---
|
| 91 |
+
|
| 92 |
+
# Overview
|
| 93 |
+
|
| 94 |
+
# Dataset
|
| 95 |
+
## Data Instances Structure
|
| 96 |
+
An example of a Multi-SWE-bench datum is as follows:
|
| 97 |
+
```
|
| 98 |
+
org: (str) - Organization name identifier from Github.
|
| 99 |
+
repo: (str) - Repository name identifier from Github.
|
| 100 |
+
number: (int) - The PR number.
|
| 101 |
+
state: (str) - The PR state.
|
| 102 |
+
title: (str) - The PR title.
|
| 103 |
+
body: (str) - The PR body.
|
| 104 |
+
base: (dict) - The target branch information of the PR
|
| 105 |
+
resolved_issues: (list) - A json list of strings that represent issues that resolved by PR application.
|
| 106 |
+
fix_patch: (str) - A fix-file patch that was contributed by the solution PR.
|
| 107 |
+
test_patch: (str) - A test-file patch that was contributed by the solution PR.
|
| 108 |
+
fixed_tests: (dict) - A json dict of strings that represent tests that should be fixed after the PR application.
|
| 109 |
+
p2p_tests: (dict) - The tests that should pass before and after the PR application.
|
| 110 |
+
f2p_tests: (dict) - The tests resolved by the PR and tied to the issue resolution.
|
| 111 |
+
s2p_tests: (dict) - The tests that should skip before the PR application, and pass after the PR application.
|
| 112 |
+
n2p_tests: (dict) - The tests that did not exist before the PR application and tests that should be passed after the PR application.
|
| 113 |
+
run_result: (dict) - Overall run results, including number of tests passed, number of tests failed, etc.
|
| 114 |
+
test_patch_result: (dict) - The result after the test patch was applied.
|
| 115 |
+
fix_patch_result: (dict) - The result after all the patches were applied.
|
| 116 |
+
instance_id: (str) - A formatted instance identifier, usually as org__repo_PR-number.
|
| 117 |
+
```
|
| 118 |
+
|
| 119 |
+
## Usage
|