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's response parsing and decoding customization features. The focus is on proper use of response callbacks, decode_responses configuration, and command execution with custom parsers.",
"type": "weighted_checklist",
"checklist": [
{
"name": "aioredis Client Creation",
"description": "Creates aioredis Redis client using aioredis.from_url() or aioredis.Redis() with appropriate decode_responses parameter",
"max_score": 15
},
{
"name": "Response Callback Registration",
"description": "Uses set_response_callback() method or equivalent mechanism to register custom parsers for specific Redis commands",
"max_score": 25
},
{
"name": "Command Execution",
"description": "Executes Redis commands using execute_command() or equivalent method that applies registered response callbacks",
"max_score": 20
},
{
"name": "JSON Parsing Logic",
"description": "Implements custom parser that correctly parses JSON responses for GET command, handling both JSON and non-JSON values appropriately",
"max_score": 15
},
{
"name": "MGET Custom Parser",
"description": "Implements custom parser for MGET that converts list response to dict mapping keys to values",
"max_score": 10
},
{
"name": "decode_responses Configuration",
"description": "Correctly configures decode_responses parameter when creating Redis client to control byte/string decoding behavior",
"max_score": 10
},
{
"name": "Async Connection Management",
"description": "Properly manages async connection lifecycle using await with connect/close or async context manager",
"max_score": 5
}
]
}