tessl install tessl/pypi-pytest-redis@3.1.0Redis fixtures and fixture factories for Pytest.
Agent Success
Agent success rate when using this tile
95%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.12x
Baseline
Agent success rate without this tile
85%
{
"context": "This criteria evaluates how well the engineer uses pytest-redis fixtures to test Redis-based functionality. The focus is exclusively on proper fixture usage and Redis client operations.",
"type": "weighted_checklist",
"checklist": [
{
"name": "redisdb fixture usage",
"description": "Test functions correctly use the redisdb fixture as a parameter to obtain a Redis client connection for testing",
"max_score": 30
},
{
"name": "Redis client methods",
"description": "Implementation uses redis.Redis client methods (set, get, delete, exists) correctly to perform Redis operations",
"max_score": 30
},
{
"name": "JSON handling",
"description": "Uses json.dumps() to serialize dictionaries when storing to Redis and json.loads() to deserialize when retrieving from Redis",
"max_score": 25
},
{
"name": "Test structure",
"description": "Tests pass the redisdb fixture to SessionStore constructor and use it to verify Redis state changes",
"max_score": 15
}
]
}