View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
18154Feature requestsSurvey takingpublic2022-07-19 20:16
ReporterArthur__ Assigned To 
PrioritynoneSeverity@60@ 
Status confirmedResolutionopen 
Summary18154: Randomisation item inter-group table
Description

On several groups of questions I present a table of same questions on which I want the items to be in a random order (to avoid automatic answers as the participants can get used to it) and I succeeded in activating it on each of the questions concerned (Settings > Display > Random order > Yes). However, the problem I'm having is that the random order may be randomised at the start, but it doesn't change between groups and I don't know how to fix it...

It should be noted that on the preview it works without problem, but when I launch the questionnaire and do it as a participant it doesn't work.

I'm contacting you after looking for solutions on the forum who have encountered the same problem while trying to help me :
https://forums.limesurvey.org/forum/can-i-do-this-with-limesurvey/127524-randomisation-item-tableau-inter-groupe#228903

Steps To Reproduce

Launch the questionnaire
Complete the questionnaire via the participant link

On the questions "Diriez-vous de cet enfant..." with the table (in the structure, those with the question code ending with 2), the order of the sub-questions should change between each group.
The order of the sub-questions does not change between groups of questions when doing the questionnaire as a participant.

In the end, the order of the sub-questions is only randomised between participants instead of between each question group.

TagsNo tags attached.
Attached Files
Bug heat8
Story point estimate
Users affected %

Users monitoring this issue

Arthur__

Activities

DenisChenu

DenisChenu

2022-05-27 10:14

developer   ~70065

5.3.17 issue confirmed

Arthur__

Arthur__

2022-05-27 22:49

reporter   ~70076

Do you know if the bug can be fixed? If so, how long would it take? To know if I can wait for the bug to be solved to share my questionnaire, because of deadlines I have

Thank you in advance

c_schmitz

c_schmitz

2022-06-01 11:04

administrator   ~70176

The order is determined by a seed which is saved along the response, so the order can be reproduced later.
If we change the way the random order is seeded it would invalidate the data for people who already collected responses using the current system.
That is why we cannot just change it on the fly.

DenisChenu

DenisChenu

2022-06-01 11:07

developer   ~70178

@c_schmitz the issue here : it's the same order for each question in same survey.

the seed must take account different question id : no ?

Arthur__

Arthur__

2022-06-01 12:17

reporter   ~70183

The questionnaire has not been launched yet, I was waiting for the bug to be solved to share it! So we can still modify it without any problem

c_schmitz

c_schmitz

2022-06-01 15:24

administrator   ~70190

Last edited: 2022-06-01 15:24

Problem is that question IDs can change, for example when restoring a survey archive. You would need to store a different seed value for each question for each response, to have a reproducable randomization
I don't see any short-notice solution here.

DenisChenu

DenisChenu

2022-06-01 16:33

developer   ~70191

Last edited: 2022-06-01 16:35

Oh right, question code then (by default) ?
(i know question code can be updated)

Before : random is always different , by question but when reload too.

By question is good,
By reload is bad (really bad)

Now :
by question is bad (except if option)
by reload is good …

Maybe adding a option here ?

DenisChenu

DenisChenu

2022-06-01 17:33

developer   ~70193

Currently : even set different subquetsion code didn't make random different …

I really this we need more option here

  1. Randomized each time loaded (same than 3.X and before)
  2. Randomized with param : can be
    1. Extra option (allowing different question to have same random)
    2. Subquestion code (concatenated ?) : same list have same order , maybe default ?
    3. Question code (then same order between reload but different than other)

And we need a SEED set when testing survey (this is an issue)

@Arthur__ : currently you need to use 3.X … randomized each time loaded.

Arthur__

Arthur__

2022-06-01 17:47

reporter   ~70194

I don't really understand what I have to do on my survey.. This is my first time using it, sorry �

c_schmitz

c_schmitz

2022-06-02 11:26

administrator   ~70199

