The import_edx_exam_grades management command should be updated to use usernames from MITx Online. Currently, import_edx_exam_grades assumes that it is provided with Micromasters usernames. It is currently possible, and in fact likely, that learners have different usernames on MITx Online, Micromasters, and edX.org. The import_edx_exam_grades needs to be updated to use MITx Online usernames.
import_edx_exam_grades currently takes a .csv file which contains usernames, grades, course_id's, and other fields.
Acceptance Criteria:
[ ] Assume the usernames are MITx Online usernames. Get the learner's Micromasters username by looking up the learner's usersocialauth.uid for mitxonline.
[ ] Add appropriate error messages for when we are unable to locate the learner's Micromaster's username
The
import_edx_exam_grades
management command should be updated to use usernames from MITx Online. Currently,import_edx_exam_grades
assumes that it is provided with Micromasters usernames. It is currently possible, and in fact likely, that learners have different usernames on MITx Online, Micromasters, and edX.org. Theimport_edx_exam_grades
needs to be updated to use MITx Online usernames.import_edx_exam_grades
currently takes a .csv file which contains usernames, grades, course_id's, and other fields.Acceptance Criteria:
usersocialauth.uid
for mitxonline.