niko0xdev/rlx-jina-v2-small-sdlc
Feature Extraction β’ Updated β’ 106
group_id string | split string | repo_family string | as_of string | query string | positive_doc_ids list | negative_doc_ids list | negative_reasons list | language string | category string | source_id string |
|---|---|---|---|---|---|---|---|---|---|---|
grp-swe-gym-getmoto__moto-7365 | train | getmoto/moto | 2024-02-19T20:59:03+00:00 | [getmoto/moto] DynamoDB's `update_item` performs floating-point arithmetic with mock table created via `boto3` When using `moto.mock_aws` to create a `pytest` fixture for a DynamoDB table created with `boto3`, it appears that the `update_item` operation called with an `ADD` expression performs floating-point arithmetic... | [
"swe-gym:getmoto__moto-7365:fix"
] | [
"swe-gym:getmoto__moto-5513:fix",
"swe-gym:getmoto__moto-6056:test",
"swe-rebench:Sage-Bionetworks__challengeutils-169:fix",
"swe-rebench:cookiecutter__cookiecutter-1273:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6920 | train | getmoto/moto | 2023-10-15T21:03:23+00:00 | [getmoto/moto] Lambda publish_layer_version function failed due to the wrong implementation ## Reporting Bugs When you run ``publish_layer_version`` ``` lambda_client.publish_layer_version( LayerName="my_layer", Content=dict( S3Bucket="my-bucket", S3Key="my-key.zip", ) ) ``` It raises this error: ``` File "/Users/myuse... | [
"swe-gym:getmoto__moto-6920:fix"
] | [
"swe-gym:getmoto__moto-6317:test",
"swe-gym:getmoto__moto-5587:test",
"swe-rebench:optuna__optuna-1209:fix",
"swe-rebench:astropy__specreduce-141:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5876 | train | getmoto/moto | 2023-01-25T00:07:57+00:00 | [getmoto/moto] Cognito - No validation that there isn't already an existing user with the same username in admin_update_user_attributes Hi, Sorry for the spam, just raising another issue for a potential enhancement. There is currently no validation on the `admin_update_user_attributes` function to check that the email ... | [
"swe-gym:getmoto__moto-5876:fix"
] | [
"swe-gym:getmoto__moto-7335:fix",
"swe-gym:getmoto__moto-7635:test",
"swe-rebench:ValvePython__steam-168:fix",
"swe-rebench:PyCQA__flake8-1648:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5085 | train | getmoto/moto | 2022-05-01T18:37:16+00:00 | [getmoto/moto] When creating ec2 instances from launch template via run_instances, the instances aren't tagged I'm using moto in pytest. I have created a launch template using `create_launch_template`. This template is created with `TagSpecifications` for instance and volume. Upon using `run_instances` to create new in... | [
"swe-gym:getmoto__moto-5085:fix"
] | [
"swe-gym:getmoto__moto-6609:fix",
"swe-gym:getmoto__moto-5893:fix",
"swe-gym:pandas-dev__pandas-57758:test",
"swe-rebench:numba__numba-9758:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6709 | train | getmoto/moto | 2023-08-21T19:27:36+00:00 | [getmoto/moto] DynamoDB: special characters in get_item() projection expression not handled correctly Hi! I have a nested attribute inside a dynamodb table like so: ````json { "device": { "N": "123456" }, "software": { "M": { "python3.10": { "M": { "lorem": { "S": "asdf" }, "ipsum": { "S": "asdf" } } }, "curl": { "M": ... | [
"swe-gym:getmoto__moto-6709:fix"
] | [
"swe-gym:getmoto__moto-5589:test",
"swe-gym:getmoto__moto-7514:fix",
"doc-order-matcher-s2-v3-hneg",
"swe-rebench:sanic-org__sanic-2578:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7082 | train | getmoto/moto | 2023-11-30T22:55:53+00:00 | [getmoto/moto] Logs: create_export_task() currently does not export any data to S3 Two reasons: - the `filter_log_events` does not check any streams (as it passes an empty list) - the date filtering is wrong, where we pass seconds and compare them to milliseconds (or vice versa..) We should have an AWS-compatible test ... | [
"swe-gym:getmoto__moto-7082:fix"
] | [
"swe-gym:getmoto__moto-5124:test",
"swe-gym:getmoto__moto-6075:test",
"swe-gym:facebookresearch__hydra-1750:fix",
"swe-rebench:pybamm-team__PyBaMM-1014:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5212 | train | getmoto/moto | 2022-06-10T10:17:08+00:00 | [getmoto/moto] create_vpc should never create a default vpc The create_vpc call never creates a default VPC in AWS - there is a separate create_default_vpc call. This removes a behavior by which previously moto would create a default vpc if no other vpcs exist. | [
"swe-gym:getmoto__moto-5212:fix"
] | [
"swe-gym:getmoto__moto-6734:fix",
"swe-gym:getmoto__moto-4846:test",
"swe-rebench:tomerfiliba__plumbum-243:test",
"swe-rebench:alexander-akhmetov__python-telegram-29:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5386 | train | getmoto/moto | 2022-08-14T12:21:34+00:00 | [getmoto/moto] EC2: Add support for hibernation APIs Currently, the EC2 model does not support the APIs necessary for [instance hibernation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) such as [`hibernation_options`](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ec2.... | [
"swe-gym:getmoto__moto-5386:fix"
] | [
"swe-gym:getmoto__moto-6919:fix",
"swe-gym:getmoto__moto-5949:fix",
"swe-rebench:sympy__sympy-17147:test",
"swe-gym:dask__dask-10404:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-4950 | train | getmoto/moto | 2022-03-19T03:23:34+00:00 | [getmoto/moto] Timestream Write has the wrong response returned ### Environment Python 3.10.2 (and 3.9 in lambda) Libraries involved installed from pip: boto3 1.20.49 botocore 1.23.49 moto 3.1.0 pytest 7.1.0 pytest-mock 3.7.0 ### Expectation for response The AWS documentation for timestream-write.client.write_records s... | [
"swe-gym:getmoto__moto-4950:fix"
] | [
"swe-gym:getmoto__moto-6863:fix",
"swe-gym:getmoto__moto-7490:test",
"swe-rebench:spotify__cstar-22:fix",
"swe-rebench:pedrokiefer__aiostomp-17:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7456 | train | getmoto/moto | 2024-03-10T23:27:44+00:00 | [getmoto/moto] Please add support for the ResilienceHub API I am using moto 5.0.2, Python mocks with Python 3.11.3, boto3 1.26.68, botocore 1.29.165. I have the following code: ``` @pytest.fixture(scope="function") def aws_credentials(): """Mocked AWS Credentials for moto.""" os.environ["AWS_ACCESS_KEY_ID"] = "testing"... | [
"swe-gym:getmoto__moto-7456:fix"
] | [
"swe-gym:getmoto__moto-7495:fix",
"swe-gym:getmoto__moto-5340:test",
"swe-rebench:mne-tools__mne-python-11939:fix",
"swe-rebench:altair-viz__altair-1538:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5725 | train | getmoto/moto | 2022-11-30T21:43:44+00:00 | [getmoto/moto] Route53 should raise an exception when record already exists Hi, I'm trying to mock route53 and test my function, however, I noticed that moto does not raise an exception that real route53 does. This does apply for CREATE and DELETE actions maybe even for UPSERT moto version = 3.1.4 ## How to reproduce C... | [
"swe-gym:getmoto__moto-5725:fix"
] | [
"swe-gym:getmoto__moto-6716:test",
"swe-gym:getmoto__moto-6633:fix",
"swe-rebench:ipython__ipython-14693:test",
"swe-rebench:pydata__xarray-5514:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5752 | train | getmoto/moto | 2022-12-10T20:53:01+00:00 | [getmoto/moto] describe_parameters depends on filter order, but shouldn't # Summary When calling `ssm` `describe_parameters`, you can pass in a list of filters. I have seen different behavior based on the order of my filters. With certain orders, the values returned do not match the filters. # MWE Let's create two para... | [
"swe-gym:getmoto__moto-5752:fix"
] | [
"swe-gym:getmoto__moto-6701:fix",
"swe-gym:getmoto__moto-7635:fix",
"swe-rebench:astropy__astropy-8713:fix",
"swe-rebench:sphinx-doc__sphinx-5449:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6868 | train | getmoto/moto | 2023-09-29T20:07:58+00:00 | [getmoto/moto] TotalStorageCapacityInMegaBytes missing from redshift.describe_clusters() ## Reporting Bugs Please be aware of the following things when filing bug reports: 1. Avoid raising duplicate issues. *Please* use the GitHub issue search feature to check whether your bug report or feature request has been mention... | [
"swe-gym:getmoto__moto-6868:fix"
] | [
"swe-gym:getmoto__moto-7283:fix",
"swe-gym:getmoto__moto-5137:fix",
"swe-rebench:UXARRAY__uxarray-1072:fix",
"swe-rebench:arviz-devs__arviz-991:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6178 | train | getmoto/moto | 2023-04-05T02:11:06+00:00 | [getmoto/moto] DynamoDB query with brackets in KeyConditionExpression causes: Invalid function name; function: See the attached testcase I have found that when mocking DynamoDB and running a query, if I put brackets in my KeyConditionExpression then it raises an error My KeyConditionExpression is `(#audit_object_id = :... | [
"swe-gym:getmoto__moto-6178:fix"
] | [
"swe-gym:getmoto__moto-6736:fix",
"swe-gym:getmoto__moto-7324:fix",
"swe-rebench:M0r13n__pyais-122:test",
"swe-rebench:reportportal__agent-Python-RobotFramework-186:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6075 | train | getmoto/moto | 2023-03-14T23:49:10+00:00 | [getmoto/moto] get_object_attributes returns incorrect response (object content) ## Problem It appears that the `get_object_attributes` on the s3 client does not return the expected XML for the object, instead simply the file contents. I noticed this while trying to work with different checksum algorithms but on furthe... | [
"swe-gym:getmoto__moto-6075:fix"
] | [
"swe-gym:getmoto__moto-5456:test",
"swe-gym:getmoto__moto-7537:test",
"swe-rebench:Ouranosinc__xclim-235:fix",
"swe-rebench:12rambau__sepal_ui-814:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6091 | train | getmoto/moto | 2023-03-19T12:10:24+00:00 | [getmoto/moto] list_targets_by_rule method - EventBusName parameter is not included https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/events/client/list_targets_by_rule.html contains EventBusName parameter which is not included in the moto. As a result, when the method is called for rules with ... | [
"swe-gym:getmoto__moto-6091:fix"
] | [
"swe-gym:getmoto__moto-6868:test",
"swe-gym:getmoto__moto-5706:test",
"swe-gym:pandas-dev__pandas-51901:test",
"swe-rebench:cirKITers__masKIT-25:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5154 | train | getmoto/moto | 2022-05-21T22:45:00+00:00 | [getmoto/moto] Add support for EC2 state 'OutOfService' in moto ELB 'describe_instance_health' Add support for instance state 'OutOfService' in moto ELB 'describe_instance_health' https://github.com/spulec/moto/blob/master/moto/elb/responses.py#L260 mocking doesn't have support for 'OutOfService', once an instance is r... | [
"swe-gym:getmoto__moto-5154:fix"
] | [
"swe-gym:getmoto__moto-6885:test",
"swe-gym:getmoto__moto-6802:test",
"swe-rebench:fniessink__next-action-56:test",
"swe-rebench:prjemian__spec2nexus-178:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6535 | train | getmoto/moto | 2023-07-18T19:27:40+00:00 | [getmoto/moto] Include IoT Thing connectivity status on iot.search_index response Thanks for the fantastic work you do with Moto! I want to ask you to include the `connectivity` response to the [search_index](https://github.com/getmoto/moto/blob/master/tests/test_iot/test_iot_search.py#L24) method of IoT if possible. Y... | [
"swe-gym:getmoto__moto-6535:fix"
] | [
"swe-gym:getmoto__moto-5620:test",
"swe-gym:getmoto__moto-7579:fix",
"swe-rebench:NRWLDev__fastapi-problem-29:fix",
"swe-gym:python__mypy-17293:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5949 | train | getmoto/moto | 2023-02-19T23:19:41+00:00 | [getmoto/moto] S3 - IAM: SignatureDoesNotMatch on bucket-related methods When trying to call some methods on the s3 client while using moto, I get some unexpected `SignatureDoesNotMatch` exceptions. The client can call `head_bucket` (maybe thanks to #4335 and #4346), but fails to call `get_bucket_location` or `list_obj... | [
"swe-gym:getmoto__moto-5949:fix"
] | [
"swe-gym:getmoto__moto-5343:fix",
"swe-gym:getmoto__moto-5478:test",
"swe-rebench:datosgobar__series-tiempo-ar-40:test",
"swe-rebench:dask__dask-3107:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5513 | train | getmoto/moto | 2022-10-01T21:58:36+00:00 | [getmoto/moto] Inconsistent `us-west-1` availability zones `us-west-1` only has [2 availability zones accessible to customers](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/). The [mapping of availability zone name to availability zone ID](https://docs.aws.amazon.com/ram/latest/userguide/working-wit... | [
"swe-gym:getmoto__moto-5513:fix"
] | [
"swe-gym:getmoto__moto-6444:fix",
"swe-gym:getmoto__moto-4792:test",
"swe-rebench:statsmodels__statsmodels-9130:test",
"swe-rebench:pytest-dev__pytest-mock-273:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5844 | train | getmoto/moto | 2023-01-14T14:04:05+00:00 | [getmoto/moto] Apigateway REST getExport as Swagger Currently the operation `get_export` is not covered in moto, this issue is just to formalize the request to cover this functionality. https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-export-api.html | [
"swe-gym:getmoto__moto-5844:fix"
] | [
"swe-gym:getmoto__moto-6567:fix",
"swe-gym:getmoto__moto-7212:test",
"swe-rebench:omarkohl__pytest-datafiles-21:test",
"swe-rebench:DataBiosphere__toil-4077:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7514 | train | getmoto/moto | 2024-03-23T14:26:44+00:00 | [getmoto/moto] S3 Select: gzip input and CSV output I'm testing some code that uses S3 Select and have a need for two unsupported features: - Gzip-encoded input (in my case the compressed content is CSV, although I don't think that matters) - CSV output (right now it only outputs JSON) I was able to get the gzip workin... | [
"swe-gym:getmoto__moto-7514:fix"
] | [
"swe-gym:getmoto__moto-5509:fix",
"swe-gym:getmoto__moto-4895:test",
"swe-rebench:aws__aws-cli-7413:fix",
"swe-rebench:enthought__traits-futures-203:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-4986 | train | getmoto/moto | 2022-03-29T22:29:46+00:00 | [getmoto/moto] 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.amaz... | [
"swe-gym:getmoto__moto-4986:fix"
] | [
"swe-gym:getmoto__moto-5844:test",
"swe-gym:getmoto__moto-6804:fix",
"swe-rebench:beetbox__beets-3554:fix",
"swe-gym:pandas-dev__pandas-54015:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7153 | train | getmoto/moto | 2023-12-21T21:52:18+00:00 | [getmoto/moto] Route53 record with multivalue_answer_routing_policy cannot be destroyed # Problem I am unable to destroy a route53 record with `multivalue_answer_routing_policy = true`. If you comment out the `multivalue_answer_routing_policy` or set it to `false` in the below code, then it applies and destroys properl... | [
"swe-gym:getmoto__moto-7153:fix"
] | [
"swe-gym:getmoto__moto-5960:test",
"swe-gym:getmoto__moto-6159:test",
"swe-rebench:python-lsp__python-lsp-server-450:fix",
"swe-gym:facebookresearch__hydra-734:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7029 | train | getmoto/moto | 2023-11-15T20:50:55+00:00 | [getmoto/moto] ecs.run_task, ecs_describe_tasks, ecs.list_tags_for_resource not handle tags Hello, I've found a issue with `ecs.run_task()` and `ecs_describe_task()` with tags. I'm running a task: ``` task_definition = ecs_c.register_task_definition( family='test-tdf', networkMode='awsvpc', requiresCompatibilities=['FA... | [
"swe-gym:getmoto__moto-7029:fix"
] | [
"swe-gym:getmoto__moto-6352:test",
"swe-gym:getmoto__moto-4847:fix",
"doc-billing-worker-s6-v0-hneg",
"swe-rebench:GenericMappingTools__pygmt-1484:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6641 | train | getmoto/moto | 2023-08-12T19:18:17+00:00 | [getmoto/moto] Scheduler not raising ConflictException when duplicate schedules created Boto3 will raise a `ConflictException` when an Eventbridge schedule is created with the same name as an existing schedule. While mocking with moto, this exception is not raised. The response returns a success status and the second s... | [
"swe-gym:getmoto__moto-6641:fix"
] | [
"swe-gym:getmoto__moto-6905:test",
"swe-gym:getmoto__moto-6785:fix",
"swe-rebench:canonical__operator-949:fix",
"swe-gym:pandas-dev__pandas-55258:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6636 | train | getmoto/moto | 2023-08-11T21:09:43+00:00 | [getmoto/moto] Inconsistency between moto and boto when DynamoDb Query FilterExpression is empty I have a conditional DynamoDB `Query` where, depending on the parameters, I may want to pass a `FilterExpression` or not. Initially I wrote it like this: ``` filter_condition = Attr('permissions').contains('admin') if admin... | [
"swe-gym:getmoto__moto-6636:fix"
] | [
"swe-gym:getmoto__moto-6919:fix",
"swe-gym:getmoto__moto-4915:test",
"swe-rebench:altair-viz__altair-2842:test",
"swe-rebench:Unidata__MetPy-3347:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7023 | train | getmoto/moto | 2023-11-13T22:07:46+00:00 | [getmoto/moto] KeyError when calling deregister_resource with unknown ResourceArn in lake formation Description: When calling deregister_resource on a mocked lake formation client you get a KeyError which does not conform to the AWS docs. https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lakefo... | [
"swe-gym:getmoto__moto-7023:fix"
] | [
"swe-gym:getmoto__moto-6056:test",
"swe-gym:getmoto__moto-5587:fix",
"swe-rebench:mathysgrapotte__stimulus-py-72:fix",
"swe-rebench:matrix-org__synapse-4844:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6746 | train | getmoto/moto | 2023-08-31T13:58:43+00:00 | [getmoto/moto] Moto uses a single instance of the ...Response class for all requests for some services ## Motivation In LocalStack, we began seeing some strange behavior, especially with s3 buckets, which were not created in the region or accounts the request targets. This leads to test failures, with rather confusing ... | [
"swe-gym:getmoto__moto-6746:fix"
] | [
"swe-gym:getmoto__moto-6510:test",
"swe-gym:getmoto__moto-5865:test",
"swe-rebench:sympy__sympy-9599:fix",
"swe-rebench:cohenlabUNC__clpipe-419:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-4915 | train | getmoto/moto | 2022-03-07T22:07:24+00:00 | [getmoto/moto] Invalid instance ID error behaves differently from AWS https://github.com/spulec/moto/blob/ea81377cd0ce669dbb01d2141ef6f7e92c9b757d/moto/ec2/exceptions.py#L238 When I terminate more than one non-existent ID in AWS, I get the error: An error occurred (InvalidInstanceID.NotFound) when calling the Terminate... | [
"swe-gym:getmoto__moto-4915:fix"
] | [
"swe-gym:getmoto__moto-4951:test",
"swe-gym:getmoto__moto-7537:fix",
"swe-gym:pandas-dev__pandas-47528:fix",
"swe-rebench:networkx__networkx-5708:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-4881 | train | getmoto/moto | 2022-02-21T21:10:56+00:00 | [getmoto/moto] SNS publish_batch issue with RawMessageDelivery To reproduce: https://github.com/spulec/moto/pull/4818 The behavior between `sns.publish` and `sns.publish_batch` seems to be slightly different, in `sns.publish` the message attributes are handled with `SNSResponse._parse_message_attributes`. This leads to... | [
"swe-gym:getmoto__moto-4881:fix"
] | [
"swe-gym:getmoto__moto-4895:fix",
"swe-gym:getmoto__moto-5011:fix",
"swe-rebench:dirty-cat__dirty_cat-379:test",
"swe-rebench:openmrslab__suspect-46:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6376 | train | getmoto/moto | 2023-06-07T20:16:14+00:00 | [getmoto/moto] CORS rules not being applied to PUT responses Hello! I'm the author of [this issue](https://github.com/getmoto/moto/issues/4220) which was solved on [this PR](https://github.com/getmoto/moto/pull/4497). So first off I'd like to thank you for looking into it. Some time has passed but only now we've been a... | [
"swe-gym:getmoto__moto-6376:fix"
] | [
"swe-gym:getmoto__moto-6355:fix",
"swe-gym:getmoto__moto-5835:test",
"swe-rebench:mherrmann__gitignore_parser-38:fix",
"swe-rebench:pypa__cibuildwheel-1098:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5175 | train | getmoto/moto | 2022-05-26T22:30:51+00:00 | [getmoto/moto] [Terraform] Creation of Guardduty GetDetector return 404 Hello, i tried to use moto as mock server for terraform code testing, during guardduty creation i got in debug mode error like **Repro steps**: Start moto server Configure AWS provider for using custom endpoint Create simple aws_guardduty_detector ... | [
"swe-gym:getmoto__moto-5175:fix"
] | [
"swe-gym:getmoto__moto-6226:test",
"swe-gym:getmoto__moto-5486:test",
"swe-rebench:pybamm-team__PyBaMM-1090:test",
"swe-rebench:ucfopen__canvasapi-274:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5865 | train | getmoto/moto | 2023-01-22T11:35:01+00:00 | [getmoto/moto] ECS list_services ClusterNotFoundException Not raised ## Reporting Bugs Resource/Client: **ECS** Method: **list_services** When calling the `ecs` `list_services` with a cluster that does not exist (in moto) the API returns an empty list response. Expected behavior: It should raise `ClusterNotFoundExcepti... | [
"swe-gym:getmoto__moto-5865:fix"
] | [
"swe-gym:getmoto__moto-6795:fix",
"swe-gym:getmoto__moto-6226:fix",
"swe-rebench:d0c-s4vage__lookatme-61:test",
"swe-rebench:koxudaxi__datamodel-code-generator-1248:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5812 | train | getmoto/moto | 2023-01-03T20:21:05+00:00 | [getmoto/moto] Multiple iot-data publish calls lead to None topic Calling `boto3.client('iot-data', region_name='eu-central-1').publish( topic = my_topic, payload = my_payload, qos = 1 )` More than once, causes the topic for all calls after the first one to be `None` inside `moto.iotdata.models.iotdata_backends[moto.co... | [
"swe-gym:getmoto__moto-5812:fix"
] | [
"swe-gym:getmoto__moto-4918:test",
"swe-gym:getmoto__moto-6091:fix",
"swe-rebench:scikit-learn-contrib__imbalanced-learn-1000:fix",
"swe-rebench:reata__sqllineage-41:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5968 | train | getmoto/moto | 2023-02-23T18:32:49+00:00 | [getmoto/moto] Missing implementation for glue.delete_table_version ## Feature request When testing this feature: https://github.com/dbt-athena/dbt-athena/pull/128 we call `glue.delete_table_version`, but seems that moto gives a NotImplementedError. It will be nice to have the `delete_table_version` implemented as it w... | [
"swe-gym:getmoto__moto-5968:fix"
] | [
"swe-gym:getmoto__moto-5258:test",
"swe-gym:getmoto__moto-4975:test",
"swe-rebench:PMEAL__OpenPNM-2243:test",
"swe-rebench:Duke-GCB__DukeDSClient-319:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5545 | train | getmoto/moto | 2022-10-09T11:24:38+00:00 | [getmoto/moto] Large upload to S3 leaks file handle ```python $ python -Wall Python 3.9.12 (main, Oct 8 2022, 00:52:50) [Clang 14.0.0 (clang-1400.0.29.102)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import gc >>> from moto.s3.models import S3Backend >>> s3 = S3Backend('us-west... | [
"swe-gym:getmoto__moto-5545:fix"
] | [
"swe-gym:getmoto__moto-4817:test",
"swe-gym:getmoto__moto-5893:fix",
"swe-rebench:abs-tudelft__vhdeps-21:fix",
"swe-rebench:RemDelaporteMathurin__h-transport-materials-106:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5072 | train | getmoto/moto | 2022-04-27T21:02:03+00:00 | [getmoto/moto] Organizations close_account doesn't match public API The Organizations close_account API was added in #5040. It doesn't match the spec of the public [CloseAccount](https://docs.aws.amazon.com/organizations/latest/APIReference/API_CloseAccount.html) API. > If the action is successful, the service sends ba... | [
"swe-gym:getmoto__moto-5072:fix"
] | [
"swe-gym:getmoto__moto-5849:test",
"swe-gym:getmoto__moto-6828:test",
"swe-gym:Project-MONAI__MONAI-6090:fix",
"swe-rebench:python-cmd2__cmd2-984:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5108 | train | getmoto/moto | 2022-05-08T20:26:08+00:00 | [getmoto/moto] DynamoDB backend erroneously accepts JSON integers for numbers DynamoDB backend erroneously accepts JSON integers for numbers. The AWS DynamoDB backend responds with a `SerializationException` when attempting a PutItem with `{"N": 123}` (rather than `{"N": "123"}`) but moto's dynamodb backend silently ac... | [
"swe-gym:getmoto__moto-5108:fix"
] | [
"swe-gym:getmoto__moto-4886:fix",
"swe-gym:getmoto__moto-6585:fix",
"swe-rebench:aesara-devs__aesara-902:test",
"swe-rebench:arviz-devs__arviz-739:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6159 | train | getmoto/moto | 2023-04-01T19:31:55+00:00 | [getmoto/moto] API Gateway does not support ":" character in the resource path. ## Reporting Bugs ### Expectation: Like the real API gateway, I want to create resource path with the character ":". This is important for our use case because we follow https://google.aip.dev/136 where ":" is commonly used. ### Actual: Whe... | [
"swe-gym:getmoto__moto-6159:fix"
] | [
"swe-gym:getmoto__moto-6906:fix",
"swe-gym:getmoto__moto-6057:fix",
"doc-mobile-sync-s9-v4-pos",
"doc-order-matcher-s12-v3-hneg"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-4934 | train | getmoto/moto | 2022-03-11T22:24:10+00:00 | [getmoto/moto] wrong exception when trying to publish a version to non-existing lambda Hello, When trying to create a version for a non-exiting lambda the exception is different from the one received from AWS: sample code: ``` import boto3 import moto @moto.mock_lambda def run_me(): lambda_function = boto3.client("lamb... | [
"swe-gym:getmoto__moto-4934:fix"
] | [
"swe-gym:getmoto__moto-6864:fix",
"swe-gym:getmoto__moto-5576:fix",
"swe-rebench:tensorly__tensorly-87:test",
"swe-rebench:xonsh__xonsh-3045:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5306 | train | getmoto/moto | 2022-07-15T16:02:44+00:00 | [getmoto/moto] Add PrivateIpAddress field for Elastic Ip Model When associating mocked elastic ips to a mocked resource (ec2, rds, etc), the elastic ip model should include a PrivateIpAddress field which would be shown in a response from the ec2 client `describe_addresses` method as in the example in the boto3 docs her... | [
"swe-gym:getmoto__moto-5306:fix"
] | [
"swe-gym:getmoto__moto-6176:test",
"swe-gym:getmoto__moto-6204:test",
"swe-rebench:einsteinpy__einsteinpy-353:fix",
"swe-rebench:yeraydiazdiaz__lunr.py-109:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-4833 | train | getmoto/moto | 2022-02-04T23:44:17+00:00 | [getmoto/moto] new clients/resources do not find the resources created in Setup() Versions: moto 3.0.2 boto3 1.20.24 pytest 6.2.5 with the update past 3.0, any of our tests using moto failed with "Resource not Found" The tests originally looked something like this (which worked under 2.3.2: (create table creates the ta... | [
"swe-gym:getmoto__moto-4833:fix"
] | [
"swe-gym:getmoto__moto-6734:fix",
"swe-gym:getmoto__moto-7270:fix",
"swe-gym:iterative__dvc-1603:test",
"swe-rebench:reanahub__reana-client-674:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7105 | train | getmoto/moto | 2023-12-10T00:09:02+00:00 | [getmoto/moto] moto batch - "RuntimeError: cannot join thread before it is started" Hey, **after upgrading from moto 4.0.11 to 4.2.11** i am facing the following issue with my previously running pytest. The first test is successfull, the second test, essentially doing the same but with different input, fails. This is t... | [
"swe-gym:getmoto__moto-7105:fix"
] | [
"swe-gym:getmoto__moto-6810:test",
"swe-gym:getmoto__moto-7317:fix",
"swe-rebench:awelzel__flake8-gl-codeclimate-15:test",
"swe-rebench:zalando-stups__senza-365:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6082 | train | getmoto/moto | 2023-03-17T12:40:00+00:00 | [getmoto/moto] DynamoDB UpdateExpression Syntax with Special Characters Rejected with ValidationException Looks like this might relate to #4580 ### Problem Statement I am working with some internal tables where we use attributes prefixed by the underscore character to indicate metadata fields on DynamoDB records. For e... | [
"swe-gym:getmoto__moto-6082:fix"
] | [
"swe-gym:getmoto__moto-4867:fix",
"swe-gym:getmoto__moto-5373:test",
"swe-rebench:DataBiosphere__toil-4802:fix",
"swe-rebench:ibis-project__ibis-10260:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6011 | train | getmoto/moto | 2023-03-04T12:10:20+00:00 | [getmoto/moto] get_list_from_ddb_typed_value crashes on missing value Given update expression `SET #0 = list_append (#0, :0)`, if `#0` refers to a non-existent list, then `get_list_from_ddb_typed_value` crashes on ```python assert isinstance(node, DDBTypedValue) ``` (since `node` is a `NoneExistingPath` at that point) | [
"swe-gym:getmoto__moto-6011:fix"
] | [
"swe-gym:getmoto__moto-7153:test",
"swe-gym:getmoto__moto-5849:test",
"swe-rebench:gouline__dbt-metabase-158:fix",
"swe-rebench:locustio__locust-2663:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6185 | train | getmoto/moto | 2023-04-07T17:05:37+00:00 | [getmoto/moto] DynamoDB put_item SerializationException when any key inside the Item is 'S' Hey everyone, thanks for the all the great work on this library. It makes unit testing a breeze! I ran into a bit of a strange issue with the Table.put_item() method in a mock DynamoDB table. It looks like if any key inside the ... | [
"swe-gym:getmoto__moto-6185:fix"
] | [
"swe-gym:getmoto__moto-4934:fix",
"swe-gym:getmoto__moto-4990:fix",
"swe-gym:modin-project__modin-7205:fix",
"swe-rebench:pydata__xarray-8711:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6998 | train | getmoto/moto | 2023-11-07T05:24:39+00:00 | [getmoto/moto] RDS cluster with instances can be deleted in moto If a cluster has instances, the cluster cannot be deleted, but we can do delete cluster even with instances in moto. I'd like to try on this issue :) Reference: https://repost.aws/knowledge-center/rds-error-delete-aurora-cluster ```python from moto import... | [
"swe-gym:getmoto__moto-6998:fix"
] | [
"swe-gym:getmoto__moto-6492:fix",
"swe-gym:getmoto__moto-5011:test",
"swe-rebench:facelessuser__soupsieve-263:fix",
"swe-rebench:astropy__specutils-722:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5343 | train | getmoto/moto | 2022-07-29T16:05:23+00:00 | [getmoto/moto] Jinja2 template name must be string or Template type Moto [creates template names based on the Python memory `id()`](https://github.com/spulec/moto/blob/c0ce38dba888af7abccec7edec629747f5e15e21/moto/core/responses.py#L112), causing them to be set as integers. Newer versions of [Jinja specify that the nam... | [
"swe-gym:getmoto__moto-5343:fix"
] | [
"swe-gym:getmoto__moto-5012:test",
"swe-gym:getmoto__moto-5286:test",
"swe-gym:getmoto__moto-5428:test",
"swe-rebench:jupyter__nbgrader-1410:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6312 | train | getmoto/moto | 2023-05-10T19:38:13+00:00 | [getmoto/moto] mock_cloudformation with SNS fails to delete stack Using the mock_cloudformation, creating a stack containing a single SNS topic, then deleting the stack fails with an invalid ARN ## Reproduction steps: ```python def test_failure(cloudformation_mock): cloudformation_mock.create_stack( StackName="test-sta... | [
"swe-gym:getmoto__moto-6312:fix"
] | [
"swe-gym:getmoto__moto-6746:test",
"swe-gym:getmoto__moto-5949:test",
"swe-rebench:pika__pika-980:fix",
"swe-gym:iterative__dvc-6866:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6755 | train | getmoto/moto | 2023-09-01T18:55:54+00:00 | [getmoto/moto] Bug: can't call SetIdentityMailFromDomain with Email address Stack: localstack 2.2.0 docker image go 1.21.0 aws-sdk-go-v2 Code: ``` _, err = client.SetIdentityMailFromDomain(ctx, &ses.SetIdentityMailFromDomainInput{ Identity: aws.String("[REDACTED:email]"), BehaviorOnMXFailure: types.BehaviorOnMXFailureU... | [
"swe-gym:getmoto__moto-6755:fix"
] | [
"swe-gym:getmoto__moto-5009:test",
"swe-gym:getmoto__moto-4908:fix",
"swe-rebench:omry__omegaconf-220:test",
"swe-rebench:pandas-dev__pandas-60697:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-4895 | train | getmoto/moto | 2022-02-27T21:00:00+00:00 | [getmoto/moto] MOTO_ALLOW_NONEXISTENT_REGION with DynamoDB not creating table with invalid region. I have following code and test. ddbresource.py ``` import boto3 class UseDynamoDb: dynamo_db = None def __init__(self, dynamo_db): self.dynamo_db = dynamo_db def create_table(self): table = self.dynamo_db.create_table( Ta... | [
"swe-gym:getmoto__moto-4895:fix"
] | [
"swe-gym:getmoto__moto-5486:fix",
"swe-gym:getmoto__moto-4847:test",
"swe-rebench:sympy__sympy-26980:fix",
"swe-rebench:andreroggeri__pynubank-104:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6212 | train | getmoto/moto | 2023-04-14T19:43:35+00:00 | [getmoto/moto] mock_athena fails to get "primary" work group Hello! After upgrading from moto version 4.1.4 to 4.1.7, we now experience errors when performing the `athena_client.get_work_group(WorkGroup="primary")` call. Querying any other work group than "primary" (existent or non-existent work groups) works fine. The... | [
"swe-gym:getmoto__moto-6212:fix"
] | [
"swe-gym:getmoto__moto-5865:test",
"swe-gym:getmoto__moto-5809:test",
"swe-rebench:mkdocs__mkdocs-668:test",
"swe-rebench:pyvista__pyvista-1299:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7233 | train | getmoto/moto | 2024-01-19T20:25:08+00:00 | [getmoto/moto] ACM certificate with domain validation options not idempotent # Problem This is a follow up to https://github.com/getmoto/moto/issues/7138, but is technically a different issue, so I have opened a new one. I noticed when doing some checks for idempotency that the acm cert was being destroyed and recreate... | [
"swe-gym:getmoto__moto-7233:fix"
] | [
"swe-gym:getmoto__moto-7514:test",
"swe-gym:getmoto__moto-4951:fix",
"swe-gym:getmoto__moto-6085:fix",
"swe-rebench:tylerwince__pydbg-4:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6085 | train | getmoto/moto | 2023-03-17T21:09:08+00:00 | [getmoto/moto] IoT delete_certificate() "forceDelete" param does not work # Summary The `forceDelete` parameter in the iot implementation is not congruent with boto3 behavior. ## Steps to reproduce Run the following python code: ```python import json import boto3 from moto import mock_iot IOT_THING_POLICY_NAME = "Thing... | [
"swe-gym:getmoto__moto-6085:fix"
] | [
"swe-gym:getmoto__moto-7490:test",
"swe-gym:getmoto__moto-4848:test",
"swe-rebench:joke2k__faker-989:fix",
"swe-rebench:tarohi24__typedflow-68:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5137 | train | getmoto/moto | 2022-05-14T03:34:42+00:00 | [getmoto/moto] How to paginate Organizations:ListAccountsForParent? Moto3 doesn't yet paginate the response from Organizations list_accounts_for_parent. I need to paginate this API in my application and I'd like to test it with moto. I tried to implement it myself by adapting the changes for the list_accounts API made ... | [
"swe-gym:getmoto__moto-5137:fix"
] | [
"swe-gym:getmoto__moto-6176:test",
"swe-gym:getmoto__moto-7456:test",
"swe-rebench:sktime__sktime-7480:fix",
"doc-mobile-sync-s0-v2-hneg"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6906 | train | getmoto/moto | 2023-10-12T22:39:19+00:00 | [getmoto/moto] EC2: Add support for hibernation APIs in `describe_instances` This is feature request expands on https://github.com/getmoto/moto/issues/5336. While `HibernationOptions` are supported in many AWS APIs, the other one where it would be valuable to add support is [describe_instances](https://boto3.amazonaws.... | [
"swe-gym:getmoto__moto-6906:fix"
] | [
"swe-gym:getmoto__moto-5438:fix",
"swe-gym:getmoto__moto-4915:test",
"swe-rebench:PyCQA__flake8-1642:fix",
"swe-rebench:pywbem__pywbemtools-921:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5920 | train | getmoto/moto | 2023-02-10T23:18:01+00:00 | [getmoto/moto] S3 backend leaks keys if used together with other backends Continued from #5584. I'm encountering this in a test case that needs both S3 and DynamoDB mocked. Here's the smallest repro I can think of: ```python $ python -Wall Python 3.9.12 (main, Oct 8 2022, 00:52:50) [Clang 14.0.0 (clang-1400.0.29.102)] ... | [
"swe-gym:getmoto__moto-5920:fix"
] | [
"swe-gym:getmoto__moto-6807:fix",
"swe-gym:getmoto__moto-5420:fix",
"swe-rebench:vyperlang__vyper-2694:fix",
"swe-rebench:testingautomated-usi__uncertainty-wizard-152:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5731 | train | getmoto/moto | 2022-12-02T22:37:21+00:00 | [getmoto/moto] CloudFormation: create_stack_instances returns a hardcoded OperationId `create_stack_instances` is giving me some issues, I am not sure yet if I am just doing something wrong. Note, I don't care at all about the template, that is just one of the shorter ones I had on hand. `moto==1.3.16` Here is a reprod... | [
"swe-gym:getmoto__moto-5731:fix"
] | [
"swe-gym:getmoto__moto-7390:fix",
"swe-gym:getmoto__moto-6306:test",
"swe-rebench:Ouranosinc__xclim-336:fix",
"swe-rebench:dcs4cop__xcube-784:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-4849 | train | getmoto/moto | 2022-02-10T15:01:52+00:00 | [getmoto/moto] DynamoDb2 create_table not validate ProvisionedThroughput parameter Hello, When I call create_table from dynamodb client, if a pass `BillingMode='PROVISIONED'` the parameter `ProvisionedThroughput ` is required, as you can see in boto3 documentation: [Boto3 DynamoDB create_table](https://boto3.amazonaws.... | [
"swe-gym:getmoto__moto-4849:fix"
] | [
"swe-gym:getmoto__moto-5920:fix",
"swe-gym:getmoto__moto-5386:test",
"swe-rebench:burnash__gspread-1336:fix",
"swe-rebench:nipy__nipype-2595:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6350 | train | getmoto/moto | 2023-05-31T19:10:19+00:00 | [getmoto/moto] Supporting tags operations on ssm MaintenanceWindow resources ## Issue description Add/List/Remove tags operations are not supported on MaintenanceWindow resources. (They fail with 'InvalidResourceId' errors) ## Reproduction (with awslocal, which uses moto's SSM backend under the hood) `awslocal ssm add-... | [
"swe-gym:getmoto__moto-6350:fix"
] | [
"swe-gym:getmoto__moto-6387:fix",
"swe-gym:getmoto__moto-7336:fix",
"swe-gym:Project-MONAI__MONAI-3205:fix",
"doc-vi-ecommerce-s10-v0-hneg"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6784 | train | getmoto/moto | 2023-09-07T19:05:46+00:00 | [getmoto/moto] BUG: mock_dynamodb not handling query key conditions correctly When making a dynamo query that compares a substituted ExpressionAttributeName against a literal value, moto accepts this comparison with no issue, but real AWS resources reject it as invalid. This allowed a bug in our query logic to get past... | [
"swe-gym:getmoto__moto-6784:fix"
] | [
"swe-gym:getmoto__moto-5516:test",
"swe-gym:getmoto__moto-5109:fix",
"swe-rebench:python-pillow__Pillow-6973:fix",
"swe-rebench:getsentry__sentry-python-2148:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7102 | train | getmoto/moto | 2023-12-08T21:12:24+00:00 | [getmoto/moto] Add longer than 4k plaintext encryption test to `tests/test_kms/test_kms_encrypt.py` ## New feature request Issue: When run test against kms_encrypt, moto can pickup empty 'plaintext' correctly like below ... The test code: ``` @mock_kms def test_encrypt_void_text_with_kms(kms_client, caplog): caplog.set... | [
"swe-gym:getmoto__moto-7102:fix"
] | [
"swe-gym:getmoto__moto-7446:test",
"swe-gym:getmoto__moto-4848:fix",
"swe-rebench:RDFLib__rdflib-1240:fix",
"swe-rebench:scrapy__scrapy-3869:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7646 | train | getmoto/moto | 2024-04-30T19:19:24+00:00 | [getmoto/moto] DynamoDB: Using DELETE fails if attribute does not exist I believe there is a mismatch in behavior between moto and the real DynamoDB: - On the real DynamoDB, when using the DELETE operator in `update_item` to remove an item from an attribute that does not exist, it will just be ignored. - In moto, a cry... | [
"swe-gym:getmoto__moto-7646:fix"
] | [
"swe-gym:getmoto__moto-5386:fix",
"swe-gym:getmoto__moto-6998:test",
"swe-rebench:sqlfluff__sqlfluff-2419:test",
"swe-rebench:G-Node__python-odml-356:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5438 | train | getmoto/moto | 2022-08-31T16:53:34+00:00 | [getmoto/moto] PartsCount not returned by S3 head object [feature request] The S3 head object call should return PartsCount under some circumstances. It's not obvious from the API docs what those circumstances are, but I've tested it in [boto 3137](https://github.com/boto/boto3/issues/3137). PartsCount should be return... | [
"swe-gym:getmoto__moto-5438:fix"
] | [
"swe-gym:getmoto__moto-7373:fix",
"swe-gym:getmoto__moto-5959:fix",
"swe-rebench:GenericMappingTools__pygmt-574:test",
"swe-rebench:python__cherry-picker-23:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5862 | train | getmoto/moto | 2023-01-21T12:38:49+00:00 | [getmoto/moto] SES region setting is not supported Hi, when trying to set the region of the SES client, it seems like it is not setting the region correctly and just defaults to the global region. It seems like this is a bug caused in this file: https://github.com/getmoto/moto/blob/master/moto/ses/responses.py in line ... | [
"swe-gym:getmoto__moto-5862:fix"
] | [
"swe-gym:getmoto__moto-4985:fix",
"swe-gym:getmoto__moto-7514:test",
"swe-rebench:python-wheel-build__fromager-155:fix",
"swe-rebench:WMD-group__SMACT-191:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6469 | train | getmoto/moto | 2023-06-30T21:52:44+00:00 | [getmoto/moto] delete_secret accepts invalid input and then fails The following call is accepted by moto `delete_secret` validations but runtime AWS error is issued ``` self.secrets_client.delete_secret( SecretId=creds_name, RecoveryWindowInDays=0, ForceDeleteWithoutRecovery=True, ) ``` However, later during call to de... | [
"swe-gym:getmoto__moto-6469:fix"
] | [
"swe-gym:getmoto__moto-4875:test",
"swe-gym:getmoto__moto-6041:fix",
"swe-rebench:sphinx-doc__sphinx-12003:test",
"swe-rebench:scrapy__scrapy-2923:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7371 | train | getmoto/moto | 2024-02-20T20:28:11+00:00 | [getmoto/moto] Cloudfront - CustomHeaders in origin missing I'm trying to test an update of a custom header on an origin, but when I create the distribution, the customHeaders field is always empty (`{'Quantity': 0, 'Items': []}`). If I update the distribution still having same issue. ```python import unittest from mot... | [
"swe-gym:getmoto__moto-7371:fix"
] | [
"swe-gym:getmoto__moto-5213:fix",
"swe-gym:getmoto__moto-6085:fix",
"swe-rebench:LKI__chinese-calendar-55:test",
"swe-rebench:miurahr__aqtinstall-102:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-4918 | train | getmoto/moto | 2022-03-08T08:45:01+00:00 | [getmoto/moto] Deleting secrets not possible with full ARN Deleting secrets in AWS Secrets Manager isn't possible when using the full ARN as secrets id and not specifying `ForceDeleteWithoutRecovery=True`: ```python import boto3 from moto import mock_secretsmanager @mock_secretsmanager def test_delete(): client = boto3... | [
"swe-gym:getmoto__moto-4918:fix"
] | [
"swe-gym:getmoto__moto-7584:test",
"swe-gym:getmoto__moto-6785:fix",
"swe-rebench:matrix-org__synapse-9717:fix",
"swe-rebench:kiwicom__structlog-sentry-19:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5767 | train | getmoto/moto | 2022-12-13T22:01:54+00:00 | [getmoto/moto] [dynamodb] Incorrect handling of array indices when removing multiple items from a list attribute ## [dynamodb] Incorrect handling of array indices when removing multiple items from a list attribute We have noticed an issue with the dynamodb mock implementation related to update-queries with a remove-exp... | [
"swe-gym:getmoto__moto-5767:fix"
] | [
"swe-gym:getmoto__moto-5878:test",
"swe-gym:getmoto__moto-4874:test",
"swe-rebench:asmeurer__removestar-22:fix",
"swe-rebench:dcs4cop__xcube-419:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6741 | train | getmoto/moto | 2023-08-30T21:41:43+00:00 | [getmoto/moto] [MultiAccount] S3 Bucket created by another account can be retrieved by list_objects_v2 test.py ```python from moto import mock_s3 import boto3 import os @mock_s3 def s3_test(): s3 = boto3.client("s3") # Create test_1 bucket with account ID 111111111111 os.environ["MOTO_ACCOUNT_ID"] = "111111111111" s3.c... | [
"swe-gym:getmoto__moto-6741:fix"
] | [
"swe-gym:getmoto__moto-5108:test",
"swe-gym:getmoto__moto-5654:fix",
"swe-rebench:yasufumy__pipelib-27:fix",
"swe-rebench:HDembinski__jacobi-16:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6736 | train | getmoto/moto | 2023-08-27T22:03:41+00:00 | [getmoto/moto] Aurora Postgres Does Not Support Mock ServerlessV2 From what I can tell, Aurora Postgres does not support ServerlessV2ScalingConfiguration like Neptune does. Support for this would be great! | [
"swe-gym:getmoto__moto-6736:fix"
] | [
"swe-gym:getmoto__moto-6187:fix",
"swe-gym:getmoto__moto-5880:fix",
"swe-rebench:pypa__hatch-262:fix",
"swe-rebench:sdispater__tomlkit-122:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7580 | train | getmoto/moto | 2024-04-08T20:41:46+00:00 | [getmoto/moto] Using LastEvaluatedKey to page through an index ### Description Paging using LastEvaluatedKey and ExclusiveStartKey has stopped working properly in moto 5.0.4 and 5.0.5. It was working fine up till 5.0.3. This seems similar to this closed issue: https://github.com/getmoto/moto/issues/7531 ### Code snippe... | [
"swe-gym:getmoto__moto-7580:fix"
] | [
"swe-gym:getmoto__moto-5213:fix",
"swe-gym:getmoto__moto-6884:fix",
"swe-rebench:pydicom__pydicom-1031:fix",
"swe-gym:iterative__dvc-6811:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6306 | train | getmoto/moto | 2023-05-10T03:44:10+00:00 | [getmoto/moto] RDS: No field of `SourceType` for the response of `start_export_task` ### Example code. ```python @mock_rds @mock_s3 def example(): rds = boto3.client("rds") rds.create_db_instance( DBName="test-db", DBInstanceIdentifier="test_identifier" DBInstanceClass="db.t2.micro", Engine="aurora-postgresql", ) snaps... | [
"swe-gym:getmoto__moto-6306:fix"
] | [
"swe-gym:getmoto__moto-5509:fix",
"swe-gym:getmoto__moto-6312:fix",
"swe-rebench:zopefoundation__Zope-830:test",
"swe-rebench:mesonbuild__meson-968:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-4886 | train | getmoto/moto | 2022-02-24T02:38:38+00:00 | [getmoto/moto] table.update_item raises ValueError instead of expected ResourceNotFoundException Using `moto` v3.0.4 on Windows 10. Issue https://github.com/spulec/moto/issues/4344 (Closed) reported something similar with `batch_get_item`, but this report is for `update_item`. My code is expecting `ResourceNotFoundExce... | [
"swe-gym:getmoto__moto-4886:fix"
] | [
"swe-gym:getmoto__moto-5644:fix",
"swe-gym:getmoto__moto-5119:fix",
"swe-gym:iterative__dvc-4872:test",
"swe-gym:Project-MONAI__MONAI-459:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5587 | train | getmoto/moto | 2022-10-21T21:28:13+00:00 | [getmoto/moto] Versioned S3 buckets leak keys A left-over from #5551 ```python $ python -Wall Python 3.9.12 (main, Oct 8 2022, 00:52:50) [Clang 14.0.0 (clang-1400.0.29.102)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import gc >>> from moto.s3.models import S3Backend >>> s3 = S... | [
"swe-gym:getmoto__moto-5587:fix"
] | [
"swe-gym:getmoto__moto-7303:test",
"swe-gym:getmoto__moto-4875:test",
"swe-rebench:marshmallow-code__marshmallow-2264:fix",
"swe-rebench:stfc__fparser-351:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5849 | train | getmoto/moto | 2023-01-16T20:57:10+00:00 | [getmoto/moto] Glue implementation coverage for get_schema action Hello, as of now Moto server does not support Glue get_schema API which is necessary to work with kafka-ui pluggable deserialisers using Glue Schema Registry, at the moment Moto server results with http 500 NotImplementedError. Do you have on your road m... | [
"swe-gym:getmoto__moto-5849:fix"
] | [
"swe-gym:getmoto__moto-6082:test",
"swe-gym:getmoto__moto-6884:test",
"swe-rebench:NVIDIA__hpc-container-maker-378:test",
"swe-rebench:probabl-ai__skore-856:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5124 | train | getmoto/moto | 2022-05-12T11:44:55+00:00 | [getmoto/moto] Original Code returns response with AccessDenied in Body while Test using Moto raises ClientError I have some code that deletes files from S3 for a given prefix. I would now like to test the handling of an `AccessDenied` response. However when running the code from my tests using `moto`, I get a ClientEr... | [
"swe-gym:getmoto__moto-5124:fix"
] | [
"swe-gym:getmoto__moto-6535:fix",
"swe-gym:getmoto__moto-5109:fix",
"swe-gym:pandas-dev__pandas-53122:fix",
"swe-rebench:bokeh__bokeh-1641:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6986 | train | getmoto/moto | 2023-11-03T21:14:05+00:00 | [getmoto/moto] KeyError in _lookup_expression_attribute_value Moto version: `4.2.8.dev` The following command ``` aws --endpoint-url http://localhost:5000 dynamodb scan --table-name tsh-ip-bans scan --filter-expression "location1 = :loc" --expression-attribute-values '{"loc": {"S": "mgmt"}}' ``` Results in the followin... | [
"swe-gym:getmoto__moto-6986:fix"
] | [
"swe-gym:getmoto__moto-4846:fix",
"swe-gym:getmoto__moto-5118:fix",
"swe-rebench:geopandas__geopandas-2503:test",
"swe-gym:pandas-dev__pandas-54115:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5843 | train | getmoto/moto | 2023-01-14T14:02:52+00:00 | [getmoto/moto] [dynamodb] No validation on attributes We ran into this issue in production. Moto fails to validate that an attribute must be of a proper type when using `put_object`: ```python import boto3 from moto import mock_dynamodb @mock_dynamodb def test_whatever(): session = boto3.Session() dynamodb = session.re... | [
"swe-gym:getmoto__moto-5843:fix"
] | [
"swe-gym:getmoto__moto-5137:test",
"swe-gym:getmoto__moto-5134:test",
"swe-rebench:pybamm-team__PyBaMM-581:fix",
"swe-rebench:napjon__krisk-63:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7111 | train | getmoto/moto | 2023-12-10T20:12:21+00:00 | [getmoto/moto] mock_lambda missing PackageType attribute I'm trying to test against zip based only lambdas, but the return object is missing `PackageType`. test: ```python @mock_lambda def test_list_zipped_lambdas(self): self.setup_mock_iam_role() # with mock_lambda(): client = boto3.client("lambda", region_name="us-ea... | [
"swe-gym:getmoto__moto-7111:fix"
] | [
"swe-gym:getmoto__moto-6756:fix",
"swe-gym:getmoto__moto-5438:test",
"swe-rebench:nolanbconaway__underground-30:test",
"swe-rebench:planetlabs__planet-client-python-978:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7085 | train | getmoto/moto | 2023-12-01T21:26:27+00:00 | [getmoto/moto] mock_dynamodb: response from boto3 and moto is inconsistent when scanning a table with a limit Hi, I recently implemented a new function that gets distinct primary keys in a DynamoDB table. I used the script (_Scan with a modified exclusive start key_) from this [tutorial](https://aws.amazon.com/blogs/da... | [
"swe-gym:getmoto__moto-7085:fix"
] | [
"swe-gym:getmoto__moto-6784:fix",
"swe-gym:getmoto__moto-5511:fix",
"swe-rebench:einsteinpy__einsteinpy-325:fix",
"swe-rebench:zarr-developers__zarr-python-2225:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5286 | train | getmoto/moto | 2022-07-03T01:34:00+00:00 | [getmoto/moto] Cognito client describe_user_pool does not return with associated domain Hi, I would like to test our programmatically created user pool's domain but it seems that the user pool's domain property is not implemented in the `describe_user_pool()` response in moto. I'm using boto version `1.24.20` and moto ... | [
"swe-gym:getmoto__moto-5286:fix"
] | [
"swe-gym:getmoto__moto-5202:test",
"swe-gym:getmoto__moto-5428:test",
"swe-rebench:cirKITers__masKIT-46:fix",
"swe-rebench:nipy__nipype-2669:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6609 | train | getmoto/moto | 2023-08-06T13:08:39+00:00 | [getmoto/moto] Support `SM2DSA` signing algorithm for KMS Let's add `SM2DSA` signing algorithm for kms. KMS document: https://docs.aws.amazon.com/kms/latest/APIReference/API_Sign.html#API_Sign_RequestSyntax Supported algorithms: ``` RSASSA_PSS_SHA_256 | RSASSA_PSS_SHA_384 | RSASSA_PSS_SHA_512 | RSASSA_PKCS1_V1_5_SHA_25... | [
"swe-gym:getmoto__moto-6609:fix"
] | [
"swe-gym:getmoto__moto-7081:test",
"swe-gym:getmoto__moto-6535:test",
"swe-rebench:scipp__scippnexus-113:test",
"swe-rebench:nficano__humps-272:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7061 | train | getmoto/moto | 2023-11-23T19:31:21+00:00 | [getmoto/moto] Feature Request: Support for "key" and "value" filters in autoscaling describe_tags calls I'm on Moto 4.2.2. I saw [this comment](https://github.com/getmoto/moto/blob/master/moto/autoscaling/models.py#L1561) in the code that confirmed the behavior I'm seeing when I try to filter by `key` or `value` in an... | [
"swe-gym:getmoto__moto-7061:fix"
] | [
"swe-gym:getmoto__moto-5837:test",
"swe-gym:getmoto__moto-6355:fix",
"swe-rebench:EdinburghGenomics__EGCG-Core-11:fix",
"swe-rebench:peterbe__premailer-185:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5011 | train | getmoto/moto | 2022-04-07T22:49:07+00:00 | [getmoto/moto] Implement scheduled actions for application autoscaling Scheduled actions is not yet implemented for the application autoscaling endpoint. I am currently working to add this functionality; this issue is meant to track that work. | [
"swe-gym:getmoto__moto-5011:fix"
] | [
"swe-gym:getmoto__moto-5347:fix",
"swe-gym:getmoto__moto-5137:fix",
"swe-rebench:ekalinin__nodeenv-329:fix",
"swe-rebench:elastic__apm-agent-python-1510:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5456 | train | getmoto/moto | 2022-09-08T18:11:31+00:00 | [getmoto/moto] Kinesis: PutRecords API limits not enforced I recently noticed that Moto does not enforce the API limits for PutRecords in Kinesis Data Streams. [Relevant documentation](https://docs.aws.amazon.com/streams/latest/dev/service-sizes-and-limits.html#kds-api-limits-data). Examples: #### Record data exceeds 1... | [
"swe-gym:getmoto__moto-5456:fix"
] | [
"swe-gym:getmoto__moto-5589:fix",
"swe-gym:getmoto__moto-5745:fix",
"swe-rebench:BAMWelDX__weldx-476:fix",
"swe-rebench:ibis-project__ibis-9748:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6470 | train | getmoto/moto | 2023-06-30T22:33:41+00:00 | [getmoto/moto] batch.create_compute_environment() call fails against moto server When calling `create_compute_environment()` for Batch against the server version of moto, a 500 response is returned. I have pasted a script to replicate the issue below, along with the output I am seeing. To replicate, run the following..... | [
"swe-gym:getmoto__moto-6470:fix"
] | [
"swe-gym:getmoto__moto-4881:test",
"swe-gym:getmoto__moto-6857:fix",
"swe-rebench:jupyter__jupyter-packaging-35:test",
"swe-rebench:geopandas__geopandas-2658:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7212 | train | getmoto/moto | 2024-01-13T21:20:57+00:00 | [getmoto/moto] Cognito ID/Access Token do not contain user pool custom attributes Hi, I notice here that user pool [custom attributes](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html#user-pool-settings-custom-attributes) are not injected into the JWT https://github.com/getmo... | [
"swe-gym:getmoto__moto-7212:fix"
] | [
"swe-gym:getmoto__moto-4817:fix",
"swe-gym:getmoto__moto-7212:test",
"swe-rebench:ets-labs__python-dependency-injector-852:test",
"swe-rebench:bids-standard__pybids-607:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6857 | train | getmoto/moto | 2023-09-27T01:01:13+00:00 | [getmoto/moto] Implement state transitions for ECS tasks  * https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle.html * https://boto3.amazonaws.com/v1/documentation/api/1.28.1/reference/services/... | [
"swe-gym:getmoto__moto-6857:fix"
] | [
"swe-gym:getmoto__moto-5614:test",
"swe-gym:getmoto__moto-5968:fix",
"swe-rebench:pybamm-team__PyBaMM-1959:fix",
"swe-rebench:getsentry__sentry-python-2552:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7168 | train | getmoto/moto | 2023-12-29T06:52:47+00:00 | [getmoto/moto] Scheduler should raise ResourceNotFoundException for delete_schedule if not exists Calling delete_schedule for unknown schedule name raises KeyError instead of ResourceNotFoundException. ``` File "/Source/SH-service/.venv/lib/python3.8/site-packages/moto/scheduler/responses.py", line 60, in delete_schedu... | [
"swe-gym:getmoto__moto-7168:fix"
] | [
"swe-gym:getmoto__moto-7233:test",
"swe-gym:getmoto__moto-6906:test",
"swe-gym:modin-project__modin-7089:test",
"swe-rebench:scrapinghub__spidermon-234:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7065 | train | getmoto/moto | 2023-11-24T20:05:11+00:00 | [getmoto/moto] Dynamodb query with a KeyConditionExpression should raise ClientError when the partition key is empty Moto Version: 4.2.9 In an almost identical situation to https://github.com/getmoto/moto/issues/5345, which was about this issue when using `get_item`, when using `query` instead with a KeyConditionExpres... | [
"swe-gym:getmoto__moto-7065:fix"
] | [
"swe-gym:getmoto__moto-6953:test",
"swe-gym:getmoto__moto-5885:test",
"swe-rebench:sscpac__statick-436:fix",
"swe-rebench:python-tap__tappy-108:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7012 | train | getmoto/moto | 2023-11-09T22:16:25+00:00 | [getmoto/moto] AllocationTime is not presented in result of describe_hosts ## Issue In latest version of moto (and probably older ones too) `describe_hosts` function does not return AllocationTime. From moto perspective it can be something like `date.now` when dedicated hoist being created so it can be returned when de... | [
"swe-gym:getmoto__moto-7012:fix"
] | [
"swe-gym:getmoto__moto-5644:test",
"swe-gym:getmoto__moto-6854:test",
"doc-notify-hub-s0-v1-pos",
"swe-rebench:pangeo-data__xESMF-78:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6777 | train | getmoto/moto | 2023-09-06T19:57:19+00:00 | [getmoto/moto] EventBridge API Destinations A few weeks ago AWS announced the new [API Destinations](https://aws.amazon.com/blogs/compute/using-api-destinations-with-amazon-eventbridge/) functionality for EventBridge and I'm eager to try it out and implement it into `moto` directly, but I need some guidance on triggeri... | [
"swe-gym:getmoto__moto-6777:fix"
] | [
"swe-gym:getmoto__moto-7371:fix",
"swe-gym:getmoto__moto-5134:test",
"swe-rebench:nilearn__nilearn-4507:test",
"swe-rebench:python-pillow__Pillow-5411:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5385 | train | getmoto/moto | 2022-08-14T12:02:13+00:00 | [getmoto/moto] AutoscalingGroup with LaunchTemplate and no version throws 500 ``` AWS_ACCESS_KEY_ID=1 AWS_SECRET_ACCESS_KEY=1 AWS_DEFAULT_REGION=us-east-1 aws --endpoint=http://127.0.0.1:5000 autoscaling create-auto-scaling-group --auto-scaling-group-name group1 --min-size 1 --max-size 10 --launch-template 'LaunchTempl... | [
"swe-gym:getmoto__moto-5385:fix"
] | [
"swe-gym:getmoto__moto-6727:test",
"swe-gym:getmoto__moto-5475:fix",
"swe-rebench:ESMValGroup__ESMValCore-2634:fix",
"swe-rebench:astropy__astropy-8517:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7081 | train | getmoto/moto | 2023-11-30T20:01:29+00:00 | [getmoto/moto] IoT - thingId not present after create_thing() ``` import boto3 from moto import mock_iot @mock_iot def test_create_thing(): client = boto3.client("iot", region_name="ap-northeast-1") thing = client.create_thing( thingName="IDontHaveAThingId" ) assert thing["thingName"] == "IDontHaveAThingId" assert "thi... | [
"swe-gym:getmoto__moto-7081:fix"
] | [
"swe-gym:getmoto__moto-6709:fix",
"swe-gym:getmoto__moto-5718:test",
"swe-rebench:ga4gh__vrs-python-346:test",
"swe-rebench:pandas-dev__pandas-60736:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-5086 | train | getmoto/moto | 2022-05-01T19:50:43+00:00 | [getmoto/moto] CognitoIDP: The global_sign_out action has not been implemented self = <moto.cognitoidp.responses.CognitoIdpResponse object at 0x000002058799AA60> def call_action(self): headers = self.response_headers try: self._authenticate_and_authorize_normal_action() except HTTPException as http_error: response = ht... | [
"swe-gym:getmoto__moto-5086:fix"
] | [
"swe-gym:getmoto__moto-6536:test",
"swe-gym:getmoto__moto-5968:fix",
"swe-rebench:MicroPhen__pyFOOMB-20:fix",
"swe-rebench:David-Wobrock__sqlvalidator-40:fix"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6409 | train | getmoto/moto | 2023-06-14T20:22:46+00:00 | [getmoto/moto] When deleting a layer using delete_layer_version if provided the Arn moto skips mocking and calls aws Issue: When using lambda delete_layer_version the AWS API Documentation specifies you can use either the Layer Name or ARN in the LayerName property. The test which was running this was setup with a fake... | [
"swe-gym:getmoto__moto-6409:fix"
] | [
"swe-gym:getmoto__moto-5699:fix",
"swe-gym:getmoto__moto-6618:test",
"swe-rebench:acorg__dark-matter-705:fix",
"swe-rebench:idaholab__MontePy-710:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-7382 | train | getmoto/moto | 2024-02-21T21:34:33+00:00 | [getmoto/moto] CloudWatch PutMetricData body compression in botocore 1.34.40+ When running the PutMetricData API call through a boto mock test when the body is gzip compressed a 404 response is returned from the moto mock which raises a botocore.errorfactory.ResourceNotFoundException exception. Disabling the boto gzip ... | [
"swe-gym:getmoto__moto-7382:fix"
] | [
"swe-gym:getmoto__moto-7270:fix",
"swe-gym:getmoto__moto-4890:fix",
"swe-gym:conan-io__conan-15514:test",
"doc-payments-rust-s4-v0-hneg"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
grp-swe-gym-getmoto__moto-6923 | train | getmoto/moto | 2023-10-16T18:43:14+00:00 | [getmoto/moto] Not all methods in mock_databrew work when Dataset has spaces in the name ## Symptom Not all methods in mock_databrew work when Dataset has spaces in the name. For example, list_datasets works after I run create_dataset . However, delete_dataset **and** update_dataset do not work after I run create_datas... | [
"swe-gym:getmoto__moto-6923:fix"
] | [
"swe-gym:getmoto__moto-6864:test",
"swe-gym:getmoto__moto-6439:test",
"swe-rebench:dr-prodigy__python-holidays-1294:fix",
"swe-rebench:asdf-format__asdf-1575:test"
] | [
"same_repo_other_task",
"same_repo_other_task",
"in_split_random_negative",
"in_split_random_negative"
] | en | debugging | swe-gym |
Audited, leak-free, deduplicated Stage 1 Pilot corpus (24,634 query groups, 49,268 corpus documents, 3,464 unique GitHub/SDLC repository families) built from permissive open-source SWE repositories plus EN/VI/mixed SDLC lifecycle records.
SWE-Gym/SWE-Gym (sha=bb94ed9e39bb, MIT): 2,405 deduplicated instancesnebius/SWE-rebench (sha=89cdfbab4ab1, CC-BY-4.0): 20,829 deduplicated instancesrlx-curated-pilot-v1 (Apache-2.0, EN/VI/mixed SDLC checkpoints, ADRs, constraints, regressions): 1,400 query groupsShitao/bge-m3-data remains excluded until upstream license metadata is explicitly verified.train (2750 repos), dev (367 repos), and private_test (347 repos).2,627 matches scrubbed prior to export; zero hidden model reasoning collected.rlx_memory_core::serialize_for_model.| Split | Query Groups | Reranker Pairs |
|---|---|---|
train |
19,483 | 58,449 |
dev |
2,837 | 8,511 |
private_test |
2,314 | 6,942 |
| Total | 24,634 | 73,902 |