Dataset Viewer
Auto-converted to Parquet Duplicate
prompt
listlengths
1
1
data_source
stringclasses
1 value
ability
stringclasses
1 value
instance
dict
[ { "content": "DynamoDB's `update_item` performs floating-point arithmetic with mock table created via `boto3`\nWhen 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 ar...
swe-gym
coding
{ "FAIL_TO_PASS": [ "tests/test_dynamodb/test_dynamodb_update_expressions.py::test_update_item_add_float" ], "PASS_TO_PASS": [ "tests/test_dynamodb/test_dynamodb_update_expressions.py::test_update_different_map_elements_in_single_request" ], "base_commit": "7f6c9cb1deafb280fe7fcc7551c38e397f11a706", ...
[ { "content": "Timestream Write has the wrong response returned\n### Environment\r\nPython 3.10.2 (and 3.9 in lambda)\r\n\r\nLibraries involved installed from pip:\r\nboto3 1.20.49\r\nbotocore 1.23.49\r\nmoto 3.1.0\r\npytest 7.1.0\r\npytest-mock ...
swe-gym
coding
{ "FAIL_TO_PASS": [ "tests/test_timestreamwrite/test_timestreamwrite_table.py::test_write_records" ], "PASS_TO_PASS": [ "tests/test_timestreamwrite/test_timestreamwrite_table.py::test_update_table", "tests/test_timestreamwrite/test_timestreamwrite_table.py::test_describe_table", "tests/test_timest...
[ { "content": "DynamoDB query with brackets in KeyConditionExpression causes: Invalid function name; function:\nSee the attached testcase\r\n\r\nI have found that when mocking DynamoDB and running a query, if I put brackets in my KeyConditionExpression then it raises an error\r\n\r\nMy KeyConditionExpression is ...
swe-gym
coding
{ "FAIL_TO_PASS": [ "tests/test_dynamodb/models/test_key_condition_expression_parser.py::TestHashAndRangeKey::test_brackets[(job_id", "tests/test_dynamodb/models/test_key_condition_expression_parser.py::TestHashAndRangeKey::test_brackets[job_id" ], "PASS_TO_PASS": [ "tests/test_dynamodb/models/test_ke...
[ { "content": "EKS CreateCluster response encryptionConfig property should be a List/Array\n# Description\r\n\r\nWhen 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...
swe-gym
coding
{ "FAIL_TO_PASS": [ "tests/test_eks/test_server.py::test_eks_describe_existing_cluster" ], "PASS_TO_PASS": [ "tests/test_eks/test_server.py::test_eks_create_multiple_clusters_with_same_name", "tests/test_eks/test_server.py::test_eks_delete_cluster", "tests/test_eks/test_server.py::test_eks_list_no...
[ { "content": "KeyError when calling deregister_resource with unknown ResourceArn in lake formation\nDescription:\r\nWhen calling deregister_resource on a mocked lake formation client you get a KeyError which does not conform to the AWS docs.\r\nhttps://boto3.amazonaws.com/v1/documentation/api/latest/reference/s...
swe-gym
coding
{ "FAIL_TO_PASS": [ "tests/test_lakeformation/test_lakeformation.py::test_deregister_resource" ], "PASS_TO_PASS": [ "tests/test_lakeformation/test_lakeformation.py::test_list_data_cells_filter", "tests/test_lakeformation/test_lakeformation.py::test_revoke_permissions", "tests/test_lakeformation/te...
[ { "content": "ECS list_services ClusterNotFoundException Not raised\n## Reporting Bugs\r\n\r\nResource/Client:\r\n**ECS**\r\n\r\nMethod:\r\n**list_services**\r\n\r\nWhen calling the `ecs` `list_services` with a cluster that does not exist (in moto) the API returns an empty list response.\r\n\r\nExpected behavio...
swe-gym
coding
{ "FAIL_TO_PASS": [ "tests/test_ecs/test_ecs_boto3.py::test_list_unknown_service[unknown]", "tests/test_ecs/test_ecs_boto3.py::test_list_unknown_service[no" ], "PASS_TO_PASS": [ "tests/test_ecs/test_ecs_boto3.py::test_update_missing_service", "tests/test_ecs/test_ecs_boto3.py::test_start_task_with...
[ { "content": "Organizations close_account doesn't match public API\nThe Organizations close_account API was added in #5040.\r\n\r\nIt doesn't match the spec of the public [CloseAccount](https://docs.aws.amazon.com/organizations/latest/APIReference/API_CloseAccount.html) API.\r\n\r\n> If the action is successful...
swe-gym
coding
{ "FAIL_TO_PASS": [ "tests/test_organizations/test_organizations_boto3.py::test_close_account_puts_account_in_suspended_status" ], "PASS_TO_PASS": [ "tests/test_organizations/test_organizations_boto3.py::test_describe_organization", "tests/test_organizations/test_organizations_boto3.py::test_aiservice...
[ { "content": "API Gateway does not support \":\" character in the resource path.\n## Reporting Bugs\r\n\r\n### Expectation:\r\nLike 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 common...
swe-gym
coding
{ "FAIL_TO_PASS": [ "tests/test_apigateway/test_apigateway.py::test_create_resource__validate_name" ], "PASS_TO_PASS": [ "tests/test_apigateway/test_apigateway.py::test_get_model_by_name", "tests/test_apigateway/test_apigateway.py::test_get_usage_plans_using_key_id", "tests/test_apigateway/test_ap...
[ { "content": "moto batch - \"RuntimeError: cannot join thread before it is started\"\nHey,\r\n\r\n**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,...
swe-gym
coding
{ "FAIL_TO_PASS": [ "tests/test_batch/test_batch_jobs.py::test_submit_job_with_timeout_set_at_definition", "tests/test_batch/test_batch_jobs.py::test_submit_job_with_timeout", "tests/test_batch/test_batch_jobs.py::test_register_job_definition_with_timeout", "tests/test_batch/test_batch_jobs.py::test_c...
[ { "content": "mock_athena fails to get \"primary\" work group\nHello! 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) w...
swe-gym
coding
{ "FAIL_TO_PASS": [ "tests/test_athena/test_athena.py::test_get_primary_workgroup" ], "PASS_TO_PASS": [ "tests/test_athena/test_athena.py::test_create_and_get_workgroup", "tests/test_athena/test_athena.py::test_create_work_group", "tests/test_athena/test_athena.py::test_stop_query_execution", ...
[ { "content": "SES region setting is not supported\nHi,\r\nwhen 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. \r\nIt seems like this is a bug caused in this file:\r\nhttps://github.com/getmoto/moto/blob/master/moto/ses/res...
swe-gym
coding
{ "FAIL_TO_PASS": [ "tests/test_ses/test_ses_boto3.py::test_identities_are_region_specific" ], "PASS_TO_PASS": [ "tests/test_ses/test_ses_boto3.py::test_create_configuration_set", "tests/test_ses/test_ses_boto3.py::test_send_email_when_verify_source", "tests/test_ses/test_ses_boto3.py::test_create...
[ { "content": "delete_secret accepts invalid input and then fails\nThe following call is accepted by moto `delete_secret` validations but runtime AWS error is issued\r\n\r\n```\r\n self.secrets_client.delete_secret(\r\n SecretId=creds_name,\r\n RecoveryWindowInDays=0,\r\n...
swe-gym
coding
{ "FAIL_TO_PASS": [ "tests/test_secretsmanager/test_secretsmanager.py::test_delete_secret_recovery_window_invalid_values", "tests/test_secretsmanager/test_secretsmanager.py::test_delete_secret_force_no_such_secret_with_invalid_recovery_window" ], "PASS_TO_PASS": [ "tests/test_secretsmanager/test_secre...
[ { "content": "Deleting secrets not possible with full ARN\nDeleting secrets in AWS Secrets Manager isn't possible when using the full ARN as secrets id and not specifying `ForceDeleteWithoutRecovery=True`:\r\n\r\n```python\r\nimport boto3\r\nfrom moto import mock_secretsmanager\r\n\r\n@mock_secretsmanager\r\nde...
swe-gym
coding
{ "FAIL_TO_PASS": [ "tests/test_secretsmanager/test_secretsmanager.py::test_delete_secret_by_arn" ], "PASS_TO_PASS": [ "tests/test_secretsmanager/test_secretsmanager.py::test_get_secret_that_has_no_value", "tests/test_secretsmanager/test_secretsmanager.py::test_get_secret_value_by_arn", "tests/tes...
[ { "content": "Versioned S3 buckets leak keys\nA left-over from #5551\r\n\r\n```python\r\n$ python -Wall\r\nPython 3.9.12 (main, Oct 8 2022, 00:52:50) \r\n[Clang 14.0.0 (clang-1400.0.29.102)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import gc\r\n>>> from...
swe-gym
coding
{ "FAIL_TO_PASS": [ "tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosures::test_versioned_file" ], "PASS_TO_PASS": [ "tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosures::test_overwriting_file", "tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosures::test_delete_specif...
[ { "content": "mock_lambda missing PackageType attribute\nI'm trying to test against zip based only lambdas, but the return object is missing `PackageType`.\r\n\r\ntest:\r\n```python\r\n @mock_lambda\r\n def test_list_zipped_lambdas(self):\r\n self.setup_mock_iam_role()\r\n\r\n # with mock_la...
swe-gym
coding
{ "FAIL_TO_PASS": [ "tests/test_awslambda/test_lambda.py::test_list_functions", "tests/test_awslambda/test_lambda.py::test_list_create_list_get_delete_list", "tests/test_awslambda/test_lambda.py::test_create_function_from_zipfile" ], "PASS_TO_PASS": [ "tests/test_awslambda/test_lambda.py::test_put...
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
59

Collection including NovaSky-AI/SkyRL-v0-293-data