/sorting-hat

An interactive Sorting Hat from the Harry Potter books!

Primary LanguageRuby

Sorting Hat

Find out definitely into which Hogwarts House you ought to be sorted. The Sorting Hat seeks to replicate the same hat from the Harry Potter series by integrating with IBM Watson to create an interactive assessment of your values, personality traits, and character. While loosely based on the Sorting Hat Experience available on Pottermore, this Sorting Hat AI ignores the dumb questions like:

  • "Dusk or Dawn?"
  • "Forest or River?"
  • "Heads or Tails?"

... along with the cryptic:

  • "Four boxes ar eplaced in front of your, which do you choose?"
  • "You enter an enchanted garden. Which would you be most curious to examine first?"
  • "If you were attending Hogwarts, which pet would you choose to take with you?"

... Because these questions have zero to do with what House you belong in.

Authored by

Dependencies

  • ruby ~> 2.5.1
  • rails ~> 5.2.2.1
  • pg ~> 0.18
  • puma ~> 3.11
  • ibm_watson ~> 0.2.0
  • slim ~> 4.0.1
  • sorcery ~> 0.13
  • rspec-rails
  • factory-bot-rails