groupassignment via url parameter


Author
Message
cjlab
cjlab
Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)
Group: Forum Members
Posts: 11, Visits: 86
Hello,

We are trying to launch a new study mirroring our previous one. In the past study, subject id was generated by the url parameter "subjectnumber", although this didn't actually refer to subject number. We used it in our batch script below to specify which task participants would do first. 

<batch>
/subjects = (1 of 4)
/groupassignment = subjectnumber
/file = "child-attribution-GNAT.iqx"
</batch>

<batch>
/subjects = (2 of 4)
/groupassignment = subjectnumber
/file = "child-APP.iqx"
</batch>

<batch>
/subjects = (3 of 4)
/groupassignment = subjectnumber
/file = "high_load.iqx"
</batch>

<batch>
/subjects = (4 of 4)
/groupassignment = subjectnumber
/file = "low_load.iqx"
</batch>

Group ID was then generated by the url parameter "groupnumber", meaning what version of the task they would do:

 For instance: 
<expt>
/groupassignment = groupnumber
/subjects = (1 of 4)
/blocks = [1= preinstruction; 2=scenarios_practice; 3= trialinstruction;
4= scenarios_positive01; 5= scenarios_negative01; 6= scenarios_positive02; 7=scenarios_negative02; 8= finish]
</expt>

Everything worked fine! Now, as we are trying to start the second study we are running into troubles with groupnumber. Links for the first task (below) work. 

This link http://research.millisecond.com/ubcparentinglab/Newstudy.web?subjectnumber=1&groupnumber=2 works.

But links for the second and third tasks (subjectnumber):
http://research.millisecond.com/ubcparentinglab/Newstudy.web?subjectnumber=2&groupnumber=2 
and
http://research.millisecond.com/ubcparentinglab/Newstudy.web?subjectnumber=3&groupnumber=2
don't.

We get this error message: "Could not load file http://www.millisecond.com/myaccount/scripts/ubcparentinglab/Newstudy/high-load.iqx. HTTP status code 404"

It seems like our new batch script is working because the error message identifies the correct subjectnumber (high-load), but that the group number is not.

Any thoughts?

Thanks!



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
cjlab - 8 Years Ago
Dave - 8 Years Ago
cjlab - 8 Years Ago
briancjo - 8 Years Ago
Dave - 8 Years Ago
                     + x [quote] [b] Dave - Sunday, December 04, 2016 [/b]...
briancjo - 8 Years Ago
                         + x [quote] [b] briancjo - Sunday, December 04, 2016 [/b]...
Dave - 8 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search