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 evaluation assesses the engineer's ability to use pytest-redis's Unix socket support capability, including creating custom Redis fixtures with Unix socket configuration and understanding socket path validation constraints.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Factory function usage",
"description": "Uses pytest_redis.factories.redis_proc() to create custom Redis process fixtures with Unix socket configuration",
"max_score": 25
},
{
"name": "Data directory configuration",
"description": "Correctly configures the data directory using the 'datadir' parameter in redis_proc() factory, understanding that the Unix socket is automatically created in this directory",
"max_score": 20
},
{
"name": "Client fixture creation",
"description": "Uses pytest_redis.factories.redisdb() to create Redis client fixtures that connect to the Unix socket-based Redis process",
"max_score": 15
},
{
"name": "Socket path validation",
"description": "Demonstrates understanding of Unix socket path length limits by testing with paths that exceed platform limits (107 characters for Linux)",
"max_score": 20
},
{
"name": "Exception handling",
"description": "Properly handles or tests for UnixSocketTooLong or similar exceptions when socket paths are invalid",
"max_score": 10
},
{
"name": "Redis operations",
"description": "Successfully performs Redis operations (SET/GET) using the Unix socket-connected client fixture to verify functionality",
"max_score": 10
}
]
}