Sleep Shift Scheduling Tool

Sleep loss and fatigue may lead to reduced performance and an increased risk to safety during many activities, including spaceflight. Your challenge is to develop an operational sleep shift scheduling tool that provides autonomous customization of a schedule for sleep, exercise, and nutrition to manage fatigue.

S-E-N-sei

Summary

A web application that allows users to log their food intake (to provide suggestions), add working times so we know how to schedule their exercise, and input their current sleeping patterns for a set period of time to generate a personalized sleeping schedule

How We Addressed This Challenge
  • Our project addresses the challenge by providing a smart way to allow users to know when to sleep, what to eat, and when to exercise
  • We tried to develop a web app
  • It's important because various workers, not just astronauts, need ways to plan their sleep and how they work/eat
  • We hope to develop a fully functional web app (that might later become a mobile app) that looks at a user's current sleeping schedule (and analyzes it using ML/DS), compares it to the other users' profiles, and gives that specific user a convenient time frame to sleep. The system also aligns users' sleep schedules with other users' work times to ensure symbiosis in the workplace. We also hope to integrate sleep with exercise and nutrition as we found that lack of exercise and poor diet can lead to an increase in fatigue.
How We Developed This Project

We believed that it's applicable to other work places as well as space. Plus, a good number of people on the team like to sleep and want to do so more efficiently.


In terms of approach, we did some brainstorming a couple of hours before the hackathon began. Then, we did some research and the actual coding aspect for the rest of the time. However, it was a little challenging because all of us are final-year university students and we also had class assignments that were due (and are still due). Nevertheless, it was a fun kind of challenging.


Tools

  • Miro, for brainstorming
  • AWS to host our database
  • Zoom, WhatsApp and Discord for communication


Software & Coding Languages

  • mySQL
  • HTML, CSS, JS, Bootstrap (for the front end)
  • Python Flask for the backend

Problems & Achievements

Problems

  • Coordination to a large extent, especially since we were doing homework and other personal/home engagements
  • People were generally tired from being in class the previous week
  • It was somewhat challenging to find relevant data


Achievements

  • We found and tweaked a relevant template
  • We set up the backend for the project
  • We made our various databases and started thinking about how to implement the machine learning aspect of the project


Repo Links

(1) Backend: https://github.com/ronnypanford/SENsei

(2) Frontend: https://github.com/opaninakuffo/SENsei_Frontend

How We Used Space Agency Data in This Project

We used some data from Erin Flynn-Evan's study on circadian misalignment. This gave us some insights into how certain variables affect how a person sleeps.


We also got some sleep data from NASA's human research roadmap.

Tags
# web app