Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Olivier
Peer-graded student exercises
Commits
c6bc0f7d
Commit
c6bc0f7d
authored
Aug 16, 2019
by
Olivier
Browse files
Minor cleanup
parent
b34d3470
Changes
5
Hide whitespace changes
Inline
Side-by-side
M12_email_graded/email_grades.py
View file @
c6bc0f7d
...
...
@@ -35,10 +35,10 @@ sender_username = "username"
cc
=
"cc_address@example.com"
password
=
input
(
"Type your password and press enter:"
)
#
Email d
elay time
(
in seconds
)
# For example set
delay_time >240 seconds (
less than 30 emails/hour
)
#
Inside OVGU network set delay_time >40 second
s
(
less than 30 emails/10 min
)
delay_time
=
45
#
D
elay time
between sending two emails,
in seconds
# For example
,
set
240 seconds if you are limited to
less than 30 emails/hour
#
and 40 seconds if the limit i
s less than 30 emails/10 min
delay_time
=
45
"""-------------------------------------------------------------------------"""
# Import email sender function
...
...
@@ -131,9 +131,10 @@ for i in range(0, len(custom_ID_A)):
###########################################################################
# Content specific to assignment exercise
subject
=
"
Insert subject here
"
subject
=
"
Your grade from the coursework assignment
"
# Email body for students with only one peer#
# Email body for students with only one peer
standard_body_onepeer
=
"""Dear XXstudent_nameXX,
thank you for grading your peers on this coursework assignment!
...
...
@@ -197,7 +198,7 @@ As you can see, the average of both grades is XXavg_grade2XX / 10 points.
with best regards,
(
a
uthor)
(
A
uthor)
"""
###########################################################################
...
...
M2_customize_assignments/hash_function.py
View file @
c6bc0f7d
# -*- coding: utf-8 -*-
"""
Author: Germ
a
n Santa
Maria
Author: Germ
á
n Santa
-
Maria
Script: Hash Function
Description:
...
...
M4_send_assignments/email_assignments.py
View file @
c6bc0f7d
...
...
@@ -29,7 +29,7 @@ password = input("Type your password and press enter:")
# Delay time between sending two emails, in seconds
# For example, set 240 seconds if you are limited to less than 30 emails/hour
# and 40 seconds if the limit is less than 30 emails/10 min
delay_time
=
45
delay_time
=
45
"""-------------------------------------------------------------------------"""
# Import email sender function
...
...
@@ -108,7 +108,7 @@ This is a lot of explanations, but in principle, this should be fun, and the cou
With best regards,
(
a
uthor)
(
A
uthor)
"""
###########################################################################
...
...
M6_match_peers/match_peers.py
View file @
c6bc0f7d
# -*- coding: utf-8 -*-
"""
Author: Germ
a
n Santa
Maria
Author: Germ
á
n Santa
-
Maria
Script: Match Peers
"""
...
...
M8_send_grading/email_grading_forms.py
View file @
c6bc0f7d
...
...
@@ -123,9 +123,10 @@ Once you are done, save both files, keeping their file name unchanged, and send
(insert email body here)
With best regards,
(
a
uthor)
(
A
uthor)
"""
# End of email body
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment