or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/googletrans@4.0.x
tile.json

tessl/pypi-googletrans

tessl install tessl/pypi-googletrans@4.0.0

An unofficial Google Translate API for Python providing free text translation and language detection capabilities

Agent Success

Agent success rate when using this tile

100%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.01x

Baseline

Agent success rate without this tile

99%

rubric.jsonevals/scenario-1/

{
  "context": "This criteria evaluates how well the engineer uses googletrans's async context manager support to properly manage HTTP client resources during translation operations. The focus is on correct usage of the Translator class with async context managers.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Translator instantiation",
      "description": "Creates an instance of the Translator class from googletrans",
      "max_score": 15
    },
    {
      "name": "Async context manager",
      "description": "Uses 'async with' statement with Translator to ensure proper resource management",
      "max_score": 40
    },
    {
      "name": "Translate method call",
      "description": "Calls the translate() method on the Translator instance with await",
      "max_score": 20
    },
    {
      "name": "Parameter handling",
      "description": "Correctly passes the text, src (source language), and dest (destination language) parameters to translate()",
      "max_score": 15
    },
    {
      "name": "Result extraction",
      "description": "Accesses the .text attribute from the Translated result object to extract the translated text string",
      "max_score": 10
    }
  ]
}