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

{
  "context": "This evaluation criteria assesses how well the engineer uses the python-bidi package to implement explicit base direction control for bidirectional text. The focus is specifically on proper usage of the get_display() function with its base_dir parameter to force LTR or RTL paragraph direction.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Import get_display",
      "description": "Correctly imports the get_display function from the bidi package (e.g., 'from bidi import get_display')",
      "max_score": 15
    },
    {
      "name": "Use base_dir parameter",
      "description": "Uses the base_dir parameter of get_display() to control text direction",
      "max_score": 25
    },
    {
      "name": "Map LTR correctly",
      "description": "Correctly maps 'LTR' direction input to base_dir='L' when calling get_display()",
      "max_score": 20
    },
    {
      "name": "Map RTL correctly",
      "description": "Correctly maps 'RTL' direction input to base_dir='R' when calling get_display()",
      "max_score": 20
    },
    {
      "name": "Call get_display properly",
      "description": "Calls get_display() with the text as the first argument and base_dir as a keyword argument",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-python-bidi

tile.json