tessl install tessl/pypi-googletrans@4.0.0An 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%
{
"context": "This evaluation assesses how well the engineer uses the googletrans package to implement a translation system. The focus is on proper usage of the Translator class, translate() method, async context management, and correct handling of translation results.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Translator instantiation",
"description": "Creates an instance of the googletrans.Translator class for performing translations",
"max_score": 15
},
{
"name": "Async context manager",
"description": "Uses 'async with Translator()' pattern for proper resource management and automatic cleanup of HTTP connections",
"max_score": 20
},
{
"name": "translate() method usage",
"description": "Calls the translate() method with appropriate parameters (text and dest for target language)",
"max_score": 25
},
{
"name": "Result object handling",
"description": "Correctly accesses properties of the Translated object returned by translate(), specifically the 'text' property for translated text",
"max_score": 15
},
{
"name": "Source language extraction",
"description": "Extracts the detected source language from the Translated object's 'src' property",
"max_score": 10
},
{
"name": "Async/await pattern",
"description": "Properly uses async/await syntax when calling the translate() method which is an async coroutine",
"max_score": 15
}
]
}