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

Evaluation results

85%

Text Direction Controller

Base direction override (force LTR or RTL)

Criteria
Without context
With context

Import get_display

0%

0%

Use base_dir parameter

100%

100%

Map LTR correctly

100%

100%

Map RTL correctly

100%

100%

Call get_display properly

100%

100%

53%

-17%

Bidirectional Text Display Formatter

Text display conversion with get_display()

Criteria
Without context
With context

Uses get_display()

100%

37%

Handles str input

100%

100%

Handles bytes input

0%

25%

Preserves input type

0%

30%

Encoding parameter usage

100%

100%

100%

3%

BiDi Text Analyzer

Internal storage structure with embedding levels and run tracking

Criteria
Without context
With context

get_base_level usage

80%

100%

Algorithm module access

100%

100%

Storage initialization

100%

100%

Explicit level processing

100%

100%

Character data extraction

100%

100%

Base direction mapping

100%

100%

100%

Bilingual Document Formatter

Mixed script handling (Hebrew/Arabic with Latin text)

Criteria
Without context
With context

Uses get_display function

100%

100%

Correct function invocation

100%

100%

String input handling

100%

100%

No manual reordering

100%

100%

100%

5%

Multi-Paragraph Text Processor

Line and paragraph handling with proper boundary level resets

Criteria
Without context
With context

Uses get_display function

100%

100%

Paragraph-level processing

100%

100%

Preserves paragraph structure

100%

100%

Handles automatic direction

66%

100%

Correct output format

100%

100%

100%

BiDi Text Comparator

Dual implementation architecture (Python V5 vs Rust unicode-bidi)

Criteria
Without context
With context

Import Rust implementation

100%

100%

Import Python implementation

100%

100%

Call both implementations

100%

100%

Return dual outputs

100%

100%

Test upper_is_rtl support

100%

100%

Timing measurement

100%

100%

Implementation identification

100%

100%

100%

77%

Multi-Encoding Text Processor

Multi-encoding support (str/bytes with UTF-8, CP1255, etc.)

Criteria
Without context
With context

Uses get_display()

50%

100%

Bytes input handling

0%

100%

Encoding parameter usage

0%

100%

Bytes output preservation

40%

100%

Multiple encodings support

0%

100%

100%

Text Direction Analyzer

Base direction detection with get_base_level()

Criteria
Without context
With context

Uses get_base_level()

100%

100%

Correct return mapping

100%

100%

Batch analysis implementation

100%

100%

Classification implementation

100%

100%

100%

25%

BiDi Text Analyzer with Debug Tracing

Debug mode with algorithm execution trace

Criteria
Without context
With context

Import python-bidi

100%

100%

Enable debug parameter

0%

100%

Enable upper_is_rtl parameter

100%

100%

Call get_display correctly

100%

100%

Return display text

100%

100%

95%

-5%

Bidirectional Text Formatter for Code Comments

Complex scenario handling (nested embeddings, mathematical expressions, quotations)

Criteria
Without context
With context

Uses get_display()

100%

75%

upper_is_rtl parameter

100%

100%

Mathematical expressions

100%

100%

Nested quotations

100%

100%

Explicit embeddings

100%

100%

Install with Tessl CLI

npx tessl i tessl/pypi-python-bidi
Evaluated
Agent
Claude Code

Table of Contents