|
|
@ -361,7 +361,7 @@ export async function judgeInteraction(task: InteractionRunTask) |
|
|
|
score = null; |
|
|
|
score = null; |
|
|
|
status = TestcaseResultType.JudgementFailed; |
|
|
|
status = TestcaseResultType.JudgementFailed; |
|
|
|
message = `Interactor returned a non-number score ${scoreString}`; |
|
|
|
message = `Interactor returned a non-number score ${scoreString}`; |
|
|
|
} else if (score === -1) { |
|
|
|
} else if (rawScore === -1) { |
|
|
|
status = TestcaseResultType.InvalidInteraction; |
|
|
|
status = TestcaseResultType.InvalidInteraction; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
score = rawScore; |
|
|
|
score = rawScore; |
|
|
|