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 the azure-servicebus package to send multiple messages efficiently as a list. The focus is on proper client initialization, sender creation, message construction, and batch sending operations.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Client initialization",
"description": "Uses ServiceBusClient.from_connection_string() to create the Service Bus client with the provided connection string",
"max_score": 20
},
{
"name": "Sender creation",
"description": "Uses get_queue_sender() method on the client to create a queue sender for the specified queue name",
"max_score": 15
},
{
"name": "Message construction",
"description": "Creates ServiceBusMessage objects for each order, with the message body containing the JSON-serialized order data",
"max_score": 25
},
{
"name": "List-based sending",
"description": "Uses send_messages() method with a list of messages (not individual sends) to batch-send all order messages in a single operation",
"max_score": 30
},
{
"name": "Resource cleanup",
"description": "Properly closes the sender and client using context managers (with statements) or explicit close() calls to ensure connections are released",
"max_score": 10
}
]
}