View Issue Details

This bug affects 1 person(s).
 12
IDProjectCategoryView StatusLast Update
14036Bug reportsOtherpublic2019-05-29 16:39
Reportercdorin Assigned Toollehar  
PrioritynoneSeverityminor 
Status closedResolutionunable to reproduce 
Product Version3.13.x 
Fixed in Version3.17.x 
Summary14036: Switching the language for the first time re-randomises the questions
Description

See the screenshots.

Have also attached a survey example.

So, the idea is the following one: when I preview the survey for the first time, the questions get re-randomised. Once the re-randomisation was done, I can change the language of the survey how many times I want... it does not get re-randomised again.

The original behaviour in the past (at least according to the wiki): The survey was not getting re-randomised when swiching the language for the first time.

TagsNo tags attached.
Attached Files
Selection_204.png (19,302 bytes)   
Selection_204.png (19,302 bytes)   
Selection_205.png (39,331 bytes)   
Selection_205.png (39,331 bytes)   
Selection_206.png (35,896 bytes)   
Selection_206.png (35,896 bytes)   
Bug heat12
Complete LimeSurvey version number (& build)irrelevant
I will donate to the project if issue is resolvedNo
Browser
Database type & versionirrelevant
Server OS (if known)irrelevant
Webserver software & version (if known)irrelevant
PHP Versionirrelevant

Users monitoring this issue

There are no users monitoring this issue.

Activities

LouisGac

LouisGac

2018-09-10 10:56

developer   ~48994

frederik, could you tell us your point of view about this?

f_funke

f_funke

2018-09-10 14:14

developer   ~49001

Randomization should only be done once. So neither going back and forth, or changing the language, or saving and resuming, or doing whatever should change the original order.

Furthermore, it is super important that each variable is randomized independently. So for example if I have three randomizations with two groups (A, B), there has to be a "coin toss" for every randomization (resulting in either A-A-A, A-A-B, A-B-A, B-A-A. A-B-B, B-A-B, B-B-A, or B-B-B ). It would not be good at all if all randomizations would always have the same value (A-A-A or B-B-B only).

I know it from other survey software, that randomization for each variable is done and saved in a variable (!) on the start page of a survey.

LouisGac

LouisGac

2018-09-10 15:22

developer   ~49002

thank you. Yes we're already using seed for the randomization, olle implemented it for LS3.

@olle: can you tell us if this part of the randomization bug depend on your seed system?
If yes, just assign it to dominik and explain him how to fix when you have some time.

ollehar

ollehar

2018-09-11 13:50

administrator   ~49006

Confirmed, will fix.

jelo

jelo

2019-05-17 09:01

partner   ~51980

What is the status of this bug. Is the seed changing too?
Perhaps the plugin https://gitlab.com/SondagesPro/getQuestionOrder should be implemented to record display order.
We might see a lot more issues around randomized display order. Hard to catch with the eye alone.

For any move into the scientific community, a correct documented display order is crucial.
https://www.limesurvey.org/forum/future-features/118431-viewing-order-data-for-randomized-surveys

ollehar

ollehar

2019-05-17 13:30

administrator   ~51986

Status is that I forgot about it.

ollehar

ollehar

2019-05-20 15:41

administrator   ~51991

@cdorin, can't reproduce. Double check?

cdorin

cdorin

2019-05-20 17:54

reporter   ~51995

Hmm, I also cannot reproduce it any longer (3.17.3)

ollehar

ollehar

2019-05-20 18:38

administrator   ~51997

Cannot reproduce anymore.

c_schmitz

c_schmitz

2019-05-29 16:39

administrator   ~52236

Version 3.17.4+190529 released

Issue History

Date Modified Username Field Change
2018-09-06 12:37 cdorin New Issue
2018-09-06 12:37 cdorin File Added: Randomization_Group_Test.lss
2018-09-06 12:37 cdorin File Added: Selection_204.png
2018-09-06 12:37 cdorin File Added: Selection_205.png
2018-09-06 12:37 cdorin File Added: Selection_206.png
2018-09-10 10:56 LouisGac Assigned To => f_funke
2018-09-10 10:56 LouisGac Status new => assigned
2018-09-10 10:56 LouisGac Note Added: 48994
2018-09-10 14:14 f_funke Note Added: 49001
2018-09-10 15:22 LouisGac Note Added: 49002
2018-09-10 15:22 LouisGac Assigned To f_funke => ollehar
2018-09-11 13:50 ollehar Note Added: 49006
2019-05-17 09:01 jelo Note Added: 51980
2019-05-17 13:30 ollehar Note Added: 51986
2019-05-20 15:41 ollehar Status assigned => feedback
2019-05-20 15:41 ollehar Note Added: 51991
2019-05-20 17:54 cdorin Note Added: 51995
2019-05-20 17:54 cdorin Status feedback => assigned
2019-05-20 18:38 ollehar Status assigned => resolved
2019-05-20 18:38 ollehar Resolution open => unable to reproduce
2019-05-20 18:38 ollehar Fixed in Version => 3.17.x
2019-05-20 18:38 ollehar Note Added: 51997
2019-05-29 16:39 c_schmitz Note Added: 52236
2019-05-29 16:39 c_schmitz Status resolved => closed