I want the LaTeX utility module to export two pure helpers for choosing a project's TeX entry file from an…
I want the LaTeX utility module to export two pure helpers for choosing a project's TeX entry file from an…: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). findTexFiles(files: FileNode ): string should walk the provided FileNode tree depth-first in the order nodes appear…
The task
findTexFiles(files: FileNode[]): string[] should walk the provided FileNode tree depth-first in the order nodes appear, include only nodes where type is file and the name ends with .tex, and return their path values. For example, with root files main.tex, README.md, and…
Part of XiaomiMiMo/MiMo-V2.6-RL-oss.