// Numbas version: exam_results_page_options {"name": "Nigel's copy of Substituting variables into a text pattern part", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"ungrouped_variables": ["greeting"], "rulesets": {}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Demonstrates that the marking algorithm for \"match text pattern\" parts doesn't put quotes around substituted strings any more.

", "notes": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "tags": ["demo"], "advice": "", "name": "Nigel's copy of Substituting variables into a text pattern part", "variable_groups": [], "functions": {}, "showQuestionGroupNames": false, "variables": {"greeting": {"templateType": "anything", "definition": "random(\"hello\",\"hi\")", "name": "greeting", "description": "", "group": "Ungrouped variables"}}, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "parts": [{"prompt": "

Write {greeting}

", "displayAnswer": "{greeting}", "type": "patternmatch", "marks": 1, "showCorrectAnswer": true, "scripts": {}, "answer": "{greeting}"}], "type": "question", "preamble": {"js": "", "css": ""}, "statement": "", "contributors": [{"name": "Nigel Bannister", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1023/"}]}]}], "contributors": [{"name": "Nigel Bannister", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1023/"}]}