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 asyncstdlib's all() and any() functions to implement boolean validation over async iterables. The focus is on proper usage of asyncstdlib.all() and asyncstdlib.any() to check conditions across async streams.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses asyncstdlib.all()",
"description": "Implementation correctly uses asyncstdlib.all() (or imported as 'a.all()' or 'from asyncstdlib import all') to check if all items in an async iterable satisfy a condition",
"max_score": 30
},
{
"name": "Uses asyncstdlib.any()",
"description": "Implementation correctly uses asyncstdlib.any() (or imported as 'a.any()' or 'from asyncstdlib import any') to check if any item in an async iterable satisfies a condition",
"max_score": 30
},
{
"name": "Async predicate support",
"description": "Implementation correctly passes async predicates/functions to asyncstdlib.all() or asyncstdlib.any(), leveraging the library's support for both sync and async callables",
"max_score": 20
},
{
"name": "Proper async iteration",
"description": "Implementation properly handles async iterables with asyncstdlib functions, using await on the all()/any() calls and correctly working with async generators or async iterables",
"max_score": 15
},
{
"name": "Edge case handling",
"description": "Implementation correctly handles edge cases like empty async iterables, properly relying on asyncstdlib.all() and asyncstdlib.any() behavior (all() returns True for empty, any() returns False for empty)",
"max_score": 5
}
]
}