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

{
  "context": "This evaluation assesses how effectively the engineer uses asyncstdlib's batching functionality to group async iterable items into fixed-size batches. The focus is on proper usage of the asyncstdlib.itertools.batched() function and related async iteration patterns.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses batched() function",
      "description": "Uses asyncstdlib.itertools.batched() or asyncstdlib.batched() to group items into fixed-size batches in process_stream()",
      "max_score": 40
    },
    {
      "name": "Correct batch size",
      "description": "Passes the batch_size parameter correctly to batched() function",
      "max_score": 10
    },
    {
      "name": "Async iteration pattern",
      "description": "Properly iterates over batched results using async for loop to yield batches",
      "max_score": 15
    },
    {
      "name": "Batching in processing",
      "description": "Uses asyncstdlib.batched() in batch_process_records() to group records before processing",
      "max_score": 20
    },
    {
      "name": "Async collection",
      "description": "Uses asyncstdlib async collection functions (like asyncstdlib.list()) to collect batched results when needed",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-asyncstdlib

tile.json