Python library to build pretty command line user prompts with interactive forms and validation
Overall
score
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
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-questionarydocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10