tessl install tessl/pypi-gntp@1.0.0Growl Notification Transport Protocol for Python
Agent Success
Agent success rate when using this tile
80%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.25x
Baseline
Agent success rate without this tile
64%
{
"context": "This criteria evaluates how well the engineer uses the gntp package to implement error handling and response validation when sending notifications. The focus is on proper usage of gntp's GrowlNotifier class, error detection mechanisms, and handling of various failure scenarios.",
"type": "weighted_checklist",
"checklist": [
{
"name": "GrowlNotifier usage",
"description": "Uses gntp.notifier.GrowlNotifier class (or gntp.GrowlNotifier) to create the notification client with appropriate initialization parameters (hostname, port, password)",
"max_score": 15
},
{
"name": "Registration implementation",
"description": "Uses the register() method from GrowlNotifier to register the application and notification types properly",
"max_score": 15
},
{
"name": "Notification sending",
"description": "Uses the notify() method from GrowlNotifier to send notifications with correct parameters (noteType, title, description)",
"max_score": 15
},
{
"name": "Network error handling",
"description": "Properly catches and handles socket-related exceptions (socket.error, socket.timeout, or similar network errors) and converts them to ConnectionError as specified",
"max_score": 15
},
{
"name": "Response validation",
"description": "Validates server responses by checking for GNTP protocol responses (e.g., examining response status or using gntp's built-in response parsing), converting invalid responses to ValueError",
"max_score": 15
},
{
"name": "Authentication error handling",
"description": "Detects authentication failures (either through GNTPError responses with error codes or gntp exceptions) and raises AuthenticationError as specified",
"max_score": 15
},
{
"name": "Exception wrapping",
"description": "Properly wraps gntp-specific exceptions into the API-specified exceptions (ConnectionError, ValueError, AuthenticationError) while preserving error information",
"max_score": 10
}
]
}