How is the Trending Codes Sorting done? | Sololearn: Learn to code for FREE!

+49

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.

2/5/2017 4:40:49 PM

Frost

10 Answers

New Answer

+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 ¯\_(ツ)_/¯

+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

+19

I am also confused with this

+18

it's something like: topTrendingCode = codes [Math.random (0, codes.length)]; of course you can't forget: if (code == goodCode){ getAnotherCode (); }else { trendingFirstPlace (); } ^-^

+16

"Time, likes, visits and comments (did you expect something else?)" ~ ValentinHacker ^_^ Source: https://www.sololearn.com/Discuss/153168/?ref=app

+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

+14

I think amount of likes within a period of time so people who got less upvotes but in a short time are there

+14

From what I've noticed it must be something like: upvotes+comments/time (the shorter time, the better)

+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 !

-1

pls i wanna çhange my color test pls teach me