4 ms·
An interface to preferentially compare and choose between 2 objects, using a Tinder like interface (swipe left/right mechanics). Every year I do a stack ranking
by edmundsauto 4y ago
An interface to preferentially compare and choose between 2 objects, using a Tinder like interface (swipe left/right mechanics). Every year I do a stack ranking of baseball players for my fantasy league. If I had this interface, I could easily setup an ELO comparison function to create my complete list out of a series of easier comparisons.
I have at times also wished I had this for just about any sort of data tagging. Give it an array of json objects, it displays the data and then lets you swipe super quickly through all the objects in the array, semi-randomly choosing which objects to compare. Would need to write the data out as well - that's the product.
This is probably worth a couple hundred bucks to me if anyone wants to build it and open source under a commercial-reuse allowed license. Every year I spend dozens of hours doing this and don't feel like I have done a great job of making the correct comparisons.
- sussmannbaka 4y agoCheck out https://github.com/antialiasis/favorite-picker https://github.com/antialiasis/favorite-picker The favorite Pokémon picker is based on this and I have used it (and similar ones, based on Tōhōsort) to do similar sorting.
- ashishsingal 4y agoany luck on implementing this one? would be cool to see if pycob can do it.
- zainhoda 4y agoHow's this? The home page is a setup where you setup your dataframe. If you already have some csv or something, you can read that rather than getting user input. The app will randomly select 2 rows of the dataframe and display them as side-by-side VS cards. You then pick the winner from the two. Then the app will repeat random selection/winner as many times as you want. There's a results page that shows the ELO ranking of all the "players" as well as the history of all the "games" between the players. I implemented not with a "swipe" interface but just with side-by-side cards and you click on one. It wasn't clear to me how swiping would work when you're choosing a winner between 2 objects rather than making a yes/no decision. If you have an idea for how swipe would be useful, I'm all ears. Live App: https://compare-and-rank.pycob.app/ https://compare-and-rank.pycob.app/ Source Code: https://github.com/pycob/sample-apps/blob/main/compare-and-rank/main.py https://github.com/pycob/sample-apps/blob/main/compare-and-r...
- edmundsauto 4y agoThis looks pretty awesome! I am seeing an error when I try to rank things - is something temporarily broken?
- zainhoda 4y agoI don’t believe you should be getting an error. Could you share what you’re seeing? Feel free to submit a GitHub issue or email me at my username at gmail
- dieselgate 4y agoWhen you mention “objects” do you mean a literal Noun type object? Or purely data objext
- victorbjorklund 4y agoThat is a pretty cool idea.
- zainhoda 4y agoThis is a great idea! -- I'm going to take a stab at implementing this tonight
- enos_feedler 4y agoI need this too for sorting through all my credit card transactions! Swipe left for business and right for personal