| from __future__ import annotations | |
| from abc import ABC, abstractmethod | |
| from openenv.core.env_server.interfaces import Environment | |
| class BaseTask(Environment, ABC): | |
| task_id: str = "base" | |
| max_steps: int = 5 | |
| def reset(self, seed: int | None = None): ... | |
| def step(self, action): ... | |
| def state(self) -> dict: ... | |
| def grade_episode(self, history: list) -> float: ... | |