[QTI] Publish QTI assessments with the qti_v2 preset
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/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
Hướng nghiên cứu
Start by reading the listed preset references in utils/assessment/qti/archive.py, utils/publish.py, utils/import_tools.py, and utils/recommendations.py, then check frontend/shared/leUtils/FormatPresets.js and the linked le-utils release. Trace publish, republish, restore, and recommendation flows against the acceptance criteria; done means each criterion is covered, including restoring legacy qti files and removing them on republish of an unedited node.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
Studio should publish every QTI assessment (exercises, units and surveys) with the new qti_v2 preset instead of qti. Then Kolibri versions that can't render qti_v2 fall back to the Perseus file. Part of #6478.
Complexity: Medium
Target branch: unstable
Context
Places that hard-code format_presets.QTI_ZIP:
utils/assessment/qti/archive.py:QTIExerciseGenerator.presetutils/publish.py: the stale-preset cleanup inrecurse_nodes, the mixed-node exercise bit increate_associated_file_objects, andcreate_kolibri_assessment_metadata, which reads item ids from the QTI manifest and otherwise falls back to hex ids that don't match either archiveutils/import_tools.py: restoring QTI items from a published channelutils/recommendations.py: the map from content kind to presetsfrontend/shared/leUtils/FormatPresets.js: generated from le-utils
The Change
- Every QTI file Studio publishes (exercises, units and surveys) should use
qti_v2. The Perseus dual-publish rules don't change. - Republishing a node whose earlier publish created a
qtifile should remove that file, so the channel ships onlyqti_v2. This includes nodes that haven't been edited since. - Item ids in assessment metadata, the exercise bit on mixed nodes, and recommendations should all work from the
qti_v2file. - Restoring a published channel should read
qti_v2files and still readqtifiles from channels published before this change. - Bump le-utils to the release from learningequality/le-utils#262.
Out of Scope
- The editor warning for exercises only visible on 0.21+ (#6480)
- Changing which questions get a Perseus archive
Acceptance Criteria
General
- Publishing a QTI exercise, unit or survey produces a
qti_v2file and noqtifile - Republishing a channel removes
qtifiles that earlier publishes created, including on nodes that weren't edited -
AssessmentMetaData.assessment_item_idsmatch the item ids in both theqti_v2package and the Perseus archive - On a mixed node, the
qti_v2file'sincluded_presetsincludes the exercise bit - Restoring a published channel recovers QTI items from both
qti_v2andqtifiles - The
qti_v2FormatPresetexists in Studio after deploy, and the frontend preset constants include it
Testing
- Tests cover each criterion above, including a republish of an unedited node that has a
qtifile
AI usage
Claude found the places that hard-code the qti preset in Studio's publish and restore code and 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
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của learningequality/studio
-
Community library status changes don't update `date_updated`Có thể đã có người làm @ArpitaSamanta10 đã nhận 13 ngày trước. Đang mởcommunity-contribution-in-progress DEV: backend good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
learningequality/studio#6414 · 8 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Activation key can activate a different account whose email differs only in caseCó thể đã có người làm @Madhu-priya123 đã nhận 4 ngày trước. Đang mởDEV: backend
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
learningequality/studio#6410 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
DEV: backend
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
learningequality/studio#6409 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
DEV: backend
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
learningequality/studio#6407 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Stripe webhook accepts events when no webhook secret is configuredCó thể đã có người làm @adibmbrk đã nhận 14 ngày trước. Đang mởcommunity-contribution-in-progress DEV: backend good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
learningequality/studio#6404 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của learningequality/studio
Issue tương tự
-
enhancement good first issue shields parity
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
seuthootDev/terminal-shields#125 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[ui] 自創球員 (投手): pick 球種 at creation (直球 fixed + up to 2 more), trade-off line, shown on the cardĐang mởarea:ui P1 status:doing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
sunososobro-hub/cloudball#1153 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
NuSkooler/enigma-bbs#1241 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
harness seguranca target:staging
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
corosolto/client#1507 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày