-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from oat-sa/fix/legacy-progress-item-count
Fix/legacy progress item count
- Loading branch information
Showing
10 changed files
with
158 additions
and
7 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
23 changes: 23 additions & 0 deletions
23
test/samples/custom/tests/linear_nonLinear_multiple_testparts/Q01.xml
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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_v2p1.xsd" | ||
identifier="Q01" title="What is TAO?" adaptive="false" timeDependent="false"> | ||
<responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier"> | ||
<correctResponse> | ||
<value>tao</value> | ||
</correctResponse> | ||
</responseDeclaration> | ||
<outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"> | ||
<defaultValue> | ||
<value>0</value> | ||
</defaultValue> | ||
</outcomeDeclaration> | ||
<itemBody> | ||
<choiceInteraction id="interaction" responseIdentifier="RESPONSE" shuffle="false" maxChoices="1"> | ||
<prompt>What is TAO?</prompt> | ||
<simpleChoice identifier="chinese">A metaphysical Chinese concept</simpleChoice> | ||
<simpleChoice identifier="tao">A commercial-grade, open-source assessment platform.</simpleChoice> | ||
<simpleChoice identifier="drink">A soft drink</simpleChoice> | ||
</choiceInteraction> | ||
</itemBody> | ||
<responseProcessing template="http://www.imsglobal.org/question/qti_v2p1/rptemplates/match_correct"/> | ||
</assessmentItem> |
7 changes: 7 additions & 0 deletions
7
test/samples/custom/tests/linear_nonLinear_multiple_testparts/Q02.xml
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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_v2p1.xsd" | ||
identifier="Q02" title="Interlude" adaptive="false" timeDependent="false"> | ||
<itemBody> | ||
<p><strong>Interlude!</strong></p> | ||
</itemBody> | ||
</assessmentItem> |
23 changes: 23 additions & 0 deletions
23
test/samples/custom/tests/linear_nonLinear_multiple_testparts/Q03.xml
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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_v2p1.xsd" | ||
identifier="Q03" title="What does mean GT?" adaptive="false" timeDependent="false"> | ||
<responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier"> | ||
<correctResponse> | ||
<value>turismo</value> | ||
</correctResponse> | ||
</responseDeclaration> | ||
<outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"> | ||
<defaultValue> | ||
<value>0</value> | ||
</defaultValue> | ||
</outcomeDeclaration> | ||
<itemBody> | ||
<choiceInteraction id="interaction" responseIdentifier="RESPONSE" shuffle="false" maxChoices="1"> | ||
<prompt>What does mean GT within the concept of racing cars?</prompt> | ||
<simpleChoice identifier="turbo">Great Turbo</simpleChoice> | ||
<simpleChoice identifier="turbine">Gear Turbine</simpleChoice> | ||
<simpleChoice identifier="turismo">Gran Turismo</simpleChoice> | ||
</choiceInteraction> | ||
</itemBody> | ||
<responseProcessing template="http://www.imsglobal.org/question/qti_v2p1/rptemplates/match_correct"/> | ||
</assessmentItem> |
22 changes: 22 additions & 0 deletions
22
test/samples/custom/tests/linear_nonLinear_multiple_testparts/Q04.xml
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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_v2p1.xsd" | ||
identifier="Q04" title="The Sun?" adaptive="false" timeDependent="false"> | ||
<responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier"> | ||
<correctResponse> | ||
<value>correct</value> | ||
</correctResponse> | ||
</responseDeclaration> | ||
<outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"> | ||
<defaultValue> | ||
<value>0</value> | ||
</defaultValue> | ||
</outcomeDeclaration> | ||
<itemBody> | ||
<choiceInteraction id="interaction" responseIdentifier="RESPONSE" shuffle="false" maxChoices="1"> | ||
<prompt>Planet Earth turns around the Sun</prompt> | ||
<simpleChoice identifier="correct">True</simpleChoice> | ||
<simpleChoice identifier="incorrect">False</simpleChoice> | ||
</choiceInteraction> | ||
</itemBody> | ||
<responseProcessing template="http://www.imsglobal.org/question/qti_v2p1/rptemplates/match_correct"/> | ||
</assessmentItem> |
7 changes: 7 additions & 0 deletions
7
test/samples/custom/tests/linear_nonLinear_multiple_testparts/Q05.xml
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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_v2p1.xsd" | ||
identifier="Q05" title="Interlude" adaptive="false" timeDependent="false"> | ||
<itemBody> | ||
<p><strong>Interlude!</strong></p> | ||
</itemBody> | ||
</assessmentItem> |
22 changes: 22 additions & 0 deletions
22
test/samples/custom/tests/linear_nonLinear_multiple_testparts/Q06.xml
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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_v2p1.xsd" | ||
identifier="Q06" title="A star?" adaptive="false" timeDependent="false"> | ||
<responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier"> | ||
<correctResponse> | ||
<value>correct</value> | ||
</correctResponse> | ||
</responseDeclaration> | ||
<outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"> | ||
<defaultValue> | ||
<value>0</value> | ||
</defaultValue> | ||
</outcomeDeclaration> | ||
<itemBody> | ||
<choiceInteraction id="interaction" responseIdentifier="RESPONSE" shuffle="false" maxChoices="1"> | ||
<prompt>The Sun is the star of our Solar System.</prompt> | ||
<simpleChoice identifier="correct">True</simpleChoice> | ||
<simpleChoice identifier="incorrect">False</simpleChoice> | ||
</choiceInteraction> | ||
</itemBody> | ||
<responseProcessing template="http://www.imsglobal.org/question/qti_v2p1/rptemplates/match_correct"/> | ||
</assessmentItem> |
22 changes: 22 additions & 0 deletions
22
test/samples/custom/tests/linear_nonLinear_multiple_testparts/test.xml
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<assessmentTest 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_v2p1.xsd" | ||
identifier="T01" title="Linear Non Linear Multiple Test Parts"> | ||
<testPart navigationMode="linear" submissionMode="individual" identifier="TP01"> | ||
<itemSessionControl maxAttempts="0" allowSkipping="true"/> | ||
<assessmentSection identifier="S01" title="Section 01" visible="true" required="true"> | ||
<assessmentItemRef identifier="Q01" href="./Q01.xml"/> | ||
<assessmentItemRef identifier="Q02" href="./Q02.xml"/> | ||
<assessmentItemRef identifier="Q03" href="./Q03.xml"/> | ||
</assessmentSection> | ||
</testPart> | ||
<testPart navigationMode="nonlinear" submissionMode="individual" identifier="TP02"> | ||
<itemSessionControl maxAttempts="0" allowSkipping="true"/> | ||
<assessmentSection identifier="S02" title="Section 02" visible="true" required="true"> | ||
<assessmentItemRef identifier="Q04" href="./Q04.xml"/> | ||
<assessmentItemRef identifier="Q05" href="./Q05.xml"/> | ||
<assessmentItemRef identifier="Q06" href="./Q06.xml"/> | ||
</assessmentSection> | ||
</testPart> | ||
</assessmentTest> |