HF RL Explorer

The array reduction builtins (SUM, STDDEV, SIZE) fail when their inner expression involves operands with…

The array reduction builtins (SUM, STDDEV, SIZE) fail when their inner expression involves operands with…: a task in LegoFlow-SWE (Harbor dataset). For example, given a DimA = 1, 2, 3 and h DimC = 10, 20, 30 : - SUM(a + h ) should compute the sum over all 9 combinations: (1+10) + (1+20) + (1+30) +…

The task

For example, given `a[DimA] = [1, 2, 3]` and `h[DimC] = [10, 20, 30]`: - `SUM(a[*] + h[*])` should compute the sum over all 9 combinations: `(1+10) + (1+20) + (1+30) + (2+10) + (2+20) + (2+30) + (3+10) + (3+20) + (3+30) = 198` - Instead, the project fails to compile because DimA and DimC cannot be unified.

Part of Lego-X/LegoFlow-SWE.