GitHubGuessr
github-guessr.vercel.app
github-guessr.vercel.app
Being able to quickly eliminate languages might also be good - if you see some code that you know is Python, for example, a little filter bar would be a nice way of shortening the list. Great concept!
Then the remaining set could be placed in a 2D plane, organized through some sort of clustering in vector space.
What did he mean by this?
Anyway, if I had to guess, I'd say grouping along two or more traits. Maybe size along one axis and purpose along the other, clustering similar projects together.
Or you could have something like an LLM's embedding model that converts a description of a github project into a series of numbers. Each number will be from 0 to 1. Hypothetically, the first number could represent the commercial-ness of the project. The second number could be how closely related the project is to web development, the third a relation to AI, etc. Embeddings for use with LLMs often have between 100 and 10,000 dimensions.
You could then use a dimensionality reduction technique like t-SNE (https://www.datacamp.com/tutorial/introduction-t-sne) that will take these hundreds or thousand of dimensions and squish them down to 2 or 3. That allows humans to explore the space intuitively. This way you get related projects close together. PyTorch and SciKit Learn will be near each other because they are both AI/ML related. And then Pandas will be in a different but nearby cluster. Ruby on Rails would be farther away.
In the end you get a 2D map where similar projects are grouped. This makes it much more like GeoGuessr. GeoGuessr only works because similar parts of the world tend to be near each other. The world doesn't have a square kilometer of desert in the middle of a rainforest. Locality is extremely relevant and it makes GueGuessr fun and intuitive.
Just throwing a bunch of projects in a list here ruins the game because you can at most have one dimension along with projects are associated.
But, given the list of projects is small it would be easier to simply have a person curate a map.
1. Clicking on the "Select" dropdown gives me the (I believe) complete list of options, which is not that big, so it's easy for me to pick from those options instead of guessing. Autocomplete is alright (similar to Framed or Guessthegame) but I shouldn't be able to see all from the start.
2. If the previous becomes too hard, you could add a few more tries with more pictures if I failed, ideally these would come in decreasing order of difficulty, but I understand that ought to involve more manual work so you could make do with just more random pictures from the same codebase which might help me.
3. Finally, a "share" button which copies my score to the clipboard so I can share it with my friends would be cool. A "daily" challenge would be great too so I can make sure we compete on the same codebase as my friends (otherwise I might get an easier challenge) though this will probably imply getting a new codebase for each day, and making the list of options much bigger.
return output
}
}
}
}
}
I guess this is one of the cases where an app should pretend to choose a "random" snippet, but actually the user doesn't want real randomness.One bug: I selected Selenium and it was wrong, then the next one I thought was also Selenium and it was. The drop down still has Selenium selected but an empty string was sent as the guess.
Thanks for making this!
An interesting game.
this is a great game by the way! There might be scope for grouping the repos broadly by language. so when faced with some javascript code, the list of possible answers the user gets to pick from are all javascript-y repos. but this ofcourse makes it easier (maybe too easy).
Great to see it in a working version!
I think there’s serious potential in this if you do it on your team’s own code. It would be a fun game to play with your colleagues on a Friday afternoon.
SELECT count() ...
query, so I know that it uses ClickHouse. The right answer was Sentry, but I didn't have enough time to find it in the drop-down list.Hint: Language is Javascript
Hint: Owner is "Facebook"
Hint: Other languages used in the repo include
HTML 2.8% CSS 1.5% C++ 1.0% TypeScript 0.5% CoffeeScript 0.4% Other 0.2%
i was thinking it could be like hangman style..
_ _ A C T TypeError: e is undefined
NextJS 11
[framework-63157d71ad419e09.js:9:69810](https://github-guessr.vercel.app/_next/static/chunks/framework-63157d71ad419e09.js)the menu and the sudden scroll jump is a bit jarring and answer selection does not reset properly after going to next round?