or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/azure-batch@14.2.x
tile.json

tessl/pypi-azure-batch

tessl install tessl/pypi-azure-batch@14.2.0

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

Agent Success

Agent success rate when using this tile

91%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.07x

Baseline

Agent success rate without this tile

85%

task.mdevals/scenario-4/

Batch Pool Configuration Builder

A utility for building Azure Batch pool configurations with different virtual machine types and node allocations.

Capabilities

Basic Pool Configuration

  • Creates a pool configuration object with pool ID, VM size, and dedicated node count @test
  • Configures pool with virtual machine settings using Ubuntu 20.04 LTS image @test

Multi-Node Type Support

  • Creates pool configuration with both dedicated and low-priority nodes @test
  • Returns configuration object that can be serialized to dictionary format @test

Implementation

@generates

API

def create_pool_configuration(pool_id: str, vm_size: str, dedicated_nodes: int, low_priority_nodes: int = 0):
    """
    Create an Azure Batch pool configuration object.

    Args:
        pool_id: Unique identifier for the pool
        vm_size: Azure VM size (e.g., 'STANDARD_D2_V3', 'STANDARD_A1')
        dedicated_nodes: Number of dedicated compute nodes (0 or more)
        low_priority_nodes: Number of low-priority compute nodes (default: 0)

    Returns:
        A pool configuration object with:
        - Pool identifier
        - VM size specification
        - Dedicated and low-priority node targets
        - Virtual machine configuration with Ubuntu 20.04 LTS
        - Appropriate node agent SKU for Ubuntu

    The returned object should be compatible with Azure Batch pool creation APIs.
    """
    pass

Dependencies { .dependencies }

azure-batch { .dependency }

Provides Azure Batch client library for managing batch computing resources.