[QTI] Older Kolibri can't render exercises of only legacy items published from unstable
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- Half a day
- Newbie friendliness
- 35/100
Research direction
The issue banner states it is not open for contribution. If you still study it, start at contentcuration/contentcuration/utils/publish.py: how exercises are sent to QTIExerciseGenerator vs PerseusExerciseGenerator and _node_is_perseus_derivable. Align unstable with the v2026.09.24 rule so legacy-only items get both qti and exercise files, and free_response stays QTI-only. Cover both cases with publish tests.
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.
Overview
On unstable, publishing an exercise whose questions are all legacy items produces a QTI package and no Perseus archive. Older Kolibri renders only Perseus, so it cannot render these exercises. Release v2026.09.24 publishes the same exercises as a Perseus archive.
Complexity: Low
Target branch: unstable
Context
- Publish sends every exercise without a
perseus_questionitem toQTIExerciseGenerator, and addsPerseusExerciseGeneratoronly when_node_is_perseus_derivableholds: https://github.com/learningequality/studio/blob/f4360ff91b7a2254763c6a58d50f3245559e15a0/contentcuration/contentcuration/utils/publish.py#L404-L415 _node_is_perseus_derivablereturnsFalsefor an exercise with notype=QTIitem: https://github.com/learningequality/studio/blob/f4360ff91b7a2254763c6a58d50f3245559e15a0/contentcuration/contentcuration/utils/publish.py#L264-L274- v2026.09.24 sends only exercises with a
free_responseitem to QTI: https://github.com/learningequality/studio/blob/fc30d8311037a2c1629a50a6dd58f5e8b7f7df34/contentcuration/contentcuration/utils/publish.py#L369-L377
The Change
- Legacy-only exercises should get the Perseus archive #6001 gives exercises of native QTI items, under the same rule: QTI only when any item has no Perseus equivalent.
How to Get There
- Publish a channel with an exercise holding only
multiple_selectionandinput_questionitems. - Check the exercise node's files: there is a
qti-preset file and noexercise-preset file.
Acceptance Criteria
- Publishing an exercise whose items are all
single_selection,multiple_selection,true_falseorinput_questionproduces both aqtiand anexercisefile. - Publishing an exercise with a
free_responseitem produces aqtifile only. - Tests cover both cases.
AI usage
Claude Code found this while reviewing the #6211 branch, reproduced it with a scratch publish test on unstable at f4360ff91, and drafted this issue.
- Dominant language
- Python
- Stars
- 191
- Forks
- 308
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 57
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/studio
-
DEV: frontend P3 - low
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
learningequality/studio#5868 ·
Maintainers usually reply within 1 day
-
TAG: tech update / debt
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
learningequality/studio#2245 ·
Maintainers usually reply within 1 day
-
DEV: frontend
Difficulty 3/5 1-2 days Newbie friendliness 45/100
learningequality/studio#6296 ·
Maintainers usually reply within 1 day
-
DEV: frontend P1 - important TAG: a11y
Difficulty 2/5 1-3 hours Newbie friendliness 28/100
learningequality/studio#6292 ·
Maintainers usually reply within 1 day
-
[QTI] Editing a question keeps the item-level content the editor doesn't writePossibly taken @rtibblesbot claimed this 1 day ago. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
learningequality/studio#6290 · 1 reaction · 1 assignee ·
Maintainers usually reply within 1 day
All issues in learningequality/studio
Similar issues
-
area/install reliability
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
FluidNumerics/fluid-walk-blocker#191 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
TransformerLensOrg/TransformerLens#1868 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
climate-analytics-lab/jax-gcm#1057 ·
Maintainers usually reply within 1 day