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 pubsub package to implement message processing with acknowledgment control and deadline extension. The focus is on proper usage of subscription.pull(), subscription.acknowledge(), and subscription.modify_ack_deadline() methods.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Message pulling",
"description": "Uses subscription.pull() method correctly to retrieve messages from the subscription with the appropriate max_messages parameter",
"max_score": 25
},
{
"name": "Message acknowledgment",
"description": "Uses subscription.acknowledge() method to acknowledge successfully processed messages with the correct acknowledgment IDs",
"max_score": 30
},
{
"name": "Deadline extension",
"description": "Uses subscription.modify_ack_deadline() method to extend the acknowledgment deadline for messages that need more processing time",
"max_score": 30
},
{
"name": "Acknowledgment ID handling",
"description": "Correctly extracts and manages acknowledgment IDs from the pull() results, passing them appropriately to acknowledge() or modify_ack_deadline() methods",
"max_score": 15
}
]
}evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10