Thinker problem?

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
User avatar
David Dahlem
Posts: 900
Joined: Wed Mar 08, 2006 8:06 pm

Thinker problem?

Post by David Dahlem » Sat Dec 10, 2011 9:47 pm

[D]8/8/8/3K4/8/8/7k/5r2 b - - 1 84

Easy win for Black, but Thinker only draws! And since Thinker doesn't show any output, theres no way to tell what it's thinking.

[Event "12-09-11"]
[Site "D6Z1J7D1"]
[Date "2011.12.10"]
[Round "2"]
[White "Thinker 5.4D Inert"]
[Black "Sting 1.0 x64 ja"]
[Result "1/2-1/2"]
[TimeControl "40/120:40/120:40/120"]
[Termination "normal"]

1. e4 c5 2. Nf3 d6 3. Bb5+ Bd7 4. Bxd7+ Qxd7 5. O-O e6 6. c3 Nf6 7. Re1 Be7
8. d4 O-O 9. dxc5 dxc5 10. Bg5 h6 11. Bxf6 Bxf6 12. Nbd2 Qc7 13. a4 Nc6 14.
Nc4 Rad8 15. Qc2 Rd7 16. e5 Be7 17. Rad1 Rxd1 18. Rxd1 Rb8 19. Qe4 a6 20.
Rd3 b5 21. axb5 axb5 22. Ne3 Ra8 23. g3 Ra2 24. Rd2 Ra4 25. Qd3 Ra1+ 26.
Kg2 Qb7 27. Qe4 Ra4 28. c4 Rb4 29. h4 Bf8 30. Rc2 Qd7 31. Rd2 Qc8 32. Rc2
Qc7 33. Kg1 Na5 34. Nd2 Qd7 35. Kg2 Nc6 36. Nf3 bxc4 37. Nxc4 Qd5 38. Qxd5
exd5 39. Ne3 d4 40. Nd5 Rb8 41. Nf4 Rb3 42. h5 Na5 43. Nd5 c4 44. Rd2 d3
45. Nd4 Rb7 46. Nc3 Nb3 47. Nxb3 Rxb3 48. f4 Bb4 49. Kf3 Bxc3 50. bxc3 Rxc3
51. Ke3 Ra3 52. Rd1 Ra2 53. f5 Rg2 54. Kd4 Rxg3 55. Kxc4 Rg5 56. e6 Rx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post by Graham Banks » Sat Dec 10, 2011 9:54 pm

David Dahlem wrote:[D]8/8/8/3K4/8/8/7k/5r2 b - - 1 84

Easy win for Black, but Thinker only draws! And since Thinker doesn't show any output, theres no way to tell what it's thinking.

[Event "12-09-11"]
[Site "D6Z1J7D1"]
[Date "2011.12.10"]
[Round "2"]
[White "Thinker 5.4D Inert"]
[Black "Sting 1.0 x64 ja"]
[Result "1/2-1/2"]
[TimeControl "40/120:40/120:40/120"]
[Termination "normal"]
Wasn't Thinker White?
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

User avatar
David Dahlem
Posts: 900
Joined: Wed Mar 08, 2006 8:06 pm

Re: Thinker problem?

Post by David Dahlem » Sat Dec 10, 2011 10:07 pm

Graham Banks wrote:
David Dahlem wrote:[D]8/8/8/3K4/8/8/7k/5r2 b - - 1 84

Easy win for Black, but Thinker only draws! And since Thinker doesn't show any output, theres no way to tell what it's thinking.

[Event "12-09-11"]
[Site "D6Z1J7D1"]
[Date "2011.12.10"]
[Round "2"]
[White "Thinker 5.4D Inert"]
[Black "Sting 1.0 x64 ja"]
[Result "1/2-1/2"]
[TimeControl "40/120:40/120:40/120"]
[Termination "normal"]
Wasn't Thinker White?
oops! You're right. I think i need some sleep.

lech
Posts: 991
Joined: Sun Feb 14, 2010 9:02 pm

Re: Thinker problem?

Post by lech » Sun Dec 11, 2011 10:38 am

Where is the bug ?
My idea in Sting SF works only after captures. :?
I changed nothing more ? :shock:

User avatar
pocopito
Posts: 233
Joined: Tue Jul 12, 2011 11:31 am
Contact:

Re: Thinker problem?

Post by pocopito » Sun Dec 11, 2011 10:48 am

In scid-vs-pc sting 1.0 doesn't seem to have any problem to solve this position:


