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 evaluation assesses how effectively an engineer uses googletrans's advanced proxy configuration capabilities. The criteria focus on proper initialization of the Translator class with various proxy formats, correct usage of httpx.Proxy for authentication, and appropriate proxy parameter passing.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Translator initialization",
"description": "Correctly initializes Translator class with the proxy parameter, passing proxy configurations to the Translator constructor",
"max_score": 20
},
{
"name": "String proxy format",
"description": "Uses simple string URL format for proxy parameter (e.g., proxy='http://proxy.example.com:8080') when creating Translator instances",
"max_score": 15
},
{
"name": "Dict proxy format",
"description": "Uses dictionary-based proxy configuration with scheme-specific keys (e.g., proxy={'http://': 'url', 'https://': 'url'}) when creating Translator instances",
"max_score": 15
},
{
"name": "httpx.Proxy authentication",
"description": "Uses httpx.Proxy objects with authentication credentials via the auth parameter (e.g., Proxy(url='...', auth=('username', 'password'))) when creating Translator instances",
"max_score": 20
},
{
"name": "Async context manager",
"description": "Uses async with statement for Translator context management to ensure proper resource cleanup (e.g., async with Translator(proxy=...) as translator)",
"max_score": 15
},
{
"name": "translate() method usage",
"description": "Calls the translate() method with appropriate text and dest parameters, using await for the async operation",
"max_score": 10
},
{
"name": "Proxy reconfiguration",
"description": "Creates new Translator instances with different proxy configurations to demonstrate runtime proxy switching capability",
"max_score": 5
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10