Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: Current Version
    • Fix Version/s: TAG 2013/14
    • Component/s: OIOIOI
    • Labels:
      None

      Description

      A max_score field could be added do the GroupReport model, possibly
      also to the SubmissionReport model. Right now these values are calcuated by the function oireports.views._serialize_report.

        Issue Links

          Activity

          Bartosz Tarnawski made changes -
          Field Original Value New Value
          Link This issue relates to SIO-1177 [ SIO-1177 ]
          Szymon Acedański made changes -
          Fix Version/s Next Sprint [ 11501 ]
          Szymon Acedański made changes -
          Sprint The Second Sprint [ 3 ]
          Szymon Acedański made changes -
          Sprint The Second Sprint [ 3 ]
          Szymon Acedański made changes -
          Rank Ranked higher
          Szymon Acedański made changes -
          Fix Version/s Near Future [ 11001 ]
          Fix Version/s Next Sprint [ 11501 ]
          Szymon Acedański made changes -
          Status New [ 10000 ] Open [ 1 ]
          Marek Bardoński made changes -
          Assignee Marek Bardoński [ bdfhjk ]
          Marek Bardoński made changes -
          Fix Version/s The Sixth Sprint [ 11703 ]
          Fix Version/s Near Future [ 11001 ]
          Marek Bardoński made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          Marek Bardoński added a comment -
          + Update statistics module to use this fields
          + Add tests to check this field
          + Update usage of this field by oireports
          Show
          Marek Bardoński added a comment - + Update statistics module to use this fields + Add tests to check this field + Update usage of this field by oireports
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 1
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 1 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 2
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 2 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 3
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 3 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 4
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 4 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 5
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 5 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 6
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 6 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 7
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 7 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Marek Bardoński made changes -
          Link This issue is blocked by SIO-1509 [ SIO-1509 ]
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 8
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 8 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 9
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 9 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 10
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 10 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 11
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 11 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 12
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 12 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 13
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 13 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 14
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 14 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 15
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 15 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 16
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 16 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 17
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 17 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 18
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 18 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 19
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 19 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Hide
          Gerrit Gerrit added a comment -
          Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 20
          https://gerrit.sio2project.mimuw.edu.pl/2023

          SIO-1319 Add max_score fields to models

          Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Show
          Gerrit Gerrit added a comment - Change I8773968a546cff1e06cb515f2b279f8cd331be27, patchset 20 https://gerrit.sio2project.mimuw.edu.pl/2023 SIO-1319 Add max_score fields to models Change-Id: I8773968a546cff1e06cb515f2b279f8cd331be27
          Marek Bardoński made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Assignee Marek Bardoński [ bdfhjk ] Szymon Acedański [ accek ]
          Resolution Fixed [ 1 ]
          Hide
          Maciej Dębski added a comment -
          Traceback (most recent call last):

            File "/home/oioioi/sio2/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 115, in get_response
              response = callback(request, *callback_args, **callback_kwargs)

            File "/home/oioioi/sio2/oioioi/oioioi/base/permissions.py", line 126, in _wrapped_view
              return view_func(request, *args, **kwargs)

            File "/home/oioioi/sio2/oioioi/oioioi/statistics/views.py", line 67, in statistics_view
              plot_kind, object)

            File "/home/oioioi/sio2/oioioi/oioioi/statistics/controllers.py", line 199, in statistics_data
              result = plot_function(object)

            File "/home/oioioi/sio2/oioioi/oioioi/statistics/plotfunctions.py", line 84, in points_histogram_problem
              max_score = results[0].submission_report.score_report.max_score

          AttributeError: 'NoneType' object has no attribute 'score_report'
          Show
          Maciej Dębski added a comment - Traceback (most recent call last):   File "/home/oioioi/sio2/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 115, in get_response     response = callback(request, *callback_args, **callback_kwargs)   File "/home/oioioi/sio2/oioioi/oioioi/base/permissions.py", line 126, in _wrapped_view     return view_func(request, *args, **kwargs)   File "/home/oioioi/sio2/oioioi/oioioi/statistics/views.py", line 67, in statistics_view     plot_kind, object)   File "/home/oioioi/sio2/oioioi/oioioi/statistics/controllers.py", line 199, in statistics_data     result = plot_function(object)   File "/home/oioioi/sio2/oioioi/oioioi/statistics/plotfunctions.py", line 84, in points_histogram_problem     max_score = results[0].submission_report.score_report.max_score AttributeError: 'NoneType' object has no attribute 'score_report'
          Maciej Dębski made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Assignee Szymon Acedański [ accek ] Marek Bardoński [ bdfhjk ]
          Marek Bardoński made changes -
          Link This issue relates to SIO-1511 [ SIO-1511 ]
          Hide
          Gerrit Gerrit added a comment -
          Change I1ffc4f3c661f4cb07d96a332bd94d5511692b62f, patchset 1
          https://gerrit.sio2project.mimuw.edu.pl/2090

          SIO-1319 Fix error while generating plot for user without submissions

          Change-Id: I1ffc4f3c661f4cb07d96a332bd94d5511692b62f
          Show
          Gerrit Gerrit added a comment - Change I1ffc4f3c661f4cb07d96a332bd94d5511692b62f, patchset 1 https://gerrit.sio2project.mimuw.edu.pl/2090 SIO-1319 Fix error while generating plot for user without submissions Change-Id: I1ffc4f3c661f4cb07d96a332bd94d5511692b62f
          Hide
          Gerrit Gerrit added a comment -
          Change I1ffc4f3c661f4cb07d96a332bd94d5511692b62f, patchset 2
          https://gerrit.sio2project.mimuw.edu.pl/2090

          SIO-1319 Fix an error while generating a plot for users without submissions

          Change-Id: I1ffc4f3c661f4cb07d96a332bd94d5511692b62f
          Show
          Gerrit Gerrit added a comment - Change I1ffc4f3c661f4cb07d96a332bd94d5511692b62f, patchset 2 https://gerrit.sio2project.mimuw.edu.pl/2090 SIO-1319 Fix an error while generating a plot for users without submissions Change-Id: I1ffc4f3c661f4cb07d96a332bd94d5511692b62f
          Hide
          Gerrit Gerrit added a comment -
          Change I1ffc4f3c661f4cb07d96a332bd94d5511692b62f, patchset 3
          https://gerrit.sio2project.mimuw.edu.pl/2090

          SIO-1319 Fix an error while generating a plot for users without submissions

          Change-Id: I1ffc4f3c661f4cb07d96a332bd94d5511692b62f
          Show
          Gerrit Gerrit added a comment - Change I1ffc4f3c661f4cb07d96a332bd94d5511692b62f, patchset 3 https://gerrit.sio2project.mimuw.edu.pl/2090 SIO-1319 Fix an error while generating a plot for users without submissions Change-Id: I1ffc4f3c661f4cb07d96a332bd94d5511692b62f
          Hide
          Gerrit Gerrit added a comment -
          Change I1ffc4f3c661f4cb07d96a332bd94d5511692b62f, patchset 4
          https://gerrit.sio2project.mimuw.edu.pl/2090

          SIO-1319 Fix an error while generating a plot for users without submissions

          Change-Id: I1ffc4f3c661f4cb07d96a332bd94d5511692b62f
          Show
          Gerrit Gerrit added a comment - Change I1ffc4f3c661f4cb07d96a332bd94d5511692b62f, patchset 4 https://gerrit.sio2project.mimuw.edu.pl/2090 SIO-1319 Fix an error while generating a plot for users without submissions Change-Id: I1ffc4f3c661f4cb07d96a332bd94d5511692b62f
          Hide
          Gerrit Gerrit added a comment -
          Change I0f56c7def96c2d3534a16889f51d96f2f5ed918a, patchset 1
          https://gerrit.sio2project.mimuw.edu.pl/2096

          SIO-1319 Fix an error while generating a plot for users without submissions

          Change-Id: I0f56c7def96c2d3534a16889f51d96f2f5ed918a
          Show
          Gerrit Gerrit added a comment - Change I0f56c7def96c2d3534a16889f51d96f2f5ed918a, patchset 1 https://gerrit.sio2project.mimuw.edu.pl/2096 SIO-1319 Fix an error while generating a plot for users without submissions Change-Id: I0f56c7def96c2d3534a16889f51d96f2f5ed918a
          Hide
          Gerrit Gerrit added a comment -
          Change I0f56c7def96c2d3534a16889f51d96f2f5ed918a, patchset 2
          https://gerrit.sio2project.mimuw.edu.pl/2096

          SIO-1319 Fix #2 an error while generating a plot for users without submissions

          Change-Id: I0f56c7def96c2d3534a16889f51d96f2f5ed918a
          Show
          Gerrit Gerrit added a comment - Change I0f56c7def96c2d3534a16889f51d96f2f5ed918a, patchset 2 https://gerrit.sio2project.mimuw.edu.pl/2096 SIO-1319 Fix #2 an error while generating a plot for users without submissions Change-Id: I0f56c7def96c2d3534a16889f51d96f2f5ed918a
          Hide
          Gerrit Gerrit added a comment -
          Change I0f56c7def96c2d3534a16889f51d96f2f5ed918a, patchset 3
          https://gerrit.sio2project.mimuw.edu.pl/2096

          SIO-1319 Fix #2 an error while generating a plot for users without submissions

          Change-Id: I0f56c7def96c2d3534a16889f51d96f2f5ed918a
          Show
          Gerrit Gerrit added a comment - Change I0f56c7def96c2d3534a16889f51d96f2f5ed918a, patchset 3 https://gerrit.sio2project.mimuw.edu.pl/2096 SIO-1319 Fix #2 an error while generating a plot for users without submissions Change-Id: I0f56c7def96c2d3534a16889f51d96f2f5ed918a
          Marek Bardoński made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Assignee Marek Bardoński [ bdfhjk ] Szymon Acedański [ accek ]
          Resolution Fixed [ 1 ]
          Szymon Acedański made changes -
          Fix Version/s TAG 2013/14 [ 12000 ]
          Fix Version/s The Sixth Sprint [ 11703 ]
          Szymon Acedański made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          New New Open Open
          6d 20h 6m 1 Szymon Acedański 2013-10-30 10:37
          Open Open In Progress In Progress
          147d 8h 11m 1 Marek Bardoński 2014-03-26 18:49
          In Progress In Progress Resolved Resolved
          40d 16h 10m 1 Marek Bardoński 2014-05-6 12:00
          Resolved Resolved Reopened Reopened
          8h 19m 1 Maciej Dębski 2014-05-6 20:19
          Reopened Reopened Resolved Resolved
          1d 21h 59m 1 Marek Bardoński 2014-05-8 18:19
          Resolved Resolved Closed Closed
          144d 3h 22m 1 Szymon Acedański 2014-09-29 21:42

            People

            • Assignee:
              Szymon Acedański
              Reporter:
              Bartosz Tarnawski
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: