Description
Static validators are going to be implemented in problemtools soon. IMO, there are is one large points of ambiguity:
I think it's clear that a testgroup can contain exactly 0 or 1 static validation test case. If there is a static validation testcase, can there be normal testcases? My guess would be no, and if a testgroup is static, it contains exactly one static testcase and no other testcases. However, why is there the a score
key in the static_validation
map then? A testdata.yaml
already has the property score. At the same time, I see no way to distinguish which testcase is the static one. Whichever way it is, this should really be clarified.
I definitely think there is enough expressive power in not allowing "normal" testcases, given that require_pass
exists.
Also, I think we should clarify that all submission files are will be in the same working directory as the static validator. Currently, this is described very far away from static validators in the document. A reference probably suffices. https://www.kattis.com/problem-package-format/spec/2023-07-draft.html#working-directory
When the ambiguity has been clarified, I'll make a PR. @niemela @Tagl