tessl install tessl/pypi-asyncstdlib@3.13.0The missing async toolbox - re-implements functions and classes of the Python standard library to make them compatible with async callables, iterables and context managers
Agent Success
Agent success rate when using this tile
84%
Improvement
Agent success rate improvement when using this tile compared to baseline
3.36x
Baseline
Agent success rate without this tile
25%
{
"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
}
]
}