The SIO2 project
  1. The SIO2 project
  2. SIO-2277

Ranking ingores custom update_user_result_for_{round,contest}

    Details

    • Type: Bug Bug
    • Status: New New
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: Current Version
    • Fix Version/s: None
    • Component/s: OIOIOI
    • Labels:

      Description

      It's possible to override the update_user_result_for_{round,contest} methods in a contest controller, and change the way results for round and contest are computed form a simple sum to something more elaborate. (For example, on OIJ, we need to have max of two different quizzes.)
      Those results will be saved in UserResultForRound and UserResultForContest models.

      However, the ranking doesn't care. It just takes per-problem scores from UserResultForProblem objects and sums them.

        Activity

        Szymon Czyżmański made changes -
        Field Original Value New Value
        Labels tag1

          People

          • Assignee:
            Unassigned
            Reporter:
            Wojciech Dubiel
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: