Skip to content

Commit

Permalink
update score_errors message
Browse files Browse the repository at this point in the history
  • Loading branch information
vpchung committed May 1, 2024
1 parent 7fb0c1e commit 7b6fc29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions score.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ def main():
"score_errors": (
""
if status == "SCORED"
else "Prediction file invalid; cannot be scored."
else "Submission could not be evaluated due to validation errors."
),
** scores
**scores,
}
with open(args.output, "w", encoding="utf-8") as out:
out.write(json.dumps(res))
Expand Down

0 comments on commit 7b6fc29

Please sign in to comment.