def rank_points_to_avg_rank(sum_points: float, current_week: int) -> float:
    """Average rank (1 highest, 10 lowest) based on total rank points at current week.
    Assumes 10 players, 1st = 1, 10th = 0.1.

    Args:
        sum_points: float, sum of rank points through current week
        current_week: int, current week number
    
    Returns:
        _: float, average rank
    """

    return (1 - (sum_points/current_week))*10 + 1