Open ak146 opened 1 month ago
Hayden will focus on Backend & Andrew will focus on Frontend.
Frontend: takes in user input for severity of symptoms and looping through fields to collect data as list, then send data to backend through a POST request.
Backend: takes the data from the frontend and algorithmically processes it. Weights will be added to each symptom and the score can be calculated. A list of suggested/possible recovery methods will be researched based on scientific studies and a large list will be created for recovery methods, each stored in the format ['recovery method', required total severity score, [other specific symptoms required to trigger this recovery method]]. This large list will be filtered through list comprehension and the backend will return a total severity score along with the list of suggested recovery methods in JSON format.
👯♂️
Loops (Algorithmic) Show specific example of building a List using List Comprehension. Show examples of processing a list using conventional and for each methods.
Sorting / Searching (Algorithmic) Show examples of sorting and searching using the backend of your project.. FYI, SQLAlchemy allows filtered selections and sorting. Additionally, you have sorting options discussed in tech talk.
For my final project with Hayden Chen we will add an algorithim to take in a longer list of symptoms as well as recovery time to return methods of recovery.
weight different injury types differently
make a score list to keep track of every injury
return recovery methods along with score
use list comprehension to return most severe symptoms and the ways to treat them
add return recovery options (monday-tuesday) Hayden/Andrew
make new page to show recovery options (monday) Andrew
add new inputs for certain like constant headaches, dizziness, sensitivity to light. (tuesday-wednesday) Hayden
use list comprehension to return most severe symptoms and the ways to treat them (tuesday) Hayden/Andrew
loop through user data to access severity scale. (thursday) Hayden
sort by severity to show most important steps to recovery. (thursday) Andrew
finishing touches (friday) Hayden/Andrew