MCPcopy Create free account
hub / github.com/MARIO-Math-Reasoning/Super_MARIO / validate_config

Method validate_config

mcts_math/solver.py:83–87  ·  view source on GitHub ↗
(cls, cfg: Any)

Source from the content-addressed store, hash-verified

81
82 @field_validator("config")
83 def validate_config(cls, cfg: Any):
84 if issubclass(type(cfg), DictConfig):
85 return cfg
86
87 raise TypeError("Wrong type for `config`, must be subclass of BaseConfig")
88
89 def create_llm(self) -> Callable[[...], List[str]]:
90 if self.config.seed:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected