Kattis / problemtools

Tools to manage problem packages using the Kattis problem package format.
MIT License
101 stars 70 forks source link

Allow negative scores as grader output #228

Closed simonlindholm closed 1 year ago

simonlindholm commented 1 year ago

The spec doesn't disallow this: in fact, it mentions -inf as a default lower bound on scores.

I hit upon this by accident, with a buggy output validator -- the negative score was unintended, but problemtools hid the bug from me by claiming an invalid format error with no further output.