Dataset Viewer
Auto-converted to Parquet Duplicate
instance_id
string
hints_text
string
patch
string
test_patch
string
created_at
string
problem_statement
string
repo
string
base_commit
string
version
string
PASS_TO_PASS
list
FAIL_TO_PASS
list
getmoto__moto-6777
Thanks for raising this @SeanBickle. The instance-type-offerings are a direct dump from AWS - strange that they are using `1b` and `1c`, but not `1a`. Marking it as a bug to fix our hardcoded zones to also use `1b` and `1c` though.
diff --git a/mypy/meet.py b/mypy/meet.py --- a/mypy/meet.py +++ b/mypy/meet.py @@ -161,10 +161,6 @@ def _is_overlapping_types(left: Type, right: Type) -> bool: if isinstance(left, illegal_types) or isinstance(right, illegal_types): return True - # 'Any' may or may not be overlapping with the other ty...
diff --git a/test-data/unit/check-dataclasses.test b/test-data/unit/check-dataclasses.test --- a/test-data/unit/check-dataclasses.test +++ b/test-data/unit/check-dataclasses.test @@ -1610,10 +1610,16 @@ B: Any @dataclass class A(B): a: int +@dataclass +class C(B): + generated_args: int + generated_kwargs: ...
2022-06-05T18:48:06Z
Pass kwargs to create_multipart_upload Hi 👋 We have some kwargs going into [`create_multipart_upload`](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html#S3.Client.create_multipart_upload) (using `smart_open` [under the hood](https://github.com/ddelange/pypicloud/blob/cb97fcb6a3f31c...
python/mypy
1d7440914e4387661b0f200d16cd85298fd116e9
4.0
[ "tests/test_glue/test_datacatalog.py::test_delete_database", "tests/test_glue/test_datacatalog.py::test_create_partition_already_exist", "tests/test_glue/test_datacatalog.py::test_get_partitions_empty", "tests/test_glue/test_datacatalog.py::test_create_database", "tests/test_glue/test_datacatalog.py::test_b...
[ "mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadIfSysVersion", "mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadIfSkipUnknownExecution", "mypy/test/testcheck.py::TypeCheckSuite::check-overloading.test::testOverloadIfMerging", "mypy/test/testcheck.py::Ty...
getmoto__moto-7566
diff --git a/moto/s3/models.py b/moto/s3/models.py --- a/moto/s3/models.py +++ b/moto/s3/models.py @@ -12,7 +12,7 @@ import urllib.parse from bisect import insort -from typing import Optional +from typing import Any, Dict, List, Optional from importlib import reload from moto.core import BaseBackend, BaseModel, B...
diff --git a/test-data/unit/check-enum.test b/test-data/unit/check-enum.test --- a/test-data/unit/check-enum.test +++ b/test-data/unit/check-enum.test @@ -1810,4 +1810,4 @@ reveal_type(A.str.value) # N: Revealed type is "Literal['foo']?" reveal_type(A.int.value) # N: Revealed type is "Literal[1]?" reveal_type(A.boo...
2021-01-08T20:07:36Z
Bug: global_sign_out does not actually sign out The current test code for `global_sign_out` only checks against a refresh token action. If you do a sign out and try to access a protected endpoint, like say `get_user(AccessToken)`, it should result to `NotAuthorizedException`. This is not the case as of the current vers...
python/mypy
e9edcb957f341dcf7a14bb7b7acfd4186fb1248b
4.1
[ "tests/test_glue/test_datacatalog.py::test_delete_database", "tests/test_glue/test_datacatalog.py::test_create_partition_already_exist", "tests/test_glue/test_datacatalog.py::test_get_partitions_empty", "tests/test_glue/test_datacatalog.py::test_create_database", "tests/test_glue/test_datacatalog.py::test_b...
[ "tests/test_ec2/test_route_tables.py::test_route_tables_filters_standard" ]
getmoto__moto-6641
Thanks for raising this @sanderegg - I'll push a fix for this shortly.
diff --git a/moto/core/models.py b/moto/core/models.py --- a/moto/core/models.py +++ b/moto/core/models.py @@ -127,16 +127,21 @@ def wrapper(*args, **kwargs): return wrapper def decorate_class(self, klass): - direct_methods = set( - x - for x, y in klass.__dict__.items() - ...
diff --git a/tests/terraform-tests.success.txt b/tests/terraform-tests.success.txt --- a/tests/terraform-tests.success.txt +++ b/tests/terraform-tests.success.txt @@ -121,6 +121,7 @@ TestAccAWSENI_basic TestAccAWSENI_IPv6 TestAccAWSENI_disappears TestAccAWSS3BucketObject_ +TestAccAWSS3ObjectCopy TestAccAWSIAMPolicy...
2023-03-23 23:03:13
generics with a union bound aren't type checked ```py from typing import Generic, TypeVar, Union class Foo: ... class Bar: ... T = TypeVar("T", bound=Union[Foo, Bar]) class Baz(Generic[T]): def __init__(self, value: T): value.foo() # no error ``` https://mypy-play.net/?my...
python/mypy
8ff53ff4178cb99d375b8844cf44c5ab44b140b1
4.2
[ "tests/test_dynamodb/test_dynamodb_expression_tokenizer.py::test_expression_tokenizer_leading_underscore_in_attribute_value_expression", "tests/test_dynamodb/test_dynamodb_expression_tokenizer.py::test_expression_tokenizer_list_index_surrounded_with_whitespace", "tests/test_dynamodb/test_dynamodb_expression_tok...
[ "tests/test_rds/test_server.py::test_create_db_instance" ]
getmoto__moto-4847
diff --git a/moto/apigateway/models.py b/moto/apigateway/models.py --- a/moto/apigateway/models.py +++ b/moto/apigateway/models.py @@ -874,21 +874,29 @@ def apply_patch_operations(self, patch_operations: List[Dict[str, Any]]) -> None for op in patch_operations: path = op["path"] value...
diff --git a/test-data/unit/check-enum.test b/test-data/unit/check-enum.test --- a/test-data/unit/check-enum.test +++ b/test-data/unit/check-enum.test @@ -1360,3 +1360,34 @@ class E(IntEnum): A = N(0) reveal_type(E.A.value) # N: Revealed type is "__main__.N" + + +[case testEnumReusedKeys] +# https://github.com/...
2022-07-30 23:15:04
"Bucket does not exist" thrown from inherited tearDown method in moto 3.0.1 I have this code: ```python import unittest import boto3 from moto import mock_s3 @mock_s3 class BaseTest(unittest.TestCase): def setUp(self) -> None: self.s3 = boto3.resource('s3') self.test_bucket = self.s...
getmoto/moto
2f8a356b3f9dd4f5787017bcde143586f80f782f
5.0
[]
[ "tests/test_cloudfront/test_cloudfront_distributions.py::test_create_distribution_minimal_custom_config" ]
getmoto__moto-7635
Digging into it a bit more this seems to be intentional: https://github.com/python/mypy/blob/e46aa6df6126cf47bea97bf9f94d7cba093d0103/mypy/build.py#L2446-L2452 However even putting the more specific, non-global ignore in config (eg `[mypy-redis.*] ignore_missing_imports = True`) fails to suppress the error as long as...
diff --git a/moto/amp/urls.py b/moto/amp/urls.py --- a/moto/amp/urls.py +++ b/moto/amp/urls.py @@ -6,17 +6,18 @@ ] -response = PrometheusServiceResponse() - - url_paths = { - "{0}/workspaces$": response.dispatch, - "{0}/workspaces/(?P<workspace_id>[^/]+)$": response.dispatch, - "{0}/workspaces/(?P<worksp...
diff --git a/tests/test_kms/test_kms_boto3.py b/tests/test_kms/test_kms_boto3.py --- a/tests/test_kms/test_kms_boto3.py +++ b/tests/test_kms/test_kms_boto3.py @@ -1,7 +1,7 @@ import json from datetime import datetime -from cryptography.hazmat.primitives import hashes -from cryptography.hazmat.primitives.asymmetric im...
2021-09-16T15:15:06Z
Feature request: Add support for named shadows in iot things Hello team! I have been using the moto library the past few days, and so far is amazing! It has allowed me to test code using aws services more quickly. However, I have noticed that the mocking implementation for iot does not allow to store named shadow...
getmoto/moto
0b8581ae98f6a2bfa5e8e6e09c0c10d5f9e35d41
3.0
[ "mypy/test/testcheck.py::TypeCheckSuite::check-abstract.test::testImplementReadWriteAbstractPropertyViaProperty", "mypy/test/testcheck.py::TypeCheckSuite::check-abstract.test::testInstantiateClassWithReadOnlyAbstractProperty" ]
[ "tests/test_s3/test_s3_copyobject.py::test_copy_key_boto3_with_sha256_checksum" ]
python__mypy-13015
diff --git a/moto/s3/responses.py b/moto/s3/responses.py --- a/moto/s3/responses.py +++ b/moto/s3/responses.py @@ -261,7 +261,7 @@ def _send_response(response): return status_code, headers, response_content def _bucket_response(self, request, full_url): - querystring = self._get_querystring(f...
diff --git a/tests/test_cloudfront/test_cloudfront_invalidation.py b/tests/test_cloudfront/test_cloudfront_invalidation.py --- a/tests/test_cloudfront/test_cloudfront_invalidation.py +++ b/tests/test_cloudfront/test_cloudfront_invalidation.py @@ -31,3 +31,49 @@ def test_create_invalidation(): "CallerRefere...
2022-05-14 01:52:33
EKS CreateCluster response encryptionConfig property should be a List/Array # Description When using moto server, the `CreateCluster` EKS API, the Cluster response object should contain `encryptionConfig` as a List of at-most-one `EncryptionConfig` maps/objects (as per example here: https://docs.aws.amazon.com/eks/...
getmoto/moto
61c475fef7eebc260b4369547aeea086f5208b6a
4.1
[ "mypy/test/testparse.py::ParserSuite::testDictionaryExpression", "mypy/test/testparse.py::ParserSuite::testCorrectSlicesInAnnotations39", "mypy/test/testparse.py::ParserSuite::testCorrectSlicesInAnnotations38", "mypy/test/testcheck.py::TypeCheckSuite::testPrintStatementTrailingCommaFastParser_python2", "myp...
[ "tests/test_cognitoidp/test_cognitoidp.py::test_create_resource_server_with_no_scopes" ]
python__mypy-14988
Thanks for opening. Tagging this as a feature request.
diff --git a/moto/autoscaling/models.py b/moto/autoscaling/models.py --- a/moto/autoscaling/models.py +++ b/moto/autoscaling/models.py @@ -521,9 +521,13 @@ def _set_launch_configuration( if launch_template: launch_template_id = launch_template.get("launch_template_id") lau...
diff --git a/tests/test_sesv2/test_sesv2.py b/tests/test_sesv2/test_sesv2.py --- a/tests/test_sesv2/test_sesv2.py +++ b/tests/test_sesv2/test_sesv2.py @@ -46,6 +46,12 @@ def test_send_email(ses_v1): # pylint: disable=redefined-outer-name sent_count = int(send_quota["SentLast24Hours"]) assert sent_count == 3 ...
2021-04-30T12:56:18Z
`bool` and `TypeGuard` incorrect match in `@overload` method While working on https://github.com/python/typeshed/pull/6140 I've noticed that there's a problem with how `TypeGuard` and `bool` types match in `overload` method. Here's a simplified example: ```python from typing import Callable, TypeVar, Generic, TypeG...
python/mypy
9ea6d928646f823af0bb646cca0aba26be7e1107
4.2
[ "tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py::test_query_gsi_with_wrong_key_attribute_names_throws_exception", "tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py::test_hash_key_can_only_use_equals_operations[<]", "tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py::test_creating_...
[ "tests/test_logs/test_export_tasks.py::test_create_export_executes_export_task", "tests/test_logs/test_logs_query/test_boto3.py::test_start_query__unknown_log_group", "tests/test_logs/test_integration.py::test_delete_subscription_filter_errors", "tests/test_logs/test_logs.py::test_describe_subscription_filter...
getmoto__moto-6190
diff --git a/moto/iot/models.py b/moto/iot/models.py --- a/moto/iot/models.py +++ b/moto/iot/models.py @@ -59,7 +59,11 @@ def matches(self, query_string: str) -> bool: return self.attributes.get(k) == v return query_string in self.thing_name - def to_dict(self, include_default_client_id: bool...
diff --git a/test-data/unit/pythoneval.test b/test-data/unit/pythoneval.test --- a/test-data/unit/pythoneval.test +++ b/test-data/unit/pythoneval.test @@ -1557,3 +1557,19 @@ _testNoPython3StubAvailable.py:1: note: See https://mypy.readthedocs.io/en/stabl _testNoPython3StubAvailable.py:3: error: Library stubs not insta...
2022-11-08T14:04:16Z
DynamoDB table Creates only in us-east-1 When trying to create a dynamodb table in us-east-2, the table is created in us-east-1. With us-east-2 set in the client, the arn is returned as 'arn:aws:dynamodb:us-east-1:123456789012:table/test_table'. import pytest import boto3 from moto import mock_dynamodb import...
getmoto/moto
52846c9555a3077b11a391fbfcd619d0d6e776f6
4.1
[ "mypy/test/testcheck.py::TypeCheckSuite::check-ignore.test::testIgnoreWholeModule1", "mypy/test/testcheck.py::TypeCheckSuite::check-ignore.test::testIgnoreWholeModule4", "mypy/test/testcheck.py::TypeCheckSuite::check-ignore.test::testIgnoreWholeModule3", "mypy/test/testcheck.py::TypeCheckSuite::check-python38...
[ "tests/test_iam/test_iam_groups.py::test_add_user_should_be_idempotent" ]
getmoto__moto-6743
I am affected by the same problem, using these versions: `Python 3.9.5` ``` mypy==0.910 mypy-extensions==0.4.3 numpy==1.21.1 pkg_resources==0.0.0 toml==0.10.2 typing-extensions==3.10.0.0 ``` I am affected by the same problem. Any progress on this? As an additional data point: I have the same problem (with se...
diff --git a/mypy/nodes.py b/mypy/nodes.py --- a/mypy/nodes.py +++ b/mypy/nodes.py @@ -135,6 +135,12 @@ def get_column(self) -> int: 'typing.OrderedDict': (3, 7), } +# This keeps track of aliases in `typing_extensions`, which we treat specially. +typing_extensions_aliases: Final = { + # See: https://github.c...
diff --git a/tests/test_cloudwatch/test_cloudwatch_boto3.py b/tests/test_cloudwatch/test_cloudwatch_boto3.py --- a/tests/test_cloudwatch/test_cloudwatch_boto3.py +++ b/tests/test_cloudwatch/test_cloudwatch_boto3.py @@ -2,6 +2,7 @@ from datetime import datetime, timedelta, timezone from decimal import Decimal from op...
2023-09-15 14:34:40
DynamoDB `get_item()` should raise `ClientError` for empty key ### What I expect to happen: When an empty key is provided for a `get_item()` call, AWS's DynamoDB returns an error like this: > botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the GetItem operation: One or more param...
getmoto/moto
3442b70c0ea8179ea6ddd6ec86fd65be75dd24de
3.1
[ "tests/test_rds/test_rds.py::test_create_parameter_group_with_tags", "tests/test_rds/test_rds.py::test_describe_db_snapshots", "tests/test_rds/test_rds.py::test_get_non_existent_security_group", "tests/test_rds/test_rds.py::test_remove_tags_db", "tests/test_rds/test_rds.py::test_get_databases_paginated", ...
[ "tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py::test_query_with_empty_filter_expression" ]
python__mypy-11119
"Looks like GetDetector isn't implemented yet, we only support CreateDetector and ListDetectors at t(...TRUNCATED)
"diff --git a/moto/cloudformation/models.py b/moto/cloudformation/models.py\n--- a/moto/cloudformati(...TRUNCATED)
"diff --git a/tests/test_dynamodb/exceptions/test_key_length_exceptions.py b/tests/test_dynamodb/exc(...TRUNCATED)
2022-09-15 20:31:21
"Use execution parameters in Athena backend\nI'm trying to update the AthenaBackend, so I will be ab(...TRUNCATED)
getmoto/moto
87d84c12e0e4468f92cb81c6f936dfa4688ffa5c
4.1
["tests/test_apigateway/test_apigateway_importrestapi.py::test_import_rest_api__api_is_created","tes(...TRUNCATED)
["tests/test_ec2/test_vpcs.py::test_creating_a_vpc_in_empty_region_does_not_make_this_vpc_the_defaul(...TRUNCATED)
End of preview. Expand in Data Studio

edition_0221_SWE-Gym-SWE-Gym-readymade

A Readymade by TheFactoryX

Original Dataset

SWE-Gym/SWE-Gym

Process

This dataset is a "readymade" - inspired by Marcel Duchamp's concept of taking everyday objects and recontextualizing them as art.

What we did:

  1. Selected the original dataset from Hugging Face
  2. Shuffled each column independently
  3. Destroyed all row-wise relationships
  4. Preserved structure, removed meaning

The result: Same data. Wrong order. New meaning. No meaning.

Purpose

This is art. This is not useful. This is the point.

Column relationships have been completely destroyed. The data maintains its types and values, but all semantic meaning has been removed.


Part of the Readymades project by TheFactoryX.

"I am a machine." — Andy Warhol

Downloads last month
6