def _add_default_score(
        cls,
        prediction: Optional[List[Union[Tuple[str, int, int], Tuple[str, int, int, Optional[float]]]]],
    ):
        """Adds the default score to the predictions if it is missing"""
        if prediction is None:
            return prediction
        return [
            (pred[0], pred[1], pred[2], 0.0) if len(pred) == 3 else (pred[0], pred[1], pred[2], pred[3] or 0.0)
            for pred in prediction
        ]
Adds the default score to the predictions if it is missing
argilla-v1/src/argilla_v1/client/models.py