set to context manager raises on exit for never-set parameters
set to context manager raises on exit for never-set parameters: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). I have a measurement script that uses set to to temporarily change a parameter inside a with block. The parameter is created fresh at the start of the…
The task
I have a measurement script that uses `set_to` to temporarily change a parameter inside a `with` block. The parameter is created fresh at the start of the script — no `initial_value`, and I never call `.set()` on it before entering the block. Entering the block works fine, but the `with` statement blows up on exit.
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.