Datasets:

Modalities:
Tabular
Text
Formats:
csv
ArXiv:
Libraries:
Datasets
pandas
License:
Dataset Viewer
Auto-converted to Parquet Duplicate
repo
stringclasses
21 values
pull_number
float64
45
194k
instance_id
stringlengths
16
34
issue_numbers
stringlengths
6
27
base_commit
stringlengths
40
40
patch
stringlengths
263
270k
test_patch
stringlengths
312
408k
problem_statement
stringlengths
38
47.6k
hints_text
stringlengths
1
257k
created_at
stringdate
2016-01-11 17:37:29
2024-10-18 14:52:41
language
stringclasses
4 values
Dockerfile
stringclasses
279 values
P2P
stringlengths
2
10.2M
F2P
stringlengths
11
38.9k
F2F
stringclasses
86 values
test_command
stringlengths
27
11.4k
task_category
stringclasses
5 values
is_no_nodes
bool
2 classes
is_func_only
bool
2 classes
is_class_only
bool
2 classes
is_mixed
bool
2 classes
num_func_changes
int64
0
238
num_class_changes
int64
0
70
num_nodes
int64
0
264
is_single_func
bool
2 classes
is_single_class
bool
2 classes
modified_nodes
stringlengths
2
42.2k
google/gson
2,337
google__gson-2337
['2334', '2334']
0adcdc80d5ef3a40086a8abd6e2f55164a7c2597
diff --git a/gson/src/main/java/com/google/gson/stream/JsonReader.java b/gson/src/main/java/com/google/gson/stream/JsonReader.java --- a/gson/src/main/java/com/google/gson/stream/JsonReader.java +++ b/gson/src/main/java/com/google/gson/stream/JsonReader.java @@ -1587,7 +1587,7 @@ public String getPath() { * been re...
diff --git a/gson/src/test/java/com/google/gson/stream/JsonReaderTest.java b/gson/src/test/java/com/google/gson/stream/JsonReaderTest.java --- a/gson/src/test/java/com/google/gson/stream/JsonReaderTest.java +++ b/gson/src/test/java/com/google/gson/stream/JsonReaderTest.java @@ -355,7 +355,7 @@ public void testUnescapin...
Malformed Unicode escape sequence causes `NumberFormatException` instead of `MalformedJsonException` # Gson version 2.10.1 # Description `JsonReader` throws a `NumberFormatException` instead of a `MalformedJsonException` when it encounters a malformed Unicode escape sequence in the JSON data. This actually works as de...
I agree. It's weird to throw `NumberFormatException` here yet `MalformedJsonException` when for example there are fewer than 4 characters after the `\u`. I also agree that this is unlikely to affect anyone in practice, other than tests that might have been expecting the current exception. I agree. It's weird to throw `...
2023-03-06 15:40:50+00:00
Java
From polybench_java_base WORKDIR /testbed COPY . . RUN find /testbed -path "*/target/surefire-reports/TEST-*.xml" -delete; export JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto.x86_64/ && update-alternatives --set java /usr/lib/jvm/java-11-amazon-corretto.x86_64/bin/java && mvn clean verify -am -Dtest=JsonReaderTest -D...
[]
['com.google.gson.stream.JsonReaderTest.testFailWithPositionOverCStyleComment', 'com.google.gson.stream.JsonReaderTest.testTopLevelValueTypes', 'com.google.gson.stream.JsonReaderTest.testReadArray', 'com.google.gson.stream.JsonReaderTest.testStrictSingleQuotedStrings', 'com.google.gson.stream.JsonReaderTest.testHelloWo...
[]
find /testbed -path "*/target/surefire-reports/TEST-*.xml" -delete; export JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto.x86_64/ && update-alternatives --set java /usr/lib/jvm/java-11-amazon-corretto.x86_64/bin/java && mvn clean verify -am -Dtest=JsonReaderTest -DfailIfNoTests=false -fae surefire-report:report -Dsuref...
Bug Fix
false
false
false
true
1
1
2
false
false
["gson/src/main/java/com/google/gson/stream/JsonReader.java->program->class_declaration:JsonReader", "gson/src/main/java/com/google/gson/stream/JsonReader.java->program->class_declaration:JsonReader->method_declaration:readEscapeCharacter"]
apache/dubbo
3,479
apache__dubbo-3479
['3478']
bf3b423dc5635511000fbd2dcae1b955fbd87d67
diff --git a/dubbo-common/src/main/java/org/apache/dubbo/common/URL.java b/dubbo-common/src/main/java/org/apache/dubbo/common/URL.java --- a/dubbo-common/src/main/java/org/apache/dubbo/common/URL.java +++ b/dubbo-common/src/main/java/org/apache/dubbo/common/URL.java @@ -1297,7 +1297,7 @@ public InetSocketAddress toInet...
diff --git a/dubbo-common/src/test/java/org/apache/dubbo/common/URLTest.java b/dubbo-common/src/test/java/org/apache/dubbo/common/URLTest.java --- a/dubbo-common/src/test/java/org/apache/dubbo/common/URLTest.java +++ b/dubbo-common/src/test/java/org/apache/dubbo/common/URLTest.java @@ -687,4 +687,22 @@ public void test...
Keep interface key in the URL in simplify mode when it's different from path. 1. non-simplify mode: ``` dubbo://120.0.0.1:20880/org.apache.dubbo.demo.DemoService?key=value ``` the store path of ZK will be: `/dubbo/porg.apache.dubbo.demo.DemoService/url` 2. simplify mode: ``` dubbo://120.0.0.1:20880/org.apache.dubbo.de...
null
2019-02-14 10:09:51+00:00
Java
From polybench_java_base WORKDIR /testbed COPY . . RUN find /testbed -path "*/target/surefire-reports/TEST-*.xml" -delete; export JAVA_HOME=/usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/ && update-alternatives --set java /usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/bin/java && if [ -e mvnw ]; then ./mvnw test -a...
[]
['org.apache.dubbo.common.URLTest.testIpV6AddressWithScopeId', 'org.apache.dubbo.common.URLTest.test_javaNetUrl', 'org.apache.dubbo.config.ServiceConfigTest.testExport', 'org.apache.dubbo.common.URLTest.test_Anyhost', 'org.apache.dubbo.config.builders.ServiceBuilderTest.Mock1', 'org.apache.dubbo.common.URLTest.test_val...
[]
find /testbed -path "*/target/surefire-reports/TEST-*.xml" -delete; export JAVA_HOME=/usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/ && update-alternatives --set java /usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/bin/java && if [ -e mvnw ]; then ./mvnw test -am -Dtest=RestProtocolTest,URLTest,ServiceBuilderTest,Se...
Bug Fix
false
false
false
true
14
4
18
false
false
["dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ServiceConfig.java->program->class_declaration:ServiceConfig", "dubbo-common/src/main/java/org/apache/dubbo/common/URL.java->program->class_declaration:URL->method_declaration:String_buildKey", "dubbo-common/src/main/java/org/apache/dubbo/common/URL....
google/gson
2,498
google__gson-2498
['1510']
2032818ecb1a5d0932d4702ff36a8cc5b3bc20aa
diff --git a/gson/src/main/java/com/google/gson/internal/Excluder.java b/gson/src/main/java/com/google/gson/internal/Excluder.java --- a/gson/src/main/java/com/google/gson/internal/Excluder.java +++ b/gson/src/main/java/com/google/gson/internal/Excluder.java @@ -24,6 +24,7 @@ import com.google.gson.annotations.Expose;...
diff --git a/gson/src/test/java/com/google/gson/ExposeAnnotationExclusionStrategyTest.java b/gson/src/test/java/com/google/gson/ExposeAnnotationExclusionStrategyTest.java --- a/gson/src/test/java/com/google/gson/ExposeAnnotationExclusionStrategyTest.java +++ b/gson/src/test/java/com/google/gson/ExposeAnnotationExclusio...
Allow serialization of anonymous classes **Describe the feature** Gson should allow *serialization* of anonymous classes, the reason is that the user shouldn't care about the implementation of the code that generates the objects they are using. For example, this code that only uses Guava and Gson looks fine and users ...
Very early versions of Gson actually supported inner classes. What do you expect to happen to the outer class reference? Ignore it silently or serialize it as well? Note that the topic of this issue is not inner classes but anonymous classes. Anyway, ignoring the references to the outer class seems fine (imagine a ci...
2023-09-23 20:14:37+00:00
Java
From polybench_java_base WORKDIR /testbed COPY . . RUN find /testbed -path "*/target/surefire-reports/TEST-*.xml" -delete; export JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto.x86_64/ && update-alternatives --set java /usr/lib/jvm/java-11-amazon-corretto.x86_64/bin/java && mvn clean verify -am -Dtest=ObjectTest,InnerC...
['com.google.gson.functional.ObjectTest.testStaticFieldSerialization', 'com.google.gson.InnerClassExclusionStrategyTest.testExcludeInnerClassField', 'com.google.gson.InnerClassExclusionStrategyTest.testIncludeStaticNestedClassField', 'com.google.gson.functional.EnumTest.testCollectionOfEnumsDeserialization', 'com.googl...
['com.google.gson.functional.ObjectTest.testAnonymousLocalClassesCustomSerialization']
[]
find /testbed -path "*/target/surefire-reports/TEST-*.xml" -delete; export JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto.x86_64/ && update-alternatives --set java /usr/lib/jvm/java-11-amazon-corretto.x86_64/bin/java && mvn clean verify -am -Dtest=ObjectTest,InnerClassExclusionStrategyTest,VersionExclusionStrategyTest,...
Feature
false
false
false
true
16
2
18
false
false
["gson/src/main/java/com/google/gson/internal/Excluder.java->program->class_declaration:Excluder->method_declaration:create->method_declaration:delegate", "gson/src/main/java/com/google/gson/internal/reflect/ReflectionHelper.java->program->class_declaration:ReflectionHelper->method_declaration:isAnonymousOrNonStaticLoc...
google/gson
2,476
google__gson-2476
['2407']
ddc76ea4cc7dc8ccb0930ddfee668e2f53a4426c
diff --git a/gson/src/main/java/com/google/gson/internal/bind/JsonTreeWriter.java b/gson/src/main/java/com/google/gson/internal/bind/JsonTreeWriter.java --- a/gson/src/main/java/com/google/gson/internal/bind/JsonTreeWriter.java +++ b/gson/src/main/java/com/google/gson/internal/bind/JsonTreeWriter.java @@ -139,14 +139,1...
diff --git a/gson/src/test/java/com/google/gson/internal/bind/JsonTreeWriterTest.java b/gson/src/test/java/com/google/gson/internal/bind/JsonTreeWriterTest.java --- a/gson/src/test/java/com/google/gson/internal/bind/JsonTreeWriterTest.java +++ b/gson/src/test/java/com/google/gson/internal/bind/JsonTreeWriterTest.java @...
`JsonWriter.name` does not throw exception when not inside JSON object # Gson version 2.10.1 # Java / Android version Java 17 # Description Calling `JsonWriter.name` (and maybe also `JsonTreeWriter.name`) when not inside a JSON object does not fail. ## Expected behavior An `IllegalStateException` should be thrown #...
Seems like we should fix this. You _will_ get an exception if you write pretty much anything else after the `.name`, but it would be better to get it exactly at the point where the mistake was made. Hi, just wanted to ask, if anyone not working on this, would like to contribute on this issue @shivam-sehgal, thanks for ...
2023-08-22 20:14:56+00:00
Java
From polybench_java_base WORKDIR /testbed COPY . . RUN find /testbed -path "*/target/surefire-reports/TEST-*.xml" -delete; export JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto.x86_64/ && update-alternatives --set java /usr/lib/jvm/java-11-amazon-corretto.x86_64/bin/java && mvn clean verify -am -Dtest=JsonWriterTest,Js...
['com.google.gson.stream.JsonWriterTest.testDoubles', 'com.google.gson.stream.JsonWriterTest.testNonFiniteDoublesWhenLenient', 'com.google.gson.stream.JsonWriterTest.testMalformedNumbers', 'com.google.gson.stream.JsonWriterTest.testClosedWriterThrowsOnFlush', 'com.google.gson.stream.JsonWriterTest.testNullName', 'com.g...
['com.google.gson.internal.bind.JsonTreeWriterTest.testTwoNames', 'com.google.gson.internal.bind.JsonTreeWriterTest.testNameInArray', 'com.google.gson.stream.JsonWriterTest.testNameInArray', 'com.google.gson.internal.bind.JsonTreeWriterTest.testNameAsTopLevelValue', 'com.google.gson.stream.JsonWriterTest.testNameAsTopL...
[]
find /testbed -path "*/target/surefire-reports/TEST-*.xml" -delete; export JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto.x86_64/ && update-alternatives --set java /usr/lib/jvm/java-11-amazon-corretto.x86_64/bin/java && mvn clean verify -am -Dtest=JsonWriterTest,JsonTreeWriterTest -DfailIfNoTests=false -fae surefire-re...
Bug Fix
false
true
false
false
2
0
2
false
false
["gson/src/main/java/com/google/gson/stream/JsonWriter.java->program->class_declaration:JsonWriter->method_declaration:JsonWriter_name", "gson/src/main/java/com/google/gson/internal/bind/JsonTreeWriter.java->program->class_declaration:JsonTreeWriter->method_declaration:JsonWriter_name"]
google/gson
2,178
google__gson-2178
['1908']
18b9ba407d3f33e84d613a695ccd6d0e7360a21e
diff --git a/gson/src/main/java/com/google/gson/JsonArray.java b/gson/src/main/java/com/google/gson/JsonArray.java --- a/gson/src/main/java/com/google/gson/JsonArray.java +++ b/gson/src/main/java/com/google/gson/JsonArray.java @@ -55,7 +55,8 @@ public JsonArray(int capacity) { } /** - * Creates a deep copy of...
diff --git a/gson/src/test/java/com/google/gson/JsonArrayTest.java b/gson/src/test/java/com/google/gson/JsonArrayTest.java --- a/gson/src/test/java/com/google/gson/JsonArrayTest.java +++ b/gson/src/test/java/com/google/gson/JsonArrayTest.java @@ -105,7 +105,7 @@ public void testDeepCopy() { assertEquals(1, origina...
JavaDoc bug in JsonArray and JsonElement classes The JavaDoc description of `getAsDouble` method in `JsonArray` and `JsonElement` classes states that the method throws “_ClassCastException if the element is of not a JsonPrimitive and is not a valid double value_.” However, it actually throws an `UnsupportedOperationExc...
null
2022-08-20 13:48:43+00:00
Java
From polybench_java_base WORKDIR /testbed COPY . . RUN find /testbed -path "*/target/surefire-reports/TEST-*.xml" -delete; export JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto.x86_64/ && update-alternatives --set java /usr/lib/jvm/java-11-amazon-corretto.x86_64/bin/java && mvn clean verify -am -Dtest=JsonPrimitiveTest...
['com.google.gson.functional.JsonArrayTest.testCharPrimitiveAddition', 'com.google.gson.JsonPrimitiveTest.testEqualsDoesNotEquateStringAndNonStringTypes', 'com.google.gson.JsonPrimitiveTest.testFloatEqualsDouble', 'com.google.gson.JsonPrimitiveTest.testEquals', 'com.google.gson.JsonPrimitiveTest.testEqualsIntegerAndBig...
['com.google.gson.JsonPrimitiveTest.testAsNumber_Boolean', 'com.google.gson.JsonPrimitiveTest.testStringsAndChar', 'com.google.gson.JsonArrayTest.testGetAs_WrongArraySize']
[]
find /testbed -path "*/target/surefire-reports/TEST-*.xml" -delete; export JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto.x86_64/ && update-alternatives --set java /usr/lib/jvm/java-11-amazon-corretto.x86_64/bin/java && mvn clean verify -am -Dtest=JsonPrimitiveTest,JsonArrayTest -DfailIfNoTests=false -fae surefire-repo...
Bug Fix
false
false
false
true
18
3
21
false
false
["gson/src/main/java/com/google/gson/JsonArray.java->program->class_declaration:JsonArray", "gson/src/main/java/com/google/gson/JsonPrimitive.java->program->class_declaration:JsonPrimitive->method_declaration:Number_getAsNumber", "gson/src/main/java/com/google/gson/JsonArray.java->program->class_declaration:JsonArray->...
google/guava
3,191
google__guava-3191
['2467']
0cd4e9faa1360da4a343f84cb275d6eda0c5e732
"diff --git a/android/guava/src/com/google/common/base/CaseFormat.java b/android/guava/src/com/googl(...TRUNCATED)
"diff --git a/android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.jav(...TRUNCATED)
Test setValue(null) (both success and failure cases)
"We should add this to `MapEntrySetTester` so that all our collections benefit. This is similar to w(...TRUNCATED)
2018-06-28 15:42:23+00:00
Java
"From polybench_java_base\nWORKDIR /testbed\nCOPY . .\nRUN find /testbed -path \"*/target/surefire-r(...TRUNCATED)
"['com.google.common.collect.testing.testers.SetEqualsTester.testEquals_otherSetWithDifferentElement(...TRUNCATED)
['com.google.common.util.concurrent.FuturesTransformTest.testFutureGetThrowsFunctionException']
[]
"find /testbed -path \"*/target/surefire-reports/TEST-*.xml\" -delete; export JAVA_HOME=/usr/lib/jvm(...TRUNCATED)
Testing
false
true
false
false
21
0
21
false
false
"[\"android/guava/src/com/google/common/math/DoubleUtils.java->program->class_declaration:DoubleUtil(...TRUNCATED)
apache/rocketmq
7,563
apache__rocketmq-7563
['7562']
4791d9a1f1a7c39e005da15f228473c04eafd007
"diff --git a/broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java b/b(...TRUNCATED)
"diff --git a/proxy/src/test/java/org/apache/rocketmq/proxy/common/utils/FilterUtilTest.java b/proxy(...TRUNCATED)
"[Bug] Can not get the correct accumulation for consumer group.\n### Before Creating the Bug Report\(...TRUNCATED)
null
2023-11-15 13:05:23+00:00
Java
"From polybench_java_base\nWORKDIR /testbed\nCOPY . .\nRUN find /testbed -path \"*/target/surefire-r(...TRUNCATED)
[]
"['org.apache.rocketmq.proxy.common.utils.FilterUtilTest.testTagMatched', 'org.apache.rocketmq.proxy(...TRUNCATED)
[]
"find /testbed -path \"*/target/surefire-reports/TEST-*.xml\" -delete; export JAVA_HOME=/usr/lib/jvm(...TRUNCATED)
Bug Fix
false
false
false
true
2
1
3
false
false
"[\"broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java->program->cla(...TRUNCATED)
google/gson
2,376
google__gson-2376
['1219']
77b566ced0127baf8d9ebf071b50c0f36e296538
"diff --git a/Troubleshooting.md b/Troubleshooting.md\n--- a/Troubleshooting.md\n+++ b/Troubleshooti(...TRUNCATED)
"diff --git a/gson/src/test/java/com/google/gson/reflect/TypeTokenTest.java b/gson/src/test/java/com(...TRUNCATED)
"Don't silently ignore missing type information from `TypeTokens`.\nI'm active on Stack Overflow, an(...TRUNCATED)
"@eamonnmcmanus, can this please be revisited (maybe using the original code from #2072) in one of t(...TRUNCATED)
2023-04-16 13:48:42+00:00
Java
"From polybench_java_base\nWORKDIR /testbed\nCOPY . .\nRUN find /testbed -path \"*/target/surefire-r(...TRUNCATED)
"['com.google.gson.reflect.TypeTokenTest.testTypeTokenRaw', 'com.google.gson.reflect.TypeTokenTest.t(...TRUNCATED)
['com.google.gson.reflect.TypeTokenTest.testTypeTokenTypeVariable']
[]
"find /testbed -path \"*/target/surefire-reports/TEST-*.xml\" -delete; export JAVA_HOME=/usr/lib/jvm(...TRUNCATED)
Bug Fix
false
false
false
true
4
1
5
false
false
"[\"shrinker-test/src/main/java/com/example/ClassWithJsonAdapterAnnotation.java->program->class_decl(...TRUNCATED)
apache/dubbo
3,317
apache__dubbo-3317
['2423', '2423']
d27fb1f5aa46706a52f63b336932dc24ab95b82f
"diff --git a/dubbo-common/src/main/java/org/apache/dubbo/common/utils/NetUtils.java b/dubbo-common/(...TRUNCATED)
"diff --git a/dubbo-registry/dubbo-registry-multicast/src/test/java/org/apache/dubbo/registry/multic(...TRUNCATED)
"Multicast demo fails with message \"Can't assign requested address\"\n- [x] I have searched the [is(...TRUNCATED)
"This is because there are multiple network interfaces in my macOS, both for ipv4 and ipv6:\n\n```\n(...TRUNCATED)
2019-01-23 08:52:33+00:00
Java
"From polybench_java_base\nWORKDIR /testbed\nCOPY . .\nRUN find /testbed -path \"*/target/surefire-r(...TRUNCATED)
[]
"['org.apache.dubbo.registry.multicast.MulticastRegistryTest.testSubscribe', 'org.apache.dubbo.regis(...TRUNCATED)
[]
"find /testbed -path \"*/target/surefire-reports/TEST-*.xml\" -delete; export JAVA_HOME=/usr/lib/jvm(...TRUNCATED)
Bug Fix
false
false
false
true
5
2
7
false
false
"[\"dubbo-registry/dubbo-registry-multicast/src/main/java/org/apache/dubbo/registry/multicast/Multic(...TRUNCATED)
google/gson
2,214
google__gson-2214
['1007']
28609089faa747f2ad5730281c14093ab40d6fda
"diff --git a/gson/src/main/java/com/google/gson/GsonBuilder.java b/gson/src/main/java/com/google/gs(...TRUNCATED)
"diff --git a/gson/src/test/java/com/google/gson/GsonBuilderTest.java b/gson/src/test/java/com/googl(...TRUNCATED)
"Excluder rejects field when version exceeds or is equal to version in @Until\nBased on [this Stack (...TRUNCATED)
It happened to me as well...
2022-10-02 18:09:15+00:00
Java
"From polybench_java_base\nWORKDIR /testbed\nCOPY . .\nRUN find /testbed -path \"*/target/surefire-r(...TRUNCATED)
"['com.google.gson.functional.VersioningTest.testVersionedUntilDeserialization', 'com.google.gson.fu(...TRUNCATED)
['com.google.gson.GsonBuilderTest.testSetVersionInvalid']
[]
"find /testbed -path \"*/target/surefire-reports/TEST-*.xml\" -delete; export JAVA_HOME=/usr/lib/jvm(...TRUNCATED)
Bug Fix
false
false
false
true
3
1
4
false
false
"[\"gson/src/main/java/com/google/gson/internal/Excluder.java->program->class_declaration:Excluder->(...TRUNCATED)
End of preview. Expand in Data Studio

SWE-PolyBench

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:

Javascript: 1017

Typescript: 729

Python: 199

Java: 165

Datasets

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.

Leaderboard

We evaluated several open source coding agents/models on this dataset and report them in our leaderboard.

Submit

To submit your predictions on this dataset, please follow this README

Languages

The text of the dataset is primarily English.

Dataset Structure

An example row from the dataset includes the following columns:

instance_id: (str) - A formatted instance identifier, usually as repo_owner__repo_name-PR-number.
patch: (str) - The gold patch, the patch generated by the PR (minus test-related code), that resolved the issue.
repo: (str) - The repository owner/name identifier from GitHub.
base_commit: (str) - The commit hash of the repository representing the HEAD of the repository before the solution PR is applied.
hints_text: (str) - Comments made on the issue prior to the creation of the solution PR’s first commit creation date.
created_at: (str) - The creation date of the pull request.
test_patch: (str) - A test-file patch that was contributed by the solution PR.
problem_statement: (str) - The issue title and body.
F2P: (str) - A json list of strings that represent the set of tests resolved by the PR and tied to the issue resolution.
P2P: (str) - A json list of strings that represent tests that should pass before and after the PR application.
language: (str) - The programming language
Dockerfile: (str) - The instance level dockerfile
test_command: (str) - The test command used to get F2P and P2P
task_category: (str) - The problem classification (Bug Fix, Refactoring, Feature)
is_no_nodes: (bool) - Helpful info for evaluating retrieval metrics
is_func_only: (bool) - Helpful info for evaluating retrieval metrics
is_class_only: (bool) - Helpful info for evaluating retrieval metrics
is_mixed: (bool) - Helpful info for evaluating retrieval metrics
num_func_changes: (int) - Helpful info for evaluating retrieval metrics
num_class_changes: (int) - Helpful info for evaluating retrieval metrics
num_nodes: (int) - Helpful info for evaluating retrieval metrics
is_single_func: (bool) - Helpful info for evaluating retrieval metrics
is_single_class: (bool) - Helpful info for evaluating retrieval metrics
modified_nodes: (bool) - Helpful info for evaluating retrieval metrics

Citation

If you find our work useful please cite:

@misc{rashid2025swepolybenchmultilanguagebenchmarkrepository,
      title={SWE-PolyBench: A multi-language benchmark for repository level evaluation of coding agents}, 
      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},
      year={2025},
      eprint={2504.08703},
      archivePrefix={arXiv},
      primaryClass={cs.SE},
      url={https://arxiv.org/abs/2504.08703}, 
}
Downloads last month
1,130

Collection including AmazonScience/SWE-PolyBench

Paper for AmazonScience/SWE-PolyBench