Add permutation and factorial helpers to the base utilities
Add permutation and factorial helpers to the base utilities: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). The inference code is about to grow support for exploring label assignments over small groups of variables, and for that it needs a couple of reusable combinatorics…
The task
The inference code is about to grow support for exploring label assignments over small groups of variables, and for that it needs a couple of reusable combinatorics helpers. Please add them to the project's base utility library as free functions, exposed from a new header…
Part of XiaomiMiMo/MiMo-V2.6-RL-oss.