from abc import ABC, abstractmethod from typing import Any, Dict class BaseTask(ABC): @abstractmethod def grade(self, final_state: Dict[str, Any], org_config: Dict[str, Any], scenario: Dict[str, Any]) -> float: ...