tessl install tessl/pypi-azure-servicebus@7.14.0Microsoft Azure Service Bus Client Library for Python providing comprehensive messaging capabilities for enterprise applications.
Agent Success
Agent success rate when using this tile
92%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.01x
Baseline
Agent success rate without this tile
91%
{
"context": "This criteria evaluates how effectively an engineer uses the azure-servicebus package's message peeking functionality to inspect messages without removing them from the queue. The focus is on proper use of ServiceBusClient, receiver creation, and the peek_messages method.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Client initialization",
"description": "Uses ServiceBusClient.from_connection_string() to create the Service Bus client instance",
"max_score": 15
},
{
"name": "Receiver creation",
"description": "Uses get_queue_receiver() method to create a receiver for the specified queue",
"max_score": 15
},
{
"name": "Peek messages method",
"description": "Uses peek_messages() method on the receiver to inspect messages without removal",
"max_score": 30
},
{
"name": "Max count parameter",
"description": "Passes max_message_count parameter to peek_messages() to control the number of messages retrieved",
"max_score": 10
},
{
"name": "Sequence number parameter",
"description": "Uses sequence_number parameter in peek_messages() to start inspection from a specific position in the queue",
"max_score": 15
},
{
"name": "Message property access",
"description": "Accesses message properties such as body (via str(message)) and sequence_number from the returned ServiceBusReceivedMessage objects",
"max_score": 10
},
{
"name": "Resource cleanup",
"description": "Properly closes the receiver and client using context managers (with statements) or explicit close() calls",
"max_score": 5
}
]
}