File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ class Score(object):
7777 # but cms assures that the order in which the subchanges have to
7878 # be processed is the ascending order of their keys (actually,
7979 # this is enforced only for subchanges with the same time).
80- def __init__ (self , score_mode = "ioi_max_tokened_last " ):
80+ def __init__ (self , score_mode = "max_tokened_last " ):
8181 # The submissions in their current status.
8282 self ._submissions = dict ()
8383
@@ -117,7 +117,7 @@ def append_change(self, change):
117117 self ._submissions [s_id ].time > self ._last .time ):
118118 self ._last = self ._submissions [s_id ]
119119
120- if self ._score_mode == "ioi_max " :
120+ if self ._score_mode == "max " :
121121 score = max ([0.0 ] +
122122 [submission .score
123123 for submission in self ._submissions .values ()])
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ def __init__(self):
5555 self .max_score = None
5656 self .extra_headers = None
5757 self .order = None
58- self .score_mode = "ioi_max_tokened_last "
58+ self .score_mode = "max_tokened_last "
5959
6060 @staticmethod
6161 def validate (data ):
You can’t perform that action at this time.
0 commit comments