Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. Another rating formula : the energy of the article

Another rating formula : the energy of the article

Scheduled Pinned Locked Moved Site Bugs / Suggestions
c++csharpcssvisual-studiographics
22 Posts 9 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Davide Pizzolato

    If you compare the "Top Viewed Articles" with the "Top Ranked Articles", you find that the most popular articles have a relatively low rating. This makes me think that the ranking is not a good parameter, especially for the new competitions ;) I suggest this formula: Energy = rating * log10(max(10,#votes)); In this way an article with "4/5" and 50 votes (energy=6.78) is better that an article with "5/5" and 7 votes only (energy=5) The energy for the top viewed articles will be:

                              #votes  rank   energy
    

    MFC Grid control 333 4.84 12.21
    The Code Project Search Bar 63 4.05 7.29
    A set of ADO Classes 82 4.80 9.19
    Developing a Truly Scalable 87 4.25 8.24
    CButtonST v3.5 137 4.64 9.91
    Visual Studio .NET Menu 26 4.38 6.19
    CXImage 74 4.68 8.75
    CResizableDialog 53 4.53 7.81
    Cool Owner Drawn Menus 95 4.82 9.53
    Layout Manager for Dialogs 94 4.85 9.57

    The energy for the top ranked articles will be:

                              #votes  rank   energy
    

    Custom Tab Controls 12 5.00 5.40
    Zoom+ 7 5.00 5.00
    Get the real XP look 3 5.00 5.00
    Drag and Drop Tab Control 2 5.00 5.00
    A high performance TCP/IP 1 5.00 5.00
    BUG: MFC 7.0's CByteArray 1 5.00 5.00
    Drawing Barcodes in Windows 1 5.00 5.00
    SIngleton Pattern 1 5.00 5.00
    Undocumented Visual C++ 121 4.96 10.33
    Achieving PostScript and Wmf 25 4.96 6.93

    C Offline
    C Offline
    ColinDavies
    wrote on last edited by
    #7

    I think you have the right type of idea, But it might need some tweaking. Remember though these systems will always be controversial. Regardz Colin J Davies

    Sonork ID 100.9197:Colin

    More about me :-)

    D 1 Reply Last reply
    0
    • C ColinDavies

      I think you have the right type of idea, But it might need some tweaking. Remember though these systems will always be controversial. Regardz Colin J Davies

      Sonork ID 100.9197:Colin

      More about me :-)

      D Offline
      D Offline
      Davide Pizzolato
      wrote on last edited by
      #8

      the complete formula was:

      rating * log10(max(10,#votes))*exp(-(#days since 1st post)/100))+100*(#clicked banners)+10*(#nish's threads);

      but maybe it requires too much processing time for the server ;P

      C 1 Reply Last reply
      0
      • D Davide Pizzolato

        the complete formula was:

        rating * log10(max(10,#votes))*exp(-(#days since 1st post)/100))+100*(#clicked banners)+10*(#nish's threads);

        but maybe it requires too much processing time for the server ;P

        C Offline
        C Offline
        ColinDavies
        wrote on last edited by
        #9

        OMG the Nish factor appears ! It appears to be slightly overwieghted at *10. :-) I can see the issue about processor time on the server, for every page refresh. :-) Regardz Colin J Davies

        Sonork ID 100.9197:Colin

        More about me :-)

        1 Reply Last reply
        0
        • D Davide Pizzolato

          If you compare the "Top Viewed Articles" with the "Top Ranked Articles", you find that the most popular articles have a relatively low rating. This makes me think that the ranking is not a good parameter, especially for the new competitions ;) I suggest this formula: Energy = rating * log10(max(10,#votes)); In this way an article with "4/5" and 50 votes (energy=6.78) is better that an article with "5/5" and 7 votes only (energy=5) The energy for the top viewed articles will be:

                                    #votes  rank   energy
          

          MFC Grid control 333 4.84 12.21
          The Code Project Search Bar 63 4.05 7.29
          A set of ADO Classes 82 4.80 9.19
          Developing a Truly Scalable 87 4.25 8.24
          CButtonST v3.5 137 4.64 9.91
          Visual Studio .NET Menu 26 4.38 6.19
          CXImage 74 4.68 8.75
          CResizableDialog 53 4.53 7.81
          Cool Owner Drawn Menus 95 4.82 9.53
          Layout Manager for Dialogs 94 4.85 9.57

          The energy for the top ranked articles will be:

                                    #votes  rank   energy
          

          Custom Tab Controls 12 5.00 5.40
          Zoom+ 7 5.00 5.00
          Get the real XP look 3 5.00 5.00
          Drag and Drop Tab Control 2 5.00 5.00
          A high performance TCP/IP 1 5.00 5.00
          BUG: MFC 7.0's CByteArray 1 5.00 5.00
          Drawing Barcodes in Windows 1 5.00 5.00
          SIngleton Pattern 1 5.00 5.00
          Undocumented Visual C++ 121 4.96 10.33
          Achieving PostScript and Wmf 25 4.96 6.93

          A Offline
          A Offline
          Alexandru Savescu
          wrote on last edited by
          #10

          It looks that we are finally getting a new resonable formula. Best regards, Alexandru Savescu

          1 Reply Last reply
          0
          • D Davide Pizzolato

            If you compare the "Top Viewed Articles" with the "Top Ranked Articles", you find that the most popular articles have a relatively low rating. This makes me think that the ranking is not a good parameter, especially for the new competitions ;) I suggest this formula: Energy = rating * log10(max(10,#votes)); In this way an article with "4/5" and 50 votes (energy=6.78) is better that an article with "5/5" and 7 votes only (energy=5) The energy for the top viewed articles will be:

                                      #votes  rank   energy
            

            MFC Grid control 333 4.84 12.21
            The Code Project Search Bar 63 4.05 7.29
            A set of ADO Classes 82 4.80 9.19
            Developing a Truly Scalable 87 4.25 8.24
            CButtonST v3.5 137 4.64 9.91
            Visual Studio .NET Menu 26 4.38 6.19
            CXImage 74 4.68 8.75
            CResizableDialog 53 4.53 7.81
            Cool Owner Drawn Menus 95 4.82 9.53
            Layout Manager for Dialogs 94 4.85 9.57

            The energy for the top ranked articles will be:

                                      #votes  rank   energy
            

            Custom Tab Controls 12 5.00 5.40
            Zoom+ 7 5.00 5.00
            Get the real XP look 3 5.00 5.00
            Drag and Drop Tab Control 2 5.00 5.00
            A high performance TCP/IP 1 5.00 5.00
            BUG: MFC 7.0's CByteArray 1 5.00 5.00
            Drawing Barcodes in Windows 1 5.00 5.00
            SIngleton Pattern 1 5.00 5.00
            Undocumented Visual C++ 121 4.96 10.33
            Achieving PostScript and Wmf 25 4.96 6.93

            N Offline
            N Offline
            Nish Nishant
            wrote on last edited by
            #11

            Hello Davide, I see that you are doing some R n D on article ratings. I have a humble request. Can you do a case study of my articles. I have always complained to Chris about low ratings and I honestly feel some of it is artificially fabricated! I have 50+ articles and that should give you a wide enough range for comparisons. Most of my articles have good view counts but very poor ratings. Some of them are in the 2s and 3s and I have wondered why warm regards Nish


            Author of the romantic comedy Summer Love and Some more Cricket [New Win]

            C D 2 Replies Last reply
            0
            • N Nish Nishant

              Hello Davide, I see that you are doing some R n D on article ratings. I have a humble request. Can you do a case study of my articles. I have always complained to Chris about low ratings and I honestly feel some of it is artificially fabricated! I have 50+ articles and that should give you a wide enough range for comparisons. Most of my articles have good view counts but very poor ratings. Some of them are in the 2s and 3s and I have wondered why warm regards Nish


              Author of the romantic comedy Summer Love and Some more Cricket [New Win]

              C Offline
              C Offline
              Chris Maunder
              wrote on last edited by
              #12

              A case study on your articles based purely on page views, ratings and vote counts won't tell you anything. There are dozens of articles with high vote and view counts with deservedly low ratings, while just as many articles with viewership, high votes and undeserved low ratings. The rating system has been changed to stop multiple votes and to weight votes by membership level. Things will sort themselves out eventually. cheers, Chris Maunder he was a VB programmer, but he got better - Christian Graus

              N 1 Reply Last reply
              0
              • C Chris Maunder

                A case study on your articles based purely on page views, ratings and vote counts won't tell you anything. There are dozens of articles with high vote and view counts with deservedly low ratings, while just as many articles with viewership, high votes and undeserved low ratings. The rating system has been changed to stop multiple votes and to weight votes by membership level. Things will sort themselves out eventually. cheers, Chris Maunder he was a VB programmer, but he got better - Christian Graus

                N Offline
                N Offline
                Nish Nishant
                wrote on last edited by
                #13

                Chris Maunder wrote: Things will sort themselves out eventually. I hope so too. Anyway I've noticed that all my articles posted after you modified the rating system are a lot higher rated than my older ones. So I guess, that shows two things, (1) The rating system has got better and (2) My articles are improving, the improvement might be small, but it's still there ;-) Nish


                Author of the romantic comedy Summer Love and Some more Cricket [New Win]

                1 Reply Last reply
                0
                • N Nish Nishant

                  Hello Davide, I see that you are doing some R n D on article ratings. I have a humble request. Can you do a case study of my articles. I have always complained to Chris about low ratings and I honestly feel some of it is artificially fabricated! I have 50+ articles and that should give you a wide enough range for comparisons. Most of my articles have good view counts but very poor ratings. Some of them are in the 2s and 3s and I have wondered why warm regards Nish


                  Author of the romantic comedy Summer Love and Some more Cricket [New Win]

                  D Offline
                  D Offline
                  Davide Pizzolato
                  wrote on last edited by
                  #14

                  Hi, The results for the 55 articles are:

                  overall rating = 3.37 (low)
                  max energy = 7.60 (good energy - article: Some handy dialog box tricks...)
                  mean energy = 4.32 (low energy)
                  articles for beginners = 78%
                  articles with downloads = 33%

                  Not to be a teacher, or a guru, but I found some common defects in the articles: - Too much articles for beginners: the essay is easy to understand, so the skilled CPians give a low rating. - Too much articles without a playable demo: compile, run, and see what happens is easier than read a good article. - Too much preformatted monolithic blocks: interleaving some text between the source code gives a better appearance. Anyway the overall rating is really too low :confused: :~ , I have another suggestion for Chris: when an author updates his articles, he could choose to reset the rating (with a check-box in the submission wizard, or asking directly to Chris): in this way he loses all the votes (bad and good) and the article has a new chance to climb the charts.

                  N M 2 Replies Last reply
                  0
                  • D Davide Pizzolato

                    Hi, The results for the 55 articles are:

                    overall rating = 3.37 (low)
                    max energy = 7.60 (good energy - article: Some handy dialog box tricks...)
                    mean energy = 4.32 (low energy)
                    articles for beginners = 78%
                    articles with downloads = 33%

                    Not to be a teacher, or a guru, but I found some common defects in the articles: - Too much articles for beginners: the essay is easy to understand, so the skilled CPians give a low rating. - Too much articles without a playable demo: compile, run, and see what happens is easier than read a good article. - Too much preformatted monolithic blocks: interleaving some text between the source code gives a better appearance. Anyway the overall rating is really too low :confused: :~ , I have another suggestion for Chris: when an author updates his articles, he could choose to reset the rating (with a check-box in the submission wizard, or asking directly to Chris): in this way he loses all the votes (bad and good) and the article has a new chance to climb the charts.

                    N Offline
                    N Offline
                    Nish Nishant
                    wrote on last edited by
                    #15

                    Hello Davide, I am thankful that you have done a case study for me :rose: Davide Pizzolato wrote: - Too much articles for beginners: the essay is easy to understand, so the skilled CPians give a low rating. Yeah, I have realized that by now that beginner level articles are not taken too well down here. Not just from the ratings, but also from the comments! Unless it is on a recent topic so that the majority of people reading it actually gain some information. Davide Pizzolato wrote: Too much articles without a playable demo: compile, run, and see what happens is easier than read a good article. Some of them cannot have a demo of any sort, but I guess you are right. People prefer a downloadable project file zipped rather than code they can copy/paste/modify to compile. Thanks for this suggestion. I had not thought of that before. Davide Pizzolato wrote: - Too much preformatted monolithic blocks: interleaving some text between the source code gives a better appearance. You mean that my sample source code is not spaced properly, eh? Thanks for that too! Anyhow if I actually give them a zipped project file I won't even have to put a lot of code in the actual article, unless they are short samples. Thanks for your valuable tips and pointers Davide. Davide Pizzolato wrote: Anyway the overall rating is really too low Yeah, puzzling as it may sound, that's true. Even allowing for an unpopular collection of articles the rating is till too low as I had voiced previously. But Chris M's new rating system has actually improved things quite a good bit. Regards, Nish


                    Author of the romantic comedy Summer Love and Some more Cricket [New Win]

                    M 1 Reply Last reply
                    0
                    • N Nish Nishant

                      Hello Davide, I am thankful that you have done a case study for me :rose: Davide Pizzolato wrote: - Too much articles for beginners: the essay is easy to understand, so the skilled CPians give a low rating. Yeah, I have realized that by now that beginner level articles are not taken too well down here. Not just from the ratings, but also from the comments! Unless it is on a recent topic so that the majority of people reading it actually gain some information. Davide Pizzolato wrote: Too much articles without a playable demo: compile, run, and see what happens is easier than read a good article. Some of them cannot have a demo of any sort, but I guess you are right. People prefer a downloadable project file zipped rather than code they can copy/paste/modify to compile. Thanks for this suggestion. I had not thought of that before. Davide Pizzolato wrote: - Too much preformatted monolithic blocks: interleaving some text between the source code gives a better appearance. You mean that my sample source code is not spaced properly, eh? Thanks for that too! Anyhow if I actually give them a zipped project file I won't even have to put a lot of code in the actual article, unless they are short samples. Thanks for your valuable tips and pointers Davide. Davide Pizzolato wrote: Anyway the overall rating is really too low Yeah, puzzling as it may sound, that's true. Even allowing for an unpopular collection of articles the rating is till too low as I had voiced previously. But Chris M's new rating system has actually improved things quite a good bit. Regards, Nish


                      Author of the romantic comedy Summer Love and Some more Cricket [New Win]

                      M Offline
                      M Offline
                      Mazdak
                      wrote on last edited by
                      #16

                      Nish,I wanna say happy birthday to you man.Hope we see you again as an active member in CP. :) Mazy **"If I go crazy then will you still Call me Superman If I’m alive and well, will you be There holding my hand I’ll keep you by my side with My superhuman might Kryptonite"**Kryptonite-3 Doors Down

                      N 1 Reply Last reply
                      0
                      • D Davide Pizzolato

                        Hi, The results for the 55 articles are:

                        overall rating = 3.37 (low)
                        max energy = 7.60 (good energy - article: Some handy dialog box tricks...)
                        mean energy = 4.32 (low energy)
                        articles for beginners = 78%
                        articles with downloads = 33%

                        Not to be a teacher, or a guru, but I found some common defects in the articles: - Too much articles for beginners: the essay is easy to understand, so the skilled CPians give a low rating. - Too much articles without a playable demo: compile, run, and see what happens is easier than read a good article. - Too much preformatted monolithic blocks: interleaving some text between the source code gives a better appearance. Anyway the overall rating is really too low :confused: :~ , I have another suggestion for Chris: when an author updates his articles, he could choose to reset the rating (with a check-box in the submission wizard, or asking directly to Chris): in this way he loses all the votes (bad and good) and the article has a new chance to climb the charts.

                        M Offline
                        M Offline
                        Michael P Butler
                        wrote on last edited by
                        #17

                        Davide Pizzolato wrote: suggestion for Chris: when an author updates his articles, he could choose to reset the rating (with a check-box in the submission wizard, or asking directly to Chris): in this way he loses all the votes (bad and good) and the article has a new chance to climb the charts. Good suggestion, a lot of articles start off poor but authors improve them over time and they become good articles. I second this idea. Michael :-) Logic, my dear Zoe, merely enables one to be wrong with authority. - The Doctor

                        1 Reply Last reply
                        0
                        • M Mazdak

                          Nish,I wanna say happy birthday to you man.Hope we see you again as an active member in CP. :) Mazy **"If I go crazy then will you still Call me Superman If I’m alive and well, will you be There holding my hand I’ll keep you by my side with My superhuman might Kryptonite"**Kryptonite-3 Doors Down

                          N Offline
                          N Offline
                          Nish Nishant
                          wrote on last edited by
                          #18

                          Mazdak wrote: Nish,I wanna say happy birthday to you man Thank you. Mazy, you are the first fellow to wish me this birthday :-) Nish


                          Author of the romantic comedy Summer Love and Some more Cricket [New Win]

                          M 1 Reply Last reply
                          0
                          • N Nish Nishant

                            Mazdak wrote: Nish,I wanna say happy birthday to you man Thank you. Mazy, you are the first fellow to wish me this birthday :-) Nish


                            Author of the romantic comedy Summer Love and Some more Cricket [New Win]

                            M Offline
                            M Offline
                            Mazdak
                            wrote on last edited by
                            #19

                            Nishant S wrote: you are the first fellow to wish me this birthday Nope.Take a look at soapbox. :)

                            1 Reply Last reply
                            0
                            • C Chris Maunder

                              I like it (at least for high ranked articles). What about low ranking articles with lots of votes? (guess I could pull out the calculator myself but call me lazy ;)) (apologies for reformatting your post - I wanted others to see your idea more clearly) cheers, Chris Maunder

                              E Offline
                              E Offline
                              Ed Gadziemski
                              wrote on last edited by
                              #20

                              I think the popularity ratings are biased. They tilts heavily toward MFC articles and toward "cool" subjects like grids. Meanwhile, other articles that are more specialized and receive less total views (and, consequently, less total votes) receive lower "popularity". Frankly, I find it somewhat childish. It takes me back to grammar school days when we voted for the most popular boy and girl in class.

                              C 1 Reply Last reply
                              0
                              • E Ed Gadziemski

                                I think the popularity ratings are biased. They tilts heavily toward MFC articles and toward "cool" subjects like grids. Meanwhile, other articles that are more specialized and receive less total views (and, consequently, less total votes) receive lower "popularity". Frankly, I find it somewhat childish. It takes me back to grammar school days when we voted for the most popular boy and girl in class.

                                C Offline
                                C Offline
                                Chris Maunder
                                wrote on last edited by
                                #21

                                The whole point of the ratigs and popularity is two-fold a) to allow those who have never been to CodeProject before a chance to look over the articles that most people found useful. b) to have something that will give good articles a chance to appear on the homepage longer than would normally be the case. No, it's not perfect, and I'm always up for other ways of accomplishing these two tasks. cheers, Chris Maunder Rub your belly and pat your head simultaneously. Sometimes that helps me make sense of things - Jon Sagara

                                E 1 Reply Last reply
                                0
                                • C Chris Maunder

                                  The whole point of the ratigs and popularity is two-fold a) to allow those who have never been to CodeProject before a chance to look over the articles that most people found useful. b) to have something that will give good articles a chance to appear on the homepage longer than would normally be the case. No, it's not perfect, and I'm always up for other ways of accomplishing these two tasks. cheers, Chris Maunder Rub your belly and pat your head simultaneously. Sometimes that helps me make sense of things - Jon Sagara

                                  E Offline
                                  E Offline
                                  Ed Gadziemski
                                  wrote on last edited by
                                  #22

                                  I agree that those two goals are important. You've got a tough job trying to please everybody.

                                  1 Reply Last reply
                                  0
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • World
                                  • Users
                                  • Groups