HF RL Explorer

我在用 YARP.parse 解析带中文或 encoding: magic comment 的 Ruby 文件时, result.source.source.encoding 看到的是…

我在用 YARP.parse 解析带中文或 encoding: magic comment 的 Ruby 文件时, result.source.source.encoding 看到的是…: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). Problem Statement 我在用 YARP.parse 解析带中文或 encoding: magic comment 的 Ruby 文件时,result.source.source.encoding 看到的是 ASCII-8BIT,后面从…

The task

Problem Statement 我在用 YARP.parse 解析带中文或 # encoding: magic comment 的 Ruby 文件时,result.source.source.encoding 看到的是 ASCII-8BIT,后面从 location/token slice 出来的字符串编码也跟着不对;同样的输入走 YARP.load(input, serialized) 反序列化后也会出现这个现象,感觉像是解析时识别到的 encoding 没落到 Source 字符串上。 Expected outcomes Direct…

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