CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-textual

Modern Text User Interface framework for building cross-platform terminal and web applications with Python

Overall
score

93%

Overview
Eval results
Files

rubric.jsonevals/scenario-3/

{
  "context": "This criteria evaluates how well the engineer uses Textual's Application Lifecycle Management features to build the task tracker application. It focuses on proper use of the App class, configuration attributes, widget composition, event handling, and application execution.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "App class inheritance",
      "description": "Solution creates a class that inherits from textual.app.App to serve as the application root container",
      "max_score": 15
    },
    {
      "name": "App configuration attributes",
      "description": "Solution uses App class attributes for configuration (TITLE, CSS, CSS_PATH, or BINDINGS) to set up the application",
      "max_score": 20
    },
    {
      "name": "compose() method usage",
      "description": "Solution implements the compose() method to declaratively define the initial widget structure by yielding widgets",
      "max_score": 20
    },
    {
      "name": "Event handler methods",
      "description": "Solution implements event handler methods (on_* methods such as on_button_pressed, on_input_submitted, or on_key) to respond to user interactions",
      "max_score": 20
    },
    {
      "name": "Binding configuration",
      "description": "Solution uses the BINDINGS class attribute or Binding objects to define keyboard shortcuts for actions like adding tasks and quitting",
      "max_score": 15
    },
    {
      "name": "Application execution",
      "description": "Solution properly runs the application using the run() method on an App instance, managing the async event loop and lifecycle",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-textual

tile.json