Conversation
|
I agree that the current behaviour is suboptimal and would like to see it changed. However, I’d rather see this changed at the level of the default grader, here: The specification at https://www.problemarchive.org/wiki/index.php/Problem_Format#Graders is silent about how to handle this—it boils down to whether “no errors found because no tests were run” should mean SuggestionThe cleanest solution would be to introduce the verdict but at other levels in the infrastructure, other verdicts are used. For instance, I don’t think It would then be up to the default grader to decide how My own preference would be that “passing the empty test” gives But my experience with this is limited, and there are many other problem construction traditions that I haven’t thought through at all. |
|
Concrete suggestion: The Probem format does not specify the result of aggregating with mode
|
Assuming we have a problem with two test groups
group1andgroup2then runningverifyproblem foo -d group1/always results in aJEverdict, because the pattern doesn't match any test cases ingroup2.This fixes it, by returning the
?verdict for an empty group.I don't know if this is the best solution.