Add a qti_v2 format preset

Offen
#262 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
15/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
javascript, python
Bereich
backend, release

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Python
Sterne
7
Forks
38
Ø Merge
1 T. 3 Std.
Gemergte PRs (30 T.)
7

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus learningequality/le-utils

Alle Issues in learningequality/le-utils

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.