// Numbas version: finer_feedback_settings {"name": "Undefined variable test", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Undefined variable test", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"t1": {"name": "t1", "group": "Ungrouped variables", "definition": "permutation_matrix([1, 2, 3])", "description": "", "templateType": "anything", "can_override": false}, "t2": {"name": "t2", "group": "Ungrouped variables", "definition": "myfunction(37)", "description": "", "templateType": "anything", "can_override": false}, "t3": {"name": "t3", "group": "Ungrouped variables", "definition": "transpose(matrix(map(repeat(0, x-1) + [1] + repeat(0, len(pl)-x), x, pl)))", "description": "", "templateType": "anything", "can_override": false}, "pl": {"name": "pl", "group": "Ungrouped variables", "definition": "[2,1]", "description": "", "templateType": "anything", "can_override": false}, "t4": {"name": "t4", "group": "Ungrouped variables", "definition": "b()", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["t1", "t2", "t3", "pl", "t4"], "variable_groups": [], "functions": {"permutation_matrix": {"parameters": [["plist", "list of number"]], "type": "matrix", "language": "jme", "definition": "transpose(matrix(map(repeat(0, x-1) + [1] + repeat(0, len(plist)-x), x, plist)))"}, "myfunction": {"parameters": [["a", "number"]], "type": "number", "language": "jme", "definition": "a"}, "b": {"parameters": [], "type": "anything", "language": "jme", "definition": "42"}}, "preamble": {"js": "", "css": ""}, "parts": [], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Ulrich G\u00f6rtz", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7603/"}]}]}], "contributors": [{"name": "Ulrich G\u00f6rtz", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7603/"}]}