forked from adaptlearning/adapt-contrib-assessmentResults
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.json
55 lines (50 loc) · 1.61 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
//component.json
{
"_id":"c-130",
"_parentId":"b-31",
"_type":"component",
"_component":"assessmentResults",
"_classes":"",
"_layout":"full",
"title":"Results",
"displayTitle":"Results",
"body":"This component you're reading is a results component.",
"instruction":"",
"_isVisibleBeforeCompletion": true,
"_pageLevelProgress": {
"_isEnabled": true
},
"_assessmentId": "Assessment 1",
"_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."
},
"_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,
"feedback": "Your score was below 25%.",
"_allowRetry": true
},
{
"_score": 25,
"feedback": "Your score was below 50%.",
"_allowRetry": true
},
{
"_score": 50,
"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"
}
]
},
/*
{{{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}}}"
*/