def apply_score
import unified-nsga-iii@0.2.2.0/problems.bend as Problemsimport Base
import unified-nsga-iii@0.2.2.0/individual.bend as Ind
644def apply_score(+ind: Ind.Individual, s: Scored) -> Ind.Individual:
645 match s:
646 case Scored{f, g}:
647 Ind.set_constraints(Ind.set_objectives(ind, f), g)