Python Bidi layout wrapping the Rust crate unicode-bidi
Overall
score
93%
{
"context": "This evaluation assesses how well the engineer uses python-bidi's debug functionality to implement a text analyzer with algorithm execution tracing. The focus is on correct usage of debug parameters and proper integration with the package's debug output capabilities.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Import python-bidi",
"description": "Code imports get_display from bidi.algorithm (not the Rust wrapper) since debug and upper_is_rtl are only available in the Python implementation",
"max_score": 15
},
{
"name": "Enable debug parameter",
"description": "Code correctly passes debug=True parameter to get_display() to enable algorithm trace output",
"max_score": 25
},
{
"name": "Enable upper_is_rtl parameter",
"description": "Code correctly passes upper_is_rtl parameter to get_display() when uppercase_as_rtl argument is True",
"max_score": 25
},
{
"name": "Call get_display correctly",
"description": "Code passes text as first argument to get_display() and correctly handles the returned reordered text",
"max_score": 20
},
{
"name": "Return display text",
"description": "Function returns the result from get_display() as the display-ordered text",
"max_score": 15
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-python-bididocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10