project: Moodle
summary: Change quiz statistics report to improve usability with random questions
description: This is an epic for the development of MUA-33 which is explained here:

1.summary: As an instructor, I can no longer see the individual random question texts for any quiz in the response statistics, regardless of the number of random questions it contains.
description: As an instructor, when I click on the results statistics to show the Quiz structural analysis, I will no longer see the individual questions text for those questions allocated from a randomised pool In the case of less than 9 random questions then this means the individual question rows are not rendered. In the case of more than 9 questions this means that the min, median, and max question rows are not rendered.
2.summary: As an instructor I cannot click on any of the randomised question placeholders
description: The randomised question placeholders will not link to anything
3.summary: As an instructor I can click on the view displayed questions link in a new row in the results statistics page, which will take me to a page showing the randomised questions that were used in the quiz attempts
description: The view displayed questions link is shown in a row after the last random question placeholder and is always rendered (regardless of whether there was more or less than 10 random questions allocated). Clicking on the view displayed questions link takes the instructor to a page listing all randomised questions with each question being linked to that questions analysis and statistics. The "view displayed questions" text (or what ever we choose) will only take up the "question text" column Each of the other columns in the summary row will show the minimum and maximum values for those statistics from the set of questions that the row is summarising. For example, if there are 3 questions that have been allocated in a random question slot and the lowest discriminative index of those 3 is 50 and the highest is 75 then the discriminative index column for this summary row will display "50 - 75" (the lowest and highest values from the set of questions its summarising). The summary report must be tested with various quiz combinations, including question variants and question variants that have been allocated in a random question slot. Unit tests will need to be added for the new summary row Behat tests will need to be added for the summary report page Investigate the possibility of porting some of the older unit tests over to use the test generators, if it seems feasible.
4.summary: Add behat tests for the quiz statistics report
description: At the moment, quiz statistics report is not covered by behat, than can be problematic specially to catch possible regressions. This issue goal is to add behat tests for the quiz statistics report to cover latest changes and also basic functionality tests
5.summary: New summary rows should not display question number
description: During the peer review of we noticed a minor bug that shows the question number on the View displayed questions row and others such (Minimum facility, Median facility and etc). This ticket is about hide the question numbers for rows that doesnt represent a question and also make sure the question counter is correct.
6.summary: Display min, max and discriminative index columns to view displayed questions rows
description: As agreed with Tim, we should display some columns to view displayed questions row: Each column in the row will show the minimum and maximum values for that column for the set of questions it s summarising. This gives us a good UX win to allow users to quickly know if they need to drill down (click on the link). For the discriminative index column, either the minimum or maximum value is below the threshold we will highlight it to indicate a problem that the user may want to address. This is consistent with some existing behaviour. For more information, see Ryans comment here|
7.summary: Usability improvements for statistics report
description: As suggested by Tim on his review| we should improve the statistics report usability: Hide the Minimum/Medium/Maximum facility rows Treat variants in exactly the same way as we treat sub-questions (hide them on the front page, and just have a View analysis of these questions link row There should be more visual difference between main report rows, and the View analysis of these questions link row. The "Intended Weight" column writes them as "100" while the other columns have it as "100 ", with a space. That space is the source of all the wrapping

Below is an instruction that describes a task, paired with an input that provides an epic with this format: 
"project": "Name of the project" 
"summary": "Summary of the epic user story" 
"description": "Description of the epic user story". Write a response that appropriately completes the request.### Instruction:
Break this epic user story into smaller tasks to help the developers understand the epic better, you can divide this epic into as much as you want depending on the complexity of the epic.
### Input:
project: Moodle
summary: Change quiz statistics report to improve usability with random questions
description: This is an epic for the development of MUA-33 which is explained here:

### Response:
1.summary: As an instructor, I can no longer see the individual random question texts for any quiz in the response statistics, regardless of the number of random questions it contains.
description: As an instructor, when I click on the results statistics to show the Quiz structural analysis, I will no longer see the individual questions text for those questions allocated from a randomised pool In the case of less than 9 random questions then this means the individual question rows are not rendered. In the case of more than 9 questions this means that the min, median, and max question rows are not rendered.
2.summary: As an instructor I cannot click on any of the randomised question placeholders
description: The randomised question placeholders will not link to anything
3.summary: As an instructor I can click on the view displayed questions link in a new row in the results statistics page, which will take me to a page showing the randomised questions that were used in the quiz attempts
description: The view displayed questions link is shown in a row after the last random question placeholder and is always rendered (regardless of whether there was more or less than 10 random questions allocated). Clicking on the view displayed questions link takes the instructor to a page listing all randomised questions with each question being linked to that questions analysis and statistics. The "view displayed questions" text (or what ever we choose) will only take up the "question text" column Each of the other columns in the summary row will show the minimum and maximum values for those statistics from the set of questions that the row is summarising. For example, if there are 3 questions that have been allocated in a random question slot and the lowest discriminative index of those 3 is 50 and the highest is 75 then the discriminative index column for this summary row will display "50 - 75" (the lowest and highest values from the set of questions its summarising). The summary report must be tested with various quiz combinations, including question variants and question variants that have been allocated in a random question slot. Unit tests will need to be added for the new summary row Behat tests will need to be added for the summary report page Investigate the possibility of porting some of the older unit tests over to use the test generators, if it seems feasible.
4.summary: Add behat tests for the quiz statistics report
description: At the moment, quiz statistics report is not covered by behat, than can be problematic specially to catch possible regressions. This issue goal is to add behat tests for the quiz statistics report to cover latest changes and also basic functionality tests
5.summary: New summary rows should not display question number
description: During the peer review of we noticed a minor bug that shows the question number on the View displayed questions row and others such (Minimum facility, Median facility and etc). This ticket is about hide the question numbers for rows that doesnt represent a question and also make sure the question counter is correct.
6.summary: Display min, max and discriminative index columns to view displayed questions rows
description: As agreed with Tim, we should display some columns to view displayed questions row: Each column in the row will show the minimum and maximum values for that column for the set of questions it s summarising. This gives us a good UX win to allow users to quickly know if they need to drill down (click on the link). For the discriminative index column, either the minimum or maximum value is below the threshold we will highlight it to indicate a problem that the user may want to address. This is consistent with some existing behaviour. For more information, see Ryans comment here|
7.summary: Usability improvements for statistics report
description: As suggested by Tim on his review| we should improve the statistics report usability: Hide the Minimum/Medium/Maximum facility rows Treat variants in exactly the same way as we treat sub-questions (hide them on the front page, and just have a View analysis of these questions link row There should be more visual difference between main report rows, and the View analysis of these questions link row. The "Intended Weight" column writes them as "100" while the other columns have it as "100 ", with a space. That space is the source of all the wrapping
