Greetings,
I am an assistant to an Introductory Programming course in the University of Porto (Portugal).
We are determined to use CodeRunner!
In the past, we have rolled out our own web application whereby:
- We made 4 public tests available that they could see when submitting code (no punishment)
- In the end of the exam, we had 4 private tests that were used to evaluate their code (each worth 25%).
We would like to keep this configuration. We have already seen that we can disable "all-or-nothing" and use "show" for the public tests and "hide" for the private tests.
Everything is working great, except that we would like to define public tests with mark=0 and private tests with mark=25.
I wonder why you disallow mark=0?
edit_coderunner_form.php
} else if (floatval($mark) <= 0) {
$errors["testcode[$i]"] = get_string('negativeorzeromark', 'qtype_coderunner');
}
Why floatval($mark) <= 0 instead of floatval($mark) < 0 ?
Or, is there any other way to configure our setup? Maybe using prechecks? We are currently using precheck=empty so that we could allow them to run pylint without punishment, but we want to punish submissions using the penalties.
Thank you very much for the great software!
-- Ricardo Cruz