Closed carlan1 closed 1 year ago
We have tested the Spin the wheel game in the dashboard staging using the customized settings as mentioned. Now its working fine .
For each wheel (gain and loss wheels) the participant can gain/lose x dollars OR gain/lose 0 dollars. However there is currently no check to make sure that probability(x) + probability(0) = 1. What happens if I choose 50 and 25 for the "probability" options? Will the true probability be 50/(25+50) and 25/(25+50)?
Additionally, please add a setting to the game that allows researchers to specify the starting balance.
I do not see this setting yet @evinkalengaden
@carlan1
please add a setting to the game that allows researchers to specify the starting balance.
We missed this, sorry. We can update it today. We can check the probability.
For each wheel (gain and loss wheels) the participant can gain/lose x dollars OR gain/lose 0 dollars. However there is currently no check to make sure that probability(x) + probability(0) = 1. What happens if I choose 50 and 25 for the "probability" options? Will the true probability be 50/(25+50) and 25/(25+50)?
If probablility 50 and 25 is selected now it works with probablility 50/(25+50) and 25/(25+50). No checking for probability(x) + probability(0) = 1. Please refer the code: https://github.com/BIDMCDigitalPsychiatry/LAMP-activities/blob/master/Spin_Wheel/src/containers/Layout.tsx#L68
@carlan1
@carlan1 Balance added for game settings. Do we need top add any conditions for this parameter?
Looks good in staging
It appears that sometimes the Iowa Gambling Task / Spin the wheel task produces NaN values for the amount of money remaining. Please see the attached screenshot:
Here are the settings associated with the game:
The researcher ID where the game was assigned is
arbra7fwgbzx4ba60nh8
and the activity ID iskp9cnnkgb417ymm4r0jc
Additionally, please add a setting to the game that allows researchers to specify the starting balance.