NumPy allowed · plain Python earns 10 bonus points
Computed matrix × vector transformation
Implement vectorized min-max normalization in NumPy to scale numerical feature values into the range [0.0, 1.0].
Implement min_max_scale(data). Given a 1D list of floats, scale elements to [0.0, 1.0] using (x - min) / (max - min), rounded to 4 decimal places. Return [0.0] * len(data) when max == min.
min_max_scale(data: list[float]) -> list[float]