HF RL Explorer

Reading certain malformed/empty PDFs crashes the entire Node process

Reading certain malformed/empty PDFs crashes the entire Node process: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). I'm using muhammara to process PDF files coming in from an upload pipeline, so I have to deal with whatever bytes the user throws at me — including files…

The task

I'm using muhammara to process PDF files coming in from an upload pipeline, so I have to deal with whatever bytes the user throws at me — including files that turn out to be truncated, empty, or otherwise broken. For most malformed inputs muhammara raises an error and I can…

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