CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-toil

Pipeline management software for clusters.

Agent Success

Agent success rate when using this tile

67%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.05x

Baseline

Agent success rate without this tile

64%

Overview
Eval results
Files

task.mdevals/scenario-4/

Containerized Workflow Configuration

Build a configuration module for running workflows with containerized tools. The system should enable Docker and Singularity container support for reproducible workflow execution.

Requirements

Your implementation should provide functions to:

  1. Enable Docker container support in a workflow configuration
  2. Enable Singularity container support with custom runtime arguments
  3. Specify the container image to use for workflow execution

Test Cases

  • When Docker support is enabled on a configuration object, it should set the appropriate property to True @test
  • When Singularity support is enabled with arguments ["--cleanenv", "--containall"], it should configure Singularity with these arguments @test
  • When a container image "ubuntu:20.04" is set, the configuration should store this image identifier @test

Implementation

@generates

API

def enable_docker_support(config):
    """
    Enable Docker container support in workflow configuration.

    Args:
        config: Workflow configuration object

    Returns:
        None (modifies config in place)
    """
    pass

def enable_singularity_support(config, arguments):
    """
    Enable Singularity container support with custom arguments.

    Args:
        config: Workflow configuration object
        arguments: List of string arguments to pass to Singularity runtime

    Returns:
        None (modifies config in place)
    """
    pass

def set_container_image(config, image_name):
    """
    Set the container image for workflow execution.

    Args:
        config: Workflow configuration object
        image_name: Container image identifier (e.g., "ubuntu:20.04")

    Returns:
        None (modifies config in place)
    """
    pass

Dependencies { .dependencies }

toil { .dependency }

Provides workflow management and container execution support.

@satisfied-by

tessl i tessl/pypi-toil@9.0.0

tile.json