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

        Connect your code to JIRA

        Link every code change to JIRA just by adding an issue keys in commit messages. Bridge the gap back to your source and know which changes fixed which JIRA issues.

        Git & Mercurial in the cloud

        Collaborate across unlimited private code repositories.

        Git behind the firewall

        Manage and collaborate on Git repositories behind a firewall.

        Browse and search code

        Browse, search, and track source code repositories.

          People

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

            Dates

            • Created:
              Updated: