General YPN >> Rating
Posted by robost86 on 15:54:00 01-17-2002
The user "Henning" has submitted a few code snippets/programs/tutorials in the webdev section. He has got pretty low ratings (6 to 7), but yet he is #1 in the Hall Of Fame.

This shows the rating system is unfair.

He also brings another problem up. Before Sasq2 (the new web page), there were only 2 categories: code snippets and tutorials. The "program" sections were created for bigger programs.

Henning has submitted 2 very similar code snippets in the program section. They should of course be in the "code snippet" section.

Also, it's prefered that you write your programs (and the comments) in english.
Posted by moondude on 16:28:00 01-17-2002
Ja henning wenn du kein englisch verstehst solltest dus vielleich tsein lassen aber ich denke dass du es verstehst! denn koentest du es auch mit deiner deutschen homepage ändern! nur ein rat!
Posted by nonama on 16:29:00 01-17-2002
Oh, cmon robert. there are guys that are happy to get code written even with latin coments. I'm lithuanian guy. i comment in lithuanian. i wanna submit a code. do i have to rewrite it, or what?

wake up. if you dont like him, doent read his codes. i'm sure there will be lots of people that'll be hapy to get his codes.
Posted by fsvara on 16:38:00 01-17-2002
Well... It is true that #1 in HoF is a bit strange... It was me who came up with the "equation" with which the rating is calculated, and I thought it would work pretty well... I think it did up to now... Perhaps we can change it by doing +(0.2 * count_of_submitted_stuff) instead of +(0.1 * ...).
Tough that would probably make the system more prone to submitting th
ousands of little 3-line snippets to get a good r+ating...

Then, we could check for the size of the doc, and if it's --> 200kb or something, it is allowed to go to "programs", and docs in "Programs" are rated better (get a +0.5 bonus or something) than mere snippets. It's not a very elegant solution, tho, but might work. What do you think?
Or we could make it so that simply all points are added together... Perhaps with some penalties for documents that got rated [ This Message was edited by: fsvara on 2002-01-17 18:57 ]
Posted by Henning on 17:44:00 01-17-2002
Oh robst86 you are right
i will change it.
And monedud i will make a new
Homepage in English because my german
Homepage is a privat Homepage.
nonama i have write all "Programms"
in german and have translate in English.

But i think we dosen´t fighting for rating!!!

Henning

Posted by Peter on 17:56:00 01-17-2002
Henning: true.

Svara: good idea..
Posted by KaGez on 07:28:00 01-18-2002
svara:
Your idea is good, but there is only 1 thing I don't agree with ... the limit of 200kb is pretty big, and unless you code some 1000 lines you won't be able to submit it as a programm (unless you add some graphics into the archive or something like that). My OpenGL terrain fractal is a complete program, in the level of complexity, as well on the level of performace. It has only 700 lines atm. and that will never be 200kb ... anyways, just a idea
Maybe just making it 50kb or so will help it

But I think that stuff with the comments is a important thing. What do you write the comments for (in case the code is opensource) ? I write it so that other ppls are able to understand and learn from it (at least I try to ), so I think it's important to have comments in a language that everybody understands, as well as the posts in the forum. Only my opinion tho
[addsig]
Posted by robost86 on 10:31:00 01-18-2002
nonama: The idea with english comments is that everyone should be able to read. Lithuanian comments are just as helpful as no comments (for 99.8% of the community).

Heh, guys... Do you have any idea of how much code you have to write to get a 50KB compressed file? At least about 10000 lines. I think we should decide from case to case instead. If someone breaks the rules, he gets flamed
Posted by robost86 on 10:42:00 01-18-2002
What about the following formula for points in the hall of fame?

p = (
tutorials*0.1 +
programs*0.1 +
code snippets*0.025 +
links*0.005 +
average_rating(tutorials) +
average_rating(progrmas) +
average_rating(code snippets)*0.25
)

(Note: Unrated stuff should not be counted as 0-rated ones, they shouldn't be counted at all)
Posted by KaGez on 10:57:00 01-18-2002
robert:
try to make a sample implementation that would work on it's own so fabs or Peter or whoever is gonna implent it can do it fast
[addsig]
Posted by fsvara on 13:35:00 01-18-2002
kagez: that 200kb was just the first thing that came to my mind, you're right, it's very large. We would have to experiment a bit with that.
robert: your forumla looks ok, but i don't agree with giving 0.025 or 0.005 as bonus. It's next to nothing, people would have to sibmit 200 links to get one point... Good links with a lot of information are worth a lot. I suggest +0.1 for links and snippets, too.


We could also try a new way of finding a rating for a document, not using the average.

For example, a documented could be voted on like
10,10,10,9,0,10. The rating "0" would be ignored by that system, because it is so extremely different from the rest that it probably was a mistake or somebody stupid.
Same goes for like 0,0,0,0,9,0 of course.

Posted by KaGez on 14:19:00 01-18-2002
but how would you implent it? it sounds good, but also hard to code ... without _really_ thinking about it ... there will be a way tho, and if somebody finds it, it will be the best rating sys I've ever seen
[addsig]
Posted by fsvara on 14:40:00 01-18-2002
well, it isn't a complete rating system by itself, but perhaps a better way to find the rating for a tut than just taking the average...

Something like robert suggested would still be needed... and perhaps also checking for size when submitting a "program"...

I'll compile all these suggestions into a doc and put it online once i find the time, so we have a nice overview...
Posted by KaGez on 15:22:00 01-18-2002
If you guys want it, I could help you and write some functions you could then implent into sasquatch
[addsig]
Posted by Peter on 17:55:00 01-18-2002
If svara could put up the cvs with sasq2, you could start coding
Posted by KaGez on 02:01:00 01-19-2002
oh, and please don't forget to include a db (structure) dump in the tarball
[addsig]
Posted by abhi on 10:09:00 01-19-2002
Hi all,

Implementing svara's idea may not be so hard, (10,10,0,10). U just need to calculate the variance, see if its over the limit, if it is, remove that entry. I don't remember the exact procedure, u'll will be having it under statistics subject.

Bye,
Abhi.
Posted by KaGez on 14:55:00 01-19-2002
talking is easy, but most of it wold maybe understand it faster in form of code
Maybe show us some PHP (C would also do it) code about what you're talking about
[addsig]
Posted by fsvara on 15:20:00 01-19-2002
yeah.. cvs... i know...

well, i'll try to have it avaialable by onight.. i'm quite sleepy and dizzy, but at the same time full of energy for wokring for the ypn!
Posted by KaGez on 15:30:00 01-19-2002
huh? where does that CVS come from now? :/
[addsig]
Posted by fsvara on 15:49:00 01-19-2002
the last thign peter posted..
Posted by KaGez on 15:51:00 01-19-2002
ah, ok, didn't look at the previous page, sorry
[addsig]