Commit f5a43b97 by gradyward

Sets Default problem to include Labels for Criteria and Options

parent ecd135f5
...@@ -22,14 +22,14 @@ ...@@ -22,14 +22,14 @@
<li class="field comp-setting-entry"> <li class="field comp-setting-entry">
<div class="wrapper-comp-setting"> <div class="wrapper-comp-setting">
<label class="openassessment_training_example_criterion_name setting-label"> <label class="openassessment_training_example_criterion_name setting-label">
{{criterion.name}} {{criterion.label}}
<select class="openassessment_training_example_criterion_option setting-input" data-criterion={{criterion.name}}> <select class="openassessment_training_example_criterion_option setting-input" data-criterion={{criterion.name}}>
<option value="Not Scored">{% trans "Not Scored" %}</option> <option value="Not Scored">{% trans "Not Scored" %}</option>
{% for option in criterion.options %} {% for option in criterion.options %}
<option value={{option.name}} <option value={{option.name}}
{% if criterion.option_selected == option.name %} selected {% endif %} {% if criterion.option_selected == option.name %} selected {% endif %}
> >
{{option.name}} - {{option.points}} {% trans "points" %} {{option.label}} - {{option.points}} {% trans "points" %}
</option> </option>
{% endfor %} {% endfor %}
</select> </select>
......
...@@ -15,43 +15,45 @@ DEFAULT_PROMPT = """ ...@@ -15,43 +15,45 @@ DEFAULT_PROMPT = """
DEFAULT_RUBRIC_CRITERIA = [ DEFAULT_RUBRIC_CRITERIA = [
{ {
'name': "Ideas", 'name': "Ideas",
'label': "Ideas",
'prompt': "Determine if there is a unifying theme or main idea.", 'prompt': "Determine if there is a unifying theme or main idea.",
'order_num': 0, 'order_num': 0,
'feedback': 'optional', 'feedback': 'optional',
'options': [ 'options': [
{ {
'order_num': 0, 'points': 0, 'name': 'Poor', 'order_num': 0, 'points': 0, 'name': 'Poor', 'label': 'Poor',
'explanation': """Difficult for the reader to discern the main idea. Too brief or too repetitive to establish or maintain a focus.""" 'explanation': """Difficult for the reader to discern the main idea. Too brief or too repetitive to establish or maintain a focus."""
}, },
{ {
'order_num': 1, 'points': 3, 'name': 'Fair', 'order_num': 1, 'points': 3, 'name': 'Fair', 'label': 'Fair',
'explanation': """Presents a unifying theme or main idea, but may include minor tangents. Stays somewhat focused on topic and task.""" 'explanation': """Presents a unifying theme or main idea, but may include minor tangents. Stays somewhat focused on topic and task."""
}, },
{ {
'order_num': 2, 'points': 5, 'name': 'Good', 'order_num': 2, 'points': 5, 'name': 'Good', 'label': 'Good',
'explanation': """Presents a unifying theme or main idea without going off on tangents. Stays completely focused on topic and task.""" 'explanation': """Presents a unifying theme or main idea without going off on tangents. Stays completely focused on topic and task."""
}, },
], ],
}, },
{ {
'name': "Content", 'name': "Content",
'label': "Content",
'prompt': "Assess the content of the submission", 'prompt': "Assess the content of the submission",
'order_num': 1, 'order_num': 1,
'options': [ 'options': [
{ {
'order_num': 0, 'points': 0, 'name': 'Poor', 'order_num': 0, 'points': 0, 'name': 'Poor', 'label': 'Poor',
'explanation': """Includes little information with few or no details or unrelated details. Unsuccessful in attempts to explore any facets of the topic.""" 'explanation': """Includes little information with few or no details or unrelated details. Unsuccessful in attempts to explore any facets of the topic."""
}, },
{ {
'order_num': 1, 'points': 1, 'name': 'Fair', 'order_num': 1, 'points': 1, 'name': 'Fair', 'label': 'Fair',
'explanation': """Includes little information and few or no details. Explores only one or two facets of the topic.""" 'explanation': """Includes little information and few or no details. Explores only one or two facets of the topic."""
}, },
{ {
'order_num': 2, 'points': 3, 'name': 'Good', 'order_num': 2, 'points': 3, 'name': 'Good', 'label': 'Good',
'explanation': """Includes sufficient information and supporting details. (Details may not be fully developed; ideas may be listed.) Explores some facets of the topic.""" 'explanation': """Includes sufficient information and supporting details. (Details may not be fully developed; ideas may be listed.) Explores some facets of the topic."""
}, },
{ {
'order_num': 3, 'points': 3, 'name': 'Excellent', 'order_num': 3, 'points': 3, 'name': 'Excellent', 'label': 'Excellent',
'explanation': """Includes in-depth information and exceptional supporting details that are fully developed. Explores all facets of the topic.""" 'explanation': """Includes in-depth information and exceptional supporting details that are fully developed. Explores all facets of the topic."""
}, },
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment