cereal-lab / EvoPIE

Evolutionary Peer Instruction Environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multi-Instructors Support

profgrumpy opened this issue · comments

In order to allow many instructors / students on system, only show to instructors the quizzes / questions / distractors that they have authored, as per author field.
For students, allow them to pick an instructor and see only their quizzes.
Problem: they could go take other instructors quizzes and send bogus justifications... so we need student to pick instructor and instructor to confirm student. Maybe on a per-class basis?

At any time, allow a student to pick an instructor and add them to their list of instructors. Mark as pending until the instructor confirms them OR, even better, let the instructor make up a passphrase for the students and only allow students to add him or her if they know the passphrase. Changing the passphrase won't affect students already with that instructor.

Allow instructor to de-register students e.g., if they post unacceptable justifications.

So...

  • Students may add at anytime instructors to their accounts. Doing so requires a passphrase set by the instructor.
  • Instructor may see list of all students who added him as instructor and reject any of them at any time; this removes the instructor from their list of instructors, forces them to try to re-add. If passphrase is different though, that won't work so instructors are advised to have a hidden passphrase and change it when they open a "registration window" for new students (and share the temporary new one with the students).
  • Instructor may change passphrase anytime
  • Students can select current instructor to view quizzes available from them

As part of this work, we'll probably have to

  • add an author_id field to the Distractor and Question models
  • maybe even add this field to the QuizQuestion model even though we mostly create QuizQuestions when creating a Quiz so only the latter could have an author_id.
  • maybe modify the student_id in Justification to be also an author_id, for consistency.
    The Quiz seems to already have a proper author relation backlink but I think it has also an extraneous author_id field declared in the model itself.

@drpventura please update new design's documentation here since a lot of the above mentioned stuff is no longer relevant now that we are going for an approach whereby the instructor uploads a csv of students emails to determine who is able to select them as instructor