HF RL Explorer

Task: Implement Efficient In-Unison Shuffle for NumPy Arrays

Task: Implement Efficient In-Unison Shuffle for NumPy Arrays: a task in Terminal-Lego-15k (Harbor dataset). You need to implement a function that shuffles two NumPy arrays of different shapes but with the same leading dimension (length) in unison. "In unison" means that corresponding elements at…

The task

You need to implement a function that shuffles two NumPy arrays of different shapes but with the same leading dimension (length) in unison. "In unison" means that corresponding elements at the same index in both arrays should remain corresponding after the shuffle.

Part of PrimeIntellect/Terminal-Lego-15k.