Oscillating Stockfish Evaluation on Laptop












5















I'm using stockfish-9-bmi2 on my laptop to provide me move by move evaluation of games. I've set Stockfish to evaluate to depth = 25 plys. I find that the evaluation provided oscillates move-on-move after a certain number of moves. Below is the plot of the evaluation:



Stockfish evaluation on laptop



In the above plot, the ply-count is on the x-axis, the evaluation from Stockfish is on the primary y-axis (left), the Mate-In number is on the secondary y-axis (right). The Blue line with white circles is the plot of the evaluation and the red circles depict the mate-in number.



However, for the same game, when I jot down the evaluation from lichess.com's analysis board, which is also using Stockfish 9, I get a much more stable evaluation move-on-move. Lichess.com's analysis board also uses depth = 25 for most moves but can use a different number for certain moves. Below is the plot for the same:



Stockfish evaluation using Lichess Analysis board



In the above plot, the Blue line depicts the evaluation. The break in the trend is because of a Mate-In-3 on ply count = 63.



Considering that both methods use Stockfish 9 and is set to depth = 25, can someone help me with why the results on my laptop oscillates so much?



My Laptop's configuration:




  • OS: MacOS High Sierra

  • Processor: Intel core i7 2.2 GHz

  • RAM: 16GB

  • Stockfish: stockfish-9-bmi2


The game used is Praggnanandhaa vs Vishy Anand - Tata Steel Chess India Blitz 2018



1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6
5. Nc3 a6 6. a3 g6 7. Be2 Bg7 8. Be3 O-O
9. Qd2 b5 10. O-O-O Bb7 11. f3 Nbd7 12. h4 Ne5
13. Bh6 Bxh6 14. Qxh6 Rc8 15. g4 Rxc3 16. bxc3 Qa5
17. Nf5 gxf5 18. gxf5 Qxc3 19. Rdg1+ Ng6 20. fxg6 fxg6
21. h5 Bxe4 22. fxe4 Qa1+ 23. Kd2 Nxe4+ 24. Ke3 Qc3+
25. Bd3 Qd2+ 26. Kxe4 Qxh6 27. hxg6 Qf4+ 28. Kd5 h6
29. g7 Rc8 30. Ke6 d5 31. Rg6 Rc6+ 32. Kxe7 Rxg6
33. Bxg6 Kxg7 34. Bd3 Qe5+ 35. Kd7 h5 36. Rg1+ Kf6
37. Rg6+ Kf7 38. Rh6 a5 39. Kc6 b4 40. axb4 axb4
41. Kd7 Kg7 42. Re6 Qd4 43. Ke8 Qg4 44. Ke7 h4
45. Be2 Qg5+ 46. Kd6 h3 47. Re7+ Kf8 48. Re5 Qf6+
49. Kxd5 h2


P.S.: I have also tried using stockfish-9-64 instead of stockfish-9-bmi2 and the results are similar










