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

Contests not sorted in contest list view

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Current Version
    • Fix Version/s: TAG 2016/17 Sprint 2
    • Component/s: OIOIOI
    • Labels:

      Description

      SIO2 stopped to sort contests by their creation time in constest list view (e.g. https://sio2.mimuw.edu.pl/c/ontak2016/contest/ - contests are clearly randomly shuffled, probably ordered by their hashes).

      The plausible reason is commit 4cb62fe (https://github.com/sio2project/oioioi/commit/4cb62fedfd4a5ec0cd83cf62b9b468e4481ba71f ); in oioioi/contests/utils.py, set() was introduced, which implies no particular order of its elements.

        Activity

        Hide
        Gerrit Gerrit added a comment -
        Change I45e2b7f4653d2a8fee6285960171eaff6db38409, patchset 1
        https://gerrit.sio2project.mimuw.edu.pl/2677

        SIO-1834 Contests not sorted in contest list view

        Change-Id: I45e2b7f4653d2a8fee6285960171eaff6db38409
        Show
        Gerrit Gerrit added a comment - Change I45e2b7f4653d2a8fee6285960171eaff6db38409, patchset 1 https://gerrit.sio2project.mimuw.edu.pl/2677 SIO-1834 Contests not sorted in contest list view Change-Id: I45e2b7f4653d2a8fee6285960171eaff6db38409
        Hide
        Gerrit Gerrit added a comment -
        Change I45e2b7f4653d2a8fee6285960171eaff6db38409, patchset 2
        https://gerrit.sio2project.mimuw.edu.pl/2677

        SIO-1834 Contests not sorted in contest list view

        Change-Id: I45e2b7f4653d2a8fee6285960171eaff6db38409
        Show
        Gerrit Gerrit added a comment - Change I45e2b7f4653d2a8fee6285960171eaff6db38409, patchset 2 https://gerrit.sio2project.mimuw.edu.pl/2677 SIO-1834 Contests not sorted in contest list view Change-Id: I45e2b7f4653d2a8fee6285960171eaff6db38409

          People

          • Assignee:
            Szymon Acedański
            Reporter:
            Marek Sokołowski
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: