Datasets:

Modalities:
Tabular
Text
Formats:
csv
ArXiv:
Libraries:
Datasets
pandas
License:
mshihabr commited on
Commit
f0871ec
·
verified ·
1 Parent(s): c9c8db4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +55 -3
README.md CHANGED
@@ -1,3 +1,55 @@
1
- ---
2
- license: cc-by-nc-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ pretty_name: a
4
+ ---
5
+ # SWE-PolyBench
6
+
7
+ SWE-PolyBench is a multi language repo level software engineering benchmark. Currently it includes 4 languages: Python, Java, Javascript, and Typescript. The number of instances in each language is:
8
+
9
+ Javascript: 1017
10
+
11
+ Typescript: 729
12
+
13
+ Python: 199
14
+
15
+ Java: 165
16
+
17
+ ## Languages
18
+
19
+ The text of the dataset is primarily English.
20
+
21
+ ## Dataset Structure
22
+
23
+ An example row from the dataset includes the following columns:
24
+ ```
25
+ instance_id: (str) - A formatted instance identifier, usually as repo_owner__repo_name-PR-number.
26
+ patch: (str) - The gold patch, the patch generated by the PR (minus test-related code), that resolved the issue.
27
+ repo: (str) - The repository owner/name identifier from GitHub.
28
+ base_commit: (str) - The commit hash of the repository representing the HEAD of the repository before the solution PR is applied.
29
+ hints_text: (str) - Comments made on the issue prior to the creation of the solution PR’s first commit creation date.
30
+ created_at: (str) - The creation date of the pull request.
31
+ test_patch: (str) - A test-file patch that was contributed by the solution PR.
32
+ problem_statement: (str) - The issue title and body.
33
+ F2P: (str) - A json list of strings that represent the set of tests resolved by the PR and tied to the issue resolution.
34
+ P2P: (str) - A json list of strings that represent tests that should pass before and after the PR application.
35
+ language: (str) - The programming language
36
+ Dockerfile: (str) - The instance level dockerfile
37
+ test_command: (str) - The test command used to get F2P and P2P
38
+ task_category: (str) - The problem classification (Bug Fix, Refactoring, Feature)
39
+ is_no_nodes: (bool) - Helpful info for evaluating retrieval metrics
40
+ is_func_only: (bool) - Helpful info for evaluating retrieval metrics
41
+ is_class_only: (bool) - Helpful info for evaluating retrieval metrics
42
+ is_mixed: (bool) - Helpful info for evaluating retrieval metrics
43
+ num_func_changes: (int) - Helpful info for evaluating retrieval metrics
44
+ num_class_changes: (int) - Helpful info for evaluating retrieval metrics
45
+ num_nodes: (int) - Helpful info for evaluating retrieval metrics
46
+ is_single_func: (bool) - Helpful info for evaluating retrieval metrics
47
+ is_single_class: (bool) - Helpful info for evaluating retrieval metrics
48
+ modified_nodes: (bool) - Helpful info for evaluating retrieval metrics
49
+ ```
50
+
51
+ ## Citation
52
+
53
+ If you find our work useful please cite:
54
+ ```
55
+ ```