// Numbas version: finer_feedback_settings {"name": "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": [{"showQuestionGroupNames": false, "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"greeting": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "greeting", "definition": "random(\"hello\",\"hi\")"}}, "parts": [{"prompt": "

Write {greeting}

", "scripts": {}, "displayAnswer": "{greeting}", "type": "patternmatch", "answer": "{greeting}", "marks": 1, "showCorrectAnswer": true}], "variable_groups": [], "ungrouped_variables": ["greeting"], "name": "Substituting variables into a text pattern part", "rulesets": {}, "metadata": {"description": "

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

", "licence": "Creative Commons Attribution 4.0 International", "notes": ""}, "tags": ["demo"], "type": "question", "preamble": {"js": "", "css": ""}, "functions": {}, "advice": "", "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "name": "", "pickQuestions": 0}], "statement": "", "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/"}]}