def get_context_data(self, **kwargs):  # pylint: disable=arguments-differ
    data = super().get_context_data(**kwargs)
    data['full'] = self.full
    if not self.full:
      data['query_user'] = self.user
      data['max_rating'], data['min_rating'] = 2000, 1000
      data['rating_list'] = ContestUserRating.objects.select_related('contest').filter(user=self.user)
      if data['rating_list']:
        data['max_rating'] = max(data['max_rating'], max(map(lambda x: x.rating, data['rating_list'])))
        data['min_rating'] = min(data['min_rating'], max(map(lambda x: x.rating, data['rating_list'])))
    return data