Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

'split 100' ratings

Hello forum,

does anyone know if there's a tool in OpenSesame for 'split 100' ratings – where participants are presented with a set of possible responses and rate them by distributing 100 points between them?

Presenting the possible responses obviously isn't the problem. The rating could be done by a simple text input, but then there would be no check on whether they really sum up to 100. Also I think if there was something visual (like pushing bars up and down with the mouse cursor), that would be more intuitive and more fun.

There may not be the one tool for exactly this, but any pointers or ideas will be appreciated!

Comments

  • Hi David,

    That's an interesting question. So: No, I'm not aware of an implementation of this for OpenSesame, but it shouldn't be too difficult to make. But how does this work exactly? What does the user interaction look like? For example, say that you'd visualize this as four separate sliders, then what happens to the values of slides B, C, and D if the if the value of A is changed by the user?

    Cheers!

    Sebastiaan

  • Thanks!

    I've never used this kind of rating myself, have only seen it reported and I don't know how 'fancy' that implementation was...

    I'd say if it's sliders, then ideally if A is pushed up, B, C and D should go down accordingly. A simpler version could be to just have an automatic display of the current sum, and the response can only be logged when that is 100.

    Or: Have some actual 'points' on the screen (not 100, but maybe 10-20) that the user can drag and drop into boxes for A, B, C.

  • Hi David,

    There are a few ways in which you could implement this. The easiest would be to simply validate the form to check if the slider values (or textinput values) add up to some value before accepting it.

    A fancier way would be to dynamically adjust all sliders as soon as one value has changed. The script below shows how you can do this in principle. It re-adjusts the slider values after every click so that they add up to 1 again. From a user perspective it feels a bit odd though, so there may be more intuitive ways to handle this interaction.

    For the slider widget, see:

    Cheers!

    Sebastiaan

    def total():
    	
    	"""Gets the sum of all slider values"""
    	
    	return sum([
    		w._fill
    		for w in f.widgets
    		if isinstance(w, SliderWidget)
    	])
    
    
    def adjust_and_show(show):
    	
    	"""A decorator to adjust the slider values before showing the canvas"""
    	
    	def inner():
    	
    		# Get the sum of all slider values
    		t = total()
    		# And then adjust all slider values such that they add up to 1
    		for w in f.widgets:
    			if not isinstance(w, SliderWidget):
    				continue
    			w._fill = w._fill / t
    			w._update()
    		# And show!
    		show()
    	
    	return inner
    	
    
    f = Form(rows=(1,1,1))
    s1 = Slider(var='s1', initial_fill=0.25, orientation='horizontal')
    s2 = Slider(var='s2', initial_fill=0.25, orientation='horizontal')
    s3 = Slider(var='s3', initial_fill=0.25, orientation='horizontal')
    s4 = Slider(var='s4', initial_fill=0.25, orientation='horizontal')
    b = Button()
    f.set_widget(s1, (0, 0), colspan=1)
    f.set_widget(s2, (0, 1), colspan=1)
    f.set_widget(s3, (1, 0), colspan=1)
    f.set_widget(s4, (1, 1), colspan=1)
    f.set_widget(b, (2, 1), colspan=2)
    f.canvas.show = adjust_and_show(f.canvas.show)
    f._exec()
    


  • This looks very useful, thank you! I'll try it.

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games