question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Re-evaluate might not work for exam quizzes

See original GitHub issue

The following exception occurs:

Feb 22 08:57:57 node4 java[118960]: java.lang.NullPointerException: Cannot invoke "de.tum.in.www1.artemis.domain.quiz.QuizSubmission.getSubmittedAnswers()" because "quizSubmission" is null
Feb 22 08:57:57 node4 java[118960]:         at de.tum.in.www1.artemis.service.QuizExerciseService.updateResultsOnQuizChanges(QuizExerciseService.java:192)
Feb 22 08:57:57 node4 java[118960]:         at de.tum.in.www1.artemis.service.QuizExerciseService.reEvaluate(QuizExerciseService.java:366)
Feb 22 08:57:57 node4 java[118960]:         at de.tum.in.www1.artemis.web.rest.QuizExerciseResource.reEvaluateQuizExercise(QuizExerciseResource.java:460)

There are additional (duplicated) results in the database that are not connected to a submission any more (these results are only connected to the participation). This might be related to how the Evaluate quizzes button on the Student exams page creates the quiz results.

We should also check what is happening when instructors press the Evaluate quizzes button multiple times.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kruschecommented, Feb 23, 2021

we’ll think about making it easier to add new options

1reaction
izychevacommented, Feb 22, 2021

Here are some details on how I’ve arrived to the error state:

  1. Pressed “Evaluate quiz” and checked in student’s view that some short answer submissions should be added as an additional correct option. Student view showed the evaluation results of the quiz.
  2. Went to quiz exercise -> Re-evaluate -> Add Text Drag Item -> input the value and correct mapping -> Save. The message said that submissions were successfully re-evaluated.
  3. Go to student’s view to check if the re-evaluation worked. The added option is still marked as “wrong”.
  4. Go back to “Re-evaluate” and see that the added options have disappeared.
  5. Notice the “Make sure you evaluate the quiz first” message and go to “Student exams -> Evaluate quizzes”
  6. In the student view I could no longer see the quiz evaluation results.
  7. Repeat steps 5 + 2 and get error message for re-evaluation. (done this several times, ~4) At the moment I still cannot see detailed evaluation results in the student’s view (which answer is correct and how many points are given per answer), but can see the total number of points a student got for the quiz.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Solving Issues with Submitting Quiz Attempts in D2L ...
Note: If it is decided not to submit the quiz, cancel and exit this screen by selecting Exit Impersonating. After selecting Submit once,...
Read more >
Test-Taking Strategies – Common Questions
In a typical class period, there is not enough time to always brainstorm thorough answers and finish the test. • Essay exams tend...
Read more >
Once I publish a quiz, how do I use the Moderate Quiz page?
Once you have published a quiz, the quiz sidebar shows the Moderate Quiz link, which allows you to moderate the quiz for each...
Read more >
How do I reset my test?
Not all tests can be reset. Some are crucial to establishing your baseline, tracking your progress, through the course, and ensuring you're on...
Read more >
Resetting a Quiz or Diagnostic assignment
Why can't I allow retakes for practice assignments? ... If you would like to reassess a student's work to observe any improvement (without ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found