or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/questionary@2.1.x
tile.json

tessl/pypi-questionary

tessl install tessl/pypi-questionary@2.1.0

Python 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%

rubric.jsonevals/scenario-5/

{
  "context": "This criteria evaluates how well the engineer uses the questionary package's dictionary-based prompt configuration system (specifically the prompt() function) to build an interactive configuration wizard. The focus is on proper usage of questionary's features for multi-question workflows, conditional logic, and answer transformation.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses prompt() function",
      "description": "Uses questionary's prompt() function (or questionary.prompt()) to execute multiple questions from a dictionary-based configuration",
      "max_score": 25
    },
    {
      "name": "Dictionary configuration structure",
      "description": "Correctly structures question dictionaries with required fields: 'type', 'name', and 'message' for each question definition",
      "max_score": 15
    },
    {
      "name": "Multiple prompt types",
      "description": "Uses at least 2 different questionary prompt types (e.g., 'text', 'confirm', 'select') specified in the 'type' field of question dictionaries",
      "max_score": 10
    },
    {
      "name": "Conditional display implementation",
      "description": "Implements conditional question display using the 'when' parameter with a callable/function that checks previous answers",
      "max_score": 20
    },
    {
      "name": "Answer filtering implementation",
      "description": "Implements answer transformation using the 'filter' parameter with a callable/function that transforms user input before storage",
      "max_score": 15
    },
    {
      "name": "Returns dictionary result",
      "description": "Returns the dictionary result from questionary.prompt() which contains all collected answers with question names as keys",
      "max_score": 10
    },
    {
      "name": "Passes questions list",
      "description": "Correctly passes the list of question dictionaries as the first argument to the prompt() function",
      "max_score": 5
    }
  ]
}