tessl install tessl/pypi-gcloud@0.7.0Python client library for Google Cloud Platform services including Datastore, Storage, and Pub/Sub
Agent Success
Agent success rate when using this tile
93%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.19x
Baseline
Agent success rate without this tile
78%
{
"context": "This criteria evaluates how well the engineer uses the gcloud Python library's storage module to implement bucket management operations. The focus is on correct usage of the storage.Client class and its methods for creating, listing, and retrieving bucket information.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Storage Client Initialization",
"description": "Uses gcloud.storage.Client class to initialize a storage client with the project_id parameter",
"max_score": 15
},
{
"name": "Bucket Creation API",
"description": "Uses client.create_bucket() method or client.bucket().create() pattern to create new buckets",
"max_score": 20
},
{
"name": "Bucket Creation Handling",
"description": "Properly handles bucket creation results and catches exceptions for duplicate bucket scenarios using try-except blocks with appropriate gcloud exceptions",
"max_score": 15
},
{
"name": "Bucket Listing API",
"description": "Uses client.list_buckets() method to retrieve all buckets in the project",
"max_score": 20
},
{
"name": "Bucket Listing Iteration",
"description": "Correctly iterates over the bucket iterator returned by list_buckets() and extracts bucket names using the .name attribute or similar",
"max_score": 10
},
{
"name": "Bucket Retrieval API",
"description": "Uses client.get_bucket() method or client.bucket() with appropriate method to retrieve specific bucket information by name",
"max_score": 15
},
{
"name": "Bucket Retrieval Handling",
"description": "Handles non-existent bucket errors appropriately using try-except blocks, returning None or appropriate value when bucket doesn't exist",
"max_score": 5
}
]
}