or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/googletrans@4.0.x
tile.json

tessl/pypi-googletrans

tessl install tessl/pypi-googletrans@4.0.0

An 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%

rubric.jsonevals/scenario-3/

{
  "context": "This evaluation assesses the engineer's ability to use the googletrans package to configure and compare translations across different service endpoints. The focus is on understanding service URL configuration, which directly relates to the token generation mechanism used by different Google Translate backends.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Translator initialization",
      "description": "Uses the Translator class constructor with the service_urls parameter to configure different backend endpoints",
      "max_score": 25
    },
    {
      "name": "Service URL handling",
      "description": "Correctly passes different service URLs (e.g., 'translate.google.com', 'translate.googleapis.com') to create translator instances with distinct endpoint configurations",
      "max_score": 20
    },
    {
      "name": "Async context manager",
      "description": "Uses 'async with Translator() as translator:' pattern for proper resource management and connection cleanup",
      "max_score": 20
    },
    {
      "name": "Translation execution",
      "description": "Calls the translate() method with appropriate parameters (text and dest language) and correctly awaits the async result",
      "max_score": 15
    },
    {
      "name": "Result extraction",
      "description": "Accesses the text attribute from the Translated result object to extract the translated text",
      "max_score": 10
    },
    {
      "name": "Multiple configurations",
      "description": "Successfully creates and uses multiple translator instances with different service URLs, properly managing each instance independently",
      "max_score": 10
    }
  ]
}