Add a qti_v2 format preset

Abierto
#262 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
15/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
javascript, python
Área
backend, release

Línea de trabajo

The issue says this is not open for contribution, so it is not a suitable first issue. For maintainers, inspect presetlookup.json and the code that generates the JavaScript constants; keep existing preset order intact, verify qti_v2 has the specified exercise settings and appears last in RENDERABLE_PRESETS_ORDER, then publish a release containing it.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Overview

We need a new qti_v2 preset for exercises. Studio will publish all QTI assessments with it so that Kolibri versions without qti_v2 support fall back to the Perseus file instead of using the survey QTI viewer. Tracked in learningequality/studio#6478.

Complexity: Low
Target branch: main

The Change
  • Add an exercise preset qti_v2 that accepts zip, mirroring qti, as the last entry in presetlookup.json, so RENDERABLE_PRESETS_ORDER gains it at the end and every existing preset keeps its position.
  • Its order must be lower than exercise's, so Kolibri prefers it over the Perseus file.
  • qti stays unchanged.
Acceptance Criteria
  • format_presets.QTI_V2 == "qti_v2", with kind exercise, format zip, not supplementary, and an order lower than exercise
  • RENDERABLE_PRESETS_ORDER equals the previous list with qti_v2 added at the end
  • The generated JS constants include qti_v2
  • A release is published containing it

AI usage

Claude drafted this issue from the plan in learningequality/studio#6478, which I then checked and corrected for accuracy.

Lenguaje dominante
Python
Estrellas
7
Forks
38
Merge medio
1 d 3 h
PR fusionados (30 d)
7

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de learningequality/le-utils

Todos los issues de learningequality/le-utils

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.