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

オープン
#6,478 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
1/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
backend, content

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
JavaScript
スター
214
フォーク
327
平均マージ
17時間 5分
マージ済み PR(30日)
25

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

learningequality/studio のほかの issue

learningequality/studio の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。