Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
General Error?
#1
Hello, I am receiving the error below:

[font="Nunito Sans", Arial, sans-serif]"Your study contains coding errors that we cannot automatically detect yet. Please refer to the Study Grammar Reference [font="Nunito Sans", Arial, sans-serif]Your study contains coding errors that we cannot automatically detect yet. Please refer to the Study Grammar Reference for help."[/font][/font]

The task was working perfectly fine. I added stimuli and then received this error. I have referred to the Study Grammar but cannot find the problem.
Reply
#2
Hi there! All services are currently running normally. There should be a coding error somewhere. If you think the new stimulus is the culprit, please post the code here. Either me or Grace will get back to you as soon as we can.
Reply
#3
Hi Ting! Good to hear that all things are running normally. I have copied the code below, thank you & Grace very much for your time.

{
"T1": {
"type": "instruction",
"stimuli": ["PracticeInst"],
"duration": 20
},

"PracticeTrails1-1": {
"type": "AFC",
"stimuli": ["A1"],
"stimulus_pattern": {"order": "fixed"},
"responses": ["Response4/6"]
},

"PracticeTrails1-2":{
"type": "instruction",
"stimuli": ["A1Answer"],
"duration": 5
},

"PracticeTrails2-1": {
"type": "AFC",
"stimuli": ["A2"],
"stimulus_pattern": {"order": "fixed"},
"responses": ["Response5/6"]
},

"PracticeTrails2-2":{
"type": "instruction",
"stimuli": ["A2Answer"],
"duration": 5
},

"PracticeTrails3-1": {
"type": "AFC",
"stimuli": ["A3"],
"stimulus_pattern": {"order": "fixed"},
"responses": ["Response1/6"]
},

"PracticeTrails3-2":{
"type": "instruction",
"stimuli": ["A3Answer"],
"duration": 5
},

"T2": {
"type": "instruction",
"stimuli": ["NextTrail"], // after practice going into testing mark
"duration": 5
},

"T3":{
"type": "basic",
"stimuli": ["IMC"],
"responses": ["Response9"] // fill-in text box if they paid attention or not
},

"T4": {
"type": "instruction",
"stimuli": ["HalfTrail"], // halfway mark
"duration": 5
},

"T5":{
"type": "basic",
"stimuli": ["Attention"],
"responses": ["Response9"]
},

"TestTrailsA1": {
"type": "AFC",
"stimuli": ["A8", "A9", "A10"],
"stimulus_pattern": {"order": "fixed"},
"responses": ["Response2/6","Response1/6", "Response3/6"]
},

"TestTrailsA2": {
"type": "AFC",
"stimuli": ["A11", "A12"],
"stimulus_pattern": {"order": "fixed"},
"responses": ["Response4/6", "Response5/6"]
},

"TestTrailsB1": {
"type": "AFC",
"stimuli": ["B8", "B9", "B10"],
"stimulus_pattern": {"order": "fixed"},
"responses": ["Response6/6","Response4/6", "Response3/6"]
},

"TestTrailsB2": {
"type": "AFC",
"stimuli": ["B11", "B12"],
"stimulus_pattern": {"order": "fixed"},
"responses": ["Response4/6", "Response5/6"]
},

"TestTrailsC1": {
"type": "AFC",
"stimuli": ["C8","C9", "C10"],
"stimulus_pattern": {"order": "fixed"},
"responses": ["Response1/6","Response5/8", "Response4/8"]
},

"TestTrailsC2": {
"type": "AFC",
"stimuli": ["C11", "C12"],
"stimulus_pattern": {"order": "fixed"},
"responses": ["Response1/8", "Response2/8"]
},

"TestTrailsD1": {
"type": "AFC",
"stimuli": ["D8","D9","D10"],
"stimulus_pattern": {"order": "fixed"},
"responses": ["Response5/6","Response1/8","Response2/8"]
},

"TestTrailsD2": {
"type": "AFC",
"stimuli": ["D11", "D12"],
"stimulus_pattern": {"order": "fixed"},
"responses": ["Response3/8", "Response6/8"]
}
}
Reply
#4
Hi there,

Can you point me to the portion of the code that has the new stimuli you mentioned? That may help me deduce what is going on. Smile

Thanks for choosing FindingFive!
Grace
Reply
#5
Hi Grace,
Ofcourse! I added stimuli A8, B8, C8, and D8.

Best,
Cloe
Reply
#6
Thanks, Cloe! Just from looking at your code, I'm not seeing anything that is immediately popping out to me as an issue. Would you mind sharing the study with me (i.e., add me as a collaborator research@findingfive.com) and I can troubleshoot that way? Once you do that, let me know, and I can go in and check it out.
Reply
#7
[quote pid="272" dateline="1615222646"]
Hi Grace, I just added you as a collaborator. Thank you for your time.
[/quote]
Reply
#8
Great! Thanks, Cloe. We're looking into this now. If you're comfortable, could you also allow us editing privileges? This will allow us to test out a couple of potential fixes.
Reply
#9
Im sorry, I thought I had allowed that the first time. I readded you as a collaborator with editing privileges.
Reply
#10
No worries, Cloe! I think we have it figured out. The issue is that your choice responses are entered as lists of lists rather than just lists. Your choices in your code should be listed without the brackets around each number. For instance, for Response1/8

{
"type": "choice",
"choices": [1,2,3,4,5,6,7,8],
"key_mapping": [1,2,3,4,5,6,7,8],
"target": [1]
}

Give this a shot with your other response options, and let me know how it goes!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)