Change how batch scoring works

This commit is contained in:
cuom1999 2022-11-19 21:41:43 -06:00
parent 65dea68be3
commit 01c0365208
5 changed files with 89 additions and 51 deletions

View file

@ -122,7 +122,8 @@ class ProblemDataCompiler(object):
if case.type == "C":
data = {}
if batch:
case.points = None
if case.points is None:
case.points = 0
case.is_pretest = batch["is_pretest"]
else:
if case.points is None: