tessl install tessl/pypi-python-bidi@0.6.0Python Bidi layout wrapping the Rust crate unicode-bidi
Agent Success
Agent success rate when using this tile
93%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.09x
Baseline
Agent success rate without this tile
85%
{
"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
}
]
}