tessl install tessl/pypi-ipython@9.5.0IPython: Productive Interactive Computing - An advanced interactive computing environment and command shell for Python.
Agent Success
Agent success rate when using this tile
86%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.09x
Baseline
Agent success rate without this tile
79%
{
"context": "This criteria evaluates how well an engineer uses IPython's interactive shell management capabilities to implement a debugging tool. Specifically, it assesses the proper use of start_ipython(), embed(), and get_ipython() functions.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses start_ipython()",
"description": "The launch_full_shell() function uses IPython.start_ipython() to launch a full interactive shell",
"max_score": 25
},
{
"name": "Passes user_ns parameter",
"description": "The launch_full_shell() function correctly passes initial_vars to start_ipython() via the user_ns parameter to inject variables into the shell namespace",
"max_score": 15
},
{
"name": "Uses embed()",
"description": "The debug_here() function uses IPython.embed() to create an embedded interactive shell that preserves local scope",
"max_score": 25
},
{
"name": "Passes header parameter",
"description": "The debug_here() function correctly passes the header parameter to embed() to display a custom message",
"max_score": 10
},
{
"name": "Uses get_ipython()",
"description": "The get_current_shell_info() function uses IPython.get_ipython() to query the current shell instance",
"max_score": 15
},
{
"name": "Checks shell instance",
"description": "The get_current_shell_info() function correctly checks if get_ipython() returns None to determine if running outside an interactive shell",
"max_score": 5
},
{
"name": "Extracts shell type",
"description": "The get_current_shell_info() function extracts the shell type name using the __class__.__name__ attribute or similar approach when a shell instance exists",
"max_score": 5
}
]
}