juanitacosmica / FinalProject_RoadTrippr

2 stars 4 forks source link

Better Error Handling in TrippRoller #30

Open semionaut opened 2 years ago

semionaut commented 2 years ago

Not every destination will reliably have all attraction types available within the described radius.

Currently this is handled as: https://github.com/juanitacosmica/FinalProject_RoadTrippr/blob/cc983ff4f7a248952e2cfdc59fe9ab3480b6aa6f/recommendation_engine/TrippRoller.py#L54-L63 image

The trip generator needs to be able to reroll that category choice function if no locations are found, and/or increase radius. Only "complete" trips (all 3 stops) should be considered valid.