When autograding a teacher can only provide a feedback text to a student for a boolean variable the student managed to set to true.
A typical use case also is that a teacher wants to provide some feedback to a student if he/she did not solve this issue, so the boolean variable still shows false.
Suggestion:
If the teacher wants this, he may add a | to a feedback string. The string before that will be the feedback which is sent to the student if the corresponding boolean variable is true, the string after | will be provided if the variable is false.
If the complete feedback string does not contain a |, everything stays as is: Feedback will only be provided if the variable is true.
When autograding a teacher can only provide a feedback text to a student for a boolean variable the student managed to set to true.
A typical use case also is that a teacher wants to provide some feedback to a student if he/she did not solve this issue, so the boolean variable still shows false.
Suggestion:
|
to a feedback string. The string before that will be the feedback which is sent to the student if the corresponding boolean variable is true, the string after|
will be provided if the variable is false.|
, everything stays as is: Feedback will only be provided if the variable is true.