How is the Trending Codes Sorting done? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 50

How is the Trending Codes Sorting done?

On what basis is a code listed in "Trending" section. I can see many codes with hundreds of upvotes and at the same time codes with minimal upvotes.

5th Feb 2017, 4:40 PM
Frost
Frost - avatar
10 Answers
+ 26
try to consider the following criteria and mix them up for some sort of "trending score equation" 1) initial time of code creation 2) thumbs up (maybe even some ratio between thumbs up since initial time of code creation) 3) comments on the code 4) entries to the code (if that is even measured) in a period of time 5) some human involvment for overseeing the process once you have some data to work with it's just a matter of building the best fitting equation for the job and play with it, and see what work best. yet again, could be just some PRNG gods messing with us ¯\_(ツ)_/¯
5th Feb 2017, 11:35 PM
Burey
Burey - avatar
+ 36
^_^ "Post a cancerous, malfunctioning, stupid code. You'll get up in trendings in no time and bury the good ones. Did you expect something else?"……… @ValentinHacker
5th Feb 2017, 7:03 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 19
I am also confused with this
5th Feb 2017, 4:41 PM
Sakshi👸
Sakshi👸 - avatar
+ 18
it's something like: topTrendingCode = codes [Math.random (0, codes.length)]; of course you can't forget: if (code == goodCode){ getAnotherCode (); }else { trendingFirstPlace (); } ^-^
9th Feb 2017, 10:01 AM
Kamil
Kamil - avatar
+ 16
"Time, likes, visits and comments (did you expect something else?)" ~ ValentinHacker ^_^ Source: https://www.sololearn.com/Discuss/153168/?ref=app
5th Feb 2017, 5:30 PM
Jafca
Jafca - avatar
+ 15
"^_^ "Post a cancerous, malfunctioning, stupid code. You'll get up in trendings in no time and bury the good ones"……… @ValentinHacker" ~ ValentinHacker ^_^ Source: https://www.sololearn.com/Discuss/204131/?ref=app
5th Feb 2017, 7:05 PM
Jafca
Jafca - avatar
+ 14
I think amount of likes within a period of time so people who got less upvotes but in a short time are there
5th Feb 2017, 6:12 PM
Utkαrsh
Utkαrsh - avatar
+ 14
From what I've noticed it must be something like: upvotes+comments/time (the shorter time, the better)
5th Jul 2017, 6:48 PM
Pao
Pao - avatar
+ 9
i think its all about the material should be present in the code and likes and comments should also be present within shorter period of time !
15th Jun 2018, 8:22 AM
Prabhat
Prabhat - avatar
- 1
pls i wanna çhange my color test pls teach me
14th Oct 2018, 5:58 PM
Ola
Ola - avatar