tessl install tessl/pypi-aioredis@2.0.0asyncio (PEP 3156) Redis support
Agent Success
Agent success rate when using this tile
98%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.01x
Baseline
Agent success rate without this tile
97%
{
"context": "This criteria evaluates how well the engineer uses aioredis monitoring capabilities to capture and analyze Redis commands in real-time. The focus is on proper use of the monitor() API, async iteration patterns, and connection lifecycle management.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Monitor Client Creation",
"description": "Uses aioredis client's monitor() method to create a Monitor client instance for capturing Redis commands",
"max_score": 20
},
{
"name": "Async Iteration Usage",
"description": "Uses the Monitor's async iterator interface (async for or monitor() method) to process monitored commands rather than polling or blocking approaches",
"max_score": 25
},
{
"name": "Command Data Extraction",
"description": "Correctly extracts command information from monitored events (command name, client info, timestamp) using the dictionary structure returned by the monitor",
"max_score": 20
},
{
"name": "Connection Lifecycle",
"description": "Properly manages Redis connection lifecycle including connection creation, monitoring session, and cleanup (close/disconnect)",
"max_score": 15
},
{
"name": "Command Statistics",
"description": "Implements command counting and frequency analysis by aggregating monitored command data",
"max_score": 10
},
{
"name": "Async Context Management",
"description": "Uses proper async/await patterns and handles asyncio operations correctly (async def, await statements, event loop management)",
"max_score": 10
}
]
}