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's fixture factory functions and configuration parameters to create custom Redis fixtures with specific data persistence settings. The focus is on proper usage of the redis_proc factory with persistence-related parameters.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Factory import",
"description": "Uses pytest_redis.factories module to import redis_proc and redisdb factory functions",
"max_score": 10
},
{
"name": "Process fixture creation",
"description": "Creates a custom Redis process fixture using the redis_proc() factory function with appropriate pytest fixture decorator",
"max_score": 15
},
{
"name": "Save configuration",
"description": "Configures the save parameter with the correct format '60 1000 300 100 900 1' to specify snapshot rules",
"max_score": 25
},
{
"name": "RDB compression",
"description": "Sets the rdbcompression parameter to True to enable RDB compression",
"max_score": 15
},
{
"name": "RDB checksum",
"description": "Sets the rdbchecksum parameter to True to enable checksum validation",
"max_score": 15
},
{
"name": "Port configuration",
"description": "Configures the port parameter to 6380 as specified",
"max_score": 5
},
{
"name": "Client fixture creation",
"description": "Creates a Redis client fixture using the redisdb() factory function that connects to the custom process fixture",
"max_score": 15
}
]
}