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 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
}
]
}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