CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-aioredis

asyncio (PEP 3156) Redis support

Overall
score

98%

Overview
Eval results
Files

rubric.jsonevals/scenario-1/

{
  "context": "This evaluation assesses how effectively the engineer uses aioredis library methods to implement server health monitoring and database management functionality. The focus is on proper usage of aioredis client creation, async connection patterns, and specific server/database command methods.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Client Creation",
      "description": "Uses aioredis.from_url() or aioredis.create_redis_pool() or aioredis.Redis() to create a Redis client from the connection URL",
      "max_score": 15
    },
    {
      "name": "Connection Management",
      "description": "Properly implements async connect() and disconnect()/close() using aioredis connection lifecycle methods (await client.initialize() if needed, await client.close() or similar)",
      "max_score": 15
    },
    {
      "name": "Health Check - Ping",
      "description": "Uses the ping() method from aioredis client to check server responsiveness",
      "max_score": 15
    },
    {
      "name": "Echo Command",
      "description": "Uses the echo() method from aioredis client to send and receive the echo message",
      "max_score": 10
    },
    {
      "name": "Database Size Query",
      "description": "Uses the dbsize() method from aioredis client to retrieve the count of keys in the current database",
      "max_score": 15
    },
    {
      "name": "Server Information",
      "description": "Uses the info() method from aioredis client to retrieve comprehensive server statistics",
      "max_score": 15
    },
    {
      "name": "Database Flush",
      "description": "Uses the flushdb() method from aioredis client to remove all keys from the current database",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-aioredis

tile.json