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 effectively the engineer uses the gcloud storage package to implement blob content and metadata operations. The focus is on correct usage of gcloud.storage.Client, gcloud.storage.Bucket, and gcloud.storage.Blob classes along with their methods for uploading, downloading, and managing blob metadata and properties.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Client initialization",
"description": "Uses gcloud.storage.Client to initialize storage client with project_id parameter",
"max_score": 10
},
{
"name": "Bucket access",
"description": "Uses storage.Client.get_bucket() or storage.Client.bucket() to obtain bucket reference",
"max_score": 10
},
{
"name": "Blob reference creation",
"description": "Uses bucket.blob() or bucket.get_blob() to create or retrieve blob objects",
"max_score": 5
},
{
"name": "Content upload",
"description": "Uses blob.upload_from_string() to upload string content to blobs",
"max_score": 15
},
{
"name": "Metadata assignment",
"description": "Uses blob.metadata property to set custom metadata key-value pairs on blobs",
"max_score": 15
},
{
"name": "Content type setting",
"description": "Uses blob.content_type property to set the content type of blobs",
"max_score": 10
},
{
"name": "Cache control setting",
"description": "Uses blob.cache_control property to set cache control directives on blobs",
"max_score": 5
},
{
"name": "Content download",
"description": "Uses blob.download_as_string() or blob.download_as_text() to retrieve blob content as string",
"max_score": 10
},
{
"name": "Metadata retrieval",
"description": "Accesses blob.metadata property to retrieve custom metadata from blobs",
"max_score": 5
},
{
"name": "Metadata update",
"description": "Uses blob.patch() or blob.update() to update blob metadata without re-uploading content",
"max_score": 15
}
]
}