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 enable network trace logging for diagnostic purposes. The focus is on proper configuration of the ServiceBusClient with the logging_enable parameter and use of Python's logging framework to capture detailed diagnostic information.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Enable trace logging",
"description": "Uses the ServiceBusClient with logging_enable=True parameter to enable network-level diagnostic logging during client initialization",
"max_score": 30
},
{
"name": "Configure Python logging",
"description": "Properly configures Python's logging module to capture azure-servicebus trace output at an appropriate level (DEBUG or INFO) so diagnostic information is visible",
"max_score": 25
},
{
"name": "Create client correctly",
"description": "Uses ServiceBusClient.from_connection_string() or ServiceBusClient() constructor appropriately to establish connection to Service Bus",
"max_score": 15
},
{
"name": "Create and use sender",
"description": "Uses client.get_queue_sender() method to create a sender and calls sender.send_messages() to transmit messages to the queue",
"max_score": 15
},
{
"name": "Resource cleanup",
"description": "Properly closes connections using context managers (with statement) for ServiceBusClient and sender, or calls close() methods explicitly",
"max_score": 10
},
{
"name": "Create messages",
"description": "Creates ServiceBusMessage instances with appropriate content to send to the queue",
"max_score": 5
}
]
}