share|improve this question





























    5















    I'm using stockfish-9-bmi2 on my laptop to provide me move by move evaluation of games. I've set Stockfish to evaluate to depth = 25 plys. I find that the evaluation provided oscillates move-on-move after a certain number of moves. Below is the plot of the evaluation:



    Stockfish evaluation on laptop



    In the above plot, the ply-count is on the x-axis, the evaluation from Stockfish is on the primary y-axis (left), the Mate-In number is on the secondary y-axis (right). The Blue line with white circles is the plot of the evaluation and the red circles depict the mate-in number.



    However, for the same game, when I jot down the evaluation from lichess.com's analysis board, which is also using Stockfish 9, I get a much more stable evaluation move-on-move. Lichess.com's analysis board also uses depth = 25 for most moves but can use a different number for certain moves. Below is the plot for the same:



    Stockfish evaluation using Lichess Analysis board



    In the above plot, the Blue line depicts the evaluation. The break in the trend is because of a Mate-In-3 on ply count = 63.



    Considering that both methods use Stockfish 9 and is set to depth = 25, can someone help me with why the results on my laptop oscillates so much?



    My Laptop's configuration:




    • OS: MacOS High Sierra

    • Processor: Intel core i7 2.2 GHz

    • RAM: 16GB

    • Stockfish: stockfish-9-bmi2


    The game used is Praggnanandhaa vs Vishy Anand - Tata Steel Chess India Blitz 2018



    1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6
    5. Nc3 a6 6. a3 g6 7. Be2 Bg7 8. Be3 O-O
    9. Qd2 b5 10. O-O-O Bb7 11. f3 Nbd7 12. h4 Ne5
    13. Bh6 Bxh6 14. Qxh6 Rc8 15. g4 Rxc3 16. bxc3 Qa5
    17. Nf5 gxf5 18. gxf5 Qxc3 19. Rdg1+ Ng6 20. fxg6 fxg6
    21. h5 Bxe4 22. fxe4 Qa1+ 23. Kd2 Nxe4+ 24. Ke3 Qc3+
    25. Bd3 Qd2+ 26. Kxe4 Qxh6 27. hxg6 Qf4+ 28. Kd5 h6
    29. g7 Rc8 30. Ke6 d5 31. Rg6 Rc6+ 32. Kxe7 Rxg6
    33. Bxg6 Kxg7 34. Bd3 Qe5+ 35. Kd7 h5 36. Rg1+ Kf6
    37. Rg6+ Kf7 38. Rh6 a5 39. Kc6 b4 40. axb4 axb4
    41. Kd7 Kg7 42. Re6 Qd4 43. Ke8 Qg4 44. Ke7 h4
    45. Be2 Qg5+ 46. Kd6 h3 47. Re7+ Kf8 48. Re5 Qf6+
    49. Kxd5 h2


    P.S.: I have also tried using stockfish-9-64 instead of stockfish-9-bmi2 and the results are similar










    share|improve this question



























      5












      5








      5








      I'm using stockfish-9-bmi2 on my laptop to provide me move by move evaluation of games. I've set Stockfish to evaluate to depth = 25 plys. I find that the evaluation provided oscillates move-on-move after a certain number of moves. Below is the plot of the evaluation:



      Stockfish evaluation on laptop



      In the above plot, the ply-count is on the x-axis, the evaluation from Stockfish is on the primary y-axis (left), the Mate-In number is on the secondary y-axis (right). The Blue line with white circles is the plot of the evaluation and the red circles depict the mate-in number.



      However, for the same game, when I jot down the evaluation from lichess.com's analysis board, which is also using Stockfish 9, I get a much more stable evaluation move-on-move. Lichess.com's analysis board also uses depth = 25 for most moves but can use a different number for certain moves. Below is the plot for the same:



      Stockfish evaluation using Lichess Analysis board



      In the above plot, the Blue line depicts the evaluation. The break in the trend is because of a Mate-In-3 on ply count = 63.



      Considering that both methods use Stockfish 9 and is set to depth = 25, can someone help me with why the results on my laptop oscillates so much?



      My Laptop's configuration:




      • OS: MacOS High Sierra

      • Processor: Intel core i7 2.2 GHz

      • RAM: 16GB

      • Stockfish: stockfish-9-bmi2


      The game used is Praggnanandhaa vs Vishy Anand - Tata Steel Chess India Blitz 2018



      1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6
      5. Nc3 a6 6. a3 g6 7. Be2 Bg7 8. Be3 O-O
      9. Qd2 b5 10. O-O-O Bb7 11. f3 Nbd7 12. h4 Ne5
      13. Bh6 Bxh6 14. Qxh6 Rc8 15. g4 Rxc3 16. bxc3 Qa5
      17. Nf5 gxf5 18. gxf5 Qxc3 19. Rdg1+ Ng6 20. fxg6 fxg6
      21. h5 Bxe4 22. fxe4 Qa1+ 23. Kd2 Nxe4+ 24. Ke3 Qc3+
      25. Bd3 Qd2+ 26. Kxe4 Qxh6 27. hxg6 Qf4+ 28. Kd5 h6
      29. g7 Rc8 30. Ke6 d5 31. Rg6 Rc6+ 32. Kxe7 Rxg6
      33. Bxg6 Kxg7 34. Bd3 Qe5+ 35. Kd7 h5 36. Rg1+ Kf6
      37. Rg6+ Kf7 38. Rh6 a5 39. Kc6 b4 40. axb4 axb4
      41. Kd7 Kg7 42. Re6 Qd4 43. Ke8 Qg4 44. Ke7 h4
      45. Be2 Qg5+ 46. Kd6 h3 47. Re7+ Kf8 48. Re5 Qf6+
      49. Kxd5 h2


      P.S.: I have also tried using stockfish-9-64 instead of stockfish-9-bmi2 and the results are similar










      share|improve this question
















      I'm using stockfish-9-bmi2 on my laptop to provide me move by move evaluation of games. I've set Stockfish to evaluate to depth = 25 plys. I find that the evaluation provided oscillates move-on-move after a certain number of moves. Below is the plot of the evaluation:



      Stockfish evaluation on laptop



      In the above plot, the ply-count is on the x-axis, the evaluation from Stockfish is on the primary y-axis (left), the Mate-In number is on the secondary y-axis (right). The Blue line with white circles is the plot of the evaluation and the red circles depict the mate-in number.



      However, for the same game, when I jot down the evaluation from lichess.com's analysis board, which is also using Stockfish 9, I get a much more stable evaluation move-on-move. Lichess.com's analysis board also uses depth = 25 for most moves but can use a different number for certain moves. Below is the plot for the same:



      Stockfish evaluation using Lichess Analysis board



      In the above plot, the Blue line depicts the evaluation. The break in the trend is because of a Mate-In-3 on ply count = 63.



      Considering that both methods use Stockfish 9 and is set to depth = 25, can someone help me with why the results on my laptop oscillates so much?



      My Laptop's configuration:




      • OS: MacOS High Sierra

      • Processor: Intel core i7 2.2 GHz

      • RAM: 16GB

      • Stockfish: stockfish-9-bmi2


      The game used is Praggnanandhaa vs Vishy Anand - Tata Steel Chess India Blitz 2018



      1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6
      5. Nc3 a6 6. a3 g6 7. Be2 Bg7 8. Be3 O-O
      9. Qd2 b5 10. O-O-O Bb7 11. f3 Nbd7 12. h4 Ne5
      13. Bh6 Bxh6 14. Qxh6 Rc8 15. g4 Rxc3 16. bxc3 Qa5
      17. Nf5 gxf5 18. gxf5 Qxc3 19. Rdg1+ Ng6 20. fxg6 fxg6
      21. h5 Bxe4 22. fxe4 Qa1+ 23. Kd2 Nxe4+ 24. Ke3 Qc3+
      25. Bd3 Qd2+ 26. Kxe4 Qxh6 27. hxg6 Qf4+ 28. Kd5 h6
      29. g7 Rc8 30. Ke6 d5 31. Rg6 Rc6+ 32. Kxe7 Rxg6
      33. Bxg6 Kxg7 34. Bd3 Qe5+ 35. Kd7 h5 36. Rg1+ Kf6
      37. Rg6+ Kf7 38. Rh6 a5 39. Kc6 b4 40. axb4 axb4
      41. Kd7 Kg7 42. Re6 Qd4 43. Ke8 Qg4 44. Ke7 h4
      45. Be2 Qg5+ 46. Kd6 h3 47. Re7+ Kf8 48. Re5 Qf6+
      49. Kxd5 h2


      P.S.: I have also tried using stockfish-9-64 instead of stockfish-9-bmi2 and the results are similar







      engines stockfish statistics evaluation lichess






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 25 '18 at 8:37







      codemaniac

















      asked Nov 25 '18 at 8:10









      codemaniaccodemaniac

      1285




      1285






















          1 Answer
          1






          active

          oldest

          votes


















          9














          If I understand correctly your x axis is the moves. Your script implied Anand and Prag were blundering every time they make a move,



          Clearly you have a bug in your script. Stockfish engine always give you a score relative to the player making the move, NOT white. You need to multiply the score by minus one if it’s Black to move.



          Please do this and you will be fine.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "435"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fchess.stackexchange.com%2fquestions%2f23014%2foscillating-stockfish-evaluation-on-laptop%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            9














            If I understand correctly your x axis is the moves. Your script implied Anand and Prag were blundering every time they make a move,



            Clearly you have a bug in your script. Stockfish engine always give you a score relative to the player making the move, NOT white. You need to multiply the score by minus one if it’s Black to move.



            Please do this and you will be fine.






            share|improve this answer




























              9














              If I understand correctly your x axis is the moves. Your script implied Anand and Prag were blundering every time they make a move,



              Clearly you have a bug in your script. Stockfish engine always give you a score relative to the player making the move, NOT white. You need to multiply the score by minus one if it’s Black to move.



              Please do this and you will be fine.






              share|improve this answer


























                9












                9








                9







                If I understand correctly your x axis is the moves. Your script implied Anand and Prag were blundering every time they make a move,



                Clearly you have a bug in your script. Stockfish engine always give you a score relative to the player making the move, NOT white. You need to multiply the score by minus one if it’s Black to move.



                Please do this and you will be fine.






                share|improve this answer













                If I understand correctly your x axis is the moves. Your script implied Anand and Prag were blundering every time they make a move,



                Clearly you have a bug in your script. Stockfish engine always give you a score relative to the player making the move, NOT white. You need to multiply the score by minus one if it’s Black to move.



                Please do this and you will be fine.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 25 '18 at 8:36









                SmallChessSmallChess

                14.8k22248




                14.8k22248






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Chess Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fchess.stackexchange.com%2fquestions%2f23014%2foscillating-stockfish-evaluation-on-laptop%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How to change which sound is reproduced for terminal bell?

                    Can I use Tabulator js library in my java Spring + Thymeleaf project?

                    Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents