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-8/

{
  "context": "This evaluation assesses how effectively the engineer uses the questionary library's autocomplete functionality to build an interactive command selector. The focus is on proper usage of questionary.autocomplete() and its configuration options for enabling dropdown suggestions with case-insensitive partial matching.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses autocomplete prompt",
      "description": "Uses questionary.autocomplete() function to create the interactive prompt (not select, text, or other prompt types)",
      "max_score": 25
    },
    {
      "name": "Provides choices list",
      "description": "Passes a list of command choices to the autocomplete prompt via the 'choices' parameter",
      "max_score": 15
    },
    {
      "name": "Sets prompt message",
      "description": "Configures the prompt message parameter (e.g., 'message' parameter with text like 'Select a command to execute:')",
      "max_score": 10
    },
    {
      "name": "Case-insensitive matching",
      "description": "Configures case-insensitive matching for the autocomplete, either through the match_middle parameter or by using a custom completer with ignore_case behavior",
      "max_score": 20
    },
    {
      "name": "Partial string matching",
      "description": "Enables matching in the middle of strings (not just prefix matching) by setting match_middle=True or using a custom completer that supports it",
      "max_score": 20
    },
    {
      "name": "Executes prompt properly",
      "description": "Calls .ask() or .ask_async() method on the autocomplete prompt to display it and get the user's selection",
      "max_score": 10
    }
  ]
}