[QTI] Publish QTI assessments with a new preset so older Kolibri falls back to Perseus

Offen
#6,478 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
1/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
backend, content

Rechercherichtung

The issue names le-utils’ presetlookup.json and Studio’s assessment publishing, and says Kolibri rendering changes are in scope across develop and release-v0.20.x. Start by tracing how Studio selects assessment presets and how the preset lookup controls priority. Done means republished test content matches the version matrix and Studio emits no qti preset files; the issue explicitly says it is not open for contribution.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

DEV: backend

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

Overview

Exercises published from the new editor need to render correctly on every Kolibri version. Since 0.18.2, Kolibri has shipped a QTI viewer for the qti preset. It was built for surveys, so it accepts every answer and shows a blank page for question types it doesn't support. Studio sets file priority once for all Kolibri versions, so 0.18.2–0.19.x devices choose that viewer over the Perseus file we publish alongside.

We'll add a qti_v2 preset in le-utils and publish every assessment from Studio with it, surveys included. Kolibri only renders qti_v2 from 0.21. Earlier versions use the Perseus file when there is one and hide the exercise when there isn't. Editors get a warning when an exercise will only be visible on 0.21+.

Scope

In:

  • New qti_v2 preset in le-utils
  • Studio publishes every assessment with qti_v2 and no longer ships qti files
  • Kolibri renders qti_v2 from 0.21 (develop); release-v0.20.x stays on Perseus

Out:

  • The Studio warning when an exercise will only be visible on Kolibri 0.21+ (tracked under #6103: #6480)
  • Removing or changing the legacy qti preset or its viewer in Kolibri
  • Making more question types expressible in Perseus
  • Content already imported on devices (it is fixed once the channel is republished)
Strategy
  • qti_v2 must be the last entry in le-utils' presetlookup.json, with order: 0.
  • Release order: le-utils, then Studio. The Studio change has to reach production in the same release as the new editor, or earlier.
  • The unsupported-interaction handling planned for Kolibri 0.20 moves to 0.21.
Testing Requirements

Republish a channel containing (a) an exercise whose questions can all be published to Perseus, (b) an exercise that can't, and (c) a survey. Then import it on:

Kolibri (a) (b) (c)
< 0.18.2 Perseus hidden hidden
0.18.2–0.19.x Perseus hidden hidden
0.20.x Perseus hidden hidden
0.21+ (develop) QTI QTI QTI
Acceptance Criteria
  • Republishing the test channel gives the results in the Testing Requirements table on each Kolibri version listed
  • No Studio publish produces a qti preset file

AI usage

I worked out the plan with Richard after Peter's testing. Claude checked it against Kolibri v0.18.2, v0.19.5, release-v0.20.x and develop, and against Studio's publish code, then drafted this issue, which I then checked and corrected for accuracy.

Vorherrschende Sprache
JavaScript
Sterne
214
Forks
327
Ø Merge
17 Std. 5 Min.
Gemergte PRs (30 T.)
25

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/studio

Alle Issues in learningequality/studio

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

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