Added a simple course for testing the grading functions.
This commit is contained in:
1
common/test/data/graded/README.md
Normal file
1
common/test/data/graded/README.md
Normal file
@@ -0,0 +1 @@
|
||||
This is a very very simple course, useful for initial debugging of processing code.
|
||||
1
common/test/data/graded/course.xml
Symbolic link
1
common/test/data/graded/course.xml
Symbolic link
@@ -0,0 +1 @@
|
||||
roots/2012_Fall.xml
|
||||
87
common/test/data/graded/course/2012_Fall.xml
Normal file
87
common/test/data/graded/course/2012_Fall.xml
Normal file
@@ -0,0 +1,87 @@
|
||||
<course>
|
||||
<chapter url_name="GradedChapter">
|
||||
|
||||
<vertical url_name="Homework1">
|
||||
<problem url_name="H1P1">
|
||||
<optionresponse>
|
||||
<optioninput options="('Correct', 'Incorrect')" correct="Correct"></optioninput>
|
||||
<optioninput options="('Correct', 'Incorrect')" correct="Correct"></optioninput>
|
||||
</optionresponse>
|
||||
</problem>
|
||||
|
||||
<abtest experiment="HiddenProblem">
|
||||
<group name="SeeProblem" portion="1">
|
||||
|
||||
<problem url_name="H1P2">
|
||||
<optionresponse>
|
||||
<optioninput options="('Correct', 'Incorrect')" correct="Correct"></optioninput>
|
||||
<optioninput options="('Correct', 'Incorrect')" correct="Correct"></optioninput>
|
||||
</optionresponse>
|
||||
</problem>
|
||||
|
||||
</group>
|
||||
|
||||
<group name="HiddenProblem" portion="0">
|
||||
|
||||
<problem url_name="H1P3">
|
||||
<optionresponse>
|
||||
<optioninput options="('Correct', 'Incorrect')" correct="Correct"></optioninput>
|
||||
<optioninput options="('Correct', 'Incorrect')" correct="Correct"></optioninput>
|
||||
</optionresponse>
|
||||
</problem>
|
||||
|
||||
</group>
|
||||
|
||||
</abtest>
|
||||
</vertical>
|
||||
|
||||
|
||||
<videosequence url_name="Homework2">
|
||||
<vertical url_name="Homework2Inner">
|
||||
|
||||
<problem url_name="H2P1">
|
||||
<optionresponse>
|
||||
<optioninput options="('Correct', 'Incorrect')" correct="Correct"></optioninput>
|
||||
<optioninput options="('Correct', 'Incorrect')" correct="Correct"></optioninput>
|
||||
</optionresponse>
|
||||
</problem>
|
||||
|
||||
<problem url_name="H2P2">
|
||||
<optionresponse>
|
||||
<optioninput options="('Correct', 'Incorrect')" correct="Correct"></optioninput>
|
||||
<optioninput options="('Correct', 'Incorrect')" correct="Correct"></optioninput>
|
||||
</optionresponse>
|
||||
</problem>
|
||||
|
||||
</vertical>
|
||||
</videosequence>
|
||||
|
||||
<videosequence url_name="Homework3">
|
||||
<vertical url_name="Homework3Inner">
|
||||
|
||||
<problem url_name="H3P1">
|
||||
<optionresponse>
|
||||
<optioninput options="('Correct', 'Incorrect')" correct="Correct"></optioninput>
|
||||
<optioninput options="('Correct', 'Incorrect')" correct="Correct"></optioninput>
|
||||
</optionresponse>
|
||||
</problem>
|
||||
|
||||
<problem url_name="H3P2">
|
||||
<optionresponse>
|
||||
<optioninput options="('Correct', 'Incorrect')" correct="Correct"></optioninput>
|
||||
<optioninput options="('Correct', 'Incorrect')" correct="Correct"></optioninput>
|
||||
</optionresponse>
|
||||
</problem>
|
||||
|
||||
</vertical>
|
||||
</videosequence>
|
||||
|
||||
<problem url_name="FinalQuestion">
|
||||
<optionresponse>
|
||||
<optioninput options="('Correct', 'Incorrect')" correct="Correct"></optioninput>
|
||||
<optioninput options="('Correct', 'Incorrect')" correct="Correct"></optioninput>
|
||||
</optionresponse>
|
||||
</problem>
|
||||
|
||||
</chapter>
|
||||
</course>
|
||||
1
common/test/data/graded/graded
Symbolic link
1
common/test/data/graded/graded
Symbolic link
@@ -0,0 +1 @@
|
||||
graded
|
||||
22
common/test/data/graded/grading_policy.json
Normal file
22
common/test/data/graded/grading_policy.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"GRADER" : [
|
||||
{
|
||||
"type" : "Homework",
|
||||
"min_count" : 3,
|
||||
"drop_count" : 1,
|
||||
"short_label" : "HW",
|
||||
"weight" : 0.5
|
||||
},
|
||||
{
|
||||
"type" : "Final",
|
||||
"name" : "Final Question",
|
||||
"short_label" : "Final",
|
||||
"weight" : 0.5
|
||||
}
|
||||
],
|
||||
"GRADE_CUTOFFS" : {
|
||||
"A" : 0.8,
|
||||
"B" : 0.7,
|
||||
"C" : 0.6
|
||||
}
|
||||
}
|
||||
46
common/test/data/graded/policies/2012_Fall.json
Normal file
46
common/test/data/graded/policies/2012_Fall.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"course/2012_Fall": {
|
||||
"graceperiod": "2 days 5 hours 59 minutes 59 seconds",
|
||||
"start": "2010-07-17T12:00",
|
||||
"display_name": "Graded Course",
|
||||
"graded": "true"
|
||||
},
|
||||
|
||||
|
||||
"vertical/Homework1": {
|
||||
"display_name": "Homework 1",
|
||||
"graded": true,
|
||||
"format": "Homework"
|
||||
},
|
||||
|
||||
|
||||
"videosequence/Homework2": {
|
||||
"display_name": "Homework 2",
|
||||
"graded": true,
|
||||
"format": "Homework"
|
||||
},
|
||||
|
||||
"videosequence/Homework3": {
|
||||
"display_name": "Homework 3",
|
||||
"graded": true,
|
||||
"format": "Homework"
|
||||
},
|
||||
|
||||
|
||||
"vertical/Homework1": {
|
||||
"display_name": "Homework 1",
|
||||
"graded": true,
|
||||
"format": "Homework"
|
||||
},
|
||||
|
||||
"problem/FinalQuestion": {
|
||||
"display_name": "Final Question",
|
||||
"graded": true,
|
||||
"format": "Final"
|
||||
},
|
||||
|
||||
"chapter/Overview": {
|
||||
"display_name": "Overview"
|
||||
}
|
||||
|
||||
}
|
||||
1
common/test/data/graded/roots/2012_Fall.xml
Normal file
1
common/test/data/graded/roots/2012_Fall.xml
Normal file
@@ -0,0 +1 @@
|
||||
<course org="edX" course="toy" url_name="2012_Fall"/>
|
||||
Reference in New Issue
Block a user