HF RL Explorer

Templater 在迭代 map / 嵌套 map 时缺少几个常用判断

Templater 在迭代 map / 嵌套 map 时缺少几个常用判断: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). 我在用 bin-templater 渲染 .cfg 模板,数据源是 map(有时候是嵌套 map)。在模板里 range 一个 map 时碰到两类问题,现有的 isMap / isArray / isString 这套帮不上忙:

The task

我在用 `bin-templater` 渲染 `.cfg` 模板,数据源是 map(有时候是嵌套 map)。在模板里 `range` 一个 map 时碰到两类问题,现有的 `isMap` / `isArray` / `isString` 这套帮不上忙:

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