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

          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
          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
          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'
          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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: