Error messages - Learning Paradigm


Error messages - Learning Paradigm

Author
Message
Isabel
Isabel
Partner Member
Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)

Group: Forum Members
Posts: 4, Visits: 5
Hi Inquisit helpers,

I always programmed in Inquisit 4, but here (my internship, university abroad; in Italy) they use Inquisit 2.0...

I want to program a learning paradigm: participants will be presented some pictures (pictures of vegetabeles) along with two differerent questions (randomized): What is the name OR what is the characteristic of this vegetable? (refers to an earlier task).

What I want to program is the following:
1. when participants give the correct answer, they can continue to the next trial (which seems to work in the script)
2. when participants give the WRONG error an errormessage will appear ("RISPOSTA ERRATA, RIPROVA") (Italian) -> means: false answer, try again
Problem I face: at the moment the participants can continue whenever they give the correct answer (unlimited trials). However, what I want is that they can just try for max. two times. After two errors, I will let them show the correct answer "the correct answer is ...." and then continuing with the next trial. How can I program this in Inquisit 2.0?

3. At the moment the 'errormessage' remains on the screen until entering the correct answer. I would like the errormessage to disappear after a few ms. How can I program this. There is no timeout function in the <text> command.

Another problem I face is that the pictures of the vegetables are not shown on the screen. You may have some suggestions/things that I can check to resolve this problem?

*************************************

** MEMORY TASK

<expt m>
/ blocks = [1=memory]
</expt>

<block memory>
/preinstructions = (intro_memory)
/ postinstructions = (end_memory)
/trials = [1-10= noreplace(Pomodoro_Carlo, Zucca_Laura, Broccoli_Raffaele, Aglio_Sergio, Cipolla_Marta, Peperone_Dolce, Carota_Gustoso, Zucchina_Sodo, Radicchio_Saporito, Melanzana_Consistente)]
/errormessage = (errormessage_memory, 200)
/ correctmessage = (correctmessage_memory, 200)
/ responsemode = correct
</block>

<text errormessage_memory>
/ numitems = 1
/ items = ("        Risposta ERRATA, RIPROVA        ")
/ font = ("arial", -35, 700, 0, 49)
/ txbgcolor = (255, 255, 255)
/ color = (255, 0, 0)
/
</text>

<text correctmessage_memory>
/ numitems = 1
/ items = ("        Risposta CORRETTA        ")
/ font = ("arial", -35, 700, 0, 49)
/ txbgcolor = (255, 255, 255)
/ color = (0, 255, 0)
</text>

*************************** TRIALS - ROUND ******************************************* 

<trial Pomodoro_Carlo>
/ stimulusframes = [1=Pomodoro, question, answer] 
/validkeys = ("A","B", "C", "D","E")
/correctresponse = ("A")
/posttrialpause = 600
</trial>

<trial Zucca_Laura>
/ stimulusframes = [1=Zucca, question, answer]
/validkeys = ("A","B", "C", "D","E")
/correctresponse = ("B")
/posttrialpause = 600
</trial>

<trial Broccoli_Raffaele>
/ stimulusframes = [1=Broccoli, question, answer]
/validkeys = ("A","B", "C", "D","E")
/correctresponse = ("C")
/posttrialpause = 600
</trial>

<trial Aglio_Sergio>
/ stimulusframes = [1=Aglio, question, answer]
/validkeys = ("A","B", "C", "D","E")
/correctresponse = ("D")
/posttrialpause = 600
</trial>

<trial Cipolla_Marta>
/ stimulusframes = [1=Cipolla, question, answer]
/validkeys = ("A","B", "C", "D","E")
/correctresponse = ("E")
/posttrialpause = 600
</trial>

*** Question & Answers

<text question>
/ items = ("Come si chiama?")
/ position = (50%, 50%)
</text>

<text question_l>
/ items = ("Quale è il suo aggettivo?")
/ position = (50%, 50%)
</text>

<text answer>
/ items = ("A= Carlo /  B= Laura / C= Raffaele / D= Sergio / E= Marta")
/ position = (50%, 70%)
</text>

<text answer_l>
/ items = ("A= Dolce  /  B= Gustoso / C= Sodo / D= Saporito / E= Consistente")
/ position = (50%, 70%)
</text>


*** Pictures Round

<picture Zucca>
/ items = ("Zucca.jpg")
/ position = (50%, 10%)
</picture>

<picture Aglio>
/ items = ("Aglio.jpg")
/ position = (50%, 10%)
</picture>

<picture Broccoli>
/ items = ("Broccoli.jpg")
/ position = (50%, 10%)
</picture>

<picture Pomodoro>
/ items = ("Pomodoro.jpg")
/ position = (50%, 10%)
</picture>

<picture Cipolla>
/ items = ("Cipolla.jpg")
/ position = (50%, 10%)
</picture>

************************************* TRIALS LONG **********************************************************

<trial Peperone_Dolce>
/ stimulusframes = [1=Peperone, question_l, answer_l]
/validkeys = ("A","B", "C", "D","E")
/correctresponse = ("A")
/posttrialpause = 600
</trial>

