HF RL Explorer

default factory and non-primitive defaults are ignored when deserializing

default factory and non-primitive defaults are ignored when deserializing: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). I'm using pyserde to read JSON back into dataclasses. My dataclasses have fields with default values (some via default factory ) so that…

The task

I'm using pyserde to read JSON back into dataclasses. My dataclasses have fields with default values (some via `default_factory`) so that incoming payloads can omit those fields and still deserialize cleanly. This works for plain `dataclasses` / json by hand, but pyserde doesn't seem to honor the defaults properly.

Part of FineEnvs/MiMo-V2.6-RL-harbor-code.