forked from instructure/qti
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
closes: QUIZ-3453 test plan: 1. import a 2.2 item package 2. verify it imports Change-Id: I35ac23d5be3f9e9bda4ee1d723d323a215ece2e9 Reviewed-on: https://gerrit.instructure.com/134451 Tested-by: Jenkins Reviewed-by: Han Yan <[email protected]> QA-Review: Michael Hanks <[email protected]> Product-Review: Hannah Bottalla <[email protected]>
- Loading branch information
Showing
110 changed files
with
593 additions
and
361 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module Qti | ||
VERSION = '0.9.4'.freeze | ||
VERSION = '0.9.5'.freeze | ||
end |
4 changes: 1 addition & 3 deletions
4
spec/fixtures/items_2.1/Example02-feedbackInline.xml
100755 → 100644
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,31 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Thie example adapted from the PET Handbook, copyright University of Cambridge ESOL Examinations --> | ||
<assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_v2p2" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p2 http://www.imsglobal.org/xsd/qti/qtiv2p2/imsqti_v2p2.xsd" | ||
identifier="choice" title="Unattended Luggage" adaptive="false" timeDependent="false"> | ||
<responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier"> | ||
<correctResponse> | ||
<value>ChoiceA</value> | ||
</correctResponse> | ||
</responseDeclaration> | ||
<outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"> | ||
<defaultValue> | ||
<value>0</value> | ||
</defaultValue> | ||
</outcomeDeclaration> | ||
<itemBody> | ||
<p>Look at the text in the picture.</p> | ||
<p> | ||
<img src="images/sign.png" alt="NEVER LEAVE LUGGAGE UNATTENDED"/> | ||
</p> | ||
<choiceInteraction responseIdentifier="RESPONSE" shuffle="TRUE" maxChoices="1"> | ||
<prompt>What does it say?</prompt> | ||
<simpleChoice identifier="ChoiceA">You must stay with your luggage at all times.</simpleChoice> | ||
<simpleChoice identifier="ChoiceB">Do not let someone else look after your luggage.</simpleChoice> | ||
<simpleChoice identifier="ChoiceC">Remember your luggage when you leave.</simpleChoice> | ||
</choiceInteraction> | ||
</itemBody> | ||
<responseProcessing | ||
template="http://www.imsglobal.org/question/qti_v2p2/rptemplates/match_correct"/> | ||
<assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p1 http://www.imsglobal.org/xsd/qti/qtiv2p1/imsqti_v2p1p2.xsd" identifier="choice" title="Unattended Luggage" adaptive="false" timeDependent="false"> | ||
<responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier"> | ||
<correctResponse> | ||
<value>ChoiceA</value> | ||
</correctResponse> | ||
</responseDeclaration> | ||
<outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"> | ||
<defaultValue> | ||
<value>0</value> | ||
</defaultValue> | ||
</outcomeDeclaration> | ||
<itemBody> | ||
<p>Look at the text in the picture.</p> | ||
<p> | ||
<img src="images/sign.png" alt="NEVER LEAVE LUGGAGE UNATTENDED"/> | ||
</p> | ||
<choiceInteraction responseIdentifier="RESPONSE" shuffle="TRUE" maxChoices="1"> | ||
<prompt>What does it say?</prompt> | ||
<simpleChoice identifier="ChoiceA">You must stay with your luggage at all times.</simpleChoice> | ||
<simpleChoice identifier="ChoiceB">Do not let someone else look after your luggage.</simpleChoice> | ||
<simpleChoice identifier="ChoiceC">Remember your luggage when you leave.</simpleChoice> | ||
</choiceInteraction> | ||
</itemBody> | ||
<responseProcessing | ||
template="http://www.imsglobal.org/question/qti_v2p2/rptemplates/match_correct"/> | ||
</assessmentItem> |
This file contains 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
69 changes: 33 additions & 36 deletions
69
spec/fixtures/items_2.1/extended_text_rubric.xml
100755 → 100644
This file contains 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 |
---|---|---|
@@ -1,36 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Thie example adapted from the PET Handbook, copyright University of Cambridge ESOL Examinations --> | ||
<assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_v2p2" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p2 http://www.imsglobal.org/xsd/qti/qtiv2p2/imsqti_v2p2.xsd" | ||
identifier="extendedText" title="Writing a Postcard with rubric" adaptive="false" timeDependent="false"> | ||
<responseDeclaration identifier="RESPONSE" cardinality="single" baseType="string"/> | ||
<outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"/> | ||
<itemBody> | ||
<p>Read this postcard from your English pen-friend, Sam.</p> | ||
<div> | ||
<object type="image/png" data="images/postcard.png"> | ||
<blockquote class="postcard"> | ||
<p>Here is a postcard of my town. Please send me<br/> a postcard from your town. | ||
What size is your<br/> town? What is the nicest part of your town?<br/> | ||
Where do you go in the evenings?<br/> Sam.</p> | ||
</blockquote> | ||
</object> | ||
</div> | ||
<extendedTextInteraction responseIdentifier="RESPONSE" expectedLength="200"> | ||
<prompt>Write Sam a postcard. Answer the questions. Write 25-35 words.</prompt> | ||
</extendedTextInteraction> | ||
<rubricBlock view="scorer"> | ||
<h1>Scoring Guidelines</h1> | ||
<div> | ||
<p><b>Max Score:</b> 3.0 points</p> | ||
<p><b>Scoring:</b></p> | ||
<ul> | ||
<li>When not all 3 questions are answered in the response: -1 for each missing.</li> | ||
<li>Check for gramatical errors: -0.1 per error.</li> | ||
<li>Possibly add in .1 increments extra bonus points for extra good answers.</li> | ||
</ul> | ||
</div> | ||
</rubricBlock> | ||
</itemBody> | ||
</assessmentItem> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Thie example adapted from the PET Handbook, copyright University of Cambridge ESOL Examinations --> | ||
<assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p1 http://www.imsglobal.org/xsd/qti/qtiv2p1/imsqti_v2p1p2.xsd" identifier="extendedText" title="Writing a Postcard with rubric" adaptive="false" timeDependent="false"> | ||
<responseDeclaration identifier="RESPONSE" cardinality="single" baseType="string"/> | ||
<outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"/> | ||
<itemBody> | ||
<p>Read this postcard from your English pen-friend, Sam.</p> | ||
<div> | ||
<object type="image/png" data="images/postcard.png"> | ||
<blockquote class="postcard"> | ||
<p>Here is a postcard of my town. Please send me<br/> a postcard from your town. | ||
What size is your<br/> town? What is the nicest part of your town?<br/> | ||
Where do you go in the evenings?<br/> Sam.</p> | ||
</blockquote> | ||
</object> | ||
</div> | ||
<extendedTextInteraction responseIdentifier="RESPONSE" expectedLength="200"> | ||
<prompt>Write Sam a postcard. Answer the questions. Write 25-35 words.</prompt> | ||
</extendedTextInteraction> | ||
<rubricBlock view="scorer"> | ||
<h1>Scoring Guidelines</h1> | ||
<div> | ||
<p><b>Max Score:</b> 3.0 points</p> | ||
<p><b>Scoring:</b></p> | ||
<ul> | ||
<li>When not all 3 questions are answered in the response: -1 for each missing.</li> | ||
<li>Check for gramatical errors: -0.1 per error.</li> | ||
<li>Possibly add in .1 increments extra bonus points for extra good answers.</li> | ||
</ul> | ||
</div> | ||
</rubricBlock> | ||
</itemBody> | ||
</assessmentItem> |
This file contains 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.