CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-googletrans

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

Overall
score

100%

Evaluation100%

1.01x

Agent success when using this tile

Overview
Eval results
Files

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
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-googletrans@4.0.0

tile.json