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 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
}
]
}