or run

tessl search
Log in

Version

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

tessl/pypi-python-levenshtein

tessl install tessl/pypi-python-levenshtein@0.27.0

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

rubric.jsonevals/scenario-2/

{
  "context": "This criteria evaluates how effectively the engineer uses the Levenshtein package's distance calculation capability to implement a spell checker that finds the closest matching word from a dictionary.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Import Levenshtein package",
      "description": "The solution imports the Levenshtein package (e.g., 'import Levenshtein' or 'from Levenshtein import distance')",
      "max_score": 10
    },
    {
      "name": "Use distance function",
      "description": "The solution uses the Levenshtein.distance() function to compute edit distances between the input word and dictionary words",
      "max_score": 40
    },
    {
      "name": "Compare all dictionary words",
      "description": "The solution calls Levenshtein.distance() for each word in the dictionary to compare against the input word",
      "max_score": 20
    },
    {
      "name": "Track minimum distance",
      "description": "The solution correctly tracks the minimum distance found and the corresponding best matching word during iteration",
      "max_score": 15
    },
    {
      "name": "Return correct format",
      "description": "The solution returns a tuple containing both the closest matching word and the distance value as specified in the API",
      "max_score": 15
    }
  ]
}