A cross-platform package to replace curses (mouse/keyboard input & text colours/positioning) and create ASCII animations
81
{
"context": "This criteria evaluates how well the engineer uses the asciimatics package's Frame widget and related components to create a basic user interface with a bordered container, title, and content labels.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Frame instantiation",
"description": "Correctly instantiates a Frame object from asciimatics.widgets.Frame, passing the required screen parameter and setting appropriate dimensions (height and width)",
"max_score": 25
},
{
"name": "Frame title",
"description": "Sets the Frame title to 'User Profile' using the title parameter in Frame constructor or by setting the title property",
"max_score": 15
},
{
"name": "Layout creation",
"description": "Creates at least one Layout object using Frame.add_layout() method to organize widgets within the Frame",
"max_score": 20
},
{
"name": "Label widgets",
"description": "Uses Label widget from asciimatics.widgets.Label to display both 'Name: John Doe' and 'Email: john.doe@example.com' text, adding them to the Layout using Layout.add_widget()",
"max_score": 30
},
{
"name": "Frame finalization",
"description": "Calls Frame.fix() method to finalize the Frame layout, making it ready for display",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-asciimaticsdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10