I want a pure pairAnchorsAndFootnotes(timeline: Array) - Object utility that turns a chronological stream…
I want a pure pairAnchorsAndFootnotes(timeline: Array) - Object utility that turns a chronological stream…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). For example, calling pairAnchorsAndFootnotes( {type:"anchor", markerCode:"9312", index:0}, {type:"footnote"…
The task
For example, calling `pairAnchorsAndFootnotes([{type:"anchor", markerCode:"9312", index:0}, {type:"footnote", markerCode:"9312", content:"first note"}])` should return an object where `result["9312"][0] === "first note"`. If repeated markers appear, pairing should follow reading order: `[{type:"anchor",…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.