## Discriminative efficiency is multiplied by 100 two times in the quiz statistics report

XMLWordPrintable
• Bug
• Resolution: Fixed
• Minor
• 3.6.6, 3.7, 3.8
• MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
• MOODLE_36_STABLE, MOODLE_37_STABLE
• Hide
1. Create a quiz containing two true-false questions.
2. Attempt the quiz as three different students, the first two students should get both questions right, the third should get both questions wrong.
3. As teacher/admin, got to Quiz settings -> Results -> statistics
4. Verify that the values in the Discriminative efficiency column are 100% (not 10000%).

Alternatively: Go to https://qa.moodle.net/mod/quiz/report.php?id=34&mode=statistics, and verift that the values in the Discriminative efficiency column are (-)100% (not 10000%) if you want to avoid the setup.

Show
Create a quiz containing two true-false questions. Attempt the quiz as three different students, the first two students should get both questions right, the third should get both questions wrong. As teacher/admin, got to Quiz settings -> Results -> statistics Verify that the values in the Discriminative efficiency column are 100% (not 10000%). Alternatively: Go to https://qa.moodle.net/mod/quiz/report.php?id=34&mode=statistics , and verift that the values in the Discriminative efficiency column are (-)100% (not 10000%) if you want to avoid the setup.

In /mod/quiz/report/statistics/statistics_table.php in function col_discriminative_efficiency discriminative efficiency is multiplied by 100 second time in function format_percentage.

1. image-2019-09-19-13-48-25-208.png
131 kB
2. Screenshot.png
96 kB
Tim Hunt
Иван Скляров
Shamim Rezaie
Eloy Lafuente (stronk7)
Janelle Barcega
0 Vote for this issue
Watchers:
3 Start watching this issue
Created:
Updated:
Resolved:
Estimated:
Not Specified
Remaining:
0m
Logged:
35m