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 effectively the engineer uses questionary's form system and multi-question workflow capabilities to build an interactive registration wizard. The focus is on proper usage of questionary's form/prompt APIs, conditional question display, validation mechanisms, and appropriate prompt types.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Form system usage",
"description": "Uses questionary.form() or questionary.prompt() to create a multi-question workflow that executes questions sequentially and returns all answers as a dictionary",
"max_score": 30
},
{
"name": "Conditional question logic",
"description": "Implements conditional display of the team size question using the 'when' parameter or equivalent conditional logic in the question configuration, ensuring it only appears when the user indicates they are a team lead",
"max_score": 20
},
{
"name": "Text input prompts",
"description": "Uses questionary.text() for username and years of experience inputs with appropriate validation parameters",
"max_score": 15
},
{
"name": "Selection prompt",
"description": "Uses questionary.select() for the programming language choice with a list of options (Python, JavaScript, Go, Rust, Other)",
"max_score": 10
},
{
"name": "Confirmation prompts",
"description": "Uses questionary.confirm() for both the team lead and newsletter questions to get yes/no responses",
"max_score": 10
},
{
"name": "Validation implementation",
"description": "Implements custom validation using questionary's validate parameter or custom validator classes/functions to enforce constraints (username >= 3 chars, years 0-50, team size 1-100)",
"max_score": 15
}
]
}