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

Đang mở
#6,478 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
1/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend, content

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
JavaScript
Star
214
Fork
327
Merge trung bình
17 giờ 5 phút
Pull request đã merge (30 ngày)
25

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của learningequality/studio

Tất cả issue của learningequality/studio

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.