-
-
Notifications
You must be signed in to change notification settings - Fork 306
Replace the legacy assessment editor with the QTI editor #6095
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
AlexVelezLl
wants to merge
14
commits into
learningequality:unstable
Choose a base branch
from
AlexVelezLl:base-qti-migration
base: unstable
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
dbf43e7
fix: convert the legacy markdown the QTI models rejected
rtibblesbot 38e9332
fix: give an answerless legacy choice question an empty choice intera…
rtibblesbot 9625adf
feat: convert still-legacy assessment items to QTI on read
rtibblesbot 7469452
fix: make QTI serialization match what the schema and API accept
AlexVelezLl 46b10dd
refactor: split the pure interaction registry from the editor components
AlexVelezLl 3e841a8
feat: validate and create QTI items without rendering them
AlexVelezLl 5617297
feat: show each question's state in its card
AlexVelezLl 5549d64
refactor: validate interactions without debouncing
AlexVelezLl 9561ce7
feat: author and preview exercise questions with the QTI editor
AlexVelezLl 7a38bfc
refactor: remove the legacy assessment editor
AlexVelezLl 05e3f9f
fix: read and write converted legacy questions correctly
AlexVelezLl 13ec431
feat: read and edit the hints of a converted legacy question
AlexVelezLl 0f1fe73
fix: treat image-only and formula-only rich text as content
AlexVelezLl d8b5f6d
refactor: use clearer tests names
AlexVelezLl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
contentcuration/contentcuration/tests/utils/qti/fixtures/single_selection_no_answers.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <qti-assessment-item xmlns="http://www.imsglobal.org/xsd/imsqtiasi_v3p0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqtiasi_v3p0 https://purl.imsglobal.org/spec/qti/v3p0/schema/xsd/imsqti_asiv3p0p1_v1p0.xsd" identifier="Kq83vEjRWeJCrze8SNFZ4kA" title="Test Question 1" adaptive="false" time-dependent="false" xml:lang="en-US" tool-name="kolibri" tool-version="0.1"> | ||
| <qti-response-declaration identifier="RESPONSE" cardinality="single" base-type="identifier" /> | ||
| <qti-outcome-declaration identifier="SCORE" cardinality="single" base-type="float" /> | ||
| <qti-item-body> | ||
| <qti-choice-interaction response-identifier="RESPONSE" shuffle="true" max-choices="1" min-choices="0" orientation="vertical"> | ||
| <qti-prompt> | ||
| <p>What is 2+2?</p> | ||
| </qti-prompt> | ||
| <qti-simple-choice identifier="choice_0" show-hide="show" fixed="false" /> | ||
| </qti-choice-interaction> | ||
| </qti-item-body> | ||
| <qti-response-processing template="https://purl.imsglobal.org/spec/qti/v3p0/rptemplates/match_correct" /> | ||
| </qti-assessment-item> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Resolved — addressed in the current code.
praise: Per-tag
validate_qti_item(...).is_valid, not just tag absence.