Lessons Learned
- For Hackathons, emphasizing how a proposed app/product solves a given pain point can be as valuable if not more valuable than the specific details of the technical implementation.
- I discovered a handy way in Ruby to perform Array Intersection with the & operator.
Context
At the end of my bootcamp, we had a small internal hackathon. My team was assigned the hypothetical task of improving AirBnB's site to address issues of racial discrimination by hosts towards guests. Our team decided to utilize IBM Watson's Personality Insights API to analyze AirBnB users' bio descriptions (which our team proposed adding as a requirement upon signup).
The Watson analysis would quantify a user's personality and these values would help inform the matching of hosts with guests. Initially, we wanted to come up with a more involved matching algorithm, but given the short amount of time we had, I suggested a basic matching algorithm, which is what is written above.