Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Drfraker's avatar

New Metric For Leaderboard

I think it would be cool to have a leaderboard metric that shows ranking of (Best reply award count / reply count) * 100. Higher scores would indicate higher quality answers.

Or maybe you could think of something similar that would be a better indication of quality answers...

0 likes
4 replies
Snapey's avatar

That would also be a measure of the quality of the question since often it takes many replies to get close to the real issue.

Let the leaderboard show who puts the effort in.

2 likes
Nash's avatar

Some basic filters like sorting by number of Best reply awards, Experience and perhaps even time frame (all time, last year, etc.) could be nice. No single metric is perfect but ultimately, it's @jeffreyway who decides what the leaderboard should be like.

jlrdw's avatar

The thing with some "best answers" is who is correct.

I've seen "best reply" where the OP still had the .env exposed.

@snapey you probably remember the one a few months ago. Yet there were 2 or 3 correct answers on the post. Yet it was clear OP wanted a quick "easy" way to get their site working on hosting.

So a lot has to do with the OP's experience and if they are really picking the correct answer.

Another example is how to retrieve some results with an aggregate. Person A might give reply with an eloquent query (query builder style). Person B maybe db facade. Person C may give example using eloquent relations.

Okay who is correct A, B, or C. Sometimes a more complex query eloquent isn't as well suited.

If all are good answers that would work then the "best answer" is subjective.

At times I give an example query, it may not be their data, but something similar like getting a count or an average. I have got some best answers from example, and sometimes not.

But the hope is it will still help someone.

I have more respect to "new to laravel" folks that:

  • Try and show code they have tried
  • Realize it takes time to learn this stuff
  • Someone who doesn't expect "cut and paste" answers
  • Etc

I try to remember something Jeffrey said once:

We were all new to this at one time.

I guess sometimes when I see a question like:

How do I edit a record in laravel.

And OP has not even viewed one free video, or looked at a single tutorial. Yes I admit that does get to me.

But now instead of getting mad, I just refer them to Jeffrey's free video series.

1 like
mushood's avatar

I think an indication of answer quality is already here but not used; the upvote feature. Maybe its due to the fact that you have to hover over the answer to show the number of hearts it has instead of showing it upfront. It would encourage users to "like" answer more. Maybe.

Also this metric as you are proposing (Best reply award count / reply count) * 100. would mean that if you get a best reply on first answer, you would have a 100% score. You'd be more hesitant to answer in order not to ruin your score.

Please or to participate in this conversation.