Sign In
Log in with your MaiOtaku account.
Lost Password
Forum Anime Search Newest Help

Distance Calculations

Posted in: MaiOtaku Blog
Big updates! Now your matches are sorted with very exact distance calculations in mind. Your new matches are a mix of the OtakuMatch score, which is based on your matching question answers, and their distance. You can see the code for that mix here:
for match in matches
   mix = score_sort.index(match).to_i + distance_sort.index(match).to_i
   sorter << [mix,match]
sorter = sorter.sort_by{|mm| mm[0]}

We're going to work on improving the OtakuMatch score based on things like Manga read/Anime watched, conventions attended, etc, but we have several features to work on first.
Please login to post.