learningequality / learningequality/kolibri

Surveys - completion criteria

Open
#13,629 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

SIZE: small TAG: user strings
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

  1. The "Completion requirement" metadata when looking at the lesson report/preview as a coach is set to "Get every question correct":
Image
  1. When viewing the survey card as a learner I see "Get N correct"
Image

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

  1. Install Kolibri v0.18.2-beta0
  2. Create an exercise of type survey at unstable.studio.learningequality.org and publish the channel. You can use the following test channel: vajok-lomon
  3. Import the channel as an admin and assign the exercise to learners.

Usage Details

Kolibri v0.18.2-beta0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.