-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1306 from AlbertoMoreta/oppia-1346-multi-lingual-…
…support-for-grade-boundaries OPPIA-1346: Add multi-lingual support for grade boundaries
- Loading branch information
Showing
6 changed files
with
513 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
229 changes: 229 additions & 0 deletions
229
app/src/androidTest/assets/quizzes/feedback_multilang_grade_boundaries.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,229 @@ | ||
{ | ||
"id":3472, | ||
"title":{ | ||
"en":"Feedback Multilang Grade Boundaries" | ||
}, | ||
"description":{ | ||
"en":"Feedback Multilang Grade Boundaries" | ||
}, | ||
"props":{ | ||
"allowtryagain":1, | ||
"courseversion":"20190521122247", | ||
"maxattempts":0, | ||
"digest":"b56d41a0bd7c93acdea034c50118414718295cr0s2a1p80a0m0", | ||
"maxscore":8, | ||
"availability":0, | ||
"showfeedback":2, | ||
"grade_boundaries": [ | ||
{"0": "Quiz score is between 20% and 49%. MaxQuizScore: {{max_score}}; UserScore: {{user_score}}; QuizScore: {{score_percentage}}%"}, | ||
{"50": "en=Quiz score is between 50% and 99%. MaxQuizScore: {{max_score}}; UserScore: {{user_score}}; QuizScore: {{score_percentage}}%\r\nes=La puntuación del quiz está entre 50% y 99%. PuntuaciónMáxima: {{max_score}}; PuntuaciónDelUsuario: {{user_score}}; PuntuaciónDelQuiz: {{score_percentage}}%"}, | ||
{"100": "en=Quiz score is 100%. MaxQuizScore: {{max_score}}; UserScore: {{user_score}}; QuizScore: {{score_percentage}}%\r\nes=La puntuación del quiz es de 100%. PuntuaciónMáxima: {{max_score}}; PuntuaciónDelUsuario: {{user_score}}; PuntuaciónDelQuiz: {{score_percentage}}%"} | ||
] | ||
}, | ||
"questions":[ | ||
{ | ||
"question":{ | ||
"responses":[ | ||
{ | ||
"title":{ | ||
"en":"Response with score 2.0" | ||
}, | ||
"props":{ | ||
"id":244 | ||
}, | ||
"order":1, | ||
"score":"2.0000", | ||
"id":103055 | ||
}, | ||
{ | ||
"title":{ | ||
"en":"Response with score 1.0" | ||
}, | ||
"props":{ | ||
"id":954 | ||
}, | ||
"order":2, | ||
"score":"1.0000", | ||
"id":103056 | ||
}, | ||
{ | ||
"title":{ | ||
"en":"Response with score 0.0" | ||
}, | ||
"props":{ | ||
"id":954 | ||
}, | ||
"order":2, | ||
"score":"0.0000", | ||
"id":103057 | ||
} | ||
], | ||
"props":{ | ||
"maxscore":2, | ||
"shuffleanswers":"1", | ||
"required": false | ||
}, | ||
"type":"multichoice", | ||
"id":36249, | ||
"title":{ | ||
"en":"Question 1" | ||
} | ||
}, | ||
"order":1, | ||
"id":36042 | ||
}, | ||
{ | ||
"question":{ | ||
"responses":[ | ||
{ | ||
"title":{ | ||
"en":"Response with score 2.0" | ||
}, | ||
"props":{ | ||
"id":244 | ||
}, | ||
"order":1, | ||
"score":"2.0000", | ||
"id":103058 | ||
}, | ||
{ | ||
"title":{ | ||
"en":"Response with score 1.0" | ||
}, | ||
"props":{ | ||
"id":954 | ||
}, | ||
"order":2, | ||
"score":"1.0000", | ||
"id":103059 | ||
}, | ||
{ | ||
"title":{ | ||
"en":"Response with score 0.0" | ||
}, | ||
"props":{ | ||
"id":954 | ||
}, | ||
"order":2, | ||
"score":"0.0000", | ||
"id":103060 | ||
} | ||
], | ||
"props":{ | ||
"maxscore":2, | ||
"shuffleanswers":"1", | ||
"required": false | ||
}, | ||
"type":"multichoice", | ||
"id":36250, | ||
"title":{ | ||
"en":"Question 2" | ||
} | ||
}, | ||
"order":2, | ||
"id":36043 | ||
}, | ||
{ | ||
"question":{ | ||
"responses":[ | ||
{ | ||
"title":{ | ||
"en":"Response with score 2.0" | ||
}, | ||
"props":{ | ||
"id":244 | ||
}, | ||
"order":1, | ||
"score":"2.0000", | ||
"id":103061 | ||
}, | ||
{ | ||
"title":{ | ||
"en":"Response with score 1.0" | ||
}, | ||
"props":{ | ||
"id":954 | ||
}, | ||
"order":2, | ||
"score":"1.0000", | ||
"id":103062 | ||
}, | ||
{ | ||
"title":{ | ||
"en":"Response with score 0.0" | ||
}, | ||
"props":{ | ||
"id":954 | ||
}, | ||
"order":2, | ||
"score":"0.0000", | ||
"id":103063 | ||
} | ||
], | ||
"props":{ | ||
"maxscore":2, | ||
"shuffleanswers":"1", | ||
"required": false | ||
}, | ||
"type":"multichoice", | ||
"id":36250, | ||
"title":{ | ||
"en":"Question 3" | ||
} | ||
}, | ||
"order":3, | ||
"id":36044 | ||
}, | ||
{ | ||
"question":{ | ||
"responses":[ | ||
{ | ||
"title":{ | ||
"en":"Response with score 2.0" | ||
}, | ||
"props":{ | ||
"id":244 | ||
}, | ||
"order":1, | ||
"score":"2.0000", | ||
"id":103064 | ||
}, | ||
{ | ||
"title":{ | ||
"en":"Response with score 1.0" | ||
}, | ||
"props":{ | ||
"id":954 | ||
}, | ||
"order":2, | ||
"score":"1.0000", | ||
"id":103065 | ||
}, | ||
{ | ||
"title":{ | ||
"en":"Response with score 0.0" | ||
}, | ||
"props":{ | ||
"id":954 | ||
}, | ||
"order":2, | ||
"score":"0.0000", | ||
"id":103066 | ||
} | ||
], | ||
"props":{ | ||
"maxscore":2, | ||
"shuffleanswers":"1", | ||
"required": false | ||
}, | ||
"type":"multichoice", | ||
"id":36250, | ||
"title":{ | ||
"en":"Question 4" | ||
} | ||
}, | ||
"order":3, | ||
"id":36045 | ||
} | ||
] | ||
} |
Oops, something went wrong.