I want Torus' Configuration class to support executable Python configuration files through a stateful API…
I want Torus' Configuration class to support executable Python configuration files through a stateful API…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). The same load call should register TRANSFORMS and MACROS dictionaries by name, so c.transform('name') returns…
The task
The same load call should register `TRANSFORMS` and `MACROS` dictionaries by name, so `c.transform('name')` returns the callable supplied by the config file and `c.macro('name')` returns the macro mapping supplied by the config file. If the file defines `DEBUG`, `c.debug` should reflect that value after loading.…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.