CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-googletrans

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

100

1.01x
Quality

Pending

Does it follow best practices?

Impact

100%

1.01x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

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

tile.json