Description Usage Arguments Value
A magrader submission object contains six parts: 1. ‘answer' - The student’s original answer (stored as a string) 2. ‘focus' - An optional portion of the student’s code parsed as an expression tree 3. 'status' - The current status (pass, fail, warn) 4. 'warnings' - A set of warnings 5. 'praise' - A set of praise messages 6. 'failure' - A set of failure messages
1 2 |
answer |
- The complete, original student submission as a character string |
focus |
- A portion of the student answer parsed as an expression tree |
status |
- The current status of the submission: "pass", "fail", or "warn" |
warnings |
- Warning messages as a vector of character strings, to be displayed if final status is warn |
praise |
- Praise messages as a vector of character strings, to be displayed if final status is warn or pass |
failure |
- Failure messages as a character strings, to be displayed if status switches to fail |
A magrader submission class object, which inherits the list class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.