CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-gcloud

Python client library for Google Cloud Platform services including Datastore, Storage, and Pub/Sub

Overall
score

93%

Overview
Eval results
Files

rubric.jsonevals/scenario-3/

{
  "context": "This criteria evaluates how effectively the engineer uses the gcloud datastore.Key API to construct hierarchical keys, extract key components, and validate ancestor relationships. The focus is exclusively on proper usage of the Key class and its properties/methods.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Key instantiation",
      "description": "Uses datastore.Key constructor to create key objects with appropriate kind and id/name parameters, and includes the project parameter",
      "max_score": 20
    },
    {
      "name": "Hierarchical key construction",
      "description": "Correctly uses the parent parameter in datastore.Key constructor to create child keys that maintain the parent-child relationship",
      "max_score": 25
    },
    {
      "name": "Key path extraction",
      "description": "Uses the Key's path property or flat_path property to extract the hierarchical components (kind and id pairs) from a key object",
      "max_score": 25
    },
    {
      "name": "Ancestor validation",
      "description": "Uses key path comparison or Key properties/methods to correctly determine if one key is an ancestor of another by examining the hierarchical structure",
      "max_score": 20
    },
    {
      "name": "Test correctness",
      "description": "All four test cases pass, demonstrating correct implementation of the required functionality",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-gcloud

tile.json