Change how batch scoring works
This commit is contained in:
parent
65dea68be3
commit
01c0365208
5 changed files with 89 additions and 51 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue