IPython: Productive Interactive Computing - An advanced interactive computing environment and command shell for Python.
86
{
"context": "This criteria evaluates how well the engineer uses IPython's configuration management APIs, specifically the profile system and traitlets configuration objects. The focus is on proper usage of IPython's built-in functions for locating profiles and directories, and correctly creating and configuring traitlets Config objects.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Profile Location",
"description": "Uses IPython.paths.locate_profile() to find profile directories. Should handle both default profile (no argument or 'default') and custom profile names.",
"max_score": 25
},
{
"name": "IPython Directory",
"description": "Uses IPython.paths.get_ipython_dir() to retrieve the IPython configuration directory path.",
"max_score": 15
},
{
"name": "Config Object Creation",
"description": "Uses traitlets.config.Config() to create configuration objects rather than using plain dictionaries or other data structures.",
"max_score": 20
},
{
"name": "Nested Configuration",
"description": "Properly sets nested configuration values using traitlets Config object attribute access (e.g., config.TerminalInteractiveShell.highlighting_style) or dictionary-style access, not using dot notation in string keys.",
"max_score": 25
},
{
"name": "Configuration Attributes",
"description": "Correctly sets IPython configuration attributes such as TerminalInteractiveShell.highlighting_style, TerminalInteractiveShell.autoindent, and HistoryManager.hist_file (or similar valid IPython configuration options).",
"max_score": 15
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-ipythondocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10