Wrong check marks in "Question Scores" for calculated questions

Description

As in SAM-1816, when an instructor changes the score of an answered calculated question, all check marks are set to the green icon, even for wrong answers.
In the screenshots attached, the status of these checks can be seen before and after changing the points.

Attachments

3
  • 20 Oct 2015, 07:09 AM
  • 08 Jul 2015, 05:36 AM
  • 08 Jul 2015, 05:36 AM

Activity

Show:

Mateu Llas Rubio February 24, 2016 at 9:32 AM

Tested on https://qa11-oracle.nightly.sakaiproject.org
Check marks remain the correct ones after changes in grades by the instructor

Metal Ring February 19, 2016 at 5:14 AM

Added a PR to fix the above-mentioned issue.

Metal Ring February 18, 2016 at 3:08 AM
Edited

Sorry, I've noticed that the patch is not working ok when formulas contain a combination of variables.

Steps to reproduce:

1. Create a calculated question with this text:

{a}, {b} Addition = {{c}} Multiplication = {{d}}

2. Click on "Extract variables and formulas from Question text" and enter the following settings for every field:

Variables:
a: Min 1, Max 1, Decimal Places 0
b: Min 1, Max 1, Decimal Places 0

Formulas:

c: {a}+{b} d: {a}*{b}

3. Save the question and publish de exam.

4. Take the exam as student by entering correct and wrong answers and send it for grading.

5. As instructor, go to the exam scores at the "Question" section and you'll see that the check marks are wrong (i.e. there will be red marks for correct answers or green marks for wrong answers).

Jose Mariano Lujan October 20, 2015 at 7:14 AM

Configuration for the question - Test plan

Fixed

Details

Priority

Affects versions

Fix versions

Assignee

Reporter

Labels

Created July 8, 2015 at 5:36 AM
Updated October 31, 2018 at 6:02 AM
Resolved February 20, 2016 at 2:43 PM

Flag notifications