Sellopale mshihabr commited on
Commit
6a3d2ce
·
verified ·
0 Parent(s):

Duplicate from AmazonScience/SWE-PolyBench_500

Browse files

Co-authored-by: Shihab Rashid <[email protected]>

Files changed (3) hide show
  1. .gitattributes +60 -0
  2. README.md +78 -0
  3. test.csv +3 -0
.gitattributes ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mds filter=lfs diff=lfs merge=lfs -text
13
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
14
+ *.model filter=lfs diff=lfs merge=lfs -text
15
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
16
+ *.npy filter=lfs diff=lfs merge=lfs -text
17
+ *.npz filter=lfs diff=lfs merge=lfs -text
18
+ *.onnx filter=lfs diff=lfs merge=lfs -text
19
+ *.ot filter=lfs diff=lfs merge=lfs -text
20
+ *.parquet filter=lfs diff=lfs merge=lfs -text
21
+ *.pb filter=lfs diff=lfs merge=lfs -text
22
+ *.pickle filter=lfs diff=lfs merge=lfs -text
23
+ *.pkl filter=lfs diff=lfs merge=lfs -text
24
+ *.pt filter=lfs diff=lfs merge=lfs -text
25
+ *.pth filter=lfs diff=lfs merge=lfs -text
26
+ *.rar filter=lfs diff=lfs merge=lfs -text
27
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
28
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar filter=lfs diff=lfs merge=lfs -text
31
+ *.tflite filter=lfs diff=lfs merge=lfs -text
32
+ *.tgz filter=lfs diff=lfs merge=lfs -text
33
+ *.wasm filter=lfs diff=lfs merge=lfs -text
34
+ *.xz filter=lfs diff=lfs merge=lfs -text
35
+ *.zip filter=lfs diff=lfs merge=lfs -text
36
+ *.zst filter=lfs diff=lfs merge=lfs -text
37
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
38
+ # Audio files - uncompressed
39
+ *.pcm filter=lfs diff=lfs merge=lfs -text
40
+ *.sam filter=lfs diff=lfs merge=lfs -text
41
+ *.raw filter=lfs diff=lfs merge=lfs -text
42
+ # Audio files - compressed
43
+ *.aac filter=lfs diff=lfs merge=lfs -text
44
+ *.flac filter=lfs diff=lfs merge=lfs -text
45
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
46
+ *.ogg filter=lfs diff=lfs merge=lfs -text
47
+ *.wav filter=lfs diff=lfs merge=lfs -text
48
+ # Image files - uncompressed
49
+ *.bmp filter=lfs diff=lfs merge=lfs -text
50
+ *.gif filter=lfs diff=lfs merge=lfs -text
51
+ *.png filter=lfs diff=lfs merge=lfs -text
52
+ *.tiff filter=lfs diff=lfs merge=lfs -text
53
+ # Image files - compressed
54
+ *.jpg filter=lfs diff=lfs merge=lfs -text
55
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
56
+ *.webp filter=lfs diff=lfs merge=lfs -text
57
+ # Video files - compressed
58
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
59
+ *.webm filter=lfs diff=lfs merge=lfs -text
60
+ test.csv filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - coding
5
+ - agents
6
+ ---
7
+ # SWE-PolyBench
8
+
9
+ [SWE-PolyBench](https://github.com/amazon-science/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:
10
+
11
+ Javascript: 1017
12
+
13
+ Typescript: 729
14
+
15
+ Python: 199
16
+
17
+ Java: 165
18
+
19
+ ## Datasets
20
+
21
+ There are total *three* datasets available under SWE-PolyBench. `AmazonScience/SWE-PolyBench` is the full dataset, `AmazonScience/SWE-PolyBench_500` is the stratified sampled dataset with 500 instances and `AmazonScience/SWE-PolyBench_Verified` is our verified dataset with 394 instances.
22
+
23
+ ## Leaderboard
24
+
25
+ We evaluated several open source coding agents/models on this dataset and report them in our [leaderboard]().
26
+
27
+ ## Submit
28
+
29
+ To submit your predictions on this dataset, please follow this [README](https://github.com/amazon-science/SWE-PolyBench/blob/submission/README.md)
30
+
31
+ ## Languages
32
+
33
+ The text of the dataset is primarily English.
34
+
35
+ ## Dataset Structure
36
+
37
+ An example row from the dataset includes the following columns:
38
+ ```
39
+ instance_id: (str) - A formatted instance identifier, usually as repo_owner__repo_name-PR-number.
40
+ patch: (str) - The gold patch, the patch generated by the PR (minus test-related code), that resolved the issue.
41
+ repo: (str) - The repository owner/name identifier from GitHub.
42
+ base_commit: (str) - The commit hash of the repository representing the HEAD of the repository before the solution PR is applied.
43
+ hints_text: (str) - Comments made on the issue prior to the creation of the solution PR’s first commit creation date.
44
+ created_at: (str) - The creation date of the pull request.
45
+ test_patch: (str) - A test-file patch that was contributed by the solution PR.
46
+ problem_statement: (str) - The issue title and body.
47
+ F2P: (str) - A json list of strings that represent the set of tests resolved by the PR and tied to the issue resolution.
48
+ P2P: (str) - A json list of strings that represent tests that should pass before and after the PR application.
49
+ language: (str) - The programming language
50
+ Dockerfile: (str) - The instance level dockerfile
51
+ test_command: (str) - The test command used to get F2P and P2P
52
+ task_category: (str) - The problem classification (Bug Fix, Refactoring, Feature)
53
+ is_no_nodes: (bool) - Helpful info for evaluating retrieval metrics
54
+ is_func_only: (bool) - Helpful info for evaluating retrieval metrics
55
+ is_class_only: (bool) - Helpful info for evaluating retrieval metrics
56
+ is_mixed: (bool) - Helpful info for evaluating retrieval metrics
57
+ num_func_changes: (int) - Helpful info for evaluating retrieval metrics
58
+ num_class_changes: (int) - Helpful info for evaluating retrieval metrics
59
+ num_nodes: (int) - Helpful info for evaluating retrieval metrics
60
+ is_single_func: (bool) - Helpful info for evaluating retrieval metrics
61
+ is_single_class: (bool) - Helpful info for evaluating retrieval metrics
62
+ modified_nodes: (bool) - Helpful info for evaluating retrieval metrics
63
+ ```
64
+
65
+ ## Citation
66
+
67
+ If you find our work useful please cite:
68
+ ```
69
+ @misc{rashid2025swepolybenchmultilanguagebenchmarkrepository,
70
+ title={SWE-PolyBench: A multi-language benchmark for repository level evaluation of coding agents},
71
+ author={Muhammad Shihab Rashid and Christian Bock and Yuan Zhuang and Alexander Buchholz and Tim Esler and Simon Valentin and Luca Franceschi and Martin Wistuba and Prabhu Teja Sivaprasad and Woo Jung Kim and Anoop Deoras and Giovanni Zappella and Laurent Callot},
72
+ year={2025},
73
+ eprint={2504.08703},
74
+ archivePrefix={arXiv},
75
+ primaryClass={cs.SE},
76
+ url={https://arxiv.org/abs/2504.08703},
77
+ }
78
+ ```
test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20961b616b404875adead16dd456adc4cf583035436fc0d7e9c3f2adf8322e0c
3
+ size 16952616