asyncio (PEP 3156) Redis support
Overall
score
98%
{
"context": "This criteria evaluates how well the engineer uses aioredis advanced set operations to implement a tag-based content filtering system. The focus is on proper usage of set operation storage methods and atomic cross-set movement.",
"type": "weighted_checklist",
"checklist": [
{
"name": "sinterstore usage",
"description": "Uses aioredis sinterstore() method to compute and store set intersection results. This should be used in compute_intersection() to find items with ALL specified tags.",
"max_score": 25
},
{
"name": "sunionstore usage",
"description": "Uses aioredis sunionstore() method to compute and store set union results. This should be used in compute_union() to find items with ANY specified tags.",
"max_score": 25
},
{
"name": "sdiffstore usage",
"description": "Uses aioredis sdiffstore() method to compute and store set difference results. This should be used in compute_difference() to find items in the main set that are not in exclude sets.",
"max_score": 25
},
{
"name": "smove usage",
"description": "Uses aioredis smove() method to atomically move items between sets. This should be used in move_item() to transfer an item from one tag set to another in a single atomic operation.",
"max_score": 25
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-aioredisdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10