Page 6 of 6

Re: It's here ...Honey X6

Posted: Wed Oct 16, 2019 2:21 am
by MikeB
carldaman wrote: Tue Oct 15, 2019 1:47 am
Dann Corbit wrote: Sun Oct 13, 2019 9:26 am If you are using my version, I turn off every form of contempt by default. You can turn it back on with the UCI options.

I turn it off because I use chess engines for analysis and rarely for game play. And when I play them, the contempt is not important anyway. And when I analyze, I want the right answer.

I can confirm that contempt does work for Polygon, when activated thru UCI options, but does not for Honey/Bluefish.
Are you saying there is a bug?

Re: It's here ...Honey X6

Posted: Wed Oct 16, 2019 3:23 am
by carldaman
It just appears that contempt can't be activated at all, either for analysis or match play. I've tried different settings, to no avail. If you can reproduce the problem, then it may be a bug. Otherwise, it could well be ineptitude on my part. :|

Of course, a lack of working contempt leaves the engine more susceptible to drawing vs lesser opposition, and can also potentially take a bite out of its attractive playing style.

Re: It's here ...Honey X6

Posted: Wed Oct 16, 2019 4:46 am
by Spliffjiffer
i noticed that problem as well some days ago...i tried to set "dynamic contempt" to "activated" and it changed sth but i nearly never use such contempt-stuff..so i didnt care much about it :-)

Re: It's here ...Honey X6

Posted: Thu Oct 17, 2019 3:58 am
by MikeB
carldaman wrote: Wed Oct 16, 2019 3:23 am It just appears that contempt can't be activated at all, either for analysis or match play. I've tried different settings, to no avail. If you can reproduce the problem, then it may be a bug. Otherwise, it could well be ineptitude on my part. :|

Of course, a lack of working contempt leaves the engine more susceptible to drawing vs lesser opposition, and can also potentially take a bite out of its attractive playing style.
I will look at it when I have a chance. Thx for reporting it.

Re: It's here ...Honey X6

Posted: Thu Oct 17, 2019 5:46 am
by carldaman
Thanks a lot, Mike. Honey/Honey+Blue(fish) is a superior 'fish-fork! 8-)

Re: It's here ...Honey X6

Posted: Thu Oct 17, 2019 8:39 pm
by Master Om
MikeB wrote: Thu Oct 17, 2019 3:58 am
carldaman wrote: Wed Oct 16, 2019 3:23 am It just appears that contempt can't be activated at all, either for analysis or match play. I've tried different settings, to no avail. If you can reproduce the problem, then it may be a bug. Otherwise, it could well be ineptitude on my part. :|

Of course, a lack of working contempt leaves the engine more susceptible to drawing vs lesser opposition, and can also potentially take a bite out of its attractive playing style.
I will look at it when I have a chance. Thx for reporting it.
Hi, Mike, is there any Crystal Honey ?

Re: It's here ...Honey X6

Posted: Thu Oct 17, 2019 8:44 pm
by Dann Corbit
If you put it in the microwave, it goes right back to liquid.

Re: It's here ...Honey X6

Posted: Fri Oct 18, 2019 3:45 am
by MikeB
Master Om wrote: Thu Oct 17, 2019 8:39 pm
MikeB wrote: Thu Oct 17, 2019 3:58 am
carldaman wrote: Wed Oct 16, 2019 3:23 am It just appears that contempt can't be activated at all, either for analysis or match play. I've tried different settings, to no avail. If you can reproduce the problem, then it may be a bug. Otherwise, it could well be ineptitude on my part. :|

Of course, a lack of working contempt leaves the engine more susceptible to drawing vs lesser opposition, and can also potentially take a bite out of its attractive playing style.
I will look at it when I have a chance. Thx for reporting it.
Hi, Mike, is there any Crystal Honey ?
No, not in the latest. I do not expect to do that one on a regular basis, but I highly recommend crystal for use in analysis. Very nice work by Joe Ellis.

Re: It's here ...Honey X6

Posted: Fri Oct 18, 2019 5:02 am
by Master Om
MikeB wrote: Fri Oct 18, 2019 3:45 am
Master Om wrote: Thu Oct 17, 2019 8:39 pm
MikeB wrote: Thu Oct 17, 2019 3:58 am
carldaman wrote: Wed Oct 16, 2019 3:23 am It just appears that contempt can't be activated at all, either for analysis or match play. I've tried different settings, to no avail. If you can reproduce the problem, then it may be a bug. Otherwise, it could well be ineptitude on my part. :|

Of course, a lack of working contempt leaves the engine more susceptible to drawing vs lesser opposition, and can also potentially take a bite out of its attractive playing style.
I will look at it when I have a chance. Thx for reporting it.
Hi, Mike, is there any Crystal Honey ?
No, not in the latest. I do not expect to do that one on a regular basis, but I highly recommend crystal for use in analysis. Very nice work by Joe Ellis.
Just one compile for me. It is my new fav engine. Want your honey system in it. Please.

Re: It's here ...Honey X6

Posted: Wed Feb 05, 2020 11:19 am
by purechess
@MikeB Can you please explain what's the idea behind your adaptive code? Thanks a lot. I already commented one of your else parts which
i understand fully.

Code: Select all

  
  
    size_t i = 0;
      if ( previousScore >= -PawnValueMg && previousScore <= PawnValueMg * 4 )
	  {
          while (i+1 < rootMoves.size() && bestThread->rootMoves[i+1].score > previousScore)
          ++i;
          previousScore = bestThread->rootMoves[i].score;
          sync_cout << UCI::pv(bestThread->rootPos, bestThread->completedDepth, -VALUE_INFINITE, VALUE_INFINITE) << sync_endl;
          sync_cout << "bestmove " << UCI::move(bestThread->rootMoves[i].pv[0], rootPos.is_chess960());
	  }
      else if ( previousScore > PawnValueMg * 4  && previousScore <  PawnValueMg * 7 )
      {
          while (i+1 < rootMoves.size() && bestThread->rootMoves[i+1].score < previousScore
                && previousScore + PawnValueMg/2  > bestThread->rootMoves[i+1].score)
		  {
              ++i;
              break;
          }
          previousScore = bestThread->rootMoves[i].score;
          while (i+1 < rootMoves.size() && bestThread->rootMoves[i+1].score > previousScore
                && previousScore + PawnValueMg/2  < bestThread->rootMoves[i+1].score)
          {
              ++i;
              previousScore = bestThread->rootMoves[i-1].score;

          }
          previousScore = bestThread->rootMoves[i].score;
          sync_cout << UCI::pv(bestThread->rootPos, bestThread->completedDepth, -VALUE_INFINITE, VALUE_INFINITE) << sync_endl;
          sync_cout << "bestmove " << UCI::move(bestThread->rootMoves[i].pv[0], rootPos.is_chess960());
      }
      else
      {
         // No criteria is matched so just spit out the regular Stockfish 11 best move here
         
         }
      }