// Numbas version: exam_results_page_options {"name": "Number entry with precision restriction: student gives correct answer to too much precision", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": [], "variables": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "ungrouped_variables": [], "rulesets": {}, "preamble": {"css": "", "js": ""}, "name": "Number entry with precision restriction: student gives correct answer to too much precision", "statement": "", "parts": [{"precisionMessage": "You have not given your answer to the correct precision.", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "precisionPartialCredit": "50", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "customMarkingAlgorithm": "", "minValue": "1.22", "precisionType": "dp", "prompt": "

The answer to this part is 1.22, rounded to 1 decimal place. Try \"1.2\", \"1.22\", \"1.20\", and \"1.23\".

", "type": "numberentry", "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "showCorrectAnswer": true, "variableReplacements": [], "strictPrecision": true, "unitTests": [{"variables": [], "answer": {"value": "1.2", "valid": true, "empty": false}, "notes": [{"expected": {"error": "", "credit": 1, "valid": true, "warnings": [], "value": "nothing", "messages": ["Your answer is correct.\n\nYou were awarded 1 mark."]}, "name": "mark"}], "name": "1.2 is correct"}, {"variables": [], "answer": {"value": "1.22", "valid": true, "empty": false}, "notes": [{"expected": {"error": "", "credit": 0, "valid": true, "warnings": [], "value": "false", "messages": ["You have not given your answer to the correct precision."]}, "name": "correctprecision"}, {"expected": {"error": "", "credit": 50, "valid": true, "warnings": [], "value": "nothing", "messages": ["Your answer is correct.\n\nYou were awarded 1 mark.", "You have not given your answer to the correct precision.\n\nYou were awarded 49 marks."]}, "name": "mark"}], "name": "1.22 is right value but wrong precision"}, {"variables": [], "answer": {"value": "1.20", "valid": true, "empty": false}, "notes": [{"expected": {"error": "", "credit": 0, "valid": true, "warnings": [], "value": "nothing", "messages": ["Your answer is incorrect."]}, "name": "mark"}], "name": "1.20 is incorrect"}, {"variables": [], "answer": {"value": "1.23", "valid": true, "empty": false}, "notes": [{"expected": {"error": "", "credit": 0, "valid": true, "warnings": [], "value": "nothing", "messages": ["Your answer is incorrect."]}, "name": "mark"}], "name": "1.23 is incorrect"}], "allowFractions": false, "maxValue": "1.22", "marks": 1, "scripts": {}, "showPrecisionHint": true, "precision": "1"}, {"precisionMessage": "You have not given your answer to the correct precision.", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "precisionPartialCredit": "50", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "customMarkingAlgorithm": "", "minValue": "1.27", "precisionType": "dp", "prompt": "

The answer to this part is 1.27, rounded to 1 decimal place. Try \"1.3\", \"1.27\" and \"1.2\".

", "type": "numberentry", "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "showCorrectAnswer": true, "variableReplacements": [], "strictPrecision": true, "unitTests": [{"variables": [], "answer": {"value": "1.3", "valid": true, "empty": false}, "notes": [{"expected": {"error": "", "credit": 1, "valid": true, "warnings": [], "value": "nothing", "messages": ["Your answer is correct.\n\nYou were awarded 1 mark."]}, "name": "mark"}], "name": "1.3 is correct"}, {"variables": [], "answer": {"value": "1.2", "valid": true, "empty": false}, "notes": [{"expected": {"error": "", "credit": 0, "valid": true, "warnings": [], "value": "nothing", "messages": ["Your answer is incorrect."]}, "name": "mark"}], "name": "1.2 is incorrect"}, {"variables": [], "answer": {"value": "1.27", "valid": true, "empty": false}, "notes": [{"expected": {"error": "", "credit": 0, "valid": true, "warnings": [], "value": "false", "messages": ["You have not given your answer to the correct precision."]}, "name": "correctprecision"}, {"expected": {"error": "", "credit": 50, "valid": true, "warnings": [], "value": "nothing", "messages": ["Your answer is correct.\n\nYou were awarded 1 mark.", "You have not given your answer to the correct precision.\n\nYou were awarded 49 marks."]}, "name": "mark"}], "name": "1.27 is correct but wrong precision"}], "allowFractions": false, "maxValue": "1.27", "marks": 1, "scripts": {}, "showPrecisionHint": true, "precision": "1"}], "advice": "", "variable_groups": [], "metadata": {"description": "

This question shows how the number entry part marking algorithm has changed to award credit when the student gives the correct answer but to too much precision, when the precise value is not included in the rounded-off range of acceptable answers.

\n

See this issue on GitHub.

", "licence": "Creative Commons Attribution 4.0 International"}, "extensions": [], "functions": {}, "type": "question", "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/"}]}