Dataset Viewer
Auto-converted to Parquet Duplicate
repo
stringlengths
9
51
instance_id
stringlengths
15
56
base_commit
stringlengths
40
40
patch
stringlengths
313
54.4k
test_patch
stringlengths
398
59.4k
problem_statement
stringlengths
75
20.3k
hints_text
stringlengths
0
38.3k
created_at
stringdate
2025-01-03 00:43:09
2025-06-30 16:10:32
version
stringlengths
3
23
meta
dict
install_config
dict
FAIL_TO_PASS
sequencelengths
1
27
PASS_TO_PASS
sequencelengths
0
2.76k
environment_setup_commit
stringlengths
40
40
PennyLaneAI/pennylane
PennyLaneAI__pennylane-7671
32b5fd9f50a7226e649f9641eb40573fa6ce6bdd
diff --git a/doc/releases/changelog-dev.md b/doc/releases/changelog-dev.md index 949c355bc..6ec541d8e 100644 --- a/doc/releases/changelog-dev.md +++ b/doc/releases/changelog-dev.md @@ -742,6 +742,11 @@ Here's a list of deprecations made this release. For a more detailed breakdown o <h3>Bug fixes 🐛</h3> +* A bug i...
diff --git a/tests/ops/op_math/test_prod.py b/tests/ops/op_math/test_prod.py index 3eb5d3b90..98bec399d 100644 --- a/tests/ops/op_math/test_prod.py +++ b/tests/ops/op_math/test_prod.py @@ -1244,6 +1244,33 @@ class TestSimplify: simplified_op = prod_op.simplify() qml.assert_equal(simplified_op, final_o...
[BUG] `qml.simplify` does not handle products with global phases correctly ### Expected behavior `qml.simplify` returns outputs equivalent to its inputs. ### Actual behavior The example operator below is "simplified" into an in-equivalent operator by swallowing a global phase. ### Additional information Note that...
2025-06-13 10:18:30
0.41
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.11", "reqs_pat...
[ "tests/ops/op_math/test_prod.py::TestSimplify::test_grouping_with_equal_paulis_single_wire", "tests/ops/op_math/test_prod.py::TestSimplify::test_grouping_with_equal_paulis_two_wires" ]
[ "tests/ops/op_math/test_prod.py::test_basic_validity", "tests/ops/op_math/test_prod.py::TestInitialization::test_init_prod_op[foo]", "tests/ops/op_math/test_prod.py::TestInitialization::test_init_prod_op[bar]", "tests/ops/op_math/test_prod.py::TestInitialization::test_hash", "tests/ops/op_math/test_prod.py:...
32b5fd9f50a7226e649f9641eb40573fa6ce6bdd
SWE-agent/SWE-agent
SWE-agent__SWE-agent-1207
3f8944e7dc724e932ebfb59da20c07672cb946ad
diff --git a/sweagent/agent/agents.py b/sweagent/agent/agents.py index 9a535f9f..fa10bb93 100644 --- a/sweagent/agent/agents.py +++ b/sweagent/agent/agents.py @@ -107,7 +107,9 @@ class TemplateConfig(BaseModel): command_cancelled_timeout_template: str = ( "The command '{{command}}' was cancelled because...
diff --git a/tests/test_tools_command_parsing.py b/tests/test_tools_command_parsing.py new file mode 100644 index 00000000..139cdaac --- /dev/null +++ b/tests/test_tools_command_parsing.py @@ -0,0 +1,193 @@ +import pytest + +from sweagent.tools.commands import Argument, Command + + +def test_command_parsing_formats(): ...
Git commands do not seem to work on modal ### Describe the bug When using modal instances, if the agent tries to run certain git commands (eg `cd /testbed && git log --oneline -n 5`), it gets a timeout error (see logs), due to message `WARNING: terminal is not fully functional\r\nPress RETURN to continue` (interactive...
2025-06-12 22:43:14
1.1
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_git_commit_hash", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": null, "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.11", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --color=...
[ "tests/test_tools_command_parsing.py::test_argument_validation", "tests/test_tools_command_parsing.py::test_argument_name_patterns" ]
[ "tests/test_tools_command_parsing.py::test_command_parsing_formats", "tests/test_tools_command_parsing.py::test_signature_argument_consistency", "tests/test_tools_command_parsing.py::test_function_calling_tool_generation", "tests/test_tools_command_parsing.py::test_multiline_command", "tests/test_tools_comm...
3f8944e7dc724e932ebfb59da20c07672cb946ad
conan-io/conan
conan-io__conan-18444
5ca0501f378058c69a7e80673dd83ec3d1b11e75
diff --git a/conan/cli/commands/cache.py b/conan/cli/commands/cache.py index 1f1240caf..52abdb58b 100644 --- a/conan/cli/commands/cache.py +++ b/conan/cli/commands/cache.py @@ -187,5 +187,6 @@ def cache_backup_upload(conan_api: ConanAPI, parser, subparser, *args): """ Upload all the source backups present in ...
diff --git a/test/functional/tools/scm/test_git.py b/test/functional/tools/scm/test_git.py index 7e0a46d09..89f3c9a1d 100644 --- a/test/functional/tools/scm/test_git.py +++ b/test/functional/tools/scm/test_git.py @@ -1253,3 +1253,63 @@ class TestGitShallowTagClone: assert "pkg/0.1: URL: {}".format(url) in ...
[bug] git remote parsing fails in treeless clones ### Describe the bug When the local repository was cloned "treeless", then newer versions of git (tested with 2.43.0) add another token to the output of "git remote -v" that is then wrongly parsed in [conan/tools/scm/git.py#get_remote_url()](https://github.com/conan-io...
2025-06-10 15:18:18
2.17
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y python3 pip gcc" ], "python": "3.11",...
[ "test/functional/tools/scm/test_git.py::TestGitTreelessRemote::test_treeless_clone", "test/functional/tools/scm/test_git.py::TestGitTreelessRemote::test_treeless_clone_with_parenthesis" ]
[ "test/functional/tools/scm/test_git.py::TestGitBasicCapture::test_capture_commit_local", "test/functional/tools/scm/test_git.py::TestGitBasicCapture::test_capture_remote_url", "test/functional/tools/scm/test_git.py::TestGitBasicCapture::test_capture_remote_pushed_commit", "test/functional/tools/scm/test_git.p...
5ca0501f378058c69a7e80673dd83ec3d1b11e75
deepset-ai/haystack
deepset-ai__haystack-9527
67a8f1249be45422662d9e661bb558a9adde5e8c
diff --git a/haystack/core/super_component/super_component.py b/haystack/core/super_component/super_component.py index b13662e4..1e56bb3d 100644 --- a/haystack/core/super_component/super_component.py +++ b/haystack/core/super_component/super_component.py @@ -367,11 +367,13 @@ class _SuperComponent: :return: Di...
diff --git a/test/core/super_component/test_super_component.py b/test/core/super_component/test_super_component.py index 5adba29d..60a91a5c 100644 --- a/test/core/super_component/test_super_component.py +++ b/test/core/super_component/test_super_component.py @@ -266,6 +266,7 @@ class TestSuperComponent: assert...
Update `SuperComponent` to specify if Pipeline or AsyncPipeline should be used in `from_dict` Currently in SuperComponent, the `from_dict` method does not specify whether the component should be loaded using Pipeline or AsyncPipeline. It just always uses `Pipeline.from_dict`. We should update the internal logic so `to_...
coveralls: ## Pull Request Test Coverage Report for [Build 15709197968](https://coveralls.io/builds/74194905) ### Details * **0** of **0** changed or added relevant lines in **0** files are covered. * **1** unchanged line in **1** file lost coverage. * Overall coverage increased (+**0.002%**) to **90.145%** --- ...
2025-06-17 13:45:34
2.14
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e '.[dev]'", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio", "pytest" ], "pre_install": [ "apt-get update", "apt...
[ "test/core/super_component/test_super_component.py::TestSuperComponent::test_wrapper_serialization", "test/core/super_component/test_super_component.py::TestSuperComponent::test_super_component_async_serialization_deserialization" ]
[ "test/core/super_component/test_super_component.py::TestSuperComponent::test_split_component_path", "test/core/super_component/test_super_component.py::TestSuperComponent::test_split_component_path_error", "test/core/super_component/test_super_component.py::TestSuperComponent::test_invalid_input_mapping_type", ...
67a8f1249be45422662d9e661bb558a9adde5e8c
feder-observatory/stellarphot
feder-observatory__stellarphot-519
2c0714e45d0f4c4a20059fc670f316df70957085
diff --git a/pyproject.toml b/pyproject.toml index fc8770c..dcf1be9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -200,5 +200,8 @@ filterwarnings = [ # lightkurve issues a warning about an optional import 'ignore:.*the tpfmodel submodule is not available without oktopus.*:UserWarning', # Sometimes ...
diff --git a/stellarphot/settings/tests/test_models.py b/stellarphot/settings/tests/test_models.py index 00b8119..495faa4 100644 --- a/stellarphot/settings/tests/test_models.py +++ b/stellarphot/settings/tests/test_models.py @@ -9,6 +9,7 @@ from astropy.coordinates import EarthLocation, Latitude, Longitude from astrop...
Make the tables that stellarphot writes so they can be read by plain astropy Table When showing other people stellarphot I found it really inconvenient that I could not read a stellarphot table with the plain astropy table reader. I think the solution is to store the fancy stuff (e.g. observer) as a plain dictionary i...
2025-06-09 15:58:46
2.0
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 3 }
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[test]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.11", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --c...
[ "stellarphot/settings/tests/test_models.py::TestModelAgnosticActions::test_plain_table_readability[Camera-settings0]", "stellarphot/settings/tests/test_models.py::TestModelAgnosticActions::test_plain_table_readability[PhotometryApertures-settings1]", "stellarphot/settings/tests/test_models.py::TestModelAgnostic...
[ "stellarphot/settings/tests/test_models.py::TestModelAgnosticActions::test_create_model[Camera-settings0]", "stellarphot/settings/tests/test_models.py::TestModelAgnosticActions::test_create_model[PhotometryApertures-settings1]", "stellarphot/settings/tests/test_models.py::TestModelAgnosticActions::test_create_m...
2c0714e45d0f4c4a20059fc670f316df70957085
feder-observatory/stellarphot
feder-observatory__stellarphot-526
da552391c4c5b4ae9128491dbbc3d103d3d2f313
diff --git a/stellarphot/photometry/photometry.py b/stellarphot/photometry/photometry.py index 65e2a3b..73f5be4 100644 --- a/stellarphot/photometry/photometry.py +++ b/stellarphot/photometry/photometry.py @@ -610,7 +610,10 @@ def single_image_photometry( photom["noise_cnts"].unit = ccd_image.unit # Compute ...
diff --git a/stellarphot/photometry/tests/test_photometry.py b/stellarphot/photometry/tests/test_photometry.py index ce76249..43881dc 100644 --- a/stellarphot/photometry/tests/test_photometry.py +++ b/stellarphot/photometry/tests/test_photometry.py @@ -295,6 +295,9 @@ class TestAperturePhotometry: np.a...
magnitude and magnitude error columns do not have the same units I'll add an example that reproduces this later, but `mag_inst` has no unit while `mag_error` has unit `1/adu`.
2025-06-12 14:08:45
2.0
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 1 }
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[test]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.11", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --c...
[ "stellarphot/photometry/tests/test_photometry.py::TestAperturePhotometry::test_aperture_photometry_no_outlier_rejection[True]", "stellarphot/photometry/tests/test_photometry.py::TestAperturePhotometry::test_aperture_photometry_no_outlier_rejection[False]" ]
[ "stellarphot/photometry/tests/test_photometry.py::TestAperturePhotometry::test_create_aperture_photometry", "stellarphot/photometry/tests/test_photometry.py::TestAperturePhotometry::test_aperture_photometry_with_outlier_rejection[True]", "stellarphot/photometry/tests/test_photometry.py::TestAperturePhotometry::...
da552391c4c5b4ae9128491dbbc3d103d3d2f313
lmstudio-ai/venvstacks
lmstudio-ai__venvstacks-197
8e8d8267567f87ebcb1c2252fe3728e3c45ed052
diff --git a/docs/changelog.d/20250603_050408_ncoghlan_only_lock_if_necessary_in_build_subcommand.rst b/docs/changelog.d/20250603_050408_ncoghlan_only_lock_if_necessary_in_build_subcommand.rst new file mode 100644 index 0000000..bd42892 --- /dev/null +++ b/docs/changelog.d/20250603_050408_ncoghlan_only_lock_if_necessar...
diff --git a/tests/test_cli_invocation.py b/tests/test_cli_invocation.py index 90500b7..43d9a7a 100644 --- a/tests/test_cli_invocation.py +++ b/tests/test_cli_invocation.py @@ -544,9 +544,15 @@ class TestSubcommands: dict(dry_run=True, tag_outputs=False), # publish_artifacts ), ( - ...
Replace `--lock` with `--lock-if-needed` for the `build` subcommand The `build` subcommand intentionally fails by default if any of the transitive environment locks are invalid. Running `lock` separately, or passing `--lock` to the build subcommand, is needed to opt in to actually updating the transitive lock details. ...
2025-06-02 19:11:50
0.5
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": null, "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.11", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --color=no -p...
[ "tests/test_cli_invocation.py::TestSubcommands::test_mock_build_op_selection[(--lock-if-needed)]", "tests/test_cli_invocation.py::TestSubcommands::test_mock_build_op_selection[(--lock)]", "tests/test_cli_invocation.py::TestSubcommands::test_mock_build_op_selection[(--lock-if-needed", "tests/test_cli_invocatio...
[ "tests/test_cli_invocation.py::TestTopLevelCommand::test_module_execution", "tests/test_cli_invocation.py::TestSubcommands::test_internal_consistency[lock]", "tests/test_cli_invocation.py::TestSubcommands::test_internal_consistency[build]", "tests/test_cli_invocation.py::TestSubcommands::test_internal_consist...
8e8d8267567f87ebcb1c2252fe3728e3c45ed052
matthewwithanm/python-markdownify
matthewwithanm__python-markdownify-230
9b1412aa5b5bca345806068b66d35086cbc88b25
diff --git a/markdownify/__init__.py b/markdownify/__init__.py index 72c5214..e901d10 100644 --- a/markdownify/__init__.py +++ b/markdownify/__init__.py @@ -41,6 +41,9 @@ re_escape_misc_hashes = re.compile(r'(\s|^)(#{1,6}(?:\s|$))') # confused with a list item re_escape_misc_list_items = re.compile(r'((?:\s|^)[0-9]{1...
diff --git a/tests/test_conversions.py b/tests/test_conversions.py index 825559b..dd99dfb 100644 --- a/tests/test_conversions.py +++ b/tests/test_conversions.py @@ -101,6 +101,9 @@ def test_code(): assert md('<code>foo<s> bar </s>baz</code>') == '`foo bar baz`' assert md('<code>foo<sup>bar</sup>baz</code>', s...
Support backticks inside inline code spans With the version `1.1.0`, the following code ~~~python from markdownify import markdownify as md print( md( '<code>We have to `manage` this.</code>', ) ) ~~~ should print ~~~ ``We have to `manage` this.`` ~~~ instead of ~~~ `We have to `manage` this.` ~~~...
2025-06-29 12:29:32
1.1
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "num_modified_files": 1 }
{ "env_vars": null, "env_yml_path": null, "install": "pip install .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": null, "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.11", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --color=no -p no...
[ "tests/test_conversions.py::test_code" ]
[ "tests/test_conversions.py::test_a", "tests/test_conversions.py::test_a_spaces", "tests/test_conversions.py::test_a_with_title", "tests/test_conversions.py::test_a_shortcut", "tests/test_conversions.py::test_a_no_autolinks", "tests/test_conversions.py::test_a_in_code", "tests/test_conversions.py::test_b...
9b1412aa5b5bca345806068b66d35086cbc88b25
pybamm-team/PyBaMM
pybamm-team__PyBaMM-5061
314490709f14c1c3c5df06beffa2aaa39dd14ad5
diff --git a/CHANGELOG.md b/CHANGELOG.md index 48c51adf3..04138bcc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ## Bug fixes - Converts sensitivities to numpy objects, fixing bug in `DiscreteTimeSum` sensitivity calculation ([#5037](https://github.com/pybamm-team/PyBaMM/pull/5037)) +- Raises error ...
diff --git a/tests/unit/test_expression_tree/test_interpolant.py b/tests/unit/test_expression_tree/test_interpolant.py index d004e4d65..b1eb55076 100644 --- a/tests/unit/test_expression_tree/test_interpolant.py +++ b/tests/unit/test_expression_tree/test_interpolant.py @@ -76,6 +76,11 @@ class TestInterpolant: ...
[Bug]: Interpolants seem to require x-data to be increasing (not decreasing) ### PyBaMM Version 25.6 ### Python Version 3.12.3 ### Describe the bug In some edge cases, the initial voltage depends on the direction (monotonically increasing/decreasing) of the interpolation x-data. I am using a custom model but just ...
2025-06-16 13:35:56
25.6
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 2 }
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": null, "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.11", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --color=...
[ "tests/unit/test_expression_tree/test_interpolant.py::TestInterpolant::test_interpolation_non_increasing", "tests/unit/test_expression_tree/test_unary_operators.py::TestUnaryOperators::test_negation", "tests/unit/test_expression_tree/test_unary_operators.py::TestUnaryOperators::test_div" ]
[ "tests/unit/test_expression_tree/test_interpolant.py::TestInterpolant::test_name", "tests/unit/test_expression_tree/test_unary_operators.py::TestUnaryOperators::test_boundary_value", "tests/unit/test_expression_tree/test_interpolant.py::TestInterpolant::test_interpolation_float", "tests/unit/test_expression_t...
314490709f14c1c3c5df06beffa2aaa39dd14ad5
python-pillow/Pillow
python-pillow__Pillow-9023
4d0ebb040a8890eaa86414fda3e63f2ca7d00240
diff --git a/docs/deprecations.rst b/docs/deprecations.rst index 0490ba439..a36eb4aa7 100644 --- a/docs/deprecations.rst +++ b/docs/deprecations.rst @@ -193,6 +193,20 @@ Image.Image.get_child_images() method uses an image's file pointer, and so child images could only be retrieved from an :py:class:`PIL.ImageFile.Ima...
diff --git a/Tests/test_file_png.py b/Tests/test_file_png.py index 0f0886ab8..15f67385a 100644 --- a/Tests/test_file_png.py +++ b/Tests/test_file_png.py @@ -100,11 +100,11 @@ class TestFilePng: assert im.format == "PNG" assert im.get_format_mimetype() == "image/png" - for mode in ["1"...
Saving and loading int16 images to PNG format is causing data loss ### What did you do? Saving the int16 image into a PNG format previously used I mode but was changed to I;16 mode, which leads to a silent data loss. The change was done in [this pull request](https://github.com/python-pillow/Pillow/pull/7849). ### Wh...
2025-06-17 08:50:42
11.2
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_media", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "num_modified_files": 4 }
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc libjpeg-dev zlib1g-dev libtiff5-dev libfreetype...
[ "Tests/test_file_png.py::TestFilePng::test_deprecation" ]
[ "Tests/test_file_png.py::TestFilePng::test_sanity", "Tests/test_file_png.py::TestFilePng::test_invalid_file", "Tests/test_file_png.py::TestFilePng::test_broken", "Tests/test_file_png.py::TestFilePng::test_bad_text", "Tests/test_file_png.py::TestFilePng::test_bad_ztxt", "Tests/test_file_png.py::TestFilePng...
4d0ebb040a8890eaa86414fda3e63f2ca7d00240
End of preview. Expand in Data Studio

Dataset Summary

SWE-rebench-leaderboard is a continuously-updated, curated susbset of the full SWE-rebench corpus, tailored for benchmarking large-language-model (LLM)–based software-engineering agents on real-world bug-fixing tasks. These tasks are used in the SWE-rebench leaderboard

How to Use

from datasets import load_dataset
ds = load_dataset('nebius/SWE-rebench-leaderboard')

Dataset Structure

The SWE-rebench dataset schema extends the original SWE-bench schema with additional fields to support richer analysis. The complete schema is detailed in the table below. For more information about this data and methodology behind collecting it, please refer to our paper.

Field name Type Description
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.
version str Installation version to use for running evaluation.
environment_setup_commit str Commit hash to use for environment setup and installation.
FAIL_TO_PASS str A JSON list of strings that represent the set of tests resolved by the PR and tied to the issue resolution.
PASS_TO_PASS str A JSON list of strings that represent tests that should pass before and after the PR application.
meta str A JSON dictionary indicating whether the instance is lite, along with a list of failed lite validators if it is not.
license_name str The type of license of the repository.
install_config str Installation configuration for setting up the repository.

To execute tasks from SWE-rebench (i.e., set up their environments, apply patches, and run tests), we provide a fork of the original SWE-bench execution framework, adapted for our dataset's structure and features. Our fork is based on the SWE-bench framework, specifically from its Release 4.0.3. The primary modification introduces functionality to source environment installation constants directly from the install_config field present in each task instance within SWE-rebench. This allows for more flexible and task-specific environment setups.

You can find the details of this modification in the following commit:

To build the necessary Docker images and run agents on SWE-rebench tasks, you have two main options:

  1. Use our SWE-bench fork directly: Clone the fork and utilize its scripts for building images and executing tasks. The framework will automatically use the install_config from each task.
  2. Integrate similar functionality into your existing codebase: If you have your own execution framework based on SWE-bench or a different system, you can adapt it by implementing a similar mechanism to parse and utilize the install_config field from the SWE-rebench task instances. The aforementioned commit can serve as a reference for this integration.

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{badertdinov2025swerebenchautomatedpipelinetask,
      title={SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agents}, 
      author={Ibragim Badertdinov and Alexander Golubev and Maksim Nekrashevich and Anton Shevtsov and Simon Karasik and Andrei Andriushchenko and Maria Trofimova and Daria Litvintseva and Boris Yangel},
      year={2025},
      eprint={2505.20411},
      archivePrefix={arXiv},
      primaryClass={cs.SE},
      url={https://arxiv.org/abs/2505.20411}
}
Downloads last month
24

Paper for ibragim-bad/swe-rebench-leaderboard