Add a qti_v2 format preset

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

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

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
15/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ệ
javascript, python
Lĩnh vực
backend, release

Hướng nghiên cứu

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.

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

Mô tả

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.

Ngôn ngữ chính
Python
Star
7
Fork
38
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
7

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/le-utils

Tất cả issue của learningequality/le-utils

Issue tương tự

Thêm issue về Python

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.