HF RL Explorer

I want efro.dataclassio to provide JSON string convenience helpers for its dataclass serialization API.

I want efro.dataclassio to provide JSON string convenience helpers for its dataclass serialization API.: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). Please add dataclass to json(obj: Any, coerce to float: bool = True, pretty: bool = False, sort keys: bool None…

The task

Please add `dataclass_to_json(obj: Any, coerce_to_float: bool = True, pretty: bool = False, sort_keys: bool | None = None) -> str`. It should serialize the object through the existing JSON codec dict conversion and then return a JSON string. For a dataclass whose JSON dict is `{"name": "bob", "score": 7}`,…

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