khaivngo / QuickEval

GNU General Public License v2.0
3 stars 4 forks source link

Scale slider - [new feature request] #154

Closed davitgigilashvili closed 2 years ago

davitgigilashvili commented 3 years ago

Is it possible to add a scale slider, primarily for magnitude estimation experiments? So, the experiment will look as follows: the stimulus is presented to an observer and the observer should rate this stimulus by moving a scale slider horizontally. The example how this might look can be found in the figure below. slider_example The range of the slider scores (e.g. 0-100 or 0-10 etc.) should be customizable. This will yield a new type of experiment "Magnitude Estimation".

The slider can be used for matching type of experiments as well. In this experiment, two stimuli will be displayed. One is fixed and the other one is variable. The observer moves the slider to change the properties of the variable image (so, what actually is happening is that new images are loaded in the variable image frame from a priori provided image set) and stops when considers that fixed and variable images match in appearance. This will yield a new type of experiment "Matching".

It would be ideal, if both are implemented, but between those two, the first one, "Magnitude Estimation" is more important and urgent.

Thanks, Davit

disastersystem commented 3 years ago

I can see both of these being useful features.

I think I'll be able to complete the "Magnitude Estimation" slider experiment this week.

A "Matching" experiment will take some more work. But I'll get to it eventually.

davitgigilashvili commented 3 years ago

That's excellent. Yes, magnitude estimation is more important for the time being.

Thank you very much for your prompt reply, Robin!

disastersystem commented 3 years ago

The Magnitude Estimation experiment has been finished for a couple of days. Let me know if anything can be improved. I would recommend doing a quick test to see if you get correct result data, just to be sure.

I won't mark this issue as completed until the matching experiment is finished as well.

davitgigilashvili commented 3 years ago

Hi again.

Thank you very much for completing this so promptly. I very much appreciate it!

There are two issues I identified:

  1. Sampling of scale labels

The scale looks perfect when there are few levels on it, e.g. 0 to 12.

image

But when there are many levels on the scale, say 0-100, the labels on the scale get written over each other and looks kinda annoying. Maybe, when there are more than 10 or 20 levels, not all labels need to be displayed below the scale? There can be some principle for sampling. E.g. when we have a scale from 0 to 100, the scale can show every 10th label: 0-10-20-30...-100.

image

  1. Automatically generated statistics missing The exported data in the .CVS file are correct, but statistics do not get generated. It says "coming soon"

image

Indeed, it's not urgent and essential at this stage, as I can calculate the statistics in Excel myself, but would be nice at some point to have a few summary statistics directly at QuickEval — somewhat similar to what it is for category judgment experiment (mean, median, Z-scores etc.)

Kind regards, Davit

disastersystem commented 3 years ago

Ah yes. The scale labels does not work when there is a lot of values. Showing every 10th (or another interval) label is a good idea. Alternatively, have a input field that let's the scientist choose their own "interval".

I should have mentioned the statistics. I have to rewrite some things for the statistics, and decided it was not a reason to hold off updating the website while a worked on that.

Thanks for the feedback!

davitgigilashvili commented 3 years ago

Yes, having a scientist a possibility to choose own interval is even better option. But, indeed, neither this, nor the statistics is urgent for now. All statistics can be easily calculated in the Excel sheet directly. So, it was a right decision to launch the Magnitude Estimation, as soon as it was ready.

Thank you very much once again!

disastersystem commented 2 years ago

@davitgigilashvili I've added the matching experiment and called it "Match Estimation" (not sure why I didn't call it "Matching"). Hopefully it's not too late to be useful. Here is how it works:

The reference/original image of the image set will be used as the fixed image. The rest of the images in the set will be used as the variable image. So you’ll have to make an image set for every “page” in the experiment. I'm sure there are better ways to organize this, but it was what I could come up with at the moment. Let me know if you think of ways it can be improved.

The order of the variable image will be determined by the order of the images in the image set itself (under "Your stimuli groups"). I have added the possibility to rearrange the order of the images in the image sets by dragging them around. Image sets uploaded prior to this feature may not show in desired order, to fix this just move one image and an order will be set.

Limitations:

davitgigilashvili commented 2 years ago

Hi, thank you very much for implementing this! @disastersystem

Yes, it would be great if the slider could move more smoothly, but looks fine other than that. Maybe, just one more thing: is it possible to customize which image appears on the left and which one appears on the right? (right now the variable image with a slider is on the left and the fixed one is on the right).

disastersystem commented 2 years ago

The slider should move smoothly now.

There is no way to customize which image appears on the left or right, but thinking about it, having the fixed image on the left side might make more sense in general. So I changed the fixed image default position to be on the left side instead.

I've been considering some different features to make the experiment layout more flexible in general, changing the left/right position would fit under this. I will close this issue soon, and make a new feature request issue regarding some layout changes.

davitgigilashvili commented 2 years ago

Great. Thank you very much!