<trial Carota_Gustoso>
/ stimulusframes = [1=Carota, question_l, answer_l]
/validkeys = ("A","B", "C", "D","E")
/correctresponse = ("B")
/posttrialpause = 600
</trial>

<trial Zucchina_Sodo>
/ stimulusframes = [1=Zucchina, question_l, answer_l]
/validkeys = ("A","B", "C", "D","E")
/correctresponse = ("C")
/posttrialpause = 600
</trial>

<trial Radicchio_Saporito>
/ stimulusframes = [1=Radicchio, question_l, answer_l]
/validkeys = ("A","B", "C", "D","E")
/correctresponse = ("D")
/posttrialpause = 600
</trial>

<trial Melanzana_Consistente>
/ stimulusframes = [1=Melanzana, question_l, answer_l]
/validkeys = ("A","B", "C", "D","E")
/correctresponse = ("E")
/posttrialpause = 600
</trial>

*** Pics long

<picture Peperone>
/ items = ("Peperone.jpg")
/ position = (50%, 10%)
</picture>

<picture Carota>
/ items = ("Carota.jpg")
/ position = (50%, 10%)
</picture>

<picture Zucchina>
/ items = ("Zucchina.jpg")
/ position = (50%, 10%)
</picture>

<picture Radicchio>
/ items = ("Ravanello.jpg")
/ position = (50%, 10%)
</picture>

<picture Melanzana>
/ items = ("Melanzana.jpg")
/ position = (50%, 10%)
</picture>


** Pages Memory

<page intro_memory>
Ora ti verrà chiesto di rispondere ad alcune semplici domande circa i nomi e gli aggettivi che hai memorizzato nell’esercizio precedente. 
Cerca di commettere il minor numero di errori possibile. Dopo qualche errore ti verrà indicata la risposta corretta, in modo da aiutarti a memorizzare ulteriormente nomi ed aggettivi
</page>
<page end_memory>
Compito completato! Ora preparati alla seconda parte di questo esperimento.
</page>

Isabel
Isabel
Partner Member
Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)

Group: Forum Members
Posts: 4, Visits: 5
Clicked on the ENTER button before writing a proper ending, here it comes:

Thanks in advance!  And hope you can help me.
Isabel

Dave
Dave
Supreme Being
Supreme Being (468K reputation)Supreme Being (468K reputation)Supreme Being (468K reputation)Supreme Being (468K reputation)Supreme Being (468K reputation)Supreme Being (468K reputation)Supreme Being (468K reputation)Supreme Being (468K reputation)Supreme Being (468K reputation)

Group: Administrators
Posts: 9K, Visits: 38K
I don't think what you want can be done with Inquisit 2. You'd need at least Inquisit 3 and its much more elaborate mathematical and logical facilities.

The only option you have in Inquisit 2, is to use /branch to run dummy trials to serve as proxies for counting certain types of responses.

Isabel
Isabel
Partner Member
Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)Partner Member (900 reputation)

Group: Forum Members
Posts: 4, Visits: 5
Hi Dave,

Thanks for your fast response. Inquisit 2.0 is really limited, I realized... So, probably it is better to change my higher-order demands Smile  

However, I hope you can answer my question about the pictures, since this is much more essential!

Best, Isabel

 


Dave
Dave
Supreme Being
Supreme Being (468K reputation)Supreme Being (468K reputation)Supreme Being (468K reputation)Supreme Being (468K reputation)Supreme Being (468K reputation)Supreme Being (468K reputation)Supreme Being (468K reputation)Supreme Being (468K reputation)Supreme Being (468K reputation)

Group: Administrators
Posts: 9K, Visits: 38K
I cannot say anything about those pictures. I don't have those files and neither do I have a system that would still run ancient Inquisit 2 (it doesn't work under current operating systems).

Regarding the previous questions re. limiting the number of (incorrect) responses participants are allowed to submit, look at something along the lines of
<block myblock>
/ trials = [1-2=noreplace(a,b)]
</block>
<trial a>
/ stimulusframes=[1=atext]
/ validresponse = (30, 48)
/ correctresponse = (30)
/ errormessage = true(errortext, 500)
/ correctmessage = true(correcttext, 500)
/ branch=(trial.a.errorcount, GE, 2, asolution)
/ branch=(trial.a.error, EQ, 1, a)
</trial>
<text atext>
/ items = ("A")
</text>
<trial asolution>
/ stimulusframes = [1=asolutiontext]
/ timeout = 3000
</trial>
<text asolutiontext>
/ items = ("The solution is A.")
</text>
<trial b>
/ stimulusframes=[1=btext]
/ validresponse = (30, 48)
/ correctresponse = (48)
/ errormessage = true(errortext, 500)
/ correctmessage = true(correcttext, 500)
/ branch=(trial.b.errorcount, GE, 2, bsolution)
/ branch=(trial.b.error, EQ, 1, b)
</trial>
<text btext>
/ items = ("B")
</text>
<trial bsolution>
/ stimulusframes = [1=bsolutiontext]
/ timeout = 3000
</trial>
<text bsolutiontext>
/ items = ("The solution is B.")
</text>
<text errortext>
/ items = ("Error")
</text>
<text correcttext>
/ items = ("Correct")
</text>

GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search