// Numbas version: exam_results_page_options {"name": "Give a long passage of advice to the student following submission of an individual part", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Give a long passage of advice to the student following submission of an individual part", "tags": [], "metadata": {"description": "

This question uses a \"formatted text template\" variable to define a long passage of text which is shown to the student after they submit a part. A custom marking algorithm adds the text as a comment after the standard marking algorithm has finished.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "extensions": [], "variables": {"part_a_advice": {"name": "part_a_advice", "group": "Ungrouped variables", "definition": "safe(\"

You wrote $\\\\var{studentExpr}$.

\\n

The quadratic equation is

\\n

\\\\[ x = \\\\frac{-b \\\\pm \\\\sqrt{b^2-4ac}}{2a} \\\\]

\\n

Green\\'s theorem states that

\\n

\\\\[ \\\\oint_C (L\\\\,dx+M\\\\,dy)=\\\\iint _{D}\\\\left({\\\\frac {\\\\partial M}{\\\\partial x}}-{\\\\frac {\\\\partial L}{\\\\partial y}}\\\\right)\\\\,dx\\\\,dy \\\\]

\")", "description": "", "templateType": "long string"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["part_a_advice"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "mark:\n apply(base_mark);\n feedback(render(part_a_advice))", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Write $x^2$ or something.

", "answer": "x^2", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": [{"name": "x", "value": ""}]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}