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-10/

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

Install with Tessl CLI

npx tessl i tessl/pypi-googletrans@4.0.0

tile.json