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

XMLWordPrintable

#### Details

• Bug
• Status: Closed
• Minor
• Resolution: Fixed
• 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.

#### Description

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.

#### Attachments

1. image-2019-09-19-13-48-25-208.png
131 kB
Janelle Barcega
2. Screenshot.png
96 kB
Иван Скляров

#### People

Tim Hunt
Иван Скляров
Shamim Rezaie
Eloy Lafuente (stronk7)
Janelle Barcega
Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
0 Vote for this issue
Watchers:
3 Start watching this issue

#### Dates

Created:
Updated:
Resolved:
11/Nov/19

#### Time Tracking

Estimated:
Not Specified
Remaining:
0m
Logged:
35m