Code Golf Scoreboards

Throughout all of PPCG, we can find questions relating to the tag . Unfortunately, finding the lowest byte answer for questions can be difficult if not frustrating without an automatic system for scoring.

Good thing we have a scoreboard!

Shame it's sometimes hard to find, and new users might not have even encountered it before.

Therefore, the Feature Request:

Why not have a bot of some sort, a dummy user, that does one of the following:

• edits in questions and adds the scoreboard onto the end of the file?
• edits all challenges with a new tag and adds the scoreboard onto the end of them, also removing the tag?

The latter existing for moderators to instantly add a scoreboard or for users without automatic editing to suggest the scoreboard.

Or, Even Better:

Add it to the Featured menu over on the right and the introduction page. This gives the newer users the opportunity to find it quickly and for current users to be able to get it quickly as well. (as suggested by @AlexA.

• As someone who has never used a leaderboard in my challenges, I don't see what the big deal is. For some questions it may be handy, but I definitely don't want to see them appended to every code golf challenge on the site. For many, it would just be extra scrolling to get to the answers without a major benefit at all. – Geobits Nov 8 '15 at 4:43
• Based on community consensus (and chats with other moderators and a Stack Exchange employee), the feature request for a bot has been declined. – Alex A. Nov 9 '15 at 19:59
• Based on moderator consensus, making it a featured meta post has also been declined. – Alex A. Nov 9 '15 at 21:09

No.

To have bots that autonomously make edits is annoying, intrusive, and error-prone. If someone wants to have a Stack Snippet, he/she should edit it in manually.

• Yes. 2,000% agreed. Though I kind of said the same thing already in my post. – Alex A. Nov 7 '15 at 21:07
• While you are correct in saying that it is error-prone, I think the bot would be helpful. How would you suggest we allow new users and previous users both know of its existence and be able to access the leaderboard easier or be able to find it themselves easier? – Addison Crump Nov 7 '15 at 21:11
• @VoteToClose We can make Martin's template a featured meta post. It would appear on the right side where the link to the sandbox is. – Alex A. Nov 7 '15 at 21:15
• ^ THAT would be a valuable answer. @AlexA. – Addison Crump Nov 7 '15 at 21:16
• -1, if I could. this is by no annoying, if done correctly. – Seadrus Nov 7 '15 at 21:16
• @Seadrus Whether it's annoying is subjective. While some may not find it annoying, others might. – Alex A. Nov 7 '15 at 21:18

Make the template a featured meta post status-declined

That way it would appear on the right side next to the link to the sandbox. That would make it visible. Anyone who wants it can just click on it, copy, paste, done.

Note: Per moderator consensus, we have decided not to move forward with this idea.

• I definitely agree with this. It gets rid of any problems with the bots and would solve the problem of finding issues. +1 – Addison Crump Nov 7 '15 at 21:37
• I'd rather see the Sandbox as the only long term featured post, as it's the most important thing for helping improve question quality. – trichoplax Nov 7 '15 at 22:40

No

Whether a challenge contains a leaderboard should be up to the challenge author; it should not be inserted automatically. If a challenge author wants one, they can use Martin's template. Not all challenges are the same so a one-size-fits-all leaderboard doesn't always make sense anyway.

Further, tags are intended to categorize challenges. As such, a tag or similar makes no sense in terms of the purpose of tags. If at any time no challenges bear this tag, it will be automatically deleted by the system, so it would have to be continuously recreated anyway.

New users are no more likely to know of the existence of a tag (or auto-insert keyword for that matter) than they are of Martin's template. People developing challenges can just copy the template for themselves. If a new user wants one, we can provide a link to it or we can just edit it into the post.

• If the author doesn't want a leaderboard, they don't need to tag it. – phase Nov 7 '15 at 20:50
• See: "...also removing the tag". The tag would not be a tag that would exist in questions. And @phase's comment. – Addison Crump Nov 7 '15 at 20:50
• @phase See edit – Alex A. Nov 7 '15 at 20:53
• @VoteToClose See edit – Alex A. Nov 7 '15 at 20:54
• I think that the leaderboard is so universally good that it should be opt-out rather than opt-in. Comparing answers scores by language is central to code golf, and it is only because we are based on a Q&A platform that this feature does not exist natively. Barring challenges where the format doesn't make sense like C&R, where the posted can opt out, I see no reason the decision should be up to the challenge author. – xnor Nov 8 '15 at 7:02

We don't need a tag statement for this! Just add one of the following line to your question:

# Leaderboard

=

-


Let the bot edit all questions with this heading so that there is a leaderboard afterwards! This is a non-intrusive way of doing it; this heading doesn't appear when not referring to the scoreboard, and nothing else is really used to refer to the scoreboard anyhow.

On the issue of a common keyword and solution

I concede that the word "Leaderboard" is too broad. I then suggested "Bot Leaderboard"; this was also deemed to broad. Agreed, there might be one or two posts that have this title. So let us therefore reason together, not attack one another! We could use any of the following:

Do not limit yourself to my words. The possibilities are endless.

• Doing it this way, via a single keyword, is dangerous; it has the potential to mess up a challenge and its formatting significantly. Also, if a new user makes a manual leaderboard (think like Calvin's language showcase), this would add a leaderboard in addition to it. – Alex A. Nov 7 '15 at 21:01
• @AlexA. Easy fix; just reserve a designated keyword, such as "Bot Leaderboard" or something. – Conor O'Brien Nov 7 '15 at 21:03
• Like I said in my post, a new user is no more likely to know about that than they are about Martin's template. – Alex A. Nov 7 '15 at 21:03
• @AlexA. Therefore make it known to them? Can we not edit our own tour page? Besides, you simply ignored my secondary suggestion. Are you against it simply for being against the idea of a bot-inserted leaderboard? – Conor O'Brien Nov 7 '15 at 21:05
• Copy-pasting the secret keyword is just as easy as copy-pasting the entire leaderboard. I don't think there's an actual upside to this, but it does have the potential to create a mess of epic proportions. – Dennis Nov 7 '15 at 21:05
• @Dennis Is Bot Leaderboard that hard to type? – Conor O'Brien Nov 7 '15 at 21:05
• It's a few more key presses than Ctrl-C, Ctrl-V. On a serious note, Bot Leaderboard is too simple; it could still be written by accident as part of a challenge. – Dennis Nov 7 '15 at 21:08
• @Dennis As I have said, this is merely a suggested title. Don't attack it as if its the sole keyword. (And besides, having the keyword is easier than 1) searching for a post w/ the leaderboard, 2) viewing the source somehow, 3) copying the source, 4) going to your own question, 5) pasting the source.) – Conor O'Brien Nov 7 '15 at 21:09

Somewhat

There are plenty of good arguments presented here against using a tag, or a simple keyword, to automatically include a leaderboard snippet.

However, at the same time, there is a huge learning curve for new users on this site:

And those are just a result of a quick search.

Possible solutions to this: