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%
A tool for analyzing bidirectional text with debug output showing algorithm execution details.
@generates
def analyze_bidirectional_text(text: str, debug: bool = False, uppercase_as_rtl: bool = False) -> str:
"""
Analyzes and reorders bidirectional text.
When debug is True, outputs detailed algorithm execution trace to stderr.
When uppercase_as_rtl is True, treats uppercase letters as RTL for testing.
Args:
text: The input text in logical order
debug: Enable debug trace output (default: False)
uppercase_as_rtl: Treat uppercase as RTL for testing (default: False)
Returns:
The text reordered for visual display
"""
passProvides bidirectional text processing with debug capabilities.
@satisfied-by