learningequality / learningequality/kolibri
Surveys - completion criteria
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 972
- Avg merge
- 7d 16h
- Merged PRs (30d)
- 33
Description
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Observed behavior
- The "Completion requirement" metadata when looking at the lesson report/preview as a coach is set to "Get every question correct":
- When viewing the survey card as a learner I see "Get N correct"
Expected behavior
For Practice Quizzes we display a special label on content cards (logic is here: https://github.com/learningequality/kolibri/blob/develop/packages/kolibri-common/composables/useLearningActivities.js#L139) we should do similarly for Surveys - this will require a new string.
For coach reports, surveys can be handled similarly to practice quizzes here: https://github.com/learningequality/kolibri/blob/develop/kolibri/plugins/coach/assets/src/views/common/ReportsResourceHeader.vue#L52
Steps to reproduce the issue
- Install Kolibri v0.18.2-beta0
- Create an exercise of type survey at unstable.studio.learningequality.org and publish the channel. You can use the following test channel:
vajok-lomon - Import the channel as an admin and assign the exercise to learners.
Usage Details
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the practice-quiz handling in packages/kolibri-common/composables/useLearningActivities.js and the coach report logic in kolibri/plugins/coach/assets/src/views/common/ReportsResourceHeader.vue. Trace how survey completion criteria are displayed for learner cards and coach reports. Done means surveys use the intended special label in both views, with the required new translation string.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100