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 criteria evaluates how effectively the engineer uses the google-shopping-merchant-conversions package's asynchronous API capabilities, specifically the ConversionSourcesServiceAsyncClient and its async methods. The focus is on proper async/await patterns, concurrent operations using asyncio.gather or similar, and handling async pagination.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Async Client Initialization",
"description": "Uses ConversionSourcesServiceAsyncClient from google.shopping.merchant_conversions_v1 to initialize the async client, properly managing it as an async context manager (async with statement) for resource cleanup",
"max_score": 15
},
{
"name": "Concurrent Creation",
"description": "Implements batch_create_conversion_sources using asyncio.gather() or asyncio.create_task() to execute multiple create_conversion_source() calls concurrently, not sequentially with await in a loop",
"max_score": 25
},
{
"name": "Conversion Source Request",
"description": "Correctly constructs CreateConversionSourceRequest with parent (merchant_id) and conversion_source parameters, properly setting merchant_center_destination with display_name, currency_code, and attribution_settings",
"max_score": 15
},
{
"name": "Parallel Retrieval",
"description": "Implements batch_retrieve_conversion_sources using asyncio.gather() or similar to execute multiple get_conversion_source() calls in parallel, not sequentially",
"max_score": 20
},
{
"name": "Async Pagination",
"description": "Implements list_all_conversion_sources using async iteration (async for) over the list_conversion_sources() pager or manually handles page_token to iterate through all pages asynchronously",
"max_score": 20
},
{
"name": "Async Function Definitions",
"description": "All three functions are properly defined as async functions (async def) and use await when calling async client methods",
"max_score": 5
}
]
}