Skip to content

Add a QTI assessment-item type and renderable preset-bit ordering #224

Description

@rtibbles

Overview

Add the QTI assessment-item type and a stable preset→bit ordering for the renderable bitmask — both consumed by Studio and Kolibri.

Context

The Change

  • Add a QTI assessment-item type to constants.exercises.
  • Define the preset→bit ordering for the renderable bitmask as append-only: existing presets keep their bit; new presets get the next.

Acceptance Criteria

  • constants.exercises exposes a QTI assessment-item type
  • A stable, append-only preset→bit mapping backs the renderable bitmask
  • Studio and Kolibri can both import the type and the bit mapping

References

AI usage

Architecture decided with the maintainer across an iterative session: blanket QTI type with the item XML in raw_data; XSD-authoritative validation across all sources; a legacy→QTI global migration with an API-layer dual-read; ricecooker upload delegating to the AssessmentItem serializer; and a Perseus custom-interaction contract confirmed against the QTI 3.0 specification. Claude mapped the existing publish/validation/ricecooker code, proposed the breakdown, and drafted each issue; the maintainer steered every decision and reviewed throughout.

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions