oliviermirat / MyAIGuide

Creating AI-based health coaches through crowdsourced health research

Home Page:https://myaiguide.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blank screen

oliviermirat opened this issue · comments

For Participant 1, the time spent on the computer is recorded by Manic Time for 3 different computers: https://github.com/oliviermirat/MyAIGuide/tree/master/data/raw/ParticipantData/Participant1PublicOM/computerUsage . While using his computer, Participant 1 sometimes has a blank screen present, those are shown in the blankscreenComputer[1/2/3].csv files. The function https://github.com/oliviermirat/MyAIGuide/blob/master/src/MyAIGuide/data/storeManicTime.py retrieves the time that Participant 1 spent on his computer on a daily basis. We need to create a function storeManicTimeBlankScreen that calculates the time that Participant 1 had a blank screen on his screen, on a daily basis. We also need to create a test function that will use that function storeManicTimeBlankScreen to store data into the dataframe of Participant 1. More precisely, we will need to create two new columns: one to store the time spent on a black screen, and one to store the time spent on the computer minus the black screen time.