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
Quality
Pending
Does it follow best practices?
Impact
84%
3.36xAverage score across 10 eval scenarios
{
"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-asyncstdlibevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10