tessl install tessl/pypi-google-shopping-merchant-conversions@1.0.0Google Shopping Merchant Conversions API client library for managing conversion sources and tracking.
Agent Success
Agent success rate when using this tile
82%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.17x
Baseline
Agent success rate without this tile
70%
{
"context": "This evaluation assesses how effectively the engineer uses the google-shopping-merchant-conversions package to implement robust error handling and retry logic for conversion source creation. The focus is on proper use of the API client, exception handling for Google Cloud API errors, and implementing retry patterns that work with the package's error types.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Client Initialization",
"description": "Correctly initializes ConversionSourcesServiceClient or ConversionSourcesServiceAsyncClient from google.shopping.merchant_conversions_v1beta package",
"max_score": 15
},
{
"name": "API Method Usage",
"description": "Uses the create_conversion_source() method with proper request construction including merchant account ID and conversion source configuration",
"max_score": 20
},
{
"name": "Exception Handling",
"description": "Catches and handles Google API exceptions (google.api_core.exceptions or grpc exceptions) to classify errors as transient or permanent",
"max_score": 25
},
{
"name": "Retry Logic",
"description": "Implements retry loop that attempts the API call multiple times based on max_retries parameter and only retries on transient errors",
"max_score": 20
},
{
"name": "Exponential Backoff",
"description": "Implements exponential backoff between retry attempts using time.sleep() with delays that double each iteration (1s, 2s, 4s, etc.) based on initial_delay parameter",
"max_score": 15
},
{
"name": "Return Value",
"description": "Returns the ConversionSource object from the successful API response",
"max_score": 5
}
]
}