Inspiration
Our team has come together with a common initial motivation on creating a public friendly platform to estimate the risk and the spread for a situation people would be in. While most of large public events are being cancelled, there are still many situations people has to go to that may not be the safest. For example, super markets, and hospitals. People also might be wondering if they are safe to host even a small family dinner with their loved ones. We hope our hack not only educates people about their immediate risks, but also be a tool for them to make their own decisions to protect themselves.
What it does
Our app allows the users to input the number of population of the event, the duration of the event in hours, the number of movements around the area they expect per hour within the location, and the number of expected initial people who may have the COVID-19, calculated from the percentage of positive tested people in the country of choice. The app returns a model of spread during the event and the final number of population who are in risk of getting the virus at the end of the event.
How I built it
The base algorithm is written in python. A grid is created with the number of box spaces representing the number of population. Initial virus carriers are randomly chosen and every hour, the one with the virus spreads to the surrounding people, each with the chance of 24%. The percentage was calculated from factors such as, average number of sneeze, cough, in an hour, and the reported number of people one can spread to. The movement variable, models the distance person with the virus moves within an hour. This is an index of how frequent people switch location. For example, in a movie theater, there is barely any movement so it would be set to 0, in a store, people are constantly moving around so movement would be set around 10 or more, depending on how large the population is.
Log in or sign up for Devpost to join the conversation.