def _compute_mod(score: int) -> int:
    """Compute a mod given an ability score

    Args:
        score (int): Ability score
    Returns:
        (int) Modifier for that score
    """
    return score // 2 - 5