-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Portal displays incorrect score for matrix surveys #857
Comments
We shall check @kijote0 |
@kijote0 We have updated the graph to show the duration taken for the survey. Update is available on https://lamp-dashboard.zcodemo.com/#/ |
@sarithapillai8 Would it be possible to have the graph show the correct score for the survey? The duration is not really relevant for the graph; moreover, the proper score is shown for the survey if it is not configured as a matrix, which may lead to confusion. |
@kijote0 As discussed in the meeting, please provide a scoring method for this. |
@sarithapillai8 Scoring the matrix should be based on the scoring method for the initial question type (in this case, list). |
@kijote0 A matrix can be of any type, such as list, date, time, short text, free text, multi-select, single-select, or slider. The challenge is that the options within a matrix can be strings, numbers, or a mix of both. Additionally, a survey can include both matrix and other types of questions. Therefore, the method described above cannot be applied in all cases. So, please suggest what to do for each of these cases, and we can then try to implement the proposed solutions. |
@kijote0 We currently have option text and description for the list options. Can we calculate the score using the option index value, given that we primarily use strings for both fields? Alternatively, we could add an extra field to specify an option value that can be used for score calculation. |
@kijote0 If option texts are given as numbers, we have updated the code to show the score using that value. Option texts are saved as selected values for the survey. |
@sarithapillai8 I took a look, and everything looks good, thanks! |
We have noticed that, for surveys that use matrices, the wrong score is displayed on the Portal tab for the entire survey, even though the score for each individual survey item is properly displayed.
As an example, for a survey that has answer options scored 0-3,
the Portal tab consistently displays 0 for the entire survey,
even though the individual survey items are displayed with the proper score.
The text was updated successfully, but these errors were encountered: