If you think that some move should be different then you should give a position and say what move stockfish played and what it should play based on your opinion.Pi4Chess wrote: ↑Mon Dec 28, 2020 7:50 pmLol nobody forced you to reply. You are quite agressive. If you have problems in your life others are not responsible for it.Guenther wrote: ↑Mon Dec 28, 2020 7:39 pmObviously you must be a quite weak player yourself?Pi4Chess wrote: ↑Mon Dec 28, 2020 7:25 pm here an example... but it's one example amongst many : https://lichess.org/Mm6BnWjv/white#92
1. Those are quite likely SF vs. SF games
2. White has simply no other moves and your opponent (=Black) forced the draw
3. Of course White (your SF) doesn't want to lose, so it has to take the draw
So much for creating a hypothesis about a big general problem, which does not exist
A quite annoying thread and your attitude in this thread makes me doubt I would like replying to you again.
Let me think that an engine should avoid 3 fold repetition draws (especially those forced by king's checking) in its search for playable positions, and this could be a nice improvement if these type of draws could be avoided in top engines matches.
Draw by 3 fold repetition...
Moderator: Ras
-
Uri Blass
- Posts: 11150
- Joined: Thu Mar 09, 2006 12:37 am
- Location: Tel-Aviv Israel
Re: Draw by 3 fold repetition...
-
Pi4Chess
- Posts: 253
- Joined: Mon Nov 16, 2020 12:13 pm
- Full name: Manuel Rivera
Re: Draw by 3 fold repetition...
I am just asking those who know how engines are coded why a top engine like stockfish "accepts" to get into a position where the opponent can draw by 3 fold repetition with forced King's check. Is it unavoidable ? Is this took into account enough to discard certain moves from others within its evaluation ?
I am just asking.
Raspberry Pi4 bot : https://lichess.org/@/BetterAnalyze
-
Uri Blass
- Posts: 11150
- Joined: Thu Mar 09, 2006 12:37 am
- Location: Tel-Aviv Israel
Re: Draw by 3 fold repetition...
Simply because it found nothing better.Pi4Chess wrote: ↑Mon Dec 28, 2020 9:46 pmI am just asking those who know how engines are coded why a top engine like stockfish "accepts" to get into a position where the opponent can draw by 3 fold repetition with forced King's check. Is it unavoidable ? Is this took into account enough to discard certain moves from others within its evaluation ?
I am just asking.
It does not have to be because it is unavoidable and it is possible that a different line is going to lead to a different equal position.
-
Pi4Chess
- Posts: 253
- Joined: Mon Nov 16, 2020 12:13 pm
- Full name: Manuel Rivera
Re: Draw by 3 fold repetition...
What an engine finds better depends on the rules the authors give to it to find it better (and the improved results). So your answer is like the snake that bites its tail.
For instance would it be relevant to "learn" to an engine that a draw by insuficient material is better than a draw by repetition ?
May be it's already done?
For instance would it be relevant to "learn" to an engine that a draw by insuficient material is better than a draw by repetition ?
May be it's already done?
Raspberry Pi4 bot : https://lichess.org/@/BetterAnalyze
-
Ras
- Posts: 2730
- Joined: Tue Aug 30, 2016 8:19 pm
- Full name: Rasmus Althoff
Re: Draw by 3 fold repetition...
If you think that Stockfish would have had better alternatives, why don't you show them? Asking why Stockfish draws amounts to asking why it doesn't win, but in chess, you don't win if the opponent doesn't make losing mistakes.
There is already the contempt approach in Stockfish, and that means it will only accept a draw through whatever means if the alternatives would be worse. So either it has no better moves, in which case it will want the draw to happen. Or it sees that the opponent would have something even better than repetition, but the opponent fails to see that, too, in which case Stockfish will be happy to agree to the draw.
A draw is a draw, and it doesn't matter how you achieve it.For instance would it be relevant to "learn" to an engine that a draw by insuficient material is better than a draw by repetition ?
Rasmus Althoff
https://www.ct800.net
https://www.ct800.net
-
RubiChess
- Posts: 658
- Joined: Fri Mar 30, 2018 7:20 am
- Full name: Andreas Matthies
Re: Draw by 3 fold repetition...
No. It is YOU that is quite cheeky ignoring the advises of Guenther for three times and then calling him aggressive and assuming "problems in his life" when he gets impatient by your ignorance.Pi4Chess wrote: ↑Mon Dec 28, 2020 7:50 pmLol nobody forced you to reply. You are quite agressive. If you have problems in your life others are not responsible for it.Guenther wrote: ↑Mon Dec 28, 2020 7:39 pmObviously you must be a quite weak player yourself?Pi4Chess wrote: ↑Mon Dec 28, 2020 7:25 pm here an example... but it's one example amongst many : https://lichess.org/Mm6BnWjv/white#92
1. Those are quite likely SF vs. SF games
2. White has simply no other moves and your opponent (=Black) forced the draw
3. Of course White (your SF) doesn't want to lose, so it has to take the draw
So much for creating a hypothesis about a big general problem, which does not exist
A quite annoying thread and your attitude in this thread makes me doubt I would like replying to you again.
Let me think that an engine should avoid 3 fold repetition draws (especially those forced by king's checking) in its search for playable positions, and this could be a nice improvement if these type of draws could be avoided in top engines matches.
Believe us: Good engines know about the 3 fold rule and if they agree to a 3 fold they just can't find anything better even at depth 99 or whatever they searched. If you keep believing that this could be improved: Create a pull request.
Regards, Andreas
-
RubiChess
- Posts: 658
- Joined: Fri Mar 30, 2018 7:20 am
- Full name: Andreas Matthies
Re: Draw by 3 fold repetition...
But a loss by inferior endgame facilities is worse than a draw by 3-fold. What now? I'm happy about every 3 fold my engine can force SF into. Sadly it doesn't happen very often. Guess why.Pi4Chess wrote: ↑Tue Dec 29, 2020 12:36 am What an engine finds better depends on the rules the authors give to it to find it better (and the improved results). So your answer is like the snake that bites its tail.
For instance would it be relevant to "learn" to an engine that a draw by insuficient material is better than a draw by repetition ?
May be it's already done?
-
Pi4Chess
- Posts: 253
- Joined: Mon Nov 16, 2020 12:13 pm
- Full name: Manuel Rivera
Re: Draw by 3 fold repetition...
@ras : when you Say a draw is a draw, are you saying that when SF evaluates a position as a draw he is always right ?
I was thinking about Sting Black hole generator that can sometimes get out of 0 evaluation and fortress positions (but with much more time).
A forced king's check 3 fold repetition is a SURE draw while an evaluated 0 draw might be not as sure as it seems if you assume you can play against a stronger engine (assuming evaluation is not perfect).
I don't know How and if i could write a pull request out of that, but if someone understands what I am trying to Say it might be useful.
Of course since i am not a programmer and what i am saying is possibly already adressed by comtempt or other evaluation funcions and cannot be improved, i am just looking like an ignorant. But sometimes ideas come from new untrained and exterior eyes.
I was thinking about Sting Black hole generator that can sometimes get out of 0 evaluation and fortress positions (but with much more time).
A forced king's check 3 fold repetition is a SURE draw while an evaluated 0 draw might be not as sure as it seems if you assume you can play against a stronger engine (assuming evaluation is not perfect).
I don't know How and if i could write a pull request out of that, but if someone understands what I am trying to Say it might be useful.
Of course since i am not a programmer and what i am saying is possibly already adressed by comtempt or other evaluation funcions and cannot be improved, i am just looking like an ignorant. But sometimes ideas come from new untrained and exterior eyes.
Raspberry Pi4 bot : https://lichess.org/@/BetterAnalyze
-
RubiChess
- Posts: 658
- Joined: Fri Mar 30, 2018 7:20 am
- Full name: Andreas Matthies
Re: Draw by 3 fold repetition...
You got it! The problem of "wrong" 3 fold can be solved by better (perfect) evaluation and search. This is exactly what engine developers are doing (or at least trying) all the time.
Regards, Andreas
-
Pi4Chess
- Posts: 253
- Joined: Mon Nov 16, 2020 12:13 pm
- Full name: Manuel Rivera
Re: Draw by 3 fold repetition...
. Ok what you Say seems obvious,but until we achieve a perfect evaluation May be we can "tell" to the engine that 3 repetition king's check is 100% draw while 0 evaluation is less than that.
Raspberry Pi4 bot : https://lichess.org/@/BetterAnalyze