code: def _get_scaled_score(
              simple_score: float,
              categorical_score: float,
              category_weight: Optional[float] = .5) -> float:
          
          return np.average(
              [simple_score, categorical_score], weights=[1, category_weight]
          )
docs: Scaled score is the weighted average of the simple score and
          categorical score