tessl install tessl/pypi-invoke@2.2.0Pythonic task execution library for managing shell-oriented subprocesses and organizing executable Python code into CLI-invokable tasks
Agent Success
Agent success rate when using this tile
96%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.25x
Baseline
Agent success rate without this tile
77%
{
"context": "This criteria evaluates how well the engineer uses the Invoke library's asynchronous task execution capabilities, specifically the Promise pattern for running commands asynchronously. The focus is on proper use of the asynchronous parameter, Promise object handling, and the join() method.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Asynchronous flag usage",
"description": "Uses the 'asynchronous=True' parameter when calling context.run() to execute commands in the background without blocking",
"max_score": 25
},
{
"name": "Promise handling",
"description": "Correctly handles Promise objects returned from asynchronous run() calls, storing them and managing their lifecycle appropriately",
"max_score": 20
},
{
"name": "Join method usage",
"description": "Uses the join() method on Promise objects to block and wait for task completion, retrieving the Result object",
"max_score": 25
},
{
"name": "Context manager pattern",
"description": "Uses the context manager pattern (with statement) with asynchronous run() calls for automatic joining and cleanup",
"max_score": 20
},
{
"name": "Result object access",
"description": "Correctly accesses Result objects after joining promises, extracting stdout, stderr, or other attributes as needed",
"max_score": 10
}
]
}