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-5/

{
  "context": "This criteria evaluates how well the engineer uses the Levenshtein package to implement a consensus string finder. The focus is on proper usage of the set-based median computation functionality provided by the package.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Imports Levenshtein package",
      "description": "The solution imports the Levenshtein package (e.g., 'import Levenshtein' or 'from Levenshtein import setmedian')",
      "max_score": 15
    },
    {
      "name": "Uses setmedian function",
      "description": "The solution correctly uses the Levenshtein.setmedian() function to compute the consensus string from the input collection",
      "max_score": 50
    },
    {
      "name": "Handles empty input",
      "description": "The solution properly handles empty list input, returning an empty string or appropriate value without crashing",
      "max_score": 10
    },
    {
      "name": "Handles single string",
      "description": "The solution correctly handles input with a single string, returning that string as the consensus",
      "max_score": 10
    },
    {
      "name": "Correct function signature",
      "description": "The function accepts a list/collection of strings as input and returns a single string as specified in the API",
      "max_score": 15
    }
  ]
}