tessl install tessl/pypi-python-levenshtein@0.27.0Python compatibility wrapper for computing string edit distances and similarities using fast Levenshtein algorithms.
Agent Success
Agent success rate when using this tile
88%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.38x
Baseline
Agent success rate without this tile
64%
{
"context": "This criteria evaluates how effectively an engineer uses the Levenshtein package's inverse edit operations capability to implement bidirectional string transformations. It focuses on correct usage of editops(), inverse(), and apply_edit() functions to transform strings and reverse those transformations.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Use editops function",
"description": "Uses Levenshtein.editops() to compute edit operations from source to target string",
"max_score": 25
},
{
"name": "Use inverse function",
"description": "Uses Levenshtein.inverse() to generate inverse edit operations that reverse the transformation",
"max_score": 30
},
{
"name": "Apply forward transformation",
"description": "Uses Levenshtein.apply_edit() to apply the forward edit operations to transform source to target",
"max_score": 20
},
{
"name": "Apply inverse transformation",
"description": "Uses Levenshtein.apply_edit() with inverse operations to transform target back to source",
"max_score": 20
},
{
"name": "Validate correctness",
"description": "Verifies that applying inverse transformation returns the original source string",
"max_score": 5
}
]
}