HF RL Explorer

convert pkg info raises an exception if the description is empty

convert pkg info raises an exception if the description is empty: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). description lines 0 .lstrip() raises a list index out of range exception if the description field is empty. Here's a minimal repro…

The task

description_lines[0].lstrip() raises a list index out of range exception if the description field is empty. Here's a minimal repro: Parser().parsestr('description:\n')['description'].splitlines()[0] The fix is to check if the description is empty before calling splitlines on it

Part of XiaomiMiMo/MiMo-V2.6-RL-oss.