-
Notifications
You must be signed in to change notification settings - Fork 3
/
example.json
53 lines (50 loc) · 1.24 KB
/
example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// course.json
"_branching": {
"_isEnabled": true
}
// articles.json
"_branching": {
"_isEnabled": true,
"_comment": "Leave _start blank to start on the first block in the article",
"_start": ""
},
// blocks.json
"_branching": {
"_correct": "b-255",
"_partlyCorrect": "b-260",
"_incorrect": "b-270"
}
// blocks.json - When using attempt-based branching
"_branching": {
"_hasAttemptBands": true,
"_useQuestionAttempts": false,
"_attemptBands": [
{
"__comment": "2nd attempt",
"_attempts": 2,
"_correct": "b-255",
"_partlyCorrect": "b-260",
"_incorrect": "b-270"
},
{
"__comment": "3rd - 4th attempt",
"_attempts": 3,
"_correct": "b-255",
"_partlyCorrect": "b-260",
"_incorrect": "b-270"
},
{
"__comment": "5th+ attempt",
"_attempts": 5,
"_correct": "b-255",
"_partlyCorrect": "b-260",
"_incorrect": "b-270"
}
],
"__comment": "correct at any other attempt",
"_correct": "b-255",
"__comment": "partlyCorrect at any other attempt",
"_partlyCorrect": "b-260",
"__comment": "incorrect at any other attempt",
"_incorrect": "b-270"
}