-
Notifications
You must be signed in to change notification settings - Fork 25
/
example.json
59 lines (58 loc) · 2.41 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
54
55
56
57
58
59
// components.json
{
"_id": "c-05",
"_parentId": "b-05",
"_type": "component",
"_component": "assessmentResults",
"_classes": "",
"_layout": "full",
"title": "Results",
"displayTitle": "Results",
"body": "This component you're reading is a results component.",
"instruction": "",
"_assessmentId": "Assessment 1",
"_isVisibleBeforeCompletion": true,
"_comment": "setCompletionOn = inview | pass",
"_setCompletionOn": "inview",
"_comment": "_resetType = inherit | hard | soft",
"_resetType": "inherit",
"_retry": {
"button": "Retry Assessment",
"feedback": "Why not have another try? You have used {{attemptsSpent}} of {{attempts}} attempt(s), which means you have {{attemptsLeft}} attempt(s) remaining.",
"_routeToAssessment": true
},
"_completionBody" : "This component you're reading is a results component.<br>You have finished the assessment.<br>You scored {{{score}}} out of {{{maxScore}}}. {{{feedback}}}",
"_bands": [
{
"_score": 0,
"feedbackNotFinal": "Sorry, but you didn't pass. Take some time to review the course before giving it another try.",
"feedback": "Your score was below 25%.",
"_allowRetry": true
},
{
"_score": 25,
"feedbackNotFinal": "Sorry, but you didn't pass. Up for another try?",
"feedback": "Your score was below 50%.",
"_allowRetry": true
},
{
"_score": 50,
"feedbackNotFinal": "Nice try, but you didn't pass. Want to give it another go?",
"feedback": "Good effort, but your score was under 75%.",
"_allowRetry": true
},
{
"_score": 75,
"feedback": "Great work. You passed your assessment with {{{scoreAsPercent}}}%.",
"_allowRetry": false,
"_classes": "high-score"
}
],
"_pageLevelProgress": {
"_isEnabled": true
}
}
/*
* {{{feedback}}} is the only attribute specifically available through this component.
* Please see https://github.com/adaptlearning/adapt-contrib-assessment for other available assessment attributes "{{{attributes}}}"
*/