CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-gntp

Growl Notification Transport Protocol for Python

80

1.25x
Overview
Eval results
Files

rubric.jsonevals/scenario-3/

{
  "context": "This criteria evaluates how well the engineer uses the gntp package to implement a basic notification workflow. The focus is on proper use of the GrowlNotifier class, correct registration of notification types, and appropriate notification sending with the required parameters.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "GrowlNotifier instantiation",
      "description": "Uses gntp.notifier.GrowlNotifier (or imports as GrowlNotifier) to create the notification client. The constructor should accept configuration parameters like applicationName, hostname, port, password, and other relevant settings.",
      "max_score": 20
    },
    {
      "name": "Register method call",
      "description": "Calls the register() method on the GrowlNotifier instance to register the application with the notification system. This must happen before sending any notifications.",
      "max_score": 20
    },
    {
      "name": "Notification type declaration",
      "description": "Properly declares all three notification types ('Task Completed', 'Warning', 'Error') when registering. Uses the notifications parameter in register() to define available notification types with appropriate defaults.",
      "max_score": 20
    },
    {
      "name": "Notify method usage",
      "description": "Uses the notify() method to send notifications. Correctly passes the noteType parameter matching one of the registered notification types, along with title and description parameters.",
      "max_score": 25
    },
    {
      "name": "Configuration parameters",
      "description": "Properly passes configuration parameters (hostname, port, password) to the GrowlNotifier constructor and uses them to configure the notification client connection settings.",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-gntp

tile.json