CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-aioredis

asyncio (PEP 3156) Redis support

Overall
score

98%

Overview
Eval results
Files

rubric.jsonevals/scenario-3/

{
  "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-aioredis

tile.json