Self-Paced Reading Task error


Author
Message
luca7
luca7
Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)
Group: Forum Members
Posts: 25, Visits: 68
Hello,
I'm back on a self-paced reading task that I run last year and it emerged a new issue.
As illustrated in the picture below, the script incorrectly adds dashes to the end of the sentence. The extra dashes appear once the end of the sentence is reached.
This error can be replicated both offline (downloading the script here https://www.millisecond.com/download/library/selfpacedreading/ and running it using the latest version of Inquisit lab 5) or online clicking "run test online" at the same web address.

Hope there is an easy solution!
Thank you for your help.
Luca




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
luca7 - Tuesday, December 25, 2018
Hello,
I'm back on a self-paced reading task that I run last year and it emerged a new issue.
As illustrated in the picture below, the script incorrectly adds dashes to the end of the sentence. The extra dashes appear once the end of the sentence is reached.
This error can be replicated both offline (downloading the script here https://www.millisecond.com/download/library/selfpacedreading/ and running it using the latest version of Inquisit lab 5) or online clicking "run test online" at the same web address.

Hope there is an easy solution!
Thank you for your help.
Luca




Thanks for pointing out the issue. Fixed in the attached revision.

Attachments
selfpacedreading.iqx (411 views, 30.00 KB)
luca7
luca7
Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)
Group: Forum Members
Posts: 25, Visits: 68
thank you very much!
Could you please indicate what you changed, so I can modify my version of the task?

Luca


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
luca7 - Wednesday, December 26, 2018
thank you very much!
Could you please indicate what you changed, so I can modify my version of the task?

Luca


In your script's <expressions> element, replace the existing /getpostwindow expression with

/ getpostwindow = if(abs(length(values.inputstring-values.winend))!=0) {values.postwindowstring = substring(values.maskstring,
values.winend, abs(length(values.inputstring)-values.winend))} else values.postwindowstring = "";

and replace the existing /getpostwindowhl expression with

/ getpostwindowhl = if(abs(length(values.inputstring-values.winend))!=0) {values.postwindowstringhl = substring(values.maskstringhl,
values.winend, abs(length(values.inputstring)-values.winend))} else values.postwindowstringhl = "";

luca7
luca7
Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)
Group: Forum Members
Posts: 25, Visits: 68
I'll do that. Thank you very much again for your help!
Luca


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search