An office predicts hourly energy use from [outdoor_temp, feels_like_temp, hour]. The two temperatures are near copies of each other. Shuffle one, and the model still reads temperature from the other, so each one looks unimportant on its own.
The fix is to shuffle the twins together, with the same reordering. To keep everyone's answer the same, the reordering is handed to you.
Task: write twin_drops(rows, energy, order).
LinearRegression() on rows and energy. Use model.score (R²) on these same rows as the baseline.order is a list of row indices. Shuffling a column with it means row i gets the value that was in row order[i].baseline - score_after_shuffle, each starting from the original rows:
order