Skip to content

Add a qti_v2 format preset #262

Backlog
Backlog

Description

@AlexVelezLl

❌ 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions