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-6/

{
  "context": "This criteria evaluates how well the engineer uses the asyncstdlib package to filter data from an async iterable based on corresponding boolean selectors. The focus is entirely on the proper usage of asyncstdlib's compress() function or equivalent async iteration utilities.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses compress function",
      "description": "Correctly imports and uses asyncstdlib.compress() to filter the data stream based on selectors",
      "max_score": 40
    },
    {
      "name": "Handles async iterables",
      "description": "Properly handles both input parameters as async iterables and returns an async iterable",
      "max_score": 25
    },
    {
      "name": "Parallel processing",
      "description": "Correctly processes both data and selector streams in parallel, consuming elements from both simultaneously",
      "max_score": 20
    },
    {
      "name": "Correct implementation",
      "description": "The implementation correctly yields only data elements where the corresponding selector is truthy",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-asyncstdlib

tile.json