[QTI] Older Kolibri can't render exercises of only legacy items published from unstable
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
❌ 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.
- Lenguaje dominante
- Python
- Estrellas
- 191
- Forks
- 308
- Merge medio
- 2 d 17 h
- PR fusionados (30 d)
- 64
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de learningequality/studio
-
Set unpublishable: true on PublishedChange by construction to simplify handleMaxRevs predicateAbiertoDEV: frontend P3 - low
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
learningequality/studio#5868 ·
Los mantenedores suelen responder en 1 día
-
TAG: tech update / debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
learningequality/studio#2245 ·
Los mantenedores suelen responder en 1 día
-
bug DEV: frontend
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
learningequality/studio#6308 ·
Los mantenedores suelen responder en 1 día
-
bug DEV: frontend
Dificultad 3/5 1-2 días Aptitud para principiantes 20/100
learningequality/studio#6307 ·
Los mantenedores suelen responder en 1 día
-
bug DEV: backend python
Dificultad 3/5 1-2 días Aptitud para principiantes 30/100
learningequality/studio#6305 ·
Los mantenedores suelen responder en 1 día
Todos los issues de learningequality/studio
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Deepak3699/Ai_Mentor#244 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
btclib-org/btclib-node#1880 ·
Los mantenedores suelen responder en 1 día
-
CONTRIBUTING.md: say how ticketless bug fixes and feature PRs are handledPosiblemente ocupada @khuisman la tomó hoy. Abiertov0.9.2
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
khuisman/mcp-gee-sweet#941 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
pyjanitor-devs/pyjanitor#1758 ·
Los mantenedores suelen responder en 1 día
-
bug ready for review
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
odysseus-dev/odysseus#6641 ·
Los mantenedores suelen responder en 1 día