trial.elapsedtime not always 100% accurate?


Author
Message
DCole9
DCole9
Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)
Group: Forum Members
Posts: 42, Visits: 220
Hey Inquisitmen,
I noticed some behavior in my logfile where a trial was not branching properly to an Incorrect Feedback trial upon timeout.  Is there a more elegant way to do this? and does the trial.elapsedtime element not always work 100% accurately (if I have many branch/ontrialend/etc. elements in the trial)?

Here is my sample code that doesn't always return feedback
<trial patchtrial>
/timeout 5000
/branch = [if (trial.patchtrial.elapsedtime > 4999) trial.wrongfeedback]
... (lots of other branch conditions a long ontrialend)
</trial>


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
/ branch = [if (trial.patchtrial.response == 0) ...]

If a trial times out (cf. the /timeout attribute), it must mean no (valid) response has been submitted.

DCole9
DCole9
Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)
Group: Forum Members
Posts: 42, Visits: 220
Nice fix Dave.  I was trying to find a noresponse attribute--- this makes sense now that you mention it ;)

Thanks!


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search