or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/python-bidi@0.6.x
tile.json

tessl/pypi-python-bidi

tessl install tessl/pypi-python-bidi@0.6.0

Python 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%

rubric.jsonevals/scenario-1/

{
  "context": "This criteria evaluates how well the engineer uses python-bidi's dual implementation architecture, specifically testing their ability to import and use both the Rust implementation (from bidi) and Python implementation (from bidi.algorithm), compare their outputs, detect feature differences, and measure performance between the two implementations.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Import Rust implementation",
      "description": "Uses 'from bidi import get_display' to import the Rust-based implementation for comparison purposes",
      "max_score": 15
    },
    {
      "name": "Import Python implementation",
      "description": "Uses 'from bidi.algorithm import get_display' to import the pure Python implementation for comparison purposes",
      "max_score": 15
    },
    {
      "name": "Call both implementations",
      "description": "In compare_implementations(), calls get_display() from both the Rust (bidi) and Python (bidi.algorithm) modules with the provided text parameter",
      "max_score": 20
    },
    {
      "name": "Return dual outputs",
      "description": "Returns a dictionary structure with 'python' and 'rust' keys containing the respective outputs from each implementation",
      "max_score": 15
    },
    {
      "name": "Test upper_is_rtl support",
      "description": "In detect_feature_support(), tests whether implementations support the upper_is_rtl parameter by attempting to pass it to get_display() or checking function signatures",
      "max_score": 15
    },
    {
      "name": "Timing measurement",
      "description": "Uses Python's time module or similar timing mechanism to measure execution time of get_display() calls from both implementations in measure_performance()",
      "max_score": 10
    },
    {
      "name": "Implementation identification",
      "description": "Correctly identifies which timing/output corresponds to which implementation using 'python' and 'rust' labels in returned dictionaries",
      "max_score": 10
    }
  ]
}