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 effectively the engineer uses asyncstdlib's sorted() function to sort async iterables. The focus is on proper usage of the async sorting API, including the key parameter for custom sorting logic and the reverse parameter for descending order.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses asyncstdlib.sorted()",
"description": "Implementation imports and uses asyncstdlib.sorted() function (or uses asyncstdlib.builtins.sorted()) to sort the async iterable instead of manually implementing sorting logic or using standard library sorted().",
"max_score": 40
},
{
"name": "Passes async iterable",
"description": "Correctly passes the activities async iterable as the first argument to asyncstdlib.sorted().",
"max_score": 15
},
{
"name": "Uses key parameter",
"description": "Utilizes the key parameter of asyncstdlib.sorted() to specify custom sorting logic (e.g., extracting timestamp or user name from activity dictionaries).",
"max_score": 25
},
{
"name": "Uses reverse parameter",
"description": "Properly uses the reverse parameter of asyncstdlib.sorted() to control sort order (ascending vs descending).",
"max_score": 15
},
{
"name": "Awaits sorted() result",
"description": "Correctly awaits the result of asyncstdlib.sorted() since it returns a coroutine that must be awaited to get the sorted list.",
"max_score": 5
}
]
}