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 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-asyncstdlibevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10