Skip to content

Instantly share code, notes, and snippets.

@pufinek
Last active November 26, 2017 07:33
Show Gist options
  • Save pufinek/9c05f7e331f39b142dfbd4c076f0d9a7 to your computer and use it in GitHub Desktop.
Save pufinek/9c05f7e331f39b142dfbd4c076f0d9a7 to your computer and use it in GitHub Desktop.
{
"test": {
"title": "S01T01Pokus",
"description": "Státní maturita 2010.",
"cermat": true,
"successfulLimit": 33,
"tasks": [
{
"title": "S01T02U01",
"cermat": true,
"taskText": "netučně.",
"question": " tučně.",
"maxPoints": 1,
"type": "write",
"correctAnswer": ["!!"],
"solutions": [{}]
},
{
"title": "S02T03U00",
"cermat": true,
"taskText": "Netučně.",
"question": "tučně.",
"maxPoints": 2,
"type": "options",
"options": [
{ "name": "opt1", "problem": "####" },
{ "name": "opt2", "problem": "####" },
{ "name": "opt3", "problem": "####" },
{ "name": "opt4", "problem": "####" },
{ "name": "opt5", "problem": "jiný " }
],
"correctAnswer": ["opt2"],
"solutions": [{}]
},
{
"title": "S01T02U21",
"cermat": true,
"taskText": "&&\\images\\tasks\\S02T05\\S02T05U03.jpg&&",
"question": "Úkol, kde se mají přiřazovat dvojice",
"maxPoints": 4,
"partPoints": [0, 0, 1, 2, 4],
"type": "pairs",
"options": [
{ "name": "opt1", "problem": "otazka 1", "part": "opt" },
{ "name": "opt2", "problem": "##86~\\text{m}##", "part": "opt" },
{ "name": "opt3", "problem": "##93~\\text{m}##", "part": "opt" },
{ "name": "ans1", "problem": "##102~\\text{m}##", "part": "ans" },
{ "name": "ans2", "problem": "##106~\\text{m}##", "part": "ans" },
{ "name": "ans3", "problem": "odpoved 3", "part": "ans" },
{ "name": "ans4", "problem": "odpoved 4", "part": "ans" }
],
"correctAnswer": [
{ "name": "opt1", "correct": "ans1" },
{ "name": "opt2", "correct": "ans2" }
],
"solutions": [{}]
},
{
"title": "S02T03U00",
"cermat": true,
"taskText": "netučně",
"question": "Odpoved Ano / Ne",
"maxPoints": 3,
"partPoints": [0, 0, 1, 3],
"type": "yes-no",
"options": [
{ "name": "opt1", "problem": "otazka 1" },
{ "name": "opt2", "problem": "##86~\\text{m}##" },
{ "name": "opt3", "problem": "##93~\\text{m}##" }
],
"correctAnswer": [
{ "name": "opt1", "correct": true },
{ "name": "opt2", "correct": false },
{ "name": "opt3", "correct": false }
],
"solutions": [{}]
},
{
"title": "S01T02U31",
"taskText": "Netučně",
"question": "Tučně",
"maxPoints": 3,
"type": "sub-task",
"subTasks": [
{
"title": "Sub1",
"taskText": "Netučně",
"question": "Tučně",
"maxPoints": 1,
"type": "write",
"solutions": [{}]
},
{
"title": "Sub2",
"cermat": true,
"taskText": "Netučně.",
"question": "tučně.",
"maxPoints": 2,
"type": "options",
"options": [
{ "name": "opt1", "problem": "####" },
{ "name": "opt2", "problem": "####" },
{ "name": "opt3", "problem": "####" },
{ "name": "opt4", "problem": "####" },
{ "name": "opt5", "problem": "jiný " }
],
"correctAnswer": ["opt2"],
"solutions": [{}]
}
],
"solutions": [{}]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment