Dataset Viewer (First 5GB)
Auto-converted to Parquet Duplicate
instance_id
stringlengths
26
79
patch
stringlengths
199
153k
FAIL_TO_PASS
listlengths
1
10.9k
PASS_TO_PASS
listlengths
0
22k
image_name
stringclasses
130 values
repo
stringclasses
130 values
problem_statement
stringlengths
0
39.4k
oauthlib__oauthlib.1fd52536.combine_file__09vlzwgc
diff --git a/oauthlib/oauth2/rfc6749/utils.py b/oauthlib/oauth2/rfc6749/utils.py index 7dc27b3..c5db6ba 100644 --- a/oauthlib/oauth2/rfc6749/utils.py +++ b/oauthlib/oauth2/rfc6749/utils.py @@ -15,8 +15,8 @@ def list_to_scope(scope): """Convert a list of scopes to a space separated string.""" if isinstance(sco...
[ "tests/oauth2/rfc6749/clients/test_backend_application.py::BackendApplicationClientTest::test_parse_token_response", "tests/oauth2/rfc6749/clients/test_base.py::ClientTest::test_add_mac_token", "tests/oauth2/rfc6749/clients/test_legacy_application.py::LegacyApplicationClientTest::test_parse_token_response", "...
[ "tests/oauth1/rfc5849/endpoints/test_access_token.py::AccessTokenEndpointTest::test_check_request_token", "tests/oauth1/rfc5849/endpoints/test_access_token.py::AccessTokenEndpointTest::test_check_verifier", "tests/oauth1/rfc5849/endpoints/test_access_token.py::AccessTokenEndpointTest::test_valid_request", "te...
swebench/swesmith.x86_64.oauthlib_1776_oauthlib.1fd52536
swesmith/oauthlib__oauthlib.1fd52536
OAuth2 scope handling broken after recent changes #### Description The scope handling functions in `oauthlib.oauth2.rfc6749.utils` are producing incorrect results. When converting between scope lists and strings, the order is getting reversed and some edge cases are not handled properly. #### Steps/Code to Reproduce...
oauthlib__oauthlib.1fd52536.combine_file__0fceycuu
diff --git a/oauthlib/oauth1/rfc5849/__init__.py b/oauthlib/oauth1/rfc5849/__init__.py index 85e0b90..ac2824e 100644 --- a/oauthlib/oauth1/rfc5849/__init__.py +++ b/oauthlib/oauth1/rfc5849/__init__.py @@ -86,7 +86,7 @@ class Client: @classmethod def register_signature_method(cls, method_name, method_callbac...
[ "tests/oauth1/rfc5849/test_client.py::ClientRealmTests::test_client_realm_sign_with_additional_realm", "tests/oauth1/rfc5849/test_client.py::ClientRealmTests::test_client_realm_sign_with_default_realm", "tests/oauth1/rfc5849/test_client.py::ClientConstructorTests::test_convert_to_unicode_resource_owner", "tes...
[ "tests/oauth1/rfc5849/endpoints/test_access_token.py::AccessTokenEndpointTest::test_check_request_token", "tests/oauth1/rfc5849/endpoints/test_access_token.py::AccessTokenEndpointTest::test_check_verifier", "tests/oauth1/rfc5849/endpoints/test_access_token.py::AccessTokenEndpointTest::test_valid_request", "te...
swebench/swesmith.x86_64.oauthlib_1776_oauthlib.1fd52536
swesmith/oauthlib__oauthlib.1fd52536
OAuth1 Client constructor swaps nonce and timestamp parameters #### Description When creating an OAuth1 Client with explicit nonce and timestamp values, the parameters get swapped internally. The nonce value is assigned to timestamp and vice versa. #### Steps/Code to Reproduce ```python from oauthlib.oauth1 import ...
oauthlib__oauthlib.1fd52536.combine_file__0fukhdzk
"diff --git a/oauthlib/oauth2/rfc6749/grant_types/implicit.py b/oauthlib/oauth2/rfc6749/grant_types/(...TRUNCATED)
["tests/oauth2/rfc6749/endpoints/test_client_authentication.py::ClientAuthenticationTest::test_clien(...TRUNCATED)
["tests/oauth1/rfc5849/endpoints/test_access_token.py::AccessTokenEndpointTest::test_check_request_t(...TRUNCATED)
swebench/swesmith.x86_64.oauthlib_1776_oauthlib.1fd52536
swesmith/oauthlib__oauthlib.1fd52536
oauthlib__oauthlib.1fd52536.combine_file__0hkl0pea
"diff --git a/oauthlib/openid/connect/core/grant_types/base.py b/oauthlib/openid/connect/core/grant_(...TRUNCATED)
["tests/oauth2/rfc6749/endpoints/test_metadata.py::MetadataEndpointTest::test_openid_oauth2_preconfi(...TRUNCATED)
["tests/oauth1/rfc5849/endpoints/test_access_token.py::AccessTokenEndpointTest::test_check_request_t(...TRUNCATED)
swebench/swesmith.x86_64.oauthlib_1776_oauthlib.1fd52536
swesmith/oauthlib__oauthlib.1fd52536
"OpenID Connect grant types broken after recent changes\n\n#### Description\n\nOpenID Connect grant (...TRUNCATED)
oauthlib__oauthlib.1fd52536.combine_file__0mvyid7d
"diff --git a/oauthlib/oauth2/rfc8628/endpoints/device_authorization.py b/oauthlib/oauth2/rfc8628/en(...TRUNCATED)
["tests/oauth2/rfc8628/endpoints/test_error_responses.py::ErrorResponseTest::test_duplicate_client_i(...TRUNCATED)
["tests/oauth1/rfc5849/endpoints/test_access_token.py::AccessTokenEndpointTest::test_check_request_t(...TRUNCATED)
swebench/swesmith.x86_64.oauthlib_1776_oauthlib.1fd52536
swesmith/oauthlib__oauthlib.1fd52536
"DeviceAuthorizationEndpoint constructor parameters incorrectly assigned\n\n#### Description\n\nThe (...TRUNCATED)
oauthlib__oauthlib.1fd52536.combine_file__0q5tya4o
"diff --git a/oauthlib/oauth2/rfc6749/clients/web_application.py b/oauthlib/oauth2/rfc6749/clients/w(...TRUNCATED)
["tests/oauth2/rfc6749/clients/test_web_application.py::WebApplicationClientTest::test_auth_grant_ur(...TRUNCATED)
["tests/oauth1/rfc5849/endpoints/test_access_token.py::AccessTokenEndpointTest::test_check_request_t(...TRUNCATED)
swebench/swesmith.x86_64.oauthlib_1776_oauthlib.1fd52536
swesmith/oauthlib__oauthlib.1fd52536
"WebApplicationClient constructor parameters swapped causing authentication failures\n\n#### Descrip(...TRUNCATED)
oauthlib__oauthlib.1fd52536.combine_file__0qgnxkrq
"diff --git a/oauthlib/oauth2/rfc6749/endpoints/introspect.py b/oauthlib/oauth2/rfc6749/endpoints/in(...TRUNCATED)
["tests/oauth2/rfc6749/endpoints/test_client_authentication.py::ClientAuthenticationTest::test_basic(...TRUNCATED)
["tests/oauth1/rfc5849/endpoints/test_access_token.py::AccessTokenEndpointTest::test_check_request_t(...TRUNCATED)
swebench/swesmith.x86_64.oauthlib_1776_oauthlib.1fd52536
swesmith/oauthlib__oauthlib.1fd52536
"IntrospectEndpoint initialization and response behavior broken\n\n#### Description\n\nThe Introspec(...TRUNCATED)
oauthlib__oauthlib.1fd52536.combine_file__0y673oox
"diff --git a/oauthlib/oauth2/rfc8628/endpoints/device_authorization.py b/oauthlib/oauth2/rfc8628/en(...TRUNCATED)
["tests/oauth2/rfc8628/endpoints/test_error_responses.py::ErrorResponseTest::test_duplicate_client_i(...TRUNCATED)
["tests/oauth1/rfc5849/endpoints/test_access_token.py::AccessTokenEndpointTest::test_check_request_t(...TRUNCATED)
swebench/swesmith.x86_64.oauthlib_1776_oauthlib.1fd52536
swesmith/oauthlib__oauthlib.1fd52536
"Device authorization endpoint returns incorrect response structure\n\n#### Description\n\nThe devic(...TRUNCATED)
oauthlib__oauthlib.1fd52536.combine_file__1bsv3m8l
"diff --git a/oauthlib/oauth1/rfc5849/signature.py b/oauthlib/oauth1/rfc5849/signature.py\nindex 891(...TRUNCATED)
["tests/oauth1/rfc5849/test_signatures.py::SignatureTests::test_hmac_false_positives","tests/oauth1/(...TRUNCATED)
["tests/oauth1/rfc5849/endpoints/test_access_token.py::AccessTokenEndpointTest::test_check_request_t(...TRUNCATED)
swebench/swesmith.x86_64.oauthlib_1776_oauthlib.1fd52536
swesmith/oauthlib__oauthlib.1fd52536
"OAuth1 signature functions produce incorrect signatures with swapped secrets\n\n#### Description\n\(...TRUNCATED)
oauthlib__oauthlib.1fd52536.combine_file__1gnd4ecz
"diff --git a/oauthlib/oauth2/rfc6749/endpoints/pre_configured.py b/oauthlib/oauth2/rfc6749/endpoint(...TRUNCATED)
["tests/oauth2/rfc6749/endpoints/test_resource_owner_association.py::ResourceOwnerAssociationTest::t(...TRUNCATED)
["tests/oauth1/rfc5849/endpoints/test_access_token.py::AccessTokenEndpointTest::test_check_request_t(...TRUNCATED)
swebench/swesmith.x86_64.oauthlib_1776_oauthlib.1fd52536
swesmith/oauthlib__oauthlib.1fd52536
"OAuth2 Server grant types incorrectly assigned\n\nWhen using the pre-configured OAuth2 Server, the (...TRUNCATED)
End of preview. Expand in Data Studio

Dataset Description

This dataset is a merged version of all the SWE-bench/SWE-smith-lang datasets (88k rows total), it aims to improve benchmark results on DeepSWE-style problems, benchmarks, and general coding skills.

It is NOT specifically filtered for rows with complex/long code problems in the original datasets, despite still having an average row size of 85.4kb, a total uncompressed size of 7.53GB, and 88130 examples total.

Dataset Details

  • Curated by: MoreThought
  • Funded by: MoreThought
  • Shared by: MoreThought
  • License: MIT

Dataset Sources

Repositorys:

Paper:

Uses

  • Improving benchmark results

  • Improving general coding capabilities

  • Training software engineering/coding agents

  • Improving long-context coding

Important

Do NOT try to use this dataset along with other variants or even versions of it if you don't want overlapping examples.

Downloads last month
354

Collection including MoreThought/DeepSWE-Gym-Raw

Paper for MoreThought/DeepSWE-Gym-Raw