There are now unit tests covering the code in this patch so it is probably not necessary to verify the response analysis manually as below.
–
Restore the backup attached to MDL-41757 'backup-moodle2-activity-424-quiz424-20140206-0844.mbz'
Open up the statistics report which is in the Quiz Admin menu beneath Results.
See the screenshots attached to MDL-41758.
The screenshots show the statistics report before this commit showing statistics for Highest Attempt and All Attempts.
You will notice now that the text in the question name column is now linked. When you hover your mouse over the links a hint then says 'More detailed analysis of the responses to variant x of this question'.
Change to the 'All Attempts' report if you are not already viewing it. Click through to the response analysis for the variants and check that the response counts do tally to the responses given. The responses given are in the file 'stepdata.csv' attached to this issue, the response where simulated using the data from this file.
You are going to have to count up the number of a particular response for a particular question variant in the file but please do some random spot checks to check the response counts for some of the variants in questions 1 and 4. Hopefully the format of the csv file is fairly self explanatory, there is a column to force the use of a particular variant of a question for the attempt, each row corresponds to one attempt. There is some explanation of the format of the csv file here : https://github.com/jamiepratt/moodle-quiz_simulate#format-of-response-data-csv-file
Also you might want to do some spot checks to check the response counts in other questions to make sure that response counts for normal question types has not been broken.