I've been a professional C, Perl, PHP and Python developer.
I'm an ex-sysadmin from the late 20th century.
These days I do more Javascript and CSS and whatnot, and promote UX and accessibility.
has_many:top_comments,->{where("comments.score > ? AND ancestry IS NULL and hidden_by_commentable_user is FALSE and deleted is FALSE",10).order("comments.score DESC")},as: :commentable,inverse_of: :commentable,class_name: "Comment"
So it's top-level visibile-to-you comments in order of score, which is... wait...
(number of reactions) + (number of child comments / 2) + (bonus) - (spamminess)
and bonus is 2 points for (> 200 characters) and 1 point for including a code block.
and spamminess is 0 for normal users and 100 for anonymous users.
So it's mostly top-level visibile-to-you comments from non-anonymous users based on number of reactions and replies, and the rest is important but uninteresting to general users.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Oh, I found it, in app/models/article.rb:31
So it's top-level visibile-to-you comments in order of score, which is... wait...
(number of reactions) + (number of child comments / 2) + (bonus) - (spamminess)
and bonus is 2 points for (> 200 characters) and 1 point for including a code block.
and spamminess is 0 for normal users and 100 for anonymous users.
So it's mostly top-level visibile-to-you comments from non-anonymous users based on number of reactions and replies, and the rest is important but uninteresting to general users.