maple.backend.envs.base
Base environment backend.
This module provides the abstract base class for environment backends in MAPLE. Environment backends handle the lifecycle of simulation containers, including pulling images, starting containers, managing health checks, and providing a unified interface for environment interaction.
Key features: - Docker-based container management - Health monitoring and startup validation - Retry logic for network requests - Automatic cleanup on failure - Abstract interface for environment-specific implementations
Environment backends implement task setup, reset, step, and info retrieval while the base class handles all container orchestration concerns.
Classes
Abstract base class for environment backends. |
|
|
Handle representing a running environment container instance. |