FindingFive Discussion Forum
General Error? - Printable Version

+- FindingFive Discussion Forum (http://discuss.findingfive.com)
+-- Forum: Researchers (http://discuss.findingfive.com/forumdisplay.php?fid=3)
+--- Forum: Study Grammar & Management (http://discuss.findingfive.com/forumdisplay.php?fid=5)
+--- Thread: General Error? (/showthread.php?tid=70)

Pages: 1 2


General Error? - czeidan - 02-25-2021

Hello, I am receiving the error below:

"Your study contains coding errors that we cannot automatically detect yet. Please refer to the Study Grammar Reference Your study contains coding errors that we cannot automatically detect yet. Please refer to the Study Grammar Reference for help."

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.


RE: General Error? - Ting - 02-25-2021

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.


RE: General Error? - czeidan - 03-07-2021

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"]
}
}


RE: General Error? - Grace - 03-08-2021

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


RE: General Error? - czeidan - 03-08-2021

Hi Grace,
Ofcourse! I added stimuli A8, B8, C8, and D8.

Best,
Cloe


RE: General Error? - Grace - 03-08-2021

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 [email protected]) and I can troubleshoot that way? Once you do that, let me know, and I can go in and check it out.


RE: General Error? - czeidan - 03-09-2021

[quote pid="272" dateline="1615222646"]
Hi Grace, I just added you as a collaborator. Thank you for your time.
[/quote]


RE: General Error? - Grace - 03-09-2021

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.


RE: General Error? - czeidan - 03-09-2021

Im sorry, I thought I had allowed that the first time. I readded you as a collaborator with editing privileges.


RE: General Error? - Grace - 03-09-2021

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!