CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-asyncstdlib

The missing async toolbox - re-implements functions and classes of the Python standard library to make them compatible with async callables, iterables and context managers

84

3.36x

Quality

Pending

Does it follow best practices?

Impact

84%

3.36x

Average score across 10 eval scenarios

Overview
Eval results
Files

rubric.jsonevals/scenario-3/

{
  "context": "This criteria evaluates how well the engineer uses asyncstdlib's parallel iteration capabilities to combine multiple async streams. The focus is on proper usage of asyncstdlib.zip() for parallel iteration and asyncstdlib.list() for collecting results from async iterables.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses asyncstdlib.zip()",
      "description": "Solution uses asyncstdlib.zip() (or imports it as 'a.zip' from 'asyncstdlib as a') to combine the three input streams in parallel",
      "max_score": 50
    },
    {
      "name": "Uses asyncstdlib.list()",
      "description": "Solution uses asyncstdlib.list() (or imports it as 'a.list' from 'asyncstdlib as a') to convert the async iterable result into a list",
      "max_score": 30
    },
    {
      "name": "Correct stream combination",
      "description": "Solution correctly passes all three input parameters (users, amounts, timestamps) to asyncstdlib.zip() in the correct order to create tuples of corresponding elements",
      "max_score": 15
    },
    {
      "name": "Proper async handling",
      "description": "Solution properly awaits the asyncstdlib.list() call since it returns an awaitable, demonstrating understanding that asyncstdlib functions return awaitables that must be awaited",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-asyncstdlib

tile.json