Dataset Viewer
Auto-converted to Parquet
instance_id
stringlengths
15
28
prompt
stringlengths
2.96k
807k
data_source
stringclasses
1 value
ability
stringclasses
1 value
instance
stringlengths
1.56k
1.49M
parsed_commit_content
stringlengths
3.47k
1.67M
problem_statement
stringlengths
51
17.8k
patch
stringlengths
0
12.6k
file_context
stringlengths
907
828k
filelevel_patches
stringlengths
2
12.8k
messages
listlengths
1
1
verification_info
stringlengths
1.42k
837k
Project-MONAI__MONAI-6924
"\nWe are currently solving the following issue within our repository. Here is the issue text:\n--- (...TRUNCATED)
swe-gym
coding
"{\"FAIL_TO_PASS\": [\"tests/test_dice_ce_loss.py::TestDiceCELoss::test_result_6\"], \"PASS_TO_PASS\(...TRUNCATED)
"{\"file_diffs\":[{\"old_file_content\":\"# Copyright (c) MONAI Consortium\\n# Licensed under the Ap(...TRUNCATED)
"DiceCELoss gets 0 CE component for binary segmentation\n### Discussed in https://github.com/Project(...TRUNCATED)
"diff --git a/monai/losses/dice.py b/monai/losses/dice.py\n--- a/monai/losses/dice.py\n+++ b/monai/l(...TRUNCATED)
"{\"monai/losses/dice.py\": \"# Copyright (c) MONAI Consortium\\n# Licensed under the Apache License(...TRUNCATED)
"{\"monai/losses/dice.py\": \"@@ -614,8 +614,8 @@ class DiceCELoss(_Loss):\\n \\\"\\\"\\\"\\n (...TRUNCATED)
[{"content":"\nWe are currently solving the following issue within our repository. Here is the issue(...TRUNCATED)
"{\"file_context\": {\"monai/losses/dice.py\": \"# Copyright (c) MONAI Consortium\\n# Licensed under(...TRUNCATED)
python__mypy-15155
"\nWe are currently solving the following issue within our repository. Here is the issue text:\n--- (...TRUNCATED)
swe-gym
coding
"{\"FAIL_TO_PASS\": [\"mypy/test/testcheck.py::TypeCheckSuite::check-generics.test::testGenericLambd(...TRUNCATED)
"{\"file_diffs\":[{\"old_file_content\":\"from __future__ import annotations\\n\\nfrom typing import(...TRUNCATED)
"Crash type-checking overloaded function\n<!--\r\n Use this form only if mypy reports an \"INTERNAL(...TRUNCATED)
"diff --git a/mypy/applytype.py b/mypy/applytype.py\n--- a/mypy/applytype.py\n+++ b/mypy/applytype.p(...TRUNCATED)
"{\"mypy/applytype.py\": \"from __future__ import annotations\\n\\nfrom typing import Callable, Sequ(...TRUNCATED)
"{\"mypy/applytype.py\": \"@@ -75,7 +75,6 @@ def apply_generic_arguments(\\n report_incompatible(...TRUNCATED)
[{"content":"\nWe are currently solving the following issue within our repository. Here is the issue(...TRUNCATED)
"{\"file_context\": {\"mypy/applytype.py\": \"from __future__ import annotations\\n\\nfrom typing im(...TRUNCATED)
pandas-dev__pandas-54087
"\nWe are currently solving the following issue within our repository. Here is the issue text:\n--- (...TRUNCATED)
swe-gym
coding
"{\"FAIL_TO_PASS\": [\"pandas/tests/reshape/merge/test_merge_cross.py::test_merge_cross_series\"], \(...TRUNCATED)
"{\"file_diffs\":[{\"old_file_content\":\"\\\"\\\"\\\"\\nSQL-style merge routines\\n\\\"\\\"\\\"\\nf(...TRUNCATED)
"BUG: In development version, `pd.merge` with `Series` arguments an `how=\"cross\"` fails\n### Panda(...TRUNCATED)
"diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py\nindex 0e4a64d7e6c5f..a904(...TRUNCATED)
"{\"pandas/core/reshape/merge.py\": \"\\\"\\\"\\\"\\nSQL-style merge routines\\n\\\"\\\"\\\"\\nfrom (...TRUNCATED)
"{\"pandas/core/reshape/merge.py\": \"@@ -145,10 +145,12 @@ def merge(\\n indicator: str | bool (...TRUNCATED)
[{"content":"\nWe are currently solving the following issue within our repository. Here is the issue(...TRUNCATED)
"{\"file_context\": {\"pandas/core/reshape/merge.py\": \"\\\"\\\"\\\"\\nSQL-style merge routines\\n\(...TRUNCATED)
Project-MONAI__MONAI-5093
"\nWe are currently solving the following issue within our repository. Here is the issue text:\n--- (...TRUNCATED)
swe-gym
coding
"{\"FAIL_TO_PASS\": [\"tests/test_contrastive_loss.py::TestContrastiveLoss::test_result_1\", \"tests(...TRUNCATED)
"{\"file_diffs\":[{\"old_file_content\":\"# Copyright (c) MONAI Consortium\\n# Licensed under the Ap(...TRUNCATED)
"ContrastiveLoss with dynamic batchsize\n**Is your feature request related to a problem? Please desc(...TRUNCATED)
"diff --git a/monai/losses/contrastive.py b/monai/losses/contrastive.py\n--- a/monai/losses/contrast(...TRUNCATED)
"{\"monai/losses/contrastive.py\": \"# Copyright (c) MONAI Consortium\\n# Licensed under the Apache (...TRUNCATED)
"{\"monai/losses/contrastive.py\": \"@@ -9,6 +9,8 @@\\n # See the License for the specific language (...TRUNCATED)
[{"content":"\nWe are currently solving the following issue within our repository. Here is the issue(...TRUNCATED)
"{\"file_context\": {\"monai/losses/contrastive.py\": \"# Copyright (c) MONAI Consortium\\n# License(...TRUNCATED)
facebookresearch__hydra-1560
"\nWe are currently solving the following issue within our repository. Here is the issue text:\n--- (...TRUNCATED)
swe-gym
coding
"{\"FAIL_TO_PASS\": [\"tests/test_callbacks.py::test_app_with_callbacks[args2-[HYDRA]\"], \"PASS_TO_(...TRUNCATED)
"{\"file_diffs\":[{\"old_file_content\":\"# Copyright (c) Facebook, Inc. and its affiliates. All Rig(...TRUNCATED)
[callbacks] call on_*_end events in reverse order
"diff --git a/hydra/core/callbacks.py b/hydra/core/callbacks.py\n--- a/hydra/core/callbacks.py\n+++ (...TRUNCATED)
"{\"hydra/core/callbacks.py\": \"# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reser(...TRUNCATED)
"{\"hydra/core/callbacks.py\": \"@@ -14,8 +14,9 @@ def __init__(self, config: DictConfig) -> None:\\(...TRUNCATED)
[{"content":"\nWe are currently solving the following issue within our repository. Here is the issue(...TRUNCATED)
"{\"file_context\": {\"hydra/core/callbacks.py\": \"# Copyright (c) Facebook, Inc. and its affiliate(...TRUNCATED)
getmoto__moto-5043
"\nWe are currently solving the following issue within our repository. Here is the issue text:\n--- (...TRUNCATED)
swe-gym
coding
"{\"FAIL_TO_PASS\": [\"tests/test_ses/test_ses_boto3.py::test_verify_email_identity_idempotency\"], (...TRUNCATED)
"{\"file_diffs\":[{\"old_file_content\":\"import re\\nimport json\\nimport email\\nimport datetime\\(...TRUNCATED)
"SES verify_email_identity is not idempotent\nUsing `verify_email_identity` on an existing identity (...TRUNCATED)
"diff --git a/moto/ses/models.py b/moto/ses/models.py\n--- a/moto/ses/models.py\n+++ b/moto/ses/mode(...TRUNCATED)
"{\"moto/ses/models.py\": \"import re\\nimport json\\nimport email\\nimport datetime\\nfrom email.mi(...TRUNCATED)
"{\"moto/ses/models.py\": \"@@ -132,7 +132,8 @@ def _is_verified_address(self, source):\\n \\n d(...TRUNCATED)
[{"content":"\nWe are currently solving the following issue within our repository. Here is the issue(...TRUNCATED)
"{\"file_context\": {\"moto/ses/models.py\": \"import re\\nimport json\\nimport email\\nimport datet(...TRUNCATED)
python__mypy-10401
"\nWe are currently solving the following issue within our repository. Here is the issue text:\n--- (...TRUNCATED)
swe-gym
coding
"{\"FAIL_TO_PASS\": [\"mypy/test/testcheck.py::TypeCheckSuite::testMultipleUndefinedTypeAndTuple\", (...TRUNCATED)
"{\"file_diffs\":[{\"old_file_content\":\"\\\"\\\"\\\"Calculation of the least upper bound types (jo(...TRUNCATED)
"Unresolved references + tuples crashes mypy\n<!--\r\n Use this form only if mypy reports an \"INTE(...TRUNCATED)
"diff --git a/mypy/join.py b/mypy/join.py\n--- a/mypy/join.py\n+++ b/mypy/join.py\n@@ -7,7 +7,7 @@\n(...TRUNCATED)
"{\"mypy/join.py\": \"\\\"\\\"\\\"Calculation of the least upper bound types (joins).\\\"\\\"\\\"\\n(...TRUNCATED)
"{\"mypy/join.py\": \"@@ -7,7 +7,7 @@\\n Type, AnyType, NoneType, TypeVisitor, Instance, Unbound(...TRUNCATED)
[{"content":"\nWe are currently solving the following issue within our repository. Here is the issue(...TRUNCATED)
"{\"file_context\": {\"mypy/join.py\": \"\\\"\\\"\\\"Calculation of the least upper bound types (joi(...TRUNCATED)
getmoto__moto-5582
"\nWe are currently solving the following issue within our repository. Here is the issue text:\n--- (...TRUNCATED)
swe-gym
coding
"{\"FAIL_TO_PASS\": [\"tests/test_sagemaker/test_sagemaker_training.py::test_describe_unknown_traini(...TRUNCATED)
"{\"file_diffs\":[{\"old_file_content\":\"import json\\nimport os\\nfrom datetime import datetime\\n(...TRUNCATED)
"{AttributeError}type object 'FakeTrainingJob' has no attribute 'arn_formatter'\nI've encountered wh(...TRUNCATED)
"diff --git a/moto/sagemaker/models.py b/moto/sagemaker/models.py\n--- a/moto/sagemaker/models.py\n+(...TRUNCATED)
"{\"moto/sagemaker/models.py\": \"import json\\nimport os\\nfrom datetime import datetime\\nfrom mot(...TRUNCATED)
"{\"moto/sagemaker/models.py\": \"@@ -165,8 +165,8 @@ def __init__(\\n self.debug_rule_confi(...TRUNCATED)
[{"content":"\nWe are currently solving the following issue within our repository. Here is the issue(...TRUNCATED)
"{\"file_context\": {\"moto/sagemaker/models.py\": \"import json\\nimport os\\nfrom datetime import (...TRUNCATED)
Project-MONAI__MONAI-6034
"\nWe are currently solving the following issue within our repository. Here is the issue text:\n--- (...TRUNCATED)
swe-gym
coding
"{\"FAIL_TO_PASS\": [\"tests/test_sliding_window_inference.py::TestSlidingWindowInference::test_defa(...TRUNCATED)
"{\"file_diffs\":[{\"old_file_content\":\"# Copyright (c) MONAI Consortium\\n# Licensed under the Ap(...TRUNCATED)
"`sliding_window_inference` shouldn't remove gradient\n**Describe the bug**\r\n```py\r\nimport torch(...TRUNCATED)
"diff --git a/monai/inferers/utils.py b/monai/inferers/utils.py\n--- a/monai/inferers/utils.py\n+++ (...TRUNCATED)
"{\"monai/inferers/utils.py\": \"# Copyright (c) MONAI Consortium\\n# Licensed under the Apache Lice(...TRUNCATED)
"{\"monai/inferers/utils.py\": \"@@ -262,7 +262,7 @@ def sliding_window_inference(\\n \\n # acco(...TRUNCATED)
[{"content":"\nWe are currently solving the following issue within our repository. Here is the issue(...TRUNCATED)
"{\"file_context\": {\"monai/inferers/utils.py\": \"# Copyright (c) MONAI Consortium\\n# Licensed un(...TRUNCATED)
Project-MONAI__MONAI-6560
"\nWe are currently solving the following issue within our repository. Here is the issue text:\n--- (...TRUNCATED)
swe-gym
coding
"{\"FAIL_TO_PASS\": [\"tests/test_bundle_workflow.py::TestBundleWorkflow::test_train_config_0__testb(...TRUNCATED)
"{\"file_diffs\":[{\"old_file_content\":\"# Copyright (c) MONAI Consortium\\n# Licensed under the Ap(...TRUNCATED)
"Enhance `check_properties` in `monai.bundle.workflows`\nCurrently, it may not work on some optional(...TRUNCATED)
"diff --git a/monai/bundle/workflows.py b/monai/bundle/workflows.py\n--- a/monai/bundle/workflows.py(...TRUNCATED)
"{\"monai/bundle/workflows.py\": \"# Copyright (c) MONAI Consortium\\n# Licensed under the Apache Li(...TRUNCATED)
"{\"monai/bundle/workflows.py\": \"@@ -378,7 +378,8 @@ def _check_optional_id(self, name: str, prope(...TRUNCATED)
[{"content":"\nWe are currently solving the following issue within our repository. Here is the issue(...TRUNCATED)
"{\"file_context\": {\"monai/bundle/workflows.py\": \"# Copyright (c) MONAI Consortium\\n# Licensed (...TRUNCATED)
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
100