Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 5
»
Counting Errors
Counting Errors
Post Reply
Like
50
Counting Errors
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Gaurav Krishnamoorthy
Gaurav Krishnamoorthy
posted 8 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 9,
Visits: 27
Hi !
We are looking for an expression that would start counting the participant's errors only after the first error
. It would be great if you could help us code this.
Thank you for your help!
Here is a segment of our script...
...
<item b0>
/1="Blackrectangle.jpg"
</item>
<item b1>
/1="block1.001.jpg"
</item>
<item b2>
/1="block1.002.jpg"
</item>
<picture b0>
/items=b0
/position=(50,50)
/size= (100%, 100%)
/erase=false
</picture>
<picture b1>
/items= b1
/position= (50,50)
/size= (100%, 100%)
/erase=false
</picture>
<picture b2>
/items=b2
/position= (50,50)
/size= (100%, 100%)
/erase=false
</picture>
<trial b1>
/ stimulustimes = [0=b1; 500=b0]
/inputdevice=keyboard
/correctresponse=("a")
/validresponse = ("a","l")
/timeout=2200
/beginresponsetime=0
/recorddata = true
/ontrialend=[ if (trial.b1.correct) values.earnings +=1 else values.losses -=1]
</trial>
<trial b2>
/stimulustimes = [0=b2; 500=b0]
/inputdevice= keyboard
/correctresponse= ("l")
/validresponse = ("a","l")
/timeout=2100
/beginresponsetime=0
/recorddata = true
/ontrialend=[ if (trial.b2.correct) values.earnings +=1 else values.losses -=1]
</trial>
<block practice>
/trials= [1=sequence (startpractice,b1,b2)]
/ screencolor = (0, 0, 0)
/ recorddata = false
/ postinstructions = (practiceSummary)
</block>
<values >
/earnings=0
/losses=0
/earningstest=0
/lossestest=0
</values>
<page Summary>
^^ FEEDBACK
^^
^^ Total = $<%(values.earningstest+values.lossestest)%>
</page>
<expt>
/blocks=[1=practice]
</expt>
Reply
Like
50
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Counting Errors
Gaurav Krishnamoorthy
-
8 Years Ago
+ x [quote] [b] Gaurav Krishnamoorthy - Tuesday, May 9,...
Dave
-
8 Years Ago
+ x [quote] [b] Dave - Tuesday, May 9, 2017 [/b] +...
Dave
-
8 Years Ago
Post Reply
Like
50
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search