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 the engineer's ability to use azure-servicebus package for streaming message consumption using the iterator pattern. The focus is on proper use of receiver iteration, message settlement operations, and resource management with context managers.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Client initialization",
"description": "Uses ServiceBusClient.from_connection_string() to create the Service Bus client with the connection string from environment variable",
"max_score": 15
},
{
"name": "Receiver creation",
"description": "Uses client.get_queue_receiver() to create a receiver for the 'orders' queue",
"max_score": 15
},
{
"name": "Iterator-based streaming",
"description": "Iterates directly over the receiver object (e.g., 'for message in receiver:') to stream messages rather than using receive_messages() batch method",
"max_score": 30
},
{
"name": "Message completion",
"description": "Calls receiver.complete_message() on each message after successful processing to remove it from the queue",
"max_score": 25
},
{
"name": "Context managers",
"description": "Uses 'with' statement context managers for ServiceBusClient and receiver to ensure proper resource cleanup",
"max_score": 15
}
]
}