Datasets:

Modalities:
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
Dask
License:
test2 / README.md
Hagon's picture
Update README.md
24e5a2c verified
|
raw
history blame
3.22 kB
metadata
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