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

XMLWordPrintable

Details

• Type: Bug
• Status: Closed
• Priority: Minor
• Resolution: Fixed
• Affects Version/s: 3.6.6, 3.7, 3.8
• Fix Version/s:
• Component/s:
• Labels:
• Testing Instructions:
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.
• Affected Branches:
MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
• Fixed Branches:
MOODLE_36_STABLE, MOODLE_37_STABLE
• Pull from Repository:
• Pull Master Branch:
• Pull Master Diff URL:

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
2. Screenshot.png
96 kB

People

Assignee:
Tim Hunt
Reporter:
Иван Скляров
Peer reviewer:
Shamim Rezaie
Integrator:
Eloy Lafuente (stronk7)
Tester:
Janelle Barcega
Participants:
Component watchers:
Tim Hunt, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
0 Vote for this issue
Watchers:
3 Start watching this issue

Dates

Created:
Updated:
Resolved:
Fix Release Date:
11/Nov/19

Time Tracking

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