HF RL Explorer

I want funcy.decorator(deco) to turn a flat wrapper function into a normal Python decorator.

I want funcy.decorator(deco) to turn a flat wrapper function into a normal Python decorator.: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). I want funcy.decorator(deco) to turn a flat wrapper function into a normal Python decorator. If I write @decorator on def inc(call)…

The task

I want funcy.decorator(deco) to turn a flat wrapper function into a normal Python decorator. If I write @decorator on def inc(call): return call() + 1, then @inc on def ten(): return 10 should produce a function where ten() returns 11; if I write @decorator on def add(call, n)…

Part of XiaomiMiMo/MiMo-V2.6-RL-oss.