def calculate_expected_score(
        normalized_metrics_lst: List[Any], weights_lst: List[float]
    ):
        """Calculate the expected score using normalized metrics and weights."""
        assert len(normalized_metrics_lst) == len(weights_lst)
        return round(
            sum(
                normalized_metrics_lst[i] * weights_lst[i]
                for i in range(len(normalized_metrics_lst))
            )
            / sum(weights_lst),
            2,
        )
Calculate the expected score using normalized metrics and weights.
src/benchmark/trulens/benchmark/benchmark_frameworks/experiments/dataset_preprocessing.py