CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-python-bidi

Python Bidi layout wrapping the Rust crate unicode-bidi

Overall
score

93%

Overview
Eval results
Files

rubric.jsonevals/scenario-4/

{
  "context": "This criteria evaluates how well the engineer uses the python-bidi package to handle mixed Hebrew/English text processing. The focus is on correct usage of the package's bidirectional text algorithm implementation to convert text from logical storage order to visual display order.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses get_display function",
      "description": "Implementation imports and uses the get_display() function from the bidi module (either 'from bidi import get_display' or 'from bidi.algorithm import get_display')",
      "max_score": 40
    },
    {
      "name": "Correct function invocation",
      "description": "The get_display() function is called with the input text as the primary argument, returning the reordered text for visual display",
      "max_score": 30
    },
    {
      "name": "String input handling",
      "description": "Implementation correctly handles string input (str type) and passes it directly to get_display() without unnecessary encoding/decoding operations",
      "max_score": 15
    },
    {
      "name": "No manual reordering",
      "description": "Implementation relies on the bidi package's get_display() function for text reordering rather than attempting manual character-by-character or substring reversal",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-python-bidi

tile.json