From 9ce3b83be3ce488309f9e9839cf94dee35034427 Mon Sep 17 00:00:00 2001 From: Bridger Maxwell Date: Thu, 20 Sep 2012 13:29:16 -0400 Subject: [PATCH] Added a simple course for testing the grading functions. --- common/test/data/graded/README.md | 1 + common/test/data/graded/course.xml | 1 + common/test/data/graded/course/2012_Fall.xml | 87 +++++++++++++++++++ common/test/data/graded/graded | 1 + common/test/data/graded/grading_policy.json | 22 +++++ .../test/data/graded/policies/2012_Fall.json | 46 ++++++++++ common/test/data/graded/roots/2012_Fall.xml | 1 + 7 files changed, 159 insertions(+) create mode 100644 common/test/data/graded/README.md create mode 120000 common/test/data/graded/course.xml create mode 100644 common/test/data/graded/course/2012_Fall.xml create mode 120000 common/test/data/graded/graded create mode 100644 common/test/data/graded/grading_policy.json create mode 100644 common/test/data/graded/policies/2012_Fall.json create mode 100644 common/test/data/graded/roots/2012_Fall.xml diff --git a/common/test/data/graded/README.md b/common/test/data/graded/README.md new file mode 100644 index 0000000000..59ab392ed3 --- /dev/null +++ b/common/test/data/graded/README.md @@ -0,0 +1 @@ +This is a very very simple course, useful for initial debugging of processing code. diff --git a/common/test/data/graded/course.xml b/common/test/data/graded/course.xml new file mode 120000 index 0000000000..49041310f6 --- /dev/null +++ b/common/test/data/graded/course.xml @@ -0,0 +1 @@ +roots/2012_Fall.xml \ No newline at end of file diff --git a/common/test/data/graded/course/2012_Fall.xml b/common/test/data/graded/course/2012_Fall.xml new file mode 100644 index 0000000000..e9735f9756 --- /dev/null +++ b/common/test/data/graded/course/2012_Fall.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/common/test/data/graded/graded b/common/test/data/graded/graded new file mode 120000 index 0000000000..be6adb9cd0 --- /dev/null +++ b/common/test/data/graded/graded @@ -0,0 +1 @@ +graded \ No newline at end of file diff --git a/common/test/data/graded/grading_policy.json b/common/test/data/graded/grading_policy.json new file mode 100644 index 0000000000..54a874191e --- /dev/null +++ b/common/test/data/graded/grading_policy.json @@ -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 + } +} diff --git a/common/test/data/graded/policies/2012_Fall.json b/common/test/data/graded/policies/2012_Fall.json new file mode 100644 index 0000000000..d9734157a4 --- /dev/null +++ b/common/test/data/graded/policies/2012_Fall.json @@ -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" + } + +} diff --git a/common/test/data/graded/roots/2012_Fall.xml b/common/test/data/graded/roots/2012_Fall.xml new file mode 100644 index 0000000000..b71528809b --- /dev/null +++ b/common/test/data/graded/roots/2012_Fall.xml @@ -0,0 +1 @@ + \ No newline at end of file