QTI records a blank, incorrect RESPONSE when a learner opens a Perseus explanation or definition
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 58/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, python
Research direction
Read kolibri/plugins/qti_viewer/frontend/components/interactions/PerseusCustomInteraction.vue around lines 30–60 and trace how Perseus interaction events update RESPONSE. Check the explanation and definition widget click handlers, then run the relevant QTI viewer tests. Done means opening either widget leaves RESPONSE unchanged while changing an answer still records its grade.
Written by the indexing model from the issue text.
Description
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Target branch: release-v0.20.x
Observed behavior
- In a QTI item embedding Perseus, every Perseus
interactionis graded:PerseusCustomInteraction.vue#L30-L60. - Perseus's explanation widget and definition widget call
trackInteractionon click with no input, so opening either writes the empty answer intoRESPONSEas incorrect. - The definition widget renders on
release-v0.20.xonly once #16054 lands; the explanation widget does so today.
Expected behavior
- Opening an explanation or definition leaves
RESPONSEunchanged.
User-facing consequences
- A learner reading a definition before answering has an incorrect response recorded for that item.
Steps to reproduce
- Open a QTI item with a
qti-custom-interactionwhose Perseus item has an explanation widget. - Click the explanation toggle before entering an answer.
- The item's
RESPONSEholdscorrect: falsewith an emptysimpleAnswer.
Context
release-v0.20.xat e3b074b70f; develop'sPerseusCustomInteraction.vuegrades the same way.
Acceptance Criteria
- Clicking an explanation toggle or definition word in a QTI-embedded Perseus item leaves
RESPONSEas it was. - Changing an answer input in the same item still grades into
RESPONSE.
AI usage
Claude Code found this while fixing #16054, traced it in the source and drafted this issue.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 1.1k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 87
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from learningequality/kolibri
-
Setup wizard's "Responsibilities as an administrator" step throws when left within 200 ms of openingOpenAPP: Setup Wizard bug DEV: frontend
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
learningequality/kolibri#16097 ·
Maintainers usually reply within 1 day
-
bug DEV: frontend
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
learningequality/kolibri#16050 ·
Maintainers usually reply within 1 day
-
APP: Learn bug DEV: frontend
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
learningequality/kolibri#16096 ·
Maintainers usually reply within 1 day
-
APP: Learn bug DEV: frontend
Difficulty 4/5 3-5 days Newbie friendliness 35/100
learningequality/kolibri#16095 ·
Maintainers usually reply within 1 day
-
APP: Learn bug DEV: frontend
Difficulty 3/5 1-2 days Newbie friendliness 35/100
learningequality/kolibri#16094 ·
Maintainers usually reply within 1 day
All issues in learningequality/kolibri
Similar issues
-
backend: claude chore dependencies
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
briandconnelly/amicus#606 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
semantica-agi/semantica#2320 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
vllm-project/vllm-omni#11465 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
jxxghp/MoviePilot#7699 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
vllm-project/vllm-ascend#24010 ·
Maintainers usually reply within 1 day