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 well the engineer uses the azure-servicebus package to implement a message processing system with proper message settlement, specifically focusing on the abandon_message() functionality for handling failed message processing.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Client initialization",
"description": "Uses ServiceBusClient.from_connection_string() to create the client from the connection string parameter",
"max_score": 10
},
{
"name": "Receiver creation",
"description": "Uses client.get_queue_receiver() to create a receiver for the specified queue with appropriate receive mode (PEEK_LOCK for settlement operations)",
"max_score": 15
},
{
"name": "Message receiving",
"description": "Uses receiver.receive_messages() with the max_messages parameter to retrieve messages from the queue",
"max_score": 15
},
{
"name": "Abandon on failure",
"description": "Uses receiver.abandon_message() to return failed messages to the queue when the callback returns False or raises an exception",
"max_score": 30
},
{
"name": "Complete on success",
"description": "Uses receiver.complete_message() to remove successfully processed messages from the queue when the callback returns True",
"max_score": 20
},
{
"name": "Resource cleanup",
"description": "Uses context managers (with statements) for ServiceBusClient and receiver to ensure proper connection cleanup, or explicitly calls close() methods",
"max_score": 10
}
]
}