mDOT-Center / pJITAI

1 stars 2 forks source link

several checks for heartsteps.sql #78

Open janelai22 opened 1 year ago

janelai22 commented 1 year ago
  1. heartsteps.sql does not have noise information
  2. Need to double check if demo-0001 wouldn't be overwritten or deleted
  3. Ideally, demo-0001 should already be there when a new user registers
janelai22 commented 1 year ago

docker-compose exec mysql mysql -u root -ppass

show databases;

use pJITAI;

show tables;

truncate projects;

"copy paste the third line of heartsteps.sql"

dyna-code commented 1 year ago

Hi, Could you help me refresh what's the "noise information" in heartsteps.sql? Is it the Model Settings/Noise configuration step, the sql insert command itself, or the generated api?

janelai22 commented 1 year ago

Hi Chao, I didn't explain it clearly. If you look at file "routes.py" under "home" and look at line 275 and 276, you'd see the following model_settings['noise_scale'] = 3.16 model_settings['noise_degree_of_freedom'] = 5 Ideally I don't want the default values for these two inputs in the HeartSteps demo to be set up this way. It should be set up as all the other input values as in line 3 in heartstep.sql. As far as I can tell, these two values are not in line 3 in heartstep.sql. Would you mind helping us set this up properly? Thanks!

dyna-code commented 1 year ago

Thanks for the explanation really helps!