Howdy, Stranger!

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

Supported by

values in "correct" variable don't reflect the correct responses appropriately

Hi there,

We're running a few experiments at our lab using OS and OSWeb. For some reason, the values in "correct" variable don't reflect the correct responses appropriately (e.g., 0 when the participant is correct). We've tried to create an alternative variable manually, but it doesn't seem to work. Unfortunately, we've encountered this problem in both OpenSesame and OSWeb.

The problem is we want to use these variables to show the participants the correct response as feedback, but they are coded incorrectly, which results in a wrong feedback message (e.g., “Wrong! Your answer was R, and it should have been R”).

Suggestions and solutions are welcomed! 

Thanks in advance.


  • Hi @maayanro,

    This problem can have many different origins. Might be a coding error if you have code in your sequence, might be an issue with the use of several input objects in the same sequence, might be an error in defining the correct responses, might be that the feedback object is outside the sequence, etc. It's difficult to tell without knowing more about your task and design. Could you possibly upload your task or a boiled-down version of it here?



    Buy Me A Coffee

  • Hi @Fab,

    I'm attaching one of our experiments with that problem.



  • Hi @maayanro,

    Your task is very long and complex (I suspect that using nested loops could have greatly simplified its structure). It is too long for me to work on. There are numerous types of trials with feedback.

    Some feedback screens appear to be designed to give feedback in each trial:

    While others appear to give feedback for a whole block (since they're located outside the trial sequence):

    I don-t understand the language appearing on these feedback screens, but judging for the presence of green and red text, it looks as if you might be using the same screen to give positive and negative feedback, which is quite odd. If that's what you'd like to do, you should have two feedback objects and condition the presentation of each of them based on a condition (under "Run if" in the sequence object):

    I don't see anything in your program calling upon the variable containing the score on a trial ([correct[). Furthermore, there is a problem with the way you define correct responses. You created a column called "correct" in your loops, but [correct] is actually a reserve variable name to contain whether a response is correct or not (1,0). Hence you must call that column something else (e.g., "correct_response"). Doing so, and defining that variable as the variable containing the correct answer in your keyboard objects, the score should now be calculated correctly and [correct] will take the value 1 when the response is correct, and 0 when it is not.

    My recommendation is to go read the documentation about feedback variable and write a short, simple test program, just to make sure you understand how feedback work. Then you could implement it in a more complex task.

    Hope this helps.


    Buy Me A Coffee

  • Hi @Fab,

    We'll try your suggestions, thank you!


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 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