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-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). 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…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.