tessl install tessl/pypi-questionary@2.1.0Python library to build pretty command line user prompts with interactive forms and validation
Agent Success
Agent success rate when using this tile
96%
Improvement
Agent success rate improvement when using this tile compared to baseline
1x
Baseline
Agent success rate without this tile
96%
{
"context": "This criteria evaluates how well the engineer uses the questionary package's checkbox functionality to implement a multi-select package installer. The focus is on proper usage of the checkbox prompt type and handling of multi-select responses.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses checkbox prompt",
"description": "Uses questionary.checkbox() to create the multi-select prompt for package selection",
"max_score": 30
},
{
"name": "Provides choice list",
"description": "Passes a list of choices (the eight software packages) to the checkbox prompt, either as a list of strings or Choice objects",
"max_score": 20
},
{
"name": "Handles user selections",
"description": "Correctly retrieves and stores the list of selected packages returned by the checkbox prompt (typically using .ask() or .ask_async())",
"max_score": 20
},
{
"name": "Handles empty selections",
"description": "Correctly handles the case when the user selects no packages (empty list), displaying the appropriate 'No packages selected' message",
"max_score": 15
},
{
"name": "Displays selected packages",
"description": "Iterates through the selected packages and displays them in the specified format with the 'Selected packages for installation:' header",
"max_score": 15
}
]
}