CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-google-shopping-merchant-conversions

Google Shopping Merchant Conversions API client library for managing conversion sources and tracking.

82

1.17x
Overview
Eval results
Files

rubric.jsonevals/scenario-1/

{
  "context": "This criteria evaluates how well the engineer uses the google-shopping-merchant-conversions package to implement multi-version API support, specifically testing their proficiency in initializing and working with both stable (v1) and beta (v1beta) API clients.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Stable client initialization",
      "description": "Uses ConversionSourcesServiceClient from google.shopping.merchant_conversions_v1 to initialize the stable API client",
      "max_score": 25
    },
    {
      "name": "Beta client initialization",
      "description": "Uses ConversionSourcesServiceClient from google.shopping.merchant_conversions_v1beta to initialize the beta/preview API client",
      "max_score": 25
    },
    {
      "name": "Version-based client retrieval",
      "description": "Implements get_client method that correctly returns the appropriate client instance based on the version parameter ('stable' or 'beta')",
      "max_score": 20
    },
    {
      "name": "Version parameter validation",
      "description": "Validates the version parameter in get_client and list_sources methods, raising ValueError for invalid versions",
      "max_score": 10
    },
    {
      "name": "Version-aware list operation",
      "description": "Uses the list_conversion_sources method from the correct versioned client based on the version parameter passed to list_sources",
      "max_score": 15
    },
    {
      "name": "Merchant account resource",
      "description": "Correctly constructs the parent resource path for the merchant account using the merchant_id (e.g., 'accounts/{merchant_id}')",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-google-shopping-merchant-conversions

tile.json