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 the engineer's proficiency in using the gntp package for protocol-level error handling with GNTPError. It assesses whether the implementation correctly catches and parses GNTPError exceptions, extracts error codes and descriptions, and implements appropriate error recovery logic.",
"type": "weighted_checklist",
"checklist": [
{
"name": "GrowlNotifier usage",
"description": "Uses gntp.notifier.GrowlNotifier class to create a notifier instance with hostname, port, and password parameters",
"max_score": 15
},
{
"name": "GNTPError exception handling",
"description": "Catches gntp.errors.GNTPError exceptions (not generic Exception) when sending notifications via GrowlNotifier.register() and GrowlNotifier.notify()",
"max_score": 25
},
{
"name": "Error code extraction",
"description": "Extracts the error code from GNTPError using the error_code attribute or by parsing the error response",
"max_score": 15
},
{
"name": "Error description extraction",
"description": "Extracts the error description from GNTPError using the error_description attribute or by parsing the error response",
"max_score": 15
},
{
"name": "Authentication error detection",
"description": "Correctly identifies authentication errors by checking if error code equals 401",
"max_score": 10
},
{
"name": "Recoverable error logic",
"description": "Implements logic to determine if an error is recoverable by checking error codes (400 and 500 range errors are not recoverable)",
"max_score": 10
},
{
"name": "Retry mechanism",
"description": "Implements retry logic that creates a new GrowlNotifier instance with fallback password when authentication error (401) is detected",
"max_score": 10
}
]
}