Kattis / problem-package-format

Kattis problem package format specification
https://www.kattis.com/problem-package-format
9 stars 14 forks source link

Cleanup of the Sample section #346

Open evouga opened 1 week ago

evouga commented 1 week ago

I've done a pass on this section. The requirements here are quite complex so please double-check everything carefully.

In particular:

niemela commented 1 week ago

This is a really good cleanup. Some fairly minor comments above.

evouga commented 1 week ago

One use case that we discussed, which is not currently well-supported, are problems where we want to display truncated or too-small sample inputs in the problem statement which (intentionally) do not pass validation.

Do we still care about this case?

If so, then in sample/statement maybe we want to allow:

EDIT: although, this still doesn't really allow for too-small inputs...

mzuenni commented 6 days ago

@mzuenni, wdyt? Does this address https://github.com/Kattis/problem-package-format/issues/338? In particular, is/was your only concern the testing tool itself, and are you happy/OK with the data/sample/{.,statement,download} structure?

looks good, the structure is fine :)