memphis-iis / mofacts

8 stars 1 forks source link

tdf does not start up #1371

Closed imrryr closed 10 months ago

imrryr commented 10 months ago

tdf does not start up. the experiment page loads, then this happens after turk login. No units were started. Radicalroot.zip

imrryr commented 10 months ago

MoFaCTS - Google Chrome 1_19_2024 12_21_00 PM

JRustyHaner commented 10 months ago

@imrryr did you specify in the setspec where the loadbalancing should occur?

JRustyHaner commented 10 months ago

@imrryr the correct values for loadbalancing are min or max. Your json has it set to true. also, your setspec.countcompletion value is not set. This must be "beginning", "end", or a unit number.

Both of these are required.

See https://github.com/memphis-iis/mofacts/pull/1322

imrryr commented 10 months ago

OK, so the wiki is wrong on this at least partly. It says false is default, which implied true would be acceptable. I will fix it. Also @JRustyHaner doesn't unit.countcompletion overide -- setspec.countcompletion? Isn't that pat valid becuase I have count completion in all of my last units? I.e.

imrryr commented 10 months ago

{ "unitname": "Final", "unitinstructions": "

Your answers have been submitted. Thank you for participating in this challenging study of learning and assessment. Your account will be credited with the bonus after we check your results.

", "countcompletion": true }

JRustyHaner commented 10 months ago

@imrryr well, json when something is unset, it's false/undefined/null. Javascript doesn't really see a difference between those. If you have a unit with countcompletion true, then it should work.

JRustyHaner commented 10 months ago

@imrryr to answer your question, don't set a setspec.countcompletion if you are using unit.countcompletion.

imrryr commented 10 months ago

I made the wiki a bit clearer too.