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 multi-paragraph bidirectional text processing, focusing on proper use of the get_display() function for paragraph-level text reordering and boundary handling.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses get_display function",
"description": "The implementation imports and uses the get_display() function from the bidi package to process bidirectional text",
"max_score": 25
},
{
"name": "Paragraph-level processing",
"description": "The implementation processes each paragraph independently by splitting the input text and calling get_display() separately for each paragraph, ensuring proper boundary resets between paragraphs",
"max_score": 30
},
{
"name": "Preserves paragraph structure",
"description": "The implementation preserves the original paragraph structure by maintaining newline characters or empty lines between processed paragraphs in the output",
"max_score": 20
},
{
"name": "Handles automatic direction",
"description": "The implementation allows get_display() to automatically detect the base direction for each paragraph without hardcoding direction parameters, enabling proper handling of mixed-direction documents",
"max_score": 15
},
{
"name": "Correct output format",
"description": "The implementation returns a single string containing all processed paragraphs that can be directly used for display purposes",
"max_score": 10
}
]
}