32
32
use qtype_coderunner \constants ;
33
33
use qtype_coderunner \coderunner_files ;
34
34
35
- /**
35
+ /*
36
36
* Represents a 'CodeRunner' question.
37
37
*/
38
38
@@ -254,7 +254,7 @@ public function start_attempt(question_attempt_step $step = null, $variant = nul
254
254
$ step ->set_qt_var ('_mtrandseed ' , $ seed );
255
255
}
256
256
$ this ->evaluate_question_for_display ($ seed , $ step );
257
- $ this ->randomseed = $ seed ; // so we can see it when checking
257
+ $ this ->randomseed = $ seed ; // So we can see it when checking.
258
258
}
259
259
260
260
// Retrieve the saved random number seed and reconstruct the template
@@ -270,7 +270,7 @@ public function apply_attempt_state(question_attempt_step $step) {
270
270
$ seed = mt_rand ();
271
271
}
272
272
$ this ->evaluate_question_for_display ($ seed , $ step );
273
- $ this ->randomseed = $ seed ; // so we can see it when checking
273
+ $ this ->randomseed = $ seed ; // So we can see it when checking.
274
274
}
275
275
276
276
@@ -843,7 +843,7 @@ public function display_feedback() {
843
843
* the history of prior submissions.
844
844
* @param bool $isprecheck true iff this grading is occurring because the
845
845
* student clicked the precheck button
846
- * @param bool $isvalidationrun true iff this is a validation run when saving
846
+ * @param bool $isvalidationrun true iff this is a validation run when saving
847
847
* a question.
848
848
* @return 3-element array of the mark (0 - 1), the question_state (
849
849
* gradedright, gradedwrong, gradedpartial, invalid) and the full
@@ -939,7 +939,7 @@ private function get_attached_files($response) {
939
939
940
940
941
941
/** Pulls out the step information in the response, added by the CodeRunner
942
- / * custom behaviour, for use by the question author in issuing feedback.
942
+ * custom behaviour, for use by the question author in issuing feedback.
943
943
*
944
944
* @param type $response The usual response array enhanced by the addition of
945
945
* numchecks, numprechecks and fraction values relating to the current step.
0 commit comments