Add a qti_v2 format preset
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 15/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, python
Research direction
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.
Written by the indexing model from the issue text.
Description
❌ 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_v2that acceptszip, mirroringqti, as the last entry inpresetlookup.json, soRENDERABLE_PRESETS_ORDERgains it at the end and every existing preset keeps its position. - Its
ordermust be lower thanexercise's, so Kolibri prefers it over the Perseus file. qtistays unchanged.
Acceptance Criteria
-
format_presets.QTI_V2 == "qti_v2", with kind exercise, formatzip, not supplementary, and anorderlower thanexercise -
RENDERABLE_PRESETS_ORDERequals the previous list withqti_v2added 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.
- Dominant language
- Python
- Stars
- 7
- Forks
- 38
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from learningequality/le-utils
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
learningequality/le-utils#261 ·
-
Final cleanup after constants migrationMay be free again @rtibblesbot claimed this 40 days ago, and no pull request is open. Open
Difficulty 4/5 3-5 days Newbie friendliness 20/100
learningequality/le-utils#187 · 1 reaction · 1 assignee ·
-
Migrate languages.py to spec + code generationMay be free again @rtibblesbot claimed this 40 days ago, and no pull request is open. Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
learningequality/le-utils#186 · 1 reaction · 1 assignee ·
-
Migrate format_presets.py to spec + code generationPossibly taken @rtibblesbot claimed this 40 days ago. Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
learningequality/le-utils#185 · 1 comment · 1 reaction · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
learningequality/le-utils#181 ·
All issues in learningequality/le-utils
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
jxxghp/MoviePilot#7699 ·
Maintainers usually reply within 1 day
-
bug TAG: unit tests
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
learningequality/ricecooker#898 ·
-
next
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
j3ko/agent-plugins#80 ·
Maintainers usually reply within 1 day
-
bug:unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Heroic-Games-Launcher/HeroicGamesLauncher#6187 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
BCStudentSoftwareDevTeam/cas#491 ·
Maintainers usually reply within 8 days