Newer
Older
description: "Practice session"
generates_grade: false
-
if_completed_before: lecture 13
description: "Graded session at full credit"
due: lecture 13
-
if_completed_before: lecture 13 + 1 week
description: "Graded session at half credit"
credit_percent: 50
due: lecture 13 + 1 week
-
credit_percent: 0
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
Homework Set with Grace Period
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This rule set describes the following:
* Homework that is due at a time given by an event ``hw_due 2``.
* Visitors/unenrolled students can view the questions, but not interact with them.
* For-credit sessions are tagged as "full-credit" (``main``) or
"half-credit" (``grace``) and earn credit correspondingly.
* Students are allowed to decide whether they would like to
auto-submit their work at the deadline or keep working.
* Due dates are shown as given by ``hw_due 2`` and a week
after that.
* At the deadlines (or soon after them), an instructor
"expires" the sessions using a button in the grading interface,
thereby actually "realizing" the deadline.
* Correct solutions are revealed after the main deadline passes.
The rules for this can be written as follows::
title: "Homework 2"
description: |
# Homework 2
rules:
tags:
- main
- grace
start:
-
if_has_role: [unenrolled]
tag_session: null
may_start_new_session: True
may_list_existing_sessions: False
-
if_after: hw_due 2 - 3 weeks
if_before: hw_due 2
if_has_role: [student, ta, instructor]
if_has_fewer_tagged_sessions_than: 1
tag_session: main
may_start_new_session: True
may_list_existing_sessions: True
-
if_after: hw_due 2
if_before: hw_due 2 + 7 days
if_has_role: [student, ta, instructor]
if_has_fewer_tagged_sessions_than: 1
tag_session: grace
may_start_new_session: True
may_list_existing_sessions: True
-
may_start_new_session: False
may_list_existing_sessions: True
access:
-
if_has_tag: null
permissions: [view]
-
if_after: end_of_class
if_has_role: [student]
permissions: []
-
# Unfinished full-credit session marked 'end' after due date.
if_has_tag: main
if_in_progress: True
if_after: hw_due 2
if_expiration_mode: end
message: |
The due date has passed. If you have marked your session to
end at the deadline, it will receive full credit, but it
will end automatically fairly soon. If you would like to
continue working, please mark your session to roll over
into 50% credit by selecting 'Keep session and apply new rules'.
permissions: [view, submit_answer, end_session, see_correctness, change_answer, set_roll_over_expiration_mode]
-
# Unfinished full-credit session marked 'roll_over' before due date.
if_has_tag: main
if_in_progress: True
if_expiration_mode: roll_over
message: |
You have marked your session to roll over to 50% credit at the due
date. If you would like to have your current answers graded as-is
(and recieve full credit for them), please select 'End session
and grade'.
permissions: [view, submit_answer, end_session, see_correctness, change_answer, set_roll_over_expiration_mode]
-
# Unfinished Full-credit session before due date.
if_has_tag: main
if_in_progress: True
permissions: [view, submit_answer, end_session, see_correctness, change_answer, set_roll_over_expiration_mode]
-
# Full-credit session before due date. Don't show answer.
if_has_tag: main
if_before: hw_due 2
if_in_progress: False
permissions: [view, see_correctness]
-
# Full-credit session after due date? Reveal answer.
if_has_tag: main
if_after: hw_due 2
if_in_progress: False
permissions: [view, see_correctness, see_answer_before_submission, see_answer_after_submission]
-
# You're allowed to keep working during the grace period
if_has_tag: grace
if_in_progress: True
permissions: [view, submit_answer, end_session, see_correctness, change_answer, see_answer_before_submission, see_answer_after_submission]
-
if_has_tag: grace
if_in_progress: False
permissions: [view, see_correctness, see_answer_before_submission, see_answer_after_submission]
grade_identifier: "hw_2"
grade_aggregation_strategy: max_grade
grading:
-
if_has_tag: null
description: "No-credit preview session"
generates_grade: false
-
if_has_tag: main
credit_percent: 100
due: hw_due 2
description: "Full credit"
-
if_has_tag: grace
credit_percent: 50
due: hw_due 2 + 7 days
description: "Half credit"
-
credit_percent: 0