Result
The result is where you can report how well the actor performed on their task. If the activity was a question on a quiz you could track what their answer was and how many points they earned on that question. If the activity was completing an entire module, you could report their total score and how long they spent in the module. There are also defined properties for if they completed the activity, and if the activity was a success.
If you want to include scoring information in a result, you do do by including a score object, which itself can contains multiple properties, including:
- min the minimum possible score for this specific result
- max the maximum possible score for this result
- raw the actual score the user received for this result
- scaled the raw score divided by the max score.
A very simple result that captures the information in our example might look like:
"result":{
"success":true
"score":{
"min":0
"max":100
"raw":85
"scaled":0.85
}