@Arthur__ There is no current solution or workaround. We are discussing a future approach, but that will not be available on short notice, sorry.

c_schmitz

c_schmitz

2022-06-02 11:30

administrator   ~70200

@DenisChenu
I would suggest to have a METADATA field (instead of the current SEED field) in the response table where we store all this additional information in JSON format
THat would also be future proof for more metadata, if needed. It will just not be searchable, easily. So it would not be good for data that needs to be searched/index/queried.

DenisChenu

DenisChenu

2022-06-02 11:40

developer   ~70201

Personally i like the extra options … and i think it's needed.

  1. We need a 'randomized all time diffrent' like 2.6 until 3.X
  2. We need a 'randomized by id' : same response get same order
  3. We need a 'randomized like other question' (it's an old feature request)

I look at seed system … i don't see where we can add some var to existing SEED :(

DenisChenu

DenisChenu

2022-06-02 11:42

developer   ~70202

@Arthur__ : about potential workaround :

If you host yourself : setup a 3.X version : LTS Release 3.28.13 on https://community.limesurvey.org/downloads/

If you hosted by limesurvey : i don't know, but i think you can ask to have a 3.X ?

Arthur__

Arthur__

2022-06-02 15:47

reporter   ~70210

Okay thanks for your help but the version can't be installed in the short term, so I'll share the questionnaire like that!

Issue History

Date Modified Username Field Change
2022-05-27 02:22 Arthur__ New Issue
2022-05-27 02:22 Arthur__ File Added: limesurvey_survey_973596 (short version).lss
2022-05-27 02:23 Arthur__ Issue Monitored: Arthur__
2022-05-27 02:23 Arthur__ Bug heat 0 => 2
2022-05-27 10:14 DenisChenu Status new => confirmed
2022-05-27 10:14 DenisChenu Complete LimeSurvey version number (& build) Version 5.3.5+220314 => Version 5.3.5+220314 + 5.3.17
2022-05-27 10:14 DenisChenu Note Added: 70065
2022-05-27 10:14 DenisChenu Bug heat 2 => 4
2022-05-27 16:20 DenisChenu Severity @50@ => @60@
2022-05-27 16:20 DenisChenu Category Conditions => Survey taking
2022-05-27 16:20 DenisChenu Browser Vivaldi / Opéra => not relevant
2022-05-27 16:20 DenisChenu Database type & version fruity => not relevant
2022-05-27 16:20 DenisChenu Server OS (if known) => debian
2022-05-27 16:20 DenisChenu PHP Version I can't find it => php7.4
2022-05-27 22:49 Arthur__ Note Added: 70076
2022-05-27 22:49 Arthur__ Bug heat 4 => 6
2022-06-01 10:59 c_schmitz Steps to Reproduce Updated
2022-06-01 11:04 c_schmitz Note Added: 70176
2022-06-01 11:04 c_schmitz Bug heat 6 => 8
2022-06-01 11:07 DenisChenu Note Added: 70178
2022-06-01 12:17 Arthur__ Note Added: 70183
2022-06-01 15:24 c_schmitz Note Added: 70190
2022-06-01 15:24 c_schmitz Note Edited: 70190
2022-06-01 16:33 DenisChenu Note Added: 70191
2022-06-01 16:33 DenisChenu Note Edited: 70191
2022-06-01 16:35 DenisChenu Note Edited: 70191
2022-06-01 17:33 DenisChenu Note Added: 70193
2022-06-01 17:47 Arthur__ Note Added: 70194
2022-06-02 11:26 c_schmitz Note Added: 70199
2022-06-02 11:30 c_schmitz Note Added: 70200
2022-06-02 11:40 DenisChenu Note Added: 70201
2022-06-02 11:42 DenisChenu Note Added: 70202
2022-06-02 15:47 Arthur__ Note Added: 70210
2022-07-19 20:16 gabrieljenik Project Bug reports => Feature requests