As a fashion fan, I want a button that generates an outfit based on the current weather conditions for a specified set of parameters (temp, humidity, wind) so that I know what to wear in that instance. This feature is a stepping stone to get what the customer truly wants, which is dynamic outfit generation over the course of the day.
Algorithm
Database Setup: Create models for clothing items with fields for type (hat, shirt, etc.), heat index range, and waterproof rating.
User Input Form: Implement a form in Django to collect user inputs for tolerance, and activity level.
Formula Calculation: Calculate the effective clothing required based on the heat index and wind chill based on user inputs and the current stored temperature settings in the Weather model.
Comfort = {HI, T > 75, WC, T <= 75} - TOLERANCE_offset + WORKING_offset
HI = 0.5 {T + 61.0 + [(T-68.0)1.2] + (RH*0.094)}
WC = 35.74 + 0.6215T - 35.75v^{0.16} + 0.4275Tv^{0.16}, where v is the wind speed in MPH
Clothing Recommendation Logic: Query the database for clothing items whose heat index range is within the calculated heat index and pick the first one.
Display Recommendations: Display the recommended clothes to the user.
Acceptance Criteria
[ ] Scenario 1: Generates outfit that is proper to the temperature and weather
User clicks to generate outfit based on the current data set such as temperature, humidity, precipitation, and wind, and provides their offset values
One outfit (including hat, shirt, pants, shoes, offhand) is generated with proper attire for only that dataset
The outfit only reflects the weather condition, e.g. hot = thin layers, precipitation = umbrella
[ ] Scenario 2: Generates outfit with missing offsets
User clicks to generate outfit based on the current data set such as temperature, humidity, precipitation, and wind, and does not provide their offset values
One outfit (including hat, shirt, pants, shoes, offhand) is generated with proper attire for only that dataset
The outfit only reflects the weather condition, e.g. hot = thin layers, precipitation = umbrella
As a fashion fan, I want a button that generates an outfit based on the current weather conditions for a specified set of parameters (temp, humidity, wind) so that I know what to wear in that instance. This feature is a stepping stone to get what the customer truly wants, which is dynamic outfit generation over the course of the day.
Algorithm
Database Setup: Create models for clothing items with fields for type (hat, shirt, etc.), heat index range, and waterproof rating.Formula Calculation: Calculate the effective clothing required based on the heat index and wind chill based on user inputs and the current stored temperature settings in the Weather model.Clothing Recommendation Logic: Query the database for clothing items whose heat index range is within the calculated heat index and pick the first one.Acceptance Criteria
[ ] Scenario 1: Generates outfit that is proper to the temperature and weather
[ ] Scenario 2: Generates outfit with missing offsets