Skip to content

Commit

Permalink
Update contest.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LLaammTTeerr committed Apr 22, 2024
1 parent 7c257bd commit cce9d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion judge/models/contest.py
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ class ContestProblem(models.Model):

@property
def points_scaling_factor(self):
testcaseset = ProblemTestCase.objects.filter(problem = self.problem).order_by('order').values_list('points')
testcaseset = ProblemTestCase.objects.filter(dataset=self.problem).order_by('order').values_list('points')
sum_batch_points = 0;
for points in testcaseset:
if points:
Expand Down

0 comments on commit cce9d3a

Please sign in to comment.