CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-asciimatics

A cross-platform package to replace curses (mouse/keyboard input & text colours/positioning) and create ASCII animations

81

1.32x
Overview
Eval results
Files

rubric.jsonevals/scenario-10/

{
  "context": "This evaluation assesses how effectively the engineer uses asciimatics package capabilities for screen clearing and scrolling. The focus is on proper usage of Screen methods for terminal control and display management.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Screen initialization",
      "description": "Uses Screen.wrapper() or Screen.open() context manager to properly initialize and manage the Screen object lifecycle",
      "max_score": 15
    },
    {
      "name": "Screen.clear() usage",
      "description": "Correctly uses Screen.clear() method to clear the entire screen when implementing the clear_messages functionality",
      "max_score": 20
    },
    {
      "name": "Screen.scroll() usage",
      "description": "Correctly uses Screen.scroll() method to scroll the screen content upward when messages exceed screen capacity",
      "max_score": 25
    },
    {
      "name": "Screen.print_at() positioning",
      "description": "Uses Screen.print_at(text, x, y) method to display messages at specific positions on the screen",
      "max_score": 15
    },
    {
      "name": "Screen.refresh() rendering",
      "description": "Calls Screen.refresh() after updating screen content to flush the double-buffer and display changes",
      "max_score": 15
    },
    {
      "name": "Screen dimension awareness",
      "description": "Accesses Screen.height property to determine when scrolling is needed (e.g., comparing message count to available screen lines)",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-asciimatics

tile.json