CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-azure-data-tables

Microsoft Azure Data Tables Client Library for Python

90

0.96x
Overview
Eval results
Files

rubric.jsonevals/scenario-10/

{
  "context": "This criteria evaluates how well the engineer uses the azure-data-tables package to implement geo-redundant storage (RA-GRS) functionality, specifically focusing on accessing secondary endpoints and retrieving replication statistics.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Service Statistics Retrieval",
      "description": "Uses `TableServiceClient.get_service_stats()` method to retrieve geo-replication statistics including replication status and last sync time.",
      "max_score": 30
    },
    {
      "name": "Secondary Endpoint Configuration",
      "description": "Correctly configures `TableServiceClient` with `secondary_hostname` parameter or uses the `-secondary` naming convention to access the secondary endpoint (e.g., `https://<account>-secondary.table.core.windows.net`).",
      "max_score": 25
    },
    {
      "name": "Credential Management",
      "description": "Uses `AzureNamedKeyCredential` to create proper authentication credentials for both primary and secondary endpoint access.",
      "max_score": 15
    },
    {
      "name": "Replication Data Parsing",
      "description": "Correctly extracts and returns replication status (e.g., 'live', 'bootstrap') and last sync time from the service statistics response object.",
      "max_score": 15
    },
    {
      "name": "Table Verification",
      "description": "Uses methods like `query_tables()` or checks for table existence on the secondary client to verify table replication to the secondary region.",
      "max_score": 10
    },
    {
      "name": "Error Handling",
      "description": "Handles cases where geo-replication statistics are unavailable or secondary endpoint access fails, returning appropriate indicators (e.g., `is_available: False`).",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-azure-data-tables

tile.json