File size: 3,220 Bytes
24e5a2c |
1 2 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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
---
license: apache-2.0
dataset_info:
features:
- name: org
dtype: string
- name: repo
dtype: string
- name: number
dtype: int64
- name: state
dtype: string
- name: title
dtype: string
- name: body
dtype: string
- name: base
dtype: string
- name: resolved_issues
list:
- name: body
dtype: string
- name: number
dtype: int64
- name: title
dtype: string
- name: fix_patch
dtype: string
- name: test_patch
dtype: string
- name: fixed_tests
dtype: string
- name: p2p_tests
dtype: string
- name: f2p_tests
dtype: string
- name: s2p_tests
dtype: string
- name: n2p_tests
dtype: string
- name: run_result
dtype: string
- name: test_patch_result
dtype: string
- name: fix_patch_result
dtype: string
- name: instance_id
dtype: string
splits:
- name: c
num_bytes: 27137585
num_examples: 128
- name: cpp
num_bytes: 6406845
num_examples: 129
- name: go
num_bytes: 171175811
num_examples: 428
- name: java
num_bytes: 15981812
num_examples: 50
- name: javascript
num_bytes: 505878991
num_examples: 356
- name: rust
num_bytes: 40755929
num_examples: 239
- name: typescript
num_bytes: 823172694
num_examples: 224
download_size: 375407095
dataset_size: 1590509667
configs:
- config_name: default
data_files:
- split: c
path: data/c-*
- split: cpp
path: data/cpp-*
- split: go
path: data/go-*
- split: java
path: data/java-*
- split: javascript
path: data/javascript-*
- split: rust
path: data/rust-*
- split: typescript
path: data/typescript-*
---
# Overview
# Dataset
## Data Instances Structure
An example of a Multi-SWE-bench datum is as follows:
```
org: (str) - Organization name identifier from Github.
repo: (str) - Repository name identifier from Github.
number: (int) - The PR number.
state: (str) - The PR state.
title: (str) - The PR title.
body: (str) - The PR body.
base: (dict) - The target branch information of the PR
resolved_issues: (list) - A json list of strings that represent issues that resolved by PR application.
fix_patch: (str) - A fix-file patch that was contributed by the solution PR.
test_patch: (str) - A test-file patch that was contributed by the solution PR.
fixed_tests: (dict) - A json dict of strings that represent tests that should be fixed after the PR application.
p2p_tests: (dict) - The tests that should pass before and after the PR application.
f2p_tests: (dict) - The tests resolved by the PR and tied to the issue resolution.
s2p_tests: (dict) - The tests that should skip before the PR application, and pass after the PR application.
n2p_tests: (dict) - The tests that did not exist before the PR application and tests that should be passed after the PR application.
run_result: (dict) - Overall run results, including number of tests passed, number of tests failed, etc.
test_patch_result: (dict) - The result after the test patch was applied.
fix_patch_result: (dict) - The result after all the patches were applied.
instance_id: (str) - A formatted instance identifier, usually as org__repo_PR-number.
```
## Usage |