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 Invoke's terminal utility APIs to implement character-level input handling and terminal size detection. The focus is on correct usage of invoke.terminals module functions and context managers.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Character buffering usage",
"description": "Uses invoke.terminals.character_buffered() context manager to enable raw character input mode in the read_character() function",
"max_score": 35
},
{
"name": "stdin handling",
"description": "Correctly reads from sys.stdin within the character_buffered() context to capture single characters without waiting for newline",
"max_score": 15
},
{
"name": "PTY size detection",
"description": "Uses invoke.terminals.pty_size() function to detect terminal dimensions in get_terminal_size()",
"max_score": 35
},
{
"name": "Error handling",
"description": "Properly handles cases where terminal size cannot be determined (e.g., when pty_size() returns None or raises exceptions), implementing graceful fallback behavior",
"max_score": 15
}
]
}