def normalize_scores(scores: list[float]) -> list[float]: total = sum(scores) return [s / total for s in scores]