canvas-lms/app/models/quizzes
Ahmad Amireh 7df6a55a34 Quiz Stats - don't count Student View submissions
QuizSubmission now supports a new scope "for_students" that will grab
all submissions that are:

  - not a teacher preview
  - not a teacher-initiated "Student View" one
  - submitted by students who really are rolled in a course

Closes CNVS-13694

TEST PLAN
---- ----

  - create a quiz with one question
  - enter Student View via the course settings
    + take the quiz
    + get out of Student View
  - visit the statistics page (or hit the API)
    + verify the attempt is not factored
  - generate the CSV of Item-Analysis to verify that IA does not factor
    these attempts either
  - test the change with Survey quizzes - need to make sure "logged out"
    users are still OK where applicable

Change-Id: Ic58569be31576734eb6e309d548a7415c07e08a7
Reviewed-on: https://gerrit.instructure.com/38174
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jason Madsen <jmadsen@instructure.com>
Product-Review: Ahmad Amireh <ahmad@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
2014-07-29 16:13:44 +00:00
..
quiz_question Quiz Submission Questions - fix serializer lookup 2014-07-08 19:55:22 +00:00
quiz_regrader remove #grade_submission from QuizSubmission 2014-04-23 19:28:03 +00:00
quiz_statistics Quiz Stats - don't count Student View submissions 2014-07-29 16:13:44 +00:00
quiz.rb DA - quiz edit page 2014-07-23 14:41:24 +00:00
quiz_extension.rb add extend time modal link and dialog for ember quizzes moderate 2014-06-02 15:23:10 +00:00
quiz_group.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
quiz_participant.rb namespace all of quiz into quizzes module 2014-02-18 22:17:13 +00:00
quiz_question.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
quiz_question_data_fixer.rb namespace all of quiz into quizzes module 2014-02-18 22:17:13 +00:00
quiz_question_link_migrator.rb spec: once-ler spec/models/[i-q]* 2014-07-02 15:57:40 +00:00
quiz_question_regrade.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
quiz_regrade.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
quiz_regrade_run.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
quiz_sortables.rb namespace all of quiz into quizzes module 2014-02-18 22:17:13 +00:00
quiz_statistics.rb Quiz Stats - Set sanity limits 2014-06-13 22:57:44 +00:00
quiz_statistics_service.rb Quiz Stats - Set sanity limits 2014-06-13 22:57:44 +00:00
quiz_submission.rb Quiz Stats - don't count Student View submissions 2014-07-29 16:13:44 +00:00
quiz_submission_attempt.rb namespace all of quiz into quizzes module 2014-02-18 22:17:13 +00:00
quiz_submission_history.rb make quiz stats use kept score instead of always using latest score 2014-06-13 17:46:53 +00:00
quiz_submission_service.rb outcome gradebook: add export link 2014-03-28 20:37:03 +00:00
quiz_submission_snapshot.rb namespace all of quiz into quizzes module 2014-02-18 22:17:13 +00:00
quiz_submission_zipper.rb namespace all of quiz into quizzes module 2014-02-18 22:17:13 +00:00
quiz_user_finder.rb add submitted/unsubmitted quiz users endpoint to quizzes api 2014-04-18 21:04:23 +00:00
quiz_user_messager.rb add submitted/unsubmitted quiz users endpoint to quizzes api 2014-04-18 21:04:23 +00:00
submission_grader.rb move quiz submission grading to individiual object 2014-04-23 19:27:44 +00:00
submission_manager.rb refactor SubmissionManager#create_or_update_submission 2014-04-23 21:31:09 +00:00