defaults.py 5.94 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
"""Default data initializations for the XBlock, with formatting preserved."""
# -*- coding: utf-8 -*-
# pylint: disable=line-too-long

DEFAULT_PROMPT = """
    Censorship in the Libraries

    'All of us can think of a book that we hope none of our children or any other children have taken off the shelf. But if I have the right to remove that book from the shelf -- that work I abhor -- then you also have exactly the same right and so does everyone else. And then we have no books left on the shelf for any of us.' --Katherine Paterson, Author

    Write a persuasive essay to a newspaper reflecting your views on censorship in libraries. Do you believe that certain materials, such as books, music, movies, magazines, etc., should be removed from the shelves if they are found offensive? Support your position with convincing arguments from your own experience, observations, and/or reading.

    Read for conciseness, clarity of thought, and form.
"""

DEFAULT_RUBRIC_CRITERIA = [
    {
        'name': "Ideas",
18
        'label': "Ideas",
19 20
        'prompt': "Determine if there is a unifying theme or main idea.",
        'order_num': 0,
21
        'feedback': 'optional',
22 23
        'options': [
            {
24
                'order_num': 0, 'points': 0, 'name': 'Poor', 'label': 'Poor',
25 26 27
                'explanation': """Difficult for the reader to discern the main idea.  Too brief or too repetitive to establish or maintain a focus."""
            },
            {
28
                'order_num': 1, 'points': 3, 'name': 'Fair', 'label': 'Fair',
29 30 31
                'explanation': """Presents a unifying theme or main idea, but may include minor tangents.  Stays somewhat focused on topic and task."""
            },
            {
32
                'order_num': 2, 'points': 5, 'name': 'Good', 'label': 'Good',
33 34 35 36 37 38
                'explanation': """Presents a unifying theme or main idea without going off on tangents.  Stays completely focused on topic and task."""
            },
        ],
    },
    {
        'name': "Content",
39
        'label': "Content",
40 41 42 43
        'prompt': "Assess the content of the submission",
        'order_num': 1,
        'options': [
            {
44
                'order_num': 0, 'points': 0, 'name': 'Poor', 'label': 'Poor',
45 46 47
                'explanation': """Includes little information with few or no details or unrelated details.  Unsuccessful in attempts to explore any facets of the topic."""
            },
            {
48
                'order_num': 1, 'points': 1, 'name': 'Fair', 'label': 'Fair',
49 50 51
                'explanation': """Includes little information and few or no details.  Explores only one or two facets of the topic."""
            },
            {
52
                'order_num': 2, 'points': 3, 'name': 'Good', 'label': 'Good',
53 54 55
                'explanation': """Includes sufficient information and supporting details. (Details may not be fully developed; ideas may be listed.)  Explores some facets of the topic."""
            },
            {
56
                'order_num': 3, 'points': 3, 'name': 'Excellent', 'label': 'Excellent',
57 58 59 60 61 62
                'explanation': """Includes in-depth information and exceptional supporting details that are fully developed.  Explores all facets of the topic."""
            },
        ],
    },
]

63 64
# The rubric's feedback prompt is a set of instructions letting the student
# know they can provide additional free form feedback in their assessment.
65
DEFAULT_RUBRIC_FEEDBACK_PROMPT = """
66
(Optional) What aspects of this response stood out to you? What did it do well? How could it improve?
67 68
"""

69 70 71 72 73 74
# The rubric's feedback text is the default text displayed and used as
# the student's response to the feedback prompt
DEFAULT_RUBRIC_FEEDBACK_TEXT = """
I noticed that this response...
"""

75 76 77
DEFAULT_EXAMPLE_ANSWER = (
    "Replace this text with your own sample response for this assignment. "
    "Then, under Response Score to the right, select an option for each criterion. "
78
    "Learners practice performing peer assessments by assessing this response and comparing "
79 80
    "the options that they select in the rubric with the options that you specified."
)
81

82 83 84 85
DEFAULT_EXAMPLE_ANSWER_2 = (
    "Replace this text with another sample response, "
    "and then specify the options that you would select for this response."
)
86

87 88 89 90 91 92
DEFAULT_STUDENT_TRAINING = {
    "name": "student-training",
    "start": None,
    "due": None,
    "examples": [
        {
93
            "answer": DEFAULT_EXAMPLE_ANSWER,
94 95 96 97 98 99 100 101 102 103 104 105
            "options_selected": [
                {
                    "criterion": "Ideas",
                    "option": "Fair"
                },
                {
                    "criterion": "Content",
                    "option": "Good"
                }
            ]
        },
        {
106
            "answer": DEFAULT_EXAMPLE_ANSWER_2,
107 108 109 110 111 112 113 114 115 116 117 118 119 120
            "options_selected": [
                {
                    "criterion": "Ideas",
                    "option": "Poor"
                },
                {
                    "criterion": "Content",
                    "option": "Good"
                }
            ]
        }
    ]
}

121 122 123
DEFAULT_START = "2001-01-01T00:00"
DEFAULT_DUE = "2029-01-01T00:00"

124 125 126 127 128
# The Default Peer Assessment is created as an example of how this XBlock can be
# configured. If no configuration is specified, this is the default assessment
# module(s) associated with the XBlock.
DEFAULT_PEER_ASSESSMENT = {
    "name": "peer-assessment",
129 130
    "start": DEFAULT_START,
    "due": DEFAULT_DUE,
131 132 133 134 135 136
    "must_grade": 5,
    "must_be_graded_by": 3,
}

DEFAULT_SELF_ASSESSMENT = {
    "name": "self-assessment",
137 138
    "start": DEFAULT_START,
    "due": DEFAULT_DUE,
139 140
}

141 142 143 144 145 146 147
DEFAULT_STAFF_ASSESSMENT = {
    "name": "staff-assessment",
    "start": DEFAULT_START,
    "due": DEFAULT_DUE,
    "required": False,
}

148
DEFAULT_ASSESSMENT_MODULES = [
149
    DEFAULT_STUDENT_TRAINING,
150 151
    DEFAULT_PEER_ASSESSMENT,
    DEFAULT_SELF_ASSESSMENT,
152
    DEFAULT_STAFF_ASSESSMENT,
153 154
]

155 156 157
DEFAULT_EDITOR_ASSESSMENTS_ORDER = [
    "student-training",
    "peer-assessment",
158
    "self-assessment",
Eric Fischer committed
159
    "staff-assessment",
160
]