"""-----------------Build email text for each student-----------------------"""
# Write a personalized email body for each student
standard_body="""Dear XXstudent_nameXX,
thank you for grading your peers on this coursework assignment!
Two of your peers graded your work over the week-end. You obtained an average of XXavg_grade2XX / 10 for this assignment. I attach the complete solution to your work, as well as your submisison, so you may compare.
The details of the grades are as follows:
Peer 1:
Q1 Is the correct general formula for the answer provided? XXpeer1_grade1XX
Q1 Is the correct corresponding calculation provided? XXpeer1_grade2XX
Q1 Is a sensible final result provided, expressed with the correct units? XXpeer1_grade3XX
Q2 Is the correct general formula for the answer provided? XXpeer1_grade4XX
Q2 Is the correct corresponding calculation provided? XXpeer1_grade5XX
Q2 Is a sensible final result provided, expressed with the correct units? XXpeer1_grade6XX
Points removed because the submission is poorly formatted or poorly organized XXpeer1_rem_poitsXX
Peer 2:
Q1 Is the correct general formula for the answer provided? XXpeer2_grade1XX
Q1 Is the correct corresponding calculation provided? XXpeer2_grade2XX
Q1 Is a sensible final result provided, expressed with the correct units? XXpeer2_grade3XX
Q2 Is the correct general formula for the answer provided? XXpeer2_grade4XX
Q2 Is the correct corresponding calculation provided? XXpeer2_grade5XX
Q2 Is a sensible final result provided, expressed with the correct units? XXpeer2_grade6XX
Points removed because the submission is poorly formatted or poorly organized XXpeer2_rem_poitsXX
As you can see, the average of both grades is XXavg_grade2XX / 10 points