Dataset Viewer
Auto-converted to Parquet Duplicate
base_commit
stringlengths
40
40
created_at
stringdate
2015-01-23 22:30:09
2025-07-21 08:49:06
image_name
stringlengths
44
86
instance_id
stringlengths
14
56
interface
stringlengths
33
15.4k
language
stringclasses
1 value
license
stringclasses
9 values
patch
stringlengths
231
32k
pr_description
stringlengths
8
8.53k
problem_statement
stringlengths
15
29.5k
repo
stringclasses
408 values
test_patch
stringlengths
246
31.6k
FAIL_TO_PASS
listlengths
1
3.87k
PASS_TO_PASS
listlengths
0
10.7k
install_config
dict
meta
dict
848d28d67e45cda7a06c4c8ed2768e6a8cb1c016
2020-05-31 15:27:12
docker.io/swerebenchv2/wtforms-wtforms:614-848d28d
wtforms__wtforms-614
Method: Flags.__getattr__(self, name) Location: wtforms/fields/core.py → class Flags Inputs: *name* – attribute name requested on a Flags instance. Outputs: Returns the attribute’s value if it exists; otherwise returns **None** (previously returned False). Description: Provides a unified flags object where miss...
python
BSD-3-Clause
diff --git a/CHANGES.rst b/CHANGES.rst index 50f43a2..a199f46 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -34,7 +34,7 @@ Unreleased - Render attribute names like ``for_`` and ``class_`` are normalized consistently so later values override those specified earlier. :issue:`449`, :pr:`596` - +- Flags can ...
HTML5 widgets by default This patch is based upon #467, the changes are in the last commit 44a1cec. It fixes #594
Use HTML 5 widgets The HTML 5 widgets are kept in their own section and not used by default, but this distinction doesn't make sense today. "HTML 5" is just "HTML" now. No supported browser doesn't understand those input types, and ones that aren't supported fall back to text anyway. I already sort of started this b...
wtforms/wtforms
diff --git a/tests/test_fields.py b/tests/test_fields.py index f36ce71..0986534 100644 --- a/tests/test_fields.py +++ b/tests/test_fields.py @@ -119,7 +119,7 @@ class TestFlags: def test_existing_values(self, flags): assert flags.required is True assert "required" in flags - assert flags.o...
[ "tests/test_fields.py::TestDefaults::test", "tests/test_fields.py::TestLabel::test", "tests/test_fields.py::TestLabel::test_auto_label", "tests/test_fields.py::TestLabel::test_override_for", "tests/test_fields.py::TestLabel::test_escaped_label_text", "tests/test_fields.py::TestFlags::test_existing_values"...
[]
{ "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.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
ca9519bf182650cd464d6825de451471b3243627
2024-07-04 12:57:24
docker.io/swerebenchv2/keras-team-keras:19955-ca9519b
keras-team__keras-19955
Method: KerasVariable.__int__(self) Location: keras/src/backend/common/variables.py (class KerasVariable) Inputs: self – a KerasVariable instance; must be scalar (ndim == 0) to succeed. Outputs: Returns Python ``int`` representing the variable’s scalar value. Raises ``TypeError`` with message *“Only scalar arrays...
python
Apache-2.0
diff --git a/keras/src/backend/common/keras_tensor.py b/keras/src/backend/common/keras_tensor.py index d0ff42516..1314a266d 100644 --- a/keras/src/backend/common/keras_tensor.py +++ b/keras/src/backend/common/keras_tensor.py @@ -90,6 +90,20 @@ class KerasTensor: return ops.Squeeze(axis)(self) + def __in...
Improve `keras.Variable`'s dtype consistency and add `__int__`, `__float__` and `__round__` This should fix #19952 and #19846 I have found that the built-in ops of `keras.Variable` behave differently compared to `keras.ops.*`. This PR resolves it, and the corresponding tests have been included. An example of the...
Can't get learning rate as a value instead of a keras.Variable (and docs are incorrect) I need to capture the learning rate from a compiled keras model (tensorflow backend but it shouldn't matter). Previously I did this with tf.keras.backend.get_value(...), but keras 3.0 doesn't seem to have an equivalent. I want to ...
keras-team/keras
diff --git a/keras/src/backend/common/variables_test.py b/keras/src/backend/common/variables_test.py index 7ece491e8..ab40c905c 100644 --- a/keras/src/backend/common/variables_test.py +++ b/keras/src/backend/common/variables_test.py @@ -1,3 +1,5 @@ +import itertools + import numpy as np import pytest from absl.testi...
[ "keras/src/backend/common/variables_test.py::VariableOpsCorrentnessTest::test_float", "keras/src/backend/common/variables_test.py::VariableOpsCorrentnessTest::test_int", "keras/src/backend/common/variables_test.py::VariableOpsCorrentnessTest::test_round", "keras/src/backend/common/variables_test.py::VariableO...
[ "keras/src/backend/common/variables_test.py::VariableInitializationTest::test_deferred_initialization", "keras/src/backend/common/variables_test.py::VariableInitializationTest::test_deferred_initialize_already_initialized", "keras/src/backend/common/variables_test.py::VariableInitializationTest::test_variable_i...
{ "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": "medium", "external_urls": [ "https://keras.io/api/callbacks/learning_rate_scheduler...
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": [...
4305c850761bc5586f14b184c53403cfcfc17ea7
2023-06-13 20:19:10
docker.io/swerebenchv2/tomwhite-cubed:211-4305c85
tomwhite__cubed-211
Function: cubed.runtime.executors.lithops.map_unordered(map_function, map_iterdata, include_modules=[], timeout=None, retries=2, use_backups=False, return_stats=False, **kwargs) Location: cubed/runtime/executors/lithops.py Inputs: - **map_function** (callable): user‑provided function to apply to each element of *map_it...
python
Apache-2.0
diff --git a/cubed/runtime/executors/lithops.py b/cubed/runtime/executors/lithops.py index 0d6cde5d..6f1510f1 100644 --- a/cubed/runtime/executors/lithops.py +++ b/cubed/runtime/executors/lithops.py @@ -60,7 +60,8 @@ def map_unordered( map_function, map_iterdata, include_modules=[], - max_failures=3, ...
Make Lithops retries apply per-task Fixes #210
Lithops executor's maximum retries setting should be per-task not per-array Currently `LithopsDagExecutor` has a `max_failures` setting that raises an exception if there are more than this number of failures when computing an array (it defaults to 3). This works but for very large arrays you are more likely to get e...
tomwhite/cubed
diff --git a/cubed/tests/runtime/test_lithops.py b/cubed/tests/runtime/test_lithops.py index 800f5c42..0f0b0f61 100644 --- a/cubed/tests/runtime/test_lithops.py +++ b/cubed/tests/runtime/test_lithops.py @@ -1,14 +1,9 @@ +import platform from functools import partial import pytest -from cubed.tests.runtime.utils i...
[ "cubed/tests/runtime/test_lithops.py::test_success[timing_map0-3-2]", "cubed/tests/runtime/test_lithops.py::test_success[timing_map1-3-2]", "cubed/tests/runtime/test_lithops.py::test_success[timing_map2-3-2]", "cubed/tests/runtime/test_lithops.py::test_success[timing_map3-3-2]", "cubed/tests/runtime/test_li...
[ "cubed/tests/runtime/test_python_async.py::test_success[timing_map0-3-2]", "cubed/tests/runtime/test_python_async.py::test_success[timing_map1-3-2]", "cubed/tests/runtime/test_python_async.py::test_success[timing_map2-3-2]" ]
{ "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": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
c3a8f90ac4d79eb5c655740d0fd88f393af7f306
2023-07-27 18:34:37
docker.io/swerebenchv2/meltano-sdk:1881-c3a8f90
meltano__sdk-1881
No new interfaces are introduced.
python
Apache-2.0
diff --git a/singer_sdk/helpers/capabilities.py b/singer_sdk/helpers/capabilities.py index 55aff8ce..f5b5fa30 100644 --- a/singer_sdk/helpers/capabilities.py +++ b/singer_sdk/helpers/capabilities.py @@ -99,6 +99,13 @@ TARGET_SCHEMA_CONFIG = PropertiesList( description="The default target database schema name t...
fix: Expose `add_record_metadata` as a builtin target setting Closes #1199 <!-- readthedocs-preview meltano-sdk start --> ---- :books: Documentation preview :books:: https://meltano-sdk--1881.org.readthedocs.build/en/1881/ <!-- readthedocs-preview meltano-sdk end -->
[Bug]: Setting `add_record_metadata` should be surfaced as builtin target configuration ### Singer SDK Version 0.14.0 ### Python Version NA ### Bug scope Targets (data type handling, batching, SQL object generation, etc.) ### Operating System NA ### Description The flag is retrieved from config in https://gith...
meltano/sdk
diff --git a/tests/core/test_target_base.py b/tests/core/test_target_base.py index f9b342d3..de344c7e 100644 --- a/tests/core/test_target_base.py +++ b/tests/core/test_target_base.py @@ -75,6 +75,7 @@ def test_target_about_info(): assert "flattening_enabled" in about.settings["properties"] assert "flattening_...
[ "tests/core/test_target_base.py::test_target_about_info" ]
[ "tests/core/test_target_base.py::test_get_sink", "tests/core/test_target_base.py::test_validate_record", "tests/core/test_target_base.py::test_sql_get_sink", "tests/core/test_target_base.py::test_add_sqlsink_and_get_sink" ]
{ "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.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://github.com/meltano/sdk/blob/253851e005a925496849...
ce88e71ea7d7a939d952cfd1771f974d91b78879
2020-11-04 20:51:11
docker.io/swerebenchv2/tefra-xsdata:310-ce88e71
tefra__xsdata-310
"Method: AnyTypeNode.child(self, qname: str, attrs: Dict, ns_map: Dict, position: int) -> XmlNode\nL(...TRUNCATED)
python
MIT
"diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml\nindex 725224f8..71807971 100644\n--(...TRUNCATED)
"Resolve #306 Lookup xsi type for xs:anyType derived elements\n### Description\r\n\r\nCurrently fiel(...TRUNCATED)
"xsi:type not working on xsd:anyType elements\nI have a use case were we wrap lists of 'items' in an(...TRUNCATED)
tefra/xsdata
"diff --git a/tests/formats/dataclass/parsers/test_nodes.py b/tests/formats/dataclass/parsers/test_n(...TRUNCATED)
["tests/formats/dataclass/parsers/test_nodes.py::ElementNodeTests::test_bind","tests/formats/datacla(...TRUNCATED)
[]
{"base_image_name":"python_base_310","docker_specs":{"_variant":null,"bazel_version":null,"bun_versi(...TRUNCATED)
{"llm_metadata":{"code":"A","confidence":0.97,"detected_issues":{"B1":false,"B2":false,"B3":false,"B(...TRUNCATED)
ba517aba0e3dbddb925fcb47f9a0359432fd4a10
2021-06-19 11:35:55
docker.io/swerebenchv2/pyqtgraph-pyqtgraph:1845-ba517ab
pyqtgraph__pyqtgraph-1845
"Method: ColorMap.getStops(self, mode=BYTE) \nLocation: pyqtgraph/colormap.py → class ColorMap (...TRUNCATED)
python
custom-check-github
"diff --git a/pyqtgraph/colormap.py b/pyqtgraph/colormap.py\nindex 5f58da67..2a153954 100644\n--- a/(...TRUNCATED)
"Separate out mouse events stolen by AxisItem\nWhile it graphically makes sense to draw the AxisItem(...TRUNCATED)
"Regression: modified zoom behavior with showGrid\n<!-- In the following, please describe your issue(...TRUNCATED)
pyqtgraph/pyqtgraph
"diff --git a/tests/test_colormap.py b/tests/test_colormap.py\nnew file mode 100644\nindex 00000000.(...TRUNCATED)
["tests/test_colormap.py::test_ColorMap_getStops[color_list0]","tests/test_colormap.py::test_ColorMa(...TRUNCATED)
[]
{"base_image_name":"python_base_310","docker_specs":{"_variant":null,"bazel_version":null,"bun_versi(...TRUNCATED)
{"llm_metadata":{"code":"B5","confidence":0.86,"detected_issues":{"B1":false,"B2":false,"B3":false,"(...TRUNCATED)
1ce57f64c9fecb655856dd1f3098c7bf7a1d37fa
2023-02-05 19:53:49
docker.io/swerebenchv2/pallets-werkzeug:2583-1ce57f6
pallets__werkzeug-2583
"Method: BaseConverter.__init_subclass__(cls, **kwargs)\nLocation: src/werkzeug/routing/converters.p(...TRUNCATED)
python
BSD-3-Clause
"diff --git a/CHANGES.rst b/CHANGES.rst\nindex 1ca61776..13a1f4be 100644\n--- a/CHANGES.rst\n+++ b/C(...TRUNCATED)
"default `part_isolating=False` if regex has `/`\nfixes #2582 \r\n\r\nThe default is only set if the(...TRUNCATED)
"default `part_isolating=False` if the converter regex contains a `/`\nUsers didn't know about the `(...TRUNCATED)
pallets/werkzeug
"diff --git a/tests/test_routing.py b/tests/test_routing.py\nindex 15d25a7c..a77d89f7 100644\n--- a/(...TRUNCATED)
[ "tests/test_routing.py::test_part_isolating_default" ]
["tests/test_routing.py::test_basic_routing","tests/test_routing.py::test_merge_slashes_match","test(...TRUNCATED)
{"base_image_name":"python_base_310","docker_specs":{"_variant":null,"bazel_version":null,"bun_versi(...TRUNCATED)
{"llm_metadata":{"code":"A","confidence":0.97,"detected_issues":{"B1":false,"B2":false,"B3":false,"B(...TRUNCATED)
ad67fc66da24f4587c072b13bdaade357eeb6022
2024-04-09 17:05:23
docker.io/swerebenchv2/sinaptik-ai-pandas-ai:1099-ad67fc6
sinaptik-ai__pandas-ai-1099
"Method: ResponseSerializer.serialize_dataframe(self, df: pandas.DataFrame) \nLocation: pandasai.re(...TRUNCATED)
python
custom-check-github
"diff --git a/pandasai/pipelines/chat/code_execution.py b/pandasai/pipelines/chat/code_execution.py\(...TRUNCATED)
"feat: support series in response serializer\n- [x] Closes #918.\r\n- [x] Tests added and passed if (...TRUNCATED)
"Code generation crash on question \"Give me full names of people was in class 3 grouped by second (...TRUNCATED)
Sinaptik-AI/pandas-ai
"diff --git a/tests/unit_tests/responses/test_response_serializer.py b/tests/unit_tests/responses/te(...TRUNCATED)
["tests/unit_tests/responses/test_response_serializer.py::TestResponseSerializer::test_serialize_dat(...TRUNCATED)
["tests/unit_tests/responses/test_response_serializer.py::TestResponseSerializer::test_serialize_dat(...TRUNCATED)
{"base_image_name":"python_base_310","docker_specs":{"_variant":null,"bazel_version":null,"bun_versi(...TRUNCATED)
{"llm_metadata":{"code":"A","confidence":0.97,"detected_issues":{"B1":false,"B2":false,"B3":false,"B(...TRUNCATED)
88efb088fba2669db30df083285c826ded400cae
2024-10-31 18:24:52
docker.io/swerebenchv2/aws-cloudformation-cfn-lint:3805-88efb08
aws-cloudformation__cfn-lint-3805
No new interfaces are introduced.
python
MIT-0
"diff --git a/src/cfnlint/rules/resources/properties/StringLength.py b/src/cfnlint/rules/resources/p(...TRUNCATED)
"Fix validating min/maxLength with array types\n*Issue #, if available:*\r\nfix #3804 \r\n*Descripti(...TRUNCATED)
"Ignored policy size limitation \n### CloudFormation Lint Version\n\n1.18.3\n\n### What operating sy(...TRUNCATED)
aws-cloudformation/cfn-lint
"diff --git a/test/unit/rules/resources/properties/test_string_length.py b/test/unit/rules/resources(...TRUNCATED)
["test/unit/rules/resources/properties/test_string_length.py::test_min_length[instance19-20-schema19(...TRUNCATED)
["test/unit/rules/resources/properties/test_string_length.py::test_min_length[foo-2-schema0-0]","tes(...TRUNCATED)
{"base_image_name":"python_base_310","docker_specs":{"_variant":null,"bazel_version":null,"bun_versi(...TRUNCATED)
{"llm_metadata":{"code":"A","confidence":0.96,"detected_issues":{"B1":false,"B2":false,"B3":false,"B(...TRUNCATED)
End of preview. Expand in Data Studio

SWE-rebench-V2 clean Python tasks

A train/test split of Python tasks from nebius/SWE-rebench-V2. We took the Python subset of the original dataset and kept only the tasks where the golden patch passes the unit tests and the empty patch does not.

  • train: 3,837 instances from 408 repositories
  • test: 500 instances from 100 repositories

The split is made by repository, so no repository appears in both splits.

Train repo distribution

Test repo distribution

We evaluated multiple models on the test split as of June 2026 — the comparison is here.

Downloads last month
2