HF RL Explorer

Bug: Chain incorrectly allows splitting rest parameters across chain value and function arguments

Bug: Chain incorrectly allows splitting rest parameters across chain value and function arguments: a task in LegoFlow-SWE (Harbor dataset). When using math.chain() , functions that accept variadic arguments (rest parameters) can inadvertently receive the chain's stored value as part of the rest…

The task

When using `math.chain()`, functions that accept variadic arguments (rest parameters) can inadvertently receive the chain's stored value as part of the rest parameter, leading to silent wrong results.

Part of Lego-X/LegoFlow-SWE.