Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Job has been terminated due to a temporary spike in resource usage and may be restarted later.
Error code:   JobManagerCrashedError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

instance_id
string
patch
string
FAIL_TO_PASS
list
PASS_TO_PASS
list
image_name
string
repo
string
problem_statement
string
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__2kq6j5km
"diff --git a/oauthlib/oauth2/rfc6749/tokens.py b/oauthlib/oauth2/rfc6749/tokens.py\nindex 73b8c66..(...TRUNCATED)
["tests/oauth2/rfc6749/clients/test_base.py::ClientTest::test_add_bearer_token","tests/oauth2/rfc674(...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
"Bearer token authentication broken - tokens reversed and header check inverted\n\n#### Description\(...TRUNCATED)
oauthlib__oauthlib.1fd52536.combine_file__2nfzwp19
"diff --git a/oauthlib/oauth1/rfc5849/utils.py b/oauthlib/oauth1/rfc5849/utils.py\nindex 0915105..12(...TRUNCATED)
["tests/oauth1/rfc5849/endpoints/test_access_token.py::AccessTokenEndpointTest::test_check_request_t(...TRUNCATED)
["tests/oauth1/rfc5849/endpoints/test_authorization.py::AuthorizationEndpointTest::test_verify_realm(...TRUNCATED)
swebench/swesmith.x86_64.oauthlib_1776_oauthlib.1fd52536
swesmith/oauthlib__oauthlib.1fd52536
"# OAuth1 utils.py functions broken after recent changes\n\n## Description\n\nI've discovered severa(...TRUNCATED)
End of preview.

Dataset Description

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

It is specifically filtered for rows with very complex/long code problems in the original datasets, having an average row size of 101.81kb, a total uncompressed size of 4.29GB, and 42529 examples total.

Dataset Details

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

Dataset Sources

Repositorys: - https://huggingface.co/datasets/SWE-bench/SWE-smith-py - https://huggingface.co/datasets/SWE-bench/SWE-smith-go - https://huggingface.co/datasets/SWE-bench/SWE-smith-rs - https://huggingface.co/datasets/SWE-bench/SWE-smith-ts - https://huggingface.co/datasets/SWE-bench/SWE-smith-js - https://huggingface.co/datasets/SWE-bench/SWE-smith-cpp - https://huggingface.co/datasets/SWE-bench/SWE-smith-java

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
121

Collection including MoreThought/DeepSWE-Gym-Edu

Paper for MoreThought/DeepSWE-Gym-Edu