from typing import List


def get_scores(true_pos: int, false_pos: int, false_neg: int) -> List[float]:
    """
    calculate scores of performances with criteria of the computed confusion matrix : precision, recall or sensibility
    and F1-score.

    :param true_pos: number of correct detections
    :type true_pos: int
    :param false_pos: number of false detections
    :type false_pos: int
    :param false_neg: number of missed QRS complex
    :type false_neg: int
    :return: list of calculated scores : precision, recall or sensibility and F1-score
    :rtype: list(float)
    """
    positive_predictivity = round(100 * true_pos / (true_pos + false_pos), 2)
    recall = round(100 * true_pos / (true_pos + false_neg), 2)
    f1_score = round(100 * 2 * true_pos / ((2 * true_pos) + false_pos + false_neg), 2)
    return [positive_predictivity, recall, f1_score]