Python client library for Google Cloud Platform services including Datastore, Storage, and Pub/Sub
93
Pending
Does it follow best practices?
Impact
93%
1.19xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"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
}
]
}evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10