CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-azure-batch

Microsoft Azure Batch Client Library for Python providing comprehensive APIs for managing batch computing workloads in Azure cloud

91

1.07x
Overview
Eval results
Files

rubric.jsonevals/scenario-3/

{
  "context": "This criteria evaluates how well the engineer uses the azure-batch package to implement pool creation, existence checking, and deletion operations. The focus is on proper usage of the BatchServiceClient's pool operations and correct configuration of pool specifications.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Pool Creation Implementation",
      "description": "Uses client.pool.add() method to create a new pool with a PoolSpecification object that includes the required pool ID, VM size, and target_dedicated_nodes configuration",
      "max_score": 30
    },
    {
      "name": "Virtual Machine Configuration",
      "description": "Configures the pool with VirtualMachineConfiguration including an ImageReference (with publisher, offer, sku, version) and appropriate node_agent_sku_id for the selected OS image",
      "max_score": 25
    },
    {
      "name": "Pool Existence Check",
      "description": "Uses client.pool.exists() method to verify whether a pool exists by its pool ID, returning a boolean value",
      "max_score": 20
    },
    {
      "name": "Pool Deletion Implementation",
      "description": "Uses client.pool.delete() method to remove a pool from the batch account by its pool ID",
      "max_score": 25
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-azure-batch

tile.json