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 send notifications with embedded binary icon resources. The focus is on proper usage of the resource embedding API and notification workflow.",
"type": "weighted_checklist",
"checklist": [
{
"name": "GrowlNotifier instantiation",
"description": "Creates a GrowlNotifier instance with appropriate connection parameters (hostname, port, password)",
"max_score": 10
},
{
"name": "Application registration",
"description": "Uses the register() method to register the application with Growl, specifying notification types",
"max_score": 15
},
{
"name": "Binary icon loading",
"description": "Reads image files from disk as binary data (using open() with 'rb' mode or equivalent)",
"max_score": 10
},
{
"name": "add_resource() usage",
"description": "Uses the add_resource() method to embed binary icon data into the notification packet, which returns a resource identifier",
"max_score": 30
},
{
"name": "notify() with resource",
"description": "Calls notify() method with the icon parameter set to the resource identifier returned by add_resource()",
"max_score": 25
},
{
"name": "Multiple icon handling",
"description": "Correctly handles multiple notifications with different embedded icons by calling add_resource() for each unique icon",
"max_score": 10
}
]
}