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-1/

{
  "context": "This criteria evaluates how well an engineer uses the gntp package to parse GNTP protocol messages and extract embedded binary resources. The focus is on correct usage of gntp's parsing functions, message classes, and resource handling capabilities.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "parse_gntp usage",
      "description": "Uses gntp.core.parse_gntp() function to parse raw GNTP message data and automatically detect message type",
      "max_score": 25
    },
    {
      "name": "Message type handling",
      "description": "Correctly works with different GNTP message classes (GNTPNotice, GNTPRegister, GNTPOK, GNTPError) returned by parse_gntp()",
      "max_score": 20
    },
    {
      "name": "Resource extraction",
      "description": "Accesses the resources attribute or uses appropriate methods to extract binary resources from parsed message objects",
      "max_score": 25
    },
    {
      "name": "Password authentication",
      "description": "Passes password parameter to parse_gntp() or decode() methods for authenticated messages",
      "max_score": 15
    },
    {
      "name": "Error handling",
      "description": "Properly catches and handles gntp.errors.AuthError for authentication failures and gntp.errors.ParseError for invalid messages",
      "max_score": 10
    },
    {
      "name": "Header access",
      "description": "Accesses message headers through the .headers attribute on parsed message objects",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-gntp

tile.json