Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: about bug in fruit.2.2(I send bug report to fabien few minutes ago)

Author: Tony Werten

Date: 00:43:04 12/02/05

Go up one level in this thread


On December 01, 2005 at 19:13:02, Uri Blass wrote:

Fruit probably doesn't keep his piecelists ordered by square.

fe if I have a FEN with a pawn on A4 and B2, B2 will be first and A4 2nd.

But if I set up a FEN with pawns on A2 and B2, A2 will be first B2 2nd. If I
then move A2 A4, A4 will be first then B2

Different piece order, different movegeneration, different search.

To get rid of this without too much cost, just re-order the piecelists after
every Root(Un)MakeMove.

Tony

>some analysis by fruit2.2 with 512 mbytes hash
>In the mail I sent to fabien I sent analysis of fruit2.2.1 but the result is
>similiar
>
>New game,
>[D]1k6/3r4/p1qPrpp1/1p1RP2p/3R2P1/P1p4Q/1P5P/1K6 w - - 0 1
>
>Analysis by Fruit 2.2:
>
>1.Qxc3 Qxc3 2.bxc3 fxe5
>  ²  (0.30)   Depth: 1/14   00:00:00
>1.Qxc3 Qxc3 2.bxc3 fxe5
>  ²  (0.30)   Depth: 2/16   00:00:00
>1.Qxc3 Qxc3 2.bxc3 fxe5
>  ²  (0.30)   Depth: 3/16   00:00:00
>1.Qxc3 Qxc3 2.bxc3 fxe5 3.Rd2 hxg4
>  =  (-0.14)   Depth: 4/16   00:00:00
>1.Qxc3 Qxc3 2.bxc3 fxe5 3.Rd2 hxg4
>  =  (-0.14)   Depth: 5/16   00:00:00
>1.Qxc3 Qxc3 2.bxc3 fxe5 3.Rd1 hxg4 4.Kc2
>  =  (-0.17)   Depth: 6/16   00:00:00  21kN
>1.Qxc3 Qxc3 2.bxc3 fxe5 3.Rd1 hxg4 4.Kc2 Rf6
>  ³  (-0.26)   Depth: 7/19   00:00:00  44kN
>1.Qxc3 Qxc3 2.bxc3 fxe5 3.Rd1 hxg4 4.Kc2 e4 5.Kb3
>  ³  (-0.39)   Depth: 8/19   00:00:00  88kN
>1.Qxc3 Qxc3 2.bxc3 fxe5 3.Rd1 hxg4 4.Kc2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 Rd7 17.Rhd1 Rhd8 18.Qc2 Qa5 19.g3 g6 20.a3 Bxc3 21.Nxc3 c5 22.d5 exd5
>23.cxd5 Kb8 24.d6 b5 25.Ne4 Nxe4 26.fxe4 Qb6 27.e5 c4 28.Qe4 Re8 29.Rd5 Re6
>30.R1d4 Qc6 31.Qg4 h5 32.Qh3 c3 33.g4 f6 *
>
>Let fruit2.2 analyze
>
>You get the following analysis and inspite of the fact that the position is
>exactly the same(no repetition of previous game position is possible) the
>analysis is not the same and there is a big difference.
>
>New game - Fritz 8, 5'/40
>[D]1k6/3r4/p1qPrpp1/1p1RP2p/3R2P1/P1p4Q/1P5P/1K6 w - - 0 1
>
>Analysis by Fruit 2.2:
>
>34.Qxc3 Qxc3 35.bxc3 fxe5
>  ²  (0.30)   Depth: 1/14   00:00:00
>34.Qxc3 Qxc3 35.bxc3 fxe5
>  ²  (0.30)   Depth: 2/16   00:00:00
>34.Qxc3 Qxc3 35.bxc3 fxe5
>  ²  (0.30)   Depth: 3/16   00:00:00
>34.Qxc3 Qxc3 35.bxc3 fxe5 36.Rd2 hxg4
>  =  (-0.14)   Depth: 4/16   00:00:00
>34.Qxc3 Qxc3 35.bxc3 fxe5 36.Rd2 hxg4
>  =  (-0.14)   Depth: 5/16   00:00:00
>34.Qxc3 Qxc3 35.bxc3 fxe5 36.Rd1 hxg4 37.Kc2
>  =  (-0.17)   Depth: 6/18   00:00:00  22kN
>34.Qxc3 Qxc3 35.bxc3 fxe5 36.Rd1 hxg4 37.Kc2 Rf6
>  ³  (-0.26)   Depth: 7/19   00:00:00  46kN
>34.Qxc3 Qxc3 35.bxc3 fxe5 36.Rd1 hxg4 37.Kc2 e4 38.Kb3
>  ³  (-0.39)   Depth: 8/19   00:00:00  88kN
>34.Qxc3 Qxc3 35.bxc3 fxe5 36.Rd1 hxg4 37.Kc2 Rf6 38.Rxe5 Rdxd6
>  ³  (-0.38)   Depth: 9/19   00:00:00  196kN
>34.Qxc3 Qxc3 35.bxc3 fxe5 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)   Depth: 15/47   00:00:49  39631kN
>34.bxc3 Rxe5 35.gxh5 Rxd5 36.Rxd5 Qxd5 37.Qxd7 Qb3+ 38.Kc1 Qxc3+ 39.Kd1 Qd3+
>40.Ke1 Qe3+ 41.Kf1 Qc1+ 42.Ke2 Qc4+ 43.Kd2 Qa2+ 44.Ke1 Qb1+ 45.Ke2 Qe4+ 46.Kd2
>Qd4+ 47.Kc2 Qc5+ 48.Kd2 Qxh5
>  ³  (-0.49)   Depth: 16/49   00:01:39  80743kN
>34.gxh5 c2+ 35.Kc1 Rxe5 36.Rxe5 fxe5 37.Rd3 e4 38.Rd2 gxh5 39.Qxh5 Kb7 40.Qe2
>Kb8 41.Qh5
>  =  (0.00)   Depth: 16/69   00:02:09  105918kN
>34.gxh5 Rxe5 35.Qxc3 Qxc3 36.bxc3 Rxh5 37.Rxh5 gxh5 38.Kc2 Kb7 39.a4 bxa4
>40.Rb4+ Kc6 41.Rxa4 Kb5 42.Rh4 Rxd6 43.Rxh5+ Kc4 44.Rh4+ Kc5
>  =  (-0.17)   Depth: 17/69   00:03:39  183051kN
>
>(,  02.12.2005)



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.