Datasets:
instance_id stringlengths 11 86 | patch stringlengths 150 617k | FAIL_TO_PASS listlengths 5 28.8k | PASS_TO_PASS listlengths 0 23.7k | image_name stringlengths 0 87 | repo stringlengths 6 62 | problem_statement stringlengths 0 188M |
|---|---|---|---|---|---|---|
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) |
Dataset Description
This dataset is a filtered and deduplicated version of a merge containing many high quality SWE datasets, it aims to improve benchmark results on DeepSWE-style problems, benchmarks, and general coding skills.
It is specifically filtered for rows with complex/long code problems in the original datasets, having an average row size of 291.74kb, a total uncompressed size of 14.93GB, and a total of 53649 examples.
Dataset Details
- Curated by: MoreThought
- Funded by: MoreThought
- Shared by: MoreThought
- License: MIT
Dataset Sources
Repositorys:
- https://huggingface.co/datasets/MoreThought/DeepSWE-Gym
- https://huggingface.co/datasets/SWE-Gym/SWE-Gym
- https://huggingface.co/datasets/PrimeIntellect/SWE-rebench-V2-Filtered-Verified
- https://huggingface.co/datasets/nebius/SWE-bench-extra
- https://huggingface.co/datasets/TIGER-Lab/SWE-Next
- https://huggingface.co/datasets/PrimeIntellect/Multi-SWE-RL-Verified
- https://huggingface.co/datasets/swesynth/SWE-Synth
Papers:
- https://huggingface.co/papers/2504.21798
- https://huggingface.co/papers/2504.02605
- https://huggingface.co/papers/2603.20691
- https://huggingface.co/papers/2602.23866
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.
Almost all LLMs cannot handle examples reaching up to 28MB, use specialized scripts to train properly.
- Downloads last month
- 165