1 [-82.67] 84.... Kg2 (0.94)
1 [-82.67] 84.... (0.94)
2 [-82.62] 84.... Kg2 85.Kc4 (0.94)
3 [-82.72] 84.... Kg2 85.Kc4 Kf2 (0.94)
4 [-82.72] 84.... Kg2 85.Kc4 Kf3 86.Kc5 (0.94)
5 [-82.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g3 85.Ke4 Re1+ 86.Kd4 Kf4 87.Kd5 Rd1+ 88.Kc5 Ke4 89.Kc6 Rd5 90.Kb6 Kd4 91.Kc6 Kc4 92.Kb6 Rc5 93.Ka6 Rb5 94.Ka7 Kc5 95.Ka6 Kc6 96.Ka7 Kc7 97.Ka6 Rf5 98.Ka7 Ra5# (4.84)

lech
Posts: 991
Joined: Sun Feb 14, 2010 9:02 pm

Re: Thinker problem?

Post by lech » Sun Dec 11, 2011 11:44 am

I compared source codes and all is ok. Also I believe that Jim Ablett's compilation is beyound reproach.
BTW A very impresive logo :D Thanks !
To detect 50 move rule Stockfish counts null move too. :cry:
I remeber that I saw similar Stockfish's play where SF won such an endgame only thanks to 50 move rule. Earlier SF was amused at, like a cat with mouses.
Thanks David!

lech
Posts: 991
Joined: Sun Feb 14, 2010 9:02 pm

Re: Thinker problem?

Post by lech » Sun Dec 11, 2011 12:28 pm

David Dahlem wrote:[D]8/8/8/3K4/8/8/7k/5r2 b - - 1 84

Easy win for Black, but Thinker only draws! And since Thinker doesn't show any output, theres no way to tell what it's thinking.

[Event "12-09-11"]
[Site "D6Z1J7D1"]
[Date "2011.12.10"]
[Round "2"]
[White "Thinker 5.4D Inert"]
[Black "Sting 1.0 x64 ja"]
[Result "1/2-1/2"]
[TimeControl "40/120:40/120:40/120"]
[Termination "normal"]

1. e4 c5 2. Nf3 d6 3. Bb5+ Bd7 4. Bxd7+ Qxd7 5. O-O e6 6. c3 Nf6 7. Re1 Be7
8. d4 O-O 9. dxc5 dxc5 10. Bg5 h6 11. Bxf6 Bxf6 12. Nbd2 Qc7 13. a4 Nc6 14.
Nc4 Rad8 15. Qc2 Rd7 16. e5 Be7 17. Rad1 Rxd1 18. Rxd1 Rb8 19. Qe4 a6 20.
Rd3 b5 21. axb5 axb5 22. Ne3 Ra8 23. g3 Ra2 24. Rd2 Ra4 25. Qd3 Ra1+ 26.
Kg2 Qb7 27. Qe4 Ra4 28. c4 Rb4 29. h4 Bf8 30. Rc2 Qd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116. Kd6 Ke4
117. Kc5 Rd1 118. Kc6 Ke3 119. Kc5 Kf4 120. Kc4 Ke4 121. Kc5 Re1 122. Kc4
Rc1+ 123. Kb4 Kd4 124. Kb5 Kd5 125. Kb4 Ke4 126. Kb5 Rb1+ 127. Kc5 Rf1 128.
Kd6 Rc1 129. Ke6 Re1 130. Kd6 Kd4 131. Kc6 Rf1 132. Kd7 Kd5 133. Ke7 Ra1
{50 moves rule} 1/2-1/2
David,
Sting (like Stockfish) dosn't use tablebases.
It may only happen, if time is too short (add a time per move !) or computer too slow.
In next Sting SF I will solve this rare problem.

regards
Marek

mcostalba
Posts: 2681
Joined: Sat Jun 14, 2008 7:17 pm

Re: Thinker problem?

Post by mcostalba » Sun Dec 11, 2011 6:54 pm

lech wrote: In next Sting SF I will solve this rare problem.
Very well Marek ! This is the correct answer !

Not blaming the program you derived from or showing sad emoticons: Sting it is _your_ program now and you are the responsible for that, no matter if the bug was inerithed or it is a new one.

lech
Posts: 991
Joined: Sun Feb 14, 2010 9:02 pm

Re: Thinker problem?

Post by lech » Sun Dec 11, 2011 10:23 pm

mcostalba wrote:
lech wrote: In next Sting SF I will solve this rare problem.
Very well Marek ! This is the correct answer !

Not blaming the program you derived from or showing sad emoticons: Sting it is _your_ program now and you are the responsible for that, no matter if the bug was inerithed or it is a new one.
Marco,
Belive me, I can't feel the author of Sting SF.
But I know that it was only one way to sell my idea, my message.
I am sorry that it could touch just you.
Maybe the hell is for me, but someone had to make it.

Post Reply