Dataset Viewer
Auto-converted to Parquet Duplicate
base_commit
stringlengths
40
40
created_at
stringdate
2015-04-05 18:18:17
2025-09-05 13:38:04
image_name
stringlengths
41
89
instance_id
stringlengths
11
59
interface
stringlengths
33
6.27k
language
stringclasses
15 values
license
stringclasses
11 values
patch
stringlengths
275
32k
pr_description
stringlengths
0
5k
problem_statement
stringlengths
21
21.7k
repo
stringlengths
6
55
test_patch
stringlengths
205
31.4k
FAIL_TO_PASS
listlengths
1
28.7k
PASS_TO_PASS
listlengths
0
24.2k
install_config
dict
meta
dict
db0bbaa5c604fd8efdd4618de47d4c1205097ce5
2020-07-03 10:55:29
docker.io/swerebenchv2/filecoin-project-specs-actors:592-db0bbaa
filecoin-project__specs-actors-592
Method: Actor.AddBalance(rt Runtime, providerOrClientAddress *addr.Address) *adt.EmptyValue Location: actors/builtin/market/market_actor.go Inputs: - rt: Runtime providing execution context, including the message value received. - providerOrClientAddress: *addr.Address of the provider or client whose escrow balance is...
go
custom-check-github
diff --git a/actors/builtin/market/market_actor.go b/actors/builtin/market/market_actor.go index 48ceeb2e..dc06f931 100644 --- a/actors/builtin/market/market_actor.go +++ b/actors/builtin/market/market_actor.go @@ -118,11 +118,15 @@ func (a Actor) WithdrawBalance(rt Runtime, params *WithdrawBalanceParams) *adt.E // ...
Add balance should not be called with negative value Closes #591
Market: AddBalance should fail on being passed a negative amount Currently, this would work.
filecoin-project/specs-actors
diff --git a/actors/builtin/market/market_test.go b/actors/builtin/market/market_test.go index d94fa03c..ec8bd074 100644 --- a/actors/builtin/market/market_test.go +++ b/actors/builtin/market/market_test.go @@ -126,6 +126,19 @@ func TestMarketActor(t *testing.T) { } }) + t.Run("fails when called with negative...
[ "TestMarketActor", "TestMarketActor/AddBalance", "TestMarketActor/AddBalance/fails_when_called_with_negative_value" ]
[ "TestPieceSize", "TestBitFieldUnset", "TestBitFieldContains", "TestSectorSizeString", "TestSectorSizeShortString", "TestBigIntSerializationRoundTrip", "TestNewInt", "TestInt_MarshalUnmarshalJSON", "TestOperations", "TestOperations/Sum", "TestOperations/Sub", "TestOperations/Mul", "TestOperat...
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.19.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
b4d790dd57b324c20ea9031b4769ba4d75ecd691
2025-02-24 20:09:20
docker.io/swerebenchv2/aws-cloudformation-cfn-lint:3965-b4d790d
aws-cloudformation__cfn-lint-3965
No new interfaces are introduced.
python
MIT-0
diff --git a/src/cfnlint/rules/functions/RefFormat.py b/src/cfnlint/rules/functions/RefFormat.py index c734e6403..64a9b651b 100644 --- a/src/cfnlint/rules/functions/RefFormat.py +++ b/src/cfnlint/rules/functions/RefFormat.py @@ -8,6 +8,7 @@ from __future__ import annotations from copy import deepcopy from typing impo...
Ignore custom resource Ref *Issue #, if available:* fix #3964 *Description of changes:* - Update E1041 to ignore custom resources when using a Ref By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
aws::ec2::networkinterface E1041 bug ### CloudFormation Lint Version 1.25.1 ### What operating system are you using? windows ### Describe the bug [cfn-lint] E1041: {'Ref': 'EniSg'} does not match destination format of 'AWS::EC2::SecurityGroup.Id' the custom function finds the SG Id and returns it for a !Ref in o...
aws-cloudformation/cfn-lint
diff --git a/test/unit/rules/functions/test_ref_format.py b/test/unit/rules/functions/test_ref_format.py index 9e13087c0..5c7b26013 100644 --- a/test/unit/rules/functions/test_ref_format.py +++ b/test/unit/rules/functions/test_ref_format.py @@ -21,6 +21,7 @@ def template(): "Resources": { "MyBucke...
[ "test/unit/rules/functions/test_ref_format.py::test_validate[Valid" ]
[ "test/unit/rules/functions/test_ref_format.py::test_validate[Invalid" ]
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
41a48da66062b4e948ef1f6ce5183d2752304ecf
2015-04-08 12:07:19
docker.io/swerebenchv2/mozilla-services-cliquet:203-41a48da
mozilla-services__cliquet-203
Function: initialize(config, version=None, project_name=None, default_settings=None) Location: cliquet/__init__.py Inputs: - **config**: a `Configurator` instance whose `add_settings` and `get_settings` methods are used. - **version** *(optional)*: string specifying the application version. - **project_name** *(option...
python
custom-check-github
diff --git a/cliquet/__init__.py b/cliquet/__init__.py index 2392479f..4ed489ed 100644 --- a/cliquet/__init__.py +++ b/cliquet/__init__.py @@ -301,7 +301,7 @@ def initialize_cliquet(*args, **kwargs): initialize(*args, **kwargs) -def initialize(config, version=None, project_name=None): +def initialize(config, v...
Provide default settings in initialize (fixes #136)
Provide extra default settings in initialize_cliquet In order to extend and override cliquet default settings in applications.
mozilla-services/cliquet
diff --git a/cliquet/tests/test_initialization.py b/cliquet/tests/test_initialization.py index 6b4b1496..22a7c4b4 100644 --- a/cliquet/tests/test_initialization.py +++ b/cliquet/tests/test_initialization.py @@ -59,6 +59,12 @@ class InitializationTest(unittest.TestCase): self.assertEqual(config.registry.setting...
[ "cliquet/tests/test_initialization.py::InitializationTest::test_overriden_default_settings" ]
[ "cliquet/tests/test_initialization.py::InitializationTest::test_environment_values_override_configuration", "cliquet/tests/test_initialization.py::InitializationTest::test_fails_if_no_version_is_specified", "cliquet/tests/test_initialization.py::InitializationTest::test_fails_if_specified_version_is_not_string"...
{ "base_image_name": "python_base_37", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
c5a300a4357d40d202f92dd08894ea520f2ade3f
2025-02-08 09:28:44
docker.io/swerebenchv2/sissbruecker-linkding:984-c5a300a
sissbruecker__linkding-984
No new interfaces are introduced.
python
MIT
diff --git a/bookmarks/templates/bookmarks/head.html b/bookmarks/templates/bookmarks/head.html index b28a1ca..c83d16e 100644 --- a/bookmarks/templates/bookmarks/head.html +++ b/bookmarks/templates/bookmarks/head.html @@ -36,5 +36,8 @@ {% if not request.global_settings.enable_link_prefetch %} <meta name="turbo-p...
Add RSS link to shared bookmarks page Closes #879
[New feature] Add a link to public RSS from public bookmarks page Hello! This is my first issue. I recently set up a public page with shared bookmarks and invited friends to follow my public RSS, but then I realized that the public RSS URL is only available in settings. I think it should be possible for a user looki...
sissbruecker/linkding
diff --git a/bookmarks/tests/test_bookmark_archived_view.py b/bookmarks/tests/test_bookmark_archived_view.py index 040a5f8..e6d92fb 100644 --- a/bookmarks/tests/test_bookmark_archived_view.py +++ b/bookmarks/tests/test_bookmark_archived_view.py @@ -503,3 +503,10 @@ class BookmarkArchivedViewTestCase( self.asse...
[ "bookmarks/tests/test_bookmark_shared_view.py::BookmarkSharedViewTestCase::test_includes_public_shared_rss_feed" ]
[ "bookmarks/tests/test_bookmark_archived_view.py::BookmarkArchivedViewTestCase::test_allowed_bulk_actions", "bookmarks/tests/test_bookmark_archived_view.py::BookmarkArchivedViewTestCase::test_allowed_bulk_actions_with_sharing_enabled", "bookmarks/tests/test_bookmark_archived_view.py::BookmarkArchivedViewTestCase...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
95b2de37ae7ea2cde50b23dfd657938a4cf60d25
2023-11-27 19:02:52
docker.io/swerebenchv2/pytest-dev-pyfakefs:916-95b2de3
pytest-dev__pyfakefs-916
Method: FakeOsModule.walk(self, top, topdown=True, onerror=None, followlinks=False) Location: pyfakefs/fake_os.py (exposed through the FakeOsModule instance as ``os``) Inputs: - **top** – a path‑like object (str or ``pathlib.Path``) designating the directory to walk. - **topdown** (bool, default True) – traversal orde...
python
Apache-2.0
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b9ae289..de4595e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,7 +45,7 @@ repos: - flake8-bugbear args: ["--extend-ignore=E203", "--max-line-length=88"] - repo: https://github.com/pre-commit/mirrors-m...
Fix result of os.walk with a path-like top directory - used to return a Path object for the top dir instead of a string - fixes #915 #### Tasks - [x] Unit tests added that reproduce the issue or prove feature is working - [x] Fix or feature added - [x] Entry to release notes added - [x] Pre-commit CI shows no e...
FakeOsModule.walk return a (Path, list, list) generator instead of a (str, list, list) when a pathlib object is used as input **Describe the bug** method FakeOsModule.walk of <pyfakefs.fake_os.FakeOsModule> is returning a Path object as first element instead of a string as the os.walk method do. **How To Reproduce*...
pytest-dev/pyfakefs
diff --git a/pyfakefs/tests/fake_pathlib_test.py b/pyfakefs/tests/fake_pathlib_test.py index 81ebdfd..15bb7a0 100644 --- a/pyfakefs/tests/fake_pathlib_test.py +++ b/pyfakefs/tests/fake_pathlib_test.py @@ -1139,6 +1139,18 @@ class FakePathlibUsageInOsFunctionsTest(RealPathlibTestCase): with self.assertRaises(No...
[ "pyfakefs/tests/fake_pathlib_test.py::FakePathlibUsageInOsFunctionsTest::test_walk" ]
[ "pyfakefs/tests/fake_pathlib_test.py::FakePathlibInitializationTest::test_init_collapse", "pyfakefs/tests/fake_pathlib_test.py::FakePathlibInitializationTest::test_init_with_segments", "pyfakefs/tests/fake_pathlib_test.py::FakePathlibInitializationTest::test_initialization_type", "pyfakefs/tests/fake_pathlib_...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
b2dc1f70fc5c9f4da81983b1ecda66486263c872
2023-03-23 18:40:36
docker.io/swerebenchv2/awslabs-aws-ddk:284-b2dc1f7
awslabs__aws-ddk-284
No new interfaces are introduced.
ts
Apache-2.0
diff --git a/src/config/configurator.ts b/src/config/configurator.ts index 48739bc..fc0f8ab 100644 --- a/src/config/configurator.ts +++ b/src/config/configurator.ts @@ -116,7 +116,9 @@ class ConfiguratorAspect implements cdk.IAspect { node.addPropertyOverride(this.propertyName, this.propertyValue); } - ...
feat: configuration by resource ids ### Relates - Closes #278 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Configurator doesnt work as expected when using resource-ids ### Describe the bug Configurator has 2 ways of working with either resource ids or globally using service like AWS::Lambda::Function. The former is needed to ensure each instance of resource can be given distinctive attributes if needed. Currently if resour...
awslabs/aws-ddk
diff --git a/test/config.test.ts b/test/config.test.ts index 285bf47..375b121 100644 --- a/test/config.test.ts +++ b/test/config.test.ts @@ -1,10 +1,11 @@ import { assert } from "console"; import path from "path"; import * as cdk from "aws-cdk-lib"; -import { Template } from "aws-cdk-lib/assertions"; +import { Match...
[ "Config Override By Id" ]
[ "KMS Defaults", "S3EventStage created the event pattern without a prefix", "S3EventStage created the event pattern with a prefix", "S3EventStage created the event pattern with a list of prefixes", "S3EventStage created the event pattern with multiple buckets", "S3EventStage created the event pattern for m...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "export DEBIAN_FRONTEND=noninteractive", "npm ci" ], "log_parser": "parse_log_js_4", "test_cmd": "npx jest --no-color --verbose" }
{ "llm_metadata": { "code": "A", "confidence": 0.95, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
89add66178d8b276fa5b50bf58e23d0894054686
2020-04-20 21:47:12
docker.io/swerebenchv2/amzn-ion-java:289-89add66
amzn__ion-java-289
No new interfaces are introduced.
java
Apache-2.0
diff --git a/src/com/amazon/ion/impl/IonWriterSystemText.java b/src/com/amazon/ion/impl/IonWriterSystemText.java index 0e78e95c..f577c26e 100644 --- a/src/com/amazon/ion/impl/IonWriterSystemText.java +++ b/src/com/amazon/ion/impl/IonWriterSystemText.java @@ -366,6 +366,9 @@ class IonWriterSystemText Symbol...
Adds a space after a fieldname's colon when pretty-printing Resolves #288 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
When pretty-printing, add a space immediately after fieldname: Currently, pretty-printing {total:dollars::45} produces: ``` { total:dollars::45 } ``` This becomes more readable if a space is added after total:, as in: ``` { total: dollars::45 } ```
amzn/ion-java
diff --git a/test/com/amazon/ion/impl/IonMarkupWriterTest.java b/test/com/amazon/ion/impl/IonMarkupWriterTest.java index b84d7a7d..f7067d05 100644 --- a/test/com/amazon/ion/impl/IonMarkupWriterTest.java +++ b/test/com/amazon/ion/impl/IonMarkupWriterTest.java @@ -54,7 +54,7 @@ public class IonMarkupWriterTest extends Io...
[ "com.amazon.ion.impl.IonMarkupWriterTest" ]
[ "com.amazon.ion.impl.IonReaderBinaryRawLargeStreamTest", "com.amazon.ion.impl.IonImplUtilsTest", "com.amazon.ion.impl.BinaryWriterWithLocalSymtabsTest", "com.amazon.ion.impl.CharacterReaderTest", "com.amazon.ion.impl.ByteBufferTest", "com.amazon.ion.impl.UnifiedInputStreamXTest", "com.amazon.ion.impl.It...
{ "base_image_name": "java_11", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "jav...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
7cf9ba361be9822e92989476c5fb690351481a3a
2024-10-20 06:22:13
docker.io/swerebenchv2/cogent3-cogent3:2050-7cf9ba3
cogent3__cogent3-2050
Function: split_name_and_support(name_field: str | None) -> tuple[str | None, float | None] Location: cogent3.core.tree module Inputs: - **name_field** – a string (or None) representing the Newick name field; may be empty, contain only a support value (e.g., `"24"`), only a name (e.g., `"edge.98"`), or a name and supp...
python
BSD-3-Clause
diff --git a/src/cogent3/core/tree.py b/src/cogent3/core/tree.py index 3df647b30..d12319495 100644 --- a/src/cogent3/core/tree.py +++ b/src/cogent3/core/tree.py @@ -27,6 +27,7 @@ Definition of relevant terms or abbreviations: from __future__ import annotations +import contextlib import json import numbers impor...
ENH: add function to split the internal name field in newick into name and support value, fixes #2045 #2045 ## Summary by Sourcery Add a new function to split internal node name fields in Newick format into separate name and support values, and implement corresponding tests to ensure correct functionality. New Featu...
ENH: extend support for bootstrap values from newick strings `cogent3` stores support values (e.g. from a bootstrap) as `<phylonode>.params["support"]` entry. This information is also stored in some versions of newick strings. For example, IQTree uses `((a,b)##:0.1,..` and `((a,b)node_name/##:0.1,..` where `##` is an i...
cogent3/cogent3
diff --git a/tests/test_core/test_tree.py b/tests/test_core/test_tree.py index c05b8d42a..cca1f4342 100644 --- a/tests/test_core/test_tree.py +++ b/tests/test_core/test_tree.py @@ -14,7 +14,8 @@ from numpy.testing import assert_allclose, assert_equal from cogent3 import load_tree, make_tree, open_ from cogent3._ver...
[ "tests/test_core/test_tree.py::TreeTests::test_make_tree", "tests/test_core/test_tree.py::TreeNodeTests::test_Parent", "tests/test_core/test_tree.py::TreeNodeTests::test_ancestors", "tests/test_core/test_tree.py::TreeNodeTests::test_append", "tests/test_core/test_tree.py::TreeNodeTests::test_bifurcating", ...
[]
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
bdc38f8e7c7a717b408bb520f62708510bc81fd4
2020-07-01 07:21:19
docker.io/swerebenchv2/opengovsg-gogovsg:241-bdc38f8
opengovsg__gogovsg-241
Method: UrlSearchService.search(query: string, options?: { page?: number; sortOrder?: SearchResultsSortOrder }) Location: src/server/services/UrlSearchService.ts Inputs: - **query** *(string)* – the search term entered by the user. - **options.page** *(number, optional)* – pagination offset; defaults to the first p...
ts
custom-check-github
diff --git a/src/server/api/index.ts b/src/server/api/index.ts index 0452e11a..18133ad5 100644 --- a/src/server/api/index.ts +++ b/src/server/api/index.ts @@ -1,5 +1,6 @@ import Express from 'express' import jsonMessage from '../util/json' +import { ERROR_404_PATH } from '../constants' const router = Express.Route...
fix: remove unnecessary info from search api ## Problem The search API returns some properties that are unnecessary for search. [Closes #235] ## Solution Change the api such that only info necessary are returned. i.e `shortUrl`, `longUrl`, `description`, `contactEmail`.
Remove unnecessary info from search API **Describe the bug** Remove `createdAt` and `updatedAt` from search results as these are not crucial to display.
opengovsg/GoGovSG
diff --git a/test/server/services/UrlSearchService.test.ts b/test/server/services/UrlSearchService.test.ts index 7b2cfebb..b0b4e8c5 100644 --- a/test/server/services/UrlSearchService.test.ts +++ b/test/server/services/UrlSearchService.test.ts @@ -1,9 +1,6 @@ import { UrlSearchService } from '../../../src/server/servic...
[ "Should return results from repository with clicks stripped" ]
[ "should return domain name", "should correctly identify facebook bots", "example mac user agent", "example mobile safari user agent", "file with many dots", "normal file", "no extensions", "no type", "with type", "one is 1", "ten is 10", "hundred is 100", "hundreds does not round up to thous...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm ci" ], "log_parser": "parse_log_js_4", "test_cmd": "npm test -- --verbose --no-colors" }
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
a93cf5e54e6d53523c823cc304d29d290870b31b
2020-11-10 01:48:11
docker.io/swerebenchv2/robsontenorio-vue-api-query:148-a93cf5e
robsontenorio__vue-api-query-148
Method: Builder.include(...relationships) Location: src/Builder.js → class Builder Inputs: one or more string relationship names, or a single array of strings; each string must be a valid relationship identifier. Outputs: returns the Builder instance (self) with its `includes` property set to the provided list of re...
js
MIT
diff --git a/docs/content/en/api/query-builder-methods.md b/docs/content/en/api/query-builder-methods.md index f2ed7ad..502aac9 100644 --- a/docs/content/en/api/query-builder-methods.md +++ b/docs/content/en/api/query-builder-methods.md @@ -15,6 +15,14 @@ Eager load relationships. await Model.include('user', 'category...
feat(builder): accept array for `include`, `append` and `orderBy` Accept array of strings for `include`, `append` and `orderBy`. Closes #140
orderBy to accept array of strings instead In the documents, it says: `await Model.orderBy('-created_at', 'category_id') ` is it possible to somehow pass an array of strings as the args?
robsontenorio/vue-api-query
diff --git a/tests/builder.test.js b/tests/builder.test.js index 5a83e55..3676b56 100644 --- a/tests/builder.test.js +++ b/tests/builder.test.js @@ -64,6 +64,10 @@ describe('Query builder', () => { post = Post.include('user', 'category') expect(post._builder.includes).toEqual(['user', 'category']) + + po...
[ "include() sets properly the builder", "append() sets properly the builder", "orderBy() sets properly the builder" ]
[ "it throws an error if $http property has not been set", "it throws an error if baseURL() method was not declared", "it throws an error if request() method was not declared", "the resource() method pluralizes the class name", "the resource() method can be overrided", "the primaryKey() method can be overri...
{ "base_image_name": "node_16", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
da739ee708279defa9642e91139b0146260862ac
2023-09-27 18:58:03
docker.io/swerebenchv2/cockroachdb-pebble:2949-da739ee
cockroachdb__pebble-2949
Function: ErrCancelledCompaction Location: package pebble Inputs: none Outputs: error – a sentinel error value indicating that a compaction was cancelled by a concurrent excise or ingest‑split operation. Callers can compare using errors.Is(err, pebble.ErrCancelledCompaction). Description: Exported error introduced to a...
go
BSD-3-Clause
diff --git a/compaction.go b/compaction.go index 530e160b..47abc977 100644 --- a/compaction.go +++ b/compaction.go @@ -32,7 +32,10 @@ import ( ) var errEmptyTable = errors.New("pebble: empty table") -var errCancelledCompaction = errors.New("pebble: compaction cancelled by a concurrent operation, will retry compacti...
metamorphic: Ignore ErrCancelledCompaction in background errors Previously, if we cancelled a compaction due to an excise or ingest-split, the resultant error would error out the metamorphic test as it wasn't ignored in the metamorphic test's EventListener. This change updates the ignore rule in the metamorphic test...
metamorphic: TestMeta failed [compaction cancelled by a concurrent operation] I think the metamorphic tests need to be adjusted to tolerate background errors. ``` === NAME TestMeta/execution/random-005 meta.go:218: ===== SEED ===== 1695839048661996000 ===== ERR ===== exit ...
cockroachdb/pebble
diff --git a/metamorphic/test.go b/metamorphic/test.go index f1ec3794..90d2d27b 100644 --- a/metamorphic/test.go +++ b/metamorphic/test.go @@ -73,7 +73,7 @@ func (t *test) init(h *history, dir string, testOpts *TestOptions) error { // difference between in-memory and on-disk which causes different code paths // and...
[ "TestMeta", "TestMeta/execution", "TestMeta/execution/random-000", "TestMeta/execution/standard-019", "TestMeta/execution/random-026", "TestMeta/execution/standard-022", "TestMeta/execution/standard-007", "TestMeta/execution/random-017", "TestMeta/execution/random-002", "TestMeta/execution/standar...
[]
{ "base_image_name": "go_1.21.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
End of preview. Expand in Data Studio

SWE-rebench-V2-Filtered-Easy-Verified

GitHub

Easy slice of PrimeIntellect/SWE-rebench-V2-Filtered-Verified: rows whose upstream LLM-judge difficulty is easy (implementation-time estimate < 15 min). Useful as a lower-variance starting pool for RL curricula.

Changes vs upstream

  • Pure slice of the Filtered-Verified set — it inherits every filter and verification pass from the parent (see its card), including the pass-2 flaky removal, no-edit pass, and repo/image blocklists that the earlier standalone -Easy-Clean derivation lacked.
  • image_name carries the raw upstream Docker Hub source ref (docker.io/swerebenchv2/<name>:<tag>): since the platform's 2026-07-15 org-less image migration (ENG-4518), source refs resolve natively on Prime, so no registry rewrite is needed. (The parent still temporarily carries prime/primeintellect/... refs for prod-training compatibility; any such ref is mapped back to its source form here.)

License mirrors upstream: CC-BY-4.0.

Splits

Split Rows
train see parent slice at build time

How to use

Install the swerebench_v2_v1 taskset from research-environments, then run it end-to-end with verifiers:

uv pip install --prerelease=allow "git+https://github.com/PrimeIntellect-ai/research-environments.git#subdirectory=environments/swe/swerebench_v2_v1"
uv run eval --taskset.id swerebench_v2_v1 -m <your-model> -n 100 -r 4

Generation

Reproduction script — swe-rebench-v2-filtered-easy-verified.py

This dataset was created by running:

uv run datasets/swe-rebench-v2-filtered-easy-verified.py -H
# swe-rebench-v2-filtered-easy-verified.py
"""Derive the easy slice of `PrimeIntellect/SWE-rebench-V2-Filtered-Verified`.

Rows whose upstream LLM-judge ``meta.llm_metadata.difficulty`` is ``"easy"``
(implementation-time estimate < 15 min). A pure slice of the already
filtered-and-verified parent, so it inherits every gate from
``swe-rebench-v2-filtered-verified.py`` — including the pass-2 flaky
removal, the no-edit pass, and the repo/image blocklists that the earlier
standalone ``SWE-rebench-V2-Easy-Clean`` derivation (prime-data PR #21,
closed unmerged) lacked.

One transform on top of the slice: ``image_name`` is mapped back to the raw
upstream Docker Hub source ref (``prime/primeintellect/<name>:<tag>`` →
``docker.io/swerebenchv2/<name>:<tag>``). Since the platform's 2026-07-15
org-less image migration (ENG-4518), source refs resolve natively on Prime,
so no registry rewrite is needed. The parent dataset still temporarily
carries the ``prime/primeintellect/`` rewrite for prod-training
compatibility (until its 6,275 images finish transferring to the platform
registry); once the parent is reverted to source refs too, this mapping
becomes a no-op.
"""

# /// script
# requires-python = ">=3.12"
# dependencies = ["datasets>=4.0.0", "jinja2"]
# ///
import argparse
import sys
from pathlib import Path
from typing import cast

from huggingface_hub import create_repo, whoami

from datasets import Dataset, load_dataset

SOURCE_REPO = "PrimeIntellect/SWE-rebench-V2-Filtered-Verified"

_PRIME_PREFIX = "prime/primeintellect/"
_SOURCE_PREFIX = "docker.io/swerebenchv2/"


def _restore_source_image_ref(image_name: str) -> str:
    # Undo the parent's prime-registry rewrite; no-op for refs already in
    # source form (i.e. once the parent itself is reverted to source refs).
    if image_name.startswith(_PRIME_PREFIX):
        return _SOURCE_PREFIX + image_name[len(_PRIME_PREFIX) :]
    return image_name


def _swe_card(key: str):
    """Build this dataset's card from the shared SWE card registry (swe_cards.py)."""
    sys.path.insert(0, str(Path(__file__).resolve().parent))
    from swe_cards import build_card

    return build_card(key)


def _is_easy(example: dict) -> bool:
    llm = (example.get("meta") or {}).get("llm_metadata") or {}
    return llm.get("difficulty") == "easy"


def prepare_data(source_repo: str) -> Dataset:
    ds = cast(Dataset, load_dataset(source_repo, split="train"))
    n_before = len(ds)
    easy = ds.filter(_is_easy, num_proc=8)
    print(f"Kept {len(easy):,} / {n_before:,} rows with difficulty == easy")
    return easy.map(
        lambda ex: {"image_name": _restore_source_image_ref(ex["image_name"])},
        num_proc=8,
        load_from_cache_file=False,
    )


def main(repo_name: str, push_to_hub: bool, private: bool, source_repo: str) -> None:
    print(f"⚙️ Slicing {source_repo} to difficulty == easy")
    dataset = prepare_data(source_repo)

    card = _swe_card("swe-rebench-v2-filtered-easy-verified")

    if push_to_hub:
        create_repo(repo_name, private=private, repo_type="dataset", exist_ok=True)
        card.push_to_hub(repo_name, repo_type="dataset")
        dataset.push_to_hub(repo_name, private=private)
        print(f"✅ Pushed dataset to https://huggingface.co/datasets/{repo_name}")
    else:
        print("ℹ️  Skipped pushing to HF Hub. To push, use the `--push-to-hub` or `-H` flag.")


def check_write_access(org: str):
    is_authed = False
    try:
        info = whoami()
        token = info["auth"]["accessToken"]["displayName"]
        for entity in info["auth"]["accessToken"]["fineGrained"]["scoped"]:
            if entity["entity"]["name"] == org and "repo.write" in entity["permissions"]:
                is_authed = True
    except Exception:
        raise ValueError("❌ You are not logged in. Please run `hf auth login` or `export HF_TOKEN=...`")
    if not is_authed:
        raise ValueError(f"❌ Your current token `{token}` does not have write access to `{org}`")
    print(f"✅ Confirmed write access with token `{token}` to `{org}`")


if __name__ == "__main__":
    parser = argparse.ArgumentParser()
    parser.add_argument(
        "--username", "-U", default="PrimeIntellect", type=str, help="The username to push the dataset to."
    )
    parser.add_argument(
        "--dataset-name",
        "-D",
        default="SWE-rebench-V2-Filtered-Easy-Verified",
        type=str,
        help="The dataset name.",
    )
    parser.add_argument("--source-repo", "-S", default=SOURCE_REPO, type=str, help="The parent dataset to slice.")
    parser.add_argument("--push-to-hub", "-H", action="store_true", help="Whether to push the dataset to the hub.")
    parser.add_argument("--dataset-private", "-p", action="store_true", help="Whether to make the dataset private.")
    args = parser.parse_args()

    assert len(args.dataset_name.split("/")) == 1, "Dataset name must not include the username"
    if args.push_to_hub:
        check_write_access(args.username)

    main(
        repo_name=f"{args.username}/{args.dataset_name}",
        push_to_hub=args.push_to_hub,
        private=args.dataset_private,
        source_repo=args.source_repo,
    )

Original Dataset Card

Snapshot of the nebius/SWE-rebench-V2 card at card-build time — see the live card for updates.

Original nebius/SWE-rebench-V2 dataset card

SWE-rebench-V2

Dataset Summary

SWE-rebench-V2 is a curated dataset of software-engineering tasks derived from real GitHub issues and pull requests. The dataset contains 32,079 samples covering Python, Go, TypeScript, JavaScript, Rust, Java, PHP, Kotlin, Julia, Elixir, Scala, Swift, Dart, C, C++, C#, R, Clojure, OCaml, and Lua. For log parser functions, base Dockerfiles, and the prompts used, please see https://github.com/SWE-rebench/SWE-rebench-V2
The detailed technical report is available at “SWE-rebench V2: Language-Agnostic SWE Task Collection at Scale”.

Quick Start

from datasets import load_dataset

ds = load_dataset("nebius/SWE-rebench-V2", split="train")
print(len(ds))  # 32079

Dataset Structure

Field Type Description
instance_id string Unique identifier for the instance
repo string GitHub repository in owner/repo format
base_commit string Git commit SHA of the base before the fix
patch string The gold patch that resolves the issue
test_patch string Diff adding or modifying tests that verify the fix
problem_statement string Issue description the patch addresses
pr_description string Full pull request description
created_at int64 Unix timestamp (milliseconds) of the issue/PR creation
image_name string Docker image name used for the evaluation environment
language string Primary programming language of the repository
interface string Description of the code interface changed by the patch
license string SPDX license identifier of the repository
FAIL_TO_PASS list[string] Test IDs that fail before the patch and pass after
PASS_TO_PASS list[string] Test IDs that pass both before and after the patch
install_config struct Configuration needed to reproduce the test environment
meta struct Metadata and LLM-generated quality annotations

License

The dataset is licensed under the Creative Commons Attribution 4.0 license. However, please respect the license of each specific repository on which a particular instance is based. To facilitate this, the license of each repository at the time of the commit is provided for every instance.

Citation

@misc{badertdinov2026swerebenchv2languageagnosticswe,
      title={SWE-rebench V2: Language-Agnostic SWE Task Collection at Scale}, 
      author={Ibragim Badertdinov and Maksim Nekrashevich and Anton Shevtsov and Alexander Golubev},
      year={2026},
      eprint={2602.23866},
      archivePrefix={arXiv},
      primaryClass={cs.SE},
      url={https://arxiv.org/abs/2602.23866}, 
}

</details>
Downloads last month
21

Collection including PrimeIntellect/SWE-rebench-V2-Filtered-Easy-Verified

Paper for PrimeIntellect/SWE-rebench-V2-Filtered-Easy-Verified