Task: Analyze the distribution of a broken shuffle
Task: Analyze the distribution of a broken shuffle: a task in Terminal-Lego-15k (Harbor dataset). You are given a fixed-size array of distinct elements labeled 1..N . A correct Fisher-Yates shuffle produces a uniform random permutation. However, in this task you must analyze a broken shuffle that…
The task
You are given a fixed-size array of distinct elements labeled `1..N`. A correct Fisher-Yates shuffle produces a uniform random permutation. However, in this task you must analyze a **broken shuffle** that uses the wrong index range:
Part of PrimeIntellect/Terminal-Lego-15k.