        }
        transformed_history = sft.transform(history)
        np.testing.assert_array_equal(
            transformed_history["fitness"], [0.5, 1.5])
        np.testing.assert_array_equal(
            transformed_history["parameters"], np.array([[1, 2], [3, 4]])
        )

