An unofficial Google Translate API for Python providing free text translation and language detection capabilities
100
Pending
Does it follow best practices?
Impact
100%
1.01xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"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
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10