Leaderboards are live
You might have noticed that challenges now show a leaderboard in addition to the table of contents. This is something this community has wanted for a while, and now, thanks to user contributions and a lot of chatting in Discord, it's live. See this blog post, which I meant to link here more promptly (sorry!).
The table of contents sorts answers by voting, but golfers wanted a leaderboard that sorts challenge responses by code size. And because it's not really fair for answers in different languages, some verbose and some designed for golfing, to compete head to head, the community also needed a way to show the languages in this leaderboard. While a userscript can solve the problem for those in the know, we and the community wanted this to be readily available to all.
Enter one of our users, Moshi, who made this for the community (no userscripts required):
Or, grouped by language to give folks using Java, C, and others a shot:
We're aware of a bug on mobile; it's fixed and awaiting deployment.
If you see anything that's not quite right, please let us know.
Few QoL improvements can be ma …
3y ago
Seems to be an issue with the …
3y ago
Adding `display:flex; align-it …
3y ago
Libraries are removed when "me …
3y ago
4 answers
Seems to be an issue with the ordering (across languages) when "Group by language" is set. When I first load the page, they are ordered with the most recent post first. If I then uncheck "Group by language" and check it again, they are ordered by byte count. These should be consistent. I'd prefer the byte count version but… I am not a Java programmer.
Few QoL improvements can be made:
Some trivial challenges(i.e. "Hello World!") get many, many answers, so the leaderboard should show a scrollbar beyond some point(after the first 10 submissions, maybe?).
Another thing I'd like to see is the ability to hide the leaderboard, preferably by clicking the "leaderboards by language" thing(It looks clickable, but i can't click it grrr)
0 comment threads
Adding display:flex; align-items:center
to .toc--full
items centers the names and code samples vertically, which I think looks a little better.
0 comment threads
Libraries are removed when "merge variants" is on. For example, this answer written in C (clang)
uses a library called BMPL
, so its header is C (clang) + BMPL
. While there's nothing wrong with using libraries, this shows up as just C
instead of C + BMPL
in the leaderboard. Could that be fixed?
0 